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