Changeset 5261 for pjproject/trunk/third_party/srtp/configure
- Timestamp:
- Mar 15, 2016 3:57:39 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/third_party/srtp/configure
r1730 r5261 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59.3 # Generated by GNU Autoconf 2.69 for libsrtp 1.5.4. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Report bugs to <https://github.com/cisco/libsrtp/issues>. 6 # 7 # 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9 # 10 # 6 11 # This configure script is free software; the Free Software Foundation 7 12 # gives unlimited permission to copy, distribute and modify it. 8 ## --------------------- ## 9 ## M4sh Initialization. ## 10 ## --------------------- ## 11 12 # Be Bourne compatible 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 16 17 # Be more Bourne compatible 18 DUALCASE=1; export DUALCASE # for MKS sh 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 14 20 emulate sh 15 21 NULLCMD=: 16 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17 23 # is contrary to our usage. Disable this feature. 18 24 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 25 setopt NO_GLOB_SUBST 26 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 73 74 # The user is always right. 75 if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81 fi 82 83 84 # IFS 85 # We need space, tab and new line, in precisely that order. Quoting is 86 # there to prevent editors from complaining about space-tab. 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 # splitting by setting IFS to empty value.) 89 IFS=" "" $as_nl" 90 91 # Find who we are. Look in the path if we contain no directory separator. 92 as_myself= 93 case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96 for as_dir in $PATH 97 do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102 IFS=$as_save_IFS 103 104 ;; 105 esac 106 # We did not find ourselves, most probably we were run as `sh COMMAND' 107 # in which case we are not to be found in the path. 108 if test "x$as_myself" = x; then 109 as_myself=$0 110 fi 111 if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114 fi 115 116 # Unset variables that we do not need and which cause bugs (e.g. in 117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 # suppresses any "Segmentation fault" message there. '((' could 119 # trigger a bug in pdksh 5.2.14. 120 for as_var in BASH_ENV ENV MAIL MAILPATH 121 do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123 done 34 124 PS1='$ ' 35 125 PS2='> ' … … 37 127 38 128 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 129 LC_ALL=C 130 export LC_ALL 131 LANGUAGE=C 132 export LANGUAGE 133 134 # CDPATH. 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137 # Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142 # neutralization value for shells without unset; and this also 143 # works around shells that cannot unset nonexistent variables. 144 # Preserve -v and -x to the replacement shell. 145 BASH_ENV=/dev/null 146 ENV=/dev/null 147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148 case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153 esac 154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155 # Admittedly, this is quite paranoid, since all the known shells bail 156 # out after a failed `exec'. 157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158 as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162 if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170 else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176 esac 177 fi 178 " 179 as_required="as_fn_return () { (exit \$1); } 180 as_fn_success () { as_fn_return 0; } 181 as_fn_failure () { as_fn_return 1; } 182 as_fn_ret_success () { return 0; } 183 as_fn_ret_failure () { return 1; } 184 185 exitcode=0 186 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192 else 193 exitcode=1; echo positional parameters were not saved. 194 fi 195 test x\$exitcode = x0 || exit 1 196 test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204 else 205 as_have_required=no 206 fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209 else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211 as_found=false 212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 43 213 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in #( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227 fi 228 fi 229 done;; 230 esac 231 as_found=false 232 done 233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236 fi; } 237 IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243 # neutralization value for shells without unset; and this also 244 # works around shells that cannot unset nonexistent variables. 245 # Preserve -v and -x to the replacement shell. 246 BASH_ENV=/dev/null 247 ENV=/dev/null 248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249 case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254 esac 255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256 # Admittedly, this is quite paranoid, since all the known shells bail 257 # out after a failed `exec'. 258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259 exit 255 260 fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 46 268 else 47 $as_unset $as_var 269 $as_echo "$0: Please tell bug-autoconf@gnu.org and 270 $0: https://github.com/cisco/libsrtp/issues about your 271 $0: system, including any error possibly output before this 272 $0: message. Then install a modern shell, or manually run 273 $0: the script under such a shell if you do have one." 48 274 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 275 exit 1 276 fi 277 fi 278 fi 279 SHELL=${CONFIG_SHELL-/bin/sh} 280 export SHELL 281 # Unset more variables known to interfere with behavior of common tools. 282 CLICOLOR_FORCE= GREP_OPTIONS= 283 unset CLICOLOR_FORCE GREP_OPTIONS 284 285 ## --------------------- ## 286 ## M4sh Shell Functions. ## 287 ## --------------------- ## 288 # as_fn_unset VAR 289 # --------------- 290 # Portably unset VAR. 291 as_fn_unset () 292 { 293 { eval $1=; unset $1;} 294 } 295 as_unset=as_fn_unset 296 297 # as_fn_set_status STATUS 298 # ----------------------- 299 # Set $? to STATUS, without forking. 300 as_fn_set_status () 301 { 302 return $1 303 } # as_fn_set_status 304 305 # as_fn_exit STATUS 306 # ----------------- 307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 308 as_fn_exit () 309 { 310 set +e 311 as_fn_set_status $1 312 exit $1 313 } # as_fn_exit 314 315 # as_fn_mkdir_p 316 # ------------- 317 # Create "$as_dir" as a directory, including parents if necessary. 318 as_fn_mkdir_p () 319 { 320 321 case $as_dir in #( 322 -*) as_dir=./$as_dir;; 323 esac 324 test -d "$as_dir" || eval $as_mkdir_p || { 325 as_dirs= 326 while :; do 327 case $as_dir in #( 328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 329 *) as_qdir=$as_dir;; 330 esac 331 as_dirs="'$as_qdir' $as_dirs" 332 as_dir=`$as_dirname -- "$as_dir" || 333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 334 X"$as_dir" : 'X\(//\)[^/]' \| \ 335 X"$as_dir" : 'X\(//\)$' \| \ 336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 337 $as_echo X"$as_dir" | 338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)[^/].*/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\/\)$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\).*/{ 351 s//\1/ 352 q 353 } 354 s/.*/./; q'` 355 test -d "$as_dir" && break 356 done 357 test -z "$as_dirs" || eval "mkdir $as_dirs" 358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 359 360 361 } # as_fn_mkdir_p 362 363 # as_fn_executable_p FILE 364 # ----------------------- 365 # Test if FILE is an executable regular file. 366 as_fn_executable_p () 367 { 368 test -f "$1" && test -x "$1" 369 } # as_fn_executable_p 370 # as_fn_append VAR VALUE 371 # ---------------------- 372 # Append the text in VALUE to the end of the definition contained in VAR. Take 373 # advantage of any shell optimizations that allow amortized linear growth over 374 # repeated appends, instead of the typical quadratic growth present in naive 375 # implementations. 376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 377 eval 'as_fn_append () 378 { 379 eval $1+=\$2 380 }' 381 else 382 as_fn_append () 383 { 384 eval $1=\$$1\$2 385 } 386 fi # as_fn_append 387 388 # as_fn_arith ARG... 389 # ------------------ 390 # Perform arithmetic evaluation on the ARGs, and store the result in the 391 # global $as_val. Take advantage of shells that can avoid forks. The arguments 392 # must be portable across $(()) and expr. 393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 394 eval 'as_fn_arith () 395 { 396 as_val=$(( $* )) 397 }' 398 else 399 as_fn_arith () 400 { 401 as_val=`expr "$@" || test $? -eq 1` 402 } 403 fi # as_fn_arith 404 405 406 # as_fn_error STATUS ERROR [LINENO LOG_FD] 407 # ---------------------------------------- 408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 410 # script with STATUS, using 1 if that was 0. 411 as_fn_error () 412 { 413 as_status=$1; test $as_status -eq 0 && as_status=1 414 if test "$4"; then 415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 417 fi 418 $as_echo "$as_me: error: $2" >&2 419 as_fn_exit $as_status 420 } # as_fn_error 421 422 if expr a : '\(a\)' >/dev/null 2>&1 && 423 test "X`expr 00001 : '.*\(...\)'`" = X001; then 53 424 as_expr=expr 54 425 else … … 56 427 fi 57 428 58 if (basename /) >/dev/null 2>&1 && test "X`basename/ 2>&1`" = "X/"; then429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 59 430 as_basename=basename 60 431 else … … 62 433 fi 63 434 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 436 as_dirname=dirname 437 else 438 as_dirname=false 439 fi 440 441 as_me=`$as_basename -- "$0" || 67 442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 443 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 444 X"$0" : 'X\(/\)' \| . 2>/dev/null || 445 $as_echo X/"$0" | 446 sed '/^.*\/\([^/][^/]*\)\/*$/{ 447 s//\1/ 448 q 449 } 450 /^X\/\(\/\/\)$/{ 451 s//\1/ 452 q 453 } 454 /^X\/\(\/\).*/{ 455 s//\1/ 456 q 457 } 458 s/.*/./; q'` 459 79 460 # Avoid depending upon Character Ranges. 80 461 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 84 465 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 466 86 # The user is always right. 87 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 for as_dir in $PATH 111 do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132 do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 467 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO 469 as_lineno_2=$LINENO as_lineno_2a=$LINENO 470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 473 sed -n ' 474 p 475 /[$]LINENO/= 476 ' <$as_myself | 165 477 sed ' 478 s/[$]LINENO.*/&-/ 479 t lineno 480 b 481 :lineno 166 482 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 483 :loop 484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 485 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 486 s/-\n.*// 173 487 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 488 chmod +x "$as_me.lineno" || 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 490 491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 492 # already done that, so ensure we don't try to do so again and fall 493 # in an infinite loop. This has already happened in practice. 494 _as_can_reexec=no; export _as_can_reexec 178 495 # Don't try to exec as it changes $[0], causing all sort of problems 179 496 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno497 # original and so on. Autoconf is especially sensitive to this). 498 . "./$as_me.lineno" 182 499 # Exit status is that of the last command. 183 500 exit 184 501 } 185 502 186 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 503 ECHO_C= ECHO_N= ECHO_T= 504 case `echo -n x` in #((((( 505 -n*) 506 case `echo 'xy\c'` in 507 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 508 xy) ECHO_C='\c';; 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 510 ECHO_T=' ';; 511 esac;; 512 *) 513 ECHO_N='-n';; 192 514 esac 193 515 194 if expr a : '\(a\)' >/dev/null 2>&1; then195 as_expr=expr196 else197 as_expr=false198 fi199 200 516 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 207 as_ln_s='cp -p' 517 if test -d conf$$.dir; then 518 rm -f conf$$.dir/conf$$.file 519 else 520 rm -f conf$$.dir 521 mkdir conf$$.dir 2>/dev/null 522 fi 523 if (echo >conf$$.file) 2>/dev/null; then 524 if ln -s conf$$.file conf$$ 2>/dev/null; then 525 as_ln_s='ln -s' 526 # ... but there are two gotchas: 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 529 # In both cases, we have to default to `cp -pR'. 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 531 as_ln_s='cp -pR' 532 elif ln conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s=ln 208 534 else 209 as_ln_s=' ln -s'535 as_ln_s='cp -pR' 210 536 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then 212 as_ln_s=ln 213 else 214 as_ln_s='cp -p' 215 fi 216 rm -f conf$$ conf$$.exe conf$$.file 537 else 538 as_ln_s='cp -pR' 539 fi 540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 541 rmdir conf$$.dir 2>/dev/null 217 542 218 543 if mkdir -p . 2>/dev/null; then 219 as_mkdir_p= :544 as_mkdir_p='mkdir -p "$as_dir"' 220 545 else 221 546 test -d ./-p && rmdir ./-p … … 223 548 fi 224 549 225 as_executable_p="test -f" 550 as_test_x='test -x' 551 as_executable_p=as_fn_executable_p 226 552 227 553 # Sed expression to map a string onto a valid CPP name. … … 232 558 233 559 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 560 test -n "$DJDIR" || exec 7<&0 </dev/null 561 exec 6>&1 243 562 244 563 # Name of the host. 245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 246 565 # so uname gets run too. 247 566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 249 exec 6>&1250 567 251 568 # … … 253 570 # 254 571 ac_default_prefix=/usr/local 572 ac_clean_files= 255 573 ac_config_libobj_dir=. 574 LIBOBJS= 256 575 cross_compiling=no 257 576 subdirs= 258 577 MFLAGS= 259 578 MAKEFLAGS= 260 SHELL=${CONFIG_SHELL-/bin/sh}261 262 # Maximum number of lines to put in a shell here document.263 # This variable seems obsolete. It should probably be removed, and264 # only ac_max_sed_lines should be used.265 : ${ac_max_here_lines=38}266 579 267 580 # Identity of this package. 268 PACKAGE_NAME= 269 PACKAGE_TARNAME= 270 PACKAGE_VERSION= 271 PACKAGE_STRING= 272 PACKAGE_BUGREPORT= 273 274 ac_unique_file="srtp" 581 PACKAGE_NAME='libsrtp' 582 PACKAGE_TARNAME='libsrtp' 583 PACKAGE_VERSION='1.5.4' 584 PACKAGE_STRING='libsrtp 1.5.4' 585 PACKAGE_BUGREPORT='https://github.com/cisco/libsrtp/issues' 586 PACKAGE_URL='' 587 275 588 # Factoring default headers for most tests. 276 589 ac_includes_default="\ 277 590 #include <stdio.h> 278 #if HAVE_SYS_TYPES_H591 #ifdef HAVE_SYS_TYPES_H 279 592 # include <sys/types.h> 280 593 #endif 281 #if HAVE_SYS_STAT_H594 #ifdef HAVE_SYS_STAT_H 282 595 # include <sys/stat.h> 283 596 #endif 284 #if STDC_HEADERS597 #ifdef STDC_HEADERS 285 598 # include <stdlib.h> 286 599 # include <stddef.h> 287 600 #else 288 # if HAVE_STDLIB_H601 # ifdef HAVE_STDLIB_H 289 602 # include <stdlib.h> 290 603 # endif 291 604 #endif 292 #if HAVE_STRING_H293 # if ! STDC_HEADERS &&HAVE_MEMORY_H605 #ifdef HAVE_STRING_H 606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 294 607 # include <memory.h> 295 608 # endif 296 609 # include <string.h> 297 610 #endif 298 #if HAVE_STRINGS_H611 #ifdef HAVE_STRINGS_H 299 612 # include <strings.h> 300 613 #endif 301 #if HAVE_INTTYPES_H614 #ifdef HAVE_INTTYPES_H 302 615 # include <inttypes.h> 303 #else304 # if HAVE_STDINT_H305 # include <stdint.h>306 # endif307 616 #endif 308 #if HAVE_UNISTD_H 617 #ifdef HAVE_STDINT_H 618 # include <stdint.h> 619 #endif 620 #ifdef HAVE_UNISTD_H 309 621 # include <unistd.h> 310 622 #endif" 311 623 312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS RANLIB ac_ct_RANLIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RNG_OBJS CPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os EXE GDOI_OBJS LIBOBJS LTLIBOBJS' 624 ac_subst_vars='LTLIBOBJS 625 LIBOBJS 626 HAVE_PKG_CONFIG 627 PKG_CONFIG 628 GDOI_OBJS 629 HAVE_PCAP 630 HMAC_OBJS 631 RNG_EXTRA_OBJS 632 RNG_OBJS 633 AES_ICM_OBJS 634 USE_OPENSSL 635 EXE 636 host_os 637 host_vendor 638 host_cpu 639 host 640 build_os 641 build_vendor 642 build_cpu 643 build 644 EGREP 645 GREP 646 CPP 647 INSTALL_DATA 648 INSTALL_SCRIPT 649 INSTALL_PROGRAM 650 RANLIB 651 OBJEXT 652 EXEEXT 653 ac_ct_CC 654 CPPFLAGS 655 LDFLAGS 656 CFLAGS 657 CC 658 ac_ct_AR 659 AR 660 target_alias 661 host_alias 662 build_alias 663 LIBS 664 ECHO_T 665 ECHO_N 666 ECHO_C 667 DEFS 668 mandir 669 localedir 670 libdir 671 psdir 672 pdfdir 673 dvidir 674 htmldir 675 infodir 676 docdir 677 oldincludedir 678 includedir 679 localstatedir 680 sharedstatedir 681 sysconfdir 682 datadir 683 datarootdir 684 libexecdir 685 sbindir 686 bindir 687 program_transform_name 688 prefix 689 exec_prefix 690 PACKAGE_URL 691 PACKAGE_BUGREPORT 692 PACKAGE_STRING 693 PACKAGE_VERSION 694 PACKAGE_TARNAME 695 PACKAGE_NAME 696 PATH_SEPARATOR 697 SHELL' 313 698 ac_subst_files='' 699 ac_user_opts=' 700 enable_option_checking 701 enable_kernel_linux 702 enable_debug 703 enable_generic_aesicm 704 enable_openssl 705 enable_syslog 706 enable_stdout 707 enable_console 708 enable_gdoi 709 ' 710 ac_precious_vars='build_alias 711 host_alias 712 target_alias 713 CC 714 CFLAGS 715 LDFLAGS 716 LIBS 717 CPPFLAGS 718 CPP' 719 314 720 315 721 # Initialize some variables set by options. 316 722 ac_init_help= 317 723 ac_init_version=false 724 ac_unrecognized_opts= 725 ac_unrecognized_sep= 318 726 # The variables have the same names as the options, with 319 727 # dashes changed to underlines. … … 338 746 # by default will actually change. 339 747 # Use braces instead of parens because sh, perl, etc. also accept them. 748 # (The list follows the same order as the GNU Coding Standards.) 340 749 bindir='${exec_prefix}/bin' 341 750 sbindir='${exec_prefix}/sbin' 342 751 libexecdir='${exec_prefix}/libexec' 343 datadir='${prefix}/share' 752 datarootdir='${prefix}/share' 753 datadir='${datarootdir}' 344 754 sysconfdir='${prefix}/etc' 345 755 sharedstatedir='${prefix}/com' 346 756 localstatedir='${prefix}/var' 347 libdir='${exec_prefix}/lib'348 757 includedir='${prefix}/include' 349 758 oldincludedir='/usr/include' 350 infodir='${prefix}/info' 351 mandir='${prefix}/man' 759 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 760 infodir='${datarootdir}/info' 761 htmldir='${docdir}' 762 dvidir='${docdir}' 763 pdfdir='${docdir}' 764 psdir='${docdir}' 765 libdir='${exec_prefix}/lib' 766 localedir='${datarootdir}/locale' 767 mandir='${datarootdir}/man' 352 768 353 769 ac_prev= 770 ac_dashdash= 354 771 for ac_option 355 772 do 356 773 # If the previous option needs an argument, assign it. 357 774 if test -n "$ac_prev"; then 358 eval "$ac_prev=\$ac_option"775 eval $ac_prev=\$ac_option 359 776 ac_prev= 360 777 continue 361 778 fi 362 779 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 780 case $ac_option in 781 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 782 *=) ac_optarg= ;; 783 *) ac_optarg=yes ;; 784 esac 364 785 365 786 # Accept the important Cygnus configure options, so we can diagnose typos. 366 787 367 case $ac_option in 788 case $ac_dashdash$ac_option in 789 --) 790 ac_dashdash=yes ;; 368 791 369 792 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 387 810 cache_file=config.cache ;; 388 811 389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)812 -datadir | --datadir | --datadi | --datad) 390 813 ac_prev=datadir ;; 391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 | --da=*) 814 -datadir=* | --datadir=* | --datadi=* | --datad=*) 393 815 datadir=$ac_optarg ;; 394 816 817 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 818 | --dataroo | --dataro | --datar) 819 ac_prev=datarootdir ;; 820 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 821 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 822 datarootdir=$ac_optarg ;; 823 395 824 -disable-* | --disable-*) 396 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`825 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 397 826 # Reject names that are not valid shell variable names. 398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 400 { (exit 1); exit 1; }; } 401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 eval "enable_$ac_feature=no" ;; 827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 828 as_fn_error $? "invalid feature name: $ac_useropt" 829 ac_useropt_orig=$ac_useropt 830 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 831 case $ac_user_opts in 832 *" 833 "enable_$ac_useropt" 834 "*) ;; 835 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 836 ac_unrecognized_sep=', ';; 837 esac 838 eval enable_$ac_useropt=no ;; 839 840 -docdir | --docdir | --docdi | --doc | --do) 841 ac_prev=docdir ;; 842 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 843 docdir=$ac_optarg ;; 844 845 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 846 ac_prev=dvidir ;; 847 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 848 dvidir=$ac_optarg ;; 403 849 404 850 -enable-* | --enable-*) 405 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`851 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 406 852 # Reject names that are not valid shell variable names. 407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 409 { (exit 1); exit 1; }; } 410 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 411 case $ac_option in 412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 413 *) ac_optarg=yes ;; 853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 854 as_fn_error $? "invalid feature name: $ac_useropt" 855 ac_useropt_orig=$ac_useropt 856 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 857 case $ac_user_opts in 858 *" 859 "enable_$ac_useropt" 860 "*) ;; 861 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 862 ac_unrecognized_sep=', ';; 414 863 esac 415 eval "enable_$ac_feature='$ac_optarg'";;864 eval enable_$ac_useropt=\$ac_optarg ;; 416 865 417 866 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 440 889 host_alias=$ac_optarg ;; 441 890 891 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 892 ac_prev=htmldir ;; 893 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 894 | --ht=*) 895 htmldir=$ac_optarg ;; 896 442 897 -includedir | --includedir | --includedi | --included | --include \ 443 898 | --includ | --inclu | --incl | --inc) … … 464 919 libexecdir=$ac_optarg ;; 465 920 921 -localedir | --localedir | --localedi | --localed | --locale) 922 ac_prev=localedir ;; 923 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 924 localedir=$ac_optarg ;; 925 466 926 -localstatedir | --localstatedir | --localstatedi | --localstated \ 467 | --localstate | --localstat | --localsta | --localst \ 468 | --locals | --local | --loca | --loc | --lo) 927 | --localstate | --localstat | --localsta | --localst | --locals) 469 928 ac_prev=localstatedir ;; 470 929 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 930 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 473 931 localstatedir=$ac_optarg ;; 474 932 … … 535 993 program_transform_name=$ac_optarg ;; 536 994 995 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 996 ac_prev=pdfdir ;; 997 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 998 pdfdir=$ac_optarg ;; 999 1000 -psdir | --psdir | --psdi | --psd | --ps) 1001 ac_prev=psdir ;; 1002 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1003 psdir=$ac_optarg ;; 1004 537 1005 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 538 1006 | -silent | --silent | --silen | --sile | --sil) … … 585 1053 586 1054 -with-* | --with-*) 587 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1055 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 588 1056 # Reject names that are not valid shell variable names. 589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 590 { echo "$as_me: error: invalid package name: $ac_package" >&2 591 { (exit 1); exit 1; }; } 592 ac_package=`echo $ac_package| sed 's/-/_/g'` 593 case $ac_option in 594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 595 *) ac_optarg=yes ;; 1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1058 as_fn_error $? "invalid package name: $ac_useropt" 1059 ac_useropt_orig=$ac_useropt 1060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1061 case $ac_user_opts in 1062 *" 1063 "with_$ac_useropt" 1064 "*) ;; 1065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1066 ac_unrecognized_sep=', ';; 596 1067 esac 597 eval "with_$ac_package='$ac_optarg'";;1068 eval with_$ac_useropt=\$ac_optarg ;; 598 1069 599 1070 -without-* | --without-*) 600 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1071 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 601 1072 # Reject names that are not valid shell variable names. 602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 603 { echo "$as_me: error: invalid package name: $ac_package" >&2 604 { (exit 1); exit 1; }; } 605 ac_package=`echo $ac_package | sed 's/-/_/g'` 606 eval "with_$ac_package=no" ;; 1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1074 as_fn_error $? "invalid package name: $ac_useropt" 1075 ac_useropt_orig=$ac_useropt 1076 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1077 case $ac_user_opts in 1078 *" 1079 "with_$ac_useropt" 1080 "*) ;; 1081 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1082 ac_unrecognized_sep=', ';; 1083 esac 1084 eval with_$ac_useropt=no ;; 607 1085 608 1086 --x) … … 624 1102 x_libraries=$ac_optarg ;; 625 1103 626 -*) { echo "$as_me: error: unrecognized option: $ac_option 627 Try \`$0 --help' for more information." >&2 628 { (exit 1); exit 1; }; } 1104 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1105 Try \`$0 --help' for more information" 629 1106 ;; 630 1107 … … 632 1109 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 633 1110 # Reject names that are not valid shell variable names. 634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2636 { (exit 1); exit 1; }; }637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`638 eval "$ac_envvar='$ac_optarg'"1111 case $ac_envvar in #( 1112 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1113 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1114 esac 1115 eval $ac_envvar=\$ac_optarg 639 1116 export $ac_envvar ;; 640 1117 641 1118 *) 642 1119 # FIXME: should be removed in autoconf 3.0. 643 echo "$as_me: WARNING: you should use --build, --host, --target" >&21120 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 644 1121 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1122 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1123 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 647 1124 ;; 648 1125 … … 652 1129 if test -n "$ac_prev"; then 653 1130 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 654 { echo "$as_me: error: missing argument to $ac_option" >&2 655 { (exit 1); exit 1; }; } 656 fi 657 658 # Be sure to have absolute paths. 659 for ac_var in exec_prefix prefix 1131 as_fn_error $? "missing argument to $ac_option" 1132 fi 1133 1134 if test -n "$ac_unrecognized_opts"; then 1135 case $enable_option_checking in 1136 no) ;; 1137 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1138 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1139 esac 1140 fi 1141 1142 # Check all directory arguments for consistency. 1143 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1144 datadir sysconfdir sharedstatedir localstatedir includedir \ 1145 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1146 libdir localedir mandir 660 1147 do 661 eval ac_val=$`echo $ac_var` 1148 eval ac_val=\$$ac_var 1149 # Remove trailing slashes. 662 1150 case $ac_val in 663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2665 { (exit 1); exit 1; }; };;1151 */ ) 1152 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1153 eval $ac_var=\$ac_val;; 666 1154 esac 667 done 668 669 # Be sure to have absolute paths. 670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 671 localstatedir libdir includedir oldincludedir infodir mandir 672 do 673 eval ac_val=$`echo $ac_var` 1155 # Be sure to have absolute directory names. 674 1156 case $ac_val in 675 [\\/$]* | ?:[\\/]* ) ;; 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 677 { (exit 1); exit 1; }; };; 1157 [\\/$]* | ?:[\\/]* ) continue;; 1158 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 678 1159 esac 1160 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 679 1161 done 680 1162 … … 690 1172 if test "x$build_alias" = x; then 691 1173 cross_compiling=maybe 692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.693 If a cross compiler is detected then cross compile mode will be used." >&2694 1174 elif test "x$build_alias" != "x$host_alias"; then 695 1175 cross_compiling=yes … … 703 1183 704 1184 1185 ac_pwd=`pwd` && test -n "$ac_pwd" && 1186 ac_ls_di=`ls -di .` && 1187 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1188 as_fn_error $? "working directory cannot be determined" 1189 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1190 as_fn_error $? "pwd does not report name of working directory" 1191 1192 705 1193 # Find the source files, if location was not specified. 706 1194 if test -z "$srcdir"; then 707 1195 ac_srcdir_defaulted=yes 708 # Try the directory containing this script, then its parent. 709 ac_confdir=`(dirname "$0") 2>/dev/null || 710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 711 X"$0" : 'X\(//\)[^/]' \| \ 712 X"$0" : 'X\(//\)$' \| \ 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null || 715 echo X"$0" | 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; } 720 s/.*/./; q'` 1196 # Try the directory containing this script, then the parent directory. 1197 ac_confdir=`$as_dirname -- "$as_myself" || 1198 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1199 X"$as_myself" : 'X\(//\)[^/]' \| \ 1200 X"$as_myself" : 'X\(//\)$' \| \ 1201 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1202 $as_echo X"$as_myself" | 1203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1204 s//\1/ 1205 q 1206 } 1207 /^X\(\/\/\)[^/].*/{ 1208 s//\1/ 1209 q 1210 } 1211 /^X\(\/\/\)$/{ 1212 s//\1/ 1213 q 1214 } 1215 /^X\(\/\).*/{ 1216 s//\1/ 1217 q 1218 } 1219 s/.*/./; q'` 721 1220 srcdir=$ac_confdir 722 if test ! -r $srcdir/$ac_unique_file; then1221 if test ! -r "$srcdir/$ac_unique_file"; then 723 1222 srcdir=.. 724 1223 fi … … 726 1225 ac_srcdir_defaulted=no 727 1226 fi 728 if test ! -r $srcdir/$ac_unique_file; then 729 if test "$ac_srcdir_defaulted" = yes; then 730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 731 { (exit 1); exit 1; }; } 732 else 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 734 { (exit 1); exit 1; }; } 735 fi 736 fi 737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 739 { (exit 1); exit 1; }; } 740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 741 ac_env_build_alias_set=${build_alias+set} 742 ac_env_build_alias_value=$build_alias 743 ac_cv_env_build_alias_set=${build_alias+set} 744 ac_cv_env_build_alias_value=$build_alias 745 ac_env_host_alias_set=${host_alias+set} 746 ac_env_host_alias_value=$host_alias 747 ac_cv_env_host_alias_set=${host_alias+set} 748 ac_cv_env_host_alias_value=$host_alias 749 ac_env_target_alias_set=${target_alias+set} 750 ac_env_target_alias_value=$target_alias 751 ac_cv_env_target_alias_set=${target_alias+set} 752 ac_cv_env_target_alias_value=$target_alias 753 ac_env_CC_set=${CC+set} 754 ac_env_CC_value=$CC 755 ac_cv_env_CC_set=${CC+set} 756 ac_cv_env_CC_value=$CC 757 ac_env_CFLAGS_set=${CFLAGS+set} 758 ac_env_CFLAGS_value=$CFLAGS 759 ac_cv_env_CFLAGS_set=${CFLAGS+set} 760 ac_cv_env_CFLAGS_value=$CFLAGS 761 ac_env_LDFLAGS_set=${LDFLAGS+set} 762 ac_env_LDFLAGS_value=$LDFLAGS 763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_cv_env_LDFLAGS_value=$LDFLAGS 765 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 766 ac_env_CPPFLAGS_value=$CPPFLAGS 767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 769 ac_env_CPP_set=${CPP+set} 770 ac_env_CPP_value=$CPP 771 ac_cv_env_CPP_set=${CPP+set} 772 ac_cv_env_CPP_value=$CPP 1227 if test ! -r "$srcdir/$ac_unique_file"; then 1228 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1229 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1230 fi 1231 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1232 ac_abs_confdir=`( 1233 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1234 pwd)` 1235 # When building in place, set srcdir=. 1236 if test "$ac_abs_confdir" = "$ac_pwd"; then 1237 srcdir=. 1238 fi 1239 # Remove unnecessary trailing slashes from srcdir. 1240 # Double slashes in file names in object file debugging info 1241 # mess up M-x gdb in Emacs. 1242 case $srcdir in 1243 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1244 esac 1245 for ac_var in $ac_precious_vars; do 1246 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1247 eval ac_env_${ac_var}_value=\$${ac_var} 1248 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1249 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1250 done 773 1251 774 1252 # … … 779 1257 # This message is too long to be a string in the A/UX 3.1 sh. 780 1258 cat <<_ACEOF 781 \`configure' configures this packageto adapt to many kinds of systems.1259 \`configure' configures libsrtp 1.5.4 to adapt to many kinds of systems. 782 1260 783 1261 Usage: $0 [OPTION]... [VAR=VALUE]... … … 793 1271 --help=recursive display the short help of all the included packages 794 1272 -V, --version display version information and exit 795 -q, --quiet, --silent do not print \`checking ...' messages1273 -q, --quiet, --silent do not print \`checking ...' messages 796 1274 --cache-file=FILE cache test results in FILE [disabled] 797 1275 -C, --config-cache alias for \`--cache-file=config.cache' … … 799 1277 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 800 1278 801 _ACEOF802 803 cat <<_ACEOF804 1279 Installation directories: 805 1280 --prefix=PREFIX install architecture-independent files in PREFIX 806 1281 [$ac_default_prefix] 807 1282 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 808 1283 [PREFIX] 809 1284 810 1285 By default, \`make install' will install all the files in … … 816 1291 817 1292 Fine tuning of the installation directories: 818 --bindir=DIR user executables [EPREFIX/bin] 819 --sbindir=DIR system admin executables [EPREFIX/sbin] 820 --libexecdir=DIR program executables [EPREFIX/libexec] 821 --datadir=DIR read-only architecture-independent data [PREFIX/share] 822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 824 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 825 --libdir=DIR object code libraries [EPREFIX/lib] 826 --includedir=DIR C header files [PREFIX/include] 827 --oldincludedir=DIR C header files for non-gcc [/usr/include] 828 --infodir=DIR info documentation [PREFIX/info] 829 --mandir=DIR man documentation [PREFIX/man] 1293 --bindir=DIR user executables [EPREFIX/bin] 1294 --sbindir=DIR system admin executables [EPREFIX/sbin] 1295 --libexecdir=DIR program executables [EPREFIX/libexec] 1296 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1297 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1298 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1299 --libdir=DIR object code libraries [EPREFIX/lib] 1300 --includedir=DIR C header files [PREFIX/include] 1301 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1302 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1303 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1304 --infodir=DIR info documentation [DATAROOTDIR/info] 1305 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1306 --mandir=DIR man documentation [DATAROOTDIR/man] 1307 --docdir=DIR documentation root [DATAROOTDIR/doc/libsrtp] 1308 --htmldir=DIR html documentation [DOCDIR] 1309 --dvidir=DIR dvi documentation [DOCDIR] 1310 --pdfdir=DIR pdf documentation [DOCDIR] 1311 --psdir=DIR ps documentation [DOCDIR] 830 1312 _ACEOF 831 1313 … … 839 1321 840 1322 if test -n "$ac_init_help"; then 841 1323 case $ac_init_help in 1324 short | recursive ) echo "Configuration of libsrtp 1.5.4:";; 1325 esac 842 1326 cat <<\_ACEOF 843 1327 844 1328 Optional Features: 1329 --disable-option-checking ignore unrecognized --enable/--with options 845 1330 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 846 1331 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 848 1333 --disable-debug do not compile in dynamic debugging system 849 1334 --enable-generic-aesicm compile in changes for ISMAcryp 1335 --enable-openssl compile in OpenSSL crypto engine 850 1336 --enable-syslog use syslog for error reporting 851 1337 --disable-stdout don't use stdout for error reporting … … 858 1344 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 859 1345 nonstandard directory <lib dir> 860 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 861 headers in a nonstandard directory <include dir> 1346 LIBS libraries to pass to the linker, e.g. -l<library> 1347 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1348 you have headers in a nonstandard directory <include dir> 862 1349 CPP C preprocessor 863 1350 … … 865 1352 it to find libraries and programs with nonstandard names/locations. 866 1353 867 _ACEOF 1354 Report bugs to <https://github.com/cisco/libsrtp/issues>. 1355 _ACEOF 1356 ac_status=$? 868 1357 fi 869 1358 870 1359 if test "$ac_init_help" = "recursive"; then 871 1360 # If there are subdirs, report their specific --help. 872 ac_popdir=`pwd`873 1361 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 874 test -d $ac_dir || continue 1362 test -d "$ac_dir" || 1363 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1364 continue 875 1365 ac_builddir=. 876 1366 877 if test "$ac_dir" != .; then 878 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 879 # A "../" for each directory in $ac_dir_suffix. 880 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 881 else 882 ac_dir_suffix= ac_top_builddir= 883 fi 1367 case "$ac_dir" in 1368 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1369 *) 1370 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1371 # A ".." for each directory in $ac_dir_suffix. 1372 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1373 case $ac_top_builddir_sub in 1374 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1375 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1376 esac ;; 1377 esac 1378 ac_abs_top_builddir=$ac_pwd 1379 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1380 # for backward compatibility: 1381 ac_top_builddir=$ac_top_build_prefix 884 1382 885 1383 case $srcdir in 886 .) # No --srcdir option.We are building in place.1384 .) # We are building in place. 887 1385 ac_srcdir=. 888 if test -z "$ac_top_builddir"; then 889 ac_top_srcdir=. 1386 ac_top_srcdir=$ac_top_builddir_sub 1387 ac_abs_top_srcdir=$ac_pwd ;; 1388 [\\/]* | ?:[\\/]* ) # Absolute name. 1389 ac_srcdir=$srcdir$ac_dir_suffix; 1390 ac_top_srcdir=$srcdir 1391 ac_abs_top_srcdir=$srcdir ;; 1392 *) # Relative name. 1393 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1394 ac_top_srcdir=$ac_top_build_prefix$srcdir 1395 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1396 esac 1397 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1398 1399 cd "$ac_dir" || { ac_status=$?; continue; } 1400 # Check for guested configure. 1401 if test -f "$ac_srcdir/configure.gnu"; then 1402 echo && 1403 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1404 elif test -f "$ac_srcdir/configure"; then 1405 echo && 1406 $SHELL "$ac_srcdir/configure" --help=recursive 890 1407 else 891 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 892 fi ;; 893 [\\/]* | ?:[\\/]* ) # Absolute path. 894 ac_srcdir=$srcdir$ac_dir_suffix; 895 ac_top_srcdir=$srcdir ;; 896 *) # Relative path. 897 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 898 ac_top_srcdir=$ac_top_builddir$srcdir ;; 899 esac 900 901 # Do not use `cd foo && pwd` to compute absolute paths, because 902 # the directories may not exist. 903 case `pwd` in 904 .) ac_abs_builddir="$ac_dir";; 905 *) 906 case "$ac_dir" in 907 .) ac_abs_builddir=`pwd`;; 908 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 909 *) ac_abs_builddir=`pwd`/"$ac_dir";; 910 esac;; 911 esac 912 case $ac_abs_builddir in 913 .) ac_abs_top_builddir=${ac_top_builddir}.;; 914 *) 915 case ${ac_top_builddir}. in 916 .) ac_abs_top_builddir=$ac_abs_builddir;; 917 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 918 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 919 esac;; 920 esac 921 case $ac_abs_builddir in 922 .) ac_abs_srcdir=$ac_srcdir;; 923 *) 924 case $ac_srcdir in 925 .) ac_abs_srcdir=$ac_abs_builddir;; 926 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 927 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 928 esac;; 929 esac 930 case $ac_abs_builddir in 931 .) ac_abs_top_srcdir=$ac_top_srcdir;; 932 *) 933 case $ac_top_srcdir in 934 .) ac_abs_top_srcdir=$ac_abs_builddir;; 935 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 936 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 937 esac;; 938 esac 939 940 cd $ac_dir 941 # Check for guested configure; otherwise get Cygnus style configure. 942 if test -f $ac_srcdir/configure.gnu; then 943 echo 944 $SHELL $ac_srcdir/configure.gnu --help=recursive 945 elif test -f $ac_srcdir/configure; then 946 echo 947 $SHELL $ac_srcdir/configure --help=recursive 948 elif test -f $ac_srcdir/configure.ac || 949 test -f $ac_srcdir/configure.in; then 950 echo 951 $ac_configure --help 952 else 953 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 954 fi 955 cd $ac_popdir 1408 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1409 fi || ac_status=$? 1410 cd "$ac_pwd" || { ac_status=$?; break; } 956 1411 done 957 1412 fi 958 1413 959 test -n "$ac_init_help" && exit 01414 test -n "$ac_init_help" && exit $ac_status 960 1415 if $ac_init_version; then 961 1416 cat <<\_ACEOF 962 963 Copyright (C) 2003 Free Software Foundation, Inc. 1417 libsrtp configure 1.5.4 1418 generated by GNU Autoconf 2.69 1419 1420 Copyright (C) 2012 Free Software Foundation, Inc. 964 1421 This configure script is free software; the Free Software Foundation 965 1422 gives unlimited permission to copy, distribute and modify it. 966 1423 _ACEOF 967 exit 0 968 fi 969 exec 5>config.log 970 cat >&5 <<_ACEOF 1424 exit 1425 fi 1426 1427 ## ------------------------ ## 1428 ## Autoconf initialization. ## 1429 ## ------------------------ ## 1430 1431 # ac_fn_c_try_compile LINENO 1432 # -------------------------- 1433 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1434 ac_fn_c_try_compile () 1435 { 1436 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1437 rm -f conftest.$ac_objext 1438 if { { ac_try="$ac_compile" 1439 case "(($ac_try" in 1440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1441 *) ac_try_echo=$ac_try;; 1442 esac 1443 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1444 $as_echo "$ac_try_echo"; } >&5 1445 (eval "$ac_compile") 2>conftest.err 1446 ac_status=$? 1447 if test -s conftest.err; then 1448 grep -v '^ *+' conftest.err >conftest.er1 1449 cat conftest.er1 >&5 1450 mv -f conftest.er1 conftest.err 1451 fi 1452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1453 test $ac_status = 0; } && { 1454 test -z "$ac_c_werror_flag" || 1455 test ! -s conftest.err 1456 } && test -s conftest.$ac_objext; then : 1457 ac_retval=0 1458 else 1459 $as_echo "$as_me: failed program was:" >&5 1460 sed 's/^/| /' conftest.$ac_ext >&5 1461 1462 ac_retval=1 1463 fi 1464 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1465 as_fn_set_status $ac_retval 1466 1467 } # ac_fn_c_try_compile 1468 1469 # ac_fn_c_try_run LINENO 1470 # ---------------------- 1471 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1472 # that executables *can* be run. 1473 ac_fn_c_try_run () 1474 { 1475 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1476 if { { ac_try="$ac_link" 1477 case "(($ac_try" in 1478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1479 *) ac_try_echo=$ac_try;; 1480 esac 1481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1482 $as_echo "$ac_try_echo"; } >&5 1483 (eval "$ac_link") 2>&5 1484 ac_status=$? 1485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1486 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1487 { { case "(($ac_try" in 1488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1489 *) ac_try_echo=$ac_try;; 1490 esac 1491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1492 $as_echo "$ac_try_echo"; } >&5 1493 (eval "$ac_try") 2>&5 1494 ac_status=$? 1495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1496 test $ac_status = 0; }; }; then : 1497 ac_retval=0 1498 else 1499 $as_echo "$as_me: program exited with status $ac_status" >&5 1500 $as_echo "$as_me: failed program was:" >&5 1501 sed 's/^/| /' conftest.$ac_ext >&5 1502 1503 ac_retval=$ac_status 1504 fi 1505 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1506 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1507 as_fn_set_status $ac_retval 1508 1509 } # ac_fn_c_try_run 1510 1511 # ac_fn_c_try_cpp LINENO 1512 # ---------------------- 1513 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1514 ac_fn_c_try_cpp () 1515 { 1516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1517 if { { ac_try="$ac_cpp conftest.$ac_ext" 1518 case "(($ac_try" in 1519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1520 *) ac_try_echo=$ac_try;; 1521 esac 1522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1523 $as_echo "$ac_try_echo"; } >&5 1524 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1525 ac_status=$? 1526 if test -s conftest.err; then 1527 grep -v '^ *+' conftest.err >conftest.er1 1528 cat conftest.er1 >&5 1529 mv -f conftest.er1 conftest.err 1530 fi 1531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1532 test $ac_status = 0; } > conftest.i && { 1533 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1534 test ! -s conftest.err 1535 }; then : 1536 ac_retval=0 1537 else 1538 $as_echo "$as_me: failed program was:" >&5 1539 sed 's/^/| /' conftest.$ac_ext >&5 1540 1541 ac_retval=1 1542 fi 1543 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1544 as_fn_set_status $ac_retval 1545 1546 } # ac_fn_c_try_cpp 1547 1548 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1549 # ------------------------------------------------------- 1550 # Tests whether HEADER exists and can be compiled using the include files in 1551 # INCLUDES, setting the cache variable VAR accordingly. 1552 ac_fn_c_check_header_compile () 1553 { 1554 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1556 $as_echo_n "checking for $2... " >&6; } 1557 if eval \${$3+:} false; then : 1558 $as_echo_n "(cached) " >&6 1559 else 1560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1561 /* end confdefs.h. */ 1562 $4 1563 #include <$2> 1564 _ACEOF 1565 if ac_fn_c_try_compile "$LINENO"; then : 1566 eval "$3=yes" 1567 else 1568 eval "$3=no" 1569 fi 1570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1571 fi 1572 eval ac_res=\$$3 1573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1574 $as_echo "$ac_res" >&6; } 1575 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1576 1577 } # ac_fn_c_check_header_compile 1578 1579 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1580 # ------------------------------------------------------- 1581 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1582 # the include files in INCLUDES and setting the cache variable VAR 1583 # accordingly. 1584 ac_fn_c_check_header_mongrel () 1585 { 1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1587 if eval \${$3+:} false; then : 1588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1589 $as_echo_n "checking for $2... " >&6; } 1590 if eval \${$3+:} false; then : 1591 $as_echo_n "(cached) " >&6 1592 fi 1593 eval ac_res=\$$3 1594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1595 $as_echo "$ac_res" >&6; } 1596 else 1597 # Is the header compilable? 1598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1599 $as_echo_n "checking $2 usability... " >&6; } 1600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1601 /* end confdefs.h. */ 1602 $4 1603 #include <$2> 1604 _ACEOF 1605 if ac_fn_c_try_compile "$LINENO"; then : 1606 ac_header_compiler=yes 1607 else 1608 ac_header_compiler=no 1609 fi 1610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1612 $as_echo "$ac_header_compiler" >&6; } 1613 1614 # Is the header present? 1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1616 $as_echo_n "checking $2 presence... " >&6; } 1617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1618 /* end confdefs.h. */ 1619 #include <$2> 1620 _ACEOF 1621 if ac_fn_c_try_cpp "$LINENO"; then : 1622 ac_header_preproc=yes 1623 else 1624 ac_header_preproc=no 1625 fi 1626 rm -f conftest.err conftest.i conftest.$ac_ext 1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1628 $as_echo "$ac_header_preproc" >&6; } 1629 1630 # So? What about this header? 1631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1632 yes:no: ) 1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1634 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1636 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1637 ;; 1638 no:yes:* ) 1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1640 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1642 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1644 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1646 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1648 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1649 ( $as_echo "## ------------------------------------------------------ ## 1650 ## Report this to https://github.com/cisco/libsrtp/issues ## 1651 ## ------------------------------------------------------ ##" 1652 ) | sed "s/^/$as_me: WARNING: /" >&2 1653 ;; 1654 esac 1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1656 $as_echo_n "checking for $2... " >&6; } 1657 if eval \${$3+:} false; then : 1658 $as_echo_n "(cached) " >&6 1659 else 1660 eval "$3=\$ac_header_compiler" 1661 fi 1662 eval ac_res=\$$3 1663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1664 $as_echo "$ac_res" >&6; } 1665 fi 1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1667 1668 } # ac_fn_c_check_header_mongrel 1669 1670 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1671 # ------------------------------------------- 1672 # Tests whether TYPE exists after having included INCLUDES, setting cache 1673 # variable VAR accordingly. 1674 ac_fn_c_check_type () 1675 { 1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1678 $as_echo_n "checking for $2... " >&6; } 1679 if eval \${$3+:} false; then : 1680 $as_echo_n "(cached) " >&6 1681 else 1682 eval "$3=no" 1683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1684 /* end confdefs.h. */ 1685 $4 1686 int 1687 main () 1688 { 1689 if (sizeof ($2)) 1690 return 0; 1691 ; 1692 return 0; 1693 } 1694 _ACEOF 1695 if ac_fn_c_try_compile "$LINENO"; then : 1696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1697 /* end confdefs.h. */ 1698 $4 1699 int 1700 main () 1701 { 1702 if (sizeof (($2))) 1703 return 0; 1704 ; 1705 return 0; 1706 } 1707 _ACEOF 1708 if ac_fn_c_try_compile "$LINENO"; then : 1709 1710 else 1711 eval "$3=yes" 1712 fi 1713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1714 fi 1715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1716 fi 1717 eval ac_res=\$$3 1718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1719 $as_echo "$ac_res" >&6; } 1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1721 1722 } # ac_fn_c_check_type 1723 1724 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1725 # -------------------------------------------- 1726 # Tries to find the compile-time value of EXPR in a program that includes 1727 # INCLUDES, setting VAR accordingly. Returns whether the value could be 1728 # computed 1729 ac_fn_c_compute_int () 1730 { 1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1732 if test "$cross_compiling" = yes; then 1733 # Depending upon the size, compute the lo and hi bounds. 1734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1735 /* end confdefs.h. */ 1736 $4 1737 int 1738 main () 1739 { 1740 static int test_array [1 - 2 * !(($2) >= 0)]; 1741 test_array [0] = 0; 1742 return test_array [0]; 1743 1744 ; 1745 return 0; 1746 } 1747 _ACEOF 1748 if ac_fn_c_try_compile "$LINENO"; then : 1749 ac_lo=0 ac_mid=0 1750 while :; do 1751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1752 /* end confdefs.h. */ 1753 $4 1754 int 1755 main () 1756 { 1757 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1758 test_array [0] = 0; 1759 return test_array [0]; 1760 1761 ; 1762 return 0; 1763 } 1764 _ACEOF 1765 if ac_fn_c_try_compile "$LINENO"; then : 1766 ac_hi=$ac_mid; break 1767 else 1768 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1769 if test $ac_lo -le $ac_mid; then 1770 ac_lo= ac_hi= 1771 break 1772 fi 1773 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1774 fi 1775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1776 done 1777 else 1778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1779 /* end confdefs.h. */ 1780 $4 1781 int 1782 main () 1783 { 1784 static int test_array [1 - 2 * !(($2) < 0)]; 1785 test_array [0] = 0; 1786 return test_array [0]; 1787 1788 ; 1789 return 0; 1790 } 1791 _ACEOF 1792 if ac_fn_c_try_compile "$LINENO"; then : 1793 ac_hi=-1 ac_mid=-1 1794 while :; do 1795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1796 /* end confdefs.h. */ 1797 $4 1798 int 1799 main () 1800 { 1801 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1802 test_array [0] = 0; 1803 return test_array [0]; 1804 1805 ; 1806 return 0; 1807 } 1808 _ACEOF 1809 if ac_fn_c_try_compile "$LINENO"; then : 1810 ac_lo=$ac_mid; break 1811 else 1812 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1813 if test $ac_mid -le $ac_hi; then 1814 ac_lo= ac_hi= 1815 break 1816 fi 1817 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1818 fi 1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1820 done 1821 else 1822 ac_lo= ac_hi= 1823 fi 1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1825 fi 1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1827 # Binary search between lo and hi bounds. 1828 while test "x$ac_lo" != "x$ac_hi"; do 1829 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1831 /* end confdefs.h. */ 1832 $4 1833 int 1834 main () 1835 { 1836 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1837 test_array [0] = 0; 1838 return test_array [0]; 1839 1840 ; 1841 return 0; 1842 } 1843 _ACEOF 1844 if ac_fn_c_try_compile "$LINENO"; then : 1845 ac_hi=$ac_mid 1846 else 1847 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1848 fi 1849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1850 done 1851 case $ac_lo in #(( 1852 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 1853 '') ac_retval=1 ;; 1854 esac 1855 else 1856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1857 /* end confdefs.h. */ 1858 $4 1859 static long int longval () { return $2; } 1860 static unsigned long int ulongval () { return $2; } 1861 #include <stdio.h> 1862 #include <stdlib.h> 1863 int 1864 main () 1865 { 1866 1867 FILE *f = fopen ("conftest.val", "w"); 1868 if (! f) 1869 return 1; 1870 if (($2) < 0) 1871 { 1872 long int i = longval (); 1873 if (i != ($2)) 1874 return 1; 1875 fprintf (f, "%ld", i); 1876 } 1877 else 1878 { 1879 unsigned long int i = ulongval (); 1880 if (i != ($2)) 1881 return 1; 1882 fprintf (f, "%lu", i); 1883 } 1884 /* Do not output a trailing newline, as this causes \r\n confusion 1885 on some platforms. */ 1886 return ferror (f) || fclose (f) != 0; 1887 1888 ; 1889 return 0; 1890 } 1891 _ACEOF 1892 if ac_fn_c_try_run "$LINENO"; then : 1893 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 1894 else 1895 ac_retval=1 1896 fi 1897 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 1898 conftest.$ac_objext conftest.beam conftest.$ac_ext 1899 rm -f conftest.val 1900 1901 fi 1902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1903 as_fn_set_status $ac_retval 1904 1905 } # ac_fn_c_compute_int 1906 1907 # ac_fn_c_try_link LINENO 1908 # ----------------------- 1909 # Try to link conftest.$ac_ext, and return whether this succeeded. 1910 ac_fn_c_try_link () 1911 { 1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1913 rm -f conftest.$ac_objext conftest$ac_exeext 1914 if { { ac_try="$ac_link" 1915 case "(($ac_try" in 1916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1917 *) ac_try_echo=$ac_try;; 1918 esac 1919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1920 $as_echo "$ac_try_echo"; } >&5 1921 (eval "$ac_link") 2>conftest.err 1922 ac_status=$? 1923 if test -s conftest.err; then 1924 grep -v '^ *+' conftest.err >conftest.er1 1925 cat conftest.er1 >&5 1926 mv -f conftest.er1 conftest.err 1927 fi 1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1929 test $ac_status = 0; } && { 1930 test -z "$ac_c_werror_flag" || 1931 test ! -s conftest.err 1932 } && test -s conftest$ac_exeext && { 1933 test "$cross_compiling" = yes || 1934 test -x conftest$ac_exeext 1935 }; then : 1936 ac_retval=0 1937 else 1938 $as_echo "$as_me: failed program was:" >&5 1939 sed 's/^/| /' conftest.$ac_ext >&5 1940 1941 ac_retval=1 1942 fi 1943 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1944 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1945 # interfere with the next link command; also delete a directory that is 1946 # left behind by Apple's compiler. We do this before executing the actions. 1947 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1949 as_fn_set_status $ac_retval 1950 1951 } # ac_fn_c_try_link 1952 1953 # ac_fn_c_check_func LINENO FUNC VAR 1954 # ---------------------------------- 1955 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1956 ac_fn_c_check_func () 1957 { 1958 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1960 $as_echo_n "checking for $2... " >&6; } 1961 if eval \${$3+:} false; then : 1962 $as_echo_n "(cached) " >&6 1963 else 1964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1965 /* end confdefs.h. */ 1966 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1967 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1968 #define $2 innocuous_$2 1969 1970 /* System header to define __stub macros and hopefully few prototypes, 1971 which can conflict with char $2 (); below. 1972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1973 <limits.h> exists even on freestanding compilers. */ 1974 1975 #ifdef __STDC__ 1976 # include <limits.h> 1977 #else 1978 # include <assert.h> 1979 #endif 1980 1981 #undef $2 1982 1983 /* Override any GCC internal prototype to avoid an error. 1984 Use char because int might match the return type of a GCC 1985 builtin and then its argument prototype would still apply. */ 1986 #ifdef __cplusplus 1987 extern "C" 1988 #endif 1989 char $2 (); 1990 /* The GNU C library defines this for functions which it implements 1991 to always fail with ENOSYS. Some functions are actually named 1992 something starting with __ and the normal name is an alias. */ 1993 #if defined __stub_$2 || defined __stub___$2 1994 choke me 1995 #endif 1996 1997 int 1998 main () 1999 { 2000 return $2 (); 2001 ; 2002 return 0; 2003 } 2004 _ACEOF 2005 if ac_fn_c_try_link "$LINENO"; then : 2006 eval "$3=yes" 2007 else 2008 eval "$3=no" 2009 fi 2010 rm -f core conftest.err conftest.$ac_objext \ 2011 conftest$ac_exeext conftest.$ac_ext 2012 fi 2013 eval ac_res=\$$3 2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2015 $as_echo "$ac_res" >&6; } 2016 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2017 2018 } # ac_fn_c_check_func 2019 cat >config.log <<_ACEOF 971 2020 This file contains any messages produced by compilers while 972 2021 running configure, to aid debugging if configure makes a mistake. 973 2022 974 It was created by $as_me, which was975 generated by GNU Autoconf 2. 59. Invocation command line was2023 It was created by libsrtp $as_me 1.5.4, which was 2024 generated by GNU Autoconf 2.69. Invocation command line was 976 2025 977 2026 $ $0 $@ 978 2027 979 2028 _ACEOF 2029 exec 5>>config.log 980 2030 { 981 2031 cat <<_ASUNAME … … 996 2046 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 997 2047 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 998 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`2048 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 999 2049 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1000 2050 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1008 2058 IFS=$as_save_IFS 1009 2059 test -z "$as_dir" && as_dir=. 1010 echo "PATH: $as_dir" 1011 done 2060 $as_echo "PATH: $as_dir" 2061 done 2062 IFS=$as_save_IFS 1012 2063 1013 2064 } >&5 … … 1031 2082 ac_configure_args0= 1032 2083 ac_configure_args1= 1033 ac_sep=1034 2084 ac_must_keep_next=false 1035 2085 for ac_pass in 1 2 … … 1042 2092 | -silent | --silent | --silen | --sile | --sil) 1043 2093 continue ;; 1044 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1045 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;2094 *\'*) 2095 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1046 2096 esac 1047 2097 case $ac_pass in 1048 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;2098 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1049 2099 2) 1050 a c_configure_args1="$ac_configure_args1'$ac_arg'"2100 as_fn_append ac_configure_args1 " '$ac_arg'" 1051 2101 if test $ac_must_keep_next = true; then 1052 2102 ac_must_keep_next=false # Got value, back to normal. … … 1064 2114 esac 1065 2115 fi 1066 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1067 # Get rid of the leading space. 1068 ac_sep=" " 2116 as_fn_append ac_configure_args " '$ac_arg'" 1069 2117 ;; 1070 2118 esac 1071 2119 done 1072 2120 done 1073 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1074 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2121 { ac_configure_args0=; unset ac_configure_args0;} 2122 { ac_configure_args1=; unset ac_configure_args1;} 1075 2123 1076 2124 # When interrupted or exit'd, cleanup temporary files, and complete 1077 2125 # config.log. We remove comments because anyway the quotes in there 1078 2126 # would cause problems or look ugly. 1079 # WARNING: Be sure not to use single quotes in there, as some shells,1080 # such as our DU 5.0 friend, will then `close' the trap.2127 # WARNING: Use '\'' to represent an apostrophe within the trap. 2128 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1081 2129 trap 'exit_status=$? 1082 2130 # Save into config.log some information that might help in debugging. … … 1084 2132 echo 1085 2133 1086 cat <<\_ASBOX 1087 ## ---------------- ## 2134 $as_echo "## ---------------- ## 1088 2135 ## Cache variables. ## 1089 ## ---------------- ## 1090 _ASBOX 2136 ## ---------------- ##" 1091 2137 echo 1092 2138 # The following way of writing the cache mishandles newlines in values, 1093 { 2139 ( 2140 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2141 eval ac_val=\$$ac_var 2142 case $ac_val in #( 2143 *${as_nl}*) 2144 case $ac_var in #( 2145 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2146 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2147 esac 2148 case $ac_var in #( 2149 _ | IFS | as_nl) ;; #( 2150 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2151 *) { eval $ac_var=; unset $ac_var;} ;; 2152 esac ;; 2153 esac 2154 done 1094 2155 (set) 2>&1 | 1095 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1096 * ac_space=\ *)2156 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2157 *${as_nl}ac_space=\ *) 1097 2158 sed -n \ 1098 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1099 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 2159 "s/'\''/'\''\\\\'\'''\''/g; 2160 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2161 ;; #( 2162 *) 2163 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1100 2164 ;; 1101 *) 1102 sed -n \ 1103 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1104 ;; 1105 esac; 1106 } 2165 esac | 2166 sort 2167 ) 1107 2168 echo 1108 2169 1109 cat <<\_ASBOX 1110 ## ----------------- ## 2170 $as_echo "## ----------------- ## 1111 2171 ## Output variables. ## 1112 ## ----------------- ## 1113 _ASBOX 2172 ## ----------------- ##" 1114 2173 echo 1115 2174 for ac_var in $ac_subst_vars 1116 2175 do 1117 eval ac_val=$`echo $ac_var` 1118 echo "$ac_var='"'"'$ac_val'"'"'" 2176 eval ac_val=\$$ac_var 2177 case $ac_val in 2178 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2179 esac 2180 $as_echo "$ac_var='\''$ac_val'\''" 1119 2181 done | sort 1120 2182 echo 1121 2183 1122 2184 if test -n "$ac_subst_files"; then 1123 cat <<\_ASBOX 1124 ## ------------- ## 1125 ## Output files. ## 1126 ## ------------- ## 1127 _ASBOX 2185 $as_echo "## ------------------- ## 2186 ## File substitutions. ## 2187 ## ------------------- ##" 1128 2188 echo 1129 2189 for ac_var in $ac_subst_files 1130 2190 do 1131 eval ac_val=$`echo $ac_var` 1132 echo "$ac_var='"'"'$ac_val'"'"'" 2191 eval ac_val=\$$ac_var 2192 case $ac_val in 2193 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2194 esac 2195 $as_echo "$ac_var='\''$ac_val'\''" 1133 2196 done | sort 1134 2197 echo … … 1136 2199 1137 2200 if test -s confdefs.h; then 1138 cat <<\_ASBOX 1139 ## ----------- ## 2201 $as_echo "## ----------- ## 1140 2202 ## confdefs.h. ## 1141 ## ----------- ## 1142 _ASBOX 2203 ## ----------- ##" 1143 2204 echo 1144 sed "/^$/d" confdefs.h | sort2205 cat confdefs.h 1145 2206 echo 1146 2207 fi 1147 2208 test "$ac_signal" != 0 && 1148 echo "$as_me: caught signal $ac_signal"1149 echo "$as_me: exit $exit_status"2209 $as_echo "$as_me: caught signal $ac_signal" 2210 $as_echo "$as_me: exit $exit_status" 1150 2211 } >&5 1151 rm -f core *.core &&1152 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&2212 rm -f core *.core core.conftest.* && 2213 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1153 2214 exit $exit_status 1154 2215 ' 0 1155 2216 for ac_signal in 1 2 13 15; do 1156 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2217 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1157 2218 done 1158 2219 ac_signal=0 1159 2220 1160 2221 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1161 rm - rfconftest* confdefs.h1162 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1163 echo >confdefs.h2222 rm -f -r conftest* confdefs.h 2223 2224 $as_echo "/* confdefs.h */" > confdefs.h 1164 2225 1165 2226 # Predefined preprocessor variables. … … 1169 2230 _ACEOF 1170 2231 1171 1172 2232 cat >>confdefs.h <<_ACEOF 1173 2233 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1174 2234 _ACEOF 1175 2235 1176 1177 2236 cat >>confdefs.h <<_ACEOF 1178 2237 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1179 2238 _ACEOF 1180 2239 1181 1182 2240 cat >>confdefs.h <<_ACEOF 1183 2241 #define PACKAGE_STRING "$PACKAGE_STRING" 1184 2242 _ACEOF 1185 2243 1186 1187 2244 cat >>confdefs.h <<_ACEOF 1188 2245 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1189 2246 _ACEOF 1190 2247 2248 cat >>confdefs.h <<_ACEOF 2249 #define PACKAGE_URL "$PACKAGE_URL" 2250 _ACEOF 2251 1191 2252 1192 2253 # Let the site file select an alternate cache file if it wants to. 1193 # Prefer explicitly selected file to automatically selected ones. 1194 if test -z "$CONFIG_SITE"; then 1195 if test "x$prefix" != xNONE; then 1196 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1197 else 1198 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1199 fi 1200 fi 1201 for ac_site_file in $CONFIG_SITE; do 1202 if test -r "$ac_site_file"; then 1203 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1204 echo "$as_me: loading site script $ac_site_file" >&6;} 2254 # Prefer an explicitly selected file to automatically selected ones. 2255 ac_site_file1=NONE 2256 ac_site_file2=NONE 2257 if test -n "$CONFIG_SITE"; then 2258 # We do not want a PATH search for config.site. 2259 case $CONFIG_SITE in #(( 2260 -*) ac_site_file1=./$CONFIG_SITE;; 2261 */*) ac_site_file1=$CONFIG_SITE;; 2262 *) ac_site_file1=./$CONFIG_SITE;; 2263 esac 2264 elif test "x$prefix" != xNONE; then 2265 ac_site_file1=$prefix/share/config.site 2266 ac_site_file2=$prefix/etc/config.site 2267 else 2268 ac_site_file1=$ac_default_prefix/share/config.site 2269 ac_site_file2=$ac_default_prefix/etc/config.site 2270 fi 2271 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2272 do 2273 test "x$ac_site_file" = xNONE && continue 2274 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2275 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2276 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1205 2277 sed 's/^/| /' "$ac_site_file" >&5 1206 . "$ac_site_file" 2278 . "$ac_site_file" \ 2279 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2281 as_fn_error $? "failed to load site script $ac_site_file 2282 See \`config.log' for more details" "$LINENO" 5; } 1207 2283 fi 1208 2284 done 1209 2285 1210 2286 if test -r "$cache_file"; then 1211 # Some versions of bash will fail to source /dev/null (special 1212 # files actually), so we avoid doing that.1213 if test -f "$cache_file"; then1214 { echo "$as_me:$LINENO: loading cache $cache_file" >&51215 echo "$as_me: loading cache $cache_file" >&6;}2287 # Some versions of bash will fail to source /dev/null (special files 2288 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2289 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2290 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2291 $as_echo "$as_me: loading cache $cache_file" >&6;} 1216 2292 case $cache_file in 1217 [\\/]* | ?:[\\/]* ) . $cache_file;;1218 *) . ./$cache_file;;2293 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2294 *) . "./$cache_file";; 1219 2295 esac 1220 2296 fi 1221 2297 else 1222 { echo "$as_me:$LINENO: creating cache $cache_file" >&51223 echo "$as_me: creating cache $cache_file" >&6;}2298 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2299 $as_echo "$as_me: creating cache $cache_file" >&6;} 1224 2300 >$cache_file 1225 2301 fi … … 1228 2304 # value. 1229 2305 ac_cache_corrupted=false 1230 for ac_var in `(set) 2>&1 | 1231 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 2306 for ac_var in $ac_precious_vars; do 1232 2307 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1233 2308 eval ac_new_set=\$ac_env_${ac_var}_set 1234 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1235 eval ac_new_val= "\$ac_env_${ac_var}_value"2309 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2310 eval ac_new_val=\$ac_env_${ac_var}_value 1236 2311 case $ac_old_set,$ac_new_set in 1237 2312 set,) 1238 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51239 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2313 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2314 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1240 2315 ac_cache_corrupted=: ;; 1241 2316 ,set) 1242 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51243 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2317 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2318 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1244 2319 ac_cache_corrupted=: ;; 1245 2320 ,);; 1246 2321 *) 1247 2322 if test "x$ac_old_val" != "x$ac_new_val"; then 1248 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1249 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1250 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1251 echo "$as_me: former value: $ac_old_val" >&2;} 1252 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1253 echo "$as_me: current value: $ac_new_val" >&2;} 1254 ac_cache_corrupted=: 2323 # differences in whitespace do not lead to failure. 2324 ac_old_val_w=`echo x $ac_old_val` 2325 ac_new_val_w=`echo x $ac_new_val` 2326 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2327 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2328 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2329 ac_cache_corrupted=: 2330 else 2331 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2332 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2333 eval $ac_var=\$ac_old_val 2334 fi 2335 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2336 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2337 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2338 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1255 2339 fi;; 1256 2340 esac … … 1258 2342 if test "$ac_new_set" = set; then 1259 2343 case $ac_new_val in 1260 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1261 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2344 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1262 2345 *) ac_arg=$ac_var=$ac_new_val ;; 1263 2346 esac 1264 2347 case " $ac_configure_args " in 1265 2348 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1266 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2349 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1267 2350 esac 1268 2351 fi 1269 2352 done 1270 2353 if $ac_cache_corrupted; then 1271 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1272 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1273 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1274 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1275 { (exit 1); exit 1; }; } 1276 fi 2354 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2356 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2357 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2358 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2359 fi 2360 ## -------------------- ## 2361 ## Main body of script. ## 2362 ## -------------------- ## 1277 2363 1278 2364 ac_ext=c … … 1284 2370 1285 2371 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 2372 if test -z "$CFLAGS"; then 1304 CFLAGS="-Wall -O4 -fexpensive-optimizations -funroll-loops" 1305 fi 1306 1307 if test -n "$ac_tool_prefix"; then 1308 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 1309 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1310 echo "$as_me:$LINENO: checking for $ac_word" >&5 1311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1312 if test "${ac_cv_prog_RANLIB+set}" = set; then 1313 echo $ECHO_N "(cached) $ECHO_C" >&6 1314 else 1315 if test -n "$RANLIB"; then 1316 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1317 else 1318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1319 for as_dir in $PATH 1320 do 1321 IFS=$as_save_IFS 1322 test -z "$as_dir" && as_dir=. 1323 for ac_exec_ext in '' $ac_executable_extensions; do 1324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1325 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 1326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1327 break 2 1328 fi 1329 done 1330 done 1331 1332 fi 1333 fi 1334 RANLIB=$ac_cv_prog_RANLIB 1335 if test -n "$RANLIB"; then 1336 echo "$as_me:$LINENO: result: $RANLIB" >&5 1337 echo "${ECHO_T}$RANLIB" >&6 1338 else 1339 echo "$as_me:$LINENO: result: no" >&5 1340 echo "${ECHO_T}no" >&6 1341 fi 1342 1343 fi 1344 if test -z "$ac_cv_prog_RANLIB"; then 1345 ac_ct_RANLIB=$RANLIB 1346 # Extract the first word of "ranlib", so it can be a program name with args. 1347 set dummy ranlib; ac_word=$2 1348 echo "$as_me:$LINENO: checking for $ac_word" >&5 1349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1350 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 1351 echo $ECHO_N "(cached) $ECHO_C" >&6 1352 else 1353 if test -n "$ac_ct_RANLIB"; then 1354 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 1355 else 1356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1357 for as_dir in $PATH 1358 do 1359 IFS=$as_save_IFS 1360 test -z "$as_dir" && as_dir=. 1361 for ac_exec_ext in '' $ac_executable_extensions; do 1362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1363 ac_cv_prog_ac_ct_RANLIB="ranlib" 1364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1365 break 2 1366 fi 1367 done 1368 done 1369 1370 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 1371 fi 1372 fi 1373 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 1374 if test -n "$ac_ct_RANLIB"; then 1375 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 1376 echo "${ECHO_T}$ac_ct_RANLIB" >&6 1377 else 1378 echo "$as_me:$LINENO: result: no" >&5 1379 echo "${ECHO_T}no" >&6 1380 fi 1381 1382 RANLIB=$ac_ct_RANLIB 1383 else 1384 RANLIB="$ac_cv_prog_RANLIB" 1385 fi 2373 CFLAGS="-fPIC -Wall -O4 -fexpensive-optimizations -funroll-loops" 2374 fi 2375 2376 # expand $ac_aux_dir to an absolute path 2377 am_aux_dir=`cd $ac_aux_dir && pwd` 1386 2378 1387 2379 ac_ext=c … … 1393 2385 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1394 2386 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1395 echo "$as_me:$LINENO: checking for $ac_word" >&51396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1397 if test "${ac_cv_prog_CC+set}" = set; then1398 echo $ECHO_N "(cached) $ECHO_C" >&62387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2388 $as_echo_n "checking for $ac_word... " >&6; } 2389 if ${ac_cv_prog_CC+:} false; then : 2390 $as_echo_n "(cached) " >&6 1399 2391 else 1400 2392 if test -n "$CC"; then … … 1406 2398 IFS=$as_save_IFS 1407 2399 test -z "$as_dir" && as_dir=. 1408 for ac_exec_ext in '' $ac_executable_extensions; do1409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2400 for ac_exec_ext in '' $ac_executable_extensions; do 2401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1410 2402 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1412 2404 break 2 1413 2405 fi 1414 2406 done 1415 done 2407 done 2408 IFS=$as_save_IFS 1416 2409 1417 2410 fi … … 1419 2412 CC=$ac_cv_prog_CC 1420 2413 if test -n "$CC"; then 1421 echo "$as_me:$LINENO: result: $CC" >&5 1422 echo "${ECHO_T}$CC" >&6 1423 else 1424 echo "$as_me:$LINENO: result: no" >&5 1425 echo "${ECHO_T}no" >&6 1426 fi 2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2415 $as_echo "$CC" >&6; } 2416 else 2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2418 $as_echo "no" >&6; } 2419 fi 2420 1427 2421 1428 2422 fi … … 1431 2425 # Extract the first word of "gcc", so it can be a program name with args. 1432 2426 set dummy gcc; ac_word=$2 1433 echo "$as_me:$LINENO: checking for $ac_word" >&51434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1435 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then1436 echo $ECHO_N "(cached) $ECHO_C" >&62427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2428 $as_echo_n "checking for $ac_word... " >&6; } 2429 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2430 $as_echo_n "(cached) " >&6 1437 2431 else 1438 2432 if test -n "$ac_ct_CC"; then … … 1444 2438 IFS=$as_save_IFS 1445 2439 test -z "$as_dir" && as_dir=. 1446 for ac_exec_ext in '' $ac_executable_extensions; do1447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2440 for ac_exec_ext in '' $ac_executable_extensions; do 2441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1448 2442 ac_cv_prog_ac_ct_CC="gcc" 1449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1450 2444 break 2 1451 2445 fi 1452 2446 done 1453 done 2447 done 2448 IFS=$as_save_IFS 1454 2449 1455 2450 fi … … 1457 2452 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1458 2453 if test -n "$ac_ct_CC"; then 1459 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1460 echo "${ECHO_T}$ac_ct_CC" >&6 1461 else 1462 echo "$as_me:$LINENO: result: no" >&5 1463 echo "${ECHO_T}no" >&6 1464 fi 1465 1466 CC=$ac_ct_CC 2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2455 $as_echo "$ac_ct_CC" >&6; } 2456 else 2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2458 $as_echo "no" >&6; } 2459 fi 2460 2461 if test "x$ac_ct_CC" = x; then 2462 CC="" 2463 else 2464 case $cross_compiling:$ac_tool_warned in 2465 yes:) 2466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2468 ac_tool_warned=yes ;; 2469 esac 2470 CC=$ac_ct_CC 2471 fi 1467 2472 else 1468 2473 CC="$ac_cv_prog_CC" … … 1470 2475 1471 2476 if test -z "$CC"; then 1472 if test -n "$ac_tool_prefix"; then1473 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2477 if test -n "$ac_tool_prefix"; then 2478 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1474 2479 set dummy ${ac_tool_prefix}cc; ac_word=$2 1475 echo "$as_me:$LINENO: checking for $ac_word" >&51476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1477 if test "${ac_cv_prog_CC+set}" = set; then1478 echo $ECHO_N "(cached) $ECHO_C" >&62480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2481 $as_echo_n "checking for $ac_word... " >&6; } 2482 if ${ac_cv_prog_CC+:} false; then : 2483 $as_echo_n "(cached) " >&6 1479 2484 else 1480 2485 if test -n "$CC"; then … … 1486 2491 IFS=$as_save_IFS 1487 2492 test -z "$as_dir" && as_dir=. 1488 for ac_exec_ext in '' $ac_executable_extensions; do1489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2493 for ac_exec_ext in '' $ac_executable_extensions; do 2494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1490 2495 ac_cv_prog_CC="${ac_tool_prefix}cc" 1491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1492 2497 break 2 1493 2498 fi 1494 2499 done 1495 done 2500 done 2501 IFS=$as_save_IFS 1496 2502 1497 2503 fi … … 1499 2505 CC=$ac_cv_prog_CC 1500 2506 if test -n "$CC"; then 1501 echo "$as_me:$LINENO: result: $CC" >&5 1502 echo "${ECHO_T}$CC" >&6 1503 else 1504 echo "$as_me:$LINENO: result: no" >&5 1505 echo "${ECHO_T}no" >&6 1506 fi 1507 1508 fi 1509 if test -z "$ac_cv_prog_CC"; then 1510 ac_ct_CC=$CC 1511 # Extract the first word of "cc", so it can be a program name with args. 1512 set dummy cc; ac_word=$2 1513 echo "$as_me:$LINENO: checking for $ac_word" >&5 1514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1515 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1516 echo $ECHO_N "(cached) $ECHO_C" >&6 1517 else 1518 if test -n "$ac_ct_CC"; then 1519 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1520 else 1521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1522 for as_dir in $PATH 1523 do 1524 IFS=$as_save_IFS 1525 test -z "$as_dir" && as_dir=. 1526 for ac_exec_ext in '' $ac_executable_extensions; do 1527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1528 ac_cv_prog_ac_ct_CC="cc" 1529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1530 break 2 2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2508 $as_echo "$CC" >&6; } 2509 else 2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2511 $as_echo "no" >&6; } 2512 fi 2513 2514 1531 2515 fi 1532 done1533 done1534 1535 fi1536 fi1537 ac_ct_CC=$ac_cv_prog_ac_ct_CC1538 if test -n "$ac_ct_CC"; then1539 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51540 echo "${ECHO_T}$ac_ct_CC" >&61541 else1542 echo "$as_me:$LINENO: result: no" >&51543 echo "${ECHO_T}no" >&61544 fi1545 1546 CC=$ac_ct_CC1547 else1548 CC="$ac_cv_prog_CC"1549 fi1550 1551 2516 fi 1552 2517 if test -z "$CC"; then 1553 2518 # Extract the first word of "cc", so it can be a program name with args. 1554 2519 set dummy cc; ac_word=$2 1555 echo "$as_me:$LINENO: checking for $ac_word" >&51556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1557 if test "${ac_cv_prog_CC+set}" = set; then1558 echo $ECHO_N "(cached) $ECHO_C" >&62520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2521 $as_echo_n "checking for $ac_word... " >&6; } 2522 if ${ac_cv_prog_CC+:} false; then : 2523 $as_echo_n "(cached) " >&6 1559 2524 else 1560 2525 if test -n "$CC"; then … … 1567 2532 IFS=$as_save_IFS 1568 2533 test -z "$as_dir" && as_dir=. 1569 for ac_exec_ext in '' $ac_executable_extensions; do1570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2534 for ac_exec_ext in '' $ac_executable_extensions; do 2535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1571 2536 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1572 2537 ac_prog_rejected=yes … … 1574 2539 fi 1575 2540 ac_cv_prog_CC="cc" 1576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1577 2542 break 2 1578 2543 fi 1579 2544 done 1580 done 2545 done 2546 IFS=$as_save_IFS 1581 2547 1582 2548 if test $ac_prog_rejected = yes; then … … 1596 2562 CC=$ac_cv_prog_CC 1597 2563 if test -n "$CC"; then 1598 echo "$as_me:$LINENO: result: $CC" >&5 1599 echo "${ECHO_T}$CC" >&6 1600 else 1601 echo "$as_me:$LINENO: result: no" >&5 1602 echo "${ECHO_T}no" >&6 1603 fi 2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2565 $as_echo "$CC" >&6; } 2566 else 2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2568 $as_echo "no" >&6; } 2569 fi 2570 1604 2571 1605 2572 fi 1606 2573 if test -z "$CC"; then 1607 2574 if test -n "$ac_tool_prefix"; then 1608 for ac_prog in cl 2575 for ac_prog in cl.exe 1609 2576 do 1610 2577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1611 2578 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1612 echo "$as_me:$LINENO: checking for $ac_word" >&51613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1614 if test "${ac_cv_prog_CC+set}" = set; then1615 echo $ECHO_N "(cached) $ECHO_C" >&62579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2580 $as_echo_n "checking for $ac_word... " >&6; } 2581 if ${ac_cv_prog_CC+:} false; then : 2582 $as_echo_n "(cached) " >&6 1616 2583 else 1617 2584 if test -n "$CC"; then … … 1623 2590 IFS=$as_save_IFS 1624 2591 test -z "$as_dir" && as_dir=. 1625 for ac_exec_ext in '' $ac_executable_extensions; do1626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2592 for ac_exec_ext in '' $ac_executable_extensions; do 2593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1627 2594 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1629 2596 break 2 1630 2597 fi 1631 2598 done 1632 done 2599 done 2600 IFS=$as_save_IFS 1633 2601 1634 2602 fi … … 1636 2604 CC=$ac_cv_prog_CC 1637 2605 if test -n "$CC"; then 1638 echo "$as_me:$LINENO: result: $CC" >&5 1639 echo "${ECHO_T}$CC" >&6 1640 else 1641 echo "$as_me:$LINENO: result: no" >&5 1642 echo "${ECHO_T}no" >&6 1643 fi 2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2607 $as_echo "$CC" >&6; } 2608 else 2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2610 $as_echo "no" >&6; } 2611 fi 2612 1644 2613 1645 2614 test -n "$CC" && break … … 1648 2617 if test -z "$CC"; then 1649 2618 ac_ct_CC=$CC 1650 for ac_prog in cl 2619 for ac_prog in cl.exe 1651 2620 do 1652 2621 # Extract the first word of "$ac_prog", so it can be a program name with args. 1653 2622 set dummy $ac_prog; ac_word=$2 1654 echo "$as_me:$LINENO: checking for $ac_word" >&51655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1656 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then1657 echo $ECHO_N "(cached) $ECHO_C" >&62623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2624 $as_echo_n "checking for $ac_word... " >&6; } 2625 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2626 $as_echo_n "(cached) " >&6 1658 2627 else 1659 2628 if test -n "$ac_ct_CC"; then … … 1665 2634 IFS=$as_save_IFS 1666 2635 test -z "$as_dir" && as_dir=. 1667 for ac_exec_ext in '' $ac_executable_extensions; do1668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2636 for ac_exec_ext in '' $ac_executable_extensions; do 2637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1669 2638 ac_cv_prog_ac_ct_CC="$ac_prog" 1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1671 2640 break 2 1672 2641 fi 1673 2642 done 1674 done 2643 done 2644 IFS=$as_save_IFS 1675 2645 1676 2646 fi … … 1678 2648 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1679 2649 if test -n "$ac_ct_CC"; then 1680 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1681 echo "${ECHO_T}$ac_ct_CC" >&6 1682 else 1683 echo "$as_me:$LINENO: result: no" >&5 1684 echo "${ECHO_T}no" >&6 1685 fi 2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2651 $as_echo "$ac_ct_CC" >&6; } 2652 else 2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2654 $as_echo "no" >&6; } 2655 fi 2656 1686 2657 1687 2658 test -n "$ac_ct_CC" && break 1688 2659 done 1689 2660 1690 CC=$ac_ct_CC 1691 fi 1692 1693 fi 1694 1695 1696 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1697 See \`config.log' for more details." >&5 1698 echo "$as_me: error: no acceptable C compiler found in \$PATH 1699 See \`config.log' for more details." >&2;} 1700 { (exit 1); exit 1; }; } 2661 if test "x$ac_ct_CC" = x; then 2662 CC="" 2663 else 2664 case $cross_compiling:$ac_tool_warned in 2665 yes:) 2666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2668 ac_tool_warned=yes ;; 2669 esac 2670 CC=$ac_ct_CC 2671 fi 2672 fi 2673 2674 fi 2675 2676 2677 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2679 as_fn_error $? "no acceptable C compiler found in \$PATH 2680 See \`config.log' for more details" "$LINENO" 5; } 1701 2681 1702 2682 # Provide some information about the compiler. 1703 echo "$as_me:$LINENO:" \ 1704 "checking for C compiler version" >&5 1705 ac_compiler=`set X $ac_compile; echo $2` 1706 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1707 (eval $ac_compiler --version </dev/null >&5) 2>&5 2683 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2684 set X $ac_compile 2685 ac_compiler=$2 2686 for ac_option in --version -v -V -qversion; do 2687 { { ac_try="$ac_compiler $ac_option >&5" 2688 case "(($ac_try" in 2689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2690 *) ac_try_echo=$ac_try;; 2691 esac 2692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2693 $as_echo "$ac_try_echo"; } >&5 2694 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 1708 2695 ac_status=$? 1709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1710 (exit $ac_status); } 1711 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1712 (eval $ac_compiler -v </dev/null >&5) 2>&5 1713 ac_status=$? 1714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1715 (exit $ac_status); } 1716 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1717 (eval $ac_compiler -V </dev/null >&5) 2>&5 1718 ac_status=$? 1719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1720 (exit $ac_status); } 1721 1722 cat >conftest.$ac_ext <<_ACEOF 1723 /* confdefs.h. */ 1724 _ACEOF 1725 cat confdefs.h >>conftest.$ac_ext 1726 cat >>conftest.$ac_ext <<_ACEOF 2696 if test -s conftest.err; then 2697 sed '10a\ 2698 ... rest of stderr output deleted ... 2699 10q' conftest.err >conftest.er1 2700 cat conftest.er1 >&5 2701 fi 2702 rm -f conftest.er1 conftest.err 2703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2704 test $ac_status = 0; } 2705 done 2706 2707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1727 2708 /* end confdefs.h. */ 1728 2709 … … 1736 2717 _ACEOF 1737 2718 ac_clean_files_save=$ac_clean_files 1738 ac_clean_files="$ac_clean_files a.out a. exe b.out"2719 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1739 2720 # Try to create an executable without -o first, disregard a.out. 1740 2721 # It will help us diagnose broken compilers, and finding out an intuition 1741 2722 # of exeext. 1742 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1743 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1744 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1745 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1746 (eval $ac_link_default) 2>&5 2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2724 $as_echo_n "checking whether the C compiler works... " >&6; } 2725 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2726 2727 # The possible output files: 2728 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2729 2730 ac_rmfiles= 2731 for ac_file in $ac_files 2732 do 2733 case $ac_file in 2734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2735 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2736 esac 2737 done 2738 rm -f $ac_rmfiles 2739 2740 if { { ac_try="$ac_link_default" 2741 case "(($ac_try" in 2742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2743 *) ac_try_echo=$ac_try;; 2744 esac 2745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2746 $as_echo "$ac_try_echo"; } >&5 2747 (eval "$ac_link_default") 2>&5 1747 2748 ac_status=$? 1748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1749 (exit $ac_status); }; then 1750 # Find the output, starting from the most likely. This scheme is 1751 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1752 # resort. 1753 1754 # Be careful to initialize this variable, since it used to be cached. 1755 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1756 ac_cv_exeext= 1757 # b.out is created by i960 compilers. 1758 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2750 test $ac_status = 0; }; then : 2751 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2752 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2753 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2754 # so that the user can short-circuit this test for compilers unknown to 2755 # Autoconf. 2756 for ac_file in $ac_files '' 1759 2757 do 1760 2758 test -f "$ac_file" || continue 1761 2759 case $ac_file in 1762 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1763 ;; 1764 conftest.$ac_ext ) 1765 # This is the source file. 2760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1766 2761 ;; 1767 2762 [ab].out ) … … 1770 2765 break;; 1771 2766 *.* ) 1772 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1773 # FIXME: I believe we export ac_cv_exeext for Libtool, 1774 # but it would be cool to find out if it's true. Does anybody 1775 # maintain Libtool? --akim. 1776 export ac_cv_exeext 2767 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2768 then :; else 2769 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2770 fi 2771 # We set ac_cv_exeext here because the later test for it is not 2772 # safe: cross compilers may not add the suffix if given an `-o' 2773 # argument, so we may need to know it at that point already. 2774 # Even if this section looks crufty: it has the advantage of 2775 # actually working. 1777 2776 break;; 1778 2777 * ) … … 1780 2779 esac 1781 2780 done 1782 else 1783 echo "$as_me: failed program was:" >&5 2781 test "$ac_cv_exeext" = no && ac_cv_exeext= 2782 2783 else 2784 ac_file='' 2785 fi 2786 if test -z "$ac_file"; then : 2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2788 $as_echo "no" >&6; } 2789 $as_echo "$as_me: failed program was:" >&5 1784 2790 sed 's/^/| /' conftest.$ac_ext >&5 1785 2791 1786 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 1787 See \`config.log' for more details." >&5 1788 echo "$as_me: error: C compiler cannot create executables 1789 See \`config.log' for more details." >&2;} 1790 { (exit 77); exit 77; }; } 1791 fi 1792 2792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2794 as_fn_error 77 "C compiler cannot create executables 2795 See \`config.log' for more details" "$LINENO" 5; } 2796 else 2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2798 $as_echo "yes" >&6; } 2799 fi 2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2801 $as_echo_n "checking for C compiler default output file name... " >&6; } 2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2803 $as_echo "$ac_file" >&6; } 1793 2804 ac_exeext=$ac_cv_exeext 1794 echo "$as_me:$LINENO: result: $ac_file" >&5 1795 echo "${ECHO_T}$ac_file" >&6 1796 1797 # Check the compiler produces executables we can run. If not, either 1798 # the compiler is broken, or we cross compile. 1799 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1800 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1801 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1802 # If not cross compiling, check that we can run a simple program. 1803 if test "$cross_compiling" != yes; then 1804 if { ac_try='./$ac_file' 1805 { (eval echo "$as_me:$LINENO: \"$ac_try\"")>&51806 (eval $ac_try) 2>&52805 2806 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2807 ac_clean_files=$ac_clean_files_save 2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2809 $as_echo_n "checking for suffix of executables... " >&6; } 2810 if { { ac_try="$ac_link" 2811 case "(($ac_try" in 2812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2813 *) ac_try_echo=$ac_try;; 2814 esac 2815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2816 $as_echo "$ac_try_echo"; } >&5 2817 (eval "$ac_link") 2>&5 1807 2818 ac_status=$? 1808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1809 (exit $ac_status); }; }; then 1810 cross_compiling=no 1811 else 1812 if test "$cross_compiling" = maybe; then 1813 cross_compiling=yes 1814 else 1815 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1816 If you meant to cross compile, use \`--host'. 1817 See \`config.log' for more details." >&5 1818 echo "$as_me: error: cannot run C compiled programs. 1819 If you meant to cross compile, use \`--host'. 1820 See \`config.log' for more details." >&2;} 1821 { (exit 1); exit 1; }; } 1822 fi 1823 fi 1824 fi 1825 echo "$as_me:$LINENO: result: yes" >&5 1826 echo "${ECHO_T}yes" >&6 1827 1828 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1829 ac_clean_files=$ac_clean_files_save 1830 # Check the compiler produces executables we can run. If not, either 1831 # the compiler is broken, or we cross compile. 1832 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1833 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1834 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1835 echo "${ECHO_T}$cross_compiling" >&6 1836 1837 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1838 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1840 (eval $ac_link) 2>&5 1841 ac_status=$? 1842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1843 (exit $ac_status); }; then 2819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2820 test $ac_status = 0; }; then : 1844 2821 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1845 2822 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 1849 2826 test -f "$ac_file" || continue 1850 2827 case $ac_file in 1851 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2828 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 1852 2829 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1853 export ac_cv_exeext1854 2830 break;; 1855 2831 * ) break;; … … 1857 2833 done 1858 2834 else 1859 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1860 See \`config.log' for more details." >&5 1861 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1862 See \`config.log' for more details." >&2;} 1863 { (exit 1); exit 1; }; } 1864 fi 1865 1866 rm -f conftest$ac_cv_exeext 1867 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1868 echo "${ECHO_T}$ac_cv_exeext" >&6 2835 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2837 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2838 See \`config.log' for more details" "$LINENO" 5; } 2839 fi 2840 rm -f conftest conftest$ac_cv_exeext 2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2842 $as_echo "$ac_cv_exeext" >&6; } 1869 2843 1870 2844 rm -f conftest.$ac_ext 1871 2845 EXEEXT=$ac_cv_exeext 1872 2846 ac_exeext=$EXEEXT 1873 echo "$as_me:$LINENO: checking for suffix of object files" >&5 1874 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1875 if test "${ac_cv_objext+set}" = set; then 1876 echo $ECHO_N "(cached) $ECHO_C" >&6 1877 else 1878 cat >conftest.$ac_ext <<_ACEOF 1879 /* confdefs.h. */ 1880 _ACEOF 1881 cat confdefs.h >>conftest.$ac_ext 1882 cat >>conftest.$ac_ext <<_ACEOF 2847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1883 2848 /* end confdefs.h. */ 1884 2849 #include <stdio.h> 1885 2850 int 1886 2851 main () 1887 2852 { 2853 FILE *f = fopen ("conftest.out", "w"); 2854 return ferror (f) || fclose (f) != 0; 1888 2855 1889 2856 ; … … 1891 2858 } 1892 2859 _ACEOF 2860 ac_clean_files="$ac_clean_files conftest.out" 2861 # Check that the compiler produces executables we can run. If not, either 2862 # the compiler is broken, or we cross compile. 2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2864 $as_echo_n "checking whether we are cross compiling... " >&6; } 2865 if test "$cross_compiling" != yes; then 2866 { { ac_try="$ac_link" 2867 case "(($ac_try" in 2868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2869 *) ac_try_echo=$ac_try;; 2870 esac 2871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2872 $as_echo "$ac_try_echo"; } >&5 2873 (eval "$ac_link") 2>&5 2874 ac_status=$? 2875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2876 test $ac_status = 0; } 2877 if { ac_try='./conftest$ac_cv_exeext' 2878 { { case "(($ac_try" in 2879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2880 *) ac_try_echo=$ac_try;; 2881 esac 2882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2883 $as_echo "$ac_try_echo"; } >&5 2884 (eval "$ac_try") 2>&5 2885 ac_status=$? 2886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2887 test $ac_status = 0; }; }; then 2888 cross_compiling=no 2889 else 2890 if test "$cross_compiling" = maybe; then 2891 cross_compiling=yes 2892 else 2893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2895 as_fn_error $? "cannot run C compiled programs. 2896 If you meant to cross compile, use \`--host'. 2897 See \`config.log' for more details" "$LINENO" 5; } 2898 fi 2899 fi 2900 fi 2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2902 $as_echo "$cross_compiling" >&6; } 2903 2904 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2905 ac_clean_files=$ac_clean_files_save 2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2907 $as_echo_n "checking for suffix of object files... " >&6; } 2908 if ${ac_cv_objext+:} false; then : 2909 $as_echo_n "(cached) " >&6 2910 else 2911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2912 /* end confdefs.h. */ 2913 2914 int 2915 main () 2916 { 2917 2918 ; 2919 return 0; 2920 } 2921 _ACEOF 1893 2922 rm -f conftest.o conftest.obj 1894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1895 (eval $ac_compile) 2>&5 2923 if { { ac_try="$ac_compile" 2924 case "(($ac_try" in 2925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2926 *) ac_try_echo=$ac_try;; 2927 esac 2928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2929 $as_echo "$ac_try_echo"; } >&5 2930 (eval "$ac_compile") 2>&5 1896 2931 ac_status=$? 1897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1898 (exit $ac_status); }; then 1899 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2933 test $ac_status = 0; }; then : 2934 for ac_file in conftest.o conftest.obj conftest.*; do 2935 test -f "$ac_file" || continue; 1900 2936 case $ac_file in 1901 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2937 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 1902 2938 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1903 2939 break;; … … 1905 2941 done 1906 2942 else 1907 echo "$as_me: failed program was:" >&52943 $as_echo "$as_me: failed program was:" >&5 1908 2944 sed 's/^/| /' conftest.$ac_ext >&5 1909 2945 1910 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1911 See \`config.log' for more details." >&5 1912 echo "$as_me: error: cannot compute suffix of object files: cannot compile 1913 See \`config.log' for more details." >&2;} 1914 { (exit 1); exit 1; }; } 1915 fi 1916 2946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2948 as_fn_error $? "cannot compute suffix of object files: cannot compile 2949 See \`config.log' for more details" "$LINENO" 5; } 2950 fi 1917 2951 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1918 2952 fi 1919 echo "$as_me:$LINENO: result: $ac_cv_objext" >&51920 echo "${ECHO_T}$ac_cv_objext" >&6 2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2954 $as_echo "$ac_cv_objext" >&6; } 1921 2955 OBJEXT=$ac_cv_objext 1922 2956 ac_objext=$OBJEXT 1923 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 1924 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1925 if test "${ac_cv_c_compiler_gnu+set}" = set; then 1926 echo $ECHO_N "(cached) $ECHO_C" >&6 1927 else 1928 cat >conftest.$ac_ext <<_ACEOF 1929 /* confdefs.h. */ 1930 _ACEOF 1931 cat confdefs.h >>conftest.$ac_ext 1932 cat >>conftest.$ac_ext <<_ACEOF 2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2958 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2959 if ${ac_cv_c_compiler_gnu+:} false; then : 2960 $as_echo_n "(cached) " >&6 2961 else 2962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1933 2963 /* end confdefs.h. */ 1934 2964 … … 1944 2974 } 1945 2975 _ACEOF 1946 rm -f conftest.$ac_objext 1947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1948 (eval $ac_compile) 2>conftest.er1 1949 ac_status=$? 1950 grep -v '^ *+' conftest.er1 >conftest.err 1951 rm -f conftest.er1 1952 cat conftest.err >&5 1953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1954 (exit $ac_status); } && 1955 { ac_try='test -z "$ac_c_werror_flag" 1956 || test ! -s conftest.err' 1957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1958 (eval $ac_try) 2>&5 1959 ac_status=$? 1960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1961 (exit $ac_status); }; } && 1962 { ac_try='test -s conftest.$ac_objext' 1963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1964 (eval $ac_try) 2>&5 1965 ac_status=$? 1966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1967 (exit $ac_status); }; }; then 2976 if ac_fn_c_try_compile "$LINENO"; then : 1968 2977 ac_compiler_gnu=yes 1969 2978 else 1970 echo "$as_me: failed program was:" >&5 1971 sed 's/^/| /' conftest.$ac_ext >&5 1972 1973 ac_compiler_gnu=no 1974 fi 1975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2979 ac_compiler_gnu=no 2980 fi 2981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1976 2982 ac_cv_c_compiler_gnu=$ac_compiler_gnu 1977 2983 1978 2984 fi 1979 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 1980 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 1981 GCC=`test $ac_compiler_gnu = yes && echo yes` 2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2986 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2987 if test $ac_compiler_gnu = yes; then 2988 GCC=yes 2989 else 2990 GCC= 2991 fi 1982 2992 ac_test_CFLAGS=${CFLAGS+set} 1983 2993 ac_save_CFLAGS=$CFLAGS 1984 CFLAGS="-g" 1985 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 1986 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 1987 if test "${ac_cv_prog_cc_g+set}" = set; then 1988 echo $ECHO_N "(cached) $ECHO_C" >&6 1989 else 1990 cat >conftest.$ac_ext <<_ACEOF 1991 /* confdefs.h. */ 1992 _ACEOF 1993 cat confdefs.h >>conftest.$ac_ext 1994 cat >>conftest.$ac_ext <<_ACEOF 2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2995 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2996 if ${ac_cv_prog_cc_g+:} false; then : 2997 $as_echo_n "(cached) " >&6 2998 else 2999 ac_save_c_werror_flag=$ac_c_werror_flag 3000 ac_c_werror_flag=yes 3001 ac_cv_prog_cc_g=no 3002 CFLAGS="-g" 3003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1995 3004 /* end confdefs.h. */ 1996 3005 … … 2003 3012 } 2004 3013 _ACEOF 2005 rm -f conftest.$ac_objext 2006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2007 (eval $ac_compile) 2>conftest.er1 2008 ac_status=$? 2009 grep -v '^ *+' conftest.er1 >conftest.err 2010 rm -f conftest.er1 2011 cat conftest.err >&5 2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2013 (exit $ac_status); } && 2014 { ac_try='test -z "$ac_c_werror_flag" 2015 || test ! -s conftest.err' 2016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2017 (eval $ac_try) 2>&5 2018 ac_status=$? 2019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2020 (exit $ac_status); }; } && 2021 { ac_try='test -s conftest.$ac_objext' 2022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2023 (eval $ac_try) 2>&5 2024 ac_status=$? 2025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2026 (exit $ac_status); }; }; then 3014 if ac_fn_c_try_compile "$LINENO"; then : 2027 3015 ac_cv_prog_cc_g=yes 2028 3016 else 2029 echo "$as_me: failed program was:" >&5 2030 sed 's/^/| /' conftest.$ac_ext >&5 2031 2032 ac_cv_prog_cc_g=no 2033 fi 2034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2035 fi 2036 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2037 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3017 CFLAGS="" 3018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3019 /* end confdefs.h. */ 3020 3021 int 3022 main () 3023 { 3024 3025 ; 3026 return 0; 3027 } 3028 _ACEOF 3029 if ac_fn_c_try_compile "$LINENO"; then : 3030 3031 else 3032 ac_c_werror_flag=$ac_save_c_werror_flag 3033 CFLAGS="-g" 3034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3035 /* end confdefs.h. */ 3036 3037 int 3038 main () 3039 { 3040 3041 ; 3042 return 0; 3043 } 3044 _ACEOF 3045 if ac_fn_c_try_compile "$LINENO"; then : 3046 ac_cv_prog_cc_g=yes 3047 fi 3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3049 fi 3050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3051 fi 3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3053 ac_c_werror_flag=$ac_save_c_werror_flag 3054 fi 3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3056 $as_echo "$ac_cv_prog_cc_g" >&6; } 2038 3057 if test "$ac_test_CFLAGS" = set; then 2039 3058 CFLAGS=$ac_save_CFLAGS … … 2051 3070 fi 2052 3071 fi 2053 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52054 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2055 if test "${ac_cv_prog_cc_stdc+set}" = set; then2056 echo $ECHO_N "(cached) $ECHO_C" >&62057 else 2058 ac_cv_prog_cc_ stdc=no3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3073 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3074 if ${ac_cv_prog_cc_c89+:} false; then : 3075 $as_echo_n "(cached) " >&6 3076 else 3077 ac_cv_prog_cc_c89=no 2059 3078 ac_save_CC=$CC 2060 cat >conftest.$ac_ext <<_ACEOF 2061 /* confdefs.h. */ 2062 _ACEOF 2063 cat confdefs.h >>conftest.$ac_ext 2064 cat >>conftest.$ac_ext <<_ACEOF 3079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2065 3080 /* end confdefs.h. */ 2066 3081 #include <stdarg.h> 2067 3082 #include <stdio.h> 2068 #include <sys/types.h> 2069 #include <sys/stat.h> 3083 struct stat; 2070 3084 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2071 3085 struct buf { int x; }; … … 2090 3104 function prototypes and stuff, but not '\xHH' hex character constants. 2091 3105 These don't provoke an error unfortunately, instead are silently treated 2092 as 'x'. The following induces an error, until -std 1is added to get3106 as 'x'. The following induces an error, until -std is added to get 2093 3107 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2094 3108 array size at least. It's necessary to write '\x00'==0 to get something 2095 that's true only with -std 1. */3109 that's true only with -std. */ 2096 3110 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3111 3112 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3113 inside strings and character constants. */ 3114 #define FOO(x) 'x' 3115 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2097 3116 2098 3117 int test (int i, double x); … … 2110 3129 } 2111 3130 _ACEOF 2112 # Don't try gcc -ansi; that turns off useful extensions and 2113 # breaks some systems' header files. 2114 # AIX -qlanglvl=ansi 2115 # Ultrix and OSF/1 -std1 2116 # HP-UX 10.20 and later -Ae 2117 # HP-UX older versions -Aa -D_HPUX_SOURCE 2118 # SVR4 -Xc -D__EXTENSIONS__ 2119 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3131 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3132 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2120 3133 do 2121 3134 CC="$ac_save_CC $ac_arg" 2122 rm -f conftest.$ac_objext 2123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2124 (eval $ac_compile) 2>conftest.er1 2125 ac_status=$? 2126 grep -v '^ *+' conftest.er1 >conftest.err 2127 rm -f conftest.er1 2128 cat conftest.err >&5 2129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2130 (exit $ac_status); } && 2131 { ac_try='test -z "$ac_c_werror_flag" 2132 || test ! -s conftest.err' 2133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2134 (eval $ac_try) 2>&5 2135 ac_status=$? 2136 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2137 (exit $ac_status); }; } && 2138 { ac_try='test -s conftest.$ac_objext' 2139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2140 (eval $ac_try) 2>&5 2141 ac_status=$? 2142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2143 (exit $ac_status); }; }; then 2144 ac_cv_prog_cc_stdc=$ac_arg 2145 break 2146 else 2147 echo "$as_me: failed program was:" >&5 2148 sed 's/^/| /' conftest.$ac_ext >&5 2149 2150 fi 2151 rm -f conftest.err conftest.$ac_objext 3135 if ac_fn_c_try_compile "$LINENO"; then : 3136 ac_cv_prog_cc_c89=$ac_arg 3137 fi 3138 rm -f core conftest.err conftest.$ac_objext 3139 test "x$ac_cv_prog_cc_c89" != "xno" && break 2152 3140 done 2153 rm -f conftest.$ac_ext conftest.$ac_objext3141 rm -f conftest.$ac_ext 2154 3142 CC=$ac_save_CC 2155 3143 2156 3144 fi 2157 2158 case "x$ac_cv_prog_cc_stdc" in 2159 x|xno) 2160 echo "$as_me:$LINENO: result: none needed" >&5 2161 echo "${ECHO_T}none needed" >&6 ;; 3145 # AC_CACHE_VAL 3146 case "x$ac_cv_prog_cc_c89" in 3147 x) 3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3149 $as_echo "none needed" >&6; } ;; 3150 xno) 3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3152 $as_echo "unsupported" >&6; } ;; 2162 3153 *) 2163 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&52164 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2165 CC="$CC $ac_cv_prog_cc_stdc";;3154 CC="$CC $ac_cv_prog_cc_c89" 3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3156 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2166 3157 esac 2167 2168 # Some people use a C++ compiler to compile C. Since we use `exit', 2169 # in C++ we need to declare it. In case someone uses the same compiler 2170 # for both compiling C and C++ we need to have the C++ compiler decide 2171 # the declaration of exit, since it's the most demanding environment. 2172 cat >conftest.$ac_ext <<_ACEOF 2173 #ifndef __cplusplus 2174 choke me 2175 #endif 2176 _ACEOF 2177 rm -f conftest.$ac_objext 2178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2179 (eval $ac_compile) 2>conftest.er1 2180 ac_status=$? 2181 grep -v '^ *+' conftest.er1 >conftest.err 2182 rm -f conftest.er1 2183 cat conftest.err >&5 2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2185 (exit $ac_status); } && 2186 { ac_try='test -z "$ac_c_werror_flag" 2187 || test ! -s conftest.err' 2188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2189 (eval $ac_try) 2>&5 2190 ac_status=$? 2191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2192 (exit $ac_status); }; } && 2193 { ac_try='test -s conftest.$ac_objext' 2194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2195 (eval $ac_try) 2>&5 2196 ac_status=$? 2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2198 (exit $ac_status); }; }; then 2199 for ac_declaration in \ 2200 '' \ 2201 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2202 'extern "C" void std::exit (int); using std::exit;' \ 2203 'extern "C" void exit (int) throw ();' \ 2204 'extern "C" void exit (int);' \ 2205 'void exit (int);' 2206 do 2207 cat >conftest.$ac_ext <<_ACEOF 2208 /* confdefs.h. */ 2209 _ACEOF 2210 cat confdefs.h >>conftest.$ac_ext 2211 cat >>conftest.$ac_ext <<_ACEOF 2212 /* end confdefs.h. */ 2213 $ac_declaration 2214 #include <stdlib.h> 2215 int 2216 main () 2217 { 2218 exit (42); 2219 ; 2220 return 0; 2221 } 2222 _ACEOF 2223 rm -f conftest.$ac_objext 2224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2225 (eval $ac_compile) 2>conftest.er1 2226 ac_status=$? 2227 grep -v '^ *+' conftest.er1 >conftest.err 2228 rm -f conftest.er1 2229 cat conftest.err >&5 2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2231 (exit $ac_status); } && 2232 { ac_try='test -z "$ac_c_werror_flag" 2233 || test ! -s conftest.err' 2234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2235 (eval $ac_try) 2>&5 2236 ac_status=$? 2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2238 (exit $ac_status); }; } && 2239 { ac_try='test -s conftest.$ac_objext' 2240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2241 (eval $ac_try) 2>&5 2242 ac_status=$? 2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2244 (exit $ac_status); }; }; then 2245 : 2246 else 2247 echo "$as_me: failed program was:" >&5 2248 sed 's/^/| /' conftest.$ac_ext >&5 2249 2250 continue 2251 fi 2252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2253 cat >conftest.$ac_ext <<_ACEOF 2254 /* confdefs.h. */ 2255 _ACEOF 2256 cat confdefs.h >>conftest.$ac_ext 2257 cat >>conftest.$ac_ext <<_ACEOF 2258 /* end confdefs.h. */ 2259 $ac_declaration 2260 int 2261 main () 2262 { 2263 exit (42); 2264 ; 2265 return 0; 2266 } 2267 _ACEOF 2268 rm -f conftest.$ac_objext 2269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2270 (eval $ac_compile) 2>conftest.er1 2271 ac_status=$? 2272 grep -v '^ *+' conftest.er1 >conftest.err 2273 rm -f conftest.er1 2274 cat conftest.err >&5 2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2276 (exit $ac_status); } && 2277 { ac_try='test -z "$ac_c_werror_flag" 2278 || test ! -s conftest.err' 2279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2280 (eval $ac_try) 2>&5 2281 ac_status=$? 2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2283 (exit $ac_status); }; } && 2284 { ac_try='test -s conftest.$ac_objext' 2285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2286 (eval $ac_try) 2>&5 2287 ac_status=$? 2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2289 (exit $ac_status); }; }; then 2290 break 2291 else 2292 echo "$as_me: failed program was:" >&5 2293 sed 's/^/| /' conftest.$ac_ext >&5 2294 2295 fi 2296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2297 done 2298 rm -f conftest* 2299 if test -n "$ac_declaration"; then 2300 echo '#ifdef __cplusplus' >>confdefs.h 2301 echo $ac_declaration >>confdefs.h 2302 echo '#endif' >>confdefs.h 2303 fi 2304 2305 else 2306 echo "$as_me: failed program was:" >&5 2307 sed 's/^/| /' conftest.$ac_ext >&5 2308 2309 fi 2310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3158 if test "x$ac_cv_prog_cc_c89" != xno; then : 3159 3160 fi 3161 2311 3162 ac_ext=c 2312 3163 ac_cpp='$CPP $CPPFLAGS' … … 2315 3166 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2316 3167 3168 3169 if test -n "$ac_tool_prefix"; then 3170 for ac_prog in ar lib "link -lib" 3171 do 3172 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3173 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3175 $as_echo_n "checking for $ac_word... " >&6; } 3176 if ${ac_cv_prog_AR+:} false; then : 3177 $as_echo_n "(cached) " >&6 3178 else 3179 if test -n "$AR"; then 3180 ac_cv_prog_AR="$AR" # Let the user override the test. 3181 else 3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3183 for as_dir in $PATH 3184 do 3185 IFS=$as_save_IFS 3186 test -z "$as_dir" && as_dir=. 3187 for ac_exec_ext in '' $ac_executable_extensions; do 3188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3189 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 3190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3191 break 2 3192 fi 3193 done 3194 done 3195 IFS=$as_save_IFS 3196 3197 fi 3198 fi 3199 AR=$ac_cv_prog_AR 3200 if test -n "$AR"; then 3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 3202 $as_echo "$AR" >&6; } 3203 else 3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3205 $as_echo "no" >&6; } 3206 fi 3207 3208 3209 test -n "$AR" && break 3210 done 3211 fi 3212 if test -z "$AR"; then 3213 ac_ct_AR=$AR 3214 for ac_prog in ar lib "link -lib" 3215 do 3216 # Extract the first word of "$ac_prog", so it can be a program name with args. 3217 set dummy $ac_prog; ac_word=$2 3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3219 $as_echo_n "checking for $ac_word... " >&6; } 3220 if ${ac_cv_prog_ac_ct_AR+:} false; then : 3221 $as_echo_n "(cached) " >&6 3222 else 3223 if test -n "$ac_ct_AR"; then 3224 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 3225 else 3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3227 for as_dir in $PATH 3228 do 3229 IFS=$as_save_IFS 3230 test -z "$as_dir" && as_dir=. 3231 for ac_exec_ext in '' $ac_executable_extensions; do 3232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3233 ac_cv_prog_ac_ct_AR="$ac_prog" 3234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3235 break 2 3236 fi 3237 done 3238 done 3239 IFS=$as_save_IFS 3240 3241 fi 3242 fi 3243 ac_ct_AR=$ac_cv_prog_ac_ct_AR 3244 if test -n "$ac_ct_AR"; then 3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 3246 $as_echo "$ac_ct_AR" >&6; } 3247 else 3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3249 $as_echo "no" >&6; } 3250 fi 3251 3252 3253 test -n "$ac_ct_AR" && break 3254 done 3255 3256 if test "x$ac_ct_AR" = x; then 3257 AR="false" 3258 else 3259 case $cross_compiling:$ac_tool_warned in 3260 yes:) 3261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3263 ac_tool_warned=yes ;; 3264 esac 3265 AR=$ac_ct_AR 3266 fi 3267 fi 3268 3269 : ${AR=ar} 3270 3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 3272 $as_echo_n "checking the archiver ($AR) interface... " >&6; } 3273 if ${am_cv_ar_interface+:} false; then : 3274 $as_echo_n "(cached) " >&6 3275 else 3276 ac_ext=c 3277 ac_cpp='$CPP $CPPFLAGS' 3278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3280 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3281 3282 am_cv_ar_interface=ar 3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3284 /* end confdefs.h. */ 3285 int some_variable = 0; 3286 _ACEOF 3287 if ac_fn_c_try_compile "$LINENO"; then : 3288 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' 3289 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 3290 (eval $am_ar_try) 2>&5 3291 ac_status=$? 3292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3293 test $ac_status = 0; } 3294 if test "$ac_status" -eq 0; then 3295 am_cv_ar_interface=ar 3296 else 3297 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' 3298 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 3299 (eval $am_ar_try) 2>&5 3300 ac_status=$? 3301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3302 test $ac_status = 0; } 3303 if test "$ac_status" -eq 0; then 3304 am_cv_ar_interface=lib 3305 else 3306 am_cv_ar_interface=unknown 3307 fi 3308 fi 3309 rm -f conftest.lib libconftest.a 3310 3311 fi 3312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3313 ac_ext=c 3314 ac_cpp='$CPP $CPPFLAGS' 3315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3317 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3318 3319 fi 3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 3321 $as_echo "$am_cv_ar_interface" >&6; } 3322 3323 case $am_cv_ar_interface in 3324 ar) 3325 ;; 3326 lib) 3327 # Microsoft lib, so override with the ar-lib wrapper script. 3328 # FIXME: It is wrong to rewrite AR. 3329 # But if we don't then we get into trouble of one sort or another. 3330 # A longer-term fix would be to have automake use am__AR in this case, 3331 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 3332 # similar. 3333 AR="$am_aux_dir/ar-lib $AR" 3334 ;; 3335 unknown) 3336 as_fn_error $? "could not determine $AR interface" "$LINENO" 5 3337 ;; 3338 esac 3339 3340 if test -n "$ac_tool_prefix"; then 3341 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3342 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3344 $as_echo_n "checking for $ac_word... " >&6; } 3345 if ${ac_cv_prog_RANLIB+:} false; then : 3346 $as_echo_n "(cached) " >&6 3347 else 3348 if test -n "$RANLIB"; then 3349 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3350 else 3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3352 for as_dir in $PATH 3353 do 3354 IFS=$as_save_IFS 3355 test -z "$as_dir" && as_dir=. 3356 for ac_exec_ext in '' $ac_executable_extensions; do 3357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3358 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3360 break 2 3361 fi 3362 done 3363 done 3364 IFS=$as_save_IFS 3365 3366 fi 3367 fi 3368 RANLIB=$ac_cv_prog_RANLIB 3369 if test -n "$RANLIB"; then 3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3371 $as_echo "$RANLIB" >&6; } 3372 else 3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3374 $as_echo "no" >&6; } 3375 fi 3376 3377 3378 fi 3379 if test -z "$ac_cv_prog_RANLIB"; then 3380 ac_ct_RANLIB=$RANLIB 3381 # Extract the first word of "ranlib", so it can be a program name with args. 3382 set dummy ranlib; ac_word=$2 3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3384 $as_echo_n "checking for $ac_word... " >&6; } 3385 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 3386 $as_echo_n "(cached) " >&6 3387 else 3388 if test -n "$ac_ct_RANLIB"; then 3389 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3390 else 3391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3392 for as_dir in $PATH 3393 do 3394 IFS=$as_save_IFS 3395 test -z "$as_dir" && as_dir=. 3396 for ac_exec_ext in '' $ac_executable_extensions; do 3397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3398 ac_cv_prog_ac_ct_RANLIB="ranlib" 3399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3400 break 2 3401 fi 3402 done 3403 done 3404 IFS=$as_save_IFS 3405 3406 fi 3407 fi 3408 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3409 if test -n "$ac_ct_RANLIB"; then 3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 3411 $as_echo "$ac_ct_RANLIB" >&6; } 3412 else 3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3414 $as_echo "no" >&6; } 3415 fi 3416 3417 if test "x$ac_ct_RANLIB" = x; then 3418 RANLIB=":" 3419 else 3420 case $cross_compiling:$ac_tool_warned in 3421 yes:) 3422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3424 ac_tool_warned=yes ;; 3425 esac 3426 RANLIB=$ac_ct_RANLIB 3427 fi 3428 else 3429 RANLIB="$ac_cv_prog_RANLIB" 3430 fi 3431 3432 ac_ext=c 3433 ac_cpp='$CPP $CPPFLAGS' 3434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3436 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3437 if test -n "$ac_tool_prefix"; then 3438 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3439 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3441 $as_echo_n "checking for $ac_word... " >&6; } 3442 if ${ac_cv_prog_CC+:} false; then : 3443 $as_echo_n "(cached) " >&6 3444 else 3445 if test -n "$CC"; then 3446 ac_cv_prog_CC="$CC" # Let the user override the test. 3447 else 3448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3449 for as_dir in $PATH 3450 do 3451 IFS=$as_save_IFS 3452 test -z "$as_dir" && as_dir=. 3453 for ac_exec_ext in '' $ac_executable_extensions; do 3454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3455 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3457 break 2 3458 fi 3459 done 3460 done 3461 IFS=$as_save_IFS 3462 3463 fi 3464 fi 3465 CC=$ac_cv_prog_CC 3466 if test -n "$CC"; then 3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3468 $as_echo "$CC" >&6; } 3469 else 3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3471 $as_echo "no" >&6; } 3472 fi 3473 3474 3475 fi 3476 if test -z "$ac_cv_prog_CC"; then 3477 ac_ct_CC=$CC 3478 # Extract the first word of "gcc", so it can be a program name with args. 3479 set dummy gcc; ac_word=$2 3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3481 $as_echo_n "checking for $ac_word... " >&6; } 3482 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3483 $as_echo_n "(cached) " >&6 3484 else 3485 if test -n "$ac_ct_CC"; then 3486 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3487 else 3488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3489 for as_dir in $PATH 3490 do 3491 IFS=$as_save_IFS 3492 test -z "$as_dir" && as_dir=. 3493 for ac_exec_ext in '' $ac_executable_extensions; do 3494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3495 ac_cv_prog_ac_ct_CC="gcc" 3496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3497 break 2 3498 fi 3499 done 3500 done 3501 IFS=$as_save_IFS 3502 3503 fi 3504 fi 3505 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3506 if test -n "$ac_ct_CC"; then 3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3508 $as_echo "$ac_ct_CC" >&6; } 3509 else 3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3511 $as_echo "no" >&6; } 3512 fi 3513 3514 if test "x$ac_ct_CC" = x; then 3515 CC="" 3516 else 3517 case $cross_compiling:$ac_tool_warned in 3518 yes:) 3519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3521 ac_tool_warned=yes ;; 3522 esac 3523 CC=$ac_ct_CC 3524 fi 3525 else 3526 CC="$ac_cv_prog_CC" 3527 fi 3528 3529 if test -z "$CC"; then 3530 if test -n "$ac_tool_prefix"; then 3531 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3532 set dummy ${ac_tool_prefix}cc; ac_word=$2 3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3534 $as_echo_n "checking for $ac_word... " >&6; } 3535 if ${ac_cv_prog_CC+:} false; then : 3536 $as_echo_n "(cached) " >&6 3537 else 3538 if test -n "$CC"; then 3539 ac_cv_prog_CC="$CC" # Let the user override the test. 3540 else 3541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3542 for as_dir in $PATH 3543 do 3544 IFS=$as_save_IFS 3545 test -z "$as_dir" && as_dir=. 3546 for ac_exec_ext in '' $ac_executable_extensions; do 3547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3548 ac_cv_prog_CC="${ac_tool_prefix}cc" 3549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3550 break 2 3551 fi 3552 done 3553 done 3554 IFS=$as_save_IFS 3555 3556 fi 3557 fi 3558 CC=$ac_cv_prog_CC 3559 if test -n "$CC"; then 3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3561 $as_echo "$CC" >&6; } 3562 else 3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3564 $as_echo "no" >&6; } 3565 fi 3566 3567 3568 fi 3569 fi 3570 if test -z "$CC"; then 3571 # Extract the first word of "cc", so it can be a program name with args. 3572 set dummy cc; ac_word=$2 3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3574 $as_echo_n "checking for $ac_word... " >&6; } 3575 if ${ac_cv_prog_CC+:} false; then : 3576 $as_echo_n "(cached) " >&6 3577 else 3578 if test -n "$CC"; then 3579 ac_cv_prog_CC="$CC" # Let the user override the test. 3580 else 3581 ac_prog_rejected=no 3582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3583 for as_dir in $PATH 3584 do 3585 IFS=$as_save_IFS 3586 test -z "$as_dir" && as_dir=. 3587 for ac_exec_ext in '' $ac_executable_extensions; do 3588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3589 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3590 ac_prog_rejected=yes 3591 continue 3592 fi 3593 ac_cv_prog_CC="cc" 3594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3595 break 2 3596 fi 3597 done 3598 done 3599 IFS=$as_save_IFS 3600 3601 if test $ac_prog_rejected = yes; then 3602 # We found a bogon in the path, so make sure we never use it. 3603 set dummy $ac_cv_prog_CC 3604 shift 3605 if test $# != 0; then 3606 # We chose a different compiler from the bogus one. 3607 # However, it has the same basename, so the bogon will be chosen 3608 # first if we set CC to just the basename; use the full file name. 3609 shift 3610 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3611 fi 3612 fi 3613 fi 3614 fi 3615 CC=$ac_cv_prog_CC 3616 if test -n "$CC"; then 3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3618 $as_echo "$CC" >&6; } 3619 else 3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3621 $as_echo "no" >&6; } 3622 fi 3623 3624 3625 fi 3626 if test -z "$CC"; then 3627 if test -n "$ac_tool_prefix"; then 3628 for ac_prog in cl.exe 3629 do 3630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3633 $as_echo_n "checking for $ac_word... " >&6; } 3634 if ${ac_cv_prog_CC+:} false; then : 3635 $as_echo_n "(cached) " >&6 3636 else 3637 if test -n "$CC"; then 3638 ac_cv_prog_CC="$CC" # Let the user override the test. 3639 else 3640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3641 for as_dir in $PATH 3642 do 3643 IFS=$as_save_IFS 3644 test -z "$as_dir" && as_dir=. 3645 for ac_exec_ext in '' $ac_executable_extensions; do 3646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3647 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3649 break 2 3650 fi 3651 done 3652 done 3653 IFS=$as_save_IFS 3654 3655 fi 3656 fi 3657 CC=$ac_cv_prog_CC 3658 if test -n "$CC"; then 3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3660 $as_echo "$CC" >&6; } 3661 else 3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3663 $as_echo "no" >&6; } 3664 fi 3665 3666 3667 test -n "$CC" && break 3668 done 3669 fi 3670 if test -z "$CC"; then 3671 ac_ct_CC=$CC 3672 for ac_prog in cl.exe 3673 do 3674 # Extract the first word of "$ac_prog", so it can be a program name with args. 3675 set dummy $ac_prog; ac_word=$2 3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3677 $as_echo_n "checking for $ac_word... " >&6; } 3678 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3679 $as_echo_n "(cached) " >&6 3680 else 3681 if test -n "$ac_ct_CC"; then 3682 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3683 else 3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3685 for as_dir in $PATH 3686 do 3687 IFS=$as_save_IFS 3688 test -z "$as_dir" && as_dir=. 3689 for ac_exec_ext in '' $ac_executable_extensions; do 3690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3691 ac_cv_prog_ac_ct_CC="$ac_prog" 3692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3693 break 2 3694 fi 3695 done 3696 done 3697 IFS=$as_save_IFS 3698 3699 fi 3700 fi 3701 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3702 if test -n "$ac_ct_CC"; then 3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3704 $as_echo "$ac_ct_CC" >&6; } 3705 else 3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3707 $as_echo "no" >&6; } 3708 fi 3709 3710 3711 test -n "$ac_ct_CC" && break 3712 done 3713 3714 if test "x$ac_ct_CC" = x; then 3715 CC="" 3716 else 3717 case $cross_compiling:$ac_tool_warned in 3718 yes:) 3719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3721 ac_tool_warned=yes ;; 3722 esac 3723 CC=$ac_ct_CC 3724 fi 3725 fi 3726 3727 fi 3728 3729 3730 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3732 as_fn_error $? "no acceptable C compiler found in \$PATH 3733 See \`config.log' for more details" "$LINENO" 5; } 3734 3735 # Provide some information about the compiler. 3736 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3737 set X $ac_compile 3738 ac_compiler=$2 3739 for ac_option in --version -v -V -qversion; do 3740 { { ac_try="$ac_compiler $ac_option >&5" 3741 case "(($ac_try" in 3742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3743 *) ac_try_echo=$ac_try;; 3744 esac 3745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3746 $as_echo "$ac_try_echo"; } >&5 3747 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3748 ac_status=$? 3749 if test -s conftest.err; then 3750 sed '10a\ 3751 ... rest of stderr output deleted ... 3752 10q' conftest.err >conftest.er1 3753 cat conftest.er1 >&5 3754 fi 3755 rm -f conftest.er1 conftest.err 3756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3757 test $ac_status = 0; } 3758 done 3759 3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3761 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3762 if ${ac_cv_c_compiler_gnu+:} false; then : 3763 $as_echo_n "(cached) " >&6 3764 else 3765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3766 /* end confdefs.h. */ 3767 3768 int 3769 main () 3770 { 3771 #ifndef __GNUC__ 3772 choke me 3773 #endif 3774 3775 ; 3776 return 0; 3777 } 3778 _ACEOF 3779 if ac_fn_c_try_compile "$LINENO"; then : 3780 ac_compiler_gnu=yes 3781 else 3782 ac_compiler_gnu=no 3783 fi 3784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3785 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3786 3787 fi 3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3789 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3790 if test $ac_compiler_gnu = yes; then 3791 GCC=yes 3792 else 3793 GCC= 3794 fi 3795 ac_test_CFLAGS=${CFLAGS+set} 3796 ac_save_CFLAGS=$CFLAGS 3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3798 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3799 if ${ac_cv_prog_cc_g+:} false; then : 3800 $as_echo_n "(cached) " >&6 3801 else 3802 ac_save_c_werror_flag=$ac_c_werror_flag 3803 ac_c_werror_flag=yes 3804 ac_cv_prog_cc_g=no 3805 CFLAGS="-g" 3806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3807 /* end confdefs.h. */ 3808 3809 int 3810 main () 3811 { 3812 3813 ; 3814 return 0; 3815 } 3816 _ACEOF 3817 if ac_fn_c_try_compile "$LINENO"; then : 3818 ac_cv_prog_cc_g=yes 3819 else 3820 CFLAGS="" 3821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3822 /* end confdefs.h. */ 3823 3824 int 3825 main () 3826 { 3827 3828 ; 3829 return 0; 3830 } 3831 _ACEOF 3832 if ac_fn_c_try_compile "$LINENO"; then : 3833 3834 else 3835 ac_c_werror_flag=$ac_save_c_werror_flag 3836 CFLAGS="-g" 3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3838 /* end confdefs.h. */ 3839 3840 int 3841 main () 3842 { 3843 3844 ; 3845 return 0; 3846 } 3847 _ACEOF 3848 if ac_fn_c_try_compile "$LINENO"; then : 3849 ac_cv_prog_cc_g=yes 3850 fi 3851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3852 fi 3853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3854 fi 3855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3856 ac_c_werror_flag=$ac_save_c_werror_flag 3857 fi 3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3859 $as_echo "$ac_cv_prog_cc_g" >&6; } 3860 if test "$ac_test_CFLAGS" = set; then 3861 CFLAGS=$ac_save_CFLAGS 3862 elif test $ac_cv_prog_cc_g = yes; then 3863 if test "$GCC" = yes; then 3864 CFLAGS="-g -O2" 3865 else 3866 CFLAGS="-g" 3867 fi 3868 else 3869 if test "$GCC" = yes; then 3870 CFLAGS="-O2" 3871 else 3872 CFLAGS= 3873 fi 3874 fi 3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3876 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3877 if ${ac_cv_prog_cc_c89+:} false; then : 3878 $as_echo_n "(cached) " >&6 3879 else 3880 ac_cv_prog_cc_c89=no 3881 ac_save_CC=$CC 3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3883 /* end confdefs.h. */ 3884 #include <stdarg.h> 3885 #include <stdio.h> 3886 struct stat; 3887 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3888 struct buf { int x; }; 3889 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3890 static char *e (p, i) 3891 char **p; 3892 int i; 3893 { 3894 return p[i]; 3895 } 3896 static char *f (char * (*g) (char **, int), char **p, ...) 3897 { 3898 char *s; 3899 va_list v; 3900 va_start (v,p); 3901 s = g (p, va_arg (v,int)); 3902 va_end (v); 3903 return s; 3904 } 3905 3906 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3907 function prototypes and stuff, but not '\xHH' hex character constants. 3908 These don't provoke an error unfortunately, instead are silently treated 3909 as 'x'. The following induces an error, until -std is added to get 3910 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3911 array size at least. It's necessary to write '\x00'==0 to get something 3912 that's true only with -std. */ 3913 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3914 3915 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3916 inside strings and character constants. */ 3917 #define FOO(x) 'x' 3918 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3919 3920 int test (int i, double x); 3921 struct s1 {int (*f) (int a);}; 3922 struct s2 {int (*f) (double a);}; 3923 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3924 int argc; 3925 char **argv; 3926 int 3927 main () 3928 { 3929 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3930 ; 3931 return 0; 3932 } 3933 _ACEOF 3934 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3935 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3936 do 3937 CC="$ac_save_CC $ac_arg" 3938 if ac_fn_c_try_compile "$LINENO"; then : 3939 ac_cv_prog_cc_c89=$ac_arg 3940 fi 3941 rm -f core conftest.err conftest.$ac_objext 3942 test "x$ac_cv_prog_cc_c89" != "xno" && break 3943 done 3944 rm -f conftest.$ac_ext 3945 CC=$ac_save_CC 3946 3947 fi 3948 # AC_CACHE_VAL 3949 case "x$ac_cv_prog_cc_c89" in 3950 x) 3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3952 $as_echo "none needed" >&6; } ;; 3953 xno) 3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3955 $as_echo "unsupported" >&6; } ;; 3956 *) 3957 CC="$CC $ac_cv_prog_cc_c89" 3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3959 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3960 esac 3961 if test "x$ac_cv_prog_cc_c89" != xno; then : 3962 3963 fi 3964 3965 ac_ext=c 3966 ac_cpp='$CPP $CPPFLAGS' 3967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3969 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3970 2317 3971 ac_aux_dir= 2318 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do2319 if test -f $ac_dir/install-sh; then3972 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3973 if test -f "$ac_dir/install-sh"; then 2320 3974 ac_aux_dir=$ac_dir 2321 3975 ac_install_sh="$ac_aux_dir/install-sh -c" 2322 3976 break 2323 elif test -f $ac_dir/install.sh; then3977 elif test -f "$ac_dir/install.sh"; then 2324 3978 ac_aux_dir=$ac_dir 2325 3979 ac_install_sh="$ac_aux_dir/install.sh -c" 2326 3980 break 2327 elif test -f $ac_dir/shtool; then3981 elif test -f "$ac_dir/shtool"; then 2328 3982 ac_aux_dir=$ac_dir 2329 3983 ac_install_sh="$ac_aux_dir/shtool install -c" … … 2332 3986 done 2333 3987 if test -z "$ac_aux_dir"; then 2334 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 2335 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 2336 { (exit 1); exit 1; }; } 2337 fi 2338 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2339 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2340 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 3988 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3989 fi 3990 3991 # These three variables are undocumented and unsupported, 3992 # and are intended to be withdrawn in a future Autoconf release. 3993 # They can cause serious problems if a builder's source tree is in a directory 3994 # whose full name contains unusual characters. 3995 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3996 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3997 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3998 2341 3999 2342 4000 # Find a good install program. We prefer a C program (faster), … … 2353 4011 # OS/2's system install, which has a completely different semantic 2354 4012 # ./install, which can be erroneously created by make from ./install.sh. 2355 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2356 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 4013 # Reject install programs that cannot install multiple files. 4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 4015 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2357 4016 if test -z "$INSTALL"; then 2358 if test "${ac_cv_path_install+set}" = set; then2359 echo $ECHO_N "(cached) $ECHO_C" >&64017 if ${ac_cv_path_install+:} false; then : 4018 $as_echo_n "(cached) " >&6 2360 4019 else 2361 4020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2364 4023 IFS=$as_save_IFS 2365 4024 test -z "$as_dir" && as_dir=. 2366 # Account for people who put trailing slashes in PATH elements.2367 case $as_dir/ in 2368 ./ | .// | / cC/* | \4025 # Account for people who put trailing slashes in PATH elements. 4026 case $as_dir/ in #(( 4027 ./ | .// | /[cC]/* | \ 2369 4028 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2370 ?: \\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \4029 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2371 4030 /usr/ucb/* ) ;; 2372 4031 *) … … 2376 4035 for ac_prog in ginstall scoinst install; do 2377 4036 for ac_exec_ext in '' $ac_executable_extensions; do 2378 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then4037 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2379 4038 if test $ac_prog = install && 2380 4039 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 2386 4045 : 2387 4046 else 2388 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2389 break 3 4047 rm -rf conftest.one conftest.two conftest.dir 4048 echo one > conftest.one 4049 echo two > conftest.two 4050 mkdir conftest.dir 4051 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4052 test -s conftest.one && test -s conftest.two && 4053 test -s conftest.dir/conftest.one && 4054 test -s conftest.dir/conftest.two 4055 then 4056 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4057 break 3 4058 fi 2390 4059 fi 2391 4060 fi … … 2394 4063 ;; 2395 4064 esac 2396 done 2397 4065 4066 done 4067 IFS=$as_save_IFS 4068 4069 rm -rf conftest.one conftest.two conftest.dir 2398 4070 2399 4071 fi … … 2401 4073 INSTALL=$ac_cv_path_install 2402 4074 else 2403 # As a last resort, use the slow shell script. We don't cache a2404 # pathfor INSTALL within a source directory, because that will4075 # As a last resort, use the slow shell script. Don't cache a 4076 # value for INSTALL within a source directory, because that will 2405 4077 # break other packages using the cache if that directory is 2406 # removed, or if the path is relative.4078 # removed, or if the value is a relative name. 2407 4079 INSTALL=$ac_install_sh 2408 4080 fi 2409 4081 fi 2410 echo "$as_me:$LINENO: result: $INSTALL" >&52411 echo "${ECHO_T}$INSTALL" >&6 4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 4083 $as_echo "$INSTALL" >&6; } 2412 4084 2413 4085 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 2418 4090 2419 4091 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2420 2421 2422 2423 # Check whether --enable-kernel-linux or --disable-kernel-linux was given.2424 if test "${enable_kernel_linux+set}" = set; then2425 enableval="$enable_kernel_linux"2426 2427 else2428 enable_kernel_linux=no2429 fi;2430 echo "$as_me:$LINENO: checking whether to build for Linux kernel context" >&52431 echo $ECHO_N "checking whether to build for Linux kernel context... $ECHO_C" >&62432 if test "$enable_kernel_linux" = "yes"; then2433 2434 cat >>confdefs.h <<\_ACEOF2435 #define SRTP_KERNEL 12436 _ACEOF2437 2438 2439 cat >>confdefs.h <<\_ACEOF2440 #define SRTP_KERNEL_LINUX 12441 _ACEOF2442 2443 fi2444 echo "$as_me:$LINENO: result: $enable_kernel_linux" >&52445 echo "${ECHO_T}$enable_kernel_linux" >&62446 2447 if test "$cross_compiling" != yes; then2448 echo "$as_me:$LINENO: checking for /dev/urandom" >&52449 echo $ECHO_N "checking for /dev/urandom... $ECHO_C" >&62450 if test "${ac_cv_file__dev_urandom+set}" = set; then2451 echo $ECHO_N "(cached) $ECHO_C" >&62452 else2453 test "$cross_compiling" = yes &&2454 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&52455 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}2456 { (exit 1); exit 1; }; }2457 if test -r "/dev/urandom"; then2458 ac_cv_file__dev_urandom=yes2459 else2460 ac_cv_file__dev_urandom=no2461 fi2462 fi2463 echo "$as_me:$LINENO: result: $ac_cv_file__dev_urandom" >&52464 echo "${ECHO_T}$ac_cv_file__dev_urandom" >&62465 if test $ac_cv_file__dev_urandom = yes; then2466 DEV_URANDOM=/dev/urandom2467 else2468 echo "$as_me:$LINENO: checking for /dev/random" >&52469 echo $ECHO_N "checking for /dev/random... $ECHO_C" >&62470 if test "${ac_cv_file__dev_random+set}" = set; then2471 echo $ECHO_N "(cached) $ECHO_C" >&62472 else2473 test "$cross_compiling" = yes &&2474 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&52475 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}2476 { (exit 1); exit 1; }; }2477 if test -r "/dev/random"; then2478 ac_cv_file__dev_random=yes2479 else2480 ac_cv_file__dev_random=no2481 fi2482 fi2483 echo "$as_me:$LINENO: result: $ac_cv_file__dev_random" >&52484 echo "${ECHO_T}$ac_cv_file__dev_random" >&62485 if test $ac_cv_file__dev_random = yes; then2486 DEV_URANDOM=/dev/random2487 fi2488 2489 fi2490 2491 fi2492 2493 echo "$as_me:$LINENO: checking which random device to use" >&52494 echo $ECHO_N "checking which random device to use... $ECHO_C" >&62495 if test "$enable_kernel_linux" = "yes"; then2496 RNG_OBJS=rand_linux_kernel.o2497 echo "$as_me:$LINENO: result: Linux kernel builtin" >&52498 echo "${ECHO_T}Linux kernel builtin" >&62499 else2500 RNG_OBJS=rand_source.o2501 if test -n "$DEV_URANDOM"; then2502 2503 cat >>confdefs.h <<_ACEOF2504 #define DEV_URANDOM "$DEV_URANDOM"2505 _ACEOF2506 2507 echo "$as_me:$LINENO: result: $DEV_URANDOM" >&52508 echo "${ECHO_T}$DEV_URANDOM" >&62509 else2510 echo "$as_me:$LINENO: result: standard rand() function..." >&52511 echo "${ECHO_T}standard rand() function..." >&62512 fi2513 fi2514 2515 2516 4092 2517 4093 … … 2521 4097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2522 4098 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2523 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&52524 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4100 $as_echo_n "checking how to run the C preprocessor... " >&6; } 2525 4101 # On Suns, sometimes $CPP names a directory. 2526 4102 if test -n "$CPP" && test -d "$CPP"; then … … 2528 4104 fi 2529 4105 if test -z "$CPP"; then 2530 if test "${ac_cv_prog_CPP+set}" = set; then2531 echo $ECHO_N "(cached) $ECHO_C" >&64106 if ${ac_cv_prog_CPP+:} false; then : 4107 $as_echo_n "(cached) " >&6 2532 4108 else 2533 4109 # Double quotes because CPP needs to be expanded … … 2543 4119 # On the NeXT, cc -E runs the code through the compiler's parser, 2544 4120 # not just through cpp. "Syntax error" is here to catch this case. 2545 cat >conftest.$ac_ext <<_ACEOF 2546 /* confdefs.h. */ 2547 _ACEOF 2548 cat confdefs.h >>conftest.$ac_ext 2549 cat >>conftest.$ac_ext <<_ACEOF 4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2550 4122 /* end confdefs.h. */ 2551 4123 #ifdef __STDC__ … … 2556 4128 Syntax error 2557 4129 _ACEOF 2558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2559 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2560 ac_status=$? 2561 grep -v '^ *+' conftest.er1 >conftest.err 2562 rm -f conftest.er1 2563 cat conftest.err >&5 2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2565 (exit $ac_status); } >/dev/null; then 2566 if test -s conftest.err; then 2567 ac_cpp_err=$ac_c_preproc_warn_flag 2568 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2569 else 2570 ac_cpp_err= 2571 fi 2572 else 2573 ac_cpp_err=yes 2574 fi 2575 if test -z "$ac_cpp_err"; then 2576 : 2577 else 2578 echo "$as_me: failed program was:" >&5 2579 sed 's/^/| /' conftest.$ac_ext >&5 2580 4130 if ac_fn_c_try_cpp "$LINENO"; then : 4131 4132 else 2581 4133 # Broken: fails on valid input. 2582 4134 continue 2583 4135 fi 2584 rm -f conftest.err conftest. $ac_ext2585 2586 # OK, works on sane cases. Now check whether non -existent headers4136 rm -f conftest.err conftest.i conftest.$ac_ext 4137 4138 # OK, works on sane cases. Now check whether nonexistent headers 2587 4139 # can be detected and how. 2588 cat >conftest.$ac_ext <<_ACEOF 2589 /* confdefs.h. */ 2590 _ACEOF 2591 cat confdefs.h >>conftest.$ac_ext 2592 cat >>conftest.$ac_ext <<_ACEOF 4140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2593 4141 /* end confdefs.h. */ 2594 4142 #include <ac_nonexistent.h> 2595 4143 _ACEOF 2596 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2597 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2598 ac_status=$? 2599 grep -v '^ *+' conftest.er1 >conftest.err 2600 rm -f conftest.er1 2601 cat conftest.err >&5 2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2603 (exit $ac_status); } >/dev/null; then 2604 if test -s conftest.err; then 2605 ac_cpp_err=$ac_c_preproc_warn_flag 2606 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2607 else 2608 ac_cpp_err= 2609 fi 2610 else 2611 ac_cpp_err=yes 2612 fi 2613 if test -z "$ac_cpp_err"; then 4144 if ac_fn_c_try_cpp "$LINENO"; then : 2614 4145 # Broken: success on invalid input. 2615 4146 continue 2616 4147 else 2617 echo "$as_me: failed program was:" >&52618 sed 's/^/| /' conftest.$ac_ext >&52619 2620 4148 # Passes both tests. 2621 4149 ac_preproc_ok=: 2622 4150 break 2623 4151 fi 2624 rm -f conftest.err conftest. $ac_ext4152 rm -f conftest.err conftest.i conftest.$ac_ext 2625 4153 2626 4154 done 2627 4155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2628 rm -f conftest. err conftest.$ac_ext2629 if $ac_preproc_ok; then 4156 rm -f conftest.i conftest.err conftest.$ac_ext 4157 if $ac_preproc_ok; then : 2630 4158 break 2631 4159 fi … … 2639 4167 ac_cv_prog_CPP=$CPP 2640 4168 fi 2641 echo "$as_me:$LINENO: result: $CPP" >&52642 echo "${ECHO_T}$CPP" >&6 4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4170 $as_echo "$CPP" >&6; } 2643 4171 ac_preproc_ok=false 2644 4172 for ac_c_preproc_warn_flag in '' yes … … 2650 4178 # On the NeXT, cc -E runs the code through the compiler's parser, 2651 4179 # not just through cpp. "Syntax error" is here to catch this case. 2652 cat >conftest.$ac_ext <<_ACEOF 2653 /* confdefs.h. */ 2654 _ACEOF 2655 cat confdefs.h >>conftest.$ac_ext 2656 cat >>conftest.$ac_ext <<_ACEOF 4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2657 4181 /* end confdefs.h. */ 2658 4182 #ifdef __STDC__ … … 2663 4187 Syntax error 2664 4188 _ACEOF 2665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2666 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2667 ac_status=$? 2668 grep -v '^ *+' conftest.er1 >conftest.err 2669 rm -f conftest.er1 2670 cat conftest.err >&5 2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2672 (exit $ac_status); } >/dev/null; then 2673 if test -s conftest.err; then 2674 ac_cpp_err=$ac_c_preproc_warn_flag 2675 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2676 else 2677 ac_cpp_err= 2678 fi 2679 else 2680 ac_cpp_err=yes 2681 fi 2682 if test -z "$ac_cpp_err"; then 2683 : 2684 else 2685 echo "$as_me: failed program was:" >&5 2686 sed 's/^/| /' conftest.$ac_ext >&5 2687 4189 if ac_fn_c_try_cpp "$LINENO"; then : 4190 4191 else 2688 4192 # Broken: fails on valid input. 2689 4193 continue 2690 4194 fi 2691 rm -f conftest.err conftest. $ac_ext2692 2693 # OK, works on sane cases. Now check whether non -existent headers4195 rm -f conftest.err conftest.i conftest.$ac_ext 4196 4197 # OK, works on sane cases. Now check whether nonexistent headers 2694 4198 # can be detected and how. 2695 cat >conftest.$ac_ext <<_ACEOF 2696 /* confdefs.h. */ 2697 _ACEOF 2698 cat confdefs.h >>conftest.$ac_ext 2699 cat >>conftest.$ac_ext <<_ACEOF 4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2700 4200 /* end confdefs.h. */ 2701 4201 #include <ac_nonexistent.h> 2702 4202 _ACEOF 2703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2704 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2705 ac_status=$? 2706 grep -v '^ *+' conftest.er1 >conftest.err 2707 rm -f conftest.er1 2708 cat conftest.err >&5 2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2710 (exit $ac_status); } >/dev/null; then 2711 if test -s conftest.err; then 2712 ac_cpp_err=$ac_c_preproc_warn_flag 2713 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2714 else 2715 ac_cpp_err= 2716 fi 2717 else 2718 ac_cpp_err=yes 2719 fi 2720 if test -z "$ac_cpp_err"; then 4203 if ac_fn_c_try_cpp "$LINENO"; then : 2721 4204 # Broken: success on invalid input. 2722 4205 continue 2723 4206 else 2724 echo "$as_me: failed program was:" >&52725 sed 's/^/| /' conftest.$ac_ext >&52726 2727 4207 # Passes both tests. 2728 4208 ac_preproc_ok=: 2729 4209 break 2730 4210 fi 2731 rm -f conftest.err conftest. $ac_ext4211 rm -f conftest.err conftest.i conftest.$ac_ext 2732 4212 2733 4213 done 2734 4214 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2735 rm -f conftest.err conftest.$ac_ext 2736 if $ac_preproc_ok; then 2737 : 2738 else 2739 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2740 See \`config.log' for more details." >&5 2741 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2742 See \`config.log' for more details." >&2;} 2743 { (exit 1); exit 1; }; } 4215 rm -f conftest.i conftest.err conftest.$ac_ext 4216 if $ac_preproc_ok; then : 4217 4218 else 4219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4221 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4222 See \`config.log' for more details" "$LINENO" 5; } 2744 4223 fi 2745 4224 … … 2751 4230 2752 4231 2753 echo "$as_me:$LINENO: checking for egrep" >&5 2754 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 2755 if test "${ac_cv_prog_egrep+set}" = set; then 2756 echo $ECHO_N "(cached) $ECHO_C" >&6 2757 else 2758 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 2759 then ac_cv_prog_egrep='grep -E' 2760 else ac_cv_prog_egrep='egrep' 4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4233 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4234 if ${ac_cv_path_GREP+:} false; then : 4235 $as_echo_n "(cached) " >&6 4236 else 4237 if test -z "$GREP"; then 4238 ac_path_GREP_found=false 4239 # Loop through the user's path and test for each of PROGNAME-LIST 4240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4241 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4242 do 4243 IFS=$as_save_IFS 4244 test -z "$as_dir" && as_dir=. 4245 for ac_prog in grep ggrep; do 4246 for ac_exec_ext in '' $ac_executable_extensions; do 4247 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4248 as_fn_executable_p "$ac_path_GREP" || continue 4249 # Check for GNU ac_path_GREP and select it if it is found. 4250 # Check for GNU $ac_path_GREP 4251 case `"$ac_path_GREP" --version 2>&1` in 4252 *GNU*) 4253 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4254 *) 4255 ac_count=0 4256 $as_echo_n 0123456789 >"conftest.in" 4257 while : 4258 do 4259 cat "conftest.in" "conftest.in" >"conftest.tmp" 4260 mv "conftest.tmp" "conftest.in" 4261 cp "conftest.in" "conftest.nl" 4262 $as_echo 'GREP' >> "conftest.nl" 4263 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4264 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4265 as_fn_arith $ac_count + 1 && ac_count=$as_val 4266 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4267 # Best one so far, save it but keep looking for a better one 4268 ac_cv_path_GREP="$ac_path_GREP" 4269 ac_path_GREP_max=$ac_count 2761 4270 fi 2762 fi 2763 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 2764 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 2765 EGREP=$ac_cv_prog_egrep 2766 2767 2768 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 2769 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 2770 if test "${ac_cv_header_stdc+set}" = set; then 2771 echo $ECHO_N "(cached) $ECHO_C" >&6 2772 else 2773 cat >conftest.$ac_ext <<_ACEOF 2774 /* confdefs.h. */ 2775 _ACEOF 2776 cat confdefs.h >>conftest.$ac_ext 2777 cat >>conftest.$ac_ext <<_ACEOF 4271 # 10*(2^10) chars as input seems more than enough 4272 test $ac_count -gt 10 && break 4273 done 4274 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4275 esac 4276 4277 $ac_path_GREP_found && break 3 4278 done 4279 done 4280 done 4281 IFS=$as_save_IFS 4282 if test -z "$ac_cv_path_GREP"; then 4283 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4284 fi 4285 else 4286 ac_cv_path_GREP=$GREP 4287 fi 4288 4289 fi 4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4291 $as_echo "$ac_cv_path_GREP" >&6; } 4292 GREP="$ac_cv_path_GREP" 4293 4294 4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4296 $as_echo_n "checking for egrep... " >&6; } 4297 if ${ac_cv_path_EGREP+:} false; then : 4298 $as_echo_n "(cached) " >&6 4299 else 4300 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4301 then ac_cv_path_EGREP="$GREP -E" 4302 else 4303 if test -z "$EGREP"; then 4304 ac_path_EGREP_found=false 4305 # Loop through the user's path and test for each of PROGNAME-LIST 4306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4307 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4308 do 4309 IFS=$as_save_IFS 4310 test -z "$as_dir" && as_dir=. 4311 for ac_prog in egrep; do 4312 for ac_exec_ext in '' $ac_executable_extensions; do 4313 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4314 as_fn_executable_p "$ac_path_EGREP" || continue 4315 # Check for GNU ac_path_EGREP and select it if it is found. 4316 # Check for GNU $ac_path_EGREP 4317 case `"$ac_path_EGREP" --version 2>&1` in 4318 *GNU*) 4319 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4320 *) 4321 ac_count=0 4322 $as_echo_n 0123456789 >"conftest.in" 4323 while : 4324 do 4325 cat "conftest.in" "conftest.in" >"conftest.tmp" 4326 mv "conftest.tmp" "conftest.in" 4327 cp "conftest.in" "conftest.nl" 4328 $as_echo 'EGREP' >> "conftest.nl" 4329 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4330 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4331 as_fn_arith $ac_count + 1 && ac_count=$as_val 4332 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4333 # Best one so far, save it but keep looking for a better one 4334 ac_cv_path_EGREP="$ac_path_EGREP" 4335 ac_path_EGREP_max=$ac_count 4336 fi 4337 # 10*(2^10) chars as input seems more than enough 4338 test $ac_count -gt 10 && break 4339 done 4340 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4341 esac 4342 4343 $ac_path_EGREP_found && break 3 4344 done 4345 done 4346 done 4347 IFS=$as_save_IFS 4348 if test -z "$ac_cv_path_EGREP"; then 4349 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4350 fi 4351 else 4352 ac_cv_path_EGREP=$EGREP 4353 fi 4354 4355 fi 4356 fi 4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4358 $as_echo "$ac_cv_path_EGREP" >&6; } 4359 EGREP="$ac_cv_path_EGREP" 4360 4361 4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4363 $as_echo_n "checking for ANSI C header files... " >&6; } 4364 if ${ac_cv_header_stdc+:} false; then : 4365 $as_echo_n "(cached) " >&6 4366 else 4367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2778 4368 /* end confdefs.h. */ 2779 4369 #include <stdlib.h> … … 2790 4380 } 2791 4381 _ACEOF 2792 rm -f conftest.$ac_objext 2793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2794 (eval $ac_compile) 2>conftest.er1 2795 ac_status=$? 2796 grep -v '^ *+' conftest.er1 >conftest.err 2797 rm -f conftest.er1 2798 cat conftest.err >&5 2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2800 (exit $ac_status); } && 2801 { ac_try='test -z "$ac_c_werror_flag" 2802 || test ! -s conftest.err' 2803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2804 (eval $ac_try) 2>&5 2805 ac_status=$? 2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2807 (exit $ac_status); }; } && 2808 { ac_try='test -s conftest.$ac_objext' 2809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2810 (eval $ac_try) 2>&5 2811 ac_status=$? 2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2813 (exit $ac_status); }; }; then 4382 if ac_fn_c_try_compile "$LINENO"; then : 2814 4383 ac_cv_header_stdc=yes 2815 4384 else 2816 echo "$as_me: failed program was:" >&5 2817 sed 's/^/| /' conftest.$ac_ext >&5 2818 2819 ac_cv_header_stdc=no 2820 fi 2821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4385 ac_cv_header_stdc=no 4386 fi 4387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2822 4388 2823 4389 if test $ac_cv_header_stdc = yes; then 2824 4390 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2825 cat >conftest.$ac_ext <<_ACEOF 2826 /* confdefs.h. */ 2827 _ACEOF 2828 cat confdefs.h >>conftest.$ac_ext 2829 cat >>conftest.$ac_ext <<_ACEOF 4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2830 4392 /* end confdefs.h. */ 2831 4393 #include <string.h> … … 2833 4395 _ACEOF 2834 4396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2835 $EGREP "memchr" >/dev/null 2>&1; then 2836 : 4397 $EGREP "memchr" >/dev/null 2>&1; then : 4398 2837 4399 else 2838 4400 ac_cv_header_stdc=no … … 2844 4406 if test $ac_cv_header_stdc = yes; then 2845 4407 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2846 cat >conftest.$ac_ext <<_ACEOF 2847 /* confdefs.h. */ 2848 _ACEOF 2849 cat confdefs.h >>conftest.$ac_ext 2850 cat >>conftest.$ac_ext <<_ACEOF 4408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2851 4409 /* end confdefs.h. */ 2852 4410 #include <stdlib.h> … … 2854 4412 _ACEOF 2855 4413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2856 $EGREP "free" >/dev/null 2>&1; then 2857 : 4414 $EGREP "free" >/dev/null 2>&1; then : 4415 2858 4416 else 2859 4417 ac_cv_header_stdc=no … … 2865 4423 if test $ac_cv_header_stdc = yes; then 2866 4424 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2867 if test "$cross_compiling" = yes; then 4425 if test "$cross_compiling" = yes; then : 2868 4426 : 2869 4427 else 2870 cat >conftest.$ac_ext <<_ACEOF 2871 /* confdefs.h. */ 2872 _ACEOF 2873 cat confdefs.h >>conftest.$ac_ext 2874 cat >>conftest.$ac_ext <<_ACEOF 4428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2875 4429 /* end confdefs.h. */ 2876 4430 #include <ctype.h> 4431 #include <stdlib.h> 2877 4432 #if ((' ' & 0x0FF) == 0x020) 2878 4433 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 2894 4449 if (XOR (islower (i), ISLOWER (i)) 2895 4450 || toupper (i) != TOUPPER (i)) 2896 exit(2);2897 exit (0);4451 return 2; 4452 return 0; 2898 4453 } 2899 4454 _ACEOF 2900 rm -f conftest$ac_exeext 2901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2902 (eval $ac_link) 2>&5 2903 ac_status=$? 2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2905 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2907 (eval $ac_try) 2>&5 2908 ac_status=$? 2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2910 (exit $ac_status); }; }; then 2911 : 2912 else 2913 echo "$as_me: program exited with status $ac_status" >&5 2914 echo "$as_me: failed program was:" >&5 2915 sed 's/^/| /' conftest.$ac_ext >&5 2916 2917 ( exit $ac_status ) 2918 ac_cv_header_stdc=no 2919 fi 2920 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2921 fi 2922 fi 2923 fi 2924 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 2925 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4455 if ac_fn_c_try_run "$LINENO"; then : 4456 4457 else 4458 ac_cv_header_stdc=no 4459 fi 4460 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4461 conftest.$ac_objext conftest.beam conftest.$ac_ext 4462 fi 4463 4464 fi 4465 fi 4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4467 $as_echo "$ac_cv_header_stdc" >&6; } 2926 4468 if test $ac_cv_header_stdc = yes; then 2927 4469 2928 cat >>confdefs.h <<\_ACEOF 2929 #define STDC_HEADERS 1 2930 _ACEOF 4470 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 2931 4471 2932 4472 fi 2933 4473 2934 4474 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 4475 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 2945 4476 inttypes.h stdint.h unistd.h 2946 do 2947 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 2948 echo "$as_me:$LINENO: checking for $ac_header" >&5 2949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 2950 if eval "test \"\${$as_ac_Header+set}\" = set"; then 2951 echo $ECHO_N "(cached) $ECHO_C" >&6 2952 else 2953 cat >conftest.$ac_ext <<_ACEOF 2954 /* confdefs.h. */ 2955 _ACEOF 2956 cat confdefs.h >>conftest.$ac_ext 2957 cat >>conftest.$ac_ext <<_ACEOF 4477 do : 4478 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4479 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4480 " 4481 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4482 cat >>confdefs.h <<_ACEOF 4483 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4484 _ACEOF 4485 4486 fi 4487 4488 done 4489 4490 4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4492 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4493 if ${ac_cv_c_bigendian+:} false; then : 4494 $as_echo_n "(cached) " >&6 4495 else 4496 ac_cv_c_bigendian=unknown 4497 # See if we're dealing with a universal compiler. 4498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2958 4499 /* end confdefs.h. */ 2959 $ac_includes_default 2960 2961 #include <$ac_header> 2962 _ACEOF 2963 rm -f conftest.$ac_objext 2964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2965 (eval $ac_compile) 2>conftest.er1 2966 ac_status=$? 2967 grep -v '^ *+' conftest.er1 >conftest.err 2968 rm -f conftest.er1 2969 cat conftest.err >&5 2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2971 (exit $ac_status); } && 2972 { ac_try='test -z "$ac_c_werror_flag" 2973 || test ! -s conftest.err' 2974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2975 (eval $ac_try) 2>&5 2976 ac_status=$? 2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2978 (exit $ac_status); }; } && 2979 { ac_try='test -s conftest.$ac_objext' 2980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2981 (eval $ac_try) 2>&5 2982 ac_status=$? 2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2984 (exit $ac_status); }; }; then 2985 eval "$as_ac_Header=yes" 2986 else 2987 echo "$as_me: failed program was:" >&5 2988 sed 's/^/| /' conftest.$ac_ext >&5 2989 2990 eval "$as_ac_Header=no" 2991 fi 2992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2993 fi 2994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 2995 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 2996 if test `eval echo '${'$as_ac_Header'}'` = yes; then 2997 cat >>confdefs.h <<_ACEOF 2998 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 2999 _ACEOF 3000 3001 fi 3002 3003 done 3004 3005 3006 3007 for ac_header in stdlib.h 3008 do 3009 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3010 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3011 echo "$as_me:$LINENO: checking for $ac_header" >&5 3012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3013 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3014 echo $ECHO_N "(cached) $ECHO_C" >&6 3015 fi 3016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3018 else 3019 # Is the header compilable? 3020 echo "$as_me:$LINENO: checking $ac_header usability" >&5 3021 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3022 cat >conftest.$ac_ext <<_ACEOF 3023 /* confdefs.h. */ 3024 _ACEOF 3025 cat confdefs.h >>conftest.$ac_ext 3026 cat >>conftest.$ac_ext <<_ACEOF 4500 #ifndef __APPLE_CC__ 4501 not a universal capable compiler 4502 #endif 4503 typedef int dummy; 4504 4505 _ACEOF 4506 if ac_fn_c_try_compile "$LINENO"; then : 4507 4508 # Check for potential -arch flags. It is not universal unless 4509 # there are at least two -arch flags with different values. 4510 ac_arch= 4511 ac_prev= 4512 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4513 if test -n "$ac_prev"; then 4514 case $ac_word in 4515 i?86 | x86_64 | ppc | ppc64) 4516 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4517 ac_arch=$ac_word 4518 else 4519 ac_cv_c_bigendian=universal 4520 break 4521 fi 4522 ;; 4523 esac 4524 ac_prev= 4525 elif test "x$ac_word" = "x-arch"; then 4526 ac_prev=arch 4527 fi 4528 done 4529 fi 4530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4531 if test $ac_cv_c_bigendian = unknown; then 4532 # See if sys/param.h defines the BYTE_ORDER macro. 4533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3027 4534 /* end confdefs.h. */ 3028 $ac_includes_default 3029 #include <$ac_header> 3030 _ACEOF 3031 rm -f conftest.$ac_objext 3032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3033 (eval $ac_compile) 2>conftest.er1 3034 ac_status=$? 3035 grep -v '^ *+' conftest.er1 >conftest.err 3036 rm -f conftest.er1 3037 cat conftest.err >&5 3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3039 (exit $ac_status); } && 3040 { ac_try='test -z "$ac_c_werror_flag" 3041 || test ! -s conftest.err' 3042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3043 (eval $ac_try) 2>&5 3044 ac_status=$? 3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3046 (exit $ac_status); }; } && 3047 { ac_try='test -s conftest.$ac_objext' 3048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3049 (eval $ac_try) 2>&5 3050 ac_status=$? 3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3052 (exit $ac_status); }; }; then 3053 ac_header_compiler=yes 3054 else 3055 echo "$as_me: failed program was:" >&5 3056 sed 's/^/| /' conftest.$ac_ext >&5 3057 3058 ac_header_compiler=no 3059 fi 3060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3062 echo "${ECHO_T}$ac_header_compiler" >&6 3063 3064 # Is the header present? 3065 echo "$as_me:$LINENO: checking $ac_header presence" >&5 3066 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3067 cat >conftest.$ac_ext <<_ACEOF 3068 /* confdefs.h. */ 3069 _ACEOF 3070 cat confdefs.h >>conftest.$ac_ext 3071 cat >>conftest.$ac_ext <<_ACEOF 4535 #include <sys/types.h> 4536 #include <sys/param.h> 4537 4538 int 4539 main () 4540 { 4541 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4542 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4543 && LITTLE_ENDIAN) 4544 bogus endian macros 4545 #endif 4546 4547 ; 4548 return 0; 4549 } 4550 _ACEOF 4551 if ac_fn_c_try_compile "$LINENO"; then : 4552 # It does; now see whether it defined to BIG_ENDIAN or not. 4553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3072 4554 /* end confdefs.h. */ 3073 #include <$ac_header> 3074 _ACEOF 3075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3076 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3077 ac_status=$? 3078 grep -v '^ *+' conftest.er1 >conftest.err 3079 rm -f conftest.er1 3080 cat conftest.err >&5 3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3082 (exit $ac_status); } >/dev/null; then 3083 if test -s conftest.err; then 3084 ac_cpp_err=$ac_c_preproc_warn_flag 3085 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3086 else 3087 ac_cpp_err= 3088 fi 3089 else 3090 ac_cpp_err=yes 3091 fi 3092 if test -z "$ac_cpp_err"; then 3093 ac_header_preproc=yes 3094 else 3095 echo "$as_me: failed program was:" >&5 3096 sed 's/^/| /' conftest.$ac_ext >&5 3097 3098 ac_header_preproc=no 3099 fi 3100 rm -f conftest.err conftest.$ac_ext 3101 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3102 echo "${ECHO_T}$ac_header_preproc" >&6 3103 3104 # So? What about this header? 3105 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3106 yes:no: ) 3107 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3108 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3110 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3111 ac_header_preproc=yes 3112 ;; 3113 no:yes:* ) 3114 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3115 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3116 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3117 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3118 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3119 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3120 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3121 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3123 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3124 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3125 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3126 ( 3127 cat <<\_ASBOX 3128 ## ------------------------------------------ ## 3129 ## Report this to the AC_PACKAGE_NAME lists. ## 3130 ## ------------------------------------------ ## 3131 _ASBOX 3132 ) | 3133 sed "s/^/$as_me: WARNING: /" >&2 3134 ;; 3135 esac 3136 echo "$as_me:$LINENO: checking for $ac_header" >&5 3137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3138 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3139 echo $ECHO_N "(cached) $ECHO_C" >&6 3140 else 3141 eval "$as_ac_Header=\$ac_header_preproc" 3142 fi 3143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3145 3146 fi 3147 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3148 cat >>confdefs.h <<_ACEOF 3149 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3150 _ACEOF 3151 3152 fi 3153 3154 done 3155 3156 3157 for ac_header in unistd.h 3158 do 3159 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3160 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3161 echo "$as_me:$LINENO: checking for $ac_header" >&5 3162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3163 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3164 echo $ECHO_N "(cached) $ECHO_C" >&6 3165 fi 3166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3168 else 3169 # Is the header compilable? 3170 echo "$as_me:$LINENO: checking $ac_header usability" >&5 3171 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3172 cat >conftest.$ac_ext <<_ACEOF 3173 /* confdefs.h. */ 3174 _ACEOF 3175 cat confdefs.h >>conftest.$ac_ext 3176 cat >>conftest.$ac_ext <<_ACEOF 4555 #include <sys/types.h> 4556 #include <sys/param.h> 4557 4558 int 4559 main () 4560 { 4561 #if BYTE_ORDER != BIG_ENDIAN 4562 not big endian 4563 #endif 4564 4565 ; 4566 return 0; 4567 } 4568 _ACEOF 4569 if ac_fn_c_try_compile "$LINENO"; then : 4570 ac_cv_c_bigendian=yes 4571 else 4572 ac_cv_c_bigendian=no 4573 fi 4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4575 fi 4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4577 fi 4578 if test $ac_cv_c_bigendian = unknown; then 4579 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3177 4581 /* end confdefs.h. */ 3178 $ac_includes_default 3179 #include <$ac_header> 3180 _ACEOF 3181 rm -f conftest.$ac_objext 3182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3183 (eval $ac_compile) 2>conftest.er1 3184 ac_status=$? 3185 grep -v '^ *+' conftest.er1 >conftest.err 3186 rm -f conftest.er1 3187 cat conftest.err >&5 3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3189 (exit $ac_status); } && 3190 { ac_try='test -z "$ac_c_werror_flag" 3191 || test ! -s conftest.err' 3192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3193 (eval $ac_try) 2>&5 3194 ac_status=$? 3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3196 (exit $ac_status); }; } && 3197 { ac_try='test -s conftest.$ac_objext' 3198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3199 (eval $ac_try) 2>&5 3200 ac_status=$? 3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3202 (exit $ac_status); }; }; then 3203 ac_header_compiler=yes 3204 else 3205 echo "$as_me: failed program was:" >&5 3206 sed 's/^/| /' conftest.$ac_ext >&5 3207 3208 ac_header_compiler=no 3209 fi 3210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3211 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3212 echo "${ECHO_T}$ac_header_compiler" >&6 3213 3214 # Is the header present? 3215 echo "$as_me:$LINENO: checking $ac_header presence" >&5 3216 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3217 cat >conftest.$ac_ext <<_ACEOF 3218 /* confdefs.h. */ 3219 _ACEOF 3220 cat confdefs.h >>conftest.$ac_ext 3221 cat >>conftest.$ac_ext <<_ACEOF 4582 #include <limits.h> 4583 4584 int 4585 main () 4586 { 4587 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4588 bogus endian macros 4589 #endif 4590 4591 ; 4592 return 0; 4593 } 4594 _ACEOF 4595 if ac_fn_c_try_compile "$LINENO"; then : 4596 # It does; now see whether it defined to _BIG_ENDIAN or not. 4597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3222 4598 /* end confdefs.h. */ 3223 #include <$ac_header> 3224 _ACEOF 3225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3226 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3227 ac_status=$? 3228 grep -v '^ *+' conftest.er1 >conftest.err 3229 rm -f conftest.er1 3230 cat conftest.err >&5 3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3232 (exit $ac_status); } >/dev/null; then 3233 if test -s conftest.err; then 3234 ac_cpp_err=$ac_c_preproc_warn_flag 3235 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3236 else 3237 ac_cpp_err= 3238 fi 3239 else 3240 ac_cpp_err=yes 3241 fi 3242 if test -z "$ac_cpp_err"; then 3243 ac_header_preproc=yes 3244 else 3245 echo "$as_me: failed program was:" >&5 3246 sed 's/^/| /' conftest.$ac_ext >&5 3247 3248 ac_header_preproc=no 3249 fi 3250 rm -f conftest.err conftest.$ac_ext 3251 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3252 echo "${ECHO_T}$ac_header_preproc" >&6 3253 3254 # So? What about this header? 3255 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3256 yes:no: ) 3257 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3258 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3259 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3260 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3261 ac_header_preproc=yes 3262 ;; 3263 no:yes:* ) 3264 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3265 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3266 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3267 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3268 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3269 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3270 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3271 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3273 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3274 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3275 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3276 ( 3277 cat <<\_ASBOX 3278 ## ------------------------------------------ ## 3279 ## Report this to the AC_PACKAGE_NAME lists. ## 3280 ## ------------------------------------------ ## 3281 _ASBOX 3282 ) | 3283 sed "s/^/$as_me: WARNING: /" >&2 3284 ;; 3285 esac 3286 echo "$as_me:$LINENO: checking for $ac_header" >&5 3287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3288 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3289 echo $ECHO_N "(cached) $ECHO_C" >&6 3290 else 3291 eval "$as_ac_Header=\$ac_header_preproc" 3292 fi 3293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3295 3296 fi 3297 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3298 cat >>confdefs.h <<_ACEOF 3299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3300 _ACEOF 3301 3302 fi 3303 3304 done 3305 3306 3307 for ac_header in byteswap.h 3308 do 3309 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3310 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3311 echo "$as_me:$LINENO: checking for $ac_header" >&5 3312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3313 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3314 echo $ECHO_N "(cached) $ECHO_C" >&6 3315 fi 3316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3318 else 3319 # Is the header compilable? 3320 echo "$as_me:$LINENO: checking $ac_header usability" >&5 3321 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3322 cat >conftest.$ac_ext <<_ACEOF 3323 /* confdefs.h. */ 3324 _ACEOF 3325 cat confdefs.h >>conftest.$ac_ext 3326 cat >>conftest.$ac_ext <<_ACEOF 4599 #include <limits.h> 4600 4601 int 4602 main () 4603 { 4604 #ifndef _BIG_ENDIAN 4605 not big endian 4606 #endif 4607 4608 ; 4609 return 0; 4610 } 4611 _ACEOF 4612 if ac_fn_c_try_compile "$LINENO"; then : 4613 ac_cv_c_bigendian=yes 4614 else 4615 ac_cv_c_bigendian=no 4616 fi 4617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4618 fi 4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4620 fi 4621 if test $ac_cv_c_bigendian = unknown; then 4622 # Compile a test program. 4623 if test "$cross_compiling" = yes; then : 4624 # Try to guess by grepping values from an object file. 4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3327 4626 /* end confdefs.h. */ 3328 $ac_includes_default 3329 #include <$ac_header> 3330 _ACEOF 3331 rm -f conftest.$ac_objext 3332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3333 (eval $ac_compile) 2>conftest.er1 3334 ac_status=$? 3335 grep -v '^ *+' conftest.er1 >conftest.err 3336 rm -f conftest.er1 3337 cat conftest.err >&5 3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3339 (exit $ac_status); } && 3340 { ac_try='test -z "$ac_c_werror_flag" 3341 || test ! -s conftest.err' 3342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3343 (eval $ac_try) 2>&5 3344 ac_status=$? 3345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3346 (exit $ac_status); }; } && 3347 { ac_try='test -s conftest.$ac_objext' 3348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3349 (eval $ac_try) 2>&5 3350 ac_status=$? 3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3352 (exit $ac_status); }; }; then 3353 ac_header_compiler=yes 3354 else 3355 echo "$as_me: failed program was:" >&5 3356 sed 's/^/| /' conftest.$ac_ext >&5 3357 3358 ac_header_compiler=no 3359 fi 3360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3361 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3362 echo "${ECHO_T}$ac_header_compiler" >&6 3363 3364 # Is the header present? 3365 echo "$as_me:$LINENO: checking $ac_header presence" >&5 3366 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3367 cat >conftest.$ac_ext <<_ACEOF 3368 /* confdefs.h. */ 3369 _ACEOF 3370 cat confdefs.h >>conftest.$ac_ext 3371 cat >>conftest.$ac_ext <<_ACEOF 3372 /* end confdefs.h. */ 3373 #include <$ac_header> 3374 _ACEOF 3375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3377 ac_status=$? 3378 grep -v '^ *+' conftest.er1 >conftest.err 3379 rm -f conftest.er1 3380 cat conftest.err >&5 3381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3382 (exit $ac_status); } >/dev/null; then 3383 if test -s conftest.err; then 3384 ac_cpp_err=$ac_c_preproc_warn_flag 3385 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3386 else 3387 ac_cpp_err= 3388 fi 3389 else 3390 ac_cpp_err=yes 3391 fi 3392 if test -z "$ac_cpp_err"; then 3393 ac_header_preproc=yes 3394 else 3395 echo "$as_me: failed program was:" >&5 3396 sed 's/^/| /' conftest.$ac_ext >&5 3397 3398 ac_header_preproc=no 3399 fi 3400 rm -f conftest.err conftest.$ac_ext 3401 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3402 echo "${ECHO_T}$ac_header_preproc" >&6 3403 3404 # So? What about this header? 3405 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3406 yes:no: ) 3407 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3408 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3410 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3411 ac_header_preproc=yes 3412 ;; 3413 no:yes:* ) 3414 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3415 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3416 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3417 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3418 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3419 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3420 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3421 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3423 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3424 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3425 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3426 ( 3427 cat <<\_ASBOX 3428 ## ------------------------------------------ ## 3429 ## Report this to the AC_PACKAGE_NAME lists. ## 3430 ## ------------------------------------------ ## 3431 _ASBOX 3432 ) | 3433 sed "s/^/$as_me: WARNING: /" >&2 3434 ;; 3435 esac 3436 echo "$as_me:$LINENO: checking for $ac_header" >&5 3437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3438 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3439 echo $ECHO_N "(cached) $ECHO_C" >&6 3440 else 3441 eval "$as_ac_Header=\$ac_header_preproc" 3442 fi 3443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3445 3446 fi 3447 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3448 cat >>confdefs.h <<_ACEOF 3449 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3450 _ACEOF 3451 3452 fi 3453 3454 done 3455 3456 3457 for ac_header in stdint.h 3458 do 3459 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3460 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3461 echo "$as_me:$LINENO: checking for $ac_header" >&5 3462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3463 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3464 echo $ECHO_N "(cached) $ECHO_C" >&6 3465 fi 3466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3468 else 3469 # Is the header compilable? 3470 echo "$as_me:$LINENO: checking $ac_header usability" >&5 3471 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3472 cat >conftest.$ac_ext <<_ACEOF 3473 /* confdefs.h. */ 3474 _ACEOF 3475 cat confdefs.h >>conftest.$ac_ext 3476 cat >>conftest.$ac_ext <<_ACEOF 3477 /* end confdefs.h. */ 3478 $ac_includes_default 3479 #include <$ac_header> 3480 _ACEOF 3481 rm -f conftest.$ac_objext 3482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3483 (eval $ac_compile) 2>conftest.er1 3484 ac_status=$? 3485 grep -v '^ *+' conftest.er1 >conftest.err 3486 rm -f conftest.er1 3487 cat conftest.err >&5 3488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3489 (exit $ac_status); } && 3490 { ac_try='test -z "$ac_c_werror_flag" 3491 || test ! -s conftest.err' 3492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3493 (eval $ac_try) 2>&5 3494 ac_status=$? 3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3496 (exit $ac_status); }; } && 3497 { ac_try='test -s conftest.$ac_objext' 3498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3499 (eval $ac_try) 2>&5 3500 ac_status=$? 3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3502 (exit $ac_status); }; }; then 3503 ac_header_compiler=yes 3504 else 3505 echo "$as_me: failed program was:" >&5 3506 sed 's/^/| /' conftest.$ac_ext >&5 3507 3508 ac_header_compiler=no 3509 fi 3510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3512 echo "${ECHO_T}$ac_header_compiler" >&6 3513 3514 # Is the header present? 3515 echo "$as_me:$LINENO: checking $ac_header presence" >&5 3516 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3517 cat >conftest.$ac_ext <<_ACEOF 3518 /* confdefs.h. */ 3519 _ACEOF 3520 cat confdefs.h >>conftest.$ac_ext 3521 cat >>conftest.$ac_ext <<_ACEOF 3522 /* end confdefs.h. */ 3523 #include <$ac_header> 3524 _ACEOF 3525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3526 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3527 ac_status=$? 3528 grep -v '^ *+' conftest.er1 >conftest.err 3529 rm -f conftest.er1 3530 cat conftest.err >&5 3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3532 (exit $ac_status); } >/dev/null; then 3533 if test -s conftest.err; then 3534 ac_cpp_err=$ac_c_preproc_warn_flag 3535 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3536 else 3537 ac_cpp_err= 3538 fi 3539 else 3540 ac_cpp_err=yes 3541 fi 3542 if test -z "$ac_cpp_err"; then 3543 ac_header_preproc=yes 3544 else 3545 echo "$as_me: failed program was:" >&5 3546 sed 's/^/| /' conftest.$ac_ext >&5 3547 3548 ac_header_preproc=no 3549 fi 3550 rm -f conftest.err conftest.$ac_ext 3551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3552 echo "${ECHO_T}$ac_header_preproc" >&6 3553 3554 # So? What about this header? 3555 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3556 yes:no: ) 3557 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3558 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3560 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3561 ac_header_preproc=yes 3562 ;; 3563 no:yes:* ) 3564 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3565 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3566 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3567 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3568 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3569 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3570 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3571 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3573 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3574 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3575 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3576 ( 3577 cat <<\_ASBOX 3578 ## ------------------------------------------ ## 3579 ## Report this to the AC_PACKAGE_NAME lists. ## 3580 ## ------------------------------------------ ## 3581 _ASBOX 3582 ) | 3583 sed "s/^/$as_me: WARNING: /" >&2 3584 ;; 3585 esac 3586 echo "$as_me:$LINENO: checking for $ac_header" >&5 3587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3588 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3589 echo $ECHO_N "(cached) $ECHO_C" >&6 3590 else 3591 eval "$as_ac_Header=\$ac_header_preproc" 3592 fi 3593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3595 3596 fi 3597 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3598 cat >>confdefs.h <<_ACEOF 3599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3600 _ACEOF 3601 3602 fi 3603 3604 done 3605 3606 3607 for ac_header in sys/uio.h 3608 do 3609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3610 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3611 echo "$as_me:$LINENO: checking for $ac_header" >&5 3612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3613 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3614 echo $ECHO_N "(cached) $ECHO_C" >&6 3615 fi 3616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3618 else 3619 # Is the header compilable? 3620 echo "$as_me:$LINENO: checking $ac_header usability" >&5 3621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3622 cat >conftest.$ac_ext <<_ACEOF 3623 /* confdefs.h. */ 3624 _ACEOF 3625 cat confdefs.h >>conftest.$ac_ext 3626 cat >>conftest.$ac_ext <<_ACEOF 3627 /* end confdefs.h. */ 3628 $ac_includes_default 3629 #include <$ac_header> 3630 _ACEOF 3631 rm -f conftest.$ac_objext 3632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3633 (eval $ac_compile) 2>conftest.er1 3634 ac_status=$? 3635 grep -v '^ *+' conftest.er1 >conftest.err 3636 rm -f conftest.er1 3637 cat conftest.err >&5 3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3639 (exit $ac_status); } && 3640 { ac_try='test -z "$ac_c_werror_flag" 3641 || test ! -s conftest.err' 3642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3643 (eval $ac_try) 2>&5 3644 ac_status=$? 3645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3646 (exit $ac_status); }; } && 3647 { ac_try='test -s conftest.$ac_objext' 3648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3649 (eval $ac_try) 2>&5 3650 ac_status=$? 3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3652 (exit $ac_status); }; }; then 3653 ac_header_compiler=yes 3654 else 3655 echo "$as_me: failed program was:" >&5 3656 sed 's/^/| /' conftest.$ac_ext >&5 3657 3658 ac_header_compiler=no 3659 fi 3660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3661 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3662 echo "${ECHO_T}$ac_header_compiler" >&6 3663 3664 # Is the header present? 3665 echo "$as_me:$LINENO: checking $ac_header presence" >&5 3666 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3667 cat >conftest.$ac_ext <<_ACEOF 3668 /* confdefs.h. */ 3669 _ACEOF 3670 cat confdefs.h >>conftest.$ac_ext 3671 cat >>conftest.$ac_ext <<_ACEOF 3672 /* end confdefs.h. */ 3673 #include <$ac_header> 3674 _ACEOF 3675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3676 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3677 ac_status=$? 3678 grep -v '^ *+' conftest.er1 >conftest.err 3679 rm -f conftest.er1 3680 cat conftest.err >&5 3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3682 (exit $ac_status); } >/dev/null; then 3683 if test -s conftest.err; then 3684 ac_cpp_err=$ac_c_preproc_warn_flag 3685 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3686 else 3687 ac_cpp_err= 3688 fi 3689 else 3690 ac_cpp_err=yes 3691 fi 3692 if test -z "$ac_cpp_err"; then 3693 ac_header_preproc=yes 3694 else 3695 echo "$as_me: failed program was:" >&5 3696 sed 's/^/| /' conftest.$ac_ext >&5 3697 3698 ac_header_preproc=no 3699 fi 3700 rm -f conftest.err conftest.$ac_ext 3701 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3702 echo "${ECHO_T}$ac_header_preproc" >&6 3703 3704 # So? What about this header? 3705 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3706 yes:no: ) 3707 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3708 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3710 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3711 ac_header_preproc=yes 3712 ;; 3713 no:yes:* ) 3714 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3715 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3716 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3717 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3718 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3719 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3720 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3721 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3723 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3724 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3725 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3726 ( 3727 cat <<\_ASBOX 3728 ## ------------------------------------------ ## 3729 ## Report this to the AC_PACKAGE_NAME lists. ## 3730 ## ------------------------------------------ ## 3731 _ASBOX 3732 ) | 3733 sed "s/^/$as_me: WARNING: /" >&2 3734 ;; 3735 esac 3736 echo "$as_me:$LINENO: checking for $ac_header" >&5 3737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3738 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3739 echo $ECHO_N "(cached) $ECHO_C" >&6 3740 else 3741 eval "$as_ac_Header=\$ac_header_preproc" 3742 fi 3743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3745 3746 fi 3747 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3748 cat >>confdefs.h <<_ACEOF 3749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3750 _ACEOF 3751 3752 fi 3753 3754 done 3755 3756 3757 for ac_header in inttypes.h 3758 do 3759 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3760 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3761 echo "$as_me:$LINENO: checking for $ac_header" >&5 3762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3763 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3764 echo $ECHO_N "(cached) $ECHO_C" >&6 3765 fi 3766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3768 else 3769 # Is the header compilable? 3770 echo "$as_me:$LINENO: checking $ac_header usability" >&5 3771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3772 cat >conftest.$ac_ext <<_ACEOF 3773 /* confdefs.h. */ 3774 _ACEOF 3775 cat confdefs.h >>conftest.$ac_ext 3776 cat >>conftest.$ac_ext <<_ACEOF 3777 /* end confdefs.h. */ 3778 $ac_includes_default 3779 #include <$ac_header> 3780 _ACEOF 3781 rm -f conftest.$ac_objext 3782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3783 (eval $ac_compile) 2>conftest.er1 3784 ac_status=$? 3785 grep -v '^ *+' conftest.er1 >conftest.err 3786 rm -f conftest.er1 3787 cat conftest.err >&5 3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3789 (exit $ac_status); } && 3790 { ac_try='test -z "$ac_c_werror_flag" 3791 || test ! -s conftest.err' 3792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3793 (eval $ac_try) 2>&5 3794 ac_status=$? 3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3796 (exit $ac_status); }; } && 3797 { ac_try='test -s conftest.$ac_objext' 3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3799 (eval $ac_try) 2>&5 3800 ac_status=$? 3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3802 (exit $ac_status); }; }; then 3803 ac_header_compiler=yes 3804 else 3805 echo "$as_me: failed program was:" >&5 3806 sed 's/^/| /' conftest.$ac_ext >&5 3807 3808 ac_header_compiler=no 3809 fi 3810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3811 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3812 echo "${ECHO_T}$ac_header_compiler" >&6 3813 3814 # Is the header present? 3815 echo "$as_me:$LINENO: checking $ac_header presence" >&5 3816 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3817 cat >conftest.$ac_ext <<_ACEOF 3818 /* confdefs.h. */ 3819 _ACEOF 3820 cat confdefs.h >>conftest.$ac_ext 3821 cat >>conftest.$ac_ext <<_ACEOF 3822 /* end confdefs.h. */ 3823 #include <$ac_header> 3824 _ACEOF 3825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3826 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3827 ac_status=$? 3828 grep -v '^ *+' conftest.er1 >conftest.err 3829 rm -f conftest.er1 3830 cat conftest.err >&5 3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3832 (exit $ac_status); } >/dev/null; then 3833 if test -s conftest.err; then 3834 ac_cpp_err=$ac_c_preproc_warn_flag 3835 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3836 else 3837 ac_cpp_err= 3838 fi 3839 else 3840 ac_cpp_err=yes 3841 fi 3842 if test -z "$ac_cpp_err"; then 3843 ac_header_preproc=yes 3844 else 3845 echo "$as_me: failed program was:" >&5 3846 sed 's/^/| /' conftest.$ac_ext >&5 3847 3848 ac_header_preproc=no 3849 fi 3850 rm -f conftest.err conftest.$ac_ext 3851 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3852 echo "${ECHO_T}$ac_header_preproc" >&6 3853 3854 # So? What about this header? 3855 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3856 yes:no: ) 3857 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3858 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 3859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 3860 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3861 ac_header_preproc=yes 3862 ;; 3863 no:yes:* ) 3864 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3865 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 3866 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3867 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3868 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3869 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 3870 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 3871 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 3872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3873 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3874 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 3875 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3876 ( 3877 cat <<\_ASBOX 3878 ## ------------------------------------------ ## 3879 ## Report this to the AC_PACKAGE_NAME lists. ## 3880 ## ------------------------------------------ ## 3881 _ASBOX 3882 ) | 3883 sed "s/^/$as_me: WARNING: /" >&2 3884 ;; 3885 esac 3886 echo "$as_me:$LINENO: checking for $ac_header" >&5 3887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3888 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3889 echo $ECHO_N "(cached) $ECHO_C" >&6 3890 else 3891 eval "$as_ac_Header=\$ac_header_preproc" 3892 fi 3893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3895 3896 fi 3897 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3898 cat >>confdefs.h <<_ACEOF 3899 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3900 _ACEOF 3901 3902 fi 3903 3904 done 3905 3906 3907 for ac_header in sys/types.h 3908 do 3909 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3910 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3911 echo "$as_me:$LINENO: checking for $ac_header" >&5 3912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3913 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3914 echo $ECHO_N "(cached) $ECHO_C" >&6 3915 fi 3916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3918 else 3919 # Is the header compilable? 3920 echo "$as_me:$LINENO: checking $ac_header usability" >&5 3921 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3922 cat >conftest.$ac_ext <<_ACEOF 3923 /* confdefs.h. */ 3924 _ACEOF 3925 cat confdefs.h >>conftest.$ac_ext 3926 cat >>conftest.$ac_ext <<_ACEOF 3927 /* end confdefs.h. */ 3928 $ac_includes_default 3929 #include <$ac_header> 3930 _ACEOF 3931 rm -f conftest.$ac_objext 3932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3933 (eval $ac_compile) 2>conftest.er1 3934 ac_status=$? 3935 grep -v '^ *+' conftest.er1 >conftest.err 3936 rm -f conftest.er1 3937 cat conftest.err >&5 3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3939 (exit $ac_status); } && 3940 { ac_try='test -z "$ac_c_werror_flag" 3941 || test ! -s conftest.err' 3942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3943 (eval $ac_try) 2>&5 3944 ac_status=$? 3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3946 (exit $ac_status); }; } && 3947 { ac_try='test -s conftest.$ac_objext' 3948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3949 (eval $ac_try) 2>&5 3950 ac_status=$? 3951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3952 (exit $ac_status); }; }; then 3953 ac_header_compiler=yes 3954 else 3955 echo "$as_me: failed program was:" >&5 3956 sed 's/^/| /' conftest.$ac_ext >&5 3957 3958 ac_header_compiler=no 3959 fi 3960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3961 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3962 echo "${ECHO_T}$ac_header_compiler" >&6 3963 3964 # Is the header present? 3965 echo "$as_me:$LINENO: checking $ac_header presence" >&5 3966 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3967 cat >conftest.$ac_ext <<_ACEOF 3968 /* confdefs.h. */ 3969 _ACEOF 3970 cat confdefs.h >>conftest.$ac_ext 3971 cat >>conftest.$ac_ext <<_ACEOF 3972 /* end confdefs.h. */ 3973 #include <$ac_header> 3974 _ACEOF 3975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3976 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3977 ac_status=$? 3978 grep -v '^ *+' conftest.er1 >conftest.err 3979 rm -f conftest.er1 3980 cat conftest.err >&5 3981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3982 (exit $ac_status); } >/dev/null; then 3983 if test -s conftest.err; then 3984 ac_cpp_err=$ac_c_preproc_warn_flag 3985 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3986 else 3987 ac_cpp_err= 3988 fi 3989 else 3990 ac_cpp_err=yes 3991 fi 3992 if test -z "$ac_cpp_err"; then 3993 ac_header_preproc=yes 3994 else 3995 echo "$as_me: failed program was:" >&5 3996 sed 's/^/| /' conftest.$ac_ext >&5 3997 3998 ac_header_preproc=no 3999 fi 4000 rm -f conftest.err conftest.$ac_ext 4001 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4002 echo "${ECHO_T}$ac_header_preproc" >&6 4003 4004 # So? What about this header? 4005 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4006 yes:no: ) 4007 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4008 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4010 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4011 ac_header_preproc=yes 4012 ;; 4013 no:yes:* ) 4014 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4015 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4016 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4017 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4018 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4019 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4020 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4021 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4024 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4025 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4026 ( 4027 cat <<\_ASBOX 4028 ## ------------------------------------------ ## 4029 ## Report this to the AC_PACKAGE_NAME lists. ## 4030 ## ------------------------------------------ ## 4031 _ASBOX 4032 ) | 4033 sed "s/^/$as_me: WARNING: /" >&2 4034 ;; 4035 esac 4036 echo "$as_me:$LINENO: checking for $ac_header" >&5 4037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4038 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4039 echo $ECHO_N "(cached) $ECHO_C" >&6 4040 else 4041 eval "$as_ac_Header=\$ac_header_preproc" 4042 fi 4043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4045 4046 fi 4047 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4048 cat >>confdefs.h <<_ACEOF 4049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4050 _ACEOF 4051 4052 fi 4053 4054 done 4055 4056 4057 for ac_header in machine/types.h 4058 do 4059 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4060 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4061 echo "$as_me:$LINENO: checking for $ac_header" >&5 4062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4063 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4064 echo $ECHO_N "(cached) $ECHO_C" >&6 4065 fi 4066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4067 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4068 else 4069 # Is the header compilable? 4070 echo "$as_me:$LINENO: checking $ac_header usability" >&5 4071 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4072 cat >conftest.$ac_ext <<_ACEOF 4073 /* confdefs.h. */ 4074 _ACEOF 4075 cat confdefs.h >>conftest.$ac_ext 4076 cat >>conftest.$ac_ext <<_ACEOF 4077 /* end confdefs.h. */ 4078 $ac_includes_default 4079 #include <$ac_header> 4080 _ACEOF 4081 rm -f conftest.$ac_objext 4082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4083 (eval $ac_compile) 2>conftest.er1 4084 ac_status=$? 4085 grep -v '^ *+' conftest.er1 >conftest.err 4086 rm -f conftest.er1 4087 cat conftest.err >&5 4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4089 (exit $ac_status); } && 4090 { ac_try='test -z "$ac_c_werror_flag" 4091 || test ! -s conftest.err' 4092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4093 (eval $ac_try) 2>&5 4094 ac_status=$? 4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4096 (exit $ac_status); }; } && 4097 { ac_try='test -s conftest.$ac_objext' 4098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4099 (eval $ac_try) 2>&5 4100 ac_status=$? 4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4102 (exit $ac_status); }; }; then 4103 ac_header_compiler=yes 4104 else 4105 echo "$as_me: failed program was:" >&5 4106 sed 's/^/| /' conftest.$ac_ext >&5 4107 4108 ac_header_compiler=no 4109 fi 4110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4112 echo "${ECHO_T}$ac_header_compiler" >&6 4113 4114 # Is the header present? 4115 echo "$as_me:$LINENO: checking $ac_header presence" >&5 4116 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4117 cat >conftest.$ac_ext <<_ACEOF 4118 /* confdefs.h. */ 4119 _ACEOF 4120 cat confdefs.h >>conftest.$ac_ext 4121 cat >>conftest.$ac_ext <<_ACEOF 4122 /* end confdefs.h. */ 4123 #include <$ac_header> 4124 _ACEOF 4125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4126 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4127 ac_status=$? 4128 grep -v '^ *+' conftest.er1 >conftest.err 4129 rm -f conftest.er1 4130 cat conftest.err >&5 4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4132 (exit $ac_status); } >/dev/null; then 4133 if test -s conftest.err; then 4134 ac_cpp_err=$ac_c_preproc_warn_flag 4135 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4136 else 4137 ac_cpp_err= 4138 fi 4139 else 4140 ac_cpp_err=yes 4141 fi 4142 if test -z "$ac_cpp_err"; then 4143 ac_header_preproc=yes 4144 else 4145 echo "$as_me: failed program was:" >&5 4146 sed 's/^/| /' conftest.$ac_ext >&5 4147 4148 ac_header_preproc=no 4149 fi 4150 rm -f conftest.err conftest.$ac_ext 4151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4152 echo "${ECHO_T}$ac_header_preproc" >&6 4153 4154 # So? What about this header? 4155 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4156 yes:no: ) 4157 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4158 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4160 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4161 ac_header_preproc=yes 4162 ;; 4163 no:yes:* ) 4164 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4165 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4166 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4167 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4168 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4169 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4170 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4171 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4173 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4174 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4175 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4176 ( 4177 cat <<\_ASBOX 4178 ## ------------------------------------------ ## 4179 ## Report this to the AC_PACKAGE_NAME lists. ## 4180 ## ------------------------------------------ ## 4181 _ASBOX 4182 ) | 4183 sed "s/^/$as_me: WARNING: /" >&2 4184 ;; 4185 esac 4186 echo "$as_me:$LINENO: checking for $ac_header" >&5 4187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4188 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4189 echo $ECHO_N "(cached) $ECHO_C" >&6 4190 else 4191 eval "$as_ac_Header=\$ac_header_preproc" 4192 fi 4193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4195 4196 fi 4197 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4198 cat >>confdefs.h <<_ACEOF 4199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4200 _ACEOF 4201 4202 fi 4203 4204 done 4205 4206 4207 for ac_header in sys/int_types.h 4208 do 4209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4210 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4211 echo "$as_me:$LINENO: checking for $ac_header" >&5 4212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4213 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4214 echo $ECHO_N "(cached) $ECHO_C" >&6 4215 fi 4216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4218 else 4219 # Is the header compilable? 4220 echo "$as_me:$LINENO: checking $ac_header usability" >&5 4221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4222 cat >conftest.$ac_ext <<_ACEOF 4223 /* confdefs.h. */ 4224 _ACEOF 4225 cat confdefs.h >>conftest.$ac_ext 4226 cat >>conftest.$ac_ext <<_ACEOF 4227 /* end confdefs.h. */ 4228 $ac_includes_default 4229 #include <$ac_header> 4230 _ACEOF 4231 rm -f conftest.$ac_objext 4232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4233 (eval $ac_compile) 2>conftest.er1 4234 ac_status=$? 4235 grep -v '^ *+' conftest.er1 >conftest.err 4236 rm -f conftest.er1 4237 cat conftest.err >&5 4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4239 (exit $ac_status); } && 4240 { ac_try='test -z "$ac_c_werror_flag" 4241 || test ! -s conftest.err' 4242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4243 (eval $ac_try) 2>&5 4244 ac_status=$? 4245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4246 (exit $ac_status); }; } && 4247 { ac_try='test -s conftest.$ac_objext' 4248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4249 (eval $ac_try) 2>&5 4250 ac_status=$? 4251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4252 (exit $ac_status); }; }; then 4253 ac_header_compiler=yes 4254 else 4255 echo "$as_me: failed program was:" >&5 4256 sed 's/^/| /' conftest.$ac_ext >&5 4257 4258 ac_header_compiler=no 4259 fi 4260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4261 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4262 echo "${ECHO_T}$ac_header_compiler" >&6 4263 4264 # Is the header present? 4265 echo "$as_me:$LINENO: checking $ac_header presence" >&5 4266 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4267 cat >conftest.$ac_ext <<_ACEOF 4268 /* confdefs.h. */ 4269 _ACEOF 4270 cat confdefs.h >>conftest.$ac_ext 4271 cat >>conftest.$ac_ext <<_ACEOF 4272 /* end confdefs.h. */ 4273 #include <$ac_header> 4274 _ACEOF 4275 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4276 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4277 ac_status=$? 4278 grep -v '^ *+' conftest.er1 >conftest.err 4279 rm -f conftest.er1 4280 cat conftest.err >&5 4281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4282 (exit $ac_status); } >/dev/null; then 4283 if test -s conftest.err; then 4284 ac_cpp_err=$ac_c_preproc_warn_flag 4285 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4286 else 4287 ac_cpp_err= 4288 fi 4289 else 4290 ac_cpp_err=yes 4291 fi 4292 if test -z "$ac_cpp_err"; then 4293 ac_header_preproc=yes 4294 else 4295 echo "$as_me: failed program was:" >&5 4296 sed 's/^/| /' conftest.$ac_ext >&5 4297 4298 ac_header_preproc=no 4299 fi 4300 rm -f conftest.err conftest.$ac_ext 4301 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4302 echo "${ECHO_T}$ac_header_preproc" >&6 4303 4304 # So? What about this header? 4305 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4306 yes:no: ) 4307 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4308 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4310 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4311 ac_header_preproc=yes 4312 ;; 4313 no:yes:* ) 4314 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4315 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4316 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4317 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4318 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4319 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4320 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4321 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4323 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4324 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4325 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4326 ( 4327 cat <<\_ASBOX 4328 ## ------------------------------------------ ## 4329 ## Report this to the AC_PACKAGE_NAME lists. ## 4330 ## ------------------------------------------ ## 4331 _ASBOX 4332 ) | 4333 sed "s/^/$as_me: WARNING: /" >&2 4334 ;; 4335 esac 4336 echo "$as_me:$LINENO: checking for $ac_header" >&5 4337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4338 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4339 echo $ECHO_N "(cached) $ECHO_C" >&6 4340 else 4341 eval "$as_ac_Header=\$ac_header_preproc" 4342 fi 4343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4344 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4345 4346 fi 4347 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4348 cat >>confdefs.h <<_ACEOF 4349 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4350 _ACEOF 4351 4352 fi 4353 4354 done 4355 4356 4357 4358 4359 4360 for ac_header in sys/socket.h netinet/in.h arpa/inet.h 4361 do 4362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4363 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4364 echo "$as_me:$LINENO: checking for $ac_header" >&5 4365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4366 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4367 echo $ECHO_N "(cached) $ECHO_C" >&6 4368 fi 4369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4371 else 4372 # Is the header compilable? 4373 echo "$as_me:$LINENO: checking $ac_header usability" >&5 4374 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4375 cat >conftest.$ac_ext <<_ACEOF 4376 /* confdefs.h. */ 4377 _ACEOF 4378 cat confdefs.h >>conftest.$ac_ext 4379 cat >>conftest.$ac_ext <<_ACEOF 4380 /* end confdefs.h. */ 4381 $ac_includes_default 4382 #include <$ac_header> 4383 _ACEOF 4384 rm -f conftest.$ac_objext 4385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4386 (eval $ac_compile) 2>conftest.er1 4387 ac_status=$? 4388 grep -v '^ *+' conftest.er1 >conftest.err 4389 rm -f conftest.er1 4390 cat conftest.err >&5 4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4392 (exit $ac_status); } && 4393 { ac_try='test -z "$ac_c_werror_flag" 4394 || test ! -s conftest.err' 4395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4396 (eval $ac_try) 2>&5 4397 ac_status=$? 4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4399 (exit $ac_status); }; } && 4400 { ac_try='test -s conftest.$ac_objext' 4401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4402 (eval $ac_try) 2>&5 4403 ac_status=$? 4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4405 (exit $ac_status); }; }; then 4406 ac_header_compiler=yes 4407 else 4408 echo "$as_me: failed program was:" >&5 4409 sed 's/^/| /' conftest.$ac_ext >&5 4410 4411 ac_header_compiler=no 4412 fi 4413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4414 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4415 echo "${ECHO_T}$ac_header_compiler" >&6 4416 4417 # Is the header present? 4418 echo "$as_me:$LINENO: checking $ac_header presence" >&5 4419 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4420 cat >conftest.$ac_ext <<_ACEOF 4421 /* confdefs.h. */ 4422 _ACEOF 4423 cat confdefs.h >>conftest.$ac_ext 4424 cat >>conftest.$ac_ext <<_ACEOF 4425 /* end confdefs.h. */ 4426 #include <$ac_header> 4427 _ACEOF 4428 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4429 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4430 ac_status=$? 4431 grep -v '^ *+' conftest.er1 >conftest.err 4432 rm -f conftest.er1 4433 cat conftest.err >&5 4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4435 (exit $ac_status); } >/dev/null; then 4436 if test -s conftest.err; then 4437 ac_cpp_err=$ac_c_preproc_warn_flag 4438 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4439 else 4440 ac_cpp_err= 4441 fi 4442 else 4443 ac_cpp_err=yes 4444 fi 4445 if test -z "$ac_cpp_err"; then 4446 ac_header_preproc=yes 4447 else 4448 echo "$as_me: failed program was:" >&5 4449 sed 's/^/| /' conftest.$ac_ext >&5 4450 4451 ac_header_preproc=no 4452 fi 4453 rm -f conftest.err conftest.$ac_ext 4454 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4455 echo "${ECHO_T}$ac_header_preproc" >&6 4456 4457 # So? What about this header? 4458 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4459 yes:no: ) 4460 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4461 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4463 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4464 ac_header_preproc=yes 4465 ;; 4466 no:yes:* ) 4467 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4468 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4469 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4470 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4471 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4472 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4473 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4474 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4475 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4476 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4477 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4478 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4479 ( 4480 cat <<\_ASBOX 4481 ## ------------------------------------------ ## 4482 ## Report this to the AC_PACKAGE_NAME lists. ## 4483 ## ------------------------------------------ ## 4484 _ASBOX 4485 ) | 4486 sed "s/^/$as_me: WARNING: /" >&2 4487 ;; 4488 esac 4489 echo "$as_me:$LINENO: checking for $ac_header" >&5 4490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4491 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4492 echo $ECHO_N "(cached) $ECHO_C" >&6 4493 else 4494 eval "$as_ac_Header=\$ac_header_preproc" 4495 fi 4496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4498 4499 fi 4500 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4501 cat >>confdefs.h <<_ACEOF 4502 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4503 _ACEOF 4504 4505 fi 4506 4507 done 4508 4509 4510 for ac_header in windows.h 4511 do 4512 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4513 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4514 echo "$as_me:$LINENO: checking for $ac_header" >&5 4515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4516 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4517 echo $ECHO_N "(cached) $ECHO_C" >&6 4518 fi 4519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4521 else 4522 # Is the header compilable? 4523 echo "$as_me:$LINENO: checking $ac_header usability" >&5 4524 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4525 cat >conftest.$ac_ext <<_ACEOF 4526 /* confdefs.h. */ 4527 _ACEOF 4528 cat confdefs.h >>conftest.$ac_ext 4529 cat >>conftest.$ac_ext <<_ACEOF 4530 /* end confdefs.h. */ 4531 $ac_includes_default 4532 #include <$ac_header> 4533 _ACEOF 4534 rm -f conftest.$ac_objext 4535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4536 (eval $ac_compile) 2>conftest.er1 4537 ac_status=$? 4538 grep -v '^ *+' conftest.er1 >conftest.err 4539 rm -f conftest.er1 4540 cat conftest.err >&5 4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4542 (exit $ac_status); } && 4543 { ac_try='test -z "$ac_c_werror_flag" 4544 || test ! -s conftest.err' 4545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4546 (eval $ac_try) 2>&5 4547 ac_status=$? 4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4549 (exit $ac_status); }; } && 4550 { ac_try='test -s conftest.$ac_objext' 4551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4552 (eval $ac_try) 2>&5 4553 ac_status=$? 4554 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4555 (exit $ac_status); }; }; then 4556 ac_header_compiler=yes 4557 else 4558 echo "$as_me: failed program was:" >&5 4559 sed 's/^/| /' conftest.$ac_ext >&5 4560 4561 ac_header_compiler=no 4562 fi 4563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4565 echo "${ECHO_T}$ac_header_compiler" >&6 4566 4567 # Is the header present? 4568 echo "$as_me:$LINENO: checking $ac_header presence" >&5 4569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4570 cat >conftest.$ac_ext <<_ACEOF 4571 /* confdefs.h. */ 4572 _ACEOF 4573 cat confdefs.h >>conftest.$ac_ext 4574 cat >>conftest.$ac_ext <<_ACEOF 4575 /* end confdefs.h. */ 4576 #include <$ac_header> 4577 _ACEOF 4578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4580 ac_status=$? 4581 grep -v '^ *+' conftest.er1 >conftest.err 4582 rm -f conftest.er1 4583 cat conftest.err >&5 4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4585 (exit $ac_status); } >/dev/null; then 4586 if test -s conftest.err; then 4587 ac_cpp_err=$ac_c_preproc_warn_flag 4588 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4589 else 4590 ac_cpp_err= 4591 fi 4592 else 4593 ac_cpp_err=yes 4594 fi 4595 if test -z "$ac_cpp_err"; then 4596 ac_header_preproc=yes 4597 else 4598 echo "$as_me: failed program was:" >&5 4599 sed 's/^/| /' conftest.$ac_ext >&5 4600 4601 ac_header_preproc=no 4602 fi 4603 rm -f conftest.err conftest.$ac_ext 4604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4605 echo "${ECHO_T}$ac_header_preproc" >&6 4606 4607 # So? What about this header? 4608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4609 yes:no: ) 4610 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4613 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4614 ac_header_preproc=yes 4615 ;; 4616 no:yes:* ) 4617 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4618 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4619 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4620 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4621 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4622 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4623 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4624 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4627 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4628 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4629 ( 4630 cat <<\_ASBOX 4631 ## ------------------------------------------ ## 4632 ## Report this to the AC_PACKAGE_NAME lists. ## 4633 ## ------------------------------------------ ## 4634 _ASBOX 4635 ) | 4636 sed "s/^/$as_me: WARNING: /" >&2 4637 ;; 4638 esac 4639 echo "$as_me:$LINENO: checking for $ac_header" >&5 4640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4641 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4642 echo $ECHO_N "(cached) $ECHO_C" >&6 4643 else 4644 eval "$as_ac_Header=\$ac_header_preproc" 4645 fi 4646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4648 4649 fi 4650 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4651 cat >>confdefs.h <<_ACEOF 4652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4653 _ACEOF 4654 4655 for ac_header in winsock2.h 4656 do 4657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4658 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4659 echo "$as_me:$LINENO: checking for $ac_header" >&5 4660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4661 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4662 echo $ECHO_N "(cached) $ECHO_C" >&6 4663 fi 4664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4666 else 4667 # Is the header compilable? 4668 echo "$as_me:$LINENO: checking $ac_header usability" >&5 4669 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4670 cat >conftest.$ac_ext <<_ACEOF 4671 /* confdefs.h. */ 4672 _ACEOF 4673 cat confdefs.h >>conftest.$ac_ext 4674 cat >>conftest.$ac_ext <<_ACEOF 4675 /* end confdefs.h. */ 4676 $ac_includes_default 4677 #include <$ac_header> 4678 _ACEOF 4679 rm -f conftest.$ac_objext 4680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4681 (eval $ac_compile) 2>conftest.er1 4682 ac_status=$? 4683 grep -v '^ *+' conftest.er1 >conftest.err 4684 rm -f conftest.er1 4685 cat conftest.err >&5 4686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4687 (exit $ac_status); } && 4688 { ac_try='test -z "$ac_c_werror_flag" 4689 || test ! -s conftest.err' 4690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4691 (eval $ac_try) 2>&5 4692 ac_status=$? 4693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4694 (exit $ac_status); }; } && 4695 { ac_try='test -s conftest.$ac_objext' 4696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4697 (eval $ac_try) 2>&5 4698 ac_status=$? 4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4700 (exit $ac_status); }; }; then 4701 ac_header_compiler=yes 4702 else 4703 echo "$as_me: failed program was:" >&5 4704 sed 's/^/| /' conftest.$ac_ext >&5 4705 4706 ac_header_compiler=no 4707 fi 4708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4710 echo "${ECHO_T}$ac_header_compiler" >&6 4711 4712 # Is the header present? 4713 echo "$as_me:$LINENO: checking $ac_header presence" >&5 4714 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4715 cat >conftest.$ac_ext <<_ACEOF 4716 /* confdefs.h. */ 4717 _ACEOF 4718 cat confdefs.h >>conftest.$ac_ext 4719 cat >>conftest.$ac_ext <<_ACEOF 4720 /* end confdefs.h. */ 4721 #include <$ac_header> 4722 _ACEOF 4723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4724 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4725 ac_status=$? 4726 grep -v '^ *+' conftest.er1 >conftest.err 4727 rm -f conftest.er1 4728 cat conftest.err >&5 4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4730 (exit $ac_status); } >/dev/null; then 4731 if test -s conftest.err; then 4732 ac_cpp_err=$ac_c_preproc_warn_flag 4733 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4734 else 4735 ac_cpp_err= 4736 fi 4737 else 4738 ac_cpp_err=yes 4739 fi 4740 if test -z "$ac_cpp_err"; then 4741 ac_header_preproc=yes 4742 else 4743 echo "$as_me: failed program was:" >&5 4744 sed 's/^/| /' conftest.$ac_ext >&5 4745 4746 ac_header_preproc=no 4747 fi 4748 rm -f conftest.err conftest.$ac_ext 4749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4750 echo "${ECHO_T}$ac_header_preproc" >&6 4751 4752 # So? What about this header? 4753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4754 yes:no: ) 4755 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4756 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4758 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4759 ac_header_preproc=yes 4760 ;; 4761 no:yes:* ) 4762 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4763 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4764 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4765 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4766 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4767 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4768 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4769 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4771 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4772 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4773 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4774 ( 4775 cat <<\_ASBOX 4776 ## ------------------------------------------ ## 4777 ## Report this to the AC_PACKAGE_NAME lists. ## 4778 ## ------------------------------------------ ## 4779 _ASBOX 4780 ) | 4781 sed "s/^/$as_me: WARNING: /" >&2 4782 ;; 4783 esac 4784 echo "$as_me:$LINENO: checking for $ac_header" >&5 4785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4786 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4787 echo $ECHO_N "(cached) $ECHO_C" >&6 4788 else 4789 eval "$as_ac_Header=\$ac_header_preproc" 4790 fi 4791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4793 4794 fi 4795 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4796 cat >>confdefs.h <<_ACEOF 4797 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4798 _ACEOF 4799 4800 fi 4801 4802 done 4803 4804 fi 4805 4806 done 4807 4808 4809 4810 for ac_header in syslog.h 4811 do 4812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4813 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4814 echo "$as_me:$LINENO: checking for $ac_header" >&5 4815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4816 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4817 echo $ECHO_N "(cached) $ECHO_C" >&6 4818 fi 4819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4821 else 4822 # Is the header compilable? 4823 echo "$as_me:$LINENO: checking $ac_header usability" >&5 4824 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4825 cat >conftest.$ac_ext <<_ACEOF 4826 /* confdefs.h. */ 4827 _ACEOF 4828 cat confdefs.h >>conftest.$ac_ext 4829 cat >>conftest.$ac_ext <<_ACEOF 4830 /* end confdefs.h. */ 4831 $ac_includes_default 4832 #include <$ac_header> 4833 _ACEOF 4834 rm -f conftest.$ac_objext 4835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4836 (eval $ac_compile) 2>conftest.er1 4837 ac_status=$? 4838 grep -v '^ *+' conftest.er1 >conftest.err 4839 rm -f conftest.er1 4840 cat conftest.err >&5 4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4842 (exit $ac_status); } && 4843 { ac_try='test -z "$ac_c_werror_flag" 4844 || test ! -s conftest.err' 4845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4846 (eval $ac_try) 2>&5 4847 ac_status=$? 4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4849 (exit $ac_status); }; } && 4850 { ac_try='test -s conftest.$ac_objext' 4851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4852 (eval $ac_try) 2>&5 4853 ac_status=$? 4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4855 (exit $ac_status); }; }; then 4856 ac_header_compiler=yes 4857 else 4858 echo "$as_me: failed program was:" >&5 4859 sed 's/^/| /' conftest.$ac_ext >&5 4860 4861 ac_header_compiler=no 4862 fi 4863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4864 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4865 echo "${ECHO_T}$ac_header_compiler" >&6 4866 4867 # Is the header present? 4868 echo "$as_me:$LINENO: checking $ac_header presence" >&5 4869 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4870 cat >conftest.$ac_ext <<_ACEOF 4871 /* confdefs.h. */ 4872 _ACEOF 4873 cat confdefs.h >>conftest.$ac_ext 4874 cat >>conftest.$ac_ext <<_ACEOF 4875 /* end confdefs.h. */ 4876 #include <$ac_header> 4877 _ACEOF 4878 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4879 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4880 ac_status=$? 4881 grep -v '^ *+' conftest.er1 >conftest.err 4882 rm -f conftest.er1 4883 cat conftest.err >&5 4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4885 (exit $ac_status); } >/dev/null; then 4886 if test -s conftest.err; then 4887 ac_cpp_err=$ac_c_preproc_warn_flag 4888 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4889 else 4890 ac_cpp_err= 4891 fi 4892 else 4893 ac_cpp_err=yes 4894 fi 4895 if test -z "$ac_cpp_err"; then 4896 ac_header_preproc=yes 4897 else 4898 echo "$as_me: failed program was:" >&5 4899 sed 's/^/| /' conftest.$ac_ext >&5 4900 4901 ac_header_preproc=no 4902 fi 4903 rm -f conftest.err conftest.$ac_ext 4904 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4905 echo "${ECHO_T}$ac_header_preproc" >&6 4906 4907 # So? What about this header? 4908 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4909 yes:no: ) 4910 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4911 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4913 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4914 ac_header_preproc=yes 4915 ;; 4916 no:yes:* ) 4917 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4918 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4919 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4920 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4921 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4922 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4923 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4924 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4925 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4926 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4927 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4928 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4929 ( 4930 cat <<\_ASBOX 4931 ## ------------------------------------------ ## 4932 ## Report this to the AC_PACKAGE_NAME lists. ## 4933 ## ------------------------------------------ ## 4934 _ASBOX 4935 ) | 4936 sed "s/^/$as_me: WARNING: /" >&2 4937 ;; 4938 esac 4939 echo "$as_me:$LINENO: checking for $ac_header" >&5 4940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4941 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4942 echo $ECHO_N "(cached) $ECHO_C" >&6 4943 else 4944 eval "$as_ac_Header=\$ac_header_preproc" 4945 fi 4946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4948 4949 fi 4950 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4951 cat >>confdefs.h <<_ACEOF 4952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4953 _ACEOF 4954 4955 fi 4956 4957 done 4958 4959 4960 echo "$as_me:$LINENO: checking for int8_t" >&5 4961 echo $ECHO_N "checking for int8_t... $ECHO_C" >&6 4962 if test "${ac_cv_type_int8_t+set}" = set; then 4963 echo $ECHO_N "(cached) $ECHO_C" >&6 4964 else 4965 cat >conftest.$ac_ext <<_ACEOF 4966 /* confdefs.h. */ 4967 _ACEOF 4968 cat confdefs.h >>conftest.$ac_ext 4969 cat >>conftest.$ac_ext <<_ACEOF 4627 short int ascii_mm[] = 4628 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4629 short int ascii_ii[] = 4630 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4631 int use_ascii (int i) { 4632 return ascii_mm[i] + ascii_ii[i]; 4633 } 4634 short int ebcdic_ii[] = 4635 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4636 short int ebcdic_mm[] = 4637 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4638 int use_ebcdic (int i) { 4639 return ebcdic_mm[i] + ebcdic_ii[i]; 4640 } 4641 extern int foo; 4642 4643 int 4644 main () 4645 { 4646 return use_ascii (foo) == use_ebcdic (foo); 4647 ; 4648 return 0; 4649 } 4650 _ACEOF 4651 if ac_fn_c_try_compile "$LINENO"; then : 4652 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4653 ac_cv_c_bigendian=yes 4654 fi 4655 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4656 if test "$ac_cv_c_bigendian" = unknown; then 4657 ac_cv_c_bigendian=no 4658 else 4659 # finding both strings is unlikely to happen, but who knows? 4660 ac_cv_c_bigendian=unknown 4661 fi 4662 fi 4663 fi 4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4665 else 4666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4970 4667 /* end confdefs.h. */ 4971 4668 $ac_includes_default … … 4973 4670 main () 4974 4671 { 4975 if ((int8_t *) 0) 4976 return 0; 4977 if (sizeof (int8_t)) 4978 return 0; 4672 4673 /* Are we little or big endian? From Harbison&Steele. */ 4674 union 4675 { 4676 long int l; 4677 char c[sizeof (long int)]; 4678 } u; 4679 u.l = 1; 4680 return u.c[sizeof (long int) - 1] == 1; 4681 4979 4682 ; 4980 4683 return 0; 4981 4684 } 4982 4685 _ACEOF 4983 rm -f conftest.$ac_objext 4984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4985 (eval $ac_compile) 2>conftest.er1 4986 ac_status=$? 4987 grep -v '^ *+' conftest.er1 >conftest.err 4988 rm -f conftest.er1 4989 cat conftest.err >&5 4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4991 (exit $ac_status); } && 4992 { ac_try='test -z "$ac_c_werror_flag" 4993 || test ! -s conftest.err' 4994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4995 (eval $ac_try) 2>&5 4996 ac_status=$? 4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4998 (exit $ac_status); }; } && 4999 { ac_try='test -s conftest.$ac_objext' 5000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5001 (eval $ac_try) 2>&5 5002 ac_status=$? 5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5004 (exit $ac_status); }; }; then 5005 ac_cv_type_int8_t=yes 5006 else 5007 echo "$as_me: failed program was:" >&5 5008 sed 's/^/| /' conftest.$ac_ext >&5 5009 5010 ac_cv_type_int8_t=no 5011 fi 5012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5013 fi 5014 echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5 5015 echo "${ECHO_T}$ac_cv_type_int8_t" >&6 5016 if test $ac_cv_type_int8_t = yes; then 5017 5018 cat >>confdefs.h <<_ACEOF 5019 #define HAVE_INT8_T 1 5020 _ACEOF 5021 5022 5023 fi 5024 echo "$as_me:$LINENO: checking for uint8_t" >&5 5025 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6 5026 if test "${ac_cv_type_uint8_t+set}" = set; then 5027 echo $ECHO_N "(cached) $ECHO_C" >&6 5028 else 5029 cat >conftest.$ac_ext <<_ACEOF 5030 /* confdefs.h. */ 5031 _ACEOF 5032 cat confdefs.h >>conftest.$ac_ext 5033 cat >>conftest.$ac_ext <<_ACEOF 4686 if ac_fn_c_try_run "$LINENO"; then : 4687 ac_cv_c_bigendian=no 4688 else 4689 ac_cv_c_bigendian=yes 4690 fi 4691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4692 conftest.$ac_objext conftest.beam conftest.$ac_ext 4693 fi 4694 4695 fi 4696 fi 4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4698 $as_echo "$ac_cv_c_bigendian" >&6; } 4699 case $ac_cv_c_bigendian in #( 4700 yes) 4701 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4702 ;; #( 4703 no) 4704 ;; #( 4705 universal) 4706 4707 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4708 4709 ;; #( 4710 *) 4711 as_fn_error $? "unknown endianness 4712 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4713 esac 4714 4715 4716 # Make sure we can run config.sub. 4717 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4718 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4719 4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4721 $as_echo_n "checking build system type... " >&6; } 4722 if ${ac_cv_build+:} false; then : 4723 $as_echo_n "(cached) " >&6 4724 else 4725 ac_build_alias=$build_alias 4726 test "x$ac_build_alias" = x && 4727 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4728 test "x$ac_build_alias" = x && 4729 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4730 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4731 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4732 4733 fi 4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4735 $as_echo "$ac_cv_build" >&6; } 4736 case $ac_cv_build in 4737 *-*-*) ;; 4738 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4739 esac 4740 build=$ac_cv_build 4741 ac_save_IFS=$IFS; IFS='-' 4742 set x $ac_cv_build 4743 shift 4744 build_cpu=$1 4745 build_vendor=$2 4746 shift; shift 4747 # Remember, the first character of IFS is used to create $*, 4748 # except with old shells: 4749 build_os=$* 4750 IFS=$ac_save_IFS 4751 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4752 4753 4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4755 $as_echo_n "checking host system type... " >&6; } 4756 if ${ac_cv_host+:} false; then : 4757 $as_echo_n "(cached) " >&6 4758 else 4759 if test "x$host_alias" = x; then 4760 ac_cv_host=$ac_cv_build 4761 else 4762 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4763 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4764 fi 4765 4766 fi 4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4768 $as_echo "$ac_cv_host" >&6; } 4769 case $ac_cv_host in 4770 *-*-*) ;; 4771 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4772 esac 4773 host=$ac_cv_host 4774 ac_save_IFS=$IFS; IFS='-' 4775 set x $ac_cv_host 4776 shift 4777 host_cpu=$1 4778 host_vendor=$2 4779 shift; shift 4780 # Remember, the first character of IFS is used to create $*, 4781 # except with old shells: 4782 host_os=$* 4783 IFS=$ac_save_IFS 4784 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4785 4786 4787 4788 case $host_cpu in 4789 i*86 | x86_64 ) 4790 4791 $as_echo "#define CPU_CISC 1" >>confdefs.h 4792 4793 4794 $as_echo "#define HAVE_X86 1" >>confdefs.h 4795 ;; 4796 * ) 4797 4798 $as_echo "#define CPU_RISC 1" >>confdefs.h 4799 4800 ;; 4801 esac 4802 4803 case $host_os in 4804 *cygwin*|*mingw* ) 4805 EXE=.exe 4806 HOST_IS_WINDOWS=yes 4807 ;; 4808 * ) 4809 EXE="" 4810 ;; 4811 esac 4812 # define executable suffix; this is needed for `make clean' 4813 4814 4815 # Check whether --enable-kernel-linux was given. 4816 if test "${enable_kernel_linux+set}" = set; then : 4817 enableval=$enable_kernel_linux; 4818 else 4819 enable_kernel_linux=no 4820 fi 4821 4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build for Linux kernel context" >&5 4823 $as_echo_n "checking whether to build for Linux kernel context... " >&6; } 4824 if test "$enable_kernel_linux" = "yes"; then 4825 4826 $as_echo "#define SRTP_KERNEL 1" >>confdefs.h 4827 4828 4829 $as_echo "#define SRTP_KERNEL_LINUX 1" >>confdefs.h 4830 4831 fi 4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_kernel_linux" >&5 4833 $as_echo "$enable_kernel_linux" >&6; } 4834 4835 if test "$cross_compiling" != yes -a "$HOST_IS_WINDOWS" != yes; then 4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/urandom" >&5 4837 $as_echo_n "checking for /dev/urandom... " >&6; } 4838 if ${ac_cv_file__dev_urandom+:} false; then : 4839 $as_echo_n "(cached) " >&6 4840 else 4841 test "$cross_compiling" = yes && 4842 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 4843 if test -r "/dev/urandom"; then 4844 ac_cv_file__dev_urandom=yes 4845 else 4846 ac_cv_file__dev_urandom=no 4847 fi 4848 fi 4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_urandom" >&5 4850 $as_echo "$ac_cv_file__dev_urandom" >&6; } 4851 if test "x$ac_cv_file__dev_urandom" = xyes; then : 4852 DEV_URANDOM=/dev/urandom 4853 else 4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/random" >&5 4855 $as_echo_n "checking for /dev/random... " >&6; } 4856 if ${ac_cv_file__dev_random+:} false; then : 4857 $as_echo_n "(cached) " >&6 4858 else 4859 test "$cross_compiling" = yes && 4860 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 4861 if test -r "/dev/random"; then 4862 ac_cv_file__dev_random=yes 4863 else 4864 ac_cv_file__dev_random=no 4865 fi 4866 fi 4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_random" >&5 4868 $as_echo "$ac_cv_file__dev_random" >&6; } 4869 if test "x$ac_cv_file__dev_random" = xyes; then : 4870 DEV_URANDOM=/dev/random 4871 fi 4872 4873 fi 4874 4875 fi 4876 4877 4878 4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4880 $as_echo_n "checking for ANSI C header files... " >&6; } 4881 if ${ac_cv_header_stdc+:} false; then : 4882 $as_echo_n "(cached) " >&6 4883 else 4884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5034 4885 /* end confdefs.h. */ 5035 $ac_includes_default 4886 #include <stdlib.h> 4887 #include <stdarg.h> 4888 #include <string.h> 4889 #include <float.h> 4890 5036 4891 int 5037 4892 main () 5038 4893 { 5039 if ((uint8_t *) 0) 5040 return 0; 5041 if (sizeof (uint8_t)) 5042 return 0; 4894 5043 4895 ; 5044 4896 return 0; 5045 4897 } 5046 4898 _ACEOF 5047 rm -f conftest.$ac_objext 5048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5049 (eval $ac_compile) 2>conftest.er1 5050 ac_status=$? 5051 grep -v '^ *+' conftest.er1 >conftest.err 5052 rm -f conftest.er1 5053 cat conftest.err >&5 5054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5055 (exit $ac_status); } && 5056 { ac_try='test -z "$ac_c_werror_flag" 5057 || test ! -s conftest.err' 5058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5059 (eval $ac_try) 2>&5 5060 ac_status=$? 5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5062 (exit $ac_status); }; } && 5063 { ac_try='test -s conftest.$ac_objext' 5064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5065 (eval $ac_try) 2>&5 5066 ac_status=$? 5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5068 (exit $ac_status); }; }; then 5069 ac_cv_type_uint8_t=yes 5070 else 5071 echo "$as_me: failed program was:" >&5 5072 sed 's/^/| /' conftest.$ac_ext >&5 5073 5074 ac_cv_type_uint8_t=no 5075 fi 5076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5077 fi 5078 echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5 5079 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6 5080 if test $ac_cv_type_uint8_t = yes; then 5081 5082 cat >>confdefs.h <<_ACEOF 5083 #define HAVE_UINT8_T 1 5084 _ACEOF 5085 5086 5087 fi 5088 echo "$as_me:$LINENO: checking for int16_t" >&5 5089 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6 5090 if test "${ac_cv_type_int16_t+set}" = set; then 5091 echo $ECHO_N "(cached) $ECHO_C" >&6 5092 else 5093 cat >conftest.$ac_ext <<_ACEOF 5094 /* confdefs.h. */ 5095 _ACEOF 5096 cat confdefs.h >>conftest.$ac_ext 5097 cat >>conftest.$ac_ext <<_ACEOF 4899 if ac_fn_c_try_compile "$LINENO"; then : 4900 ac_cv_header_stdc=yes 4901 else 4902 ac_cv_header_stdc=no 4903 fi 4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4905 4906 if test $ac_cv_header_stdc = yes; then 4907 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5098 4909 /* end confdefs.h. */ 5099 $ac_includes_default 4910 #include <string.h> 4911 4912 _ACEOF 4913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4914 $EGREP "memchr" >/dev/null 2>&1; then : 4915 4916 else 4917 ac_cv_header_stdc=no 4918 fi 4919 rm -f conftest* 4920 4921 fi 4922 4923 if test $ac_cv_header_stdc = yes; then 4924 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4926 /* end confdefs.h. */ 4927 #include <stdlib.h> 4928 4929 _ACEOF 4930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4931 $EGREP "free" >/dev/null 2>&1; then : 4932 4933 else 4934 ac_cv_header_stdc=no 4935 fi 4936 rm -f conftest* 4937 4938 fi 4939 4940 if test $ac_cv_header_stdc = yes; then 4941 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4942 if test "$cross_compiling" = yes; then : 4943 : 4944 else 4945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4946 /* end confdefs.h. */ 4947 #include <ctype.h> 4948 #include <stdlib.h> 4949 #if ((' ' & 0x0FF) == 0x020) 4950 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4951 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4952 #else 4953 # define ISLOWER(c) \ 4954 (('a' <= (c) && (c) <= 'i') \ 4955 || ('j' <= (c) && (c) <= 'r') \ 4956 || ('s' <= (c) && (c) <= 'z')) 4957 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4958 #endif 4959 4960 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5100 4961 int 5101 4962 main () 5102 4963 { 5103 if ((int16_t *) 0) 5104 return 0;5105 if (sizeof (int16_t))5106 return 0; 5107 ;4964 int i; 4965 for (i = 0; i < 256; i++) 4966 if (XOR (islower (i), ISLOWER (i)) 4967 || toupper (i) != TOUPPER (i)) 4968 return 2; 5108 4969 return 0; 5109 4970 } 5110 4971 _ACEOF 5111 rm -f conftest.$ac_objext 5112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5113 (eval $ac_compile) 2>conftest.er1 5114 ac_status=$? 5115 grep -v '^ *+' conftest.er1 >conftest.err 5116 rm -f conftest.er1 5117 cat conftest.err >&5 5118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5119 (exit $ac_status); } && 5120 { ac_try='test -z "$ac_c_werror_flag" 5121 || test ! -s conftest.err' 5122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5123 (eval $ac_try) 2>&5 5124 ac_status=$? 5125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5126 (exit $ac_status); }; } && 5127 { ac_try='test -s conftest.$ac_objext' 5128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5129 (eval $ac_try) 2>&5 5130 ac_status=$? 5131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5132 (exit $ac_status); }; }; then 5133 ac_cv_type_int16_t=yes 5134 else 5135 echo "$as_me: failed program was:" >&5 5136 sed 's/^/| /' conftest.$ac_ext >&5 5137 5138 ac_cv_type_int16_t=no 5139 fi 5140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5141 fi 5142 echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5 5143 echo "${ECHO_T}$ac_cv_type_int16_t" >&6 5144 if test $ac_cv_type_int16_t = yes; then 4972 if ac_fn_c_try_run "$LINENO"; then : 4973 4974 else 4975 ac_cv_header_stdc=no 4976 fi 4977 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4978 conftest.$ac_objext conftest.beam conftest.$ac_ext 4979 fi 4980 4981 fi 4982 fi 4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4984 $as_echo "$ac_cv_header_stdc" >&6; } 4985 if test $ac_cv_header_stdc = yes; then 4986 4987 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4988 4989 fi 4990 4991 for ac_header in stdlib.h 4992 do : 4993 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 4994 if test "x$ac_cv_header_stdlib_h" = xyes; then : 4995 cat >>confdefs.h <<_ACEOF 4996 #define HAVE_STDLIB_H 1 4997 _ACEOF 4998 4999 fi 5000 5001 done 5002 5003 for ac_header in unistd.h 5004 do : 5005 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 5006 if test "x$ac_cv_header_unistd_h" = xyes; then : 5007 cat >>confdefs.h <<_ACEOF 5008 #define HAVE_UNISTD_H 1 5009 _ACEOF 5010 5011 fi 5012 5013 done 5014 5015 for ac_header in byteswap.h 5016 do : 5017 ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default" 5018 if test "x$ac_cv_header_byteswap_h" = xyes; then : 5019 cat >>confdefs.h <<_ACEOF 5020 #define HAVE_BYTESWAP_H 1 5021 _ACEOF 5022 5023 fi 5024 5025 done 5026 5027 for ac_header in stdint.h 5028 do : 5029 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 5030 if test "x$ac_cv_header_stdint_h" = xyes; then : 5031 cat >>confdefs.h <<_ACEOF 5032 #define HAVE_STDINT_H 1 5033 _ACEOF 5034 5035 fi 5036 5037 done 5038 5039 for ac_header in sys/uio.h 5040 do : 5041 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default" 5042 if test "x$ac_cv_header_sys_uio_h" = xyes; then : 5043 cat >>confdefs.h <<_ACEOF 5044 #define HAVE_SYS_UIO_H 1 5045 _ACEOF 5046 5047 fi 5048 5049 done 5050 5051 for ac_header in inttypes.h 5052 do : 5053 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" 5054 if test "x$ac_cv_header_inttypes_h" = xyes; then : 5055 cat >>confdefs.h <<_ACEOF 5056 #define HAVE_INTTYPES_H 1 5057 _ACEOF 5058 5059 fi 5060 5061 done 5062 5063 for ac_header in sys/types.h 5064 do : 5065 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 5066 if test "x$ac_cv_header_sys_types_h" = xyes; then : 5067 cat >>confdefs.h <<_ACEOF 5068 #define HAVE_SYS_TYPES_H 1 5069 _ACEOF 5070 5071 fi 5072 5073 done 5074 5075 for ac_header in machine/types.h 5076 do : 5077 ac_fn_c_check_header_mongrel "$LINENO" "machine/types.h" "ac_cv_header_machine_types_h" "$ac_includes_default" 5078 if test "x$ac_cv_header_machine_types_h" = xyes; then : 5079 cat >>confdefs.h <<_ACEOF 5080 #define HAVE_MACHINE_TYPES_H 1 5081 _ACEOF 5082 5083 fi 5084 5085 done 5086 5087 for ac_header in sys/int_types.h 5088 do : 5089 ac_fn_c_check_header_mongrel "$LINENO" "sys/int_types.h" "ac_cv_header_sys_int_types_h" "$ac_includes_default" 5090 if test "x$ac_cv_header_sys_int_types_h" = xyes; then : 5091 cat >>confdefs.h <<_ACEOF 5092 #define HAVE_SYS_INT_TYPES_H 1 5093 _ACEOF 5094 5095 fi 5096 5097 done 5098 5099 5100 for ac_header in sys/socket.h netinet/in.h arpa/inet.h 5101 do : 5102 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5103 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5104 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5105 cat >>confdefs.h <<_ACEOF 5106 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5107 _ACEOF 5108 5109 fi 5110 5111 done 5112 5113 for ac_header in windows.h 5114 do : 5115 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default" 5116 if test "x$ac_cv_header_windows_h" = xyes; then : 5117 cat >>confdefs.h <<_ACEOF 5118 #define HAVE_WINDOWS_H 1 5119 _ACEOF 5120 for ac_header in winsock2.h 5121 do : 5122 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 5123 if test "x$ac_cv_header_winsock2_h" = xyes; then : 5124 cat >>confdefs.h <<_ACEOF 5125 #define HAVE_WINSOCK2_H 1 5126 _ACEOF 5127 5128 fi 5129 5130 done 5131 5132 fi 5133 5134 done 5135 5136 5137 for ac_header in syslog.h 5138 do : 5139 ac_fn_c_check_header_mongrel "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default" 5140 if test "x$ac_cv_header_syslog_h" = xyes; then : 5141 cat >>confdefs.h <<_ACEOF 5142 #define HAVE_SYSLOG_H 1 5143 _ACEOF 5144 5145 fi 5146 5147 done 5148 5149 5150 ac_fn_c_check_type "$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default" 5151 if test "x$ac_cv_type_int8_t" = xyes; then : 5152 5153 cat >>confdefs.h <<_ACEOF 5154 #define HAVE_INT8_T 1 5155 _ACEOF 5156 5157 5158 fi 5159 ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default" 5160 if test "x$ac_cv_type_uint8_t" = xyes; then : 5161 5162 cat >>confdefs.h <<_ACEOF 5163 #define HAVE_UINT8_T 1 5164 _ACEOF 5165 5166 5167 fi 5168 ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default" 5169 if test "x$ac_cv_type_int16_t" = xyes; then : 5145 5170 5146 5171 cat >>confdefs.h <<_ACEOF … … 5150 5175 5151 5176 fi 5152 echo "$as_me:$LINENO: checking for uint16_t" >&5 5153 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6 5154 if test "${ac_cv_type_uint16_t+set}" = set; then 5155 echo $ECHO_N "(cached) $ECHO_C" >&6 5156 else 5157 cat >conftest.$ac_ext <<_ACEOF 5158 /* confdefs.h. */ 5159 _ACEOF 5160 cat confdefs.h >>conftest.$ac_ext 5161 cat >>conftest.$ac_ext <<_ACEOF 5177 ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default" 5178 if test "x$ac_cv_type_uint16_t" = xyes; then : 5179 5180 cat >>confdefs.h <<_ACEOF 5181 #define HAVE_UINT16_T 1 5182 _ACEOF 5183 5184 5185 fi 5186 ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default" 5187 if test "x$ac_cv_type_int32_t" = xyes; then : 5188 5189 cat >>confdefs.h <<_ACEOF 5190 #define HAVE_INT32_T 1 5191 _ACEOF 5192 5193 5194 fi 5195 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default" 5196 if test "x$ac_cv_type_uint32_t" = xyes; then : 5197 5198 cat >>confdefs.h <<_ACEOF 5199 #define HAVE_UINT32_T 1 5200 _ACEOF 5201 5202 5203 fi 5204 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "$ac_includes_default" 5205 if test "x$ac_cv_type_uint64_t" = xyes; then : 5206 5207 cat >>confdefs.h <<_ACEOF 5208 #define HAVE_UINT64_T 1 5209 _ACEOF 5210 5211 5212 fi 5213 5214 # The cast to long int works around a bug in the HP C Compiler 5215 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 5216 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 5217 # This bug is HP SR number 8606223364. 5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5 5219 $as_echo_n "checking size of unsigned long... " >&6; } 5220 if ${ac_cv_sizeof_unsigned_long+:} false; then : 5221 $as_echo_n "(cached) " >&6 5222 else 5223 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then : 5224 5225 else 5226 if test "$ac_cv_type_unsigned_long" = yes; then 5227 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5229 as_fn_error 77 "cannot compute sizeof (unsigned long) 5230 See \`config.log' for more details" "$LINENO" 5; } 5231 else 5232 ac_cv_sizeof_unsigned_long=0 5233 fi 5234 fi 5235 5236 fi 5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5 5238 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; } 5239 5240 5241 5242 cat >>confdefs.h <<_ACEOF 5243 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long 5244 _ACEOF 5245 5246 5247 # The cast to long int works around a bug in the HP C Compiler 5248 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 5249 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 5250 # This bug is HP SR number 8606223364. 5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long long" >&5 5252 $as_echo_n "checking size of unsigned long long... " >&6; } 5253 if ${ac_cv_sizeof_unsigned_long_long+:} false; then : 5254 $as_echo_n "(cached) " >&6 5255 else 5256 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long long))" "ac_cv_sizeof_unsigned_long_long" "$ac_includes_default"; then : 5257 5258 else 5259 if test "$ac_cv_type_unsigned_long_long" = yes; then 5260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5262 as_fn_error 77 "cannot compute sizeof (unsigned long long) 5263 See \`config.log' for more details" "$LINENO" 5; } 5264 else 5265 ac_cv_sizeof_unsigned_long_long=0 5266 fi 5267 fi 5268 5269 fi 5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long_long" >&5 5271 $as_echo "$ac_cv_sizeof_unsigned_long_long" >&6; } 5272 5273 5274 5275 cat >>confdefs.h <<_ACEOF 5276 #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long 5277 _ACEOF 5278 5279 5280 5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 5282 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 5283 if ${ac_cv_c_const+:} false; then : 5284 $as_echo_n "(cached) " >&6 5285 else 5286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5162 5287 /* end confdefs.h. */ 5163 $ac_includes_default 5288 5164 5289 int 5165 5290 main () 5166 5291 { 5167 if ((uint16_t *) 0) 5168 return 0; 5169 if (sizeof (uint16_t)) 5170 return 0; 5171 ; 5172 return 0; 5173 } 5174 _ACEOF 5175 rm -f conftest.$ac_objext 5176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5177 (eval $ac_compile) 2>conftest.er1 5178 ac_status=$? 5179 grep -v '^ *+' conftest.er1 >conftest.err 5180 rm -f conftest.er1 5181 cat conftest.err >&5 5182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5183 (exit $ac_status); } && 5184 { ac_try='test -z "$ac_c_werror_flag" 5185 || test ! -s conftest.err' 5186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5187 (eval $ac_try) 2>&5 5188 ac_status=$? 5189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5190 (exit $ac_status); }; } && 5191 { ac_try='test -s conftest.$ac_objext' 5192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5193 (eval $ac_try) 2>&5 5194 ac_status=$? 5195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5196 (exit $ac_status); }; }; then 5197 ac_cv_type_uint16_t=yes 5198 else 5199 echo "$as_me: failed program was:" >&5 5200 sed 's/^/| /' conftest.$ac_ext >&5 5201 5202 ac_cv_type_uint16_t=no 5203 fi 5204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5205 fi 5206 echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5 5207 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6 5208 if test $ac_cv_type_uint16_t = yes; then 5209 5210 cat >>confdefs.h <<_ACEOF 5211 #define HAVE_UINT16_T 1 5212 _ACEOF 5213 5214 5215 fi 5216 echo "$as_me:$LINENO: checking for int32_t" >&5 5217 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6 5218 if test "${ac_cv_type_int32_t+set}" = set; then 5219 echo $ECHO_N "(cached) $ECHO_C" >&6 5220 else 5221 cat >conftest.$ac_ext <<_ACEOF 5222 /* confdefs.h. */ 5223 _ACEOF 5224 cat confdefs.h >>conftest.$ac_ext 5225 cat >>conftest.$ac_ext <<_ACEOF 5226 /* end confdefs.h. */ 5227 $ac_includes_default 5228 int 5229 main () 5230 { 5231 if ((int32_t *) 0) 5232 return 0; 5233 if (sizeof (int32_t)) 5234 return 0; 5235 ; 5236 return 0; 5237 } 5238 _ACEOF 5239 rm -f conftest.$ac_objext 5240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5241 (eval $ac_compile) 2>conftest.er1 5242 ac_status=$? 5243 grep -v '^ *+' conftest.er1 >conftest.err 5244 rm -f conftest.er1 5245 cat conftest.err >&5 5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5247 (exit $ac_status); } && 5248 { ac_try='test -z "$ac_c_werror_flag" 5249 || test ! -s conftest.err' 5250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5251 (eval $ac_try) 2>&5 5252 ac_status=$? 5253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5254 (exit $ac_status); }; } && 5255 { ac_try='test -s conftest.$ac_objext' 5256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5257 (eval $ac_try) 2>&5 5258 ac_status=$? 5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5260 (exit $ac_status); }; }; then 5261 ac_cv_type_int32_t=yes 5262 else 5263 echo "$as_me: failed program was:" >&5 5264 sed 's/^/| /' conftest.$ac_ext >&5 5265 5266 ac_cv_type_int32_t=no 5267 fi 5268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5269 fi 5270 echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5 5271 echo "${ECHO_T}$ac_cv_type_int32_t" >&6 5272 if test $ac_cv_type_int32_t = yes; then 5273 5274 cat >>confdefs.h <<_ACEOF 5275 #define HAVE_INT32_T 1 5276 _ACEOF 5277 5278 5279 fi 5280 echo "$as_me:$LINENO: checking for uint32_t" >&5 5281 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6 5282 if test "${ac_cv_type_uint32_t+set}" = set; then 5283 echo $ECHO_N "(cached) $ECHO_C" >&6 5284 else 5285 cat >conftest.$ac_ext <<_ACEOF 5286 /* confdefs.h. */ 5287 _ACEOF 5288 cat confdefs.h >>conftest.$ac_ext 5289 cat >>conftest.$ac_ext <<_ACEOF 5290 /* end confdefs.h. */ 5291 $ac_includes_default 5292 int 5293 main () 5294 { 5295 if ((uint32_t *) 0) 5296 return 0; 5297 if (sizeof (uint32_t)) 5298 return 0; 5299 ; 5300 return 0; 5301 } 5302 _ACEOF 5303 rm -f conftest.$ac_objext 5304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5305 (eval $ac_compile) 2>conftest.er1 5306 ac_status=$? 5307 grep -v '^ *+' conftest.er1 >conftest.err 5308 rm -f conftest.er1 5309 cat conftest.err >&5 5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5311 (exit $ac_status); } && 5312 { ac_try='test -z "$ac_c_werror_flag" 5313 || test ! -s conftest.err' 5314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5315 (eval $ac_try) 2>&5 5316 ac_status=$? 5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5318 (exit $ac_status); }; } && 5319 { ac_try='test -s conftest.$ac_objext' 5320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5321 (eval $ac_try) 2>&5 5322 ac_status=$? 5323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5324 (exit $ac_status); }; }; then 5325 ac_cv_type_uint32_t=yes 5326 else 5327 echo "$as_me: failed program was:" >&5 5328 sed 's/^/| /' conftest.$ac_ext >&5 5329 5330 ac_cv_type_uint32_t=no 5331 fi 5332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5333 fi 5334 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 5335 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6 5336 if test $ac_cv_type_uint32_t = yes; then 5337 5338 cat >>confdefs.h <<_ACEOF 5339 #define HAVE_UINT32_T 1 5340 _ACEOF 5341 5342 5343 fi 5344 echo "$as_me:$LINENO: checking for uint64_t" >&5 5345 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 5346 if test "${ac_cv_type_uint64_t+set}" = set; then 5347 echo $ECHO_N "(cached) $ECHO_C" >&6 5348 else 5349 cat >conftest.$ac_ext <<_ACEOF 5350 /* confdefs.h. */ 5351 _ACEOF 5352 cat confdefs.h >>conftest.$ac_ext 5353 cat >>conftest.$ac_ext <<_ACEOF 5354 /* end confdefs.h. */ 5355 $ac_includes_default 5356 int 5357 main () 5358 { 5359 if ((uint64_t *) 0) 5360 return 0; 5361 if (sizeof (uint64_t)) 5362 return 0; 5363 ; 5364 return 0; 5365 } 5366 _ACEOF 5367 rm -f conftest.$ac_objext 5368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5369 (eval $ac_compile) 2>conftest.er1 5370 ac_status=$? 5371 grep -v '^ *+' conftest.er1 >conftest.err 5372 rm -f conftest.er1 5373 cat conftest.err >&5 5374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5375 (exit $ac_status); } && 5376 { ac_try='test -z "$ac_c_werror_flag" 5377 || test ! -s conftest.err' 5378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5379 (eval $ac_try) 2>&5 5380 ac_status=$? 5381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5382 (exit $ac_status); }; } && 5383 { ac_try='test -s conftest.$ac_objext' 5384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5385 (eval $ac_try) 2>&5 5386 ac_status=$? 5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5388 (exit $ac_status); }; }; then 5389 ac_cv_type_uint64_t=yes 5390 else 5391 echo "$as_me: failed program was:" >&5 5392 sed 's/^/| /' conftest.$ac_ext >&5 5393 5394 ac_cv_type_uint64_t=no 5395 fi 5396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5397 fi 5398 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 5399 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 5400 if test $ac_cv_type_uint64_t = yes; then 5401 5402 cat >>confdefs.h <<_ACEOF 5403 #define HAVE_UINT64_T 1 5404 _ACEOF 5405 5406 5407 fi 5408 5409 echo "$as_me:$LINENO: checking for unsigned long" >&5 5410 echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6 5411 if test "${ac_cv_type_unsigned_long+set}" = set; then 5412 echo $ECHO_N "(cached) $ECHO_C" >&6 5413 else 5414 cat >conftest.$ac_ext <<_ACEOF 5415 /* confdefs.h. */ 5416 _ACEOF 5417 cat confdefs.h >>conftest.$ac_ext 5418 cat >>conftest.$ac_ext <<_ACEOF 5419 /* end confdefs.h. */ 5420 $ac_includes_default 5421 int 5422 main () 5423 { 5424 if ((unsigned long *) 0) 5425 return 0; 5426 if (sizeof (unsigned long)) 5427 return 0; 5428 ; 5429 return 0; 5430 } 5431 _ACEOF 5432 rm -f conftest.$ac_objext 5433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5434 (eval $ac_compile) 2>conftest.er1 5435 ac_status=$? 5436 grep -v '^ *+' conftest.er1 >conftest.err 5437 rm -f conftest.er1 5438 cat conftest.err >&5 5439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5440 (exit $ac_status); } && 5441 { ac_try='test -z "$ac_c_werror_flag" 5442 || test ! -s conftest.err' 5443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5444 (eval $ac_try) 2>&5 5445 ac_status=$? 5446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5447 (exit $ac_status); }; } && 5448 { ac_try='test -s conftest.$ac_objext' 5449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5450 (eval $ac_try) 2>&5 5451 ac_status=$? 5452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5453 (exit $ac_status); }; }; then 5454 ac_cv_type_unsigned_long=yes 5455 else 5456 echo "$as_me: failed program was:" >&5 5457 sed 's/^/| /' conftest.$ac_ext >&5 5458 5459 ac_cv_type_unsigned_long=no 5460 fi 5461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5462 fi 5463 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5 5464 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6 5465 5466 echo "$as_me:$LINENO: checking size of unsigned long" >&5 5467 echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6 5468 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then 5469 echo $ECHO_N "(cached) $ECHO_C" >&6 5470 else 5471 if test "$ac_cv_type_unsigned_long" = yes; then 5472 # The cast to unsigned long works around a bug in the HP C Compiler 5473 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 5474 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 5475 # This bug is HP SR number 8606223364. 5476 if test "$cross_compiling" = yes; then 5477 # Depending upon the size, compute the lo and hi bounds. 5478 cat >conftest.$ac_ext <<_ACEOF 5479 /* confdefs.h. */ 5480 _ACEOF 5481 cat confdefs.h >>conftest.$ac_ext 5482 cat >>conftest.$ac_ext <<_ACEOF 5483 /* end confdefs.h. */ 5484 $ac_includes_default 5485 int 5486 main () 5487 { 5488 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)]; 5489 test_array [0] = 0 5490 5491 ; 5492 return 0; 5493 } 5494 _ACEOF 5495 rm -f conftest.$ac_objext 5496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5497 (eval $ac_compile) 2>conftest.er1 5498 ac_status=$? 5499 grep -v '^ *+' conftest.er1 >conftest.err 5500 rm -f conftest.er1 5501 cat conftest.err >&5 5502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5503 (exit $ac_status); } && 5504 { ac_try='test -z "$ac_c_werror_flag" 5505 || test ! -s conftest.err' 5506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5507 (eval $ac_try) 2>&5 5508 ac_status=$? 5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5510 (exit $ac_status); }; } && 5511 { ac_try='test -s conftest.$ac_objext' 5512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5513 (eval $ac_try) 2>&5 5514 ac_status=$? 5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5516 (exit $ac_status); }; }; then 5517 ac_lo=0 ac_mid=0 5518 while :; do 5519 cat >conftest.$ac_ext <<_ACEOF 5520 /* confdefs.h. */ 5521 _ACEOF 5522 cat confdefs.h >>conftest.$ac_ext 5523 cat >>conftest.$ac_ext <<_ACEOF 5524 /* end confdefs.h. */ 5525 $ac_includes_default 5526 int 5527 main () 5528 { 5529 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)]; 5530 test_array [0] = 0 5531 5532 ; 5533 return 0; 5534 } 5535 _ACEOF 5536 rm -f conftest.$ac_objext 5537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5538 (eval $ac_compile) 2>conftest.er1 5539 ac_status=$? 5540 grep -v '^ *+' conftest.er1 >conftest.err 5541 rm -f conftest.er1 5542 cat conftest.err >&5 5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5544 (exit $ac_status); } && 5545 { ac_try='test -z "$ac_c_werror_flag" 5546 || test ! -s conftest.err' 5547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5548 (eval $ac_try) 2>&5 5549 ac_status=$? 5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5551 (exit $ac_status); }; } && 5552 { ac_try='test -s conftest.$ac_objext' 5553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5554 (eval $ac_try) 2>&5 5555 ac_status=$? 5556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5557 (exit $ac_status); }; }; then 5558 ac_hi=$ac_mid; break 5559 else 5560 echo "$as_me: failed program was:" >&5 5561 sed 's/^/| /' conftest.$ac_ext >&5 5562 5563 ac_lo=`expr $ac_mid + 1` 5564 if test $ac_lo -le $ac_mid; then 5565 ac_lo= ac_hi= 5566 break 5567 fi 5568 ac_mid=`expr 2 '*' $ac_mid + 1` 5569 fi 5570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5571 done 5572 else 5573 echo "$as_me: failed program was:" >&5 5574 sed 's/^/| /' conftest.$ac_ext >&5 5575 5576 cat >conftest.$ac_ext <<_ACEOF 5577 /* confdefs.h. */ 5578 _ACEOF 5579 cat confdefs.h >>conftest.$ac_ext 5580 cat >>conftest.$ac_ext <<_ACEOF 5581 /* end confdefs.h. */ 5582 $ac_includes_default 5583 int 5584 main () 5585 { 5586 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)]; 5587 test_array [0] = 0 5588 5589 ; 5590 return 0; 5591 } 5592 _ACEOF 5593 rm -f conftest.$ac_objext 5594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5595 (eval $ac_compile) 2>conftest.er1 5596 ac_status=$? 5597 grep -v '^ *+' conftest.er1 >conftest.err 5598 rm -f conftest.er1 5599 cat conftest.err >&5 5600 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5601 (exit $ac_status); } && 5602 { ac_try='test -z "$ac_c_werror_flag" 5603 || test ! -s conftest.err' 5604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5605 (eval $ac_try) 2>&5 5606 ac_status=$? 5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5608 (exit $ac_status); }; } && 5609 { ac_try='test -s conftest.$ac_objext' 5610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5611 (eval $ac_try) 2>&5 5612 ac_status=$? 5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5614 (exit $ac_status); }; }; then 5615 ac_hi=-1 ac_mid=-1 5616 while :; do 5617 cat >conftest.$ac_ext <<_ACEOF 5618 /* confdefs.h. */ 5619 _ACEOF 5620 cat confdefs.h >>conftest.$ac_ext 5621 cat >>conftest.$ac_ext <<_ACEOF 5622 /* end confdefs.h. */ 5623 $ac_includes_default 5624 int 5625 main () 5626 { 5627 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)]; 5628 test_array [0] = 0 5629 5630 ; 5631 return 0; 5632 } 5633 _ACEOF 5634 rm -f conftest.$ac_objext 5635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5636 (eval $ac_compile) 2>conftest.er1 5637 ac_status=$? 5638 grep -v '^ *+' conftest.er1 >conftest.err 5639 rm -f conftest.er1 5640 cat conftest.err >&5 5641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5642 (exit $ac_status); } && 5643 { ac_try='test -z "$ac_c_werror_flag" 5644 || test ! -s conftest.err' 5645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5646 (eval $ac_try) 2>&5 5647 ac_status=$? 5648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5649 (exit $ac_status); }; } && 5650 { ac_try='test -s conftest.$ac_objext' 5651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5652 (eval $ac_try) 2>&5 5653 ac_status=$? 5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5655 (exit $ac_status); }; }; then 5656 ac_lo=$ac_mid; break 5657 else 5658 echo "$as_me: failed program was:" >&5 5659 sed 's/^/| /' conftest.$ac_ext >&5 5660 5661 ac_hi=`expr '(' $ac_mid ')' - 1` 5662 if test $ac_mid -le $ac_hi; then 5663 ac_lo= ac_hi= 5664 break 5665 fi 5666 ac_mid=`expr 2 '*' $ac_mid` 5667 fi 5668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5669 done 5670 else 5671 echo "$as_me: failed program was:" >&5 5672 sed 's/^/| /' conftest.$ac_ext >&5 5673 5674 ac_lo= ac_hi= 5675 fi 5676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5677 fi 5678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5679 # Binary search between lo and hi bounds. 5680 while test "x$ac_lo" != "x$ac_hi"; do 5681 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 5682 cat >conftest.$ac_ext <<_ACEOF 5683 /* confdefs.h. */ 5684 _ACEOF 5685 cat confdefs.h >>conftest.$ac_ext 5686 cat >>conftest.$ac_ext <<_ACEOF 5687 /* end confdefs.h. */ 5688 $ac_includes_default 5689 int 5690 main () 5691 { 5692 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)]; 5693 test_array [0] = 0 5694 5695 ; 5696 return 0; 5697 } 5698 _ACEOF 5699 rm -f conftest.$ac_objext 5700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5701 (eval $ac_compile) 2>conftest.er1 5702 ac_status=$? 5703 grep -v '^ *+' conftest.er1 >conftest.err 5704 rm -f conftest.er1 5705 cat conftest.err >&5 5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5707 (exit $ac_status); } && 5708 { ac_try='test -z "$ac_c_werror_flag" 5709 || test ! -s conftest.err' 5710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5711 (eval $ac_try) 2>&5 5712 ac_status=$? 5713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5714 (exit $ac_status); }; } && 5715 { ac_try='test -s conftest.$ac_objext' 5716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5717 (eval $ac_try) 2>&5 5718 ac_status=$? 5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5720 (exit $ac_status); }; }; then 5721 ac_hi=$ac_mid 5722 else 5723 echo "$as_me: failed program was:" >&5 5724 sed 's/^/| /' conftest.$ac_ext >&5 5725 5726 ac_lo=`expr '(' $ac_mid ')' + 1` 5727 fi 5728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5729 done 5730 case $ac_lo in 5731 ?*) ac_cv_sizeof_unsigned_long=$ac_lo;; 5732 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77 5733 See \`config.log' for more details." >&5 5734 echo "$as_me: error: cannot compute sizeof (unsigned long), 77 5735 See \`config.log' for more details." >&2;} 5736 { (exit 1); exit 1; }; } ;; 5737 esac 5738 else 5739 if test "$cross_compiling" = yes; then 5740 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 5741 See \`config.log' for more details." >&5 5742 echo "$as_me: error: cannot run test program while cross compiling 5743 See \`config.log' for more details." >&2;} 5744 { (exit 1); exit 1; }; } 5745 else 5746 cat >conftest.$ac_ext <<_ACEOF 5747 /* confdefs.h. */ 5748 _ACEOF 5749 cat confdefs.h >>conftest.$ac_ext 5750 cat >>conftest.$ac_ext <<_ACEOF 5751 /* end confdefs.h. */ 5752 $ac_includes_default 5753 long longval () { return (long) (sizeof (unsigned long)); } 5754 unsigned long ulongval () { return (long) (sizeof (unsigned long)); } 5755 #include <stdio.h> 5756 #include <stdlib.h> 5757 int 5758 main () 5759 { 5760 5761 FILE *f = fopen ("conftest.val", "w"); 5762 if (! f) 5763 exit (1); 5764 if (((long) (sizeof (unsigned long))) < 0) 5765 { 5766 long i = longval (); 5767 if (i != ((long) (sizeof (unsigned long)))) 5768 exit (1); 5769 fprintf (f, "%ld\n", i); 5770 } 5771 else 5772 { 5773 unsigned long i = ulongval (); 5774 if (i != ((long) (sizeof (unsigned long)))) 5775 exit (1); 5776 fprintf (f, "%lu\n", i); 5777 } 5778 exit (ferror (f) || fclose (f) != 0); 5779 5780 ; 5781 return 0; 5782 } 5783 _ACEOF 5784 rm -f conftest$ac_exeext 5785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5786 (eval $ac_link) 2>&5 5787 ac_status=$? 5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5789 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5791 (eval $ac_try) 2>&5 5792 ac_status=$? 5793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5794 (exit $ac_status); }; }; then 5795 ac_cv_sizeof_unsigned_long=`cat conftest.val` 5796 else 5797 echo "$as_me: program exited with status $ac_status" >&5 5798 echo "$as_me: failed program was:" >&5 5799 sed 's/^/| /' conftest.$ac_ext >&5 5800 5801 ( exit $ac_status ) 5802 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77 5803 See \`config.log' for more details." >&5 5804 echo "$as_me: error: cannot compute sizeof (unsigned long), 77 5805 See \`config.log' for more details." >&2;} 5806 { (exit 1); exit 1; }; } 5807 fi 5808 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5809 fi 5810 fi 5811 rm -f conftest.val 5812 else 5813 ac_cv_sizeof_unsigned_long=0 5814 fi 5815 fi 5816 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5 5817 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6 5818 cat >>confdefs.h <<_ACEOF 5819 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long 5820 _ACEOF 5821 5822 5823 echo "$as_me:$LINENO: checking for unsigned long long" >&5 5824 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6 5825 if test "${ac_cv_type_unsigned_long_long+set}" = set; then 5826 echo $ECHO_N "(cached) $ECHO_C" >&6 5827 else 5828 cat >conftest.$ac_ext <<_ACEOF 5829 /* confdefs.h. */ 5830 _ACEOF 5831 cat confdefs.h >>conftest.$ac_ext 5832 cat >>conftest.$ac_ext <<_ACEOF 5833 /* end confdefs.h. */ 5834 $ac_includes_default 5835 int 5836 main () 5837 { 5838 if ((unsigned long long *) 0) 5839 return 0; 5840 if (sizeof (unsigned long long)) 5841 return 0; 5842 ; 5843 return 0; 5844 } 5845 _ACEOF 5846 rm -f conftest.$ac_objext 5847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5848 (eval $ac_compile) 2>conftest.er1 5849 ac_status=$? 5850 grep -v '^ *+' conftest.er1 >conftest.err 5851 rm -f conftest.er1 5852 cat conftest.err >&5 5853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5854 (exit $ac_status); } && 5855 { ac_try='test -z "$ac_c_werror_flag" 5856 || test ! -s conftest.err' 5857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5858 (eval $ac_try) 2>&5 5859 ac_status=$? 5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5861 (exit $ac_status); }; } && 5862 { ac_try='test -s conftest.$ac_objext' 5863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5864 (eval $ac_try) 2>&5 5865 ac_status=$? 5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5867 (exit $ac_status); }; }; then 5868 ac_cv_type_unsigned_long_long=yes 5869 else 5870 echo "$as_me: failed program was:" >&5 5871 sed 's/^/| /' conftest.$ac_ext >&5 5872 5873 ac_cv_type_unsigned_long_long=no 5874 fi 5875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5876 fi 5877 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 5878 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6 5879 5880 echo "$as_me:$LINENO: checking size of unsigned long long" >&5 5881 echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6 5882 if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then 5883 echo $ECHO_N "(cached) $ECHO_C" >&6 5884 else 5885 if test "$ac_cv_type_unsigned_long_long" = yes; then 5886 # The cast to unsigned long works around a bug in the HP C Compiler 5887 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 5888 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 5889 # This bug is HP SR number 8606223364. 5890 if test "$cross_compiling" = yes; then 5891 # Depending upon the size, compute the lo and hi bounds. 5892 cat >conftest.$ac_ext <<_ACEOF 5893 /* confdefs.h. */ 5894 _ACEOF 5895 cat confdefs.h >>conftest.$ac_ext 5896 cat >>conftest.$ac_ext <<_ACEOF 5897 /* end confdefs.h. */ 5898 $ac_includes_default 5899 int 5900 main () 5901 { 5902 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= 0)]; 5903 test_array [0] = 0 5904 5905 ; 5906 return 0; 5907 } 5908 _ACEOF 5909 rm -f conftest.$ac_objext 5910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5911 (eval $ac_compile) 2>conftest.er1 5912 ac_status=$? 5913 grep -v '^ *+' conftest.er1 >conftest.err 5914 rm -f conftest.er1 5915 cat conftest.err >&5 5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5917 (exit $ac_status); } && 5918 { ac_try='test -z "$ac_c_werror_flag" 5919 || test ! -s conftest.err' 5920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5921 (eval $ac_try) 2>&5 5922 ac_status=$? 5923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5924 (exit $ac_status); }; } && 5925 { ac_try='test -s conftest.$ac_objext' 5926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5927 (eval $ac_try) 2>&5 5928 ac_status=$? 5929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5930 (exit $ac_status); }; }; then 5931 ac_lo=0 ac_mid=0 5932 while :; do 5933 cat >conftest.$ac_ext <<_ACEOF 5934 /* confdefs.h. */ 5935 _ACEOF 5936 cat confdefs.h >>conftest.$ac_ext 5937 cat >>conftest.$ac_ext <<_ACEOF 5938 /* end confdefs.h. */ 5939 $ac_includes_default 5940 int 5941 main () 5942 { 5943 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)]; 5944 test_array [0] = 0 5945 5946 ; 5947 return 0; 5948 } 5949 _ACEOF 5950 rm -f conftest.$ac_objext 5951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5952 (eval $ac_compile) 2>conftest.er1 5953 ac_status=$? 5954 grep -v '^ *+' conftest.er1 >conftest.err 5955 rm -f conftest.er1 5956 cat conftest.err >&5 5957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5958 (exit $ac_status); } && 5959 { ac_try='test -z "$ac_c_werror_flag" 5960 || test ! -s conftest.err' 5961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5962 (eval $ac_try) 2>&5 5963 ac_status=$? 5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5965 (exit $ac_status); }; } && 5966 { ac_try='test -s conftest.$ac_objext' 5967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5968 (eval $ac_try) 2>&5 5969 ac_status=$? 5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5971 (exit $ac_status); }; }; then 5972 ac_hi=$ac_mid; break 5973 else 5974 echo "$as_me: failed program was:" >&5 5975 sed 's/^/| /' conftest.$ac_ext >&5 5976 5977 ac_lo=`expr $ac_mid + 1` 5978 if test $ac_lo -le $ac_mid; then 5979 ac_lo= ac_hi= 5980 break 5981 fi 5982 ac_mid=`expr 2 '*' $ac_mid + 1` 5983 fi 5984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5985 done 5986 else 5987 echo "$as_me: failed program was:" >&5 5988 sed 's/^/| /' conftest.$ac_ext >&5 5989 5990 cat >conftest.$ac_ext <<_ACEOF 5991 /* confdefs.h. */ 5992 _ACEOF 5993 cat confdefs.h >>conftest.$ac_ext 5994 cat >>conftest.$ac_ext <<_ACEOF 5995 /* end confdefs.h. */ 5996 $ac_includes_default 5997 int 5998 main () 5999 { 6000 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) < 0)]; 6001 test_array [0] = 0 6002 6003 ; 6004 return 0; 6005 } 6006 _ACEOF 6007 rm -f conftest.$ac_objext 6008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6009 (eval $ac_compile) 2>conftest.er1 6010 ac_status=$? 6011 grep -v '^ *+' conftest.er1 >conftest.err 6012 rm -f conftest.er1 6013 cat conftest.err >&5 6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6015 (exit $ac_status); } && 6016 { ac_try='test -z "$ac_c_werror_flag" 6017 || test ! -s conftest.err' 6018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6019 (eval $ac_try) 2>&5 6020 ac_status=$? 6021 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6022 (exit $ac_status); }; } && 6023 { ac_try='test -s conftest.$ac_objext' 6024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6025 (eval $ac_try) 2>&5 6026 ac_status=$? 6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6028 (exit $ac_status); }; }; then 6029 ac_hi=-1 ac_mid=-1 6030 while :; do 6031 cat >conftest.$ac_ext <<_ACEOF 6032 /* confdefs.h. */ 6033 _ACEOF 6034 cat confdefs.h >>conftest.$ac_ext 6035 cat >>conftest.$ac_ext <<_ACEOF 6036 /* end confdefs.h. */ 6037 $ac_includes_default 6038 int 6039 main () 6040 { 6041 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= $ac_mid)]; 6042 test_array [0] = 0 6043 6044 ; 6045 return 0; 6046 } 6047 _ACEOF 6048 rm -f conftest.$ac_objext 6049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6050 (eval $ac_compile) 2>conftest.er1 6051 ac_status=$? 6052 grep -v '^ *+' conftest.er1 >conftest.err 6053 rm -f conftest.er1 6054 cat conftest.err >&5 6055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6056 (exit $ac_status); } && 6057 { ac_try='test -z "$ac_c_werror_flag" 6058 || test ! -s conftest.err' 6059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6060 (eval $ac_try) 2>&5 6061 ac_status=$? 6062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6063 (exit $ac_status); }; } && 6064 { ac_try='test -s conftest.$ac_objext' 6065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6066 (eval $ac_try) 2>&5 6067 ac_status=$? 6068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6069 (exit $ac_status); }; }; then 6070 ac_lo=$ac_mid; break 6071 else 6072 echo "$as_me: failed program was:" >&5 6073 sed 's/^/| /' conftest.$ac_ext >&5 6074 6075 ac_hi=`expr '(' $ac_mid ')' - 1` 6076 if test $ac_mid -le $ac_hi; then 6077 ac_lo= ac_hi= 6078 break 6079 fi 6080 ac_mid=`expr 2 '*' $ac_mid` 6081 fi 6082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6083 done 6084 else 6085 echo "$as_me: failed program was:" >&5 6086 sed 's/^/| /' conftest.$ac_ext >&5 6087 6088 ac_lo= ac_hi= 6089 fi 6090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6091 fi 6092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6093 # Binary search between lo and hi bounds. 6094 while test "x$ac_lo" != "x$ac_hi"; do 6095 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 6096 cat >conftest.$ac_ext <<_ACEOF 6097 /* confdefs.h. */ 6098 _ACEOF 6099 cat confdefs.h >>conftest.$ac_ext 6100 cat >>conftest.$ac_ext <<_ACEOF 6101 /* end confdefs.h. */ 6102 $ac_includes_default 6103 int 6104 main () 6105 { 6106 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)]; 6107 test_array [0] = 0 6108 6109 ; 6110 return 0; 6111 } 6112 _ACEOF 6113 rm -f conftest.$ac_objext 6114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6115 (eval $ac_compile) 2>conftest.er1 6116 ac_status=$? 6117 grep -v '^ *+' conftest.er1 >conftest.err 6118 rm -f conftest.er1 6119 cat conftest.err >&5 6120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6121 (exit $ac_status); } && 6122 { ac_try='test -z "$ac_c_werror_flag" 6123 || test ! -s conftest.err' 6124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6125 (eval $ac_try) 2>&5 6126 ac_status=$? 6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6128 (exit $ac_status); }; } && 6129 { ac_try='test -s conftest.$ac_objext' 6130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6131 (eval $ac_try) 2>&5 6132 ac_status=$? 6133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6134 (exit $ac_status); }; }; then 6135 ac_hi=$ac_mid 6136 else 6137 echo "$as_me: failed program was:" >&5 6138 sed 's/^/| /' conftest.$ac_ext >&5 6139 6140 ac_lo=`expr '(' $ac_mid ')' + 1` 6141 fi 6142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6143 done 6144 case $ac_lo in 6145 ?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;; 6146 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77 6147 See \`config.log' for more details." >&5 6148 echo "$as_me: error: cannot compute sizeof (unsigned long long), 77 6149 See \`config.log' for more details." >&2;} 6150 { (exit 1); exit 1; }; } ;; 6151 esac 6152 else 6153 if test "$cross_compiling" = yes; then 6154 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 6155 See \`config.log' for more details." >&5 6156 echo "$as_me: error: cannot run test program while cross compiling 6157 See \`config.log' for more details." >&2;} 6158 { (exit 1); exit 1; }; } 6159 else 6160 cat >conftest.$ac_ext <<_ACEOF 6161 /* confdefs.h. */ 6162 _ACEOF 6163 cat confdefs.h >>conftest.$ac_ext 6164 cat >>conftest.$ac_ext <<_ACEOF 6165 /* end confdefs.h. */ 6166 $ac_includes_default 6167 long longval () { return (long) (sizeof (unsigned long long)); } 6168 unsigned long ulongval () { return (long) (sizeof (unsigned long long)); } 6169 #include <stdio.h> 6170 #include <stdlib.h> 6171 int 6172 main () 6173 { 6174 6175 FILE *f = fopen ("conftest.val", "w"); 6176 if (! f) 6177 exit (1); 6178 if (((long) (sizeof (unsigned long long))) < 0) 6179 { 6180 long i = longval (); 6181 if (i != ((long) (sizeof (unsigned long long)))) 6182 exit (1); 6183 fprintf (f, "%ld\n", i); 6184 } 6185 else 6186 { 6187 unsigned long i = ulongval (); 6188 if (i != ((long) (sizeof (unsigned long long)))) 6189 exit (1); 6190 fprintf (f, "%lu\n", i); 6191 } 6192 exit (ferror (f) || fclose (f) != 0); 6193 6194 ; 6195 return 0; 6196 } 6197 _ACEOF 6198 rm -f conftest$ac_exeext 6199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6200 (eval $ac_link) 2>&5 6201 ac_status=$? 6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6205 (eval $ac_try) 2>&5 6206 ac_status=$? 6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6208 (exit $ac_status); }; }; then 6209 ac_cv_sizeof_unsigned_long_long=`cat conftest.val` 6210 else 6211 echo "$as_me: program exited with status $ac_status" >&5 6212 echo "$as_me: failed program was:" >&5 6213 sed 's/^/| /' conftest.$ac_ext >&5 6214 6215 ( exit $ac_status ) 6216 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77 6217 See \`config.log' for more details." >&5 6218 echo "$as_me: error: cannot compute sizeof (unsigned long long), 77 6219 See \`config.log' for more details." >&2;} 6220 { (exit 1); exit 1; }; } 6221 fi 6222 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6223 fi 6224 fi 6225 rm -f conftest.val 6226 else 6227 ac_cv_sizeof_unsigned_long_long=0 6228 fi 6229 fi 6230 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5 6231 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6 6232 cat >>confdefs.h <<_ACEOF 6233 #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long 6234 _ACEOF 6235 6236 6237 6238 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 6239 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 6240 if test "${ac_cv_c_const+set}" = set; then 6241 echo $ECHO_N "(cached) $ECHO_C" >&6 6242 else 6243 cat >conftest.$ac_ext <<_ACEOF 6244 /* confdefs.h. */ 6245 _ACEOF 6246 cat confdefs.h >>conftest.$ac_ext 6247 cat >>conftest.$ac_ext <<_ACEOF 6248 /* end confdefs.h. */ 6249 6250 int 6251 main () 6252 { 6253 /* FIXME: Include the comments suggested by Paul. */ 5292 6254 5293 #ifndef __cplusplus 6255 /* Ultrix mips cc rejects this . */5294 /* Ultrix mips cc rejects this sort of thing. */ 6256 5295 typedef int charset[2]; 6257 const charset x;5296 const charset cs = { 0, 0 }; 6258 5297 /* SunOS 4.1.1 cc rejects this. */ 6259 char const *const * ccp;6260 char **p ;5298 char const *const *pcpcc; 5299 char **ppc; 6261 5300 /* NEC SVR4.0.2 mips cc rejects this. */ 6262 5301 struct point {int x, y;}; … … 6267 5306 expression */ 6268 5307 const char *g = "string"; 6269 ccp= &g + (g ? g-g : 0);5308 pcpcc = &g + (g ? g-g : 0); 6270 5309 /* HPUX 7.0 cc rejects these. */ 6271 ++ccp; 6272 p = (char**) ccp; 6273 ccp = (char const *const *) p; 6274 { /* SCO 3.2v4 cc rejects this. */ 6275 char *t; 5310 ++pcpcc; 5311 ppc = (char**) pcpcc; 5312 pcpcc = (char const *const *) ppc; 5313 { /* SCO 3.2v4 cc rejects this sort of thing. */ 5314 char tx; 5315 char *t = &tx; 6276 5316 char const *s = 0 ? (char *) 0 : (char const *) 0; 6277 5317 6278 5318 *t++ = 0; 5319 if (s) return 0; 6279 5320 } 6280 5321 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 6288 5329 ++p; 6289 5330 } 6290 { /* AIX XL C 1.02.0.0 rejects this s aying5331 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 6291 5332 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 6292 struct s { int j; const int *ap[3]; } ;6293 struct s *b ; b->j = 5;5333 struct s { int j; const int *ap[3]; } bx; 5334 struct s *b = &bx; b->j = 5; 6294 5335 } 6295 5336 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 6296 5337 const int foo = 10; 5338 if (!foo) return 0; 6297 5339 } 5340 return !cs[0] && !zero.x; 6298 5341 #endif 6299 5342 … … 6302 5345 } 6303 5346 _ACEOF 6304 rm -f conftest.$ac_objext 6305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6306 (eval $ac_compile) 2>conftest.er1 6307 ac_status=$? 6308 grep -v '^ *+' conftest.er1 >conftest.err 6309 rm -f conftest.er1 6310 cat conftest.err >&5 6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6312 (exit $ac_status); } && 6313 { ac_try='test -z "$ac_c_werror_flag" 6314 || test ! -s conftest.err' 6315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6316 (eval $ac_try) 2>&5 6317 ac_status=$? 6318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6319 (exit $ac_status); }; } && 6320 { ac_try='test -s conftest.$ac_objext' 6321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6322 (eval $ac_try) 2>&5 6323 ac_status=$? 6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6325 (exit $ac_status); }; }; then 5347 if ac_fn_c_try_compile "$LINENO"; then : 6326 5348 ac_cv_c_const=yes 6327 5349 else 6328 echo "$as_me: failed program was:" >&5 6329 sed 's/^/| /' conftest.$ac_ext >&5 6330 6331 ac_cv_c_const=no 6332 fi 6333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6334 fi 6335 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 6336 echo "${ECHO_T}$ac_cv_c_const" >&6 5350 ac_cv_c_const=no 5351 fi 5352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5353 fi 5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 5355 $as_echo "$ac_cv_c_const" >&6; } 6337 5356 if test $ac_cv_c_const = no; then 6338 5357 6339 cat >>confdefs.h <<\_ACEOF 6340 #define const 6341 _ACEOF 6342 6343 fi 6344 6345 echo "$as_me:$LINENO: checking for inline" >&5 6346 echo $ECHO_N "checking for inline... $ECHO_C" >&6 6347 if test "${ac_cv_c_inline+set}" = set; then 6348 echo $ECHO_N "(cached) $ECHO_C" >&6 5358 $as_echo "#define const /**/" >>confdefs.h 5359 5360 fi 5361 5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 5363 $as_echo_n "checking for inline... " >&6; } 5364 if ${ac_cv_c_inline+:} false; then : 5365 $as_echo_n "(cached) " >&6 6349 5366 else 6350 5367 ac_cv_c_inline=no 6351 5368 for ac_kw in inline __inline__ __inline; do 6352 cat >conftest.$ac_ext <<_ACEOF 6353 /* confdefs.h. */ 6354 _ACEOF 6355 cat confdefs.h >>conftest.$ac_ext 6356 cat >>conftest.$ac_ext <<_ACEOF 5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6357 5370 /* end confdefs.h. */ 6358 5371 #ifndef __cplusplus … … 6363 5376 6364 5377 _ACEOF 6365 rm -f conftest.$ac_objext 6366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6367 (eval $ac_compile) 2>conftest.er1 6368 ac_status=$? 6369 grep -v '^ *+' conftest.er1 >conftest.err 6370 rm -f conftest.er1 6371 cat conftest.err >&5 6372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6373 (exit $ac_status); } && 6374 { ac_try='test -z "$ac_c_werror_flag" 6375 || test ! -s conftest.err' 6376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6377 (eval $ac_try) 2>&5 6378 ac_status=$? 6379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6380 (exit $ac_status); }; } && 6381 { ac_try='test -s conftest.$ac_objext' 6382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6383 (eval $ac_try) 2>&5 6384 ac_status=$? 6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6386 (exit $ac_status); }; }; then 6387 ac_cv_c_inline=$ac_kw; break 6388 else 6389 echo "$as_me: failed program was:" >&5 6390 sed 's/^/| /' conftest.$ac_ext >&5 6391 6392 fi 6393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5378 if ac_fn_c_try_compile "$LINENO"; then : 5379 ac_cv_c_inline=$ac_kw 5380 fi 5381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5382 test "$ac_cv_c_inline" != no && break 6394 5383 done 6395 5384 6396 5385 fi 6397 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 6398 echo "${ECHO_T}$ac_cv_c_inline" >&6 6399 5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 5387 $as_echo "$ac_cv_c_inline" >&6; } 6400 5388 6401 5389 case $ac_cv_c_inline in … … 6414 5402 esac 6415 5403 6416 echo "$as_me:$LINENO: checking for size_t" >&5 6417 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 6418 if test "${ac_cv_type_size_t+set}" = set; then 6419 echo $ECHO_N "(cached) $ECHO_C" >&6 6420 else 6421 cat >conftest.$ac_ext <<_ACEOF 6422 /* confdefs.h. */ 6423 _ACEOF 6424 cat confdefs.h >>conftest.$ac_ext 6425 cat >>conftest.$ac_ext <<_ACEOF 6426 /* end confdefs.h. */ 6427 $ac_includes_default 6428 int 6429 main () 6430 { 6431 if ((size_t *) 0) 6432 return 0; 6433 if (sizeof (size_t)) 6434 return 0; 6435 ; 6436 return 0; 6437 } 6438 _ACEOF 6439 rm -f conftest.$ac_objext 6440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6441 (eval $ac_compile) 2>conftest.er1 6442 ac_status=$? 6443 grep -v '^ *+' conftest.er1 >conftest.err 6444 rm -f conftest.er1 6445 cat conftest.err >&5 6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6447 (exit $ac_status); } && 6448 { ac_try='test -z "$ac_c_werror_flag" 6449 || test ! -s conftest.err' 6450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6451 (eval $ac_try) 2>&5 6452 ac_status=$? 6453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6454 (exit $ac_status); }; } && 6455 { ac_try='test -s conftest.$ac_objext' 6456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6457 (eval $ac_try) 2>&5 6458 ac_status=$? 6459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6460 (exit $ac_status); }; }; then 6461 ac_cv_type_size_t=yes 6462 else 6463 echo "$as_me: failed program was:" >&5 6464 sed 's/^/| /' conftest.$ac_ext >&5 6465 6466 ac_cv_type_size_t=no 6467 fi 6468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6469 fi 6470 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 6471 echo "${ECHO_T}$ac_cv_type_size_t" >&6 6472 if test $ac_cv_type_size_t = yes; then 6473 : 5404 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 5405 if test "x$ac_cv_type_size_t" = xyes; then : 5406 6474 5407 else 6475 5408 6476 5409 cat >>confdefs.h <<_ACEOF 6477 #define size_t unsigned 6478 _ACEOF 6479 6480 fi 6481 6482 6483 6484 6485 6486 for ac_func in socket inet_aton usleep 6487 do 6488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6489 echo "$as_me:$LINENO: checking for $ac_func" >&5 6490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6491 if eval "test \"\${$as_ac_var+set}\" = set"; then 6492 echo $ECHO_N "(cached) $ECHO_C" >&6 6493 else 6494 cat >conftest.$ac_ext <<_ACEOF 6495 /* confdefs.h. */ 6496 _ACEOF 6497 cat confdefs.h >>conftest.$ac_ext 6498 cat >>conftest.$ac_ext <<_ACEOF 6499 /* end confdefs.h. */ 6500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 6501 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6502 #define $ac_func innocuous_$ac_func 6503 6504 /* System header to define __stub macros and hopefully few prototypes, 6505 which can conflict with char $ac_func (); below. 6506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6507 <limits.h> exists even on freestanding compilers. */ 6508 6509 #ifdef __STDC__ 6510 # include <limits.h> 6511 #else 6512 # include <assert.h> 6513 #endif 6514 6515 #undef $ac_func 6516 6517 /* Override any gcc2 internal prototype to avoid an error. */ 6518 #ifdef __cplusplus 6519 extern "C" 6520 { 6521 #endif 6522 /* We use char because int might match the return type of a gcc2 6523 builtin and then its argument prototype would still apply. */ 6524 char $ac_func (); 6525 /* The GNU C library defines this for functions which it implements 6526 to always fail with ENOSYS. Some functions are actually named 6527 something starting with __ and the normal name is an alias. */ 6528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6529 choke me 6530 #else 6531 char (*f) () = $ac_func; 6532 #endif 6533 #ifdef __cplusplus 6534 } 6535 #endif 6536 6537 int 6538 main () 6539 { 6540 return f != $ac_func; 6541 ; 6542 return 0; 6543 } 6544 _ACEOF 6545 rm -f conftest.$ac_objext conftest$ac_exeext 6546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6547 (eval $ac_link) 2>conftest.er1 6548 ac_status=$? 6549 grep -v '^ *+' conftest.er1 >conftest.err 6550 rm -f conftest.er1 6551 cat conftest.err >&5 6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6553 (exit $ac_status); } && 6554 { ac_try='test -z "$ac_c_werror_flag" 6555 || test ! -s conftest.err' 6556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6557 (eval $ac_try) 2>&5 6558 ac_status=$? 6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6560 (exit $ac_status); }; } && 6561 { ac_try='test -s conftest$ac_exeext' 6562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6563 (eval $ac_try) 2>&5 6564 ac_status=$? 6565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6566 (exit $ac_status); }; }; then 6567 eval "$as_ac_var=yes" 6568 else 6569 echo "$as_me: failed program was:" >&5 6570 sed 's/^/| /' conftest.$ac_ext >&5 6571 6572 eval "$as_ac_var=no" 6573 fi 6574 rm -f conftest.err conftest.$ac_objext \ 6575 conftest$ac_exeext conftest.$ac_ext 6576 fi 6577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6579 if test `eval echo '${'$as_ac_var'}'` = yes; then 5410 #define size_t unsigned int 5411 _ACEOF 5412 5413 fi 5414 5415 5416 for ac_func in socket inet_aton usleep sigaction 5417 do : 5418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5420 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 6580 5421 cat >>confdefs.h <<_ACEOF 6581 #define ` echo "HAVE_$ac_func" | $as_tr_cpp` 15422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6582 5423 _ACEOF 6583 5424 … … 6587 5428 6588 5429 if test "x$ac_cv_func_socket" = "xno"; then 6589 6590 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 6591 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 6592 if test "${ac_cv_lib_socket_socket+set}" = set; then 6593 echo $ECHO_N "(cached) $ECHO_C" >&6 5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 5431 $as_echo_n "checking for socket in -lsocket... " >&6; } 5432 if ${ac_cv_lib_socket_socket+:} false; then : 5433 $as_echo_n "(cached) " >&6 6594 5434 else 6595 5435 ac_check_lib_save_LIBS=$LIBS 6596 5436 LIBS="-lsocket $LIBS" 6597 cat >conftest.$ac_ext <<_ACEOF 6598 /* confdefs.h. */ 6599 _ACEOF 6600 cat confdefs.h >>conftest.$ac_ext 6601 cat >>conftest.$ac_ext <<_ACEOF 5437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6602 5438 /* end confdefs.h. */ 6603 5439 6604 /* Override any gcc2 internal prototype to avoid an error. */ 5440 /* Override any GCC internal prototype to avoid an error. 5441 Use char because int might match the return type of a GCC 5442 builtin and then its argument prototype would still apply. */ 6605 5443 #ifdef __cplusplus 6606 5444 extern "C" 6607 5445 #endif 6608 /* We use char because int might match the return type of a gcc26609 builtin and then its argument prototype would still apply. */6610 5446 char socket (); 6611 5447 int 6612 5448 main () 6613 5449 { 6614 socket ();5450 return socket (); 6615 5451 ; 6616 5452 return 0; 6617 5453 } 6618 5454 _ACEOF 6619 rm -f conftest.$ac_objext conftest$ac_exeext 6620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6621 (eval $ac_link) 2>conftest.er1 6622 ac_status=$? 6623 grep -v '^ *+' conftest.er1 >conftest.err 6624 rm -f conftest.er1 6625 cat conftest.err >&5 6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6627 (exit $ac_status); } && 6628 { ac_try='test -z "$ac_c_werror_flag" 6629 || test ! -s conftest.err' 6630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6631 (eval $ac_try) 2>&5 6632 ac_status=$? 6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6634 (exit $ac_status); }; } && 6635 { ac_try='test -s conftest$ac_exeext' 6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6637 (eval $ac_try) 2>&5 6638 ac_status=$? 6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6640 (exit $ac_status); }; }; then 5455 if ac_fn_c_try_link "$LINENO"; then : 6641 5456 ac_cv_lib_socket_socket=yes 6642 5457 else 6643 echo "$as_me: failed program was:" >&5 6644 sed 's/^/| /' conftest.$ac_ext >&5 6645 6646 ac_cv_lib_socket_socket=no 6647 fi 6648 rm -f conftest.err conftest.$ac_objext \ 6649 conftest$ac_exeext conftest.$ac_ext 5458 ac_cv_lib_socket_socket=no 5459 fi 5460 rm -f core conftest.err conftest.$ac_objext \ 5461 conftest$ac_exeext conftest.$ac_ext 6650 5462 LIBS=$ac_check_lib_save_LIBS 6651 5463 fi 6652 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&56653 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 6654 if test $ac_cv_lib_socket_socket = yes; then5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 5465 $as_echo "$ac_cv_lib_socket_socket" >&6; } 5466 if test "x$ac_cv_lib_socket_socket" = xyes; then : 6655 5467 cat >>confdefs.h <<_ACEOF 6656 5468 #define HAVE_LIBSOCKET 1 … … 6661 5473 fi 6662 5474 6663 echo "$as_me:$LINENO: checking for socket in -lwsock32" >&56664 echo $ECHO_N "checking for socket in -lwsock32... $ECHO_C" >&6 5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lwsock32" >&5 5476 $as_echo_n "checking for socket in -lwsock32... " >&6; } 6665 5477 SAVELIBS="$LIBS" 6666 5478 LIBS="$LIBS -lwsock32" 6667 cat >conftest.$ac_ext <<_ACEOF 6668 /* confdefs.h. */ 6669 _ACEOF 6670 cat confdefs.h >>conftest.$ac_ext 6671 cat >>conftest.$ac_ext <<_ACEOF 5479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6672 5480 /* end confdefs.h. */ 6673 5481 … … 6684 5492 } 6685 5493 _ACEOF 6686 rm -f conftest.$ac_objext conftest$ac_exeext 6687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6688 (eval $ac_link) 2>conftest.er1 6689 ac_status=$? 6690 grep -v '^ *+' conftest.er1 >conftest.err 6691 rm -f conftest.er1 6692 cat conftest.err >&5 6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6694 (exit $ac_status); } && 6695 { ac_try='test -z "$ac_c_werror_flag" 6696 || test ! -s conftest.err' 6697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6698 (eval $ac_try) 2>&5 6699 ac_status=$? 6700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6701 (exit $ac_status); }; } && 6702 { ac_try='test -s conftest$ac_exeext' 6703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6704 (eval $ac_try) 2>&5 6705 ac_status=$? 6706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6707 (exit $ac_status); }; }; then 5494 if ac_fn_c_try_link "$LINENO"; then : 6708 5495 ac_cv_func_socket=yes 6709 echo "$as_me:$LINENO: result: yes" >&5 6710 echo "${ECHO_T}yes" >&6 6711 else 6712 echo "$as_me: failed program was:" >&5 6713 sed 's/^/| /' conftest.$ac_ext >&5 6714 6715 LIBS="$SAVELIBS" 6716 echo "$as_me:$LINENO: result: no" >&5 6717 echo "${ECHO_T}no" >&6 6718 fi 6719 rm -f conftest.err conftest.$ac_objext \ 6720 conftest$ac_exeext conftest.$ac_ext 6721 fi 6722 6723 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 6724 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 6725 if test "${ac_cv_c_bigendian+set}" = set; then 6726 echo $ECHO_N "(cached) $ECHO_C" >&6 6727 else 6728 # See if sys/param.h defines the BYTE_ORDER macro. 6729 cat >conftest.$ac_ext <<_ACEOF 6730 /* confdefs.h. */ 6731 _ACEOF 6732 cat confdefs.h >>conftest.$ac_ext 6733 cat >>conftest.$ac_ext <<_ACEOF 5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5497 $as_echo "yes" >&6; } 5498 else 5499 LIBS="$SAVELIBS" 5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5501 $as_echo "no" >&6; } 5502 fi 5503 rm -f core conftest.err conftest.$ac_objext \ 5504 conftest$ac_exeext conftest.$ac_ext 5505 fi 5506 5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile in debugging" >&5 5508 $as_echo_n "checking whether to compile in debugging... " >&6; } 5509 # Check whether --enable-debug was given. 5510 if test "${enable_debug+set}" = set; then : 5511 enableval=$enable_debug; 5512 else 5513 enable_debug=yes 5514 fi 5515 5516 if test "$enable_debug" = "yes"; then 5517 5518 $as_echo "#define ENABLE_DEBUGGING 1" >>confdefs.h 5519 5520 fi 5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5 5522 $as_echo "$enable_debug" >&6; } 5523 5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use ISMAcryp code" >&5 5525 $as_echo_n "checking whether to use ISMAcryp code... " >&6; } 5526 # Check whether --enable-generic-aesicm was given. 5527 if test "${enable_generic_aesicm+set}" = set; then : 5528 enableval=$enable_generic_aesicm; 5529 else 5530 enable_generic_aesicm=no 5531 fi 5532 5533 if test "$enable_generic_aesicm" = "yes"; then 5534 5535 $as_echo "#define GENERIC_AESICM 1" >>confdefs.h 5536 5537 fi 5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generic_aesicm" >&5 5539 $as_echo "$enable_generic_aesicm" >&6; } 5540 5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to leverage OpenSSL crypto" >&5 5542 $as_echo_n "checking whether to leverage OpenSSL crypto... " >&6; } 5543 # Check whether --enable-openssl was given. 5544 if test "${enable_openssl+set}" = set; then : 5545 enableval=$enable_openssl; 5546 else 5547 enable_openssl=no 5548 fi 5549 5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_openssl" >&5 5551 $as_echo "$enable_openssl" >&6; } 5552 if test "$enable_openssl" = "yes"; then 5553 LDFLAGS="$LDFLAGS $(pkg-config --libs openssl)"; 5554 CFLAGS="$CFLAGS $(pkg-config --cflags openssl)"; 5555 5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 5557 $as_echo_n "checking for dlopen in -ldl... " >&6; } 5558 if ${ac_cv_lib_dl_dlopen+:} false; then : 5559 $as_echo_n "(cached) " >&6 5560 else 5561 ac_check_lib_save_LIBS=$LIBS 5562 LIBS="-ldl $LIBS" 5563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6734 5564 /* end confdefs.h. */ 6735 #include <sys/types.h> 6736 #include <sys/param.h> 6737 5565 5566 /* Override any GCC internal prototype to avoid an error. 5567 Use char because int might match the return type of a GCC 5568 builtin and then its argument prototype would still apply. */ 5569 #ifdef __cplusplus 5570 extern "C" 5571 #endif 5572 char dlopen (); 6738 5573 int 6739 5574 main () 6740 5575 { 6741 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 6742 bogus endian macros 6743 #endif 6744 5576 return dlopen (); 6745 5577 ; 6746 5578 return 0; 6747 5579 } 6748 5580 _ACEOF 6749 rm -f conftest.$ac_objext 6750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6751 (eval $ac_compile) 2>conftest.er1 6752 ac_status=$? 6753 grep -v '^ *+' conftest.er1 >conftest.err 6754 rm -f conftest.er1 6755 cat conftest.err >&5 6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6757 (exit $ac_status); } && 6758 { ac_try='test -z "$ac_c_werror_flag" 6759 || test ! -s conftest.err' 6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6761 (eval $ac_try) 2>&5 6762 ac_status=$? 6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6764 (exit $ac_status); }; } && 6765 { ac_try='test -s conftest.$ac_objext' 6766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6767 (eval $ac_try) 2>&5 6768 ac_status=$? 6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6770 (exit $ac_status); }; }; then 6771 # It does; now see whether it defined to BIG_ENDIAN or not. 6772 cat >conftest.$ac_ext <<_ACEOF 6773 /* confdefs.h. */ 6774 _ACEOF 6775 cat confdefs.h >>conftest.$ac_ext 6776 cat >>conftest.$ac_ext <<_ACEOF 5581 if ac_fn_c_try_link "$LINENO"; then : 5582 ac_cv_lib_dl_dlopen=yes 5583 else 5584 ac_cv_lib_dl_dlopen=no 5585 fi 5586 rm -f core conftest.err conftest.$ac_objext \ 5587 conftest$ac_exeext conftest.$ac_ext 5588 LIBS=$ac_check_lib_save_LIBS 5589 fi 5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 5591 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } 5592 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 5593 cat >>confdefs.h <<_ACEOF 5594 #define HAVE_LIBDL 1 5595 _ACEOF 5596 5597 LIBS="-ldl $LIBS" 5598 5599 else 5600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find libdl" >&5 5601 $as_echo "$as_me: WARNING: can't find libdl" >&2;} 5602 fi 5603 5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5 5605 $as_echo_n "checking for inflate in -lz... " >&6; } 5606 if ${ac_cv_lib_z_inflate+:} false; then : 5607 $as_echo_n "(cached) " >&6 5608 else 5609 ac_check_lib_save_LIBS=$LIBS 5610 LIBS="-lz $LIBS" 5611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6777 5612 /* end confdefs.h. */ 6778 #include <sys/types.h> 6779 #include <sys/param.h> 6780 5613 5614 /* Override any GCC internal prototype to avoid an error. 5615 Use char because int might match the return type of a GCC 5616 builtin and then its argument prototype would still apply. */ 5617 #ifdef __cplusplus 5618 extern "C" 5619 #endif 5620 char inflate (); 6781 5621 int 6782 5622 main () 6783 5623 { 6784 #if BYTE_ORDER != BIG_ENDIAN 6785 not big endian 6786 #endif 6787 5624 return inflate (); 6788 5625 ; 6789 5626 return 0; 6790 5627 } 6791 5628 _ACEOF 6792 rm -f conftest.$ac_objext 6793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6794 (eval $ac_compile) 2>conftest.er1 6795 ac_status=$? 6796 grep -v '^ *+' conftest.er1 >conftest.err 6797 rm -f conftest.er1 6798 cat conftest.err >&5 6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6800 (exit $ac_status); } && 6801 { ac_try='test -z "$ac_c_werror_flag" 6802 || test ! -s conftest.err' 6803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6804 (eval $ac_try) 2>&5 6805 ac_status=$? 6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6807 (exit $ac_status); }; } && 6808 { ac_try='test -s conftest.$ac_objext' 6809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6810 (eval $ac_try) 2>&5 6811 ac_status=$? 6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6813 (exit $ac_status); }; }; then 6814 ac_cv_c_bigendian=yes 6815 else 6816 echo "$as_me: failed program was:" >&5 6817 sed 's/^/| /' conftest.$ac_ext >&5 6818 6819 ac_cv_c_bigendian=no 6820 fi 6821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6822 else 6823 echo "$as_me: failed program was:" >&5 6824 sed 's/^/| /' conftest.$ac_ext >&5 6825 6826 # It does not; compile a test program. 6827 if test "$cross_compiling" = yes; then 6828 # try to guess the endianness by grepping values into an object file 6829 ac_cv_c_bigendian=unknown 6830 cat >conftest.$ac_ext <<_ACEOF 6831 /* confdefs.h. */ 6832 _ACEOF 6833 cat confdefs.h >>conftest.$ac_ext 6834 cat >>conftest.$ac_ext <<_ACEOF 5629 if ac_fn_c_try_link "$LINENO"; then : 5630 ac_cv_lib_z_inflate=yes 5631 else 5632 ac_cv_lib_z_inflate=no 5633 fi 5634 rm -f core conftest.err conftest.$ac_objext \ 5635 conftest$ac_exeext conftest.$ac_ext 5636 LIBS=$ac_check_lib_save_LIBS 5637 fi 5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5 5639 $as_echo "$ac_cv_lib_z_inflate" >&6; } 5640 if test "x$ac_cv_lib_z_inflate" = xyes; then : 5641 cat >>confdefs.h <<_ACEOF 5642 #define HAVE_LIBZ 1 5643 _ACEOF 5644 5645 LIBS="-lz $LIBS" 5646 5647 else 5648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find libz" >&5 5649 $as_echo "$as_me: WARNING: can't find libz" >&2;} 5650 fi 5651 5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_EncryptInit in -lcrypto" >&5 5653 $as_echo_n "checking for EVP_EncryptInit in -lcrypto... " >&6; } 5654 if ${ac_cv_lib_crypto_EVP_EncryptInit+:} false; then : 5655 $as_echo_n "(cached) " >&6 5656 else 5657 ac_check_lib_save_LIBS=$LIBS 5658 LIBS="-lcrypto $LIBS" 5659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6835 5660 /* end confdefs.h. */ 6836 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 6837 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 6838 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 6839 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 6840 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 6841 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 5661 5662 /* Override any GCC internal prototype to avoid an error. 5663 Use char because int might match the return type of a GCC 5664 builtin and then its argument prototype would still apply. */ 5665 #ifdef __cplusplus 5666 extern "C" 5667 #endif 5668 char EVP_EncryptInit (); 6842 5669 int 6843 5670 main () 6844 5671 { 6845 _ascii (); _ebcdic();5672 return EVP_EncryptInit (); 6846 5673 ; 6847 5674 return 0; 6848 5675 } 6849 5676 _ACEOF 6850 rm -f conftest.$ac_objext 6851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6852 (eval $ac_compile) 2>conftest.er1 6853 ac_status=$? 6854 grep -v '^ *+' conftest.er1 >conftest.err 6855 rm -f conftest.er1 6856 cat conftest.err >&5 6857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6858 (exit $ac_status); } && 6859 { ac_try='test -z "$ac_c_werror_flag" 6860 || test ! -s conftest.err' 6861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6862 (eval $ac_try) 2>&5 6863 ac_status=$? 6864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6865 (exit $ac_status); }; } && 6866 { ac_try='test -s conftest.$ac_objext' 6867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6868 (eval $ac_try) 2>&5 6869 ac_status=$? 6870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6871 (exit $ac_status); }; }; then 6872 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 6873 ac_cv_c_bigendian=yes 6874 fi 6875 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 6876 if test "$ac_cv_c_bigendian" = unknown; then 6877 ac_cv_c_bigendian=no 6878 else 6879 # finding both strings is unlikely to happen, but who knows? 6880 ac_cv_c_bigendian=unknown 6881 fi 6882 fi 6883 else 6884 echo "$as_me: failed program was:" >&5 6885 sed 's/^/| /' conftest.$ac_ext >&5 6886 6887 fi 6888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6889 else 6890 cat >conftest.$ac_ext <<_ACEOF 6891 /* confdefs.h. */ 6892 _ACEOF 6893 cat confdefs.h >>conftest.$ac_ext 6894 cat >>conftest.$ac_ext <<_ACEOF 5677 if ac_fn_c_try_link "$LINENO"; then : 5678 ac_cv_lib_crypto_EVP_EncryptInit=yes 5679 else 5680 ac_cv_lib_crypto_EVP_EncryptInit=no 5681 fi 5682 rm -f core conftest.err conftest.$ac_objext \ 5683 conftest$ac_exeext conftest.$ac_ext 5684 LIBS=$ac_check_lib_save_LIBS 5685 fi 5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_EncryptInit" >&5 5687 $as_echo "$ac_cv_lib_crypto_EVP_EncryptInit" >&6; } 5688 if test "x$ac_cv_lib_crypto_EVP_EncryptInit" = xyes; then : 5689 cat >>confdefs.h <<_ACEOF 5690 #define HAVE_LIBCRYPTO 1 5691 _ACEOF 5692 5693 LIBS="-lcrypto $LIBS" 5694 5695 else 5696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5698 as_fn_error $? "can't find openssl >1.0.1 crypto lib 5699 See \`config.log' for more details" "$LINENO" 5; } 5700 fi 5701 5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_128_ctr in -lcrypto" >&5 5703 $as_echo_n "checking for EVP_aes_128_ctr in -lcrypto... " >&6; } 5704 if ${ac_cv_lib_crypto_EVP_aes_128_ctr+:} false; then : 5705 $as_echo_n "(cached) " >&6 5706 else 5707 ac_check_lib_save_LIBS=$LIBS 5708 LIBS="-lcrypto $LIBS" 5709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6895 5710 /* end confdefs.h. */ 5711 5712 /* Override any GCC internal prototype to avoid an error. 5713 Use char because int might match the return type of a GCC 5714 builtin and then its argument prototype would still apply. */ 5715 #ifdef __cplusplus 5716 extern "C" 5717 #endif 5718 char EVP_aes_128_ctr (); 6896 5719 int 6897 5720 main () 6898 5721 { 6899 /* Are we little or big endian? From Harbison&Steele. */ 6900 union 6901 { 6902 long l; 6903 char c[sizeof (long)]; 6904 } u; 6905 u.l = 1; 6906 exit (u.c[sizeof (long) - 1] == 1); 5722 return EVP_aes_128_ctr (); 5723 ; 5724 return 0; 6907 5725 } 6908 5726 _ACEOF 6909 rm -f conftest$ac_exeext 6910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6911 (eval $ac_link) 2>&5 6912 ac_status=$? 6913 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6914 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6916 (eval $ac_try) 2>&5 6917 ac_status=$? 6918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6919 (exit $ac_status); }; }; then 6920 ac_cv_c_bigendian=no 6921 else 6922 echo "$as_me: program exited with status $ac_status" >&5 6923 echo "$as_me: failed program was:" >&5 6924 sed 's/^/| /' conftest.$ac_ext >&5 6925 6926 ( exit $ac_status ) 6927 ac_cv_c_bigendian=yes 6928 fi 6929 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6930 fi 6931 fi 6932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6933 fi 6934 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 6935 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 6936 case $ac_cv_c_bigendian in 6937 yes) 6938 6939 cat >>confdefs.h <<\_ACEOF 6940 #define WORDS_BIGENDIAN 1 6941 _ACEOF 6942 ;; 6943 no) 6944 ;; 6945 *) 6946 { { echo "$as_me:$LINENO: error: unknown endianness 6947 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 6948 echo "$as_me: error: unknown endianness 6949 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 6950 { (exit 1); exit 1; }; } ;; 6951 esac 6952 6953 6954 # Make sure we can run config.sub. 6955 $ac_config_sub sun4 >/dev/null 2>&1 || 6956 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 6957 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 6958 { (exit 1); exit 1; }; } 6959 6960 echo "$as_me:$LINENO: checking build system type" >&5 6961 echo $ECHO_N "checking build system type... $ECHO_C" >&6 6962 if test "${ac_cv_build+set}" = set; then 6963 echo $ECHO_N "(cached) $ECHO_C" >&6 6964 else 6965 ac_cv_build_alias=$build_alias 6966 test -z "$ac_cv_build_alias" && 6967 ac_cv_build_alias=`$ac_config_guess` 6968 test -z "$ac_cv_build_alias" && 6969 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 6970 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 6971 { (exit 1); exit 1; }; } 6972 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 6973 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 6974 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 6975 { (exit 1); exit 1; }; } 6976 6977 fi 6978 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 6979 echo "${ECHO_T}$ac_cv_build" >&6 6980 build=$ac_cv_build 6981 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 6982 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 6983 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 6984 6985 6986 echo "$as_me:$LINENO: checking host system type" >&5 6987 echo $ECHO_N "checking host system type... $ECHO_C" >&6 6988 if test "${ac_cv_host+set}" = set; then 6989 echo $ECHO_N "(cached) $ECHO_C" >&6 6990 else 6991 ac_cv_host_alias=$host_alias 6992 test -z "$ac_cv_host_alias" && 6993 ac_cv_host_alias=$ac_cv_build_alias 6994 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 6995 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 6996 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 6997 { (exit 1); exit 1; }; } 6998 6999 fi 7000 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 7001 echo "${ECHO_T}$ac_cv_host" >&6 7002 host=$ac_cv_host 7003 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 7004 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 7005 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 7006 7007 7008 7009 case $host_cpu in 7010 i*86 ) 7011 7012 cat >>confdefs.h <<\_ACEOF 7013 #define CPU_CISC 1 7014 _ACEOF 7015 7016 7017 cat >>confdefs.h <<\_ACEOF 7018 #define HAVE_X86 1 7019 _ACEOF 7020 ;; 7021 * ) 7022 # CPU_RISC is only supported for big endian machines. 7023 if test "$ac_cv_c_bigendian" = "yes"; then 7024 7025 cat >>confdefs.h <<\_ACEOF 7026 #define CPU_RISC 1 7027 _ACEOF 7028 7029 else 7030 cat >>confdefs.h <<\_ACEOF 7031 #define CPU_CISC 1 7032 _ACEOF 7033 7034 fi 7035 ;; 7036 esac 7037 7038 case $host_os in 7039 *cygwin*|*mingw* ) 7040 EXE=.exe;; 7041 * ) EXE="";; 7042 esac 7043 7044 # define executable suffix; this is needed for `make clean' 7045 7046 echo "$as_me:$LINENO: checking whether to compile in debugging" >&5 7047 echo $ECHO_N "checking whether to compile in debugging... $ECHO_C" >&6 7048 # Check whether --enable-debug or --disable-debug was given. 7049 if test "${enable_debug+set}" = set; then 7050 enableval="$enable_debug" 7051 7052 else 7053 enable_debug=yes 7054 fi; 7055 if test "$enable_debug" = "yes"; then 7056 7057 cat >>confdefs.h <<\_ACEOF 7058 #define ENABLE_DEBUGGING 1 7059 _ACEOF 7060 7061 fi 7062 echo "$as_me:$LINENO: result: $enable_debug" >&5 7063 echo "${ECHO_T}$enable_debug" >&6 7064 7065 echo "$as_me:$LINENO: checking whether to use ISMAcryp code" >&5 7066 echo $ECHO_N "checking whether to use ISMAcryp code... $ECHO_C" >&6 7067 # Check whether --enable-generic-aesicm or --disable-generic-aesicm was given. 7068 if test "${enable_generic_aesicm+set}" = set; then 7069 enableval="$enable_generic_aesicm" 7070 7071 else 7072 enable_generic_aesicm=no 7073 fi; 7074 if test "$enable_generic_aesicm" = "yes"; then 7075 7076 cat >>confdefs.h <<\_ACEOF 7077 #define GENERIC_AESICM 1 7078 _ACEOF 7079 7080 fi 7081 echo "$as_me:$LINENO: result: $enable_generic_aesicm" >&5 7082 echo "${ECHO_T}$enable_generic_aesicm" >&6 7083 7084 echo "$as_me:$LINENO: checking whether to use syslog for error reporting" >&5 7085 echo $ECHO_N "checking whether to use syslog for error reporting... $ECHO_C" >&6 7086 # Check whether --enable-syslog or --disable-syslog was given. 7087 if test "${enable_syslog+set}" = set; then 7088 enableval="$enable_syslog" 7089 5727 if ac_fn_c_try_link "$LINENO"; then : 5728 ac_cv_lib_crypto_EVP_aes_128_ctr=yes 5729 else 5730 ac_cv_lib_crypto_EVP_aes_128_ctr=no 5731 fi 5732 rm -f core conftest.err conftest.$ac_objext \ 5733 conftest$ac_exeext conftest.$ac_ext 5734 LIBS=$ac_check_lib_save_LIBS 5735 fi 5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_128_ctr" >&5 5737 $as_echo "$ac_cv_lib_crypto_EVP_aes_128_ctr" >&6; } 5738 if test "x$ac_cv_lib_crypto_EVP_aes_128_ctr" = xyes; then : 5739 cat >>confdefs.h <<_ACEOF 5740 #define HAVE_LIBCRYPTO 1 5741 _ACEOF 5742 5743 LIBS="-lcrypto $LIBS" 5744 5745 else 5746 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5748 as_fn_error $? "can't find openssl >1.0.1 crypto lib 5749 See \`config.log' for more details" "$LINENO" 5; } 5750 fi 5751 5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_aes_128_gcm in -lcrypto" >&5 5753 $as_echo_n "checking for EVP_aes_128_gcm in -lcrypto... " >&6; } 5754 if ${ac_cv_lib_crypto_EVP_aes_128_gcm+:} false; then : 5755 $as_echo_n "(cached) " >&6 5756 else 5757 ac_check_lib_save_LIBS=$LIBS 5758 LIBS="-lcrypto $LIBS" 5759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5760 /* end confdefs.h. */ 5761 5762 /* Override any GCC internal prototype to avoid an error. 5763 Use char because int might match the return type of a GCC 5764 builtin and then its argument prototype would still apply. */ 5765 #ifdef __cplusplus 5766 extern "C" 5767 #endif 5768 char EVP_aes_128_gcm (); 5769 int 5770 main () 5771 { 5772 return EVP_aes_128_gcm (); 5773 ; 5774 return 0; 5775 } 5776 _ACEOF 5777 if ac_fn_c_try_link "$LINENO"; then : 5778 ac_cv_lib_crypto_EVP_aes_128_gcm=yes 5779 else 5780 ac_cv_lib_crypto_EVP_aes_128_gcm=no 5781 fi 5782 rm -f core conftest.err conftest.$ac_objext \ 5783 conftest$ac_exeext conftest.$ac_ext 5784 LIBS=$ac_check_lib_save_LIBS 5785 fi 5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_aes_128_gcm" >&5 5787 $as_echo "$ac_cv_lib_crypto_EVP_aes_128_gcm" >&6; } 5788 if test "x$ac_cv_lib_crypto_EVP_aes_128_gcm" = xyes; then : 5789 cat >>confdefs.h <<_ACEOF 5790 #define HAVE_LIBCRYPTO 1 5791 _ACEOF 5792 5793 LIBS="-lcrypto $LIBS" 5794 5795 else 5796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5798 as_fn_error $? "can't find openssl >1.0.1 crypto lib 5799 See \`config.log' for more details" "$LINENO" 5; } 5800 fi 5801 5802 5803 $as_echo "#define OPENSSL 1" >>confdefs.h 5804 5805 AES_ICM_OBJS="crypto/cipher/aes_icm_ossl.o crypto/cipher/aes_gcm_ossl.o" 5806 RNG_OBJS=rand_source_ossl.o 5807 HMAC_OBJS=crypto/hash/hmac_ossl.o 5808 USE_OPENSSL=1 5809 5810 else 5811 AES_ICM_OBJS="crypto/cipher/aes_icm.o crypto/cipher/aes.o crypto/cipher/aes_cbc.o" 5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which random device to use" >&5 5813 $as_echo_n "checking which random device to use... " >&6; } 5814 if test "$enable_kernel_linux" = "yes"; then 5815 RNG_OBJS=rand_linux_kernel.o 5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux kernel builtin" >&5 5817 $as_echo "Linux kernel builtin" >&6; } 5818 else 5819 RNG_OBJS=rand_source.o 5820 if test -n "$DEV_URANDOM"; then 5821 5822 cat >>confdefs.h <<_ACEOF 5823 #define DEV_URANDOM "$DEV_URANDOM" 5824 _ACEOF 5825 5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEV_URANDOM" >&5 5827 $as_echo "$DEV_URANDOM" >&6; } 5828 else 5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: standard rand() function..." >&5 5830 $as_echo "standard rand() function..." >&6; } 5831 fi 5832 fi 5833 RNG_EXTRA_OBJS="crypto/rng/prng.o crypto/rng/ctr_prng.o" 5834 HMAC_OBJS="crypto/hash/hmac.o crypto/hash/sha1.o" 5835 fi 5836 5837 5838 5839 5840 5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5 5842 $as_echo_n "checking for pcap_create in -lpcap... " >&6; } 5843 if ${ac_cv_lib_pcap_pcap_create+:} false; then : 5844 $as_echo_n "(cached) " >&6 5845 else 5846 ac_check_lib_save_LIBS=$LIBS 5847 LIBS="-lpcap $LIBS" 5848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5849 /* end confdefs.h. */ 5850 5851 /* Override any GCC internal prototype to avoid an error. 5852 Use char because int might match the return type of a GCC 5853 builtin and then its argument prototype would still apply. */ 5854 #ifdef __cplusplus 5855 extern "C" 5856 #endif 5857 char pcap_create (); 5858 int 5859 main () 5860 { 5861 return pcap_create (); 5862 ; 5863 return 0; 5864 } 5865 _ACEOF 5866 if ac_fn_c_try_link "$LINENO"; then : 5867 ac_cv_lib_pcap_pcap_create=yes 5868 else 5869 ac_cv_lib_pcap_pcap_create=no 5870 fi 5871 rm -f core conftest.err conftest.$ac_objext \ 5872 conftest$ac_exeext conftest.$ac_ext 5873 LIBS=$ac_check_lib_save_LIBS 5874 fi 5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5 5876 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; } 5877 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then : 5878 PCAP=1 5879 LIBS="-lpcap $LIBS" 5880 HAVE_PCAP=1 5881 5882 $as_echo "#define HAVE_PCAP 1" >>confdefs.h 5883 5884 5885 5886 fi 5887 5888 5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use syslog for error reporting" >&5 5890 $as_echo_n "checking whether to use syslog for error reporting... " >&6; } 5891 # Check whether --enable-syslog was given. 5892 if test "${enable_syslog+set}" = set; then : 5893 enableval=$enable_syslog; 7090 5894 else 7091 5895 enable_syslog=no 7092 fi; 5896 fi 5897 7093 5898 if test "$enable_syslog" = "yes"; then 7094 5899 7095 cat >>confdefs.h <<\_ACEOF 7096 #define USE_SYSLOG 1 7097 _ACEOF 7098 7099 fi 7100 echo "$as_me:$LINENO: result: $enable_syslog" >&5 7101 echo "${ECHO_T}$enable_syslog" >&6 7102 7103 echo "$as_me:$LINENO: checking whether to use stdout for error reporting" >&5 7104 echo $ECHO_N "checking whether to use stdout for error reporting... $ECHO_C" >&6 7105 # Check whether --enable-stdout or --disable-stdout was given. 7106 if test "${enable_stdout+set}" = set; then 7107 enableval="$enable_stdout" 7108 5900 $as_echo "#define USE_SYSLOG 1" >>confdefs.h 5901 5902 fi 5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_syslog" >&5 5904 $as_echo "$enable_syslog" >&6; } 5905 5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use stdout for error reporting" >&5 5907 $as_echo_n "checking whether to use stdout for error reporting... " >&6; } 5908 # Check whether --enable-stdout was given. 5909 if test "${enable_stdout+set}" = set; then : 5910 enableval=$enable_stdout; 7109 5911 else 7110 5912 enable_stdout=yes 7111 fi; 5913 fi 5914 7112 5915 if test "$enable_stdout" = "yes"; then 7113 5916 7114 cat >>confdefs.h <<\_ACEOF 7115 #define ERR_REPORTING_STDOUT 1 7116 _ACEOF 7117 7118 fi 7119 echo "$as_me:$LINENO: result: $enable_stdout" >&5 7120 echo "${ECHO_T}$enable_stdout" >&6 7121 7122 echo "$as_me:$LINENO: checking whether to use /dev/console for error reporting" >&5 7123 echo $ECHO_N "checking whether to use /dev/console for error reporting... $ECHO_C" >&6 7124 # Check whether --enable-console or --disable-console was given. 7125 if test "${enable_console+set}" = set; then 7126 enableval="$enable_console" 7127 5917 $as_echo "#define ERR_REPORTING_STDOUT 1" >>confdefs.h 5918 5919 fi 5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_stdout" >&5 5921 $as_echo "$enable_stdout" >&6; } 5922 5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use /dev/console for error reporting" >&5 5924 $as_echo_n "checking whether to use /dev/console for error reporting... " >&6; } 5925 # Check whether --enable-console was given. 5926 if test "${enable_console+set}" = set; then : 5927 enableval=$enable_console; 7128 5928 else 7129 5929 enable_console=no 7130 fi; 5930 fi 5931 7131 5932 if test "$enable_console" = "yes"; then 7132 5933 7133 cat >>confdefs.h <<\_ACEOF 7134 #define USE_ERR_REPORTING_FILE 1 7135 _ACEOF 7136 7137 7138 cat >>confdefs.h <<\_ACEOF 7139 #define ERR_REPORTING_FILE "/dev/console" 7140 _ACEOF 7141 7142 fi 7143 echo "$as_me:$LINENO: result: $enable_console" >&5 7144 echo "${ECHO_T}$enable_console" >&6 7145 7146 echo "$as_me:$LINENO: checking whether to use GDOI key management" >&5 7147 echo $ECHO_N "checking whether to use GDOI key management... $ECHO_C" >&6 7148 # Check whether --enable-gdoi or --disable-gdoi was given. 7149 if test "${enable_gdoi+set}" = set; then 7150 enableval="$enable_gdoi" 7151 5934 $as_echo "#define USE_ERR_REPORTING_FILE 1" >>confdefs.h 5935 5936 5937 $as_echo "#define ERR_REPORTING_FILE \"/dev/console\"" >>confdefs.h 5938 5939 fi 5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_console" >&5 5941 $as_echo "$enable_console" >&6; } 5942 5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use GDOI key management" >&5 5944 $as_echo_n "checking whether to use GDOI key management... " >&6; } 5945 # Check whether --enable-gdoi was given. 5946 if test "${enable_gdoi+set}" = set; then : 5947 enableval=$enable_gdoi; 7152 5948 else 7153 5949 enable_gdoi=no 7154 fi; 5950 fi 5951 7155 5952 if test "$enable_gdoi" = "yes"; then 7156 5953 7157 cat >>confdefs.h <<\_ACEOF 7158 #define SRTP_GDOI 1 7159 _ACEOF 5954 $as_echo "#define SRTP_GDOI 1" >>confdefs.h 7160 5955 7161 5956 GDOI_OBJS=gdoi/srtp+gdoi.o 7162 5957 7163 5958 fi 7164 echo "$as_me:$LINENO: result: $enable_gdoi" >&5 7165 echo "${ECHO_T}$enable_gdoi" >&6 7166 7167 ac_config_headers="$ac_config_headers crypto/include/config.h:config_in.h" 7168 7169 7170 ac_config_files="$ac_config_files Makefile crypto/Makefile doc/Makefile" 5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gdoi" >&5 5960 $as_echo "$enable_gdoi" >&6; } 5961 5962 ac_config_headers="$ac_config_headers crypto/include/config.h:config_in.h" 5963 5964 5965 # Extract the first word of "pkg-config", so it can be a program name with args. 5966 set dummy pkg-config; ac_word=$2 5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5968 $as_echo_n "checking for $ac_word... " >&6; } 5969 if ${ac_cv_prog_PKG_CONFIG+:} false; then : 5970 $as_echo_n "(cached) " >&6 5971 else 5972 if test -n "$PKG_CONFIG"; then 5973 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test. 5974 else 5975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5976 for as_dir in $PATH 5977 do 5978 IFS=$as_save_IFS 5979 test -z "$as_dir" && as_dir=. 5980 for ac_exec_ext in '' $ac_executable_extensions; do 5981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5982 ac_cv_prog_PKG_CONFIG="yes" 5983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5984 break 2 5985 fi 5986 done 5987 done 5988 IFS=$as_save_IFS 5989 5990 fi 5991 fi 5992 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG 5993 if test -n "$PKG_CONFIG"; then 5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 5995 $as_echo "$PKG_CONFIG" >&6; } 5996 else 5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5998 $as_echo "no" >&6; } 5999 fi 6000 6001 6002 if test "x$PKG_CONFIG" != "x"; then 6003 HAVE_PKG_CONFIG=1 6004 ac_config_files="$ac_config_files libsrtp.pc" 6005 6006 else 6007 HAVE_PKG_CONFIG=0 6008 fi 6009 6010 ac_config_files="$ac_config_files Makefile crypto/Makefile doc/Makefile" 6011 7171 6012 cat >confcache <<\_ACEOF 7172 6013 # This file is a shell script that caches the results of configure … … 7187 6028 # The following way of writing the cache mishandles newlines in values, 7188 6029 # but we know of no workaround that is simple, portable, and efficient. 7189 # So, don't put newlines in cache variables' values.6030 # So, we kill variables containing newlines. 7190 6031 # Ultrix sh set writes to stderr and can't be redirected directly, 7191 6032 # and sets the high bit in the cache file unless we assign to the vars. 7192 { 6033 ( 6034 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6035 eval ac_val=\$$ac_var 6036 case $ac_val in #( 6037 *${as_nl}*) 6038 case $ac_var in #( 6039 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6040 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6041 esac 6042 case $ac_var in #( 6043 _ | IFS | as_nl) ;; #( 6044 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6045 *) { eval $ac_var=; unset $ac_var;} ;; 6046 esac ;; 6047 esac 6048 done 6049 7193 6050 (set) 2>&1 | 7194 case `(ac_space=' '; set | grep ac_space) 2>&1` in7195 * ac_space=\ *)7196 # `set' does not quote correctly, so add quotes (double-quote7197 # substitution turns \\\\ into \\, and sed turns \\ into \ ).6051 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6052 *${as_nl}ac_space=\ *) 6053 # `set' does not quote correctly, so add quotes: double-quote 6054 # substitution turns \\\\ into \\, and sed turns \\ into \. 7198 6055 sed -n \ 7199 6056 "s/'/'\\\\''/g; 7200 6057 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7201 ;; 6058 ;; #( 7202 6059 *) 7203 6060 # `set' quotes correctly as required by POSIX, so do not add quotes. 7204 sed -n \ 7205 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6061 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7206 6062 ;; 7207 esac; 7208 } | 6063 esac | 6064 sort 6065 ) | 7209 6066 sed ' 6067 /^ac_cv_env_/b end 7210 6068 t clear 7211 : 6069 :clear 7212 6070 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7213 6071 t end 7214 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7215 : end' >>confcache 7216 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7217 if test -w $cache_file; then 7218 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 7219 cat confcache >$cache_file 6072 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6073 :end' >>confcache 6074 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6075 if test -w "$cache_file"; then 6076 if test "x$cache_file" != "x/dev/null"; then 6077 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6078 $as_echo "$as_me: updating cache $cache_file" >&6;} 6079 if test ! -f "$cache_file" || test -h "$cache_file"; then 6080 cat confcache >"$cache_file" 6081 else 6082 case $cache_file in #( 6083 */* | ?:*) 6084 mv -f confcache "$cache_file"$$ && 6085 mv -f "$cache_file"$$ "$cache_file" ;; #( 6086 *) 6087 mv -f confcache "$cache_file" ;; 6088 esac 6089 fi 6090 fi 7220 6091 else 7221 echo "not updating unwritable cache $cache_file" 6092 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6093 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7222 6094 fi 7223 6095 fi … … 7228 6100 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7229 6101 7230 # VPATH may cause trouble with some makes, so we remove $(srcdir),7231 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and7232 # trailing colons and then remove the whole line if VPATH becomes empty7233 # (actually we leave an empty line to preserve line numbers).7234 if test "x$srcdir" = x.; then7235 ac_vpsub='/^[ ]*VPATH[ ]*=/{7236 s/:*\$(srcdir):*/:/;7237 s/:*\${srcdir}:*/:/;7238 s/:*@srcdir@:*/:/;7239 s/^\([^=]*=[ ]*\):*/\1/;7240 s/:*$//;7241 s/^[^=]*=[ ]*$//;7242 }'7243 fi7244 7245 6102 DEFS=-DHAVE_CONFIG_H 7246 6103 7247 6104 ac_libobjs= 7248 6105 ac_ltlibobjs= 6106 U= 7249 6107 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7250 6108 # 1. Remove the extension, and $U if already installed. 7251 ac_i=`echo "$ac_i" | 7252 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7253 # 2. Add them. 7254 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7255 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 6109 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6110 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6111 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6112 # will be set to the directory where LIBOBJS objects are built. 6113 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6114 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 7256 6115 done 7257 6116 LIBOBJS=$ac_libobjs … … 7261 6120 7262 6121 7263 : ${CONFIG_STATUS=./config.status} 6122 6123 : "${CONFIG_STATUS=./config.status}" 6124 ac_write_fail=0 7264 6125 ac_clean_files_save=$ac_clean_files 7265 6126 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7266 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 7267 echo "$as_me: creating $CONFIG_STATUS" >&6;} 7268 cat >$CONFIG_STATUS <<_ACEOF 6127 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6128 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6129 as_write_fail=0 6130 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 7269 6131 #! $SHELL 7270 6132 # Generated by $as_me. … … 7276 6138 ac_cs_recheck=false 7277 6139 ac_cs_silent=false 6140 7278 6141 SHELL=\${CONFIG_SHELL-$SHELL} 7279 _ACEOF 7280 7281 cat >>$CONFIG_STATUS <<\_ACEOF 7282 ## --------------------- ## 7283 ## M4sh Initialization. ## 7284 ## --------------------- ## 7285 7286 # Be Bourne compatible 7287 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6142 export SHELL 6143 _ASEOF 6144 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6145 ## -------------------- ## 6146 ## M4sh Initialization. ## 6147 ## -------------------- ## 6148 6149 # Be more Bourne compatible 6150 DUALCASE=1; export DUALCASE # for MKS sh 6151 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 7288 6152 emulate sh 7289 6153 NULLCMD=: 7290 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which6154 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 7291 6155 # is contrary to our usage. Disable this feature. 7292 6156 alias -g '${1+"$@"}'='"$@"' 7293 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 7294 set -o posix 7295 fi 7296 DUALCASE=1; export DUALCASE # for MKS sh 7297 7298 # Support unset when possible. 7299 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7300 as_unset=unset 7301 else 7302 as_unset=false 7303 fi 7304 7305 7306 # Work around bugs in pre-3.0 UWIN ksh. 7307 $as_unset ENV MAIL MAILPATH 6157 setopt NO_GLOB_SUBST 6158 else 6159 case `(set -o) 2>/dev/null` in #( 6160 *posix*) : 6161 set -o posix ;; #( 6162 *) : 6163 ;; 6164 esac 6165 fi 6166 6167 6168 as_nl=' 6169 ' 6170 export as_nl 6171 # Printing a long string crashes Solaris 7 /usr/bin/printf. 6172 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6173 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6174 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6175 # Prefer a ksh shell builtin over an external printf program on Solaris, 6176 # but without wasting forks for bash or zsh. 6177 if test -z "$BASH_VERSION$ZSH_VERSION" \ 6178 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6179 as_echo='print -r --' 6180 as_echo_n='print -rn --' 6181 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6182 as_echo='printf %s\n' 6183 as_echo_n='printf %s' 6184 else 6185 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6186 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6187 as_echo_n='/usr/ucb/echo -n' 6188 else 6189 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6190 as_echo_n_body='eval 6191 arg=$1; 6192 case $arg in #( 6193 *"$as_nl"*) 6194 expr "X$arg" : "X\\(.*\\)$as_nl"; 6195 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6196 esac; 6197 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6198 ' 6199 export as_echo_n_body 6200 as_echo_n='sh -c $as_echo_n_body as_echo' 6201 fi 6202 export as_echo_body 6203 as_echo='sh -c $as_echo_body as_echo' 6204 fi 6205 6206 # The user is always right. 6207 if test "${PATH_SEPARATOR+set}" != set; then 6208 PATH_SEPARATOR=: 6209 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6210 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6211 PATH_SEPARATOR=';' 6212 } 6213 fi 6214 6215 6216 # IFS 6217 # We need space, tab and new line, in precisely that order. Quoting is 6218 # there to prevent editors from complaining about space-tab. 6219 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 6220 # splitting by setting IFS to empty value.) 6221 IFS=" "" $as_nl" 6222 6223 # Find who we are. Look in the path if we contain no directory separator. 6224 as_myself= 6225 case $0 in #(( 6226 *[\\/]* ) as_myself=$0 ;; 6227 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6228 for as_dir in $PATH 6229 do 6230 IFS=$as_save_IFS 6231 test -z "$as_dir" && as_dir=. 6232 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6233 done 6234 IFS=$as_save_IFS 6235 6236 ;; 6237 esac 6238 # We did not find ourselves, most probably we were run as `sh COMMAND' 6239 # in which case we are not to be found in the path. 6240 if test "x$as_myself" = x; then 6241 as_myself=$0 6242 fi 6243 if test ! -f "$as_myself"; then 6244 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6245 exit 1 6246 fi 6247 6248 # Unset variables that we do not need and which cause bugs (e.g. in 6249 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6250 # suppresses any "Segmentation fault" message there. '((' could 6251 # trigger a bug in pdksh 5.2.14. 6252 for as_var in BASH_ENV ENV MAIL MAILPATH 6253 do eval test x\${$as_var+set} = xset \ 6254 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 6255 done 7308 6256 PS1='$ ' 7309 6257 PS2='> ' … … 7311 6259 7312 6260 # NLS nuisances. 7313 for as_var in \ 7314 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7315 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7316 LC_TELEPHONE LC_TIME 7317 do 7318 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 7319 eval $as_var=C; export $as_var 7320 else 7321 $as_unset $as_var 6261 LC_ALL=C 6262 export LC_ALL 6263 LANGUAGE=C 6264 export LANGUAGE 6265 6266 # CDPATH. 6267 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6268 6269 6270 # as_fn_error STATUS ERROR [LINENO LOG_FD] 6271 # ---------------------------------------- 6272 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6273 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6274 # script with STATUS, using 1 if that was 0. 6275 as_fn_error () 6276 { 6277 as_status=$1; test $as_status -eq 0 && as_status=1 6278 if test "$4"; then 6279 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6280 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 7322 6281 fi 7323 done 7324 7325 # Required to use basename. 7326 if expr a : '\(a\)' >/dev/null 2>&1; then 6282 $as_echo "$as_me: error: $2" >&2 6283 as_fn_exit $as_status 6284 } # as_fn_error 6285 6286 6287 # as_fn_set_status STATUS 6288 # ----------------------- 6289 # Set $? to STATUS, without forking. 6290 as_fn_set_status () 6291 { 6292 return $1 6293 } # as_fn_set_status 6294 6295 # as_fn_exit STATUS 6296 # ----------------- 6297 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6298 as_fn_exit () 6299 { 6300 set +e 6301 as_fn_set_status $1 6302 exit $1 6303 } # as_fn_exit 6304 6305 # as_fn_unset VAR 6306 # --------------- 6307 # Portably unset VAR. 6308 as_fn_unset () 6309 { 6310 { eval $1=; unset $1;} 6311 } 6312 as_unset=as_fn_unset 6313 # as_fn_append VAR VALUE 6314 # ---------------------- 6315 # Append the text in VALUE to the end of the definition contained in VAR. Take 6316 # advantage of any shell optimizations that allow amortized linear growth over 6317 # repeated appends, instead of the typical quadratic growth present in naive 6318 # implementations. 6319 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6320 eval 'as_fn_append () 6321 { 6322 eval $1+=\$2 6323 }' 6324 else 6325 as_fn_append () 6326 { 6327 eval $1=\$$1\$2 6328 } 6329 fi # as_fn_append 6330 6331 # as_fn_arith ARG... 6332 # ------------------ 6333 # Perform arithmetic evaluation on the ARGs, and store the result in the 6334 # global $as_val. Take advantage of shells that can avoid forks. The arguments 6335 # must be portable across $(()) and expr. 6336 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6337 eval 'as_fn_arith () 6338 { 6339 as_val=$(( $* )) 6340 }' 6341 else 6342 as_fn_arith () 6343 { 6344 as_val=`expr "$@" || test $? -eq 1` 6345 } 6346 fi # as_fn_arith 6347 6348 6349 if expr a : '\(a\)' >/dev/null 2>&1 && 6350 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7327 6351 as_expr=expr 7328 6352 else … … 7330 6354 fi 7331 6355 7332 if (basename /) >/dev/null 2>&1 && test "X`basename/ 2>&1`" = "X/"; then6356 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 7333 6357 as_basename=basename 7334 6358 else … … 7336 6360 fi 7337 6361 7338 7339 # Name of the executable. 7340 as_me=`$as_basename "$0" || 6362 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6363 as_dirname=dirname 6364 else 6365 as_dirname=false 6366 fi 6367 6368 as_me=`$as_basename -- "$0" || 7341 6369 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7342 6370 X"$0" : 'X\(//\)$' \| \ 7343 X"$0" : 'X\(/\)$' \| \ 7344 . : '\(.\)' 2>/dev/null || 7345 echo X/"$0" | 7346 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 7347 /^X\/\(\/\/\)$/{ s//\1/; q; } 7348 /^X\/\(\/\).*/{ s//\1/; q; } 7349 s/.*/./; q'` 7350 7351 7352 # PATH needs CR, and LINENO needs CR and PATH. 6371 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6372 $as_echo X/"$0" | 6373 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6374 s//\1/ 6375 q 6376 } 6377 /^X\/\(\/\/\)$/{ 6378 s//\1/ 6379 q 6380 } 6381 /^X\/\(\/\).*/{ 6382 s//\1/ 6383 q 6384 } 6385 s/.*/./; q'` 6386 7353 6387 # Avoid depending upon Character Ranges. 7354 6388 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 7358 6392 as_cr_alnum=$as_cr_Letters$as_cr_digits 7359 6393 7360 # The user is always right. 7361 if test "${PATH_SEPARATOR+set}" != set; then 7362 echo "#! /bin/sh" >conf$$.sh 7363 echo "exit 0" >>conf$$.sh 7364 chmod +x conf$$.sh 7365 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 7366 PATH_SEPARATOR=';' 6394 ECHO_C= ECHO_N= ECHO_T= 6395 case `echo -n x` in #((((( 6396 -n*) 6397 case `echo 'xy\c'` in 6398 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6399 xy) ECHO_C='\c';; 6400 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 6401 ECHO_T=' ';; 6402 esac;; 6403 *) 6404 ECHO_N='-n';; 6405 esac 6406 6407 rm -f conf$$ conf$$.exe conf$$.file 6408 if test -d conf$$.dir; then 6409 rm -f conf$$.dir/conf$$.file 6410 else 6411 rm -f conf$$.dir 6412 mkdir conf$$.dir 2>/dev/null 6413 fi 6414 if (echo >conf$$.file) 2>/dev/null; then 6415 if ln -s conf$$.file conf$$ 2>/dev/null; then 6416 as_ln_s='ln -s' 6417 # ... but there are two gotchas: 6418 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6419 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6420 # In both cases, we have to default to `cp -pR'. 6421 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6422 as_ln_s='cp -pR' 6423 elif ln conf$$.file conf$$ 2>/dev/null; then 6424 as_ln_s=ln 7367 6425 else 7368 PATH_SEPARATOR=:6426 as_ln_s='cp -pR' 7369 6427 fi 7370 rm -f conf$$.sh 7371 fi 7372 7373 7374 as_lineno_1=$LINENO 7375 as_lineno_2=$LINENO 7376 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 7377 test "x$as_lineno_1" != "x$as_lineno_2" && 7378 test "x$as_lineno_3" = "x$as_lineno_2" || { 7379 # Find who we are. Look in the path if we contain no path at all 7380 # relative or not. 7381 case $0 in 7382 *[\\/]* ) as_myself=$0 ;; 7383 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7384 for as_dir in $PATH 7385 do 7386 IFS=$as_save_IFS 7387 test -z "$as_dir" && as_dir=. 7388 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7389 done 7390 7391 ;; 6428 else 6429 as_ln_s='cp -pR' 6430 fi 6431 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6432 rmdir conf$$.dir 2>/dev/null 6433 6434 6435 # as_fn_mkdir_p 6436 # ------------- 6437 # Create "$as_dir" as a directory, including parents if necessary. 6438 as_fn_mkdir_p () 6439 { 6440 6441 case $as_dir in #( 6442 -*) as_dir=./$as_dir;; 7392 6443 esac 7393 # We did not find ourselves, most probably we were run as `sh COMMAND' 7394 # in which case we are not to be found in the path. 7395 if test "x$as_myself" = x; then 7396 as_myself=$0 7397 fi 7398 if test ! -f "$as_myself"; then 7399 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 7400 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 7401 { (exit 1); exit 1; }; } 7402 fi 7403 case $CONFIG_SHELL in 7404 '') 7405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7406 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 7407 do 7408 IFS=$as_save_IFS 7409 test -z "$as_dir" && as_dir=. 7410 for as_base in sh bash ksh sh5; do 7411 case $as_dir in 7412 /*) 7413 if ("$as_dir/$as_base" -c ' 7414 as_lineno_1=$LINENO 7415 as_lineno_2=$LINENO 7416 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 7417 test "x$as_lineno_1" != "x$as_lineno_2" && 7418 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 7419 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 7420 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 7421 CONFIG_SHELL=$as_dir/$as_base 7422 export CONFIG_SHELL 7423 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 7424 fi;; 7425 esac 7426 done 7427 done 7428 ;; 7429 esac 7430 7431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 7432 # uniformly replaced by the line number. The first 'sed' inserts a 7433 # line-number line before each line; the second 'sed' does the real 7434 # work. The second script uses 'N' to pair each line-number line 7435 # with the numbered line, and appends trailing '-' during 7436 # substitution so that $LINENO is not a special case at line end. 7437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 7438 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 7439 sed '=' <$as_myself | 7440 sed ' 7441 N 7442 s,$,-, 7443 : loop 7444 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 7445 t loop 7446 s,-$,, 7447 s,^['$as_cr_digits']*\n,, 7448 ' >$as_me.lineno && 7449 chmod +x $as_me.lineno || 7450 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 7451 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 7452 { (exit 1); exit 1; }; } 7453 7454 # Don't try to exec as it changes $[0], causing all sort of problems 7455 # (the dirname of $[0] is not the place where we might find the 7456 # original and so on. Autoconf is especially sensible to this). 7457 . ./$as_me.lineno 7458 # Exit status is that of the last command. 7459 exit 7460 } 7461 7462 7463 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 7464 *c*,-n*) ECHO_N= ECHO_C=' 7465 ' ECHO_T=' ' ;; 7466 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 7467 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 7468 esac 7469 7470 if expr a : '\(a\)' >/dev/null 2>&1; then 7471 as_expr=expr 7472 else 7473 as_expr=false 7474 fi 7475 7476 rm -f conf$$ conf$$.exe conf$$.file 7477 echo >conf$$.file 7478 if ln -s conf$$.file conf$$ 2>/dev/null; then 7479 # We could just check for DJGPP; but this test a) works b) is more generic 7480 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 7481 if test -f conf$$.exe; then 7482 # Don't use ln at all; we don't have any links 7483 as_ln_s='cp -p' 7484 else 7485 as_ln_s='ln -s' 7486 fi 7487 elif ln conf$$.file conf$$ 2>/dev/null; then 7488 as_ln_s=ln 7489 else 7490 as_ln_s='cp -p' 7491 fi 7492 rm -f conf$$ conf$$.exe conf$$.file 7493 6444 test -d "$as_dir" || eval $as_mkdir_p || { 6445 as_dirs= 6446 while :; do 6447 case $as_dir in #( 6448 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6449 *) as_qdir=$as_dir;; 6450 esac 6451 as_dirs="'$as_qdir' $as_dirs" 6452 as_dir=`$as_dirname -- "$as_dir" || 6453 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6454 X"$as_dir" : 'X\(//\)[^/]' \| \ 6455 X"$as_dir" : 'X\(//\)$' \| \ 6456 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6457 $as_echo X"$as_dir" | 6458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6459 s//\1/ 6460 q 6461 } 6462 /^X\(\/\/\)[^/].*/{ 6463 s//\1/ 6464 q 6465 } 6466 /^X\(\/\/\)$/{ 6467 s//\1/ 6468 q 6469 } 6470 /^X\(\/\).*/{ 6471 s//\1/ 6472 q 6473 } 6474 s/.*/./; q'` 6475 test -d "$as_dir" && break 6476 done 6477 test -z "$as_dirs" || eval "mkdir $as_dirs" 6478 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 6479 6480 6481 } # as_fn_mkdir_p 7494 6482 if mkdir -p . 2>/dev/null; then 7495 as_mkdir_p= :6483 as_mkdir_p='mkdir -p "$as_dir"' 7496 6484 else 7497 6485 test -d ./-p && rmdir ./-p … … 7499 6487 fi 7500 6488 7501 as_executable_p="test -f" 6489 6490 # as_fn_executable_p FILE 6491 # ----------------------- 6492 # Test if FILE is an executable regular file. 6493 as_fn_executable_p () 6494 { 6495 test -f "$1" && test -x "$1" 6496 } # as_fn_executable_p 6497 as_test_x='test -x' 6498 as_executable_p=as_fn_executable_p 7502 6499 7503 6500 # Sed expression to map a string onto a valid CPP name. … … 7508 6505 7509 6506 7510 # IFS7511 # We need space, tab and new line, in precisely that order.7512 as_nl='7513 '7514 IFS=" $as_nl"7515 7516 # CDPATH.7517 $as_unset CDPATH7518 7519 6507 exec 6>&1 7520 7521 # Open the log real soon, to keep \$[0] and so on meaningful, and to 6508 ## ----------------------------------- ## 6509 ## Main body of $CONFIG_STATUS script. ## 6510 ## ----------------------------------- ## 6511 _ASEOF 6512 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 6513 6514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6515 # Save the log message, to keep $0 and so on meaningful, and to 7522 6516 # report actual input values of CONFIG_FILES etc. instead of their 7523 # values after options handling. Logging --version etc. is OK. 6517 # values after options handling. 6518 ac_log=" 6519 This file was extended by libsrtp $as_me 1.5.4, which was 6520 generated by GNU Autoconf 2.69. Invocation command line was 6521 6522 CONFIG_FILES = $CONFIG_FILES 6523 CONFIG_HEADERS = $CONFIG_HEADERS 6524 CONFIG_LINKS = $CONFIG_LINKS 6525 CONFIG_COMMANDS = $CONFIG_COMMANDS 6526 $ $0 $@ 6527 6528 on `(hostname || uname -n) 2>/dev/null | sed 1q` 6529 " 6530 6531 _ACEOF 6532 6533 case $ac_config_files in *" 6534 "*) set x $ac_config_files; shift; ac_config_files=$*;; 6535 esac 6536 6537 case $ac_config_headers in *" 6538 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 6539 esac 6540 6541 6542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6543 # Files that config.status was made for. 6544 config_files="$ac_config_files" 6545 config_headers="$ac_config_headers" 6546 6547 _ACEOF 6548 6549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6550 ac_cs_usage="\ 6551 \`$as_me' instantiates files and other configuration actions 6552 from templates according to the current configuration. Unless the files 6553 and actions are specified as TAGs, all are instantiated by default. 6554 6555 Usage: $0 [OPTION]... [TAG]... 6556 6557 -h, --help print this help, then exit 6558 -V, --version print version number and configuration settings, then exit 6559 --config print configuration, then exit 6560 -q, --quiet, --silent 6561 do not print progress messages 6562 -d, --debug don't remove temporary files 6563 --recheck update $as_me by reconfiguring in the same conditions 6564 --file=FILE[:TEMPLATE] 6565 instantiate the configuration file FILE 6566 --header=FILE[:TEMPLATE] 6567 instantiate the configuration header FILE 6568 6569 Configuration files: 6570 $config_files 6571 6572 Configuration headers: 6573 $config_headers 6574 6575 Report bugs to <https://github.com/cisco/libsrtp/issues>." 6576 6577 _ACEOF 6578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6579 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 6580 ac_cs_version="\\ 6581 libsrtp config.status 1.5.4 6582 configured by $0, generated by GNU Autoconf 2.69, 6583 with options \\"\$ac_cs_config\\" 6584 6585 Copyright (C) 2012 Free Software Foundation, Inc. 6586 This config.status script is free software; the Free Software Foundation 6587 gives unlimited permission to copy, distribute and modify it." 6588 6589 ac_pwd='$ac_pwd' 6590 srcdir='$srcdir' 6591 INSTALL='$INSTALL' 6592 test -n "\$AWK" || AWK=awk 6593 _ACEOF 6594 6595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6596 # The default lists apply if the user does not specify any file. 6597 ac_need_defaults=: 6598 while test $# != 0 6599 do 6600 case $1 in 6601 --*=?*) 6602 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6603 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 6604 ac_shift=: 6605 ;; 6606 --*=) 6607 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6608 ac_optarg= 6609 ac_shift=: 6610 ;; 6611 *) 6612 ac_option=$1 6613 ac_optarg=$2 6614 ac_shift=shift 6615 ;; 6616 esac 6617 6618 case $ac_option in 6619 # Handling of the options. 6620 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6621 ac_cs_recheck=: ;; 6622 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6623 $as_echo "$ac_cs_version"; exit ;; 6624 --config | --confi | --conf | --con | --co | --c ) 6625 $as_echo "$ac_cs_config"; exit ;; 6626 --debug | --debu | --deb | --de | --d | -d ) 6627 debug=: ;; 6628 --file | --fil | --fi | --f ) 6629 $ac_shift 6630 case $ac_optarg in 6631 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6632 '') as_fn_error $? "missing file argument" ;; 6633 esac 6634 as_fn_append CONFIG_FILES " '$ac_optarg'" 6635 ac_need_defaults=false;; 6636 --header | --heade | --head | --hea ) 6637 $ac_shift 6638 case $ac_optarg in 6639 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6640 esac 6641 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 6642 ac_need_defaults=false;; 6643 --he | --h) 6644 # Conflict between --help and --header 6645 as_fn_error $? "ambiguous option: \`$1' 6646 Try \`$0 --help' for more information.";; 6647 --help | --hel | -h ) 6648 $as_echo "$ac_cs_usage"; exit ;; 6649 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6650 | -silent | --silent | --silen | --sile | --sil | --si | --s) 6651 ac_cs_silent=: ;; 6652 6653 # This is an error. 6654 -*) as_fn_error $? "unrecognized option: \`$1' 6655 Try \`$0 --help' for more information." ;; 6656 6657 *) as_fn_append ac_config_targets " $1" 6658 ac_need_defaults=false ;; 6659 6660 esac 6661 shift 6662 done 6663 6664 ac_configure_extra_args= 6665 6666 if $ac_cs_silent; then 6667 exec 6>/dev/null 6668 ac_configure_extra_args="$ac_configure_extra_args --silent" 6669 fi 6670 6671 _ACEOF 6672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6673 if \$ac_cs_recheck; then 6674 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6675 shift 6676 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 6677 CONFIG_SHELL='$SHELL' 6678 export CONFIG_SHELL 6679 exec "\$@" 6680 fi 6681 6682 _ACEOF 6683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7524 6684 exec 5>>config.log 7525 6685 { … … 7528 6688 ## Running $as_me. ## 7529 6689 _ASBOX 6690 $as_echo "$ac_log" 7530 6691 } >&5 7531 cat >&5 <<_CSEOF 7532 7533 This file was extended by $as_me, which was 7534 generated by GNU Autoconf 2.59. Invocation command line was 7535 7536 CONFIG_FILES = $CONFIG_FILES 7537 CONFIG_HEADERS = $CONFIG_HEADERS 7538 CONFIG_LINKS = $CONFIG_LINKS 7539 CONFIG_COMMANDS = $CONFIG_COMMANDS 7540 $ $0 $@ 7541 7542 _CSEOF 7543 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 7544 echo >&5 7545 _ACEOF 7546 7547 # Files that config.status was made for. 7548 if test -n "$ac_config_files"; then 7549 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 7550 fi 7551 7552 if test -n "$ac_config_headers"; then 7553 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 7554 fi 7555 7556 if test -n "$ac_config_links"; then 7557 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 7558 fi 7559 7560 if test -n "$ac_config_commands"; then 7561 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 7562 fi 7563 7564 cat >>$CONFIG_STATUS <<\_ACEOF 7565 7566 ac_cs_usage="\ 7567 \`$as_me' instantiates files from templates according to the 7568 current configuration. 7569 7570 Usage: $0 [OPTIONS] [FILE]... 7571 7572 -h, --help print this help, then exit 7573 -V, --version print version number, then exit 7574 -q, --quiet do not print progress messages 7575 -d, --debug don't remove temporary files 7576 --recheck update $as_me by reconfiguring in the same conditions 7577 --file=FILE[:TEMPLATE] 7578 instantiate the configuration file FILE 7579 --header=FILE[:TEMPLATE] 7580 instantiate the configuration header FILE 7581 7582 Configuration files: 7583 $config_files 7584 7585 Configuration headers: 7586 $config_headers 7587 7588 Report bugs to <bug-autoconf@gnu.org>." 7589 _ACEOF 7590 7591 cat >>$CONFIG_STATUS <<_ACEOF 7592 ac_cs_version="\\ 7593 config.status 7594 configured by $0, generated by GNU Autoconf 2.59, 7595 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 7596 7597 Copyright (C) 2003 Free Software Foundation, Inc. 7598 This config.status script is free software; the Free Software Foundation 7599 gives unlimited permission to copy, distribute and modify it." 7600 srcdir=$srcdir 7601 INSTALL="$INSTALL" 7602 _ACEOF 7603 7604 cat >>$CONFIG_STATUS <<\_ACEOF 7605 # If no file are specified by the user, then we need to provide default 7606 # value. By we need to know if files were specified by the user. 7607 ac_need_defaults=: 7608 while test $# != 0 7609 do 7610 case $1 in 7611 --*=*) 7612 ac_option=`expr "x$1" : 'x\([^=]*\)='` 7613 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 7614 ac_shift=: 7615 ;; 7616 -*) 7617 ac_option=$1 7618 ac_optarg=$2 7619 ac_shift=shift 7620 ;; 7621 *) # This is not an option, so the user has probably given explicit 7622 # arguments. 7623 ac_option=$1 7624 ac_need_defaults=false;; 7625 esac 7626 7627 case $ac_option in 7628 # Handling of the options. 7629 _ACEOF 7630 cat >>$CONFIG_STATUS <<\_ACEOF 7631 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7632 ac_cs_recheck=: ;; 7633 --version | --vers* | -V ) 7634 echo "$ac_cs_version"; exit 0 ;; 7635 --he | --h) 7636 # Conflict between --help and --header 7637 { { echo "$as_me:$LINENO: error: ambiguous option: $1 7638 Try \`$0 --help' for more information." >&5 7639 echo "$as_me: error: ambiguous option: $1 7640 Try \`$0 --help' for more information." >&2;} 7641 { (exit 1); exit 1; }; };; 7642 --help | --hel | -h ) 7643 echo "$ac_cs_usage"; exit 0 ;; 7644 --debug | --d* | -d ) 7645 debug=: ;; 7646 --file | --fil | --fi | --f ) 7647 $ac_shift 7648 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 7649 ac_need_defaults=false;; 7650 --header | --heade | --head | --hea ) 7651 $ac_shift 7652 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 7653 ac_need_defaults=false;; 7654 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7655 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7656 ac_cs_silent=: ;; 7657 7658 # This is an error. 7659 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 7660 Try \`$0 --help' for more information." >&5 7661 echo "$as_me: error: unrecognized option: $1 7662 Try \`$0 --help' for more information." >&2;} 7663 { (exit 1); exit 1; }; } ;; 7664 7665 *) ac_config_targets="$ac_config_targets $1" ;; 7666 7667 esac 7668 shift 7669 done 7670 7671 ac_configure_extra_args= 7672 7673 if $ac_cs_silent; then 7674 exec 6>/dev/null 7675 ac_configure_extra_args="$ac_configure_extra_args --silent" 7676 fi 7677 7678 _ACEOF 7679 cat >>$CONFIG_STATUS <<_ACEOF 7680 if \$ac_cs_recheck; then 7681 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 7682 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7683 fi 7684 7685 _ACEOF 7686 7687 7688 7689 7690 7691 cat >>$CONFIG_STATUS <<\_ACEOF 6692 6693 _ACEOF 6694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6695 _ACEOF 6696 6697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6698 6699 # Handling of arguments. 7692 6700 for ac_config_target in $ac_config_targets 7693 6701 do 7694 case "$ac_config_target" in 7695 # Handling of arguments. 7696 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7697 "crypto/Makefile" ) CONFIG_FILES="$CONFIG_FILES crypto/Makefile" ;; 7698 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 7699 "crypto/include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS crypto/include/config.h:config_in.h" ;; 7700 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 7701 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 7702 { (exit 1); exit 1; }; };; 6702 case $ac_config_target in 6703 "crypto/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS crypto/include/config.h:config_in.h" ;; 6704 "libsrtp.pc") CONFIG_FILES="$CONFIG_FILES libsrtp.pc" ;; 6705 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6706 "crypto/Makefile") CONFIG_FILES="$CONFIG_FILES crypto/Makefile" ;; 6707 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 6708 6709 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7703 6710 esac 7704 6711 done 6712 7705 6713 7706 6714 # If the user did not use the arguments to specify the items to instantiate, … … 7714 6722 7715 6723 # Have a temporary directory for convenience. Make it in the build tree 7716 # simply because there is no reason to putit here, and in addition,6724 # simply because there is no reason against having it here, and in addition, 7717 6725 # creating and moving files from /tmp can sometimes cause problems. 7718 # Create a temporary directory, and hook for its removal unless debugging. 6726 # Hook for its removal unless debugging. 6727 # Note that there is a small window in which the directory will not be cleaned: 6728 # after its creation but before its name has been assigned to `$tmp'. 7719 6729 $debug || 7720 6730 { 7721 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 7722 trap '{ (exit 1); exit 1; }' 1 2 13 15 6731 tmp= ac_tmp= 6732 trap 'exit_status=$? 6733 : "${ac_tmp:=$tmp}" 6734 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 6735 ' 0 6736 trap 'as_fn_exit 1' 1 2 13 15 7723 6737 } 7724 7725 6738 # Create a (secure) tmp directory for tmp files. 7726 6739 7727 6740 { 7728 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&7729 test - n "$tmp" && test -d "$tmp"6741 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 6742 test -d "$tmp" 7730 6743 } || 7731 6744 { 7732 tmp=./confstat$$-$RANDOM 7733 (umask 077 && mkdir $tmp) 7734 } || 6745 tmp=./conf$$-$RANDOM 6746 (umask 077 && mkdir "$tmp") 6747 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 6748 ac_tmp=$tmp 6749 6750 # Set up the scripts for CONFIG_FILES section. 6751 # No need to generate them if there are no CONFIG_FILES. 6752 # This happens for instance with `./config.status config.h'. 6753 if test -n "$CONFIG_FILES"; then 6754 6755 6756 ac_cr=`echo X | tr X '\015'` 6757 # On cygwin, bash can eat \r inside `` if the user requested igncr. 6758 # But we know of no other shell where ac_cr would be empty at this 6759 # point, so we can use a bashism as a fallback. 6760 if test "x$ac_cr" = x; then 6761 eval ac_cr=\$\'\\r\' 6762 fi 6763 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 6764 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 6765 ac_cs_awk_cr='\\r' 6766 else 6767 ac_cs_awk_cr=$ac_cr 6768 fi 6769 6770 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 6771 _ACEOF 6772 6773 7735 6774 { 7736 echo "$me: cannot create a temporary directory in ." >&2 7737 { (exit 1); exit 1; } 6775 echo "cat >conf$$subs.awk <<_ACEOF" && 6776 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 6777 echo "_ACEOF" 6778 } >conf$$subs.sh || 6779 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 6780 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 6781 ac_delim='%!_!# ' 6782 for ac_last_try in false false false false false :; do 6783 . ./conf$$subs.sh || 6784 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 6785 6786 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 6787 if test $ac_delim_n = $ac_delim_num; then 6788 break 6789 elif $ac_last_try; then 6790 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 6791 else 6792 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6793 fi 6794 done 6795 rm -f conf$$subs.sh 6796 6797 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6798 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 6799 _ACEOF 6800 sed -n ' 6801 h 6802 s/^/S["/; s/!.*/"]=/ 6803 p 6804 g 6805 s/^[^!]*!// 6806 :repl 6807 t repl 6808 s/'"$ac_delim"'$// 6809 t delim 6810 :nl 6811 h 6812 s/\(.\{148\}\)..*/\1/ 6813 t more1 6814 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 6815 p 6816 n 6817 b repl 6818 :more1 6819 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6820 p 6821 g 6822 s/.\{148\}// 6823 t nl 6824 :delim 6825 h 6826 s/\(.\{148\}\)..*/\1/ 6827 t more2 6828 s/["\\]/\\&/g; s/^/"/; s/$/"/ 6829 p 6830 b 6831 :more2 6832 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6833 p 6834 g 6835 s/.\{148\}// 6836 t delim 6837 ' <conf$$subs.awk | sed ' 6838 /^[^""]/{ 6839 N 6840 s/\n// 7738 6841 } 7739 7740 _ACEOF 7741 7742 cat >>$CONFIG_STATUS <<_ACEOF 7743 7744 # 7745 # CONFIG_FILES section. 7746 # 7747 7748 # No need to generate the scripts if there are no CONFIG_FILES. 7749 # This happens for instance when ./config.status config.h 7750 if test -n "\$CONFIG_FILES"; then 7751 # Protect against being on the right side of a sed subst in config.status. 7752 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 7753 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 7754 s,@SHELL@,$SHELL,;t t 7755 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 7756 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 7757 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 7758 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 7759 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 7760 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 7761 s,@exec_prefix@,$exec_prefix,;t t 7762 s,@prefix@,$prefix,;t t 7763 s,@program_transform_name@,$program_transform_name,;t t 7764 s,@bindir@,$bindir,;t t 7765 s,@sbindir@,$sbindir,;t t 7766 s,@libexecdir@,$libexecdir,;t t 7767 s,@datadir@,$datadir,;t t 7768 s,@sysconfdir@,$sysconfdir,;t t 7769 s,@sharedstatedir@,$sharedstatedir,;t t 7770 s,@localstatedir@,$localstatedir,;t t 7771 s,@libdir@,$libdir,;t t 7772 s,@includedir@,$includedir,;t t 7773 s,@oldincludedir@,$oldincludedir,;t t 7774 s,@infodir@,$infodir,;t t 7775 s,@mandir@,$mandir,;t t 7776 s,@build_alias@,$build_alias,;t t 7777 s,@host_alias@,$host_alias,;t t 7778 s,@target_alias@,$target_alias,;t t 7779 s,@DEFS@,$DEFS,;t t 7780 s,@ECHO_C@,$ECHO_C,;t t 7781 s,@ECHO_N@,$ECHO_N,;t t 7782 s,@ECHO_T@,$ECHO_T,;t t 7783 s,@LIBS@,$LIBS,;t t 7784 s,@RANLIB@,$RANLIB,;t t 7785 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 7786 s,@CC@,$CC,;t t 7787 s,@CFLAGS@,$CFLAGS,;t t 7788 s,@LDFLAGS@,$LDFLAGS,;t t 7789 s,@CPPFLAGS@,$CPPFLAGS,;t t 7790 s,@ac_ct_CC@,$ac_ct_CC,;t t 7791 s,@EXEEXT@,$EXEEXT,;t t 7792 s,@OBJEXT@,$OBJEXT,;t t 7793 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 7794 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 7795 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 7796 s,@RNG_OBJS@,$RNG_OBJS,;t t 7797 s,@CPP@,$CPP,;t t 7798 s,@EGREP@,$EGREP,;t t 7799 s,@build@,$build,;t t 7800 s,@build_cpu@,$build_cpu,;t t 7801 s,@build_vendor@,$build_vendor,;t t 7802 s,@build_os@,$build_os,;t t 7803 s,@host@,$host,;t t 7804 s,@host_cpu@,$host_cpu,;t t 7805 s,@host_vendor@,$host_vendor,;t t 7806 s,@host_os@,$host_os,;t t 7807 s,@EXE@,$EXE,;t t 7808 s,@GDOI_OBJS@,$GDOI_OBJS,;t t 7809 s,@LIBOBJS@,$LIBOBJS,;t t 7810 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 7811 CEOF 7812 7813 _ACEOF 7814 7815 cat >>$CONFIG_STATUS <<\_ACEOF 7816 # Split the substitutions into bite-sized pieces for seds with 7817 # small command number limits, like on Digital OSF/1 and HP-UX. 7818 ac_max_sed_lines=48 7819 ac_sed_frag=1 # Number of current file. 7820 ac_beg=1 # First line for current file. 7821 ac_end=$ac_max_sed_lines # Line after last line for current file. 7822 ac_more_lines=: 7823 ac_sed_cmds= 7824 while $ac_more_lines; do 7825 if test $ac_beg -gt 1; then 7826 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 7827 else 7828 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 6842 ' >>$CONFIG_STATUS || ac_write_fail=1 6843 rm -f conf$$subs.awk 6844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6845 _ACAWK 6846 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 6847 for (key in S) S_is_set[key] = 1 6848 FS = "" 6849 6850 } 6851 { 6852 line = $ 0 6853 nfields = split(line, field, "@") 6854 substed = 0 6855 len = length(field[1]) 6856 for (i = 2; i < nfields; i++) { 6857 key = field[i] 6858 keylen = length(key) 6859 if (S_is_set[key]) { 6860 value = S[key] 6861 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 6862 len += length(value) + length(field[++i]) 6863 substed = 1 6864 } else 6865 len += 1 + keylen 6866 } 6867 6868 print line 6869 } 6870 6871 _ACAWK 6872 _ACEOF 6873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6874 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 6875 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 6876 else 6877 cat 6878 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 6879 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 6880 _ACEOF 6881 6882 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 6883 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 6884 # trailing colons and then remove the whole line if VPATH becomes empty 6885 # (actually we leave an empty line to preserve line numbers). 6886 if test "x$srcdir" = x.; then 6887 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 6888 h 6889 s/// 6890 s/^/:/ 6891 s/[ ]*$/:/ 6892 s/:\$(srcdir):/:/g 6893 s/:\${srcdir}:/:/g 6894 s/:@srcdir@:/:/g 6895 s/^:*// 6896 s/:*$// 6897 x 6898 s/\(=[ ]*\).*/\1/ 6899 G 6900 s/\n// 6901 s/^[^=]*=[ ]*$// 6902 }' 6903 fi 6904 6905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6906 fi # test -n "$CONFIG_FILES" 6907 6908 # Set up the scripts for CONFIG_HEADERS section. 6909 # No need to generate them if there are no CONFIG_HEADERS. 6910 # This happens for instance with `./config.status Makefile'. 6911 if test -n "$CONFIG_HEADERS"; then 6912 cat >"$ac_tmp/defines.awk" <<\_ACAWK || 6913 BEGIN { 6914 _ACEOF 6915 6916 # Transform confdefs.h into an awk script `defines.awk', embedded as 6917 # here-document in config.status, that substitutes the proper values into 6918 # config.h.in to produce config.h. 6919 6920 # Create a delimiter string that does not exist in confdefs.h, to ease 6921 # handling of long lines. 6922 ac_delim='%!_!# ' 6923 for ac_last_try in false false :; do 6924 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 6925 if test -z "$ac_tt"; then 6926 break 6927 elif $ac_last_try; then 6928 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 6929 else 6930 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6931 fi 6932 done 6933 6934 # For the awk script, D is an array of macro values keyed by name, 6935 # likewise P contains macro parameters if any. Preserve backslash 6936 # newline sequences. 6937 6938 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 6939 sed -n ' 6940 s/.\{148\}/&'"$ac_delim"'/g 6941 t rset 6942 :rset 6943 s/^[ ]*#[ ]*define[ ][ ]*/ / 6944 t def 6945 d 6946 :def 6947 s/\\$// 6948 t bsnl 6949 s/["\\]/\\&/g 6950 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 6951 D["\1"]=" \3"/p 6952 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 6953 d 6954 :bsnl 6955 s/["\\]/\\&/g 6956 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 6957 D["\1"]=" \3\\\\\\n"\\/p 6958 t cont 6959 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 6960 t cont 6961 d 6962 :cont 6963 n 6964 s/.\{148\}/&'"$ac_delim"'/g 6965 t clear 6966 :clear 6967 s/\\$// 6968 t bsnlc 6969 s/["\\]/\\&/g; s/^/"/; s/$/"/p 6970 d 6971 :bsnlc 6972 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 6973 b cont 6974 ' <confdefs.h | sed ' 6975 s/'"$ac_delim"'/"\\\ 6976 "/g' >>$CONFIG_STATUS || ac_write_fail=1 6977 6978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6979 for (key in D) D_is_set[key] = 1 6980 FS = "" 6981 } 6982 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 6983 line = \$ 0 6984 split(line, arg, " ") 6985 if (arg[1] == "#") { 6986 defundef = arg[2] 6987 mac1 = arg[3] 6988 } else { 6989 defundef = substr(arg[1], 2) 6990 mac1 = arg[2] 6991 } 6992 split(mac1, mac2, "(") #) 6993 macro = mac2[1] 6994 prefix = substr(line, 1, index(line, defundef) - 1) 6995 if (D_is_set[macro]) { 6996 # Preserve the white space surrounding the "#". 6997 print prefix "define", macro P[macro] D[macro] 6998 next 6999 } else { 7000 # Replace #undef with comments. This is necessary, for example, 7001 # in the case of _POSIX_SOURCE, which is predefined and required 7002 # on some systems where configure will not decide to define it. 7003 if (defundef == "undef") { 7004 print "/*", prefix defundef, macro, "*/" 7005 next 7006 } 7007 } 7008 } 7009 { print } 7010 _ACAWK 7011 _ACEOF 7012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7013 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 7014 fi # test -n "$CONFIG_HEADERS" 7015 7016 7017 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 7018 shift 7019 for ac_tag 7020 do 7021 case $ac_tag in 7022 :[FHLC]) ac_mode=$ac_tag; continue;; 7023 esac 7024 case $ac_mode$ac_tag in 7025 :[FHL]*:*);; 7026 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 7027 :[FH]-) ac_tag=-:-;; 7028 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7029 esac 7030 ac_save_IFS=$IFS 7031 IFS=: 7032 set x $ac_tag 7033 IFS=$ac_save_IFS 7034 shift 7035 ac_file=$1 7036 shift 7037 7038 case $ac_mode in 7039 :L) ac_source=$1;; 7040 :[FH]) 7041 ac_file_inputs= 7042 for ac_f 7043 do 7044 case $ac_f in 7045 -) ac_f="$ac_tmp/stdin";; 7046 *) # Look for the file first in the build tree, then in the source tree 7047 # (if the path is not absolute). The absolute path cannot be DOS-style, 7048 # because $ac_f cannot contain `:'. 7049 test -f "$ac_f" || 7050 case $ac_f in 7051 [\\/$]*) false;; 7052 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7053 esac || 7054 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7055 esac 7056 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7057 as_fn_append ac_file_inputs " '$ac_f'" 7058 done 7059 7060 # Let's still pretend it is `configure' which instantiates (i.e., don't 7061 # use $as_me), people would be surprised to read: 7062 # /* config.h. Generated by config.status. */ 7063 configure_input='Generated from '` 7064 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7065 `' by configure.' 7066 if test x"$ac_file" != x-; then 7067 configure_input="$ac_file. $configure_input" 7068 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7069 $as_echo "$as_me: creating $ac_file" >&6;} 7829 7070 fi 7830 if test ! -s $tmp/subs.frag; then 7831 ac_more_lines=false 7832 else 7833 # The purpose of the label and of the branching condition is to 7834 # speed up the sed processing (if there are no `@' at all, there 7835 # is no need to browse any of the substitutions). 7836 # These are the two extra sed commands mentioned above. 7837 (echo ':t 7838 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 7839 if test -z "$ac_sed_cmds"; then 7840 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 7841 else 7842 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 7843 fi 7844 ac_sed_frag=`expr $ac_sed_frag + 1` 7845 ac_beg=$ac_end 7846 ac_end=`expr $ac_end + $ac_max_sed_lines` 7847 fi 7848 done 7849 if test -z "$ac_sed_cmds"; then 7850 ac_sed_cmds=cat 7851 fi 7852 fi # test -n "$CONFIG_FILES" 7853 7854 _ACEOF 7855 cat >>$CONFIG_STATUS <<\_ACEOF 7856 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 7857 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 7858 case $ac_file in 7859 - | *:- | *:-:* ) # input from stdin 7860 cat >$tmp/stdin 7861 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7862 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7863 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7864 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7865 * ) ac_file_in=$ac_file.in ;; 7071 # Neutralize special characters interpreted by sed in replacement strings. 7072 case $configure_input in #( 7073 *\&* | *\|* | *\\* ) 7074 ac_sed_conf_input=`$as_echo "$configure_input" | 7075 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7076 *) ac_sed_conf_input=$configure_input;; 7077 esac 7078 7079 case $ac_tag in 7080 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 7081 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 7082 esac 7083 ;; 7866 7084 esac 7867 7085 7868 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 7869 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7086 ac_dir=`$as_dirname -- "$ac_file" || 7870 7087 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7871 7088 X"$ac_file" : 'X\(//\)[^/]' \| \ 7872 7089 X"$ac_file" : 'X\(//\)$' \| \ 7873 X"$ac_file" : 'X\(/\)' \| \ 7874 . : '\(.\)' 2>/dev/null || 7875 echo X"$ac_file" | 7876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7877 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7878 /^X\(\/\/\)$/{ s//\1/; q; } 7879 /^X\(\/\).*/{ s//\1/; q; } 7880 s/.*/./; q'` 7881 { if $as_mkdir_p; then 7882 mkdir -p "$ac_dir" 7883 else 7884 as_dir="$ac_dir" 7885 as_dirs= 7886 while test ! -d "$as_dir"; do 7887 as_dirs="$as_dir $as_dirs" 7888 as_dir=`(dirname "$as_dir") 2>/dev/null || 7889 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7890 X"$as_dir" : 'X\(//\)[^/]' \| \ 7891 X"$as_dir" : 'X\(//\)$' \| \ 7892 X"$as_dir" : 'X\(/\)' \| \ 7893 . : '\(.\)' 2>/dev/null || 7894 echo X"$as_dir" | 7895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7896 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7897 /^X\(\/\/\)$/{ s//\1/; q; } 7898 /^X\(\/\).*/{ s//\1/; q; } 7899 s/.*/./; q'` 7900 done 7901 test ! -n "$as_dirs" || mkdir $as_dirs 7902 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 7903 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 7904 { (exit 1); exit 1; }; }; } 7905 7090 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7091 $as_echo X"$ac_file" | 7092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7093 s//\1/ 7094 q 7095 } 7096 /^X\(\/\/\)[^/].*/{ 7097 s//\1/ 7098 q 7099 } 7100 /^X\(\/\/\)$/{ 7101 s//\1/ 7102 q 7103 } 7104 /^X\(\/\).*/{ 7105 s//\1/ 7106 q 7107 } 7108 s/.*/./; q'` 7109 as_dir="$ac_dir"; as_fn_mkdir_p 7906 7110 ac_builddir=. 7907 7111 7908 if test "$ac_dir" != .; then 7909 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 7910 # A "../" for each directory in $ac_dir_suffix. 7911 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 7912 else 7913 ac_dir_suffix= ac_top_builddir= 7914 fi 7112 case "$ac_dir" in 7113 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7114 *) 7115 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7116 # A ".." for each directory in $ac_dir_suffix. 7117 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7118 case $ac_top_builddir_sub in 7119 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7120 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7121 esac ;; 7122 esac 7123 ac_abs_top_builddir=$ac_pwd 7124 ac_abs_builddir=$ac_pwd$ac_dir_suffix 7125 # for backward compatibility: 7126 ac_top_builddir=$ac_top_build_prefix 7915 7127 7916 7128 case $srcdir in 7917 .) # No --srcdir option.We are building in place.7129 .) # We are building in place. 7918 7130 ac_srcdir=. 7919 if test -z "$ac_top_builddir"; then 7920 ac_top_srcdir=. 7921 else 7922 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 7923 fi ;; 7924 [\\/]* | ?:[\\/]* ) # Absolute path. 7131 ac_top_srcdir=$ac_top_builddir_sub 7132 ac_abs_top_srcdir=$ac_pwd ;; 7133 [\\/]* | ?:[\\/]* ) # Absolute name. 7925 7134 ac_srcdir=$srcdir$ac_dir_suffix; 7926 ac_top_srcdir=$srcdir ;; 7927 *) # Relative path. 7928 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 7929 ac_top_srcdir=$ac_top_builddir$srcdir ;; 7135 ac_top_srcdir=$srcdir 7136 ac_abs_top_srcdir=$srcdir ;; 7137 *) # Relative name. 7138 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7139 ac_top_srcdir=$ac_top_build_prefix$srcdir 7140 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7930 7141 esac 7931 7932 # Do not use `cd foo && pwd` to compute absolute paths, because 7933 # the directories may not exist. 7934 case `pwd` in 7935 .) ac_abs_builddir="$ac_dir";; 7936 *) 7937 case "$ac_dir" in 7938 .) ac_abs_builddir=`pwd`;; 7939 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 7940 *) ac_abs_builddir=`pwd`/"$ac_dir";; 7941 esac;; 7942 esac 7943 case $ac_abs_builddir in 7944 .) ac_abs_top_builddir=${ac_top_builddir}.;; 7945 *) 7946 case ${ac_top_builddir}. in 7947 .) ac_abs_top_builddir=$ac_abs_builddir;; 7948 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 7949 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 7950 esac;; 7951 esac 7952 case $ac_abs_builddir in 7953 .) ac_abs_srcdir=$ac_srcdir;; 7954 *) 7955 case $ac_srcdir in 7956 .) ac_abs_srcdir=$ac_abs_builddir;; 7957 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 7958 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 7959 esac;; 7960 esac 7961 case $ac_abs_builddir in 7962 .) ac_abs_top_srcdir=$ac_top_srcdir;; 7963 *) 7964 case $ac_top_srcdir in 7965 .) ac_abs_top_srcdir=$ac_abs_builddir;; 7966 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 7967 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 7968 esac;; 7969 esac 7970 7142 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7143 7144 7145 case $ac_mode in 7146 :F) 7147 # 7148 # CONFIG_FILE 7149 # 7971 7150 7972 7151 case $INSTALL in 7973 7152 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7974 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;7153 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 7975 7154 esac 7976 7977 if test x"$ac_file" != x-; then 7978 { echo "$as_me:$LINENO: creating $ac_file" >&5 7979 echo "$as_me: creating $ac_file" >&6;} 7980 rm -f "$ac_file" 7981 fi 7982 # Let's still pretend it is `configure' which instantiates (i.e., don't 7983 # use $as_me), people would be surprised to read: 7984 # /* config.h. Generated by config.status. */ 7985 if test x"$ac_file" = x-; then 7986 configure_input= 7987 else 7988 configure_input="$ac_file. " 7989 fi 7990 configure_input=$configure_input"Generated from `echo $ac_file_in | 7991 sed 's,.*/,,'` by configure." 7992 7993 # First look for the input files in the build tree, otherwise in the 7994 # src tree. 7995 ac_file_inputs=`IFS=: 7996 for f in $ac_file_in; do 7997 case $f in 7998 -) echo $tmp/stdin ;; 7999 [\\/$]*) 8000 # Absolute (can't be DOS-style, as IFS=:) 8001 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8002 echo "$as_me: error: cannot find input file: $f" >&2;} 8003 { (exit 1); exit 1; }; } 8004 echo "$f";; 8005 *) # Relative 8006 if test -f "$f"; then 8007 # Build tree 8008 echo "$f" 8009 elif test -f "$srcdir/$f"; then 8010 # Source tree 8011 echo "$srcdir/$f" 8012 else 8013 # /dev/null tree 8014 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8015 echo "$as_me: error: cannot find input file: $f" >&2;} 8016 { (exit 1); exit 1; }; } 8017 fi;; 8018 esac 8019 done` || { (exit 1); exit 1; } 8020 _ACEOF 8021 cat >>$CONFIG_STATUS <<_ACEOF 8022 sed "$ac_vpsub 7155 _ACEOF 7156 7157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7158 # If the template does not know about datarootdir, expand it. 7159 # FIXME: This hack should be removed a few years after 2.60. 7160 ac_datarootdir_hack=; ac_datarootdir_seen= 7161 ac_sed_dataroot=' 7162 /datarootdir/ { 7163 p 7164 q 7165 } 7166 /@datadir@/p 7167 /@docdir@/p 7168 /@infodir@/p 7169 /@localedir@/p 7170 /@mandir@/p' 7171 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7172 *datarootdir*) ac_datarootdir_seen=yes;; 7173 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7175 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7176 _ACEOF 7177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7178 ac_datarootdir_hack=' 7179 s&@datadir@&$datadir&g 7180 s&@docdir@&$docdir&g 7181 s&@infodir@&$infodir&g 7182 s&@localedir@&$localedir&g 7183 s&@mandir@&$mandir&g 7184 s&\\\${datarootdir}&$datarootdir&g' ;; 7185 esac 7186 _ACEOF 7187 7188 # Neutralize VPATH when `$srcdir' = `.'. 7189 # Shell code in configure.ac might set extrasub. 7190 # FIXME: do we really want to maintain this feature? 7191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7192 ac_sed_extra="$ac_vpsub 8023 7193 $extrasub 8024 7194 _ACEOF 8025 cat >>$CONFIG_STATUS <<\_ACEOF 7195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8026 7196 :t 8027 7197 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8028 s,@configure_input@,$configure_input,;t t 8029 s,@srcdir@,$ac_srcdir,;t t 8030 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8031 s,@top_srcdir@,$ac_top_srcdir,;t t 8032 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8033 s,@builddir@,$ac_builddir,;t t 8034 s,@abs_builddir@,$ac_abs_builddir,;t t 8035 s,@top_builddir@,$ac_top_builddir,;t t 8036 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8037 s,@INSTALL@,$ac_INSTALL,;t t 8038 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8039 rm -f $tmp/stdin 7198 s|@configure_input@|$ac_sed_conf_input|;t t 7199 s&@top_builddir@&$ac_top_builddir_sub&;t t 7200 s&@top_build_prefix@&$ac_top_build_prefix&;t t 7201 s&@srcdir@&$ac_srcdir&;t t 7202 s&@abs_srcdir@&$ac_abs_srcdir&;t t 7203 s&@top_srcdir@&$ac_top_srcdir&;t t 7204 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7205 s&@builddir@&$ac_builddir&;t t 7206 s&@abs_builddir@&$ac_abs_builddir&;t t 7207 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7208 s&@INSTALL@&$ac_INSTALL&;t t 7209 $ac_datarootdir_hack 7210 " 7211 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 7212 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7213 7214 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7215 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 7216 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 7217 "$ac_tmp/out"`; test -z "$ac_out"; } && 7218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7219 which seems to be undefined. Please make sure it is defined" >&5 7220 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7221 which seems to be undefined. Please make sure it is defined" >&2;} 7222 7223 rm -f "$ac_tmp/stdin" 7224 case $ac_file in 7225 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 7226 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 7227 esac \ 7228 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7229 ;; 7230 :H) 7231 # 7232 # CONFIG_HEADER 7233 # 8040 7234 if test x"$ac_file" != x-; then 8041 mv $tmp/out $ac_file 8042 else 8043 cat $tmp/out 8044 rm -f $tmp/out 8045 fi 8046 8047 done 8048 _ACEOF 8049 cat >>$CONFIG_STATUS <<\_ACEOF 8050 8051 # 8052 # CONFIG_HEADER section. 8053 # 8054 8055 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8056 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8057 # 8058 # ac_d sets the value in "#define NAME VALUE" lines. 8059 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8060 ac_dB='[ ].*$,\1#\2' 8061 ac_dC=' ' 8062 ac_dD=',;t' 8063 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8064 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8065 ac_uB='$,\1#\2define\3' 8066 ac_uC=' ' 8067 ac_uD=',;t' 8068 8069 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8070 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8071 case $ac_file in 8072 - | *:- | *:-:* ) # input from stdin 8073 cat >$tmp/stdin 8074 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8075 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8076 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8077 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8078 * ) ac_file_in=$ac_file.in ;; 8079 esac 8080 8081 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8082 echo "$as_me: creating $ac_file" >&6;} 8083 8084 # First look for the input files in the build tree, otherwise in the 8085 # src tree. 8086 ac_file_inputs=`IFS=: 8087 for f in $ac_file_in; do 8088 case $f in 8089 -) echo $tmp/stdin ;; 8090 [\\/$]*) 8091 # Absolute (can't be DOS-style, as IFS=:) 8092 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8093 echo "$as_me: error: cannot find input file: $f" >&2;} 8094 { (exit 1); exit 1; }; } 8095 # Do quote $f, to prevent DOS paths from being IFS'd. 8096 echo "$f";; 8097 *) # Relative 8098 if test -f "$f"; then 8099 # Build tree 8100 echo "$f" 8101 elif test -f "$srcdir/$f"; then 8102 # Source tree 8103 echo "$srcdir/$f" 8104 else 8105 # /dev/null tree 8106 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8107 echo "$as_me: error: cannot find input file: $f" >&2;} 8108 { (exit 1); exit 1; }; } 8109 fi;; 8110 esac 8111 done` || { (exit 1); exit 1; } 8112 # Remove the trailing spaces. 8113 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 8114 8115 _ACEOF 8116 8117 # Transform confdefs.h into two sed scripts, `conftest.defines' and 8118 # `conftest.undefs', that substitutes the proper values into 8119 # config.h.in to produce config.h. The first handles `#define' 8120 # templates, and the second `#undef' templates. 8121 # And first: Protect against being on the right side of a sed subst in 8122 # config.status. Protect against being in an unquoted here document 8123 # in config.status. 8124 rm -f conftest.defines conftest.undefs 8125 # Using a here document instead of a string reduces the quoting nightmare. 8126 # Putting comments in sed scripts is not portable. 8127 # 8128 # `end' is used to avoid that the second main sed command (meant for 8129 # 0-ary CPP macros) applies to n-ary macro definitions. 8130 # See the Autoconf documentation for `clear'. 8131 cat >confdef2sed.sed <<\_ACEOF 8132 s/[\\&,]/\\&/g 8133 s,[\\$`],\\&,g 8134 t clear 8135 : clear 8136 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 8137 t end 8138 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 8139 : end 8140 _ACEOF 8141 # If some macros were called several times there might be several times 8142 # the same #defines, which is useless. Nevertheless, we may not want to 8143 # sort them, since we want the *last* AC-DEFINE to be honored. 8144 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 8145 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 8146 rm -f confdef2sed.sed 8147 8148 # This sed command replaces #undef with comments. This is necessary, for 8149 # example, in the case of _POSIX_SOURCE, which is predefined and required 8150 # on some systems where configure will not decide to define it. 8151 cat >>conftest.undefs <<\_ACEOF 8152 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 8153 _ACEOF 8154 8155 # Break up conftest.defines because some shells have a limit on the size 8156 # of here documents, and old seds have small limits too (100 cmds). 8157 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 8158 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 8159 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 8160 echo ' :' >>$CONFIG_STATUS 8161 rm -f conftest.tail 8162 while grep . conftest.defines >/dev/null 8163 do 8164 # Write a limited-size here document to $tmp/defines.sed. 8165 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 8166 # Speed up: don't consider the non `#define' lines. 8167 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 8168 # Work around the forget-to-reset-the-flag bug. 8169 echo 't clr' >>$CONFIG_STATUS 8170 echo ': clr' >>$CONFIG_STATUS 8171 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 8172 echo 'CEOF 8173 sed -f $tmp/defines.sed $tmp/in >$tmp/out 8174 rm -f $tmp/in 8175 mv $tmp/out $tmp/in 8176 ' >>$CONFIG_STATUS 8177 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 8178 rm -f conftest.defines 8179 mv conftest.tail conftest.defines 8180 done 8181 rm -f conftest.defines 8182 echo ' fi # grep' >>$CONFIG_STATUS 8183 echo >>$CONFIG_STATUS 8184 8185 # Break up conftest.undefs because some shells have a limit on the size 8186 # of here documents, and old seds have small limits too (100 cmds). 8187 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 8188 rm -f conftest.tail 8189 while grep . conftest.undefs >/dev/null 8190 do 8191 # Write a limited-size here document to $tmp/undefs.sed. 8192 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 8193 # Speed up: don't consider the non `#undef' 8194 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 8195 # Work around the forget-to-reset-the-flag bug. 8196 echo 't clr' >>$CONFIG_STATUS 8197 echo ': clr' >>$CONFIG_STATUS 8198 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 8199 echo 'CEOF 8200 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 8201 rm -f $tmp/in 8202 mv $tmp/out $tmp/in 8203 ' >>$CONFIG_STATUS 8204 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 8205 rm -f conftest.undefs 8206 mv conftest.tail conftest.undefs 8207 done 8208 rm -f conftest.undefs 8209 8210 cat >>$CONFIG_STATUS <<\_ACEOF 8211 # Let's still pretend it is `configure' which instantiates (i.e., don't 8212 # use $as_me), people would be surprised to read: 8213 # /* config.h. Generated by config.status. */ 8214 if test x"$ac_file" = x-; then 8215 echo "/* Generated by configure. */" >$tmp/config.h 8216 else 8217 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 8218 fi 8219 cat $tmp/in >>$tmp/config.h 8220 rm -f $tmp/in 8221 if test x"$ac_file" != x-; then 8222 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 8223 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 8224 echo "$as_me: $ac_file is unchanged" >&6;} 7235 { 7236 $as_echo "/* $configure_input */" \ 7237 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 7238 } >"$ac_tmp/config.h" \ 7239 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7240 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 7241 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7242 $as_echo "$as_me: $ac_file is unchanged" >&6;} 8225 7243 else 8226 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8227 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8228 X"$ac_file" : 'X\(//\)[^/]' \| \ 8229 X"$ac_file" : 'X\(//\)$' \| \ 8230 X"$ac_file" : 'X\(/\)' \| \ 8231 . : '\(.\)' 2>/dev/null || 8232 echo X"$ac_file" | 8233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8234 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8235 /^X\(\/\/\)$/{ s//\1/; q; } 8236 /^X\(\/\).*/{ s//\1/; q; } 8237 s/.*/./; q'` 8238 { if $as_mkdir_p; then 8239 mkdir -p "$ac_dir" 8240 else 8241 as_dir="$ac_dir" 8242 as_dirs= 8243 while test ! -d "$as_dir"; do 8244 as_dirs="$as_dir $as_dirs" 8245 as_dir=`(dirname "$as_dir") 2>/dev/null || 8246 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8247 X"$as_dir" : 'X\(//\)[^/]' \| \ 8248 X"$as_dir" : 'X\(//\)$' \| \ 8249 X"$as_dir" : 'X\(/\)' \| \ 8250 . : '\(.\)' 2>/dev/null || 8251 echo X"$as_dir" | 8252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8253 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8254 /^X\(\/\/\)$/{ s//\1/; q; } 8255 /^X\(\/\).*/{ s//\1/; q; } 8256 s/.*/./; q'` 8257 done 8258 test ! -n "$as_dirs" || mkdir $as_dirs 8259 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8260 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8261 { (exit 1); exit 1; }; }; } 8262 8263 rm -f $ac_file 8264 mv $tmp/config.h $ac_file 7244 rm -f "$ac_file" 7245 mv "$ac_tmp/config.h" "$ac_file" \ 7246 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8265 7247 fi 8266 7248 else 8267 cat $tmp/config.h 8268 rm -f $tmp/config.h 7249 $as_echo "/* $configure_input */" \ 7250 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 7251 || as_fn_error $? "could not create -" "$LINENO" 5 8269 7252 fi 8270 done 8271 _ACEOF 8272 8273 cat >>$CONFIG_STATUS <<\_ACEOF 8274 8275 { (exit 0); exit 0; } 8276 _ACEOF 8277 chmod +x $CONFIG_STATUS 7253 ;; 7254 7255 7256 esac 7257 7258 done # for ac_tag 7259 7260 7261 as_fn_exit 0 7262 _ACEOF 8278 7263 ac_clean_files=$ac_clean_files_save 7264 7265 test $ac_write_fail = 0 || 7266 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 8279 7267 8280 7268 … … 8297 7285 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8298 7286 # would make configure fail if this is the last instruction. 8299 $ac_cs_success || { (exit 1); exit 1; } 7287 $ac_cs_success || as_fn_exit 1 7288 fi 7289 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7291 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8300 7292 fi 8301 7293 8302 7294 8303 7295 # This is needed when building outside the source dir. 8304 { if $as_mkdir_p; then 8305 mkdir -p crypto/ae_xfm 8306 else 8307 as_dir=crypto/ae_xfm 8308 as_dirs= 8309 while test ! -d "$as_dir"; do 8310 as_dirs="$as_dir $as_dirs" 8311 as_dir=`(dirname "$as_dir") 2>/dev/null || 8312 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8313 X"$as_dir" : 'X\(//\)[^/]' \| \ 8314 X"$as_dir" : 'X\(//\)$' \| \ 8315 X"$as_dir" : 'X\(/\)' \| \ 8316 . : '\(.\)' 2>/dev/null || 8317 echo X"$as_dir" | 8318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8319 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8320 /^X\(\/\/\)$/{ s//\1/; q; } 8321 /^X\(\/\).*/{ s//\1/; q; } 8322 s/.*/./; q'` 8323 done 8324 test ! -n "$as_dirs" || mkdir $as_dirs 8325 fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/ae_xfm" >&5 8326 echo "$as_me: error: cannot create directory crypto/ae_xfm" >&2;} 8327 { (exit 1); exit 1; }; }; } 8328 8329 { if $as_mkdir_p; then 8330 mkdir -p crypto/cipher 8331 else 8332 as_dir=crypto/cipher 8333 as_dirs= 8334 while test ! -d "$as_dir"; do 8335 as_dirs="$as_dir $as_dirs" 8336 as_dir=`(dirname "$as_dir") 2>/dev/null || 8337 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8338 X"$as_dir" : 'X\(//\)[^/]' \| \ 8339 X"$as_dir" : 'X\(//\)$' \| \ 8340 X"$as_dir" : 'X\(/\)' \| \ 8341 . : '\(.\)' 2>/dev/null || 8342 echo X"$as_dir" | 8343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8344 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8345 /^X\(\/\/\)$/{ s//\1/; q; } 8346 /^X\(\/\).*/{ s//\1/; q; } 8347 s/.*/./; q'` 8348 done 8349 test ! -n "$as_dirs" || mkdir $as_dirs 8350 fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/cipher" >&5 8351 echo "$as_me: error: cannot create directory crypto/cipher" >&2;} 8352 { (exit 1); exit 1; }; }; } 8353 8354 { if $as_mkdir_p; then 8355 mkdir -p crypto/hash 8356 else 8357 as_dir=crypto/hash 8358 as_dirs= 8359 while test ! -d "$as_dir"; do 8360 as_dirs="$as_dir $as_dirs" 8361 as_dir=`(dirname "$as_dir") 2>/dev/null || 8362 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8363 X"$as_dir" : 'X\(//\)[^/]' \| \ 8364 X"$as_dir" : 'X\(//\)$' \| \ 8365 X"$as_dir" : 'X\(/\)' \| \ 8366 . : '\(.\)' 2>/dev/null || 8367 echo X"$as_dir" | 8368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8369 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8370 /^X\(\/\/\)$/{ s//\1/; q; } 8371 /^X\(\/\).*/{ s//\1/; q; } 8372 s/.*/./; q'` 8373 done 8374 test ! -n "$as_dirs" || mkdir $as_dirs 8375 fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/hash" >&5 8376 echo "$as_me: error: cannot create directory crypto/hash" >&2;} 8377 { (exit 1); exit 1; }; }; } 8378 8379 { if $as_mkdir_p; then 8380 mkdir -p crypto/kernel 8381 else 8382 as_dir=crypto/kernel 8383 as_dirs= 8384 while test ! -d "$as_dir"; do 8385 as_dirs="$as_dir $as_dirs" 8386 as_dir=`(dirname "$as_dir") 2>/dev/null || 8387 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8388 X"$as_dir" : 'X\(//\)[^/]' \| \ 8389 X"$as_dir" : 'X\(//\)$' \| \ 8390 X"$as_dir" : 'X\(/\)' \| \ 8391 . : '\(.\)' 2>/dev/null || 8392 echo X"$as_dir" | 8393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8394 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8395 /^X\(\/\/\)$/{ s//\1/; q; } 8396 /^X\(\/\).*/{ s//\1/; q; } 8397 s/.*/./; q'` 8398 done 8399 test ! -n "$as_dirs" || mkdir $as_dirs 8400 fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/kernel" >&5 8401 echo "$as_me: error: cannot create directory crypto/kernel" >&2;} 8402 { (exit 1); exit 1; }; }; } 8403 8404 { if $as_mkdir_p; then 8405 mkdir -p crypto/math 8406 else 8407 as_dir=crypto/math 8408 as_dirs= 8409 while test ! -d "$as_dir"; do 8410 as_dirs="$as_dir $as_dirs" 8411 as_dir=`(dirname "$as_dir") 2>/dev/null || 8412 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8413 X"$as_dir" : 'X\(//\)[^/]' \| \ 8414 X"$as_dir" : 'X\(//\)$' \| \ 8415 X"$as_dir" : 'X\(/\)' \| \ 8416 . : '\(.\)' 2>/dev/null || 8417 echo X"$as_dir" | 8418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8419 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8420 /^X\(\/\/\)$/{ s//\1/; q; } 8421 /^X\(\/\).*/{ s//\1/; q; } 8422 s/.*/./; q'` 8423 done 8424 test ! -n "$as_dirs" || mkdir $as_dirs 8425 fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/math" >&5 8426 echo "$as_me: error: cannot create directory crypto/math" >&2;} 8427 { (exit 1); exit 1; }; }; } 8428 8429 { if $as_mkdir_p; then 8430 mkdir -p crypto/replay 8431 else 8432 as_dir=crypto/replay 8433 as_dirs= 8434 while test ! -d "$as_dir"; do 8435 as_dirs="$as_dir $as_dirs" 8436 as_dir=`(dirname "$as_dir") 2>/dev/null || 8437 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8438 X"$as_dir" : 'X\(//\)[^/]' \| \ 8439 X"$as_dir" : 'X\(//\)$' \| \ 8440 X"$as_dir" : 'X\(/\)' \| \ 8441 . : '\(.\)' 2>/dev/null || 8442 echo X"$as_dir" | 8443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8444 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8445 /^X\(\/\/\)$/{ s//\1/; q; } 8446 /^X\(\/\).*/{ s//\1/; q; } 8447 s/.*/./; q'` 8448 done 8449 test ! -n "$as_dirs" || mkdir $as_dirs 8450 fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/replay" >&5 8451 echo "$as_me: error: cannot create directory crypto/replay" >&2;} 8452 { (exit 1); exit 1; }; }; } 8453 8454 { if $as_mkdir_p; then 8455 mkdir -p crypto/rng 8456 else 8457 as_dir=crypto/rng 8458 as_dirs= 8459 while test ! -d "$as_dir"; do 8460 as_dirs="$as_dir $as_dirs" 8461 as_dir=`(dirname "$as_dir") 2>/dev/null || 8462 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8463 X"$as_dir" : 'X\(//\)[^/]' \| \ 8464 X"$as_dir" : 'X\(//\)$' \| \ 8465 X"$as_dir" : 'X\(/\)' \| \ 8466 . : '\(.\)' 2>/dev/null || 8467 echo X"$as_dir" | 8468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8469 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8470 /^X\(\/\/\)$/{ s//\1/; q; } 8471 /^X\(\/\).*/{ s//\1/; q; } 8472 s/.*/./; q'` 8473 done 8474 test ! -n "$as_dirs" || mkdir $as_dirs 8475 fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/rng" >&5 8476 echo "$as_me: error: cannot create directory crypto/rng" >&2;} 8477 { (exit 1); exit 1; }; }; } 8478 8479 { if $as_mkdir_p; then 8480 mkdir -p crypto/test 8481 else 8482 as_dir=crypto/test 8483 as_dirs= 8484 while test ! -d "$as_dir"; do 8485 as_dirs="$as_dir $as_dirs" 8486 as_dir=`(dirname "$as_dir") 2>/dev/null || 8487 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8488 X"$as_dir" : 'X\(//\)[^/]' \| \ 8489 X"$as_dir" : 'X\(//\)$' \| \ 8490 X"$as_dir" : 'X\(/\)' \| \ 8491 . : '\(.\)' 2>/dev/null || 8492 echo X"$as_dir" | 8493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8494 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8495 /^X\(\/\/\)$/{ s//\1/; q; } 8496 /^X\(\/\).*/{ s//\1/; q; } 8497 s/.*/./; q'` 8498 done 8499 test ! -n "$as_dirs" || mkdir $as_dirs 8500 fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/test" >&5 8501 echo "$as_me: error: cannot create directory crypto/test" >&2;} 8502 { (exit 1); exit 1; }; }; } 8503 8504 { if $as_mkdir_p; then 8505 mkdir -p doc 8506 else 8507 as_dir=doc 8508 as_dirs= 8509 while test ! -d "$as_dir"; do 8510 as_dirs="$as_dir $as_dirs" 8511 as_dir=`(dirname "$as_dir") 2>/dev/null || 8512 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8513 X"$as_dir" : 'X\(//\)[^/]' \| \ 8514 X"$as_dir" : 'X\(//\)$' \| \ 8515 X"$as_dir" : 'X\(/\)' \| \ 8516 . : '\(.\)' 2>/dev/null || 8517 echo X"$as_dir" | 8518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8519 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8520 /^X\(\/\/\)$/{ s//\1/; q; } 8521 /^X\(\/\).*/{ s//\1/; q; } 8522 s/.*/./; q'` 8523 done 8524 test ! -n "$as_dirs" || mkdir $as_dirs 8525 fi || { { echo "$as_me:$LINENO: error: cannot create directory doc" >&5 8526 echo "$as_me: error: cannot create directory doc" >&2;} 8527 { (exit 1); exit 1; }; }; } 8528 8529 { if $as_mkdir_p; then 8530 mkdir -p srtp 8531 else 8532 as_dir=srtp 8533 as_dirs= 8534 while test ! -d "$as_dir"; do 8535 as_dirs="$as_dir $as_dirs" 8536 as_dir=`(dirname "$as_dir") 2>/dev/null || 8537 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8538 X"$as_dir" : 'X\(//\)[^/]' \| \ 8539 X"$as_dir" : 'X\(//\)$' \| \ 8540 X"$as_dir" : 'X\(/\)' \| \ 8541 . : '\(.\)' 2>/dev/null || 8542 echo X"$as_dir" | 8543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8544 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8545 /^X\(\/\/\)$/{ s//\1/; q; } 8546 /^X\(\/\).*/{ s//\1/; q; } 8547 s/.*/./; q'` 8548 done 8549 test ! -n "$as_dirs" || mkdir $as_dirs 8550 fi || { { echo "$as_me:$LINENO: error: cannot create directory srtp" >&5 8551 echo "$as_me: error: cannot create directory srtp" >&2;} 8552 { (exit 1); exit 1; }; }; } 8553 8554 { if $as_mkdir_p; then 8555 mkdir -p tables 8556 else 8557 as_dir=tables 8558 as_dirs= 8559 while test ! -d "$as_dir"; do 8560 as_dirs="$as_dir $as_dirs" 8561 as_dir=`(dirname "$as_dir") 2>/dev/null || 8562 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8563 X"$as_dir" : 'X\(//\)[^/]' \| \ 8564 X"$as_dir" : 'X\(//\)$' \| \ 8565 X"$as_dir" : 'X\(/\)' \| \ 8566 . : '\(.\)' 2>/dev/null || 8567 echo X"$as_dir" | 8568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8569 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8570 /^X\(\/\/\)$/{ s//\1/; q; } 8571 /^X\(\/\).*/{ s//\1/; q; } 8572 s/.*/./; q'` 8573 done 8574 test ! -n "$as_dirs" || mkdir $as_dirs 8575 fi || { { echo "$as_me:$LINENO: error: cannot create directory tables" >&5 8576 echo "$as_me: error: cannot create directory tables" >&2;} 8577 { (exit 1); exit 1; }; }; } 8578 8579 { if $as_mkdir_p; then 8580 mkdir -p test 8581 else 8582 as_dir=test 8583 as_dirs= 8584 while test ! -d "$as_dir"; do 8585 as_dirs="$as_dir $as_dirs" 8586 as_dir=`(dirname "$as_dir") 2>/dev/null || 8587 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8588 X"$as_dir" : 'X\(//\)[^/]' \| \ 8589 X"$as_dir" : 'X\(//\)$' \| \ 8590 X"$as_dir" : 'X\(/\)' \| \ 8591 . : '\(.\)' 2>/dev/null || 8592 echo X"$as_dir" | 8593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8594 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8595 /^X\(\/\/\)$/{ s//\1/; q; } 8596 /^X\(\/\).*/{ s//\1/; q; } 8597 s/.*/./; q'` 8598 done 8599 test ! -n "$as_dirs" || mkdir $as_dirs 8600 fi || { { echo "$as_me:$LINENO: error: cannot create directory test" >&5 8601 echo "$as_me: error: cannot create directory test" >&2;} 8602 { (exit 1); exit 1; }; }; } 8603 7296 as_dir=crypto/ae_xfm; as_fn_mkdir_p 7297 as_dir=crypto/cipher; as_fn_mkdir_p 7298 as_dir=crypto/hash; as_fn_mkdir_p 7299 as_dir=crypto/kernel; as_fn_mkdir_p 7300 as_dir=crypto/math; as_fn_mkdir_p 7301 as_dir=crypto/replay; as_fn_mkdir_p 7302 as_dir=crypto/rng; as_fn_mkdir_p 7303 as_dir=crypto/test; as_fn_mkdir_p 7304 as_dir=doc; as_fn_mkdir_p 7305 as_dir=srtp; as_fn_mkdir_p 7306 as_dir=tables; as_fn_mkdir_p 7307 as_dir=test; as_fn_mkdir_p
Note: See TracChangeset
for help on using the changeset viewer.