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. 4 # 5 # 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7 # 8 # 9 # This configure script is free software; the Free Software Foundation 10 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- ## 12 ## M4sh Initialization. ## 13 ## -------------------- ## 14 15 # Be more Bourne compatible 16 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24 else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30 esac 31 fi 32 33 34 as_nl=' 35 ' 36 export as_nl 37 # Printing a long string crashes Solaris 7 /usr/bin/printf. 38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41 # Prefer a ksh shell builtin over an external printf program on Solaris, 42 # but without wasting forks for bash or zsh. 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 72 # The user is always right. 73 if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 80 81 82 # IFS 83 # We need space, tab and new line, in precisely that order. Quoting is 84 # there to prevent editors from complaining about space-tab. 85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 86 # splitting by setting IFS to empty value.) 87 IFS=" "" $as_nl" 88 89 # Find who we are. Look in the path if we contain no directory separator. 90 as_myself= 91 case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94 for as_dir in $PATH 95 do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100 IFS=$as_save_IFS 101 102 ;; 103 esac 104 # We did not find ourselves, most probably we were run as `sh COMMAND' 105 # in which case we are not to be found in the path. 106 if test "x$as_myself" = x; then 107 as_myself=$0 108 fi 109 if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112 fi 113 114 # Unset variables that we do not need and which cause bugs (e.g. in 115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116 # suppresses any "Segmentation fault" message there. '((' could 117 # trigger a bug in pdksh 5.2.14. 118 for as_var in BASH_ENV ENV MAIL MAILPATH 119 do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121 done 122 PS1='$ ' 123 PS2='> ' 124 PS4='+ ' 125 126 # NLS nuisances. 127 LC_ALL=C 128 export LC_ALL 129 LANGUAGE=C 130 export LANGUAGE 131 132 # CDPATH. 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135 # Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140 # neutralization value for shells without unset; and this also 141 # works around shells that cannot unset nonexistent variables. 142 # Preserve -v and -x to the replacement shell. 143 BASH_ENV=/dev/null 144 ENV=/dev/null 145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146 case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151 esac 152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153 # Admittedly, this is quite paranoid, since all the known shells bail 154 # out after a failed `exec'. 155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156 as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160 if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168 else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174 esac 175 fi 176 " 177 as_required="as_fn_return () { (exit \$1); } 178 as_fn_success () { as_fn_return 0; } 179 as_fn_failure () { as_fn_return 1; } 180 as_fn_ret_success () { return 0; } 181 as_fn_ret_failure () { return 1; } 182 183 exitcode=0 184 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190 else 191 exitcode=1; echo positional parameters were not saved. 192 fi 193 test x\$exitcode = x0 || exit 1 194 test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199 test \$(( 1 + 1 )) = 2 || exit 1 200 201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 PATH=/empty FPATH=/empty; export PATH FPATH 206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210 else 211 as_have_required=no 212 fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215 else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217 as_found=false 218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219 do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233 fi 234 fi 235 done;; 236 esac 237 as_found=false 238 done 239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242 fi; } 243 IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249 # neutralization value for shells without unset; and this also 250 # works around shells that cannot unset nonexistent variables. 251 # Preserve -v and -x to the replacement shell. 252 BASH_ENV=/dev/null 253 ENV=/dev/null 254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255 case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260 esac 261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262 # Admittedly, this is quite paranoid, since all the known shells bail 263 # out after a failed `exec'. 264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265 exit 255 266 fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276 $0: including any error possibly output before this 277 $0: message. Then install a modern shell, or manually run 278 $0: the script under such a shell if you do have one." 279 fi 280 exit 1 281 fi 282 fi 283 fi 284 SHELL=${CONFIG_SHELL-/bin/sh} 285 export SHELL 286 # Unset more variables known to interfere with behavior of common tools. 287 CLICOLOR_FORCE= GREP_OPTIONS= 288 unset CLICOLOR_FORCE GREP_OPTIONS 289 290 ## --------------------- ## 291 ## M4sh Shell Functions. ## 292 ## --------------------- ## 293 # as_fn_unset VAR 294 # --------------- 295 # Portably unset VAR. 296 as_fn_unset () 297 { 298 { eval $1=; unset $1;} 299 } 300 as_unset=as_fn_unset 301 302 # as_fn_set_status STATUS 303 # ----------------------- 304 # Set $? to STATUS, without forking. 305 as_fn_set_status () 306 { 307 return $1 308 } # as_fn_set_status 309 310 # as_fn_exit STATUS 311 # ----------------- 312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313 as_fn_exit () 314 { 315 set +e 316 as_fn_set_status $1 317 exit $1 318 } # as_fn_exit 319 320 # as_fn_mkdir_p 321 # ------------- 322 # Create "$as_dir" as a directory, including parents if necessary. 323 as_fn_mkdir_p () 324 { 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342 $as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366 } # as_fn_mkdir_p 367 368 # as_fn_executable_p FILE 369 # ----------------------- 370 # Test if FILE is an executable regular file. 371 as_fn_executable_p () 372 { 373 test -f "$1" && test -x "$1" 374 } # as_fn_executable_p 375 # as_fn_append VAR VALUE 376 # ---------------------- 377 # Append the text in VALUE to the end of the definition contained in VAR. Take 378 # advantage of any shell optimizations that allow amortized linear growth over 379 # repeated appends, instead of the typical quadratic growth present in naive 380 # implementations. 381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386 else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391 fi # as_fn_append 392 393 # as_fn_arith ARG... 394 # ------------------ 395 # Perform arithmetic evaluation on the ARGs, and store the result in the 396 # global $as_val. Take advantage of shells that can avoid forks. The arguments 397 # must be portable across $(()) and expr. 398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403 else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408 fi # as_fn_arith 409 410 411 # as_fn_error STATUS ERROR [LINENO LOG_FD] 412 # ---------------------------------------- 413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415 # script with STATUS, using 1 if that was 0. 416 as_fn_error () 417 { 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425 } # as_fn_error 426 427 if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430 else 431 as_expr=false 432 fi 433 434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436 else 437 as_basename=false 438 fi 439 440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442 else 443 as_dirname=false 444 fi 445 446 as_me=`$as_basename -- "$0" || 447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450 $as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465 # Avoid depending upon Character Ranges. 466 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469 as_cr_digits='0123456789' 470 as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506 } 507 508 ECHO_C= ECHO_N= ECHO_T= 509 case `echo -n x` in #((((( 510 -n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517 *) 518 ECHO_N='-n';; 519 esac 520 521 rm -f conf$$ conf$$.exe conf$$.file 522 if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524 else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527 fi 528 if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542 else 543 as_ln_s='cp -pR' 544 fi 545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546 rmdir conf$$.dir 2>/dev/null 547 548 if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550 else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553 fi 554 555 as_test_x='test -x' 556 as_executable_p=as_fn_executable_p 557 558 # Sed expression to map a string onto a valid CPP name. 559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561 # Sed expression to map a string onto a valid variable name. 562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564 SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567 test -n "$DJDIR" || exec 7<&0 </dev/null 568 exec 6>&1 569 570 # Name of the host. 571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572 # so uname gets run too. 573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575 # 576 # Initializations. 577 # 578 ac_default_prefix=/usr/local 579 ac_clean_files= 580 ac_config_libobj_dir=. 581 LIBOBJS= 582 cross_compiling=no 583 subdirs= 584 MFLAGS= 585 MAKEFLAGS= 586 587 # Identity of this package. 588 PACKAGE_NAME= 589 PACKAGE_TARNAME= 590 PACKAGE_VERSION= 591 PACKAGE_STRING= 592 PACKAGE_BUGREPORT= 593 PACKAGE_URL= 594 595 ac_unique_file="build/apr_common.m4" 596 # Factoring default headers for most tests. 597 ac_includes_default="\ 598 #include <stdio.h> 599 #ifdef HAVE_SYS_TYPES_H 600 # include <sys/types.h> 601 #endif 602 #ifdef HAVE_SYS_STAT_H 603 # include <sys/stat.h> 604 #endif 605 #ifdef STDC_HEADERS 606 # include <stdlib.h> 607 # include <stddef.h> 608 #else 609 # ifdef HAVE_STDLIB_H 610 # include <stdlib.h> 611 # endif 612 #endif 613 #ifdef HAVE_STRING_H 614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 615 # include <memory.h> 616 # endif 617 # include <string.h> 618 #endif 619 #ifdef HAVE_STRINGS_H 620 # include <strings.h> 621 #endif 622 #ifdef HAVE_INTTYPES_H 623 # include <inttypes.h> 624 #endif 625 #ifdef HAVE_STDINT_H 626 # include <stdint.h> 627 #endif 628 #ifdef HAVE_UNISTD_H 629 # include <unistd.h> 630 #endif" 631 632 ac_subst_vars='LTLIBOBJS 633 LIBOBJS 634 INCLUDE_OUTPUTS 635 INCLUDE_RULES 636 LT_NO_INSTALL 637 LIBTOOL_LIBS 638 DEFAULT_OSDIR 639 OSDIR 640 INCLUDES 641 LDLIBS 642 INTERNAL_CPPFLAGS 643 NOTEST_INCLUDES 644 NOTEST_LIBS 645 NOTEST_LDFLAGS 646 NOTEST_CFLAGS 647 NOTEST_CPPFLAGS 648 EXTRA_INCLUDES 649 EXTRA_LIBS 650 EXTRA_LDFLAGS 651 EXTRA_CFLAGS 652 EXTRA_CPPFLAGS 653 apr_has_user 654 apr_thread_func 655 apr_procattr_user_set_requires_password 656 apr_has_xthread_files 657 have_unicode_fs 658 apr_has_timedlocks 659 have_ipv6 660 have_sockaddr_un 661 have_sa_storage 662 have_sctp 663 acceptfilter 664 have_corkable_tcp 665 apr_tcp_nopush_flag 666 file_as_socket 667 have_in_addr 668 osuuid 669 rand 670 proclockglobal 671 pthreadser 672 procpthreadser 673 fcntlser 674 posixser 675 sysvser 676 flockser 677 hasprocpthreadser 678 hasfcntlser 679 hasposixser 680 hassysvser 681 hasflockser 682 have_pthread_condattr_setpshared 683 have_pthread_mutex_timedlock 684 have_union_semun 685 struct_rlimit 686 have_proc_invoked 687 oc 688 aprdso 689 have_memchr 690 have_strstr 691 have_strdup 692 have_strcasecmp 693 have_stricmp 694 have_strncasecmp 695 have_strnicmp 696 ino_t_value 697 have_iovec 698 aprlfs 699 bigendian 700 stdint 701 uint64_literal 702 int64_literal 703 pid_t_fmt 704 off_t_fmt 705 size_t_fmt 706 ssize_t_fmt 707 uint64_t_hex_fmt 708 uint64_t_fmt 709 int64_t_fmt 710 socklen_t_value 711 ssize_t_value 712 size_t_value 713 off_t_value 714 uint64_value 715 int64_value 716 int_value 717 short_value 718 voidp_size 719 winsock2h 720 windowsh 721 semaphoreh 722 pthreadh 723 processh 724 sys_waith 725 signalh 726 unistdh 727 timeh 728 sys_unh 729 sys_uioh 730 sys_timeh 731 sys_typesh 732 sys_sockioh 733 sys_socketh 734 sys_signalh 735 sys_sendfileh 736 sys_ioctlh 737 stringsh 738 stringh 739 stdlibh 740 stdioh 741 stdargh 742 netinet_tcph 743 netinet_sctp_uioh 744 netinet_sctph 745 netinet_inh 746 sys_syslimitsh 747 netdbh 748 limitsh 749 ioh 750 inttypesh 751 fcntlh 752 direnth 753 errnoh 754 crypth 755 ctypeh 756 conioh 757 arpa_ineth 758 have_memmove 759 mmap 760 have_getrlimit 761 have_setrlimit 762 have_sigaction 763 have_inet_network 764 o_nonblock_inherited 765 tcp_nodelay_inherited 766 have_inet_addr 767 fork 768 apr_inaddr_none 769 sendfile 770 ALLOCA 771 sharedmem 772 havewin32shm 773 haveos2shm 774 havebeosarea 775 haveshmget 776 havemmapshm 777 havemmaptmp 778 usewin32shm 779 useos2shm 780 usebeosarea 781 useshmget 782 usemmapshm 783 usemmaptmp 784 havemmapanon 785 havemmapzero 786 haveshmgetanon 787 usemmapanon 788 usemmapzero 789 useshmgetanon 790 have_sigwait 791 have_sigsuspend 792 threads 793 INSTALL_SUBDIRS 794 eolstr 795 proc_mutex_is_global 796 OBJECTS_PLATFORM 797 MKDEP 798 LT_VERSION 799 LT_LDFLAGS 800 LTFLAGS 801 shlibpath_var 802 export_lib_target 803 lib_target 804 so_ext 805 link 806 lt_compile 807 installbuilddir 808 LT_SYS_LIBRARY_PATH 809 OTOOL64 810 OTOOL 811 LIPO 812 NMEDIT 813 DSYMUTIL 814 MANIFEST_TOOL 815 STRIP 816 ac_ct_AR 817 NM 818 ac_ct_DUMPBIN 819 DUMPBIN 820 LD 821 FGREP 822 LIBTOOL 823 OBJDUMP 824 DLLTOOL 825 APR_LIBNAME 826 apr_charset_ebcdic 827 EGREP 828 GREP 829 AR 830 ASCPP 831 AS 832 RM 833 INSTALL_DATA 834 INSTALL_SCRIPT 835 INSTALL_PROGRAM 836 RANLIB 837 LN_S 838 AWK 839 CPP 840 SET_MAKE 841 SED 842 OBJEXT 843 EXEEXT 844 ac_ct_CC 845 CPPFLAGS 846 LDFLAGS 847 CFLAGS 848 CC 849 APR_MAJOR_VERSION 850 APR_DOTTED_VERSION 851 apr_builders 852 top_builddir 853 APR_CONFIG_LOCATION 854 apr_builddir 855 apr_srcdir 856 target_os 857 target_vendor 858 target_cpu 859 target 860 host_os 861 host_vendor 862 host_cpu 863 host 864 build_os 865 build_vendor 866 build_cpu 867 build 868 target_alias 869 host_alias 870 build_alias 871 LIBS 872 ECHO_T 873 ECHO_N 874 ECHO_C 875 DEFS 876 mandir 877 localedir 878 libdir 879 psdir 880 pdfdir 881 dvidir 882 htmldir 883 infodir 884 docdir 885 oldincludedir 886 includedir 887 localstatedir 888 sharedstatedir 889 sysconfdir 890 datadir 891 datarootdir 892 libexecdir 893 sbindir 894 bindir 895 program_transform_name 896 prefix 897 exec_prefix 898 PACKAGE_URL 899 PACKAGE_BUGREPORT 900 PACKAGE_STRING 901 PACKAGE_VERSION 902 PACKAGE_TARNAME 903 PACKAGE_NAME 904 PATH_SEPARATOR 905 SHELL' 906 ac_subst_files='' 907 ac_user_opts=' 908 enable_option_checking 909 enable_layout 910 enable_experimental_libtool 911 enable_shared 912 enable_static 913 with_pic 914 enable_fast_install 915 with_aix_soname 916 with_gnu_ld 917 with_sysroot 918 enable_libtool_lock 919 with_installbuilddir 920 with_libtool 921 enable_debug 922 enable_maintainer_mode 923 enable_profile 924 enable_pool_debug 925 enable_malloc_debug 926 enable_lfs 927 enable_nonportable_atomics 928 enable_threads 929 with_efence 930 with_valgrind 931 enable_posix_shm 932 with_sendfile 933 enable_allocator_uses_mmap 934 enable_allocator_guard_pages 935 enable_pool_concurrency_check 936 enable_dso 937 enable_other_child 938 with_egd 939 with_devrandom 940 enable_ipv6 941 enable_timedlocks 942 ' 943 ac_precious_vars='build_alias 944 host_alias 945 target_alias 946 CC 947 CFLAGS 948 LDFLAGS 949 LIBS 950 CPPFLAGS 951 CPP 952 LT_SYS_LIBRARY_PATH' 953 954 955 # Initialize some variables set by options. 956 ac_init_help= 957 ac_init_version=false 958 ac_unrecognized_opts= 959 ac_unrecognized_sep= 960 # The variables have the same names as the options, with 961 # dashes changed to underlines. 962 cache_file=/dev/null 963 exec_prefix=NONE 964 no_create= 965 no_recursion= 966 prefix=NONE 967 program_prefix=NONE 968 program_suffix=NONE 969 program_transform_name=s,x,x, 970 silent= 971 site= 972 srcdir= 973 verbose= 974 x_includes=NONE 975 x_libraries=NONE 976 977 # Installation directory options. 978 # These are left unexpanded so users can "make install exec_prefix=/foo" 979 # and all the variables that are supposed to be based on exec_prefix 980 # by default will actually change. 981 # Use braces instead of parens because sh, perl, etc. also accept them. 982 # (The list follows the same order as the GNU Coding Standards.) 983 bindir='${exec_prefix}/bin' 984 sbindir='${exec_prefix}/sbin' 985 libexecdir='${exec_prefix}/libexec' 986 datarootdir='${prefix}/share' 987 datadir='${datarootdir}' 988 sysconfdir='${prefix}/etc' 989 sharedstatedir='${prefix}/com' 990 localstatedir='${prefix}/var' 991 includedir='${prefix}/include' 992 oldincludedir='/usr/include' 993 docdir='${datarootdir}/doc/${PACKAGE}' 994 infodir='${datarootdir}/info' 995 htmldir='${docdir}' 996 dvidir='${docdir}' 997 pdfdir='${docdir}' 998 psdir='${docdir}' 999 libdir='${exec_prefix}/lib' 1000 localedir='${datarootdir}/locale' 1001 mandir='${datarootdir}/man' 1002 1003 ac_prev= 1004 ac_dashdash= 1005 for ac_option 1006 do 1007 # If the previous option needs an argument, assign it. 1008 if test -n "$ac_prev"; then 1009 eval $ac_prev=\$ac_option 1010 ac_prev= 1011 continue 1012 fi 1013 1014 case $ac_option in 1015 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1016 *=) ac_optarg= ;; 1017 *) ac_optarg=yes ;; 1018 esac 1019 1020 # Accept the important Cygnus configure options, so we can diagnose typos. 1021 1022 case $ac_dashdash$ac_option in 1023 --) 1024 ac_dashdash=yes ;; 1025 1026 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1027 ac_prev=bindir ;; 1028 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1029 bindir=$ac_optarg ;; 1030 1031 -build | --build | --buil | --bui | --bu) 1032 ac_prev=build_alias ;; 1033 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1034 build_alias=$ac_optarg ;; 1035 1036 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1037 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1038 ac_prev=cache_file ;; 1039 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1040 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1041 cache_file=$ac_optarg ;; 1042 1043 --config-cache | -C) 1044 cache_file=config.cache ;; 1045 1046 -datadir | --datadir | --datadi | --datad) 1047 ac_prev=datadir ;; 1048 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1049 datadir=$ac_optarg ;; 1050 1051 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1052 | --dataroo | --dataro | --datar) 1053 ac_prev=datarootdir ;; 1054 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1055 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1056 datarootdir=$ac_optarg ;; 1057 1058 -disable-* | --disable-*) 1059 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1060 # Reject names that are not valid shell variable names. 1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1062 as_fn_error $? "invalid feature name: $ac_useropt" 1063 ac_useropt_orig=$ac_useropt 1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1065 case $ac_user_opts in 1066 *" 1067 "enable_$ac_useropt" 1068 "*) ;; 1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1070 ac_unrecognized_sep=', ';; 1071 esac 1072 eval enable_$ac_useropt=no ;; 1073 1074 -docdir | --docdir | --docdi | --doc | --do) 1075 ac_prev=docdir ;; 1076 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1077 docdir=$ac_optarg ;; 1078 1079 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1080 ac_prev=dvidir ;; 1081 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1082 dvidir=$ac_optarg ;; 1083 1084 -enable-* | --enable-*) 1085 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1086 # Reject names that are not valid shell variable names. 1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1088 as_fn_error $? "invalid feature name: $ac_useropt" 1089 ac_useropt_orig=$ac_useropt 1090 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1091 case $ac_user_opts in 1092 *" 1093 "enable_$ac_useropt" 1094 "*) ;; 1095 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1096 ac_unrecognized_sep=', ';; 1097 esac 1098 eval enable_$ac_useropt=\$ac_optarg ;; 1099 1100 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1101 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1102 | --exec | --exe | --ex) 1103 ac_prev=exec_prefix ;; 1104 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1105 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1106 | --exec=* | --exe=* | --ex=*) 1107 exec_prefix=$ac_optarg ;; 1108 1109 -gas | --gas | --ga | --g) 1110 # Obsolete; use --with-gas. 1111 with_gas=yes ;; 1112 1113 -help | --help | --hel | --he | -h) 1114 ac_init_help=long ;; 1115 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1116 ac_init_help=recursive ;; 1117 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1118 ac_init_help=short ;; 1119 1120 -host | --host | --hos | --ho) 1121 ac_prev=host_alias ;; 1122 -host=* | --host=* | --hos=* | --ho=*) 1123 host_alias=$ac_optarg ;; 1124 1125 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1126 ac_prev=htmldir ;; 1127 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1128 | --ht=*) 1129 htmldir=$ac_optarg ;; 1130 1131 -includedir | --includedir | --includedi | --included | --include \ 1132 | --includ | --inclu | --incl | --inc) 1133 ac_prev=includedir ;; 1134 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1135 | --includ=* | --inclu=* | --incl=* | --inc=*) 1136 includedir=$ac_optarg ;; 1137 1138 -infodir | --infodir | --infodi | --infod | --info | --inf) 1139 ac_prev=infodir ;; 1140 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1141 infodir=$ac_optarg ;; 1142 1143 -libdir | --libdir | --libdi | --libd) 1144 ac_prev=libdir ;; 1145 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1146 libdir=$ac_optarg ;; 1147 1148 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1149 | --libexe | --libex | --libe) 1150 ac_prev=libexecdir ;; 1151 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1152 | --libexe=* | --libex=* | --libe=*) 1153 libexecdir=$ac_optarg ;; 1154 1155 -localedir | --localedir | --localedi | --localed | --locale) 1156 ac_prev=localedir ;; 1157 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1158 localedir=$ac_optarg ;; 1159 1160 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1161 | --localstate | --localstat | --localsta | --localst | --locals) 1162 ac_prev=localstatedir ;; 1163 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1164 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1165 localstatedir=$ac_optarg ;; 1166 1167 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1168 ac_prev=mandir ;; 1169 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1170 mandir=$ac_optarg ;; 1171 1172 -nfp | --nfp | --nf) 1173 # Obsolete; use --without-fp. 1174 with_fp=no ;; 1175 1176 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1177 | --no-cr | --no-c | -n) 1178 no_create=yes ;; 1179 1180 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1181 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1182 no_recursion=yes ;; 1183 1184 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1185 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1186 | --oldin | --oldi | --old | --ol | --o) 1187 ac_prev=oldincludedir ;; 1188 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1189 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1190 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1191 oldincludedir=$ac_optarg ;; 1192 1193 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1194 ac_prev=prefix ;; 1195 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1196 prefix=$ac_optarg ;; 1197 1198 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1199 | --program-pre | --program-pr | --program-p) 1200 ac_prev=program_prefix ;; 1201 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1202 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1203 program_prefix=$ac_optarg ;; 1204 1205 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1206 | --program-suf | --program-su | --program-s) 1207 ac_prev=program_suffix ;; 1208 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1209 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1210 program_suffix=$ac_optarg ;; 1211 1212 -program-transform-name | --program-transform-name \ 1213 | --program-transform-nam | --program-transform-na \ 1214 | --program-transform-n | --program-transform- \ 1215 | --program-transform | --program-transfor \ 1216 | --program-transfo | --program-transf \ 1217 | --program-trans | --program-tran \ 1218 | --progr-tra | --program-tr | --program-t) 1219 ac_prev=program_transform_name ;; 1220 -program-transform-name=* | --program-transform-name=* \ 1221 | --program-transform-nam=* | --program-transform-na=* \ 1222 | --program-transform-n=* | --program-transform-=* \ 1223 | --program-transform=* | --program-transfor=* \ 1224 | --program-transfo=* | --program-transf=* \ 1225 | --program-trans=* | --program-tran=* \ 1226 | --progr-tra=* | --program-tr=* | --program-t=*) 1227 program_transform_name=$ac_optarg ;; 1228 1229 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1230 ac_prev=pdfdir ;; 1231 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1232 pdfdir=$ac_optarg ;; 1233 1234 -psdir | --psdir | --psdi | --psd | --ps) 1235 ac_prev=psdir ;; 1236 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1237 psdir=$ac_optarg ;; 1238 1239 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1240 | -silent | --silent | --silen | --sile | --sil) 1241 silent=yes ;; 1242 1243 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1244 ac_prev=sbindir ;; 1245 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1246 | --sbi=* | --sb=*) 1247 sbindir=$ac_optarg ;; 1248 1249 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1250 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1251 | --sharedst | --shareds | --shared | --share | --shar \ 1252 | --sha | --sh) 1253 ac_prev=sharedstatedir ;; 1254 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1255 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1256 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1257 | --sha=* | --sh=*) 1258 sharedstatedir=$ac_optarg ;; 1259 1260 -site | --site | --sit) 1261 ac_prev=site ;; 1262 -site=* | --site=* | --sit=*) 1263 site=$ac_optarg ;; 1264 1265 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1266 ac_prev=srcdir ;; 1267 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1268 srcdir=$ac_optarg ;; 1269 1270 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1271 | --syscon | --sysco | --sysc | --sys | --sy) 1272 ac_prev=sysconfdir ;; 1273 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1274 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1275 sysconfdir=$ac_optarg ;; 1276 1277 -target | --target | --targe | --targ | --tar | --ta | --t) 1278 ac_prev=target_alias ;; 1279 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1280 target_alias=$ac_optarg ;; 1281 1282 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1283 verbose=yes ;; 1284 1285 -version | --version | --versio | --versi | --vers | -V) 1286 ac_init_version=: ;; 1287 1288 -with-* | --with-*) 1289 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1290 # Reject names that are not valid shell variable names. 1291 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1292 as_fn_error $? "invalid package name: $ac_useropt" 1293 ac_useropt_orig=$ac_useropt 1294 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1295 case $ac_user_opts in 1296 *" 1297 "with_$ac_useropt" 1298 "*) ;; 1299 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1300 ac_unrecognized_sep=', ';; 1301 esac 1302 eval with_$ac_useropt=\$ac_optarg ;; 1303 1304 -without-* | --without-*) 1305 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1306 # Reject names that are not valid shell variable names. 1307 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1308 as_fn_error $? "invalid package name: $ac_useropt" 1309 ac_useropt_orig=$ac_useropt 1310 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1311 case $ac_user_opts in 1312 *" 1313 "with_$ac_useropt" 1314 "*) ;; 1315 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1316 ac_unrecognized_sep=', ';; 1317 esac 1318 eval with_$ac_useropt=no ;; 1319 1320 --x) 1321 # Obsolete; use --with-x. 1322 with_x=yes ;; 1323 1324 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1325 | --x-incl | --x-inc | --x-in | --x-i) 1326 ac_prev=x_includes ;; 1327 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1328 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1329 x_includes=$ac_optarg ;; 1330 1331 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1332 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1333 ac_prev=x_libraries ;; 1334 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1335 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1336 x_libraries=$ac_optarg ;; 1337 1338 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1339 Try \`$0 --help' for more information" 1340 ;; 1341 1342 *=*) 1343 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1344 # Reject names that are not valid shell variable names. 1345 case $ac_envvar in #( 1346 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1347 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1348 esac 1349 eval $ac_envvar=\$ac_optarg 1350 export $ac_envvar ;; 1351 1352 *) 1353 # FIXME: should be removed in autoconf 3.0. 1354 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1355 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1356 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1357 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1358 ;; 1359 1360 esac 1361 done 1362 1363 if test -n "$ac_prev"; then 1364 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1365 as_fn_error $? "missing argument to $ac_option" 1366 fi 1367 1368 if test -n "$ac_unrecognized_opts"; then 1369 case $enable_option_checking in 1370 no) ;; 1371 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1372 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1373 esac 1374 fi 1375 1376 # Check all directory arguments for consistency. 1377 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1378 datadir sysconfdir sharedstatedir localstatedir includedir \ 1379 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1380 libdir localedir mandir 1381 do 1382 eval ac_val=\$$ac_var 1383 # Remove trailing slashes. 1384 case $ac_val in 1385 */ ) 1386 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1387 eval $ac_var=\$ac_val;; 1388 esac 1389 # Be sure to have absolute directory names. 1390 case $ac_val in 1391 [\\/$]* | ?:[\\/]* ) continue;; 1392 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1393 esac 1394 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1395 done 1396 1397 # There might be people who depend on the old broken behavior: `$host' 1398 # used to hold the argument of --host etc. 1399 # FIXME: To remove some day. 1400 build=$build_alias 1401 host=$host_alias 1402 target=$target_alias 1403 1404 # FIXME: To remove some day. 1405 if test "x$host_alias" != x; then 1406 if test "x$build_alias" = x; then 1407 cross_compiling=maybe 1408 elif test "x$build_alias" != "x$host_alias"; then 1409 cross_compiling=yes 1410 fi 1411 fi 1412 1413 ac_tool_prefix= 1414 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1415 1416 test "$silent" = yes && exec 6>/dev/null 1417 1418 1419 ac_pwd=`pwd` && test -n "$ac_pwd" && 1420 ac_ls_di=`ls -di .` && 1421 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1422 as_fn_error $? "working directory cannot be determined" 1423 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1424 as_fn_error $? "pwd does not report name of working directory" 1425 1426 1427 # Find the source files, if location was not specified. 1428 if test -z "$srcdir"; then 1429 ac_srcdir_defaulted=yes 1430 # Try the directory containing this script, then the parent directory. 1431 ac_confdir=`$as_dirname -- "$as_myself" || 1432 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1433 X"$as_myself" : 'X\(//\)[^/]' \| \ 1434 X"$as_myself" : 'X\(//\)$' \| \ 1435 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1436 $as_echo X"$as_myself" | 1437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1438 s//\1/ 1439 q 1440 } 1441 /^X\(\/\/\)[^/].*/{ 1442 s//\1/ 1443 q 1444 } 1445 /^X\(\/\/\)$/{ 1446 s//\1/ 1447 q 1448 } 1449 /^X\(\/\).*/{ 1450 s//\1/ 1451 q 1452 } 1453 s/.*/./; q'` 1454 srcdir=$ac_confdir 1455 if test ! -r "$srcdir/$ac_unique_file"; then 1456 srcdir=.. 1457 fi 1458 else 1459 ac_srcdir_defaulted=no 1460 fi 1461 if test ! -r "$srcdir/$ac_unique_file"; then 1462 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1463 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1464 fi 1465 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1466 ac_abs_confdir=`( 1467 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1468 pwd)` 1469 # When building in place, set srcdir=. 1470 if test "$ac_abs_confdir" = "$ac_pwd"; then 1471 srcdir=. 1472 fi 1473 # Remove unnecessary trailing slashes from srcdir. 1474 # Double slashes in file names in object file debugging info 1475 # mess up M-x gdb in Emacs. 1476 case $srcdir in 1477 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1478 esac 1479 for ac_var in $ac_precious_vars; do 1480 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1481 eval ac_env_${ac_var}_value=\$${ac_var} 1482 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1483 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1484 done 1485 1486 # 1487 # Report the --help message. 1488 # 1489 if test "$ac_init_help" = "long"; then 1490 # Omit some internal or obsolete options to make the list less imposing. 1491 # This message is too long to be a string in the A/UX 3.1 sh. 1492 cat <<_ACEOF 1493 \`configure' configures this package to adapt to many kinds of systems. 1494 1495 Usage: $0 [OPTION]... [VAR=VALUE]... 1496 1497 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1498 VAR=VALUE. See below for descriptions of some of the useful variables. 1499 1500 Defaults for the options are specified in brackets. 1501 1502 Configuration: 1503 -h, --help display this help and exit 1504 --help=short display options specific to this package 1505 --help=recursive display the short help of all the included packages 1506 -V, --version display version information and exit 1507 -q, --quiet, --silent do not print \`checking ...' messages 1508 --cache-file=FILE cache test results in FILE [disabled] 1509 -C, --config-cache alias for \`--cache-file=config.cache' 1510 -n, --no-create do not create output files 1511 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1512 1513 Installation directories: 1514 --prefix=PREFIX install architecture-independent files in PREFIX 1515 [$ac_default_prefix] 1516 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1517 [PREFIX] 1518 1519 By default, \`make install' will install all the files in 1520 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1521 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1522 for instance \`--prefix=\$HOME'. 1523 1524 For better control, use the options below. 1525 1526 Fine tuning of the installation directories: 1527 --bindir=DIR user executables [EPREFIX/bin] 1528 --sbindir=DIR system admin executables [EPREFIX/sbin] 1529 --libexecdir=DIR program executables [EPREFIX/libexec] 1530 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1531 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1532 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1533 --libdir=DIR object code libraries [EPREFIX/lib] 1534 --includedir=DIR C header files [PREFIX/include] 1535 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1536 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1537 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1538 --infodir=DIR info documentation [DATAROOTDIR/info] 1539 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1540 --mandir=DIR man documentation [DATAROOTDIR/man] 1541 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1542 --htmldir=DIR html documentation [DOCDIR] 1543 --dvidir=DIR dvi documentation [DOCDIR] 1544 --pdfdir=DIR pdf documentation [DOCDIR] 1545 --psdir=DIR ps documentation [DOCDIR] 1546 _ACEOF 1547 1548 cat <<\_ACEOF 1549 1550 System types: 1551 --build=BUILD configure for building on BUILD [guessed] 1552 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1553 --target=TARGET configure for building compilers for TARGET [HOST] 1554 _ACEOF 1555 fi 1556 1557 if test -n "$ac_init_help"; then 1558 1559 cat <<\_ACEOF 1560 1561 Optional Features: 1562 --disable-option-checking ignore unrecognized --enable/--with options 1563 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1564 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1565 --enable-layout=LAYOUT 1566 --enable-experimental-libtool Use experimental custom libtool 1567 --enable-shared[=PKGS] build shared libraries [default=yes] 1568 --enable-static[=PKGS] build static libraries [default=yes] 1569 --enable-fast-install[=PKGS] 1570 optimize for fast installation [default=yes] 1571 --disable-libtool-lock avoid locking (might break parallel builds) 1572 --enable-debug Turn on debugging and compile time warnings 1573 --enable-maintainer-mode Turn on debugging and compile time warnings 1574 --enable-profile Turn on profiling for the build (GCC) 1575 --enable-pool-debug[=yes|no|verbose|verbose-alloc|lifetime|owner|all] Turn on pools debugging 1576 --enable-malloc-debug Switch on malloc_debug for BeOS 1577 --disable-lfs Disable large file support on 32-bit platforms 1578 --enable-nonportable-atomics Use optimized atomic code which may produce nonportable binaries 1579 --enable-threads Enable threading support in APR. 1580 --enable-posix-shm Use POSIX shared memory (shm_open) if available 1581 --enable-allocator-uses-mmap Use mmap in apr_allocator instead of malloc 1582 --enable-allocator-guard-pages Use guard pages in apr_allocator 1583 (implies --enable-allocator-uses-mmap) 1584 --enable-pool-concurrency-check Check for concurrent usage of memory pools 1585 --disable-dso Disable DSO support 1586 --enable-other-child Enable reliable child processes 1587 --disable-ipv6 Disable IPv6 support in APR. 1588 --disable-timedlocks Disable timed locks 1589 1590 Optional Packages: 1591 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1592 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1593 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1594 both] 1595 --with-aix-soname=aix|svr4|both 1596 shared library versioning (aka "SONAME") variant to 1597 provide on AIX, [default=aix]. 1598 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1599 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1600 compiler's sysroot if not specified). 1601 --with-installbuilddir=DIR location to store APR build files 1602 --without-libtool avoid using libtool to link the library 1603 --with-efence[=DIR] path to Electric Fence installation 1604 --with-valgrind[=DIR] Enable code to teach valgrind about apr pools 1605 (optionally: set path to valgrind headers) 1606 --with-sendfile Override decision to use sendfile 1607 --with-egd[=DIR] use EGD-compatible socket 1608 --with-devrandom[=DEV] use /dev/random or compatible [searches by default] 1609 1610 Some influential environment variables: 1611 CC C compiler command 1612 CFLAGS C compiler flags 1613 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1614 nonstandard directory <lib dir> 1615 LIBS libraries to pass to the linker, e.g. -l<library> 1616 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1617 you have headers in a nonstandard directory <include dir> 1618 CPP C preprocessor 1619 LT_SYS_LIBRARY_PATH 1620 User-defined run-time library search path. 1621 1622 Use these variables to override the choices made by `configure' or to help 1623 it to find libraries and programs with nonstandard names/locations. 1624 1625 Report bugs to the package provider. 1626 _ACEOF 1627 ac_status=$? 1628 fi 1629 1630 if test "$ac_init_help" = "recursive"; then 1631 # If there are subdirs, report their specific --help. 1632 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1633 test -d "$ac_dir" || 1634 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1635 continue 1636 ac_builddir=. 1637 1638 case "$ac_dir" in 1639 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1640 *) 1641 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1642 # A ".." for each directory in $ac_dir_suffix. 1643 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1644 case $ac_top_builddir_sub in 1645 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1646 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1647 esac ;; 1648 esac 1649 ac_abs_top_builddir=$ac_pwd 1650 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1651 # for backward compatibility: 1652 ac_top_builddir=$ac_top_build_prefix 1653 1654 case $srcdir in 1655 .) # We are building in place. 1656 ac_srcdir=. 1657 ac_top_srcdir=$ac_top_builddir_sub 1658 ac_abs_top_srcdir=$ac_pwd ;; 1659 [\\/]* | ?:[\\/]* ) # Absolute name. 1660 ac_srcdir=$srcdir$ac_dir_suffix; 1661 ac_top_srcdir=$srcdir 1662 ac_abs_top_srcdir=$srcdir ;; 1663 *) # Relative name. 1664 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1665 ac_top_srcdir=$ac_top_build_prefix$srcdir 1666 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1667 esac 1668 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1669 1670 cd "$ac_dir" || { ac_status=$?; continue; } 1671 # Check for guested configure. 1672 if test -f "$ac_srcdir/configure.gnu"; then 1673 echo && 1674 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1675 elif test -f "$ac_srcdir/configure"; then 1676 echo && 1677 $SHELL "$ac_srcdir/configure" --help=recursive 1678 else 1679 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1680 fi || ac_status=$? 1681 cd "$ac_pwd" || { ac_status=$?; break; } 1682 done 1683 fi 1684 1685 test -n "$ac_init_help" && exit $ac_status 1686 if $ac_init_version; then 1687 cat <<\_ACEOF 1688 configure 1689 generated by GNU Autoconf 2.69 1690 1691 Copyright (C) 2012 Free Software Foundation, Inc. 1692 This configure script is free software; the Free Software Foundation 1693 gives unlimited permission to copy, distribute and modify it. 1694 _ACEOF 1695 exit 1696 fi 1697 1698 ## ------------------------ ## 1699 ## Autoconf initialization. ## 1700 ## ------------------------ ## 1701 1702 # ac_fn_c_try_compile LINENO 1703 # -------------------------- 1704 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1705 ac_fn_c_try_compile () 1706 { 1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1708 rm -f conftest.$ac_objext 1709 if { { ac_try="$ac_compile" 1710 case "(($ac_try" in 1711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1712 *) ac_try_echo=$ac_try;; 1713 esac 1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1715 $as_echo "$ac_try_echo"; } >&5 1716 (eval "$ac_compile") 2>conftest.err 1717 ac_status=$? 1718 if test -s conftest.err; then 1719 grep -v '^ *+' conftest.err >conftest.er1 1720 cat conftest.er1 >&5 1721 mv -f conftest.er1 conftest.err 1722 fi 1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1724 test $ac_status = 0; } && { 1725 test -z "$ac_c_werror_flag" || 1726 test ! -s conftest.err 1727 } && test -s conftest.$ac_objext; then : 1728 ac_retval=0 1729 else 1730 $as_echo "$as_me: failed program was:" >&5 1731 sed 's/^/| /' conftest.$ac_ext >&5 1732 1733 ac_retval=1 1734 fi 1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1736 as_fn_set_status $ac_retval 1737 1738 } # ac_fn_c_try_compile 1739 1740 # ac_fn_c_try_cpp LINENO 1741 # ---------------------- 1742 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1743 ac_fn_c_try_cpp () 1744 { 1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1746 if { { ac_try="$ac_cpp conftest.$ac_ext" 1747 case "(($ac_try" in 1748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1749 *) ac_try_echo=$ac_try;; 1750 esac 1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1752 $as_echo "$ac_try_echo"; } >&5 1753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1754 ac_status=$? 1755 if test -s conftest.err; then 1756 grep -v '^ *+' conftest.err >conftest.er1 1757 cat conftest.er1 >&5 1758 mv -f conftest.er1 conftest.err 1759 fi 1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1761 test $ac_status = 0; } > conftest.i && { 1762 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1763 test ! -s conftest.err 1764 }; then : 1765 ac_retval=0 1766 else 1767 $as_echo "$as_me: failed program was:" >&5 1768 sed 's/^/| /' conftest.$ac_ext >&5 1769 1770 ac_retval=1 1771 fi 1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1773 as_fn_set_status $ac_retval 1774 1775 } # ac_fn_c_try_cpp 1776 1777 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1778 # ------------------------------------------------------- 1779 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1780 # the include files in INCLUDES and setting the cache variable VAR 1781 # accordingly. 1782 ac_fn_c_check_header_mongrel () 1783 { 1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1785 if eval \${$3+:} false; then : 1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1787 $as_echo_n "checking for $2... " >&6; } 1788 if eval \${$3+:} false; then : 1789 $as_echo_n "(cached) " >&6 1790 fi 1791 eval ac_res=\$$3 1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1793 $as_echo "$ac_res" >&6; } 1794 else 1795 # Is the header compilable? 1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1797 $as_echo_n "checking $2 usability... " >&6; } 1798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1799 /* end confdefs.h. */ 1800 $4 1801 #include <$2> 1802 _ACEOF 1803 if ac_fn_c_try_compile "$LINENO"; then : 1804 ac_header_compiler=yes 1805 else 1806 ac_header_compiler=no 1807 fi 1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1810 $as_echo "$ac_header_compiler" >&6; } 1811 1812 # Is the header present? 1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1814 $as_echo_n "checking $2 presence... " >&6; } 1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1816 /* end confdefs.h. */ 1817 #include <$2> 1818 _ACEOF 1819 if ac_fn_c_try_cpp "$LINENO"; then : 1820 ac_header_preproc=yes 1821 else 1822 ac_header_preproc=no 1823 fi 1824 rm -f conftest.err conftest.i conftest.$ac_ext 1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1826 $as_echo "$ac_header_preproc" >&6; } 1827 1828 # So? What about this header? 1829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1830 yes:no: ) 1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1832 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1834 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1835 ;; 1836 no:yes:* ) 1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1838 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1840 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1842 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1844 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1846 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1847 ;; 1848 esac 1849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1850 $as_echo_n "checking for $2... " >&6; } 1851 if eval \${$3+:} false; then : 1852 $as_echo_n "(cached) " >&6 1853 else 1854 eval "$3=\$ac_header_compiler" 1855 fi 1856 eval ac_res=\$$3 1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1858 $as_echo "$ac_res" >&6; } 1859 fi 1860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1861 1862 } # ac_fn_c_check_header_mongrel 1863 1864 # ac_fn_c_try_run LINENO 1865 # ---------------------- 1866 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1867 # that executables *can* be run. 1868 ac_fn_c_try_run () 1869 { 1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1871 if { { ac_try="$ac_link" 1872 case "(($ac_try" in 1873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1874 *) ac_try_echo=$ac_try;; 1875 esac 1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1877 $as_echo "$ac_try_echo"; } >&5 1878 (eval "$ac_link") 2>&5 1879 ac_status=$? 1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1881 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1882 { { case "(($ac_try" in 1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1884 *) ac_try_echo=$ac_try;; 1885 esac 1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1887 $as_echo "$ac_try_echo"; } >&5 1888 (eval "$ac_try") 2>&5 1889 ac_status=$? 1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1891 test $ac_status = 0; }; }; then : 1892 ac_retval=0 1893 else 1894 $as_echo "$as_me: program exited with status $ac_status" >&5 1895 $as_echo "$as_me: failed program was:" >&5 1896 sed 's/^/| /' conftest.$ac_ext >&5 1897 1898 ac_retval=$ac_status 1899 fi 1900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1902 as_fn_set_status $ac_retval 1903 1904 } # ac_fn_c_try_run 1905 1906 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1907 # ------------------------------------------------------- 1908 # Tests whether HEADER exists and can be compiled using the include files in 1909 # INCLUDES, setting the cache variable VAR accordingly. 1910 ac_fn_c_check_header_compile () 1911 { 1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1914 $as_echo_n "checking for $2... " >&6; } 1915 if eval \${$3+:} false; then : 1916 $as_echo_n "(cached) " >&6 1917 else 1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1919 /* end confdefs.h. */ 1920 $4 1921 #include <$2> 1922 _ACEOF 1923 if ac_fn_c_try_compile "$LINENO"; then : 1924 eval "$3=yes" 1925 else 1926 eval "$3=no" 1927 fi 1928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1929 fi 1930 eval ac_res=\$$3 1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1932 $as_echo "$ac_res" >&6; } 1933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1934 1935 } # ac_fn_c_check_header_compile 1936 1937 # ac_fn_c_try_link LINENO 1938 # ----------------------- 1939 # Try to link conftest.$ac_ext, and return whether this succeeded. 1940 ac_fn_c_try_link () 1941 { 1942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1943 rm -f conftest.$ac_objext conftest$ac_exeext 1944 if { { ac_try="$ac_link" 1945 case "(($ac_try" in 1946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1947 *) ac_try_echo=$ac_try;; 1948 esac 1949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1950 $as_echo "$ac_try_echo"; } >&5 1951 (eval "$ac_link") 2>conftest.err 1952 ac_status=$? 1953 if test -s conftest.err; then 1954 grep -v '^ *+' conftest.err >conftest.er1 1955 cat conftest.er1 >&5 1956 mv -f conftest.er1 conftest.err 1957 fi 1958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1959 test $ac_status = 0; } && { 1960 test -z "$ac_c_werror_flag" || 1961 test ! -s conftest.err 1962 } && test -s conftest$ac_exeext && { 1963 test "$cross_compiling" = yes || 1964 test -x conftest$ac_exeext 1965 }; then : 1966 ac_retval=0 1967 else 1968 $as_echo "$as_me: failed program was:" >&5 1969 sed 's/^/| /' conftest.$ac_ext >&5 1970 1971 ac_retval=1 1972 fi 1973 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1974 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1975 # interfere with the next link command; also delete a directory that is 1976 # left behind by Apple's compiler. We do this before executing the actions. 1977 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1978 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1979 as_fn_set_status $ac_retval 1980 1981 } # ac_fn_c_try_link 1982 1983 # ac_fn_c_check_func LINENO FUNC VAR 1984 # ---------------------------------- 1985 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1986 ac_fn_c_check_func () 1987 { 1988 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1990 $as_echo_n "checking for $2... " >&6; } 1991 if eval \${$3+:} false; then : 1992 $as_echo_n "(cached) " >&6 1993 else 1994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1995 /* end confdefs.h. */ 1996 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1997 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1998 #define $2 innocuous_$2 1999 2000 /* System header to define __stub macros and hopefully few prototypes, 2001 which can conflict with char $2 (); below. 2002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2003 <limits.h> exists even on freestanding compilers. */ 2004 2005 #ifdef __STDC__ 2006 # include <limits.h> 2007 #else 2008 # include <assert.h> 2009 #endif 2010 2011 #undef $2 2012 2013 /* Override any GCC internal prototype to avoid an error. 2014 Use char because int might match the return type of a GCC 2015 builtin and then its argument prototype would still apply. */ 2016 #ifdef __cplusplus 2017 extern "C" 2018 #endif 2019 char $2 (); 2020 /* The GNU C library defines this for functions which it implements 2021 to always fail with ENOSYS. Some functions are actually named 2022 something starting with __ and the normal name is an alias. */ 2023 #if defined __stub_$2 || defined __stub___$2 2024 choke me 2025 #endif 2026 2027 int 2028 main () 2029 { 2030 return $2 (); 2031 ; 2032 return 0; 2033 } 2034 _ACEOF 2035 if ac_fn_c_try_link "$LINENO"; then : 2036 eval "$3=yes" 2037 else 2038 eval "$3=no" 2039 fi 2040 rm -f core conftest.err conftest.$ac_objext \ 2041 conftest$ac_exeext conftest.$ac_ext 2042 fi 2043 eval ac_res=\$$3 2044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2045 $as_echo "$ac_res" >&6; } 2046 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2047 2048 } # ac_fn_c_check_func 2049 2050 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2051 # ------------------------------------------- 2052 # Tests whether TYPE exists after having included INCLUDES, setting cache 2053 # variable VAR accordingly. 2054 ac_fn_c_check_type () 2055 { 2056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2058 $as_echo_n "checking for $2... " >&6; } 2059 if eval \${$3+:} false; then : 2060 $as_echo_n "(cached) " >&6 2061 else 2062 eval "$3=no" 2063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2064 /* end confdefs.h. */ 2065 $4 2066 int 2067 main () 2068 { 2069 if (sizeof ($2)) 2070 return 0; 2071 ; 2072 return 0; 2073 } 2074 _ACEOF 2075 if ac_fn_c_try_compile "$LINENO"; then : 2076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2077 /* end confdefs.h. */ 2078 $4 2079 int 2080 main () 2081 { 2082 if (sizeof (($2))) 2083 return 0; 2084 ; 2085 return 0; 2086 } 2087 _ACEOF 2088 if ac_fn_c_try_compile "$LINENO"; then : 2089 2090 else 2091 eval "$3=yes" 2092 fi 2093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2094 fi 2095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2096 fi 2097 eval ac_res=\$$3 2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2099 $as_echo "$ac_res" >&6; } 2100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2101 2102 } # ac_fn_c_check_type 2103 2104 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2105 # -------------------------------------------- 2106 # Tries to find the compile-time value of EXPR in a program that includes 2107 # INCLUDES, setting VAR accordingly. Returns whether the value could be 2108 # computed 2109 ac_fn_c_compute_int () 2110 { 2111 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2112 if test "$cross_compiling" = yes; then 2113 # Depending upon the size, compute the lo and hi bounds. 2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2115 /* end confdefs.h. */ 2116 $4 2117 int 2118 main () 2119 { 2120 static int test_array [1 - 2 * !(($2) >= 0)]; 2121 test_array [0] = 0; 2122 return test_array [0]; 2123 2124 ; 2125 return 0; 2126 } 2127 _ACEOF 2128 if ac_fn_c_try_compile "$LINENO"; then : 2129 ac_lo=0 ac_mid=0 2130 while :; do 2131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2132 /* end confdefs.h. */ 2133 $4 2134 int 2135 main () 2136 { 2137 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2138 test_array [0] = 0; 2139 return test_array [0]; 2140 2141 ; 2142 return 0; 2143 } 2144 _ACEOF 2145 if ac_fn_c_try_compile "$LINENO"; then : 2146 ac_hi=$ac_mid; break 2147 else 2148 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2149 if test $ac_lo -le $ac_mid; then 2150 ac_lo= ac_hi= 2151 break 2152 fi 2153 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2154 fi 2155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2156 done 2157 else 2158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2159 /* end confdefs.h. */ 2160 $4 2161 int 2162 main () 2163 { 2164 static int test_array [1 - 2 * !(($2) < 0)]; 2165 test_array [0] = 0; 2166 return test_array [0]; 2167 2168 ; 2169 return 0; 2170 } 2171 _ACEOF 2172 if ac_fn_c_try_compile "$LINENO"; then : 2173 ac_hi=-1 ac_mid=-1 2174 while :; do 2175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2176 /* end confdefs.h. */ 2177 $4 2178 int 2179 main () 2180 { 2181 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2182 test_array [0] = 0; 2183 return test_array [0]; 2184 2185 ; 2186 return 0; 2187 } 2188 _ACEOF 2189 if ac_fn_c_try_compile "$LINENO"; then : 2190 ac_lo=$ac_mid; break 2191 else 2192 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2193 if test $ac_mid -le $ac_hi; then 2194 ac_lo= ac_hi= 2195 break 2196 fi 2197 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2198 fi 2199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2200 done 2201 else 2202 ac_lo= ac_hi= 2203 fi 2204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2205 fi 2206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2207 # Binary search between lo and hi bounds. 2208 while test "x$ac_lo" != "x$ac_hi"; do 2209 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2211 /* end confdefs.h. */ 2212 $4 2213 int 2214 main () 2215 { 2216 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2217 test_array [0] = 0; 2218 return test_array [0]; 2219 2220 ; 2221 return 0; 2222 } 2223 _ACEOF 2224 if ac_fn_c_try_compile "$LINENO"; then : 2225 ac_hi=$ac_mid 2226 else 2227 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2228 fi 2229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2230 done 2231 case $ac_lo in #(( 2232 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2233 '') ac_retval=1 ;; 2234 esac 2235 else 2236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2237 /* end confdefs.h. */ 2238 $4 2239 static long int longval () { return $2; } 2240 static unsigned long int ulongval () { return $2; } 2241 #include <stdio.h> 2242 #include <stdlib.h> 2243 int 2244 main () 2245 { 2246 2247 FILE *f = fopen ("conftest.val", "w"); 2248 if (! f) 2249 return 1; 2250 if (($2) < 0) 2251 { 2252 long int i = longval (); 2253 if (i != ($2)) 2254 return 1; 2255 fprintf (f, "%ld", i); 2256 } 2257 else 2258 { 2259 unsigned long int i = ulongval (); 2260 if (i != ($2)) 2261 return 1; 2262 fprintf (f, "%lu", i); 2263 } 2264 /* Do not output a trailing newline, as this causes \r\n confusion 2265 on some platforms. */ 2266 return ferror (f) || fclose (f) != 0; 2267 2268 ; 2269 return 0; 2270 } 2271 _ACEOF 2272 if ac_fn_c_try_run "$LINENO"; then : 2273 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2274 else 2275 ac_retval=1 2276 fi 2277 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2278 conftest.$ac_objext conftest.beam conftest.$ac_ext 2279 rm -f conftest.val 2280 2281 fi 2282 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2283 as_fn_set_status $ac_retval 2284 2285 } # ac_fn_c_compute_int 2286 2287 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2288 # --------------------------------------------- 2289 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2290 # accordingly. 2291 ac_fn_c_check_decl () 2292 { 2293 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2294 as_decl_name=`echo $2|sed 's/ *(.*//'` 2295 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2297 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2298 if eval \${$3+:} false; then : 2299 $as_echo_n "(cached) " >&6 2300 else 2301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2302 /* end confdefs.h. */ 2303 $4 2304 int 2305 main () 2306 { 2307 #ifndef $as_decl_name 2308 #ifdef __cplusplus 2309 (void) $as_decl_use; 2310 #else 2311 (void) $as_decl_name; 2312 #endif 2313 #endif 2314 2315 ; 2316 return 0; 2317 } 2318 _ACEOF 2319 if ac_fn_c_try_compile "$LINENO"; then : 2320 eval "$3=yes" 2321 else 2322 eval "$3=no" 2323 fi 2324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2325 fi 2326 eval ac_res=\$$3 2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2328 $as_echo "$ac_res" >&6; } 2329 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2330 2331 } # ac_fn_c_check_decl 2332 2333 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2334 # ---------------------------------------------------- 2335 # Tries to find if the field MEMBER exists in type AGGR, after including 2336 # INCLUDES, setting cache variable VAR accordingly. 2337 ac_fn_c_check_member () 2338 { 2339 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2341 $as_echo_n "checking for $2.$3... " >&6; } 2342 if eval \${$4+:} false; then : 2343 $as_echo_n "(cached) " >&6 2344 else 2345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2346 /* end confdefs.h. */ 2347 $5 2348 int 2349 main () 2350 { 2351 static $2 ac_aggr; 2352 if (ac_aggr.$3) 2353 return 0; 2354 ; 2355 return 0; 2356 } 2357 _ACEOF 2358 if ac_fn_c_try_compile "$LINENO"; then : 2359 eval "$4=yes" 2360 else 2361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2362 /* end confdefs.h. */ 2363 $5 2364 int 2365 main () 2366 { 2367 static $2 ac_aggr; 2368 if (sizeof ac_aggr.$3) 2369 return 0; 2370 ; 2371 return 0; 2372 } 2373 _ACEOF 2374 if ac_fn_c_try_compile "$LINENO"; then : 2375 eval "$4=yes" 2376 else 2377 eval "$4=no" 2378 fi 2379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2380 fi 2381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2382 fi 2383 eval ac_res=\$$4 2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2385 $as_echo "$ac_res" >&6; } 2386 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2387 2388 } # ac_fn_c_check_member 2389 cat >config.log <<_ACEOF 2390 This file contains any messages produced by compilers while 2391 running configure, to aid debugging if configure makes a mistake. 2392 2393 It was created by $as_me, which was 2394 generated by GNU Autoconf 2.69. Invocation command line was 2395 2396 $ $0 $@ 2397 2398 _ACEOF 2399 exec 5>>config.log 2400 { 2401 cat <<_ASUNAME 2402 ## --------- ## 2403 ## Platform. ## 2404 ## --------- ## 2405 2406 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2407 uname -m = `(uname -m) 2>/dev/null || echo unknown` 2408 uname -r = `(uname -r) 2>/dev/null || echo unknown` 2409 uname -s = `(uname -s) 2>/dev/null || echo unknown` 2410 uname -v = `(uname -v) 2>/dev/null || echo unknown` 2411 2412 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2413 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2414 2415 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2416 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2417 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2418 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2419 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2420 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2421 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2422 2423 _ASUNAME 2424 2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2426 for as_dir in $PATH 2427 do 2428 IFS=$as_save_IFS 2429 test -z "$as_dir" && as_dir=. 2430 $as_echo "PATH: $as_dir" 2431 done 2432 IFS=$as_save_IFS 2433 2434 } >&5 2435 2436 cat >&5 <<_ACEOF 2437 2438 2439 ## ----------- ## 2440 ## Core tests. ## 2441 ## ----------- ## 2442 2443 _ACEOF 2444 2445 2446 # Keep a trace of the command line. 2447 # Strip out --no-create and --no-recursion so they do not pile up. 2448 # Strip out --silent because we don't want to record it for future runs. 2449 # Also quote any args containing shell meta-characters. 2450 # Make two passes to allow for proper duplicate-argument suppression. 2451 ac_configure_args= 2452 ac_configure_args0= 2453 ac_configure_args1= 2454 ac_must_keep_next=false 2455 for ac_pass in 1 2 2456 do 2457 for ac_arg 2458 do 2459 case $ac_arg in 2460 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2461 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2462 | -silent | --silent | --silen | --sile | --sil) 2463 continue ;; 2464 *\'*) 2465 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2466 esac 2467 case $ac_pass in 2468 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2469 2) 2470 as_fn_append ac_configure_args1 " '$ac_arg'" 2471 if test $ac_must_keep_next = true; then 2472 ac_must_keep_next=false # Got value, back to normal. 2473 else 2474 case $ac_arg in 2475 *=* | --config-cache | -C | -disable-* | --disable-* \ 2476 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2477 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2478 | -with-* | --with-* | -without-* | --without-* | --x) 2479 case "$ac_configure_args0 " in 2480 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2481 esac 2482 ;; 2483 -* ) ac_must_keep_next=true ;; 2484 esac 2485 fi 2486 as_fn_append ac_configure_args " '$ac_arg'" 2487 ;; 2488 esac 2489 done 2490 done 2491 { ac_configure_args0=; unset ac_configure_args0;} 2492 { ac_configure_args1=; unset ac_configure_args1;} 2493 2494 # When interrupted or exit'd, cleanup temporary files, and complete 2495 # config.log. We remove comments because anyway the quotes in there 2496 # would cause problems or look ugly. 2497 # WARNING: Use '\'' to represent an apostrophe within the trap. 2498 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2499 trap 'exit_status=$? 2500 # Save into config.log some information that might help in debugging. 2501 { 2502 echo 2503 2504 $as_echo "## ---------------- ## 2505 ## Cache variables. ## 2506 ## ---------------- ##" 2507 echo 2508 # The following way of writing the cache mishandles newlines in values, 2509 ( 2510 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2511 eval ac_val=\$$ac_var 2512 case $ac_val in #( 2513 *${as_nl}*) 2514 case $ac_var in #( 2515 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2516 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2517 esac 2518 case $ac_var in #( 2519 _ | IFS | as_nl) ;; #( 2520 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2521 *) { eval $ac_var=; unset $ac_var;} ;; 2522 esac ;; 2523 esac 2524 done 2525 (set) 2>&1 | 2526 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2527 *${as_nl}ac_space=\ *) 2528 sed -n \ 2529 "s/'\''/'\''\\\\'\'''\''/g; 2530 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2531 ;; #( 2532 *) 2533 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2534 ;; 2535 esac | 2536 sort 2537 ) 2538 echo 2539 2540 $as_echo "## ----------------- ## 2541 ## Output variables. ## 2542 ## ----------------- ##" 2543 echo 2544 for ac_var in $ac_subst_vars 2545 do 2546 eval ac_val=\$$ac_var 2547 case $ac_val in 2548 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2549 esac 2550 $as_echo "$ac_var='\''$ac_val'\''" 2551 done | sort 2552 echo 2553 2554 if test -n "$ac_subst_files"; then 2555 $as_echo "## ------------------- ## 2556 ## File substitutions. ## 2557 ## ------------------- ##" 2558 echo 2559 for ac_var in $ac_subst_files 2560 do 2561 eval ac_val=\$$ac_var 2562 case $ac_val in 2563 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2564 esac 2565 $as_echo "$ac_var='\''$ac_val'\''" 2566 done | sort 2567 echo 2568 fi 2569 2570 if test -s confdefs.h; then 2571 $as_echo "## ----------- ## 2572 ## confdefs.h. ## 2573 ## ----------- ##" 2574 echo 2575 cat confdefs.h 2576 echo 2577 fi 2578 test "$ac_signal" != 0 && 2579 $as_echo "$as_me: caught signal $ac_signal" 2580 $as_echo "$as_me: exit $exit_status" 2581 } >&5 2582 rm -f core *.core core.conftest.* && 2583 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2584 exit $exit_status 2585 ' 0 2586 for ac_signal in 1 2 13 15; do 2587 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2588 done 2589 ac_signal=0 2590 2591 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2592 rm -f -r conftest* confdefs.h 2593 2594 $as_echo "/* confdefs.h */" > confdefs.h 2595 2596 # Predefined preprocessor variables. 2597 2598 cat >>confdefs.h <<_ACEOF 2599 #define PACKAGE_NAME "$PACKAGE_NAME" 2600 _ACEOF 2601 2602 cat >>confdefs.h <<_ACEOF 2603 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2604 _ACEOF 2605 2606 cat >>confdefs.h <<_ACEOF 2607 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2608 _ACEOF 2609 2610 cat >>confdefs.h <<_ACEOF 2611 #define PACKAGE_STRING "$PACKAGE_STRING" 2612 _ACEOF 2613 2614 cat >>confdefs.h <<_ACEOF 2615 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2616 _ACEOF 2617 2618 cat >>confdefs.h <<_ACEOF 2619 #define PACKAGE_URL "$PACKAGE_URL" 2620 _ACEOF 2621 2622 2623 # Let the site file select an alternate cache file if it wants to. 2624 # Prefer an explicitly selected file to automatically selected ones. 2625 ac_site_file1=NONE 2626 ac_site_file2=NONE 2627 if test -n "$CONFIG_SITE"; then 2628 # We do not want a PATH search for config.site. 2629 case $CONFIG_SITE in #(( 2630 -*) ac_site_file1=./$CONFIG_SITE;; 2631 */*) ac_site_file1=$CONFIG_SITE;; 2632 *) ac_site_file1=./$CONFIG_SITE;; 2633 esac 2634 elif test "x$prefix" != xNONE; then 2635 ac_site_file1=$prefix/share/config.site 2636 ac_site_file2=$prefix/etc/config.site 2637 else 2638 ac_site_file1=$ac_default_prefix/share/config.site 2639 ac_site_file2=$ac_default_prefix/etc/config.site 2640 fi 2641 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2642 do 2643 test "x$ac_site_file" = xNONE && continue 2644 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2645 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2646 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2647 sed 's/^/| /' "$ac_site_file" >&5 2648 . "$ac_site_file" \ 2649 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2651 as_fn_error $? "failed to load site script $ac_site_file 2652 See \`config.log' for more details" "$LINENO" 5; } 2653 fi 2654 done 2655 2656 if test -r "$cache_file"; then 2657 # Some versions of bash will fail to source /dev/null (special files 2658 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2659 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2660 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2661 $as_echo "$as_me: loading cache $cache_file" >&6;} 2662 case $cache_file in 2663 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2664 *) . "./$cache_file";; 2665 esac 2666 fi 2667 else 2668 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2669 $as_echo "$as_me: creating cache $cache_file" >&6;} 2670 >$cache_file 2671 fi 2672 2673 # Check that the precious variables saved in the cache have kept the same 2674 # value. 2675 ac_cache_corrupted=false 2676 for ac_var in $ac_precious_vars; do 2677 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2678 eval ac_new_set=\$ac_env_${ac_var}_set 2679 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2680 eval ac_new_val=\$ac_env_${ac_var}_value 2681 case $ac_old_set,$ac_new_set in 2682 set,) 2683 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2684 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2685 ac_cache_corrupted=: ;; 2686 ,set) 2687 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2688 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2689 ac_cache_corrupted=: ;; 2690 ,);; 2691 *) 2692 if test "x$ac_old_val" != "x$ac_new_val"; then 2693 # differences in whitespace do not lead to failure. 2694 ac_old_val_w=`echo x $ac_old_val` 2695 ac_new_val_w=`echo x $ac_new_val` 2696 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2697 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2698 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2699 ac_cache_corrupted=: 2700 else 2701 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2702 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2703 eval $ac_var=\$ac_old_val 2704 fi 2705 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2706 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2707 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2708 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2709 fi;; 2710 esac 2711 # Pass precious variables to config.status. 2712 if test "$ac_new_set" = set; then 2713 case $ac_new_val in 2714 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2715 *) ac_arg=$ac_var=$ac_new_val ;; 2716 esac 2717 case " $ac_configure_args " in 2718 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2719 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2720 esac 2721 fi 2722 done 2723 if $ac_cache_corrupted; then 2724 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2726 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2727 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2728 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2729 fi 2730 ## -------------------- ## 2731 ## Main body of script. ## 2732 ## -------------------- ## 2733 2734 ac_ext=c 2735 ac_cpp='$CPP $CPPFLAGS' 2736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2738 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2739 2740 2741 ac_config_headers="$ac_config_headers include/arch/unix/apr_private.h" 2742 2743 ac_aux_dir= 2744 for ac_dir in build "$srcdir"/build; do 2745 if test -f "$ac_dir/install-sh"; then 2746 ac_aux_dir=$ac_dir 2747 ac_install_sh="$ac_aux_dir/install-sh -c" 2748 break 2749 elif test -f "$ac_dir/install.sh"; then 2750 ac_aux_dir=$ac_dir 2751 ac_install_sh="$ac_aux_dir/install.sh -c" 2752 break 2753 elif test -f "$ac_dir/shtool"; then 2754 ac_aux_dir=$ac_dir 2755 ac_install_sh="$ac_aux_dir/shtool install -c" 2756 break 2757 fi 2758 done 2759 if test -z "$ac_aux_dir"; then 2760 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5 2761 fi 2762 2763 # These three variables are undocumented and unsupported, 2764 # and are intended to be withdrawn in a future Autoconf release. 2765 # They can cause serious problems if a builder's source tree is in a directory 2766 # whose full name contains unusual characters. 2767 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2768 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2769 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 2932 # 2933 # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc. 2934 # Written by Gordon Matzigkeit, 1996 2935 # 2936 # This file is free software; the Free Software Foundation gives 2937 # unlimited permission to copy and/or distribute it, with or without 2938 # modifications, as long as this notice is preserved. 2939 2940 2941 2942 # serial 58 LT_INIT 2943 2944 2945 # LT_PREREQ(VERSION) 2946 # ------------------ 2947 # Complain and exit if this libtool version is less that VERSION. 2948 2949 2950 2951 # _LT_CHECK_BUILDDIR 2952 # ------------------ 2953 # Complain if the absolute build directory name contains unusual characters 2954 2955 2956 2957 # LT_INIT([OPTIONS]) 2958 # ------------------ 2959 # LT_INIT 2960 2961 # Old names: 2962 # This is what autoupdate's m4 run will expand. It fires 2963 # the warning (with _au_warn_XXX), outputs it into the 2964 # updated configure.ac (with AC_DIAGNOSE), and then outputs 2965 # the replacement expansion. 2966 2967 2968 # This is an auxiliary macro that is also run when 2969 # autoupdate runs m4. It simply calls m4_warning, but 2970 # we need a wrapper so that each warning is emitted only 2971 # once. We break the quoting in m4_warning's argument in 2972 # order to expand this macro's arguments, not AU_DEFUN's. 2973 2974 2975 # Finally, this is the expansion that is picked up by 2976 # autoconf. It tells the user to run autoupdate, and 2977 # then outputs the replacement expansion. We do not care 2978 # about autoupdate's warning because that contains 2979 # information on what to do *after* running autoupdate. 2980 2981 # This is what autoupdate's m4 run will expand. It fires 2982 # the warning (with _au_warn_XXX), outputs it into the 2983 # updated configure.ac (with AC_DIAGNOSE), and then outputs 2984 # the replacement expansion. 2985 2986 2987 # This is an auxiliary macro that is also run when 2988 # autoupdate runs m4. It simply calls m4_warning, but 2989 # we need a wrapper so that each warning is emitted only 2990 # once. We break the quoting in m4_warning's argument in 2991 # order to expand this macro's arguments, not AU_DEFUN's. 2992 2993 2994 # Finally, this is the expansion that is picked up by 2995 # autoconf. It tells the user to run autoupdate, and 2996 # then outputs the replacement expansion. We do not care 2997 # about autoupdate's warning because that contains 2998 # information on what to do *after* running autoupdate. 2999 3000 3001 3002 # _LT_PREPARE_CC_BASENAME 3003 # ----------------------- 3004 # _LT_PREPARE_CC_BASENAME 3005 3006 3007 # _LT_CC_BASENAME(CC) 3008 # ------------------- 3009 # It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME, 3010 # but that macro is also expanded into generated libtool script, which 3011 # arranges for $SED and $ECHO to be set by different means. 3012 3013 3014 3015 # _LT_FILEUTILS_DEFAULTS 3016 # ---------------------- 3017 # It is okay to use these file commands and assume they have been set 3018 # sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'. 3019 # _LT_FILEUTILS_DEFAULTS 3020 3021 3022 # _LT_SETUP 3023 # --------- 3024 # _LT_SETUP 3025 3026 3027 # _LT_PREPARE_SED_QUOTE_VARS 3028 # -------------------------- 3029 # Define a few sed substitution that help us do robust quoting. 3030 3031 3032 # _LT_PROG_LTMAIN 3033 # --------------- 3034 # Note that this code is called both from 'configure', and 'config.status' 3035 # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, 3036 # 'config.status' has no value for ac_aux_dir unless we are using Automake, 3037 # so we pass a copy along to make sure it has a sensible value anyway. 3038 # _LT_PROG_LTMAIN 3039 3040 3041 ## ------------------------------------- ## 3042 ## Accumulate code for creating libtool. ## 3043 ## ------------------------------------- ## 3044 3045 # So that we can recreate a full libtool script including additional 3046 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS 3047 # in macros and then make a single call at the end using the 'libtool' 3048 # label. 3049 3050 3051 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) 3052 # ---------------------------------------- 3053 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. 3054 3055 3056 # Initialize. 3057 3058 3059 3060 # _LT_CONFIG_LIBTOOL([COMMANDS]) 3061 # ------------------------------ 3062 # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. 3063 3064 3065 # Initialize. 3066 3067 3068 3069 # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) 3070 # ----------------------------------------------------- 3071 3072 3073 3074 # _LT_FORMAT_COMMENT([COMMENT]) 3075 # ----------------------------- 3076 # Add leading comment marks to the start of each line, and a trailing 3077 # full-stop to the whole comment if one is not present already. 3078 3079 3080 3081 3082 ## ------------------------ ## 3083 ## FIXME: Eliminate VARNAME ## 3084 ## ------------------------ ## 3085 3086 3087 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) 3088 # ------------------------------------------------------------------- 3089 # CONFIGNAME is the name given to the value in the libtool script. 3090 # VARNAME is the (base) name used in the configure script. 3091 # VALUE may be 0, 1 or 2 for a computed quote escaped value based on 3092 # VARNAME. Any other value will be used directly. 3093 3094 3095 3096 # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) 3097 # -------------------------------------------------------- 3098 3099 3100 3101 # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) 3102 # ------------------------------------------------ 3103 3104 3105 3106 # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) 3107 # --------------------------------------------------------- 3108 3109 3110 3111 # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) 3112 # -------------------------------------------------- 3113 3114 3115 3116 # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) 3117 # --------------------------------------------------- 3118 3119 3120 3121 # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) 3122 # --------------------------------------------------- 3123 3124 3125 3126 3127 # lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) 3128 # ------------------------------------------------ 3129 3130 3131 3132 3133 # _LT_CONFIG_STATUS_DECLARE([VARNAME]) 3134 # ------------------------------------ 3135 # Quote a variable value, and forward it to 'config.status' so that its 3136 # declaration there will have the same value as in 'configure'. VARNAME 3137 # must have a single quote delimited value for this to work. 3138 3139 3140 3141 # _LT_CONFIG_STATUS_DECLARATIONS 3142 # ------------------------------ 3143 # We delimit libtool config variables with single quotes, so when 3144 # we write them to config.status, we have to be sure to quote all 3145 # embedded single quotes properly. In configure, this macro expands 3146 # each variable declared with _LT_DECL (and _LT_TAGDECL) into: 3147 # 3148 # <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`' 3149 3150 3151 3152 # _LT_LIBTOOL_TAGS 3153 # ---------------- 3154 # Output comment and list of tags supported by the script 3155 3156 3157 3158 # _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) 3159 # ----------------------------------- 3160 # Extract the dictionary values for VARNAME (optionally with TAG) and 3161 # expand to a commented shell variable setting: 3162 # 3163 # # Some comment about what VAR is for. 3164 # visible_name=$lt_internal_name 3165 3166 3167 3168 # _LT_LIBTOOL_CONFIG_VARS 3169 # ----------------------- 3170 # Produce commented declarations of non-tagged libtool config variables 3171 # suitable for insertion in the LIBTOOL CONFIG section of the 'libtool' 3172 # script. Tagged libtool config variables (even for the LIBTOOL CONFIG 3173 # section) are produced by _LT_LIBTOOL_TAG_VARS. 3174 3175 3176 3177 # _LT_LIBTOOL_TAG_VARS(TAG) 3178 # ------------------------- 3179 3180 3181 3182 # _LT_TAGVAR(VARNAME, [TAGNAME]) 3183 # ------------------------------ 3184 3185 3186 3187 # _LT_CONFIG_COMMANDS 3188 # ------------------- 3189 # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of 3190 # variables for single and double quote escaping we saved from calls 3191 # to _LT_DECL, we can put quote escaped variables declarations 3192 # into 'config.status', and then the shell code to quote escape them in 3193 # for loops in 'config.status'. Finally, any additional code accumulated 3194 # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. 3195 #_LT_CONFIG_COMMANDS 3196 3197 3198 # Initialize. 3199 3200 3201 # _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) 3202 # ------------------------------------ 3203 # Generate a child script FILE with all initialization necessary to 3204 # reuse the environment learned by the parent script, and make the 3205 # file executable. If COMMENT is supplied, it is inserted after the 3206 # '#!' sequence but before initialization text begins. After this 3207 # macro, additional text can be appended to FILE to form the body of 3208 # the child script. The macro ends with non-zero status if the 3209 # file could not be fully written (such as if the disk is full). 3210 # _LT_GENERATED_FILE_INIT 3211 3212 # LT_OUTPUT 3213 # --------- 3214 # This macro allows early generation of the libtool script (before 3215 # AC_OUTPUT is called), incase it is used in configure for compilation 3216 # tests. 3217 # LT_OUTPUT 3218 3219 3220 # _LT_CONFIG(TAG) 3221 # --------------- 3222 # If TAG is the built-in tag, create an initial libtool script with a 3223 # default configuration from the untagged config vars. Otherwise add code 3224 # to config.status for appending the configuration named by TAG from the 3225 # matching tagged config vars. 3226 # _LT_CONFIG 3227 3228 3229 # LT_SUPPORTED_TAG(TAG) 3230 # --------------------- 3231 # Trace this macro to discover what tags are supported by the libtool 3232 # --tag option, using: 3233 # autoconf --trace 'LT_SUPPORTED_TAG:$1' 3234 3235 3236 3237 # C support is built-in for now 3238 3239 3240 3241 3242 # LT_LANG(LANG) 3243 # ------------- 3244 # Enable libtool support for the given language if not already enabled. 3245 # LT_LANG 3246 3247 3248 # _LT_LANG(LANGNAME) 3249 # ------------------ 3250 # _LT_LANG 3251 3252 3253 #m4_ifndef 3254 3255 3256 # _LT_LANG_DEFAULT_CONFIG 3257 # ----------------------- 3258 # _LT_LANG_DEFAULT_CONFIG 3259 3260 # Obsolete macros: 3261 # This is what autoupdate's m4 run will expand. It fires 3262 # the warning (with _au_warn_XXX), outputs it into the 3263 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3264 # the replacement expansion. 3265 3266 3267 # This is an auxiliary macro that is also run when 3268 # autoupdate runs m4. It simply calls m4_warning, but 3269 # we need a wrapper so that each warning is emitted only 3270 # once. We break the quoting in m4_warning's argument in 3271 # order to expand this macro's arguments, not AU_DEFUN's. 3272 3273 3274 # Finally, this is the expansion that is picked up by 3275 # autoconf. It tells the user to run autoupdate, and 3276 # then outputs the replacement expansion. We do not care 3277 # about autoupdate's warning because that contains 3278 # information on what to do *after* running autoupdate. 3279 3280 # This is what autoupdate's m4 run will expand. It fires 3281 # the warning (with _au_warn_XXX), outputs it into the 3282 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3283 # the replacement expansion. 3284 3285 3286 # This is an auxiliary macro that is also run when 3287 # autoupdate runs m4. It simply calls m4_warning, but 3288 # we need a wrapper so that each warning is emitted only 3289 # once. We break the quoting in m4_warning's argument in 3290 # order to expand this macro's arguments, not AU_DEFUN's. 3291 3292 3293 # Finally, this is the expansion that is picked up by 3294 # autoconf. It tells the user to run autoupdate, and 3295 # then outputs the replacement expansion. We do not care 3296 # about autoupdate's warning because that contains 3297 # information on what to do *after* running autoupdate. 3298 3299 # This is what autoupdate's m4 run will expand. It fires 3300 # the warning (with _au_warn_XXX), outputs it into the 3301 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3302 # the replacement expansion. 3303 3304 3305 # This is an auxiliary macro that is also run when 3306 # autoupdate runs m4. It simply calls m4_warning, but 3307 # we need a wrapper so that each warning is emitted only 3308 # once. We break the quoting in m4_warning's argument in 3309 # order to expand this macro's arguments, not AU_DEFUN's. 3310 3311 3312 # Finally, this is the expansion that is picked up by 3313 # autoconf. It tells the user to run autoupdate, and 3314 # then outputs the replacement expansion. We do not care 3315 # about autoupdate's warning because that contains 3316 # information on what to do *after* running autoupdate. 3317 3318 # This is what autoupdate's m4 run will expand. It fires 3319 # the warning (with _au_warn_XXX), outputs it into the 3320 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3321 # the replacement expansion. 3322 3323 3324 # This is an auxiliary macro that is also run when 3325 # autoupdate runs m4. It simply calls m4_warning, but 3326 # we need a wrapper so that each warning is emitted only 3327 # once. We break the quoting in m4_warning's argument in 3328 # order to expand this macro's arguments, not AU_DEFUN's. 3329 3330 3331 # Finally, this is the expansion that is picked up by 3332 # autoconf. It tells the user to run autoupdate, and 3333 # then outputs the replacement expansion. We do not care 3334 # about autoupdate's warning because that contains 3335 # information on what to do *after* running autoupdate. 3336 3337 # This is what autoupdate's m4 run will expand. It fires 3338 # the warning (with _au_warn_XXX), outputs it into the 3339 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3340 # the replacement expansion. 3341 3342 3343 # This is an auxiliary macro that is also run when 3344 # autoupdate runs m4. It simply calls m4_warning, but 3345 # we need a wrapper so that each warning is emitted only 3346 # once. We break the quoting in m4_warning's argument in 3347 # order to expand this macro's arguments, not AU_DEFUN's. 3348 3349 3350 # Finally, this is the expansion that is picked up by 3351 # autoconf. It tells the user to run autoupdate, and 3352 # then outputs the replacement expansion. We do not care 3353 # about autoupdate's warning because that contains 3354 # information on what to do *after* running autoupdate. 3355 3356 3357 3358 # _LT_TAG_COMPILER 3359 # ---------------- 3360 # _LT_TAG_COMPILER 3361 3362 3363 # _LT_COMPILER_BOILERPLATE 3364 # ------------------------ 3365 # Check for compiler boilerplate output or warnings with 3366 # the simple compiler test code. 3367 # _LT_COMPILER_BOILERPLATE 3368 3369 3370 # _LT_LINKER_BOILERPLATE 3371 # ---------------------- 3372 # Check for linker boilerplate output or warnings with 3373 # the simple link test code. 3374 # _LT_LINKER_BOILERPLATE 3375 3376 # _LT_REQUIRED_DARWIN_CHECKS 3377 # ------------------------- 3378 3379 3380 3381 # _LT_DARWIN_LINKER_FEATURES([TAG]) 3382 # --------------------------------- 3383 # Checks for linker and compiler features on darwin 3384 3385 3386 # _LT_SYS_MODULE_PATH_AIX([TAGNAME]) 3387 # ---------------------------------- 3388 # Links a minimal program and checks the executable 3389 # for the system default hardcoded library path. In most cases, 3390 # this is /usr/lib:/lib, but when the MPI compilers are used 3391 # the location of the communication and MPI libs are included too. 3392 # If we don't find anything, use the default library path according 3393 # to the aix ld manual. 3394 # Store the results from the different compilers for each TAGNAME. 3395 # Allow to override them for all tags through lt_cv_aix_libpath. 3396 # _LT_SYS_MODULE_PATH_AIX 3397 3398 3399 # _LT_SHELL_INIT(ARG) 3400 # ------------------- 3401 # _LT_SHELL_INIT 3402 3403 3404 3405 # _LT_PROG_ECHO_BACKSLASH 3406 # ----------------------- 3407 # Find how we can fake an echo command that does not interpret backslash. 3408 # In particular, with Autoconf 2.60 or later we add some code to the start 3409 # of the generated configure script that will find a shell with a builtin 3410 # printf (that we can use as an echo command). 3411 # _LT_PROG_ECHO_BACKSLASH 3412 3413 3414 # _LT_WITH_SYSROOT 3415 # ---------------- 3416 3417 3418 # _LT_ENABLE_LOCK 3419 # --------------- 3420 # _LT_ENABLE_LOCK 3421 3422 3423 # _LT_PROG_AR 3424 # ----------- 3425 # _LT_PROG_AR 3426 3427 3428 # _LT_CMD_OLD_ARCHIVE 3429 # ------------------- 3430 # _LT_CMD_OLD_ARCHIVE 3431 3432 3433 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, 3434 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) 3435 # ---------------------------------------------------------------- 3436 # Check whether the given compiler option works 3437 # _LT_COMPILER_OPTION 3438 3439 # Old name: 3440 # This is what autoupdate's m4 run will expand. It fires 3441 # the warning (with _au_warn_XXX), outputs it into the 3442 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3443 # the replacement expansion. 3444 3445 3446 # This is an auxiliary macro that is also run when 3447 # autoupdate runs m4. It simply calls m4_warning, but 3448 # we need a wrapper so that each warning is emitted only 3449 # once. We break the quoting in m4_warning's argument in 3450 # order to expand this macro's arguments, not AU_DEFUN's. 3451 3452 3453 # Finally, this is the expansion that is picked up by 3454 # autoconf. It tells the user to run autoupdate, and 3455 # then outputs the replacement expansion. We do not care 3456 # about autoupdate's warning because that contains 3457 # information on what to do *after* running autoupdate. 3458 3459 3460 3461 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, 3462 # [ACTION-SUCCESS], [ACTION-FAILURE]) 3463 # ---------------------------------------------------- 3464 # Check whether the given linker option works 3465 # _LT_LINKER_OPTION 3466 3467 # Old name: 3468 # This is what autoupdate's m4 run will expand. It fires 3469 # the warning (with _au_warn_XXX), outputs it into the 3470 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3471 # the replacement expansion. 3472 3473 3474 # This is an auxiliary macro that is also run when 3475 # autoupdate runs m4. It simply calls m4_warning, but 3476 # we need a wrapper so that each warning is emitted only 3477 # once. We break the quoting in m4_warning's argument in 3478 # order to expand this macro's arguments, not AU_DEFUN's. 3479 3480 3481 # Finally, this is the expansion that is picked up by 3482 # autoconf. It tells the user to run autoupdate, and 3483 # then outputs the replacement expansion. We do not care 3484 # about autoupdate's warning because that contains 3485 # information on what to do *after* running autoupdate. 3486 3487 3488 3489 # LT_CMD_MAX_LEN 3490 #--------------- 3491 # LT_CMD_MAX_LEN 3492 3493 # Old name: 3494 # This is what autoupdate's m4 run will expand. It fires 3495 # the warning (with _au_warn_XXX), outputs it into the 3496 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3497 # the replacement expansion. 3498 3499 3500 # This is an auxiliary macro that is also run when 3501 # autoupdate runs m4. It simply calls m4_warning, but 3502 # we need a wrapper so that each warning is emitted only 3503 # once. We break the quoting in m4_warning's argument in 3504 # order to expand this macro's arguments, not AU_DEFUN's. 3505 3506 3507 # Finally, this is the expansion that is picked up by 3508 # autoconf. It tells the user to run autoupdate, and 3509 # then outputs the replacement expansion. We do not care 3510 # about autoupdate's warning because that contains 3511 # information on what to do *after* running autoupdate. 3512 3513 3514 3515 # _LT_HEADER_DLFCN 3516 # ---------------- 3517 # _LT_HEADER_DLFCN 3518 3519 3520 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, 3521 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) 3522 # ---------------------------------------------------------------- 3523 # _LT_TRY_DLOPEN_SELF 3524 3525 3526 # LT_SYS_DLOPEN_SELF 3527 # ------------------ 3528 # LT_SYS_DLOPEN_SELF 3529 3530 # Old name: 3531 # This is what autoupdate's m4 run will expand. It fires 3532 # the warning (with _au_warn_XXX), outputs it into the 3533 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3534 # the replacement expansion. 3535 3536 3537 # This is an auxiliary macro that is also run when 3538 # autoupdate runs m4. It simply calls m4_warning, but 3539 # we need a wrapper so that each warning is emitted only 3540 # once. We break the quoting in m4_warning's argument in 3541 # order to expand this macro's arguments, not AU_DEFUN's. 3542 3543 3544 # Finally, this is the expansion that is picked up by 3545 # autoconf. It tells the user to run autoupdate, and 3546 # then outputs the replacement expansion. We do not care 3547 # about autoupdate's warning because that contains 3548 # information on what to do *after* running autoupdate. 3549 3550 3551 3552 # _LT_COMPILER_C_O([TAGNAME]) 3553 # --------------------------- 3554 # Check to see if options -c and -o are simultaneously supported by compiler. 3555 # This macro does not hard code the compiler like AC_PROG_CC_C_O. 3556 # _LT_COMPILER_C_O 3557 3558 3559 # _LT_COMPILER_FILE_LOCKS([TAGNAME]) 3560 # ---------------------------------- 3561 # Check to see if we can do hard links to lock some files if needed 3562 # _LT_COMPILER_FILE_LOCKS 3563 3564 3565 # _LT_CHECK_OBJDIR 3566 # ---------------- 3567 # _LT_CHECK_OBJDIR 3568 3569 3570 # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) 3571 # -------------------------------------- 3572 # Check hardcoding attributes. 3573 # _LT_LINKER_HARDCODE_LIBPATH 3574 3575 3576 # _LT_CMD_STRIPLIB 3577 # ---------------- 3578 # _LT_CMD_STRIPLIB 3579 3580 3581 # _LT_PREPARE_MUNGE_PATH_LIST 3582 # --------------------------- 3583 # Make sure func_munge_path_list() is defined correctly. 3584 # _LT_PREPARE_PATH_LIST 3585 3586 3587 # _LT_SYS_DYNAMIC_LINKER([TAG]) 3588 # ----------------------------- 3589 # PORTME Fill in your ld.so characteristics 3590 # _LT_SYS_DYNAMIC_LINKER 3591 3592 3593 # _LT_PATH_TOOL_PREFIX(TOOL) 3594 # -------------------------- 3595 # find a file program that can recognize shared library 3596 # _LT_PATH_TOOL_PREFIX 3597 3598 # Old name: 3599 # This is what autoupdate's m4 run will expand. It fires 3600 # the warning (with _au_warn_XXX), outputs it into the 3601 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3602 # the replacement expansion. 3603 3604 3605 # This is an auxiliary macro that is also run when 3606 # autoupdate runs m4. It simply calls m4_warning, but 3607 # we need a wrapper so that each warning is emitted only 3608 # once. We break the quoting in m4_warning's argument in 3609 # order to expand this macro's arguments, not AU_DEFUN's. 3610 3611 3612 # Finally, this is the expansion that is picked up by 3613 # autoconf. It tells the user to run autoupdate, and 3614 # then outputs the replacement expansion. We do not care 3615 # about autoupdate's warning because that contains 3616 # information on what to do *after* running autoupdate. 3617 3618 3619 3620 # _LT_PATH_MAGIC 3621 # -------------- 3622 # find a file program that can recognize a shared library 3623 # _LT_PATH_MAGIC 3624 3625 3626 # LT_PATH_LD 3627 # ---------- 3628 # find the pathname to the GNU or non-GNU linker 3629 # LT_PATH_LD 3630 3631 # Old names: 3632 # This is what autoupdate's m4 run will expand. It fires 3633 # the warning (with _au_warn_XXX), outputs it into the 3634 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3635 # the replacement expansion. 3636 3637 3638 # This is an auxiliary macro that is also run when 3639 # autoupdate runs m4. It simply calls m4_warning, but 3640 # we need a wrapper so that each warning is emitted only 3641 # once. We break the quoting in m4_warning's argument in 3642 # order to expand this macro's arguments, not AU_DEFUN's. 3643 3644 3645 # Finally, this is the expansion that is picked up by 3646 # autoconf. It tells the user to run autoupdate, and 3647 # then outputs the replacement expansion. We do not care 3648 # about autoupdate's warning because that contains 3649 # information on what to do *after* running autoupdate. 3650 3651 # This is what autoupdate's m4 run will expand. It fires 3652 # the warning (with _au_warn_XXX), outputs it into the 3653 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3654 # the replacement expansion. 3655 3656 3657 # This is an auxiliary macro that is also run when 3658 # autoupdate runs m4. It simply calls m4_warning, but 3659 # we need a wrapper so that each warning is emitted only 3660 # once. We break the quoting in m4_warning's argument in 3661 # order to expand this macro's arguments, not AU_DEFUN's. 3662 3663 3664 # Finally, this is the expansion that is picked up by 3665 # autoconf. It tells the user to run autoupdate, and 3666 # then outputs the replacement expansion. We do not care 3667 # about autoupdate's warning because that contains 3668 # information on what to do *after* running autoupdate. 3669 3670 3671 3672 # _LT_PATH_LD_GNU 3673 #- -------------- 3674 # _LT_PATH_LD_GNU 3675 3676 3677 # _LT_CMD_RELOAD 3678 # -------------- 3679 # find reload flag for linker 3680 # -- PORTME Some linkers may need a different reload flag. 3681 # _LT_CMD_RELOAD 3682 3683 3684 # _LT_PATH_DD 3685 # ----------- 3686 # find a working dd 3687 # _LT_PATH_DD 3688 3689 3690 # _LT_CMD_TRUNCATE 3691 # ---------------- 3692 # find command to truncate a binary pipe 3693 # _LT_CMD_TRUNCATE 3694 3695 3696 # _LT_CHECK_MAGIC_METHOD 3697 # ---------------------- 3698 # how to check for library dependencies 3699 # -- PORTME fill in with the dynamic library characteristics 3700 # _LT_CHECK_MAGIC_METHOD 3701 3702 3703 # LT_PATH_NM 3704 # ---------- 3705 # find the pathname to a BSD- or MS-compatible name lister 3706 # LT_PATH_NM 3707 3708 # Old names: 3709 # This is what autoupdate's m4 run will expand. It fires 3710 # the warning (with _au_warn_XXX), outputs it into the 3711 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3712 # the replacement expansion. 3713 3714 3715 # This is an auxiliary macro that is also run when 3716 # autoupdate runs m4. It simply calls m4_warning, but 3717 # we need a wrapper so that each warning is emitted only 3718 # once. We break the quoting in m4_warning's argument in 3719 # order to expand this macro's arguments, not AU_DEFUN's. 3720 3721 3722 # Finally, this is the expansion that is picked up by 3723 # autoconf. It tells the user to run autoupdate, and 3724 # then outputs the replacement expansion. We do not care 3725 # about autoupdate's warning because that contains 3726 # information on what to do *after* running autoupdate. 3727 3728 # This is what autoupdate's m4 run will expand. It fires 3729 # the warning (with _au_warn_XXX), outputs it into the 3730 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3731 # the replacement expansion. 3732 3733 3734 # This is an auxiliary macro that is also run when 3735 # autoupdate runs m4. It simply calls m4_warning, but 3736 # we need a wrapper so that each warning is emitted only 3737 # once. We break the quoting in m4_warning's argument in 3738 # order to expand this macro's arguments, not AU_DEFUN's. 3739 3740 3741 # Finally, this is the expansion that is picked up by 3742 # autoconf. It tells the user to run autoupdate, and 3743 # then outputs the replacement expansion. We do not care 3744 # about autoupdate's warning because that contains 3745 # information on what to do *after* running autoupdate. 3746 3747 3748 # _LT_CHECK_SHAREDLIB_FROM_LINKLIB 3749 # -------------------------------- 3750 # how to determine the name of the shared library 3751 # associated with a specific link library. 3752 # -- PORTME fill in with the dynamic library characteristics 3753 # _LT_CHECK_SHAREDLIB_FROM_LINKLIB 3754 3755 3756 # _LT_PATH_MANIFEST_TOOL 3757 # ---------------------- 3758 # locate the manifest tool 3759 # _LT_PATH_MANIFEST_TOOL 3760 3761 3762 # _LT_DLL_DEF_P([FILE]) 3763 # --------------------- 3764 # True iff FILE is a Windows DLL '.def' file. 3765 # Keep in sync with func_dll_def_p in the libtool script 3766 # _LT_DLL_DEF_P 3767 3768 3769 # LT_LIB_M 3770 # -------- 3771 # check for math library 3772 # LT_LIB_M 3773 3774 # Old name: 3775 # This is what autoupdate's m4 run will expand. It fires 3776 # the warning (with _au_warn_XXX), outputs it into the 3777 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3778 # the replacement expansion. 3779 3780 3781 # This is an auxiliary macro that is also run when 3782 # autoupdate runs m4. It simply calls m4_warning, but 3783 # we need a wrapper so that each warning is emitted only 3784 # once. We break the quoting in m4_warning's argument in 3785 # order to expand this macro's arguments, not AU_DEFUN's. 3786 3787 3788 # Finally, this is the expansion that is picked up by 3789 # autoconf. It tells the user to run autoupdate, and 3790 # then outputs the replacement expansion. We do not care 3791 # about autoupdate's warning because that contains 3792 # information on what to do *after* running autoupdate. 3793 3794 3795 3796 # _LT_COMPILER_NO_RTTI([TAGNAME]) 3797 # ------------------------------- 3798 # _LT_COMPILER_NO_RTTI 3799 3800 3801 # _LT_CMD_GLOBAL_SYMBOLS 3802 # ---------------------- 3803 # _LT_CMD_GLOBAL_SYMBOLS 3804 3805 3806 # _LT_COMPILER_PIC([TAGNAME]) 3807 # --------------------------- 3808 # _LT_COMPILER_PIC 3809 3810 3811 # _LT_LINKER_SHLIBS([TAGNAME]) 3812 # ---------------------------- 3813 # See if the linker supports building shared libraries. 3814 # _LT_LINKER_SHLIBS 3815 3816 3817 # _LT_LANG_C_CONFIG([TAG]) 3818 # ------------------------ 3819 # Ensure that the configuration variables for a C compiler are suitably 3820 # defined. These variables are subsequently used by _LT_CONFIG to write 3821 # the compiler configuration to 'libtool'. 3822 # _LT_LANG_C_CONFIG 3823 3824 3825 # _LT_LANG_CXX_CONFIG([TAG]) 3826 # -------------------------- 3827 # Ensure that the configuration variables for a C++ compiler are suitably 3828 # defined. These variables are subsequently used by _LT_CONFIG to write 3829 # the compiler configuration to 'libtool'. 3830 # _LT_LANG_CXX_CONFIG 3831 3832 3833 # _LT_FUNC_STRIPNAME_CNF 3834 # ---------------------- 3835 # func_stripname_cnf prefix suffix name 3836 # strip PREFIX and SUFFIX off of NAME. 3837 # PREFIX and SUFFIX must not contain globbing or regex special 3838 # characters, hashes, percent signs, but SUFFIX may contain a leading 3839 # dot (in which case that matches only a dot). 3840 # 3841 # This function is identical to the (non-XSI) version of func_stripname, 3842 # except this one can be used by m4 code that may be executed by configure, 3843 # rather than the libtool script. 3844 # _LT_FUNC_STRIPNAME_CNF 3845 3846 3847 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) 3848 # --------------------------------- 3849 # Figure out "hidden" library dependencies from verbose 3850 # compiler output when linking a shared library. 3851 # Parse the compiler output and extract the necessary 3852 # objects, libraries and library flags. 3853 # _LT_SYS_HIDDEN_LIBDEPS 3854 3855 3856 # _LT_LANG_F77_CONFIG([TAG]) 3857 # -------------------------- 3858 # Ensure that the configuration variables for a Fortran 77 compiler are 3859 # suitably defined. These variables are subsequently used by _LT_CONFIG 3860 # to write the compiler configuration to 'libtool'. 3861 # _LT_LANG_F77_CONFIG 3862 3863 3864 # _LT_LANG_FC_CONFIG([TAG]) 3865 # ------------------------- 3866 # Ensure that the configuration variables for a Fortran compiler are 3867 # suitably defined. These variables are subsequently used by _LT_CONFIG 3868 # to write the compiler configuration to 'libtool'. 3869 # _LT_LANG_FC_CONFIG 3870 3871 3872 # _LT_LANG_GCJ_CONFIG([TAG]) 3873 # -------------------------- 3874 # Ensure that the configuration variables for the GNU Java Compiler compiler 3875 # are suitably defined. These variables are subsequently used by _LT_CONFIG 3876 # to write the compiler configuration to 'libtool'. 3877 # _LT_LANG_GCJ_CONFIG 3878 3879 3880 # _LT_LANG_GO_CONFIG([TAG]) 3881 # -------------------------- 3882 # Ensure that the configuration variables for the GNU Go compiler 3883 # are suitably defined. These variables are subsequently used by _LT_CONFIG 3884 # to write the compiler configuration to 'libtool'. 3885 # _LT_LANG_GO_CONFIG 3886 3887 3888 # _LT_LANG_RC_CONFIG([TAG]) 3889 # ------------------------- 3890 # Ensure that the configuration variables for the Windows resource compiler 3891 # are suitably defined. These variables are subsequently used by _LT_CONFIG 3892 # to write the compiler configuration to 'libtool'. 3893 # _LT_LANG_RC_CONFIG 3894 3895 3896 # LT_PROG_GCJ 3897 # ----------- 3898 3899 3900 # Old name: 3901 # This is what autoupdate's m4 run will expand. It fires 3902 # the warning (with _au_warn_XXX), outputs it into the 3903 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3904 # the replacement expansion. 3905 3906 3907 # This is an auxiliary macro that is also run when 3908 # autoupdate runs m4. It simply calls m4_warning, but 3909 # we need a wrapper so that each warning is emitted only 3910 # once. We break the quoting in m4_warning's argument in 3911 # order to expand this macro's arguments, not AU_DEFUN's. 3912 3913 3914 # Finally, this is the expansion that is picked up by 3915 # autoconf. It tells the user to run autoupdate, and 3916 # then outputs the replacement expansion. We do not care 3917 # about autoupdate's warning because that contains 3918 # information on what to do *after* running autoupdate. 3919 3920 3921 3922 # LT_PROG_GO 3923 # ---------- 3924 3925 3926 3927 # LT_PROG_RC 3928 # ---------- 3929 3930 3931 # Old name: 3932 # This is what autoupdate's m4 run will expand. It fires 3933 # the warning (with _au_warn_XXX), outputs it into the 3934 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3935 # the replacement expansion. 3936 3937 3938 # This is an auxiliary macro that is also run when 3939 # autoupdate runs m4. It simply calls m4_warning, but 3940 # we need a wrapper so that each warning is emitted only 3941 # once. We break the quoting in m4_warning's argument in 3942 # order to expand this macro's arguments, not AU_DEFUN's. 3943 3944 3945 # Finally, this is the expansion that is picked up by 3946 # autoconf. It tells the user to run autoupdate, and 3947 # then outputs the replacement expansion. We do not care 3948 # about autoupdate's warning because that contains 3949 # information on what to do *after* running autoupdate. 3950 3951 3952 3953 # _LT_DECL_EGREP 3954 # -------------- 3955 # If we don't have a new enough Autoconf to choose the best grep 3956 # available, choose the one first in the user's PATH. 3957 3958 3959 3960 # _LT_DECL_OBJDUMP 3961 # -------------- 3962 # If we don't have a new enough Autoconf to choose the best objdump 3963 # available, choose the one first in the user's PATH. 3964 3965 3966 # _LT_DECL_DLLTOOL 3967 # ---------------- 3968 # Ensure DLLTOOL variable is set. 3969 3970 3971 # _LT_DECL_SED 3972 # ------------ 3973 # Check for a fully-functional sed program, that truncates 3974 # as few characters as possible. Prefer GNU sed if found. 3975 # _LT_DECL_SED 3976 3977 #m4_ifndef 3978 3979 # Old name: 3980 # This is what autoupdate's m4 run will expand. It fires 3981 # the warning (with _au_warn_XXX), outputs it into the 3982 # updated configure.ac (with AC_DIAGNOSE), and then outputs 3983 # the replacement expansion. 3984 3985 3986 # This is an auxiliary macro that is also run when 3987 # autoupdate runs m4. It simply calls m4_warning, but 3988 # we need a wrapper so that each warning is emitted only 3989 # once. We break the quoting in m4_warning's argument in 3990 # order to expand this macro's arguments, not AU_DEFUN's. 3991 3992 3993 # Finally, this is the expansion that is picked up by 3994 # autoconf. It tells the user to run autoupdate, and 3995 # then outputs the replacement expansion. We do not care 3996 # about autoupdate's warning because that contains 3997 # information on what to do *after* running autoupdate. 3998 3999 4000 4001 # _LT_CHECK_SHELL_FEATURES 4002 # ------------------------ 4003 # Find out whether the shell is Bourne or XSI compatible, 4004 # or has some other useful features. 4005 # _LT_CHECK_SHELL_FEATURES 4006 4007 4008 # _LT_PATH_CONVERSION_FUNCTIONS 4009 # ----------------------------- 4010 # Determine what file name conversion functions should be used by 4011 # func_to_host_file (and, implicitly, by func_to_host_path). These are needed 4012 # for certain cross-compile configurations and native mingw. 4013 # _LT_PATH_CONVERSION_FUNCTIONS 4014 4015 # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- 4016 # 4017 # Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software 4018 # Foundation, Inc. 4019 # Written by Gary V. Vaughan, 2004 4020 # 4021 # This file is free software; the Free Software Foundation gives 4022 # unlimited permission to copy and/or distribute it, with or without 4023 # modifications, as long as this notice is preserved. 4024 4025 # serial 6 ltsugar.m4 4026 4027 # This is to help aclocal find these macros, as it can't see m4_define. 4028 4029 4030 4031 # lt_join(SEP, ARG1, [ARG2...]) 4032 # ----------------------------- 4033 # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their 4034 # associated separator. 4035 # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier 4036 # versions in m4sugar had bugs. 4037 4038 4039 4040 4041 # lt_car(LIST) 4042 # lt_cdr(LIST) 4043 # ------------ 4044 # Manipulate m4 lists. 4045 # These macros are necessary as long as will still need to support 4046 # Autoconf-2.59, which quotes differently. 4047 4048 4049 4050 4051 4052 # lt_append(MACRO-NAME, STRING, [SEPARATOR]) 4053 # ------------------------------------------ 4054 # Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'. 4055 # Note that neither SEPARATOR nor STRING are expanded; they are appended 4056 # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). 4057 # No SEPARATOR is output if MACRO-NAME was previously undefined (different 4058 # than defined and empty). 4059 # 4060 # This macro is needed until we can rely on Autoconf 2.62, since earlier 4061 # versions of m4sugar mistakenly expanded SEPARATOR but not STRING. 4062 4063 4064 4065 4066 # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) 4067 # ---------------------------------------------------------- 4068 # Produce a SEP delimited list of all paired combinations of elements of 4069 # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list 4070 # has the form PREFIXmINFIXSUFFIXn. 4071 # Needed until we can rely on m4_combine added in Autoconf 2.62. 4072 4073 4074 4075 # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) 4076 # ----------------------------------------------------------------------- 4077 # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited 4078 # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. 4079 4080 4081 4082 # lt_dict_add(DICT, KEY, VALUE) 4083 # ----------------------------- 4084 4085 4086 4087 # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) 4088 # -------------------------------------------- 4089 4090 4091 4092 # lt_dict_fetch(DICT, KEY, [SUBKEY]) 4093 # ---------------------------------- 4094 4095 4096 4097 # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) 4098 # ----------------------------------------------------------------- 4099 4100 4101 4102 # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) 4103 # -------------------------------------------------------------- 4104 4105 4106 4107 # Helper functions for option handling. -*- Autoconf -*- 4108 # 4109 # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software 4110 # Foundation, Inc. 4111 # Written by Gary V. Vaughan, 2004 4112 # 4113 # This file is free software; the Free Software Foundation gives 4114 # unlimited permission to copy and/or distribute it, with or without 4115 # modifications, as long as this notice is preserved. 4116 4117 # serial 8 ltoptions.m4 4118 4119 # This is to help aclocal find these macros, as it can't see m4_define. 4120 4121 4122 4123 # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) 4124 # ------------------------------------------ 4125 4126 4127 4128 # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) 4129 # --------------------------------------- 4130 # Set option OPTION-NAME for macro MACRO-NAME, and if there is a 4131 # matching handler defined, dispatch to it. Other OPTION-NAMEs are 4132 # saved as a flag. 4133 4134 4135 4136 # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) 4137 # ------------------------------------------------------------ 4138 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. 4139 4140 4141 4142 # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) 4143 # ------------------------------------------------------- 4144 # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME 4145 # are set. 4146 4147 4148 4149 # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) 4150 # ---------------------------------------- 4151 # OPTION-LIST is a space-separated list of Libtool options associated 4152 # with MACRO-NAME. If any OPTION has a matching handler declared with 4153 # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about 4154 # the unknown option and exit. 4155 # _LT_SET_OPTIONS 4156 4157 4158 ## --------------------------------- ## 4159 ## Macros to handle LT_INIT options. ## 4160 ## --------------------------------- ## 4161 4162 # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) 4163 # ----------------------------------------- 4164 4165 4166 4167 # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) 4168 # ----------------------------------------------- 4169 # LT_OPTION_DEFINE 4170 4171 4172 # dlopen 4173 # ------ 4174 4175 4176 # This is what autoupdate's m4 run will expand. It fires 4177 # the warning (with _au_warn_XXX), outputs it into the 4178 # updated configure.ac (with AC_DIAGNOSE), and then outputs 4179 # the replacement expansion. 4180 4181 4182 # This is an auxiliary macro that is also run when 4183 # autoupdate runs m4. It simply calls m4_warning, but 4184 # we need a wrapper so that each warning is emitted only 4185 # once. We break the quoting in m4_warning's argument in 4186 # order to expand this macro's arguments, not AU_DEFUN's. 4187 4188 4189 # Finally, this is the expansion that is picked up by 4190 # autoconf. It tells the user to run autoupdate, and 4191 # then outputs the replacement expansion. We do not care 4192 # about autoupdate's warning because that contains 4193 # information on what to do *after* running autoupdate. 4194 4195 4196 4197 4198 # win32-dll 4199 # --------- 4200 # Declare package support for building win32 dll's. 4201 # win32-dll 4202 4203 # This is what autoupdate's m4 run will expand. It fires 4204 # the warning (with _au_warn_XXX), outputs it into the 4205 # updated configure.ac (with AC_DIAGNOSE), and then outputs 4206 # the replacement expansion. 4207 4208 4209 # This is an auxiliary macro that is also run when 4210 # autoupdate runs m4. It simply calls m4_warning, but 4211 # we need a wrapper so that each warning is emitted only 4212 # once. We break the quoting in m4_warning's argument in 4213 # order to expand this macro's arguments, not AU_DEFUN's. 4214 4215 4216 # Finally, this is the expansion that is picked up by 4217 # autoconf. It tells the user to run autoupdate, and 4218 # then outputs the replacement expansion. We do not care 4219 # about autoupdate's warning because that contains 4220 # information on what to do *after* running autoupdate. 4221 4222 4223 4224 4225 # _LT_ENABLE_SHARED([DEFAULT]) 4226 # ---------------------------- 4227 # implement the --enable-shared flag, and supports the 'shared' and 4228 # 'disable-shared' LT_INIT options. 4229 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. 4230 # _LT_ENABLE_SHARED 4231 4232 4233 4234 4235 # Old names: 4236 4237 4238 4239 4240 # This is what autoupdate's m4 run will expand. It fires 4241 # the warning (with _au_warn_XXX), outputs it into the 4242 # updated configure.ac (with AC_DIAGNOSE), and then outputs 4243 # the replacement expansion. 4244 4245 4246 # This is an auxiliary macro that is also run when 4247 # autoupdate runs m4. It simply calls m4_warning, but 4248 # we need a wrapper so that each warning is emitted only 4249 # once. We break the quoting in m4_warning's argument in 4250 # order to expand this macro's arguments, not AU_DEFUN's. 4251 4252 4253 # Finally, this is the expansion that is picked up by 4254 # autoconf. It tells the user to run autoupdate, and 4255 # then outputs the replacement expansion. We do not care 4256 # about autoupdate's warning because that contains 4257 # information on what to do *after* running autoupdate. 4258 4259 # This is what autoupdate's m4 run will expand. It fires 4260 # the warning (with _au_warn_XXX), outputs it into the 4261 # updated configure.ac (with AC_DIAGNOSE), and then outputs 4262 # the replacement expansion. 4263 4264 4265 # This is an auxiliary macro that is also run when 4266 # autoupdate runs m4. It simply calls m4_warning, but 4267 # we need a wrapper so that each warning is emitted only 4268 # once. We break the quoting in m4_warning's argument in 4269 # order to expand this macro's arguments, not AU_DEFUN's. 4270 4271 4272 # Finally, this is the expansion that is picked up by 4273 # autoconf. It tells the user to run autoupdate, and 4274 # then outputs the replacement expansion. We do not care 4275 # about autoupdate's warning because that contains 4276 # information on what to do *after* running autoupdate. 4277 4278 4279 4280 4281 4282 # _LT_ENABLE_STATIC([DEFAULT]) 4283 # ---------------------------- 4284 # implement the --enable-static flag, and support the 'static' and 4285 # 'disable-static' LT_INIT options. 4286 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. 4287 # _LT_ENABLE_STATIC 4288 4289 4290 4291 4292 # Old names: 4293 4294 4295 4296 4297 # This is what autoupdate's m4 run will expand. It fires 4298 # the warning (with _au_warn_XXX), outputs it into the 4299 # updated configure.ac (with AC_DIAGNOSE), and then outputs 4300 # the replacement expansion. 4301 4302 4303 # This is an auxiliary macro that is also run when 4304 # autoupdate runs m4. It simply calls m4_warning, but 4305 # we need a wrapper so that each warning is emitted only 4306 # once. We break the quoting in m4_warning's argument in 4307 # order to expand this macro's arguments, not AU_DEFUN's. 4308 4309 4310 # Finally, this is the expansion that is picked up by 4311 # autoconf. It tells the user to run autoupdate, and 4312 # then outputs the replacement expansion. We do not care 4313 # about autoupdate's warning because that contains 4314 # information on what to do *after* running autoupdate. 4315 4316 # This is what autoupdate's m4 run will expand. It fires 4317 # the warning (with _au_warn_XXX), outputs it into the 4318 # updated configure.ac (with AC_DIAGNOSE), and then outputs 4319 # the replacement expansion. 4320 4321 4322 # This is an auxiliary macro that is also run when 4323 # autoupdate runs m4. It simply calls m4_warning, but 4324 # we need a wrapper so that each warning is emitted only 4325 # once. We break the quoting in m4_warning's argument in 4326 # order to expand this macro's arguments, not AU_DEFUN's. 4327 4328 4329 # Finally, this is the expansion that is picked up by 4330 # autoconf. It tells the user to run autoupdate, and 4331 # then outputs the replacement expansion. We do not care 4332 # about autoupdate's warning because that contains 4333 # information on what to do *after* running autoupdate. 4334 4335 4336 4337 4338 4339 # _LT_ENABLE_FAST_INSTALL([DEFAULT]) 4340 # ---------------------------------- 4341 # implement the --enable-fast-install flag, and support the 'fast-install' 4342 # and 'disable-fast-install' LT_INIT options. 4343 # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. 4344 # _LT_ENABLE_FAST_INSTALL 4345 4346 4347 4348 4349 # Old names: 4350 # This is what autoupdate's m4 run will expand. It fires 4351 # the warning (with _au_warn_XXX), outputs it into the 4352 # updated configure.ac (with AC_DIAGNOSE), and then outputs 4353 # the replacement expansion. 4354 4355 4356 # This is an auxiliary macro that is also run when 4357 # autoupdate runs m4. It simply calls m4_warning, but 4358 # we need a wrapper so that each warning is emitted only 4359 # once. We break the quoting in m4_warning's argument in 4360 # order to expand this macro's arguments, not AU_DEFUN's. 4361 4362 4363 # Finally, this is the expansion that is picked up by 4364 # autoconf. It tells the user to run autoupdate, and 4365 # then outputs the replacement expansion. We do not care 4366 # about autoupdate's warning because that contains 4367 # information on what to do *after* running autoupdate. 4368 4369 4370 # This is what autoupdate's m4 run will expand. It fires 4371 # the warning (with _au_warn_XXX), outputs it into the 4372 # updated configure.ac (with AC_DIAGNOSE), and then outputs 4373 # the replacement expansion. 4374 4375 4376 # This is an auxiliary macro that is also run when 4377 # autoupdate runs m4. It simply calls m4_warning, but 4378 # we need a wrapper so that each warning is emitted only 4379 # once. We break the quoting in m4_warning's argument in 4380 # order to expand this macro's arguments, not AU_DEFUN's. 4381 4382 4383 # Finally, this is the expansion that is picked up by 4384 # autoconf. It tells the user to run autoupdate, and 4385 # then outputs the replacement expansion. We do not care 4386 # about autoupdate's warning because that contains 4387 # information on what to do *after* running autoupdate. 4388 4389 4390 4391 4392 # _LT_WITH_AIX_SONAME([DEFAULT]) 4393 # ---------------------------------- 4394 # implement the --with-aix-soname flag, and support the `aix-soname=aix' 4395 # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT 4396 # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. 4397 # _LT_WITH_AIX_SONAME 4398 4399 4400 4401 4402 4403 4404 # _LT_WITH_PIC([MODE]) 4405 # -------------------- 4406 # implement the --with-pic flag, and support the 'pic-only' and 'no-pic' 4407 # LT_INIT options. 4408 # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. 4409 # _LT_WITH_PIC 4410 4411 4412 4413 4414 # Old name: 4415 # This is what autoupdate's m4 run will expand. It fires 4416 # the warning (with _au_warn_XXX), outputs it into the 4417 # updated configure.ac (with AC_DIAGNOSE), and then outputs 4418 # the replacement expansion. 4419 4420 4421 # This is an auxiliary macro that is also run when 4422 # autoupdate runs m4. It simply calls m4_warning, but 4423 # we need a wrapper so that each warning is emitted only 4424 # once. We break the quoting in m4_warning's argument in 4425 # order to expand this macro's arguments, not AU_DEFUN's. 4426 4427 4428 # Finally, this is the expansion that is picked up by 4429 # autoconf. It tells the user to run autoupdate, and 4430 # then outputs the replacement expansion. We do not care 4431 # about autoupdate's warning because that contains 4432 # information on what to do *after* running autoupdate. 4433 4434 4435 4436 ## ----------------- ## 4437 ## LTDL_INIT Options ## 4438 ## ----------------- ## 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 # ltversion.m4 -- version numbers -*- Autoconf -*- 4450 # 4451 # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. 4452 # Written by Scott James Remnant, 2004 4453 # 4454 # This file is free software; the Free Software Foundation gives 4455 # unlimited permission to copy and/or distribute it, with or without 4456 # modifications, as long as this notice is preserved. 4457 4458 # @configure_input@ 4459 4460 # serial 4179 ltversion.m4 4461 # This file is part of GNU Libtool 4462 4463 4464 4465 4466 4467 4468 # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- 4469 # 4470 # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software 4471 # Foundation, Inc. 4472 # Written by Scott James Remnant, 2004. 4473 # 4474 # This file is free software; the Free Software Foundation gives 4475 # unlimited permission to copy and/or distribute it, with or without 4476 # modifications, as long as this notice is preserved. 4477 4478 # serial 5 lt~obsolete.m4 4479 4480 # These exist entirely to fool aclocal when bootstrapping libtool. 4481 # 4482 # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN), 4483 # which have later been changed to m4_define as they aren't part of the 4484 # exported API, or moved to Autoconf or Automake where they belong. 4485 # 4486 # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN 4487 # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us 4488 # using a macro with the same name in our local m4/libtool.m4 it'll 4489 # pull the old libtool.m4 in (it doesn't see our shiny new m4_define 4490 # and doesn't know about Autoconf macros at all.) 4491 # 4492 # So we provide this file, which has a silly filename so it's always 4493 # included after everything else. This provides aclocal with the 4494 # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything 4495 # because those macros already exist, or will be overwritten later. 4496 # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. 4497 # 4498 # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. 4499 # Yes, that means every name once taken will need to remain here until 4500 # we give up compatibility with versions before 1.7, at which point 4501 # we need to keep only those names which we still refer to. 4502 4503 # This is to help aclocal find these macros, as it can't see m4_define. 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 apr_ste_save_CPPFLAGS="$CPPFLAGS" 4575 4576 4577 apr_ste_save_CFLAGS="$CFLAGS" 4578 4579 4580 apr_ste_save_LDFLAGS="$LDFLAGS" 4581 4582 4583 apr_ste_save_LIBS="$LIBS" 4584 4585 4586 apr_ste_save_INCLUDES="$INCLUDES" 4587 4588 4589 4590 rm -f config.nice 4591 cat >config.nice<<EOF 4592 #! /bin/sh 4593 # 4594 # Created by configure 4595 4596 EOF 4597 if test -n "$CC"; then 4598 echo "CC=\"$CC\"; export CC" >> config.nice 4599 fi 4600 if test -n "$CFLAGS"; then 4601 echo "CFLAGS=\"$CFLAGS\"; export CFLAGS" >> config.nice 4602 fi 4603 if test -n "$CPPFLAGS"; then 4604 echo "CPPFLAGS=\"$CPPFLAGS\"; export CPPFLAGS" >> config.nice 4605 fi 4606 if test -n "$LDFLAGS"; then 4607 echo "LDFLAGS=\"$LDFLAGS\"; export LDFLAGS" >> config.nice 4608 fi 4609 if test -n "$LTFLAGS"; then 4610 echo "LTFLAGS=\"$LTFLAGS\"; export LTFLAGS" >> config.nice 4611 fi 4612 if test -n "$LIBS"; then 4613 echo "LIBS=\"$LIBS\"; export LIBS" >> config.nice 4614 fi 4615 if test -n "$INCLUDES"; then 4616 echo "INCLUDES=\"$INCLUDES\"; export INCLUDES" >> config.nice 4617 fi 4618 if test -n "$NOTEST_CFLAGS"; then 4619 echo "NOTEST_CFLAGS=\"$NOTEST_CFLAGS\"; export NOTEST_CFLAGS" >> config.nice 4620 fi 4621 if test -n "$NOTEST_CPPFLAGS"; then 4622 echo "NOTEST_CPPFLAGS=\"$NOTEST_CPPFLAGS\"; export NOTEST_CPPFLAGS" >> config.nice 4623 fi 4624 if test -n "$NOTEST_LDFLAGS"; then 4625 echo "NOTEST_LDFLAGS=\"$NOTEST_LDFLAGS\"; export NOTEST_LDFLAGS" >> config.nice 4626 fi 4627 if test -n "$NOTEST_LIBS"; then 4628 echo "NOTEST_LIBS=\"$NOTEST_LIBS\"; export NOTEST_LIBS" >> config.nice 4629 fi 4630 4631 # Retrieve command-line arguments. 4632 eval "set x $0 $ac_configure_args" 4633 shift 4634 4635 for arg 4636 do 4637 4638 ap_last= 4639 ap_cur="$arg" 4640 while test "x${ap_cur}" != "x${ap_last}"; 4641 do 4642 ap_last="${ap_cur}" 4643 ap_cur=`eval "echo ${ap_cur}"` 4644 done 4645 arg="${ap_cur}" 4646 4647 echo "\"$arg\" \\" >> config.nice 4648 done 4649 echo '"$@"' >> config.nice 4650 chmod +x config.nice 4651 4652 4653 # Make sure we can run config.sub. 4654 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4655 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4656 4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4658 $as_echo_n "checking build system type... " >&6; } 4659 if ${ac_cv_build+:} false; then : 4660 $as_echo_n "(cached) " >&6 4661 else 4662 ac_build_alias=$build_alias 4663 test "x$ac_build_alias" = x && 4664 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4665 test "x$ac_build_alias" = x && 4666 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4667 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4668 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4669 4670 fi 4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4672 $as_echo "$ac_cv_build" >&6; } 4673 case $ac_cv_build in 4674 *-*-*) ;; 4675 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4676 esac 4677 build=$ac_cv_build 4678 ac_save_IFS=$IFS; IFS='-' 4679 set x $ac_cv_build 4680 shift 4681 build_cpu=$1 4682 build_vendor=$2 4683 shift; shift 4684 # Remember, the first character of IFS is used to create $*, 4685 # except with old shells: 4686 build_os=$* 4687 IFS=$ac_save_IFS 4688 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4689 4690 4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4692 $as_echo_n "checking host system type... " >&6; } 4693 if ${ac_cv_host+:} false; then : 4694 $as_echo_n "(cached) " >&6 4695 else 4696 if test "x$host_alias" = x; then 4697 ac_cv_host=$ac_cv_build 4698 else 4699 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4700 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4701 fi 4702 4703 fi 4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4705 $as_echo "$ac_cv_host" >&6; } 4706 case $ac_cv_host in 4707 *-*-*) ;; 4708 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4709 esac 4710 host=$ac_cv_host 4711 ac_save_IFS=$IFS; IFS='-' 4712 set x $ac_cv_host 4713 shift 4714 host_cpu=$1 4715 host_vendor=$2 4716 shift; shift 4717 # Remember, the first character of IFS is used to create $*, 4718 # except with old shells: 4719 host_os=$* 4720 IFS=$ac_save_IFS 4721 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4722 4723 4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 4725 $as_echo_n "checking target system type... " >&6; } 4726 if ${ac_cv_target+:} false; then : 4727 $as_echo_n "(cached) " >&6 4728 else 4729 if test "x$target_alias" = x; then 4730 ac_cv_target=$ac_cv_host 4731 else 4732 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 4733 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 4734 fi 4735 4736 fi 4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 4738 $as_echo "$ac_cv_target" >&6; } 4739 case $ac_cv_target in 4740 *-*-*) ;; 4741 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 4742 esac 4743 target=$ac_cv_target 4744 ac_save_IFS=$IFS; IFS='-' 4745 set x $ac_cv_target 4746 shift 4747 target_cpu=$1 4748 target_vendor=$2 4749 shift; shift 4750 # Remember, the first character of IFS is used to create $*, 4751 # except with old shells: 4752 target_os=$* 4753 IFS=$ac_save_IFS 4754 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 4755 4756 4757 # The aliases save the names the user supplied, while $host etc. 4758 # will get canonicalized. 4759 test -n "$target_alias" && 4760 test "$program_prefix$program_suffix$program_transform_name" = \ 4761 NONENONEs,x,x, && 4762 program_prefix=${target_alias}- 4763 4764 echo "Configuring APR library" 4765 echo "Platform: $host" 4766 4767 4768 4769 # Absolute source/build directory 4770 apr_srcdir=`(cd $srcdir && pwd)` 4771 apr_builddir=`pwd` 4772 4773 4774 4775 if test "$apr_builddir" != "$apr_srcdir"; then 4776 USE_VPATH=1 4777 APR_CONFIG_LOCATION=build 4778 else 4779 APR_CONFIG_LOCATION=source 4780 fi 4781 4782 4783 4784 # Libtool might need this symbol -- it must point to the location of 4785 # the generated libtool script (not necessarily the "top" build dir). 4786 # 4787 top_builddir="$apr_builddir" 4788 4789 4790 # Directory containing apr build macros, helpers, and make rules 4791 # NOTE: make rules (apr_rules.mk) will be in the builddir for vpath 4792 # 4793 apr_buildout=$apr_builddir/build 4794 apr_builders=$apr_srcdir/build 4795 4796 4797 MKDIR=$apr_builders/mkdir.sh 4798 4799 4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mkdir -p" >&5 4801 $as_echo_n "checking for working mkdir -p... " >&6; } 4802 if ${ac_cv_mkdir_p+:} false; then : 4803 $as_echo_n "(cached) " >&6 4804 else 4805 4806 test -d conftestdir && rm -rf conftestdir 4807 mkdir -p conftestdir/somedir >/dev/null 2>&1 4808 if test -d conftestdir/somedir; then 4809 ac_cv_mkdir_p=yes 4810 else 4811 ac_cv_mkdir_p=no 4812 fi 4813 rm -rf conftestdir 4814 4815 fi 4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mkdir_p" >&5 4817 $as_echo "$ac_cv_mkdir_p" >&6; } 4818 if test "$ac_cv_mkdir_p" = "yes"; then 4819 mkdir_p="mkdir -p" 4820 else 4821 mkdir_p="$apr_builders/mkdir.sh" 4822 fi 4823 4824 4825 # get our version information 4826 get_version="$apr_builders/get-version.sh" 4827 version_hdr="$apr_srcdir/include/apr_version.h" 4828 APR_MAJOR_VERSION="`$get_version major $version_hdr APR`" 4829 APR_DOTTED_VERSION="`$get_version all $version_hdr APR`" 4830 4831 4832 4833 4834 echo "APR Version: ${APR_DOTTED_VERSION}" 4835 4836 4837 # Check whether --enable-layout was given. 4838 if test "${enable_layout+set}" = set; then : 4839 enableval=$enable_layout; 4840 LAYOUT=$enableval 4841 4842 fi 4843 4844 4845 if test -z "$LAYOUT"; then 4846 LAYOUT="apr" 4847 fi 4848 4849 if test ! -f $srcdir/config.layout; then 4850 echo "** Error: Layout file $srcdir/config.layout not found" 4851 echo "** Error: Cannot use undefined layout '$LAYOUT'" 4852 exit 1 4853 fi 4854 # Catch layout names including a slash which will otherwise 4855 # confuse the heck out of the sed script. 4856 case $LAYOUT in 4857 */*) 4858 echo "** Error: $LAYOUT is not a valid layout name" 4859 exit 1 ;; 4860 esac 4861 pldconf=./config.pld 4862 4863 sed -e "1s/[ ]*<[lL]ayout[ ]*$LAYOUT[ ]*>[ ]*//;1t" \ 4864 -e "1,/[ ]*<[lL]ayout[ ]*$LAYOUT[ ]*>[ ]*/d" \ 4865 -e '/[ ]*<\/Layout>[ ]*/,$d' \ 4866 -e "s/^[ ]*//g" \ 4867 -e "s/:[ ]*/=\'/g" \ 4868 -e "s/[ ]*$/'/g" \ 4869 $srcdir/config.layout > $pldconf 4870 layout_name=$LAYOUT 4871 if test ! -s $pldconf; then 4872 echo "** Error: unable to find layout $layout_name" 4873 exit 1 4874 fi 4875 . $pldconf 4876 rm $pldconf 4877 for var in prefix exec_prefix bindir sbindir libexecdir mandir \ 4878 sysconfdir datadir includedir localstatedir runtimedir \ 4879 logfiledir libdir installbuilddir libsuffix ; do 4880 eval "val=\"\$$var\"" 4881 case $val in 4882 *+) 4883 val=`echo $val | sed -e 's;\+$;;'` 4884 eval "$var=\"\$val\"" 4885 autosuffix=yes 4886 ;; 4887 *) 4888 autosuffix=no 4889 ;; 4890 esac 4891 val=`echo $val | sed -e 's:\(.\)/*$:\1:'` 4892 val=`echo $val | sed -e 's:[\$]\([a-z_]*\):$\1:g'` 4893 if test "$autosuffix" = "yes"; then 4894 if echo $val | grep apache >/dev/null; then 4895 addtarget=no 4896 else 4897 addtarget=yes 4898 fi 4899 if test "$addtarget" = "yes"; then 4900 val="$val/apache2" 4901 fi 4902 fi 4903 eval "$var='$val'" 4904 done 4905 4906 4907 4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chosen layout" >&5 4909 $as_echo_n "checking for chosen layout... " >&6; } 4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $layout_name" >&5 4911 $as_echo "$layout_name" >&6; } 4912 4913 4914 ac_prev= 4915 # Retrieve the command-line arguments. The eval is needed because 4916 # the arguments are quoted to preserve accuracy. 4917 eval "set x $ac_configure_args" 4918 shift 4919 for ac_option 4920 do 4921 # If the previous option needs an argument, assign it. 4922 if test -n "$ac_prev"; then 4923 eval "$ac_prev=\$ac_option" 4924 ac_prev= 4925 continue 4926 fi 4927 4928 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 4929 4930 case $ac_option in 4931 4932 -bindir | --bindir | --bindi | --bind | --bin | --bi) 4933 ac_prev=bindir ;; 4934 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 4935 bindir="$ac_optarg" ;; 4936 4937 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 4938 ac_prev=datadir ;; 4939 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 4940 | --da=*) 4941 datadir="$ac_optarg" ;; 4942 4943 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 4944 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 4945 | --exec | --exe | --ex) 4946 ac_prev=exec_prefix ;; 4947 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 4948 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 4949 | --exec=* | --exe=* | --ex=*) 4950 exec_prefix="$ac_optarg" ;; 4951 4952 -includedir | --includedir | --includedi | --included | --include \ 4953 | --includ | --inclu | --incl | --inc) 4954 ac_prev=includedir ;; 4955 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 4956 | --includ=* | --inclu=* | --incl=* | --inc=*) 4957 includedir="$ac_optarg" ;; 4958 4959 -infodir | --infodir | --infodi | --infod | --info | --inf) 4960 ac_prev=infodir ;; 4961 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 4962 infodir="$ac_optarg" ;; 4963 4964 -libdir | --libdir | --libdi | --libd) 4965 ac_prev=libdir ;; 4966 -libdir=* | --libdir=* | --libdi=* | --libd=*) 4967 libdir="$ac_optarg" ;; 4968 4969 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 4970 | --libexe | --libex | --libe) 4971 ac_prev=libexecdir ;; 4972 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 4973 | --libexe=* | --libex=* | --libe=*) 4974 libexecdir="$ac_optarg" ;; 4975 4976 -localstatedir | --localstatedir | --localstatedi | --localstated \ 4977 | --localstate | --localstat | --localsta | --localst \ 4978 | --locals | --local | --loca | --loc | --lo) 4979 ac_prev=localstatedir ;; 4980 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 4981 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 4982 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 4983 localstatedir="$ac_optarg" ;; 4984 4985 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 4986 ac_prev=mandir ;; 4987 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 4988 mandir="$ac_optarg" ;; 4989 4990 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 4991 ac_prev=prefix ;; 4992 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 4993 prefix="$ac_optarg" ;; 4994 4995 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 4996 ac_prev=sbindir ;; 4997 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 4998 | --sbi=* | --sb=*) 4999 sbindir="$ac_optarg" ;; 5000 5001 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 5002 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 5003 | --sharedst | --shareds | --shared | --share | --shar \ 5004 | --sha | --sh) 5005 ac_prev=sharedstatedir ;; 5006 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 5007 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 5008 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 5009 | --sha=* | --sh=*) 5010 sharedstatedir="$ac_optarg" ;; 5011 5012 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 5013 | --syscon | --sysco | --sysc | --sys | --sy) 5014 ac_prev=sysconfdir ;; 5015 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 5016 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 5017 sysconfdir="$ac_optarg" ;; 5018 5019 esac 5020 done 5021 5022 # Be sure to have absolute paths. 5023 for ac_var in exec_prefix prefix 5024 do 5025 eval ac_val=$`echo $ac_var` 5026 case $ac_val in 5027 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 5028 *) as_fn_error $? "expected an absolute path for --$ac_var: $ac_val" "$LINENO" 5;; 5029 esac 5030 done 5031 5032 5033 5034 5035 case "$host" in 5036 *-apple-aux3*) 5037 5038 if test -z "$CC"; then 5039 test "x$silent" != "xyes" && echo " setting CC to \"gcc\"" 5040 CC="gcc" 5041 fi 5042 5043 ;; 5044 bs2000*-siemens-sysv*) 5045 5046 if test -z "$CC"; then 5047 test "x$silent" != "xyes" && echo " setting CC to \"c89 -XLLML -XLLMK -XL -Kno_integer_overflow\"" 5048 CC="c89 -XLLML -XLLMK -XL -Kno_integer_overflow" 5049 fi 5050 5051 ;; 5052 *convex-v11*) 5053 5054 if test -z "$CC"; then 5055 test "x$silent" != "xyes" && echo " setting CC to \"cc\"" 5056 CC="cc" 5057 fi 5058 5059 ;; 5060 *-ibm-os390) 5061 5062 if test -z "$CC"; then 5063 test "x$silent" != "xyes" && echo " setting CC to \"cc\"" 5064 CC="cc" 5065 fi 5066 5067 ;; 5068 *-ibm-as400) 5069 5070 if test -z "$CC"; then 5071 test "x$silent" != "xyes" && echo " setting CC to \"icc\"" 5072 CC="icc" 5073 fi 5074 5075 ;; 5076 *-isc4*) 5077 5078 if test -z "$CC"; then 5079 test "x$silent" != "xyes" && echo " setting CC to \"gcc\"" 5080 CC="gcc" 5081 fi 5082 5083 ;; 5084 m88k-*-CX/SX|CYBER) 5085 5086 if test -z "$CC"; then 5087 test "x$silent" != "xyes" && echo " setting CC to \"cc\"" 5088 CC="cc" 5089 fi 5090 5091 ;; 5092 *-next-openstep*) 5093 5094 if test -z "$CC"; then 5095 test "x$silent" != "xyes" && echo " setting CC to \"cc\"" 5096 CC="cc" 5097 fi 5098 5099 ;; 5100 *-qnx32) 5101 5102 if test -z "$CC"; then 5103 test "x$silent" != "xyes" && echo " setting CC to \"cc -F\"" 5104 CC="cc -F" 5105 fi 5106 5107 ;; 5108 *-tandem-oss) 5109 5110 if test -z "$CC"; then 5111 test "x$silent" != "xyes" && echo " setting CC to \"c89\"" 5112 CC="c89" 5113 fi 5114 5115 ;; 5116 TPF) 5117 5118 if test -z "$CC"; then 5119 test "x$silent" != "xyes" && echo " setting CC to \"c89\"" 5120 CC="c89" 5121 fi 5122 5123 ;; 5124 esac 5125 5126 5127 ac_ext=c 5128 ac_cpp='$CPP $CPPFLAGS' 5129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5131 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5132 if test -n "$ac_tool_prefix"; then 5133 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 5134 set dummy ${ac_tool_prefix}gcc; ac_word=$2 5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5136 $as_echo_n "checking for $ac_word... " >&6; } 5137 if ${ac_cv_prog_CC+:} false; then : 5138 $as_echo_n "(cached) " >&6 5139 else 5140 if test -n "$CC"; then 5141 ac_cv_prog_CC="$CC" # Let the user override the test. 5142 else 5143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5144 for as_dir in $PATH 5145 do 5146 IFS=$as_save_IFS 5147 test -z "$as_dir" && as_dir=. 5148 for ac_exec_ext in '' $ac_executable_extensions; do 5149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5150 ac_cv_prog_CC="${ac_tool_prefix}gcc" 5151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5152 break 2 5153 fi 5154 done 5155 done 5156 IFS=$as_save_IFS 5157 5158 fi 5159 fi 5160 CC=$ac_cv_prog_CC 5161 if test -n "$CC"; then 5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5163 $as_echo "$CC" >&6; } 5164 else 5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5166 $as_echo "no" >&6; } 5167 fi 5168 5169 5170 fi 5171 if test -z "$ac_cv_prog_CC"; then 5172 ac_ct_CC=$CC 5173 # Extract the first word of "gcc", so it can be a program name with args. 5174 set dummy gcc; ac_word=$2 5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5176 $as_echo_n "checking for $ac_word... " >&6; } 5177 if ${ac_cv_prog_ac_ct_CC+:} false; then : 5178 $as_echo_n "(cached) " >&6 5179 else 5180 if test -n "$ac_ct_CC"; then 5181 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5182 else 5183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5184 for as_dir in $PATH 5185 do 5186 IFS=$as_save_IFS 5187 test -z "$as_dir" && as_dir=. 5188 for ac_exec_ext in '' $ac_executable_extensions; do 5189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5190 ac_cv_prog_ac_ct_CC="gcc" 5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5192 break 2 5193 fi 5194 done 5195 done 5196 IFS=$as_save_IFS 5197 5198 fi 5199 fi 5200 ac_ct_CC=$ac_cv_prog_ac_ct_CC 5201 if test -n "$ac_ct_CC"; then 5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5203 $as_echo "$ac_ct_CC" >&6; } 5204 else 5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5206 $as_echo "no" >&6; } 5207 fi 5208 5209 if test "x$ac_ct_CC" = x; then 5210 CC="" 5211 else 5212 case $cross_compiling:$ac_tool_warned in 5213 yes:) 5214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5216 ac_tool_warned=yes ;; 5217 esac 5218 CC=$ac_ct_CC 5219 fi 5220 else 5221 CC="$ac_cv_prog_CC" 5222 fi 5223 5224 if test -z "$CC"; then 5225 if test -n "$ac_tool_prefix"; then 5226 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 5227 set dummy ${ac_tool_prefix}cc; ac_word=$2 5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5229 $as_echo_n "checking for $ac_word... " >&6; } 5230 if ${ac_cv_prog_CC+:} false; then : 5231 $as_echo_n "(cached) " >&6 5232 else 5233 if test -n "$CC"; then 5234 ac_cv_prog_CC="$CC" # Let the user override the test. 5235 else 5236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5237 for as_dir in $PATH 5238 do 5239 IFS=$as_save_IFS 5240 test -z "$as_dir" && as_dir=. 5241 for ac_exec_ext in '' $ac_executable_extensions; do 5242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5243 ac_cv_prog_CC="${ac_tool_prefix}cc" 5244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5245 break 2 5246 fi 5247 done 5248 done 5249 IFS=$as_save_IFS 5250 5251 fi 5252 fi 5253 CC=$ac_cv_prog_CC 5254 if test -n "$CC"; then 5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5256 $as_echo "$CC" >&6; } 5257 else 5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5259 $as_echo "no" >&6; } 5260 fi 5261 5262 5263 fi 5264 fi 5265 if test -z "$CC"; then 5266 # Extract the first word of "cc", so it can be a program name with args. 5267 set dummy cc; ac_word=$2 5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5269 $as_echo_n "checking for $ac_word... " >&6; } 5270 if ${ac_cv_prog_CC+:} false; then : 5271 $as_echo_n "(cached) " >&6 5272 else 5273 if test -n "$CC"; then 5274 ac_cv_prog_CC="$CC" # Let the user override the test. 5275 else 5276 ac_prog_rejected=no 5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5278 for as_dir in $PATH 5279 do 5280 IFS=$as_save_IFS 5281 test -z "$as_dir" && as_dir=. 5282 for ac_exec_ext in '' $ac_executable_extensions; do 5283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5284 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 5285 ac_prog_rejected=yes 5286 continue 5287 fi 5288 ac_cv_prog_CC="cc" 5289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5290 break 2 5291 fi 5292 done 5293 done 5294 IFS=$as_save_IFS 5295 5296 if test $ac_prog_rejected = yes; then 5297 # We found a bogon in the path, so make sure we never use it. 5298 set dummy $ac_cv_prog_CC 5299 shift 5300 if test $# != 0; then 5301 # We chose a different compiler from the bogus one. 5302 # However, it has the same basename, so the bogon will be chosen 5303 # first if we set CC to just the basename; use the full file name. 5304 shift 5305 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 5306 fi 5307 fi 5308 fi 5309 fi 5310 CC=$ac_cv_prog_CC 5311 if test -n "$CC"; then 5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5313 $as_echo "$CC" >&6; } 5314 else 5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5316 $as_echo "no" >&6; } 5317 fi 5318 5319 5320 fi 5321 if test -z "$CC"; then 5322 if test -n "$ac_tool_prefix"; then 5323 for ac_prog in cl.exe 5324 do 5325 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5326 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5328 $as_echo_n "checking for $ac_word... " >&6; } 5329 if ${ac_cv_prog_CC+:} false; then : 5330 $as_echo_n "(cached) " >&6 5331 else 5332 if test -n "$CC"; then 5333 ac_cv_prog_CC="$CC" # Let the user override the test. 5334 else 5335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5336 for as_dir in $PATH 5337 do 5338 IFS=$as_save_IFS 5339 test -z "$as_dir" && as_dir=. 5340 for ac_exec_ext in '' $ac_executable_extensions; do 5341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5342 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 5343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5344 break 2 5345 fi 5346 done 5347 done 5348 IFS=$as_save_IFS 5349 5350 fi 5351 fi 5352 CC=$ac_cv_prog_CC 5353 if test -n "$CC"; then 5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5355 $as_echo "$CC" >&6; } 5356 else 5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5358 $as_echo "no" >&6; } 5359 fi 5360 5361 5362 test -n "$CC" && break 5363 done 5364 fi 5365 if test -z "$CC"; then 5366 ac_ct_CC=$CC 5367 for ac_prog in cl.exe 5368 do 5369 # Extract the first word of "$ac_prog", so it can be a program name with args. 5370 set dummy $ac_prog; ac_word=$2 5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5372 $as_echo_n "checking for $ac_word... " >&6; } 5373 if ${ac_cv_prog_ac_ct_CC+:} false; then : 5374 $as_echo_n "(cached) " >&6 5375 else 5376 if test -n "$ac_ct_CC"; then 5377 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5378 else 5379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5380 for as_dir in $PATH 5381 do 5382 IFS=$as_save_IFS 5383 test -z "$as_dir" && as_dir=. 5384 for ac_exec_ext in '' $ac_executable_extensions; do 5385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5386 ac_cv_prog_ac_ct_CC="$ac_prog" 5387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5388 break 2 5389 fi 5390 done 5391 done 5392 IFS=$as_save_IFS 5393 5394 fi 5395 fi 5396 ac_ct_CC=$ac_cv_prog_ac_ct_CC 5397 if test -n "$ac_ct_CC"; then 5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5399 $as_echo "$ac_ct_CC" >&6; } 5400 else 5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5402 $as_echo "no" >&6; } 5403 fi 5404 5405 5406 test -n "$ac_ct_CC" && break 5407 done 5408 5409 if test "x$ac_ct_CC" = x; then 5410 CC="" 5411 else 5412 case $cross_compiling:$ac_tool_warned in 5413 yes:) 5414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5416 ac_tool_warned=yes ;; 5417 esac 5418 CC=$ac_ct_CC 5419 fi 5420 fi 5421 5422 fi 5423 5424 5425 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5427 as_fn_error $? "no acceptable C compiler found in \$PATH 5428 See \`config.log' for more details" "$LINENO" 5; } 5429 5430 # Provide some information about the compiler. 5431 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 5432 set X $ac_compile 5433 ac_compiler=$2 5434 for ac_option in --version -v -V -qversion; do 5435 { { ac_try="$ac_compiler $ac_option >&5" 5436 case "(($ac_try" in 5437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5438 *) ac_try_echo=$ac_try;; 5439 esac 5440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5441 $as_echo "$ac_try_echo"; } >&5 5442 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5443 ac_status=$? 5444 if test -s conftest.err; then 5445 sed '10a\ 5446 ... rest of stderr output deleted ... 5447 10q' conftest.err >conftest.er1 5448 cat conftest.er1 >&5 5449 fi 5450 rm -f conftest.er1 conftest.err 5451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5452 test $ac_status = 0; } 5453 done 5454 5455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5456 /* end confdefs.h. */ 5457 5458 int 5459 main () 5460 { 5461 5462 ; 5463 return 0; 5464 } 5465 _ACEOF 5466 ac_clean_files_save=$ac_clean_files 5467 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 5468 # Try to create an executable without -o first, disregard a.out. 5469 # It will help us diagnose broken compilers, and finding out an intuition 5470 # of exeext. 5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 5472 $as_echo_n "checking whether the C compiler works... " >&6; } 5473 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 5474 5475 # The possible output files: 5476 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 5477 5478 ac_rmfiles= 5479 for ac_file in $ac_files 5480 do 5481 case $ac_file in 5482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 5483 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 5484 esac 5485 done 5486 rm -f $ac_rmfiles 5487 5488 if { { ac_try="$ac_link_default" 5489 case "(($ac_try" in 5490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5491 *) ac_try_echo=$ac_try;; 5492 esac 5493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5494 $as_echo "$ac_try_echo"; } >&5 5495 (eval "$ac_link_default") 2>&5 5496 ac_status=$? 5497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5498 test $ac_status = 0; }; then : 5499 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 5500 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 5501 # in a Makefile. We should not override ac_cv_exeext if it was cached, 5502 # so that the user can short-circuit this test for compilers unknown to 5503 # Autoconf. 5504 for ac_file in $ac_files '' 5505 do 5506 test -f "$ac_file" || continue 5507 case $ac_file in 5508 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 5509 ;; 5510 [ab].out ) 5511 # We found the default executable, but exeext='' is most 5512 # certainly right. 5513 break;; 5514 *.* ) 5515 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 5516 then :; else 5517 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 5518 fi 5519 # We set ac_cv_exeext here because the later test for it is not 5520 # safe: cross compilers may not add the suffix if given an `-o' 5521 # argument, so we may need to know it at that point already. 5522 # Even if this section looks crufty: it has the advantage of 5523 # actually working. 5524 break;; 5525 * ) 5526 break;; 5527 esac 5528 done 5529 test "$ac_cv_exeext" = no && ac_cv_exeext= 5530 5531 else 5532 ac_file='' 5533 fi 5534 if test -z "$ac_file"; then : 5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5536 $as_echo "no" >&6; } 5537 $as_echo "$as_me: failed program was:" >&5 5538 sed 's/^/| /' conftest.$ac_ext >&5 5539 5540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5542 as_fn_error 77 "C compiler cannot create executables 5543 See \`config.log' for more details" "$LINENO" 5; } 5544 else 5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5546 $as_echo "yes" >&6; } 5547 fi 5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 5549 $as_echo_n "checking for C compiler default output file name... " >&6; } 5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 5551 $as_echo "$ac_file" >&6; } 5552 ac_exeext=$ac_cv_exeext 5553 5554 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 5555 ac_clean_files=$ac_clean_files_save 5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 5557 $as_echo_n "checking for suffix of executables... " >&6; } 5558 if { { ac_try="$ac_link" 5559 case "(($ac_try" in 5560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5561 *) ac_try_echo=$ac_try;; 5562 esac 5563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5564 $as_echo "$ac_try_echo"; } >&5 5565 (eval "$ac_link") 2>&5 5566 ac_status=$? 5567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5568 test $ac_status = 0; }; then : 5569 # If both `conftest.exe' and `conftest' are `present' (well, observable) 5570 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 5571 # work properly (i.e., refer to `conftest.exe'), while it won't with 5572 # `rm'. 5573 for ac_file in conftest.exe conftest conftest.*; do 5574 test -f "$ac_file" || continue 5575 case $ac_file in 5576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 5577 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 5578 break;; 5579 * ) break;; 5580 esac 5581 done 5582 else 5583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5585 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 5586 See \`config.log' for more details" "$LINENO" 5; } 5587 fi 5588 rm -f conftest conftest$ac_cv_exeext 5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 5590 $as_echo "$ac_cv_exeext" >&6; } 5591 5592 rm -f conftest.$ac_ext 5593 EXEEXT=$ac_cv_exeext 5594 ac_exeext=$EXEEXT 5595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5596 /* end confdefs.h. */ 5597 #include <stdio.h> 5598 int 5599 main () 5600 { 5601 FILE *f = fopen ("conftest.out", "w"); 5602 return ferror (f) || fclose (f) != 0; 5603 5604 ; 5605 return 0; 5606 } 5607 _ACEOF 5608 ac_clean_files="$ac_clean_files conftest.out" 5609 # Check that the compiler produces executables we can run. If not, either 5610 # the compiler is broken, or we cross compile. 5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 5612 $as_echo_n "checking whether we are cross compiling... " >&6; } 5613 if test "$cross_compiling" != yes; then 5614 { { ac_try="$ac_link" 5615 case "(($ac_try" in 5616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5617 *) ac_try_echo=$ac_try;; 5618 esac 5619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5620 $as_echo "$ac_try_echo"; } >&5 5621 (eval "$ac_link") 2>&5 5622 ac_status=$? 5623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5624 test $ac_status = 0; } 5625 if { ac_try='./conftest$ac_cv_exeext' 5626 { { case "(($ac_try" in 5627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5628 *) ac_try_echo=$ac_try;; 5629 esac 5630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5631 $as_echo "$ac_try_echo"; } >&5 5632 (eval "$ac_try") 2>&5 5633 ac_status=$? 5634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5635 test $ac_status = 0; }; }; then 5636 cross_compiling=no 5637 else 5638 if test "$cross_compiling" = maybe; then 5639 cross_compiling=yes 5640 else 5641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5643 as_fn_error $? "cannot run C compiled programs. 5644 If you meant to cross compile, use \`--host'. 5645 See \`config.log' for more details" "$LINENO" 5; } 5646 fi 5647 fi 5648 fi 5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 5650 $as_echo "$cross_compiling" >&6; } 5651 5652 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 5653 ac_clean_files=$ac_clean_files_save 5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 5655 $as_echo_n "checking for suffix of object files... " >&6; } 5656 if ${ac_cv_objext+:} false; then : 5657 $as_echo_n "(cached) " >&6 5658 else 5659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5660 /* end confdefs.h. */ 5661 5662 int 5663 main () 5664 { 5665 5666 ; 5667 return 0; 5668 } 5669 _ACEOF 5670 rm -f conftest.o conftest.obj 5671 if { { ac_try="$ac_compile" 5672 case "(($ac_try" in 5673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5674 *) ac_try_echo=$ac_try;; 5675 esac 5676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5677 $as_echo "$ac_try_echo"; } >&5 5678 (eval "$ac_compile") 2>&5 5679 ac_status=$? 5680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5681 test $ac_status = 0; }; then : 5682 for ac_file in conftest.o conftest.obj conftest.*; do 5683 test -f "$ac_file" || continue; 5684 case $ac_file in 5685 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 5686 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 5687 break;; 5688 esac 5689 done 5690 else 5691 $as_echo "$as_me: failed program was:" >&5 5692 sed 's/^/| /' conftest.$ac_ext >&5 5693 5694 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5696 as_fn_error $? "cannot compute suffix of object files: cannot compile 5697 See \`config.log' for more details" "$LINENO" 5; } 5698 fi 5699 rm -f conftest.$ac_cv_objext conftest.$ac_ext 5700 fi 5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 5702 $as_echo "$ac_cv_objext" >&6; } 5703 OBJEXT=$ac_cv_objext 5704 ac_objext=$OBJEXT 5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 5706 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 5707 if ${ac_cv_c_compiler_gnu+:} false; then : 5708 $as_echo_n "(cached) " >&6 5709 else 5710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5711 /* end confdefs.h. */ 5712 5713 int 5714 main () 5715 { 5716 #ifndef __GNUC__ 5717 choke me 5718 #endif 5719 5720 ; 5721 return 0; 5722 } 5723 _ACEOF 5724 if ac_fn_c_try_compile "$LINENO"; then : 5725 ac_compiler_gnu=yes 5726 else 5727 ac_compiler_gnu=no 5728 fi 5729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5730 ac_cv_c_compiler_gnu=$ac_compiler_gnu 5731 5732 fi 5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 5734 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 5735 if test $ac_compiler_gnu = yes; then 5736 GCC=yes 5737 else 5738 GCC= 5739 fi 5740 ac_test_CFLAGS=${CFLAGS+set} 5741 ac_save_CFLAGS=$CFLAGS 5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 5743 $as_echo_n "checking whether $CC accepts -g... " >&6; } 5744 if ${ac_cv_prog_cc_g+:} false; then : 5745 $as_echo_n "(cached) " >&6 5746 else 5747 ac_save_c_werror_flag=$ac_c_werror_flag 5748 ac_c_werror_flag=yes 5749 ac_cv_prog_cc_g=no 5750 CFLAGS="-g" 5751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5752 /* end confdefs.h. */ 5753 5754 int 5755 main () 5756 { 5757 5758 ; 5759 return 0; 5760 } 5761 _ACEOF 5762 if ac_fn_c_try_compile "$LINENO"; then : 5763 ac_cv_prog_cc_g=yes 5764 else 5765 CFLAGS="" 5766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5767 /* end confdefs.h. */ 5768 5769 int 5770 main () 5771 { 5772 5773 ; 5774 return 0; 5775 } 5776 _ACEOF 5777 if ac_fn_c_try_compile "$LINENO"; then : 5778 5779 else 5780 ac_c_werror_flag=$ac_save_c_werror_flag 5781 CFLAGS="-g" 5782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5783 /* end confdefs.h. */ 5784 5785 int 5786 main () 5787 { 5788 5789 ; 5790 return 0; 5791 } 5792 _ACEOF 5793 if ac_fn_c_try_compile "$LINENO"; then : 5794 ac_cv_prog_cc_g=yes 5795 fi 5796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5797 fi 5798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5799 fi 5800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5801 ac_c_werror_flag=$ac_save_c_werror_flag 5802 fi 5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 5804 $as_echo "$ac_cv_prog_cc_g" >&6; } 5805 if test "$ac_test_CFLAGS" = set; then 5806 CFLAGS=$ac_save_CFLAGS 5807 elif test $ac_cv_prog_cc_g = yes; then 5808 if test "$GCC" = yes; then 5809 CFLAGS="-g -O2" 5810 else 5811 CFLAGS="-g" 5812 fi 5813 else 5814 if test "$GCC" = yes; then 5815 CFLAGS="-O2" 5816 else 5817 CFLAGS= 5818 fi 5819 fi 5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5821 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5822 if ${ac_cv_prog_cc_c89+:} false; then : 5823 $as_echo_n "(cached) " >&6 5824 else 5825 ac_cv_prog_cc_c89=no 5826 ac_save_CC=$CC 5827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5828 /* end confdefs.h. */ 5829 #include <stdarg.h> 5830 #include <stdio.h> 5831 struct stat; 5832 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5833 struct buf { int x; }; 5834 FILE * (*rcsopen) (struct buf *, struct stat *, int); 5835 static char *e (p, i) 5836 char **p; 5837 int i; 5838 { 5839 return p[i]; 5840 } 5841 static char *f (char * (*g) (char **, int), char **p, ...) 5842 { 5843 char *s; 5844 va_list v; 5845 va_start (v,p); 5846 s = g (p, va_arg (v,int)); 5847 va_end (v); 5848 return s; 5849 } 5850 5851 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5852 function prototypes and stuff, but not '\xHH' hex character constants. 5853 These don't provoke an error unfortunately, instead are silently treated 5854 as 'x'. The following induces an error, until -std is added to get 5855 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5856 array size at least. It's necessary to write '\x00'==0 to get something 5857 that's true only with -std. */ 5858 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5859 5860 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5861 inside strings and character constants. */ 5862 #define FOO(x) 'x' 5863 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 5864 5865 int test (int i, double x); 5866 struct s1 {int (*f) (int a);}; 5867 struct s2 {int (*f) (double a);}; 5868 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5869 int argc; 5870 char **argv; 5871 int 5872 main () 5873 { 5874 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5875 ; 5876 return 0; 5877 } 5878 _ACEOF 5879 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5880 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5881 do 5882 CC="$ac_save_CC $ac_arg" 5883 if ac_fn_c_try_compile "$LINENO"; then : 5884 ac_cv_prog_cc_c89=$ac_arg 5885 fi 5886 rm -f core conftest.err conftest.$ac_objext 5887 test "x$ac_cv_prog_cc_c89" != "xno" && break 5888 done 5889 rm -f conftest.$ac_ext 5890 CC=$ac_save_CC 5891 5892 fi 5893 # AC_CACHE_VAL 5894 case "x$ac_cv_prog_cc_c89" in 5895 x) 5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5897 $as_echo "none needed" >&6; } ;; 5898 xno) 5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5900 $as_echo "unsupported" >&6; } ;; 5901 *) 5902 CC="$CC $ac_cv_prog_cc_c89" 5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5904 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5905 esac 5906 if test "x$ac_cv_prog_cc_c89" != xno; then : 5907 5908 fi 5909 5910 ac_ext=c 5911 ac_cpp='$CPP $CPPFLAGS' 5912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5914 ac_compiler_gnu=$ac_cv_c_compiler_gnu 5915 5916 5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5918 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 5919 if ${ac_cv_path_SED+:} false; then : 5920 $as_echo_n "(cached) " >&6 5921 else 5922 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5923 for ac_i in 1 2 3 4 5 6 7; do 5924 ac_script="$ac_script$as_nl$ac_script" 5925 done 5926 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5927 { ac_script=; unset ac_script;} 5928 if test -z "$SED"; then 5929 ac_path_SED_found=false 5930 # Loop through the user's path and test for each of PROGNAME-LIST 5931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5932 for as_dir in $PATH 5933 do 5934 IFS=$as_save_IFS 5935 test -z "$as_dir" && as_dir=. 5936 for ac_prog in sed gsed; do 5937 for ac_exec_ext in '' $ac_executable_extensions; do 5938 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5939 as_fn_executable_p "$ac_path_SED" || continue 5940 # Check for GNU ac_path_SED and select it if it is found. 5941 # Check for GNU $ac_path_SED 5942 case `"$ac_path_SED" --version 2>&1` in 5943 *GNU*) 5944 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5945 *) 5946 ac_count=0 5947 $as_echo_n 0123456789 >"conftest.in" 5948 while : 5949 do 5950 cat "conftest.in" "conftest.in" >"conftest.tmp" 5951 mv "conftest.tmp" "conftest.in" 5952 cp "conftest.in" "conftest.nl" 5953 $as_echo '' >> "conftest.nl" 5954 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5955 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5956 as_fn_arith $ac_count + 1 && ac_count=$as_val 5957 if test $ac_count -gt ${ac_path_SED_max-0}; then 5958 # Best one so far, save it but keep looking for a better one 5959 ac_cv_path_SED="$ac_path_SED" 5960 ac_path_SED_max=$ac_count 5961 fi 5962 # 10*(2^10) chars as input seems more than enough 5963 test $ac_count -gt 10 && break 5964 done 5965 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5966 esac 5967 5968 $ac_path_SED_found && break 3 5969 done 5970 done 5971 done 5972 IFS=$as_save_IFS 5973 if test -z "$ac_cv_path_SED"; then 5974 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5975 fi 5976 else 5977 ac_cv_path_SED=$SED 5978 fi 5979 5980 fi 5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5982 $as_echo "$ac_cv_path_SED" >&6; } 5983 SED="$ac_cv_path_SED" 5984 rm -f conftest.sed 5985 5986 5987 5988 if test "x$apr_preload_done" != "xyes" ; then 5989 5990 apr_preload_done="yes" 5991 5992 echo "Applying APR hints file rules for $host" 5993 5994 case "$host" in 5995 *mint) 5996 5997 if test "x$CPPFLAGS" = "x"; then 5998 test "x$silent" != "xyes" && echo " setting CPPFLAGS to \"-DMINT -D_GNU_SOURCE\"" 5999 CPPFLAGS="-DMINT -D_GNU_SOURCE" 6000 else 6001 apr_addto_bugger="-DMINT -D_GNU_SOURCE" 6002 for i in $apr_addto_bugger; do 6003 apr_addto_duplicate="0" 6004 for j in $CPPFLAGS; do 6005 if test "x$i" = "x$j"; then 6006 apr_addto_duplicate="1" 6007 break 6008 fi 6009 done 6010 if test $apr_addto_duplicate = "0"; then 6011 test "x$silent" != "xyes" && echo " adding \"$i\" to CPPFLAGS" 6012 CPPFLAGS="$CPPFLAGS $i" 6013 fi 6014 done 6015 fi 6016 6017 ;; 6018 *MPE/iX*) 6019 6020 if test "x$CPPFLAGS" = "x"; then 6021 test "x$silent" != "xyes" && echo " setting CPPFLAGS to \"-DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE\"" 6022 CPPFLAGS="-DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE" 6023 else 6024 apr_addto_bugger="-DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE" 6025 for i in $apr_addto_bugger; do 6026 apr_addto_duplicate="0" 6027 for j in $CPPFLAGS; do 6028 if test "x$i" = "x$j"; then 6029 apr_addto_duplicate="1" 6030 break 6031 fi 6032 done 6033 if test $apr_addto_duplicate = "0"; then 6034 test "x$silent" != "xyes" && echo " adding \"$i\" to CPPFLAGS" 6035 CPPFLAGS="$CPPFLAGS $i" 6036 fi 6037 done 6038 fi 6039 6040 6041 if test "x$LIBS" = "x"; then 6042 test "x$silent" != "xyes" && echo " setting LIBS to \"-lsvipc -lcurses\"" 6043 LIBS="-lsvipc -lcurses" 6044 else 6045 apr_addto_bugger="-lsvipc -lcurses" 6046 for i in $apr_addto_bugger; do 6047 apr_addto_duplicate="0" 6048 for j in $LIBS; do 6049 if test "x$i" = "x$j"; then 6050 apr_addto_duplicate="1" 6051 break 6052 fi 6053 done 6054 if test $apr_addto_duplicate = "0"; then 6055 test "x$silent" != "xyes" && echo " adding \"$i\" to LIBS" 6056 LIBS="$LIBS $i" 6057 fi 6058 done 6059 fi 6060 6061 6062 if test "x$LDFLAGS" = "x"; then 6063 test "x$silent" != "xyes" && echo " setting LDFLAGS to \"-Xlinker \"-WL,cap=ia,ba,ph;nmstack=1024000\"\"" 6064 LDFLAGS="-Xlinker \"-WL,cap=ia,ba,ph;nmstack=1024000\"" 6065 else 6066 apr_addto_bugger="-Xlinker \"-WL,cap=ia,ba,ph;nmstack=1024000\""