1#! /bin/sh
| 1#! /bin/sh
|
2# From configure.in Revision: 1.120.2.7 .
| 2# From configure.in Revision: 1.120.2.13 .
|
3# Guess values for system-dependent variables and create Makefiles.
| 3# Guess values for system-dependent variables and create Makefiles.
|
4# Generated by GNU Autoconf 2.57.
| 4# Generated by GNU Autoconf 2.61.
|
5#
| 5#
|
6# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 7# Free Software Foundation, Inc.
| 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
8# This configure script is free software; the Free Software Foundation 9# gives unlimited permission to copy, distribute and modify it. 10## --------------------- ## 11## M4sh Initialization. ## 12## --------------------- ## 13
| 8# This configure script is free software; the Free Software Foundation 9# gives unlimited permission to copy, distribute and modify it. 10## --------------------- ## 11## M4sh Initialization. ## 12## --------------------- ## 13
|
14# Be Bourne compatible
| 14# Be more Bourne compatible 15DUALCASE=1; export DUALCASE # for MKS sh
|
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 emulate sh 17 NULLCMD=: 18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 19 # is contrary to our usage. Disable this feature. 20 alias -g '${1+"$@"}'='"$@"'
| 16if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17 emulate sh 18 NULLCMD=: 19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 20 # is contrary to our usage. Disable this feature. 21 alias -g '${1+"$@"}'='"$@"'
|
21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 22 set -o posix
| 22 setopt NO_GLOB_SUBST 23else 24 case `(set -o) 2>/dev/null` in 25 *posix*) set -o posix ;; 26esac 27
|
23fi 24
| 28fi 29
|
| 30 31 32 33# PATH needs CR 34# Avoid depending upon Character Ranges. 35as_cr_letters='abcdefghijklmnopqrstuvwxyz' 36as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 37as_cr_Letters=$as_cr_letters$as_cr_LETTERS 38as_cr_digits='0123456789' 39as_cr_alnum=$as_cr_Letters$as_cr_digits 40 41# The user is always right. 42if test "${PATH_SEPARATOR+set}" != set; then 43 echo "#! /bin/sh" >conf$$.sh 44 echo "exit 0" >>conf$$.sh 45 chmod +x conf$$.sh 46 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 47 PATH_SEPARATOR=';' 48 else 49 PATH_SEPARATOR=: 50 fi 51 rm -f conf$$.sh 52fi 53
|
25# Support unset when possible.
| 54# Support unset when possible.
|
26if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
| 55if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
27 as_unset=unset 28else 29 as_unset=false 30fi 31 32
| 56 as_unset=unset 57else 58 as_unset=false 59fi 60 61
|
| 62# IFS 63# We need space, tab and new line, in precisely that order. Quoting is 64# there to prevent editors from complaining about space-tab. 65# (If _AS_PATH_WALK were called with IFS unset, it would disable word 66# splitting by setting IFS to empty value.) 67as_nl=' 68' 69IFS=" "" $as_nl" 70 71# Find who we are. Look in the path if we contain no directory separator. 72case $0 in 73 *[\\/]* ) as_myself=$0 ;; 74 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 75for as_dir in $PATH 76do 77 IFS=$as_save_IFS 78 test -z "$as_dir" && as_dir=. 79 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 80done 81IFS=$as_save_IFS 82 83 ;; 84esac 85# We did not find ourselves, most probably we were run as `sh COMMAND' 86# in which case we are not to be found in the path. 87if test "x$as_myself" = x; then 88 as_myself=$0 89fi 90if test ! -f "$as_myself"; then 91 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 92 { (exit 1); exit 1; } 93fi 94
|
33# Work around bugs in pre-3.0 UWIN ksh.
| 95# Work around bugs in pre-3.0 UWIN ksh.
|
34$as_unset ENV MAIL MAILPATH
| 96for as_var in ENV MAIL MAILPATH 97do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 98done
|
35PS1='$ ' 36PS2='> ' 37PS4='+ ' 38 39# NLS nuisances. 40for as_var in \ 41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 43 LC_TELEPHONE LC_TIME 44do
| 99PS1='$ ' 100PS2='> ' 101PS4='+ ' 102 103# NLS nuisances. 104for as_var in \ 105 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 106 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 107 LC_TELEPHONE LC_TIME 108do
|
45 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
| 109 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
46 eval $as_var=C; export $as_var 47 else
| 110 eval $as_var=C; export $as_var 111 else
|
48 $as_unset $as_var
| 112 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
49 fi 50done 51 52# Required to use basename.
| 113 fi 114done 115 116# Required to use basename.
|
53if expr a : '\(a\)' >/dev/null 2>&1; then
| 117if expr a : '\(a\)' >/dev/null 2>&1 && 118 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
54 as_expr=expr 55else 56 as_expr=false 57fi 58
| 119 as_expr=expr 120else 121 as_expr=false 122fi 123
|
59if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
| 124if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
60 as_basename=basename 61else 62 as_basename=false 63fi 64 65 66# Name of the executable.
| 125 as_basename=basename 126else 127 as_basename=false 128fi 129 130 131# Name of the executable.
|
67as_me=`$as_basename "$0" ||
| 132as_me=`$as_basename -- "$0" ||
|
68$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 69 X"$0" : 'X\(//\)$' \| \
| 133$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 134 X"$0" : 'X\(//\)$' \| \
|
70 X"$0" : 'X\(/\)$' \| \ 71 . : '\(.\)' 2>/dev/null ||
| 135 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
72echo X/"$0" |
| 136echo X/"$0" |
|
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 74 /^X\/\(\/\/\)$/{ s//\1/; q; } 75 /^X\/\(\/\).*/{ s//\1/; q; } 76 s/.*/./; q'`
| 137 sed '/^.*\/\([^/][^/]*\)\/*$/{ 138 s//\1/ 139 q 140 } 141 /^X\/\(\/\/\)$/{ 142 s//\1/ 143 q 144 } 145 /^X\/\(\/\).*/{ 146 s//\1/ 147 q 148 } 149 s/.*/./; q'`
|
77
| 150
|
| 151# CDPATH. 152$as_unset CDPATH
|
78
| 153
|
79# PATH needs CR, and LINENO needs CR and PATH. 80# Avoid depending upon Character Ranges. 81as_cr_letters='abcdefghijklmnopqrstuvwxyz' 82as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 83as_cr_Letters=$as_cr_letters$as_cr_LETTERS 84as_cr_digits='0123456789' 85as_cr_alnum=$as_cr_Letters$as_cr_digits
| |
86
| 154
|
87# The user is always right. 88if test "${PATH_SEPARATOR+set}" != set; then 89 echo "#! /bin/sh" >conf$$.sh 90 echo "exit 0" >>conf$$.sh 91 chmod +x conf$$.sh 92 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 93 PATH_SEPARATOR=';' 94 else 95 PATH_SEPARATOR=: 96 fi 97 rm -f conf$$.sh
| 155if test "x$CONFIG_SHELL" = x; then 156 if (eval ":") 2>/dev/null; then 157 as_have_required=yes 158else 159 as_have_required=no
|
98fi 99
| 160fi 161
|
| 162 if test $as_have_required = yes && (eval ": 163(as_func_return () { 164 (exit \$1) 165} 166as_func_success () { 167 as_func_return 0 168} 169as_func_failure () { 170 as_func_return 1 171} 172as_func_ret_success () { 173 return 0 174} 175as_func_ret_failure () { 176 return 1 177}
|
100
| 178
|
101 as_lineno_1=$LINENO 102 as_lineno_2=$LINENO 103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 104 test "x$as_lineno_1" != "x$as_lineno_2" && 105 test "x$as_lineno_3" = "x$as_lineno_2" || { 106 # Find who we are. Look in the path if we contain no path at all 107 # relative or not. 108 case $0 in 109 *[\\/]* ) as_myself=$0 ;; 110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 111for as_dir in $PATH 112do 113 IFS=$as_save_IFS 114 test -z "$as_dir" && as_dir=. 115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 116done
| 179exitcode=0 180if as_func_success; then 181 : 182else 183 exitcode=1 184 echo as_func_success failed. 185fi
|
117
| 186
|
118 ;; 119 esac 120 # We did not find ourselves, most probably we were run as `sh COMMAND' 121 # in which case we are not to be found in the path. 122 if test "x$as_myself" = x; then 123 as_myself=$0 124 fi 125 if test ! -f "$as_myself"; then 126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 127 { (exit 1); exit 1; }; } 128 fi 129 case $CONFIG_SHELL in 130 '')
| 187if as_func_failure; then 188 exitcode=1 189 echo as_func_failure succeeded. 190fi 191 192if as_func_ret_success; then 193 : 194else 195 exitcode=1 196 echo as_func_ret_success failed. 197fi 198 199if as_func_ret_failure; then 200 exitcode=1 201 echo as_func_ret_failure succeeded. 202fi 203 204if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 205 : 206else 207 exitcode=1 208 echo positional parameters were not saved. 209fi 210 211test \$exitcode = 0) || { (exit 1); exit 1; } 212 213( 214 as_lineno_1=\$LINENO 215 as_lineno_2=\$LINENO 216 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 217 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 218") 2> /dev/null; then 219 : 220else 221 as_candidate_shells=
|
131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 132for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 133do 134 IFS=$as_save_IFS 135 test -z "$as_dir" && as_dir=.
| 222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 223for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 224do 225 IFS=$as_save_IFS 226 test -z "$as_dir" && as_dir=.
|
136 for as_base in sh bash ksh sh5; do 137 case $as_dir in
| 227 case $as_dir in
|
138 /*)
| 228 /*)
|
139 if ("$as_dir/$as_base" -c '
| 229 for as_base in sh bash ksh sh5; do 230 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 231 done;; 232 esac 233done 234IFS=$as_save_IFS 235 236 237 for as_shell in $as_candidate_shells $SHELL; do 238 # Try only shells that exist, to save several forks. 239 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 240 { ("$as_shell") 2> /dev/null <<\_ASEOF 241if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 242 emulate sh 243 NULLCMD=: 244 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 245 # is contrary to our usage. Disable this feature. 246 alias -g '${1+"$@"}'='"$@"' 247 setopt NO_GLOB_SUBST 248else 249 case `(set -o) 2>/dev/null` in 250 *posix*) set -o posix ;; 251esac 252 253fi 254 255 256: 257_ASEOF 258}; then 259 CONFIG_SHELL=$as_shell 260 as_have_required=yes 261 if { "$as_shell" 2> /dev/null <<\_ASEOF 262if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 263 emulate sh 264 NULLCMD=: 265 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 266 # is contrary to our usage. Disable this feature. 267 alias -g '${1+"$@"}'='"$@"' 268 setopt NO_GLOB_SUBST 269else 270 case `(set -o) 2>/dev/null` in 271 *posix*) set -o posix ;; 272esac 273 274fi 275 276 277: 278(as_func_return () { 279 (exit $1) 280} 281as_func_success () { 282 as_func_return 0 283} 284as_func_failure () { 285 as_func_return 1 286} 287as_func_ret_success () { 288 return 0 289} 290as_func_ret_failure () { 291 return 1 292} 293 294exitcode=0 295if as_func_success; then 296 : 297else 298 exitcode=1 299 echo as_func_success failed. 300fi 301 302if as_func_failure; then 303 exitcode=1 304 echo as_func_failure succeeded. 305fi 306 307if as_func_ret_success; then 308 : 309else 310 exitcode=1 311 echo as_func_ret_success failed. 312fi 313 314if as_func_ret_failure; then 315 exitcode=1 316 echo as_func_ret_failure succeeded. 317fi 318 319if ( set x; as_func_ret_success y && test x = "$1" ); then 320 : 321else 322 exitcode=1 323 echo positional parameters were not saved. 324fi 325 326test $exitcode = 0) || { (exit 1); exit 1; } 327 328(
|
140 as_lineno_1=$LINENO 141 as_lineno_2=$LINENO
| 329 as_lineno_1=$LINENO 330 as_lineno_2=$LINENO
|
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
| |
143 test "x$as_lineno_1" != "x$as_lineno_2" &&
| 331 test "x$as_lineno_1" != "x$as_lineno_2" &&
|
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 147 CONFIG_SHELL=$as_dir/$as_base 148 export CONFIG_SHELL 149 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 150 fi;; 151 esac 152 done 153done 154;; 155 esac
| 332 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
156
| 333
|
| 334_ASEOF 335}; then 336 break 337fi 338 339fi 340 341 done 342 343 if test "x$CONFIG_SHELL" != x; then 344 for as_var in BASH_ENV ENV 345 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 346 done 347 export CONFIG_SHELL 348 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 349fi 350 351 352 if test $as_have_required = no; then 353 echo This script requires a shell more modern than all the 354 echo shells that I found on your system. Please install a 355 echo modern shell, or manually run the script under such a 356 echo shell if you do have one. 357 { (exit 1); exit 1; } 358fi 359 360 361fi 362 363fi 364 365 366 367(eval "as_func_return () { 368 (exit \$1) 369} 370as_func_success () { 371 as_func_return 0 372} 373as_func_failure () { 374 as_func_return 1 375} 376as_func_ret_success () { 377 return 0 378} 379as_func_ret_failure () { 380 return 1 381} 382 383exitcode=0 384if as_func_success; then 385 : 386else 387 exitcode=1 388 echo as_func_success failed. 389fi 390 391if as_func_failure; then 392 exitcode=1 393 echo as_func_failure succeeded. 394fi 395 396if as_func_ret_success; then 397 : 398else 399 exitcode=1 400 echo as_func_ret_success failed. 401fi 402 403if as_func_ret_failure; then 404 exitcode=1 405 echo as_func_ret_failure succeeded. 406fi 407 408if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 409 : 410else 411 exitcode=1 412 echo positional parameters were not saved. 413fi 414 415test \$exitcode = 0") || { 416 echo No shell found that supports shell functions. 417 echo Please tell autoconf@gnu.org about your system, 418 echo including any error possibly output before this 419 echo message 420} 421 422 423 424 as_lineno_1=$LINENO 425 as_lineno_2=$LINENO 426 test "x$as_lineno_1" != "x$as_lineno_2" && 427 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 428
|
157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 158 # uniformly replaced by the line number. The first 'sed' inserts a
| 429 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 430 # uniformly replaced by the line number. The first 'sed' inserts a
|
159 # line-number line before each line; the second 'sed' does the real 160 # work. The second script uses 'N' to pair each line-number line 161 # with the numbered line, and appends trailing '-' during 162 # substitution so that $LINENO is not a special case at line end.
| 431 # line-number line after each line using $LINENO; the second 'sed' 432 # does the real work. The second script uses 'N' to pair each 433 # line-number line with the line containing $LINENO, and appends 434 # trailing '-' during substitution so that $LINENO is not a special 435 # case at line end.
|
163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
| 436 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 165 sed '=' <$as_myself |
| 437 # scripts with optimization help from Paolo Bonzini. Blame Lee 438 # E. McMahon (1931-1989) for sed's syntax. :-) 439 sed -n ' 440 p 441 /[$]LINENO/= 442 ' <$as_myself |
|
166 sed '
| 443 sed '
|
| 444 s/[$]LINENO.*/&-/ 445 t lineno 446 b 447 :lineno
|
167 N
| 448 N
|
168 s,$,-, 169 : loop 170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
| 449 :loop 450 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
171 t loop
| 451 t loop
|
172 s,-$,, 173 s,^['$as_cr_digits']*\n,,
| 452 s/-\n.*//
|
174 ' >$as_me.lineno &&
| 453 ' >$as_me.lineno &&
|
175 chmod +x $as_me.lineno ||
| 454 chmod +x "$as_me.lineno" ||
|
176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 177 { (exit 1); exit 1; }; } 178 179 # Don't try to exec as it changes $[0], causing all sort of problems 180 # (the dirname of $[0] is not the place where we might find the
| 455 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 456 { (exit 1); exit 1; }; } 457 458 # Don't try to exec as it changes $[0], causing all sort of problems 459 # (the dirname of $[0] is not the place where we might find the
|
181 # original and so on. Autoconf is especially sensible to this). 182 . ./$as_me.lineno
| 460 # original and so on. Autoconf is especially sensitive to this). 461 . "./$as_me.lineno"
|
183 # Exit status is that of the last command. 184 exit 185} 186 187
| 462 # Exit status is that of the last command. 463 exit 464} 465 466
|
188case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 189 *c*,-n*) ECHO_N= ECHO_C=' 190' ECHO_T=' ' ;; 191 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 192 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
| 467if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 468 as_dirname=dirname 469else 470 as_dirname=false 471fi 472 473ECHO_C= ECHO_N= ECHO_T= 474case `echo -n x` in 475-n*) 476 case `echo 'x\c'` in 477 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 478 *) ECHO_C='\c';; 479 esac;; 480*) 481 ECHO_N='-n';;
|
193esac 194
| 482esac 483
|
195if expr a : '\(a\)' >/dev/null 2>&1; then
| 484if expr a : '\(a\)' >/dev/null 2>&1 && 485 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
196 as_expr=expr 197else 198 as_expr=false 199fi 200 201rm -f conf$$ conf$$.exe conf$$.file
| 486 as_expr=expr 487else 488 as_expr=false 489fi 490 491rm -f conf$$ conf$$.exe conf$$.file
|
| 492if test -d conf$$.dir; then 493 rm -f conf$$.dir/conf$$.file 494else 495 rm -f conf$$.dir 496 mkdir conf$$.dir 497fi
|
202echo >conf$$.file 203if ln -s conf$$.file conf$$ 2>/dev/null; then
| 498echo >conf$$.file 499if ln -s conf$$.file conf$$ 2>/dev/null; then
|
204 # We could just check for DJGPP; but this test a) works b) is more generic 205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 206 if test -f conf$$.exe; then 207 # Don't use ln at all; we don't have any links
| 500 as_ln_s='ln -s' 501 # ... but there are two gotchas: 502 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 503 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 504 # In both cases, we have to default to `cp -p'. 505 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
208 as_ln_s='cp -p'
| 506 as_ln_s='cp -p'
|
209 else 210 as_ln_s='ln -s' 211 fi
| |
212elif ln conf$$.file conf$$ 2>/dev/null; then 213 as_ln_s=ln 214else 215 as_ln_s='cp -p' 216fi
| 507elif ln conf$$.file conf$$ 2>/dev/null; then 508 as_ln_s=ln 509else 510 as_ln_s='cp -p' 511fi
|
217rm -f conf$$ conf$$.exe conf$$.file
| 512rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 513rmdir conf$$.dir 2>/dev/null
|
218 219if mkdir -p . 2>/dev/null; then 220 as_mkdir_p=: 221else
| 514 515if mkdir -p . 2>/dev/null; then 516 as_mkdir_p=: 517else
|
| 518 test -d ./-p && rmdir ./-p
|
222 as_mkdir_p=false 223fi 224
| 519 as_mkdir_p=false 520fi 521
|
225as_executable_p="test -f"
| 522if test -x / >/dev/null 2>&1; then 523 as_test_x='test -x' 524else 525 if ls -dL / >/dev/null 2>&1; then 526 as_ls_L_option=L 527 else 528 as_ls_L_option= 529 fi 530 as_test_x=' 531 eval sh -c '\'' 532 if test -d "$1"; then 533 test -d "$1/."; 534 else 535 case $1 in 536 -*)set "./$1";; 537 esac; 538 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 539 ???[sx]*):;;*)false;;esac;fi 540 '\'' sh 541 ' 542fi 543as_executable_p=$as_test_x
|
226 227# Sed expression to map a string onto a valid CPP name.
| 544 545# Sed expression to map a string onto a valid CPP name.
|
228as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
| 546as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
229 230# Sed expression to map a string onto a valid variable name.
| 547 548# Sed expression to map a string onto a valid variable name.
|
231as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
| 549as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
232 233
| 550 551
|
234# IFS 235# We need space, tab and new line, in precisely that order. 236as_nl=' 237' 238IFS=" $as_nl"
| |
239
| 552
|
240# CDPATH. 241$as_unset CDPATH
| 553exec 7<&0 </dev/null 6>&1
|
242
| 554
|
243
| |
244# Name of the host. 245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 246# so uname gets run too. 247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248
| 555# Name of the host. 556# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 557# so uname gets run too. 558ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 559
|
249exec 6>&1 250
| |
251# 252# Initializations. 253# 254ac_default_prefix=/usr/local
| 560# 561# Initializations. 562# 563ac_default_prefix=/usr/local
|
| 564ac_clean_files=
|
255ac_config_libobj_dir=.
| 565ac_config_libobj_dir=.
|
| 566LIBOBJS=
|
256cross_compiling=no 257subdirs= 258MFLAGS= 259MAKEFLAGS= 260SHELL=${CONFIG_SHELL-/bin/sh} 261
| 567cross_compiling=no 568subdirs= 569MFLAGS= 570MAKEFLAGS= 571SHELL=${CONFIG_SHELL-/bin/sh} 572
|
262# Maximum number of lines to put in a shell here document. 263# This variable seems obsolete. It should probably be removed, and 264# only ac_max_sed_lines should be used. 265: ${ac_max_here_lines=38} 266
| |
267# Identity of this package. 268PACKAGE_NAME= 269PACKAGE_TARNAME= 270PACKAGE_VERSION= 271PACKAGE_STRING= 272PACKAGE_BUGREPORT= 273 274ac_unique_file="pcap.c" 275# Factoring default headers for most tests. 276ac_includes_default="\ 277#include <stdio.h>
| 573# Identity of this package. 574PACKAGE_NAME= 575PACKAGE_TARNAME= 576PACKAGE_VERSION= 577PACKAGE_STRING= 578PACKAGE_BUGREPORT= 579 580ac_unique_file="pcap.c" 581# Factoring default headers for most tests. 582ac_includes_default="\ 583#include <stdio.h>
|
278#if HAVE_SYS_TYPES_H
| 584#ifdef HAVE_SYS_TYPES_H
|
279# include <sys/types.h> 280#endif
| 585# include <sys/types.h> 586#endif
|
281#if HAVE_SYS_STAT_H
| 587#ifdef HAVE_SYS_STAT_H
|
282# include <sys/stat.h> 283#endif
| 588# include <sys/stat.h> 589#endif
|
284#if STDC_HEADERS
| 590#ifdef STDC_HEADERS
|
285# include <stdlib.h> 286# include <stddef.h> 287#else
| 591# include <stdlib.h> 592# include <stddef.h> 593#else
|
288# if HAVE_STDLIB_H
| 594# ifdef HAVE_STDLIB_H
|
289# include <stdlib.h> 290# endif 291#endif
| 595# include <stdlib.h> 596# endif 597#endif
|
292#if HAVE_STRING_H 293# if !STDC_HEADERS && HAVE_MEMORY_H
| 598#ifdef HAVE_STRING_H 599# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
294# include <memory.h> 295# endif 296# include <string.h> 297#endif
| 600# include <memory.h> 601# endif 602# include <string.h> 603#endif
|
298#if HAVE_STRINGS_H
| 604#ifdef HAVE_STRINGS_H
|
299# include <strings.h> 300#endif
| 605# include <strings.h> 606#endif
|
301#if HAVE_INTTYPES_H
| 607#ifdef HAVE_INTTYPES_H
|
302# include <inttypes.h>
| 608# include <inttypes.h>
|
303#else 304# if HAVE_STDINT_H 305# include <stdint.h> 306# endif
| |
307#endif
| 609#endif
|
308#if HAVE_UNISTD_H
| 610#ifdef HAVE_STDINT_H 611# include <stdint.h> 612#endif 613#ifdef HAVE_UNISTD_H
|
309# include <unistd.h> 310#endif" 311
| 614# include <unistd.h> 615#endif" 616
|
312ac_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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os SHLICC2 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LIBOBJS V_LEX V_YACC RANLIB ac_ct_RANLIB V_CCOPT V_DEFS V_INCLS V_LIBS V_PCAP V_FINDALLDEVS V_RANLIB SSRC DYEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LTLIBOBJS'
| 617ac_subst_vars='SHELL 618PATH_SEPARATOR 619PACKAGE_NAME 620PACKAGE_TARNAME 621PACKAGE_VERSION 622PACKAGE_STRING 623PACKAGE_BUGREPORT 624exec_prefix 625prefix 626program_transform_name 627bindir 628sbindir 629libexecdir 630datarootdir 631datadir 632sysconfdir 633sharedstatedir 634localstatedir 635includedir 636oldincludedir 637docdir 638infodir 639htmldir 640dvidir 641pdfdir 642psdir 643libdir 644localedir 645mandir 646DEFS 647ECHO_C 648ECHO_N 649ECHO_T 650LIBS 651build_alias 652host_alias 653target_alias 654build 655build_cpu 656build_vendor 657build_os 658host 659host_cpu 660host_vendor 661host_os 662target 663target_cpu 664target_vendor 665target_os 666SHLICC2 667CC 668CFLAGS 669LDFLAGS 670CPPFLAGS 671ac_ct_CC 672EXEEXT 673OBJEXT 674CPP 675GREP 676EGREP 677LIBOBJS 678V_LEX 679V_YACC 680RANLIB 681V_CCOPT 682V_DEFS 683V_INCLS 684V_LIBS 685V_PCAP 686V_FINDALLDEVS 687V_RANLIB 688SSRC 689DYEXT 690DAGLIBS 691INSTALL_PROGRAM 692INSTALL_SCRIPT 693INSTALL_DATA 694LTLIBOBJS'
|
313ac_subst_files=''
| 695ac_subst_files=''
|
| 696 ac_precious_vars='build_alias 697host_alias 698target_alias 699CC 700CFLAGS 701LDFLAGS 702LIBS 703CPPFLAGS 704CPP'
|
314
| 705
|
| 706
|
315# Initialize some variables set by options. 316ac_init_help= 317ac_init_version=false 318# The variables have the same names as the options, with 319# dashes changed to underlines. 320cache_file=/dev/null 321exec_prefix=NONE 322no_create= 323no_recursion= 324prefix=NONE 325program_prefix=NONE 326program_suffix=NONE 327program_transform_name=s,x,x, 328silent= 329site= 330srcdir= 331verbose= 332x_includes=NONE 333x_libraries=NONE 334 335# Installation directory options. 336# These are left unexpanded so users can "make install exec_prefix=/foo" 337# and all the variables that are supposed to be based on exec_prefix 338# by default will actually change. 339# Use braces instead of parens because sh, perl, etc. also accept them.
| 707# Initialize some variables set by options. 708ac_init_help= 709ac_init_version=false 710# The variables have the same names as the options, with 711# dashes changed to underlines. 712cache_file=/dev/null 713exec_prefix=NONE 714no_create= 715no_recursion= 716prefix=NONE 717program_prefix=NONE 718program_suffix=NONE 719program_transform_name=s,x,x, 720silent= 721site= 722srcdir= 723verbose= 724x_includes=NONE 725x_libraries=NONE 726 727# Installation directory options. 728# These are left unexpanded so users can "make install exec_prefix=/foo" 729# and all the variables that are supposed to be based on exec_prefix 730# by default will actually change. 731# Use braces instead of parens because sh, perl, etc. also accept them.
|
| 732# (The list follows the same order as the GNU Coding Standards.)
|
340bindir='${exec_prefix}/bin' 341sbindir='${exec_prefix}/sbin' 342libexecdir='${exec_prefix}/libexec'
| 733bindir='${exec_prefix}/bin' 734sbindir='${exec_prefix}/sbin' 735libexecdir='${exec_prefix}/libexec'
|
343datadir='${prefix}/share'
| 736datarootdir='${prefix}/share' 737datadir='${datarootdir}'
|
344sysconfdir='${prefix}/etc' 345sharedstatedir='${prefix}/com' 346localstatedir='${prefix}/var'
| 738sysconfdir='${prefix}/etc' 739sharedstatedir='${prefix}/com' 740localstatedir='${prefix}/var'
|
347libdir='${exec_prefix}/lib'
| |
348includedir='${prefix}/include' 349oldincludedir='/usr/include'
| 741includedir='${prefix}/include' 742oldincludedir='/usr/include'
|
350infodir='${prefix}/info' 351mandir='${prefix}/man'
| 743docdir='${datarootdir}/doc/${PACKAGE}' 744infodir='${datarootdir}/info' 745htmldir='${docdir}' 746dvidir='${docdir}' 747pdfdir='${docdir}' 748psdir='${docdir}' 749libdir='${exec_prefix}/lib' 750localedir='${datarootdir}/locale' 751mandir='${datarootdir}/man'
|
352 353ac_prev=
| 752 753ac_prev=
|
| 754ac_dashdash=
|
354for ac_option 355do 356 # If the previous option needs an argument, assign it. 357 if test -n "$ac_prev"; then
| 755for ac_option 756do 757 # If the previous option needs an argument, assign it. 758 if test -n "$ac_prev"; then
|
358 eval "$ac_prev=\$ac_option"
| 759 eval $ac_prev=\$ac_option
|
359 ac_prev= 360 continue 361 fi 362
| 760 ac_prev= 761 continue 762 fi 763
|
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
| 764 case $ac_option in 765 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 766 *) ac_optarg=yes ;; 767 esac
|
364 365 # Accept the important Cygnus configure options, so we can diagnose typos. 366
| 768 769 # Accept the important Cygnus configure options, so we can diagnose typos. 770
|
367 case $ac_option in
| 771 case $ac_dashdash$ac_option in 772 --) 773 ac_dashdash=yes ;;
|
368 369 -bindir | --bindir | --bindi | --bind | --bin | --bi) 370 ac_prev=bindir ;; 371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 372 bindir=$ac_optarg ;; 373 374 -build | --build | --buil | --bui | --bu) 375 ac_prev=build_alias ;; 376 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 377 build_alias=$ac_optarg ;; 378 379 -cache-file | --cache-file | --cache-fil | --cache-fi \ 380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 381 ac_prev=cache_file ;; 382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 384 cache_file=$ac_optarg ;; 385 386 --config-cache | -C) 387 cache_file=config.cache ;; 388
| 774 775 -bindir | --bindir | --bindi | --bind | --bin | --bi) 776 ac_prev=bindir ;; 777 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 778 bindir=$ac_optarg ;; 779 780 -build | --build | --buil | --bui | --bu) 781 ac_prev=build_alias ;; 782 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 783 build_alias=$ac_optarg ;; 784 785 -cache-file | --cache-file | --cache-fil | --cache-fi \ 786 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 787 ac_prev=cache_file ;; 788 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 789 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 790 cache_file=$ac_optarg ;; 791 792 --config-cache | -C) 793 cache_file=config.cache ;; 794
|
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
| 795 -datadir | --datadir | --datadi | --datad)
|
390 ac_prev=datadir ;;
| 796 ac_prev=datadir ;;
|
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 | --da=*)
| 797 -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
393 datadir=$ac_optarg ;; 394
| 798 datadir=$ac_optarg ;; 799
|
| 800 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 801 | --dataroo | --dataro | --datar) 802 ac_prev=datarootdir ;; 803 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 804 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 805 datarootdir=$ac_optarg ;; 806
|
395 -disable-* | --disable-*) 396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 397 # Reject names that are not valid shell variable names.
| 807 -disable-* | --disable-*) 808 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 809 # Reject names that are not valid shell variable names.
|
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
| 810 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; }; }
| 811 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 812 { (exit 1); exit 1; }; }
|
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 eval "enable_$ac_feature=no" ;;
| 813 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 814 eval enable_$ac_feature=no ;;
|
403
| 815
|
| 816 -docdir | --docdir | --docdi | --doc | --do) 817 ac_prev=docdir ;; 818 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 819 docdir=$ac_optarg ;; 820 821 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 822 ac_prev=dvidir ;; 823 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 824 dvidir=$ac_optarg ;; 825
|
404 -enable-* | --enable-*) 405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 406 # Reject names that are not valid shell variable names.
| 826 -enable-* | --enable-*) 827 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 828 # Reject names that are not valid shell variable names.
|
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
| 829 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; }; }
| 830 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 831 { (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 ;; 414 esac 415 eval "enable_$ac_feature='$ac_optarg'" ;;
| 832 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 833 eval enable_$ac_feature=\$ac_optarg ;;
|
416 417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 419 | --exec | --exe | --ex) 420 ac_prev=exec_prefix ;; 421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 423 | --exec=* | --exe=* | --ex=*) 424 exec_prefix=$ac_optarg ;; 425 426 -gas | --gas | --ga | --g) 427 # Obsolete; use --with-gas. 428 with_gas=yes ;; 429 430 -help | --help | --hel | --he | -h) 431 ac_init_help=long ;; 432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 433 ac_init_help=recursive ;; 434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 435 ac_init_help=short ;; 436 437 -host | --host | --hos | --ho) 438 ac_prev=host_alias ;; 439 -host=* | --host=* | --hos=* | --ho=*) 440 host_alias=$ac_optarg ;; 441
| 834 835 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 836 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 837 | --exec | --exe | --ex) 838 ac_prev=exec_prefix ;; 839 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 840 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 841 | --exec=* | --exe=* | --ex=*) 842 exec_prefix=$ac_optarg ;; 843 844 -gas | --gas | --ga | --g) 845 # Obsolete; use --with-gas. 846 with_gas=yes ;; 847 848 -help | --help | --hel | --he | -h) 849 ac_init_help=long ;; 850 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 851 ac_init_help=recursive ;; 852 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 853 ac_init_help=short ;; 854 855 -host | --host | --hos | --ho) 856 ac_prev=host_alias ;; 857 -host=* | --host=* | --hos=* | --ho=*) 858 host_alias=$ac_optarg ;; 859
|
| 860 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 861 ac_prev=htmldir ;; 862 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 863 | --ht=*) 864 htmldir=$ac_optarg ;; 865
|
442 -includedir | --includedir | --includedi | --included | --include \ 443 | --includ | --inclu | --incl | --inc) 444 ac_prev=includedir ;; 445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 446 | --includ=* | --inclu=* | --incl=* | --inc=*) 447 includedir=$ac_optarg ;; 448 449 -infodir | --infodir | --infodi | --infod | --info | --inf) 450 ac_prev=infodir ;; 451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 452 infodir=$ac_optarg ;; 453 454 -libdir | --libdir | --libdi | --libd) 455 ac_prev=libdir ;; 456 -libdir=* | --libdir=* | --libdi=* | --libd=*) 457 libdir=$ac_optarg ;; 458 459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 460 | --libexe | --libex | --libe) 461 ac_prev=libexecdir ;; 462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 463 | --libexe=* | --libex=* | --libe=*) 464 libexecdir=$ac_optarg ;; 465
| 866 -includedir | --includedir | --includedi | --included | --include \ 867 | --includ | --inclu | --incl | --inc) 868 ac_prev=includedir ;; 869 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 870 | --includ=* | --inclu=* | --incl=* | --inc=*) 871 includedir=$ac_optarg ;; 872 873 -infodir | --infodir | --infodi | --infod | --info | --inf) 874 ac_prev=infodir ;; 875 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 876 infodir=$ac_optarg ;; 877 878 -libdir | --libdir | --libdi | --libd) 879 ac_prev=libdir ;; 880 -libdir=* | --libdir=* | --libdi=* | --libd=*) 881 libdir=$ac_optarg ;; 882 883 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 884 | --libexe | --libex | --libe) 885 ac_prev=libexecdir ;; 886 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 887 | --libexe=* | --libex=* | --libe=*) 888 libexecdir=$ac_optarg ;; 889
|
| 890 -localedir | --localedir | --localedi | --localed | --locale) 891 ac_prev=localedir ;; 892 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 893 localedir=$ac_optarg ;; 894
|
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
| 895 -localstatedir | --localstatedir | --localstatedi | --localstated \
|
467 | --localstate | --localstat | --localsta | --localst \ 468 | --locals | --local | --loca | --loc | --lo)
| 896 | --localstate | --localstat | --localsta | --localst | --locals)
|
469 ac_prev=localstatedir ;; 470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
| 897 ac_prev=localstatedir ;; 898 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
| 899 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
473 localstatedir=$ac_optarg ;; 474 475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 476 ac_prev=mandir ;; 477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 478 mandir=$ac_optarg ;; 479 480 -nfp | --nfp | --nf) 481 # Obsolete; use --without-fp. 482 with_fp=no ;; 483 484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 485 | --no-cr | --no-c | -n) 486 no_create=yes ;; 487 488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 490 no_recursion=yes ;; 491 492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 494 | --oldin | --oldi | --old | --ol | --o) 495 ac_prev=oldincludedir ;; 496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 499 oldincludedir=$ac_optarg ;; 500 501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 502 ac_prev=prefix ;; 503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 504 prefix=$ac_optarg ;; 505 506 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 507 | --program-pre | --program-pr | --program-p) 508 ac_prev=program_prefix ;; 509 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 511 program_prefix=$ac_optarg ;; 512 513 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 514 | --program-suf | --program-su | --program-s) 515 ac_prev=program_suffix ;; 516 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 518 program_suffix=$ac_optarg ;; 519 520 -program-transform-name | --program-transform-name \ 521 | --program-transform-nam | --program-transform-na \ 522 | --program-transform-n | --program-transform- \ 523 | --program-transform | --program-transfor \ 524 | --program-transfo | --program-transf \ 525 | --program-trans | --program-tran \ 526 | --progr-tra | --program-tr | --program-t) 527 ac_prev=program_transform_name ;; 528 -program-transform-name=* | --program-transform-name=* \ 529 | --program-transform-nam=* | --program-transform-na=* \ 530 | --program-transform-n=* | --program-transform-=* \ 531 | --program-transform=* | --program-transfor=* \ 532 | --program-transfo=* | --program-transf=* \ 533 | --program-trans=* | --program-tran=* \ 534 | --progr-tra=* | --program-tr=* | --program-t=*) 535 program_transform_name=$ac_optarg ;; 536
| 900 localstatedir=$ac_optarg ;; 901 902 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 903 ac_prev=mandir ;; 904 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 905 mandir=$ac_optarg ;; 906 907 -nfp | --nfp | --nf) 908 # Obsolete; use --without-fp. 909 with_fp=no ;; 910 911 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 912 | --no-cr | --no-c | -n) 913 no_create=yes ;; 914 915 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 916 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 917 no_recursion=yes ;; 918 919 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 920 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 921 | --oldin | --oldi | --old | --ol | --o) 922 ac_prev=oldincludedir ;; 923 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 924 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 925 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 926 oldincludedir=$ac_optarg ;; 927 928 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 929 ac_prev=prefix ;; 930 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 931 prefix=$ac_optarg ;; 932 933 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 934 | --program-pre | --program-pr | --program-p) 935 ac_prev=program_prefix ;; 936 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 937 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 938 program_prefix=$ac_optarg ;; 939 940 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 941 | --program-suf | --program-su | --program-s) 942 ac_prev=program_suffix ;; 943 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 944 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 945 program_suffix=$ac_optarg ;; 946 947 -program-transform-name | --program-transform-name \ 948 | --program-transform-nam | --program-transform-na \ 949 | --program-transform-n | --program-transform- \ 950 | --program-transform | --program-transfor \ 951 | --program-transfo | --program-transf \ 952 | --program-trans | --program-tran \ 953 | --progr-tra | --program-tr | --program-t) 954 ac_prev=program_transform_name ;; 955 -program-transform-name=* | --program-transform-name=* \ 956 | --program-transform-nam=* | --program-transform-na=* \ 957 | --program-transform-n=* | --program-transform-=* \ 958 | --program-transform=* | --program-transfor=* \ 959 | --program-transfo=* | --program-transf=* \ 960 | --program-trans=* | --program-tran=* \ 961 | --progr-tra=* | --program-tr=* | --program-t=*) 962 program_transform_name=$ac_optarg ;; 963
|
| 964 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 965 ac_prev=pdfdir ;; 966 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 967 pdfdir=$ac_optarg ;; 968 969 -psdir | --psdir | --psdi | --psd | --ps) 970 ac_prev=psdir ;; 971 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 972 psdir=$ac_optarg ;; 973
|
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 538 | -silent | --silent | --silen | --sile | --sil) 539 silent=yes ;; 540 541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 542 ac_prev=sbindir ;; 543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 544 | --sbi=* | --sb=*) 545 sbindir=$ac_optarg ;; 546 547 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 549 | --sharedst | --shareds | --shared | --share | --shar \ 550 | --sha | --sh) 551 ac_prev=sharedstatedir ;; 552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 555 | --sha=* | --sh=*) 556 sharedstatedir=$ac_optarg ;; 557 558 -site | --site | --sit) 559 ac_prev=site ;; 560 -site=* | --site=* | --sit=*) 561 site=$ac_optarg ;; 562 563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 564 ac_prev=srcdir ;; 565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 566 srcdir=$ac_optarg ;; 567 568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 569 | --syscon | --sysco | --sysc | --sys | --sy) 570 ac_prev=sysconfdir ;; 571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 573 sysconfdir=$ac_optarg ;; 574 575 -target | --target | --targe | --targ | --tar | --ta | --t) 576 ac_prev=target_alias ;; 577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 578 target_alias=$ac_optarg ;; 579 580 -v | -verbose | --verbose | --verbos | --verbo | --verb) 581 verbose=yes ;; 582 583 -version | --version | --versio | --versi | --vers | -V) 584 ac_init_version=: ;; 585 586 -with-* | --with-*) 587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 588 # Reject names that are not valid shell variable names.
| 974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 975 | -silent | --silent | --silen | --sile | --sil) 976 silent=yes ;; 977 978 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 979 ac_prev=sbindir ;; 980 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 981 | --sbi=* | --sb=*) 982 sbindir=$ac_optarg ;; 983 984 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 985 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 986 | --sharedst | --shareds | --shared | --share | --shar \ 987 | --sha | --sh) 988 ac_prev=sharedstatedir ;; 989 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 990 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 991 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 992 | --sha=* | --sh=*) 993 sharedstatedir=$ac_optarg ;; 994 995 -site | --site | --sit) 996 ac_prev=site ;; 997 -site=* | --site=* | --sit=*) 998 site=$ac_optarg ;; 999 1000 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1001 ac_prev=srcdir ;; 1002 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1003 srcdir=$ac_optarg ;; 1004 1005 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1006 | --syscon | --sysco | --sysc | --sys | --sy) 1007 ac_prev=sysconfdir ;; 1008 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1009 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1010 sysconfdir=$ac_optarg ;; 1011 1012 -target | --target | --targe | --targ | --tar | --ta | --t) 1013 ac_prev=target_alias ;; 1014 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1015 target_alias=$ac_optarg ;; 1016 1017 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1018 verbose=yes ;; 1019 1020 -version | --version | --versio | --versi | --vers | -V) 1021 ac_init_version=: ;; 1022 1023 -with-* | --with-*) 1024 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1025 # Reject names that are not valid shell variable names.
|
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
| 1026 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; }; }
| 1027 { echo "$as_me: error: invalid package name: $ac_package" >&2 1028 { (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 ;; 596 esac 597 eval "with_$ac_package='$ac_optarg'" ;;
| 1029 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1030 eval with_$ac_package=\$ac_optarg ;;
|
598 599 -without-* | --without-*) 600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 601 # Reject names that are not valid shell variable names.
| 1031 1032 -without-* | --without-*) 1033 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1034 # Reject names that are not valid shell variable names.
|
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
| 1035 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; }; }
| 1036 { echo "$as_me: error: invalid package name: $ac_package" >&2 1037 { (exit 1); exit 1; }; }
|
605 ac_package=`echo $ac_package | sed 's/-/_/g'` 606 eval "with_$ac_package=no" ;;
| 1038 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1039 eval with_$ac_package=no ;;
|
607 608 --x) 609 # Obsolete; use --with-x. 610 with_x=yes ;; 611 612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 613 | --x-incl | --x-inc | --x-in | --x-i) 614 ac_prev=x_includes ;; 615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 617 x_includes=$ac_optarg ;; 618 619 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 621 ac_prev=x_libraries ;; 622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 624 x_libraries=$ac_optarg ;; 625 626 -*) { echo "$as_me: error: unrecognized option: $ac_option 627Try \`$0 --help' for more information." >&2 628 { (exit 1); exit 1; }; } 629 ;; 630 631 *=*) 632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 633 # 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" >&2 636 { (exit 1); exit 1; }; }
| 1040 1041 --x) 1042 # Obsolete; use --with-x. 1043 with_x=yes ;; 1044 1045 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1046 | --x-incl | --x-inc | --x-in | --x-i) 1047 ac_prev=x_includes ;; 1048 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1049 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1050 x_includes=$ac_optarg ;; 1051 1052 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1053 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1054 ac_prev=x_libraries ;; 1055 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1056 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1057 x_libraries=$ac_optarg ;; 1058 1059 -*) { echo "$as_me: error: unrecognized option: $ac_option 1060Try \`$0 --help' for more information." >&2 1061 { (exit 1); exit 1; }; } 1062 ;; 1063 1064 *=*) 1065 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1066 # Reject names that are not valid shell variable names. 1067 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1068 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1069 { (exit 1); exit 1; }; }
|
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 638 eval "$ac_envvar='$ac_optarg'"
| 1070 eval $ac_envvar=\$ac_optarg
|
639 export $ac_envvar ;; 640 641 *) 642 # FIXME: should be removed in autoconf 3.0. 643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 647 ;; 648 649 esac 650done 651 652if test -n "$ac_prev"; then 653 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 654 { echo "$as_me: error: missing argument to $ac_option" >&2 655 { (exit 1); exit 1; }; } 656fi 657
| 1071 export $ac_envvar ;; 1072 1073 *) 1074 # FIXME: should be removed in autoconf 3.0. 1075 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1076 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1077 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1078 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1079 ;; 1080 1081 esac 1082done 1083 1084if test -n "$ac_prev"; then 1085 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1086 { echo "$as_me: error: missing argument to $ac_option" >&2 1087 { (exit 1); exit 1; }; } 1088fi 1089
|
658# Be sure to have absolute paths. 659for ac_var in exec_prefix prefix
| 1090# Be sure to have absolute directory names. 1091for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1092 datadir sysconfdir sharedstatedir localstatedir includedir \ 1093 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1094 libdir localedir mandir
|
660do
| 1095do
|
661 eval ac_val=$`echo $ac_var`
| 1096 eval ac_val=\$$ac_var
|
662 case $ac_val in
| 1097 case $ac_val in
|
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 665 { (exit 1); exit 1; }; };;
| 1098 [\\/$]* | ?:[\\/]* ) continue;; 1099 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
666 esac
| 1100 esac
|
| 1101 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1102 { (exit 1); exit 1; }; }
|
667done 668
| 1103done 1104
|
669# Be sure to have absolute paths. 670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 671 localstatedir libdir includedir oldincludedir infodir mandir 672do 673 eval ac_val=$`echo $ac_var` 674 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; }; };; 678 esac 679done 680
| |
681# There might be people who depend on the old broken behavior: `$host' 682# used to hold the argument of --host etc. 683# FIXME: To remove some day. 684build=$build_alias 685host=$host_alias 686target=$target_alias 687 688# FIXME: To remove some day. 689if test "x$host_alias" != x; then 690 if test "x$build_alias" = x; then 691 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." >&2 694 elif test "x$build_alias" != "x$host_alias"; then 695 cross_compiling=yes 696 fi 697fi 698 699ac_tool_prefix= 700test -n "$host_alias" && ac_tool_prefix=$host_alias- 701 702test "$silent" = yes && exec 6>/dev/null 703 704
| 1105# There might be people who depend on the old broken behavior: `$host' 1106# used to hold the argument of --host etc. 1107# FIXME: To remove some day. 1108build=$build_alias 1109host=$host_alias 1110target=$target_alias 1111 1112# FIXME: To remove some day. 1113if test "x$host_alias" != x; then 1114 if test "x$build_alias" = x; then 1115 cross_compiling=maybe 1116 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1117 If a cross compiler is detected then cross compile mode will be used." >&2 1118 elif test "x$build_alias" != "x$host_alias"; then 1119 cross_compiling=yes 1120 fi 1121fi 1122 1123ac_tool_prefix= 1124test -n "$host_alias" && ac_tool_prefix=$host_alias- 1125 1126test "$silent" = yes && exec 6>/dev/null 1127 1128
|
| 1129ac_pwd=`pwd` && test -n "$ac_pwd" && 1130ac_ls_di=`ls -di .` && 1131ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1132 { echo "$as_me: error: Working directory cannot be determined" >&2 1133 { (exit 1); exit 1; }; } 1134test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1135 { echo "$as_me: error: pwd does not report name of working directory" >&2 1136 { (exit 1); exit 1; }; } 1137 1138
|
705# Find the source files, if location was not specified. 706if test -z "$srcdir"; then 707 ac_srcdir_defaulted=yes
| 1139# Find the source files, if location was not specified. 1140if test -z "$srcdir"; then 1141 ac_srcdir_defaulted=yes
|
708 # Try the directory containing this script, then its parent. 709 ac_confdir=`(dirname "$0") 2>/dev/null ||
| 1142 # Try the directory containing this script, then the parent directory. 1143 ac_confdir=`$as_dirname -- "$0" ||
|
710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
| 1144$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
711 X"$0" : 'X\(//\)[^/]' \| \ 712 X"$0" : 'X\(//\)$' \| \ 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null ||
| 1145 X"$0" : 'X\(//\)[^/]' \| \ 1146 X"$0" : 'X\(//\)$' \| \ 1147 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
715echo X"$0" |
| 1148echo 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'`
| 1149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1150 s//\1/ 1151 q 1152 } 1153 /^X\(\/\/\)[^/].*/{ 1154 s//\1/ 1155 q 1156 } 1157 /^X\(\/\/\)$/{ 1158 s//\1/ 1159 q 1160 } 1161 /^X\(\/\).*/{ 1162 s//\1/ 1163 q 1164 } 1165 s/.*/./; q'`
|
721 srcdir=$ac_confdir
| 1166 srcdir=$ac_confdir
|
722 if test ! -r $srcdir/$ac_unique_file; then
| 1167 if test ! -r "$srcdir/$ac_unique_file"; then
|
723 srcdir=.. 724 fi 725else 726 ac_srcdir_defaulted=no 727fi
| 1168 srcdir=.. 1169 fi 1170else 1171 ac_srcdir_defaulted=no 1172fi
|
728if 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
| 1173if test ! -r "$srcdir/$ac_unique_file"; then 1174 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1175 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
731 { (exit 1); exit 1; }; }
| 1176 { (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
| |
736fi
| 1177fi
|
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
| 1178ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1179ac_abs_confdir=`( 1180 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
|
739 { (exit 1); exit 1; }; }
| 1181 { (exit 1); exit 1; }; }
|
740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 741ac_env_build_alias_set=${build_alias+set} 742ac_env_build_alias_value=$build_alias 743ac_cv_env_build_alias_set=${build_alias+set} 744ac_cv_env_build_alias_value=$build_alias 745ac_env_host_alias_set=${host_alias+set} 746ac_env_host_alias_value=$host_alias 747ac_cv_env_host_alias_set=${host_alias+set} 748ac_cv_env_host_alias_value=$host_alias 749ac_env_target_alias_set=${target_alias+set} 750ac_env_target_alias_value=$target_alias 751ac_cv_env_target_alias_set=${target_alias+set} 752ac_cv_env_target_alias_value=$target_alias 753ac_env_CC_set=${CC+set} 754ac_env_CC_value=$CC 755ac_cv_env_CC_set=${CC+set} 756ac_cv_env_CC_value=$CC 757ac_env_CFLAGS_set=${CFLAGS+set} 758ac_env_CFLAGS_value=$CFLAGS 759ac_cv_env_CFLAGS_set=${CFLAGS+set} 760ac_cv_env_CFLAGS_value=$CFLAGS 761ac_env_LDFLAGS_set=${LDFLAGS+set} 762ac_env_LDFLAGS_value=$LDFLAGS 763ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 764ac_cv_env_LDFLAGS_value=$LDFLAGS 765ac_env_CPPFLAGS_set=${CPPFLAGS+set} 766ac_env_CPPFLAGS_value=$CPPFLAGS 767ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 768ac_cv_env_CPPFLAGS_value=$CPPFLAGS 769ac_env_CPP_set=${CPP+set} 770ac_env_CPP_value=$CPP 771ac_cv_env_CPP_set=${CPP+set} 772ac_cv_env_CPP_value=$CPP
| 1182 pwd)` 1183# When building in place, set srcdir=. 1184if test "$ac_abs_confdir" = "$ac_pwd"; then 1185 srcdir=. 1186fi 1187# Remove unnecessary trailing slashes from srcdir. 1188# Double slashes in file names in object file debugging info 1189# mess up M-x gdb in Emacs. 1190case $srcdir in 1191*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1192esac 1193for ac_var in $ac_precious_vars; do 1194 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1195 eval ac_env_${ac_var}_value=\$${ac_var} 1196 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1197 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1198done
|
773 774# 775# Report the --help message. 776# 777if test "$ac_init_help" = "long"; then 778 # Omit some internal or obsolete options to make the list less imposing. 779 # This message is too long to be a string in the A/UX 3.1 sh. 780 cat <<_ACEOF 781\`configure' configures this package to adapt to many kinds of systems. 782 783Usage: $0 [OPTION]... [VAR=VALUE]... 784 785To assign environment variables (e.g., CC, CFLAGS...), specify them as 786VAR=VALUE. See below for descriptions of some of the useful variables. 787 788Defaults for the options are specified in brackets. 789 790Configuration: 791 -h, --help display this help and exit 792 --help=short display options specific to this package 793 --help=recursive display the short help of all the included packages 794 -V, --version display version information and exit 795 -q, --quiet, --silent do not print \`checking...' messages 796 --cache-file=FILE cache test results in FILE [disabled] 797 -C, --config-cache alias for \`--cache-file=config.cache' 798 -n, --no-create do not create output files 799 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 800
| 1199 1200# 1201# Report the --help message. 1202# 1203if test "$ac_init_help" = "long"; then 1204 # Omit some internal or obsolete options to make the list less imposing. 1205 # This message is too long to be a string in the A/UX 3.1 sh. 1206 cat <<_ACEOF 1207\`configure' configures this package to adapt to many kinds of systems. 1208 1209Usage: $0 [OPTION]... [VAR=VALUE]... 1210 1211To assign environment variables (e.g., CC, CFLAGS...), specify them as 1212VAR=VALUE. See below for descriptions of some of the useful variables. 1213 1214Defaults for the options are specified in brackets. 1215 1216Configuration: 1217 -h, --help display this help and exit 1218 --help=short display options specific to this package 1219 --help=recursive display the short help of all the included packages 1220 -V, --version display version information and exit 1221 -q, --quiet, --silent do not print \`checking...' messages 1222 --cache-file=FILE cache test results in FILE [disabled] 1223 -C, --config-cache alias for \`--cache-file=config.cache' 1224 -n, --no-create do not create output files 1225 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1226
|
801_ACEOF 802 803 cat <<_ACEOF
| |
804Installation directories: 805 --prefix=PREFIX install architecture-independent files in PREFIX
| 1227Installation directories: 1228 --prefix=PREFIX install architecture-independent files in PREFIX
|
806 [$ac_default_prefix]
| 1229 [$ac_default_prefix]
|
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
| 1230 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
808 [PREFIX]
| 1231 [PREFIX]
|
809 810By default, \`make install' will install all the files in 811\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 812an installation prefix other than \`$ac_default_prefix' using \`--prefix', 813for instance \`--prefix=\$HOME'. 814 815For better control, use the options below. 816 817Fine 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]
| 1232 1233By default, \`make install' will install all the files in 1234\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1235an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1236for instance \`--prefix=\$HOME'. 1237 1238For better control, use the options below. 1239 1240Fine tuning of the installation directories: 1241 --bindir=DIR user executables [EPREFIX/bin] 1242 --sbindir=DIR system admin executables [EPREFIX/sbin] 1243 --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]
| 1244 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1245 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1246 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1247 --libdir=DIR object code libraries [EPREFIX/lib] 1248 --includedir=DIR C header files [PREFIX/include] 1249 --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
828 --infodir=DIR info documentation [PREFIX/info] 829 --mandir=DIR man documentation [PREFIX/man]
| 1250 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1251 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1252 --infodir=DIR info documentation [DATAROOTDIR/info] 1253 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1254 --mandir=DIR man documentation [DATAROOTDIR/man] 1255 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1256 --htmldir=DIR html documentation [DOCDIR] 1257 --dvidir=DIR dvi documentation [DOCDIR] 1258 --pdfdir=DIR pdf documentation [DOCDIR] 1259 --psdir=DIR ps documentation [DOCDIR]
|
830_ACEOF 831 832 cat <<\_ACEOF 833 834System types: 835 --build=BUILD configure for building on BUILD [guessed] 836 --host=HOST cross-compile to build programs to run on HOST [BUILD] 837 --target=TARGET configure for building compilers for TARGET [HOST] 838_ACEOF 839fi 840 841if test -n "$ac_init_help"; then 842 843 cat <<\_ACEOF 844 845Optional Features: 846 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 847 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 848 --disable-protochain disable \"protochain\" insn 849 --enable-ipv6 build IPv6-capable version 850 --enable-optimizer-dbg build optimizer debugging code 851 --enable-yydebug build parser debugging code 852 853Optional Packages: 854 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 855 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 856 --without-gcc don't use gcc 857 --with-pcap=TYPE use packet capture TYPE 858 --with-dag[=DIR] include Endace DAG support ("yes", "no" or DIR; default="yes" on BSD and Linux if present) 859 --with-dag-includes=DIR Endace DAG include directory 860 --with-dag-libraries=DIR Endace DAG library directory 861 --with-septel[=DIR] include Septel support (located in directory DIR, if supplied). default=yes, on Linux, if present 862 --without-flex don't use flex 863 --without-bison don't use bison 864 865Some influential environment variables: 866 CC C compiler command 867 CFLAGS C compiler flags 868 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 869 nonstandard directory <lib dir>
| 1260_ACEOF 1261 1262 cat <<\_ACEOF 1263 1264System types: 1265 --build=BUILD configure for building on BUILD [guessed] 1266 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1267 --target=TARGET configure for building compilers for TARGET [HOST] 1268_ACEOF 1269fi 1270 1271if test -n "$ac_init_help"; then 1272 1273 cat <<\_ACEOF 1274 1275Optional Features: 1276 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1277 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1278 --disable-protochain disable \"protochain\" insn 1279 --enable-ipv6 build IPv6-capable version 1280 --enable-optimizer-dbg build optimizer debugging code 1281 --enable-yydebug build parser debugging code 1282 1283Optional Packages: 1284 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1285 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1286 --without-gcc don't use gcc 1287 --with-pcap=TYPE use packet capture TYPE 1288 --with-dag[=DIR] include Endace DAG support ("yes", "no" or DIR; default="yes" on BSD and Linux if present) 1289 --with-dag-includes=DIR Endace DAG include directory 1290 --with-dag-libraries=DIR Endace DAG library directory 1291 --with-septel[=DIR] include Septel support (located in directory DIR, if supplied). default=yes, on Linux, if present 1292 --without-flex don't use flex 1293 --without-bison don't use bison 1294 1295Some influential environment variables: 1296 CC C compiler command 1297 CFLAGS C compiler flags 1298 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1299 nonstandard directory <lib dir>
|
870 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 871 headers in a nonstandard directory <include dir>
| 1300 LIBS libraries to pass to the linker, e.g. -l<library> 1301 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1302 you have headers in a nonstandard directory <include dir>
|
872 CPP C preprocessor 873 874Use these variables to override the choices made by `configure' or to help 875it to find libraries and programs with nonstandard names/locations. 876 877_ACEOF
| 1303 CPP C preprocessor 1304 1305Use these variables to override the choices made by `configure' or to help 1306it to find libraries and programs with nonstandard names/locations. 1307 1308_ACEOF
|
| 1309ac_status=$?
|
878fi 879 880if test "$ac_init_help" = "recursive"; then 881 # If there are subdirs, report their specific --help.
| 1310fi 1311 1312if test "$ac_init_help" = "recursive"; then 1313 # If there are subdirs, report their specific --help.
|
882 ac_popdir=`pwd`
| |
883 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
| 1314 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
884 test -d $ac_dir || continue
| 1315 test -d "$ac_dir" || continue
|
885 ac_builddir=. 886
| 1316 ac_builddir=. 1317
|
887if test "$ac_dir" != .; then
| 1318case "$ac_dir" in 1319.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1320*)
|
888 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
| 1321 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
889 # A "../" for each directory in $ac_dir_suffix. 890 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 891else 892 ac_dir_suffix= ac_top_builddir= 893fi
| 1322 # A ".." for each directory in $ac_dir_suffix. 1323 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1324 case $ac_top_builddir_sub in 1325 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1326 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1327 esac ;; 1328esac 1329ac_abs_top_builddir=$ac_pwd 1330ac_abs_builddir=$ac_pwd$ac_dir_suffix 1331# for backward compatibility: 1332ac_top_builddir=$ac_top_build_prefix
|
894 895case $srcdir in
| 1333 1334case $srcdir in
|
896 .) # No --srcdir option. We are building in place.
| 1335 .) # We are building in place.
|
897 ac_srcdir=.
| 1336 ac_srcdir=.
|
898 if test -z "$ac_top_builddir"; then 899 ac_top_srcdir=. 900 else 901 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 902 fi ;; 903 [\\/]* | ?:[\\/]* ) # Absolute path.
| 1337 ac_top_srcdir=$ac_top_builddir_sub 1338 ac_abs_top_srcdir=$ac_pwd ;; 1339 [\\/]* | ?:[\\/]* ) # Absolute name.
|
904 ac_srcdir=$srcdir$ac_dir_suffix;
| 1340 ac_srcdir=$srcdir$ac_dir_suffix;
|
905 ac_top_srcdir=$srcdir ;; 906 *) # Relative path. 907 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 908 ac_top_srcdir=$ac_top_builddir$srcdir ;;
| 1341 ac_top_srcdir=$srcdir 1342 ac_abs_top_srcdir=$srcdir ;; 1343 *) # Relative name. 1344 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1345 ac_top_srcdir=$ac_top_build_prefix$srcdir 1346 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
909esac
| 1347esac
|
910# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 911# absolute. 912ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 913ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 914ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 915ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
| 1348ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
916
| 1349
|
917 cd $ac_dir 918 # Check for guested configure; otherwise get Cygnus style configure. 919 if test -f $ac_srcdir/configure.gnu; then 920 echo 921 $SHELL $ac_srcdir/configure.gnu --help=recursive 922 elif test -f $ac_srcdir/configure; then 923 echo 924 $SHELL $ac_srcdir/configure --help=recursive 925 elif test -f $ac_srcdir/configure.ac || 926 test -f $ac_srcdir/configure.in; then 927 echo 928 $ac_configure --help
| 1350 cd "$ac_dir" || { ac_status=$?; continue; } 1351 # Check for guested configure. 1352 if test -f "$ac_srcdir/configure.gnu"; then 1353 echo && 1354 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1355 elif test -f "$ac_srcdir/configure"; then 1356 echo && 1357 $SHELL "$ac_srcdir/configure" --help=recursive
|
929 else 930 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
| 1358 else 1359 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
931 fi 932 cd $ac_popdir
| 1360 fi || ac_status=$? 1361 cd "$ac_pwd" || { ac_status=$?; break; }
|
933 done 934fi 935
| 1362 done 1363fi 1364
|
936test -n "$ac_init_help" && exit 0
| 1365test -n "$ac_init_help" && exit $ac_status
|
937if $ac_init_version; then 938 cat <<\_ACEOF
| 1366if $ac_init_version; then 1367 cat <<\_ACEOF
|
| 1368configure 1369generated by GNU Autoconf 2.61
|
939
| 1370
|
940Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 941Free Software Foundation, Inc.
| 1371Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 13722002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
942This configure script is free software; the Free Software Foundation 943gives unlimited permission to copy, distribute and modify it. 944_ACEOF
| 1373This configure script is free software; the Free Software Foundation 1374gives unlimited permission to copy, distribute and modify it. 1375_ACEOF
|
945 exit 0
| 1376 exit
|
946fi
| 1377fi
|
947exec 5>config.log 948cat >&5 <<_ACEOF
| 1378cat >config.log <<_ACEOF
|
949This file contains any messages produced by compilers while 950running configure, to aid debugging if configure makes a mistake. 951 952It was created by $as_me, which was
| 1379This file contains any messages produced by compilers while 1380running configure, to aid debugging if configure makes a mistake. 1381 1382It was created by $as_me, which was
|
953generated by GNU Autoconf 2.57. Invocation command line was
| 1383generated by GNU Autoconf 2.61. Invocation command line was
|
954 955 $ $0 $@ 956 957_ACEOF
| 1384 1385 $ $0 $@ 1386 1387_ACEOF
|
| 1388exec 5>>config.log
|
958{ 959cat <<_ASUNAME 960## --------- ## 961## Platform. ## 962## --------- ## 963 964hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 965uname -m = `(uname -m) 2>/dev/null || echo unknown` 966uname -r = `(uname -r) 2>/dev/null || echo unknown` 967uname -s = `(uname -s) 2>/dev/null || echo unknown` 968uname -v = `(uname -v) 2>/dev/null || echo unknown` 969 970/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 971/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 972 973/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 974/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 975/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
| 1389{ 1390cat <<_ASUNAME 1391## --------- ## 1392## Platform. ## 1393## --------- ## 1394 1395hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1396uname -m = `(uname -m) 2>/dev/null || echo unknown` 1397uname -r = `(uname -r) 2>/dev/null || echo unknown` 1398uname -s = `(uname -s) 2>/dev/null || echo unknown` 1399uname -v = `(uname -v) 2>/dev/null || echo unknown` 1400 1401/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1402/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1403 1404/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1405/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1406/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
976hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
| 1407/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
977/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 978/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 979/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 980 981_ASUNAME 982 983as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 984for as_dir in $PATH 985do 986 IFS=$as_save_IFS 987 test -z "$as_dir" && as_dir=. 988 echo "PATH: $as_dir" 989done
| 1408/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1409/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1410/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1411 1412_ASUNAME 1413 1414as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1415for as_dir in $PATH 1416do 1417 IFS=$as_save_IFS 1418 test -z "$as_dir" && as_dir=. 1419 echo "PATH: $as_dir" 1420done
|
| 1421IFS=$as_save_IFS
|
990 991} >&5 992 993cat >&5 <<_ACEOF 994 995 996## ----------- ## 997## Core tests. ## 998## ----------- ## 999 1000_ACEOF 1001 1002 1003# Keep a trace of the command line. 1004# Strip out --no-create and --no-recursion so they do not pile up. 1005# Strip out --silent because we don't want to record it for future runs. 1006# Also quote any args containing shell meta-characters. 1007# Make two passes to allow for proper duplicate-argument suppression. 1008ac_configure_args= 1009ac_configure_args0= 1010ac_configure_args1=
| 1422 1423} >&5 1424 1425cat >&5 <<_ACEOF 1426 1427 1428## ----------- ## 1429## Core tests. ## 1430## ----------- ## 1431 1432_ACEOF 1433 1434 1435# Keep a trace of the command line. 1436# Strip out --no-create and --no-recursion so they do not pile up. 1437# Strip out --silent because we don't want to record it for future runs. 1438# Also quote any args containing shell meta-characters. 1439# Make two passes to allow for proper duplicate-argument suppression. 1440ac_configure_args= 1441ac_configure_args0= 1442ac_configure_args1=
|
1011ac_sep=
| |
1012ac_must_keep_next=false 1013for ac_pass in 1 2 1014do 1015 for ac_arg 1016 do 1017 case $ac_arg in 1018 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1019 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1020 | -silent | --silent | --silen | --sile | --sil) 1021 continue ;;
| 1443ac_must_keep_next=false 1444for ac_pass in 1 2 1445do 1446 for ac_arg 1447 do 1448 case $ac_arg in 1449 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1450 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1451 | -silent | --silent | --silen | --sile | --sil) 1452 continue ;;
|
1022 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
| 1453 *\'*)
|
1023 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1024 esac 1025 case $ac_pass in 1026 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1027 2) 1028 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1029 if test $ac_must_keep_next = true; then
| 1454 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1455 esac 1456 case $ac_pass in 1457 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1458 2) 1459 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1460 if test $ac_must_keep_next = true; then
|
1030 ac_must_keep_next=false # Got value, back to normal.
| 1461 ac_must_keep_next=false # Got value, back to normal.
|
1031 else
| 1462 else
|
1032 case $ac_arg in 1033 *=* | --config-cache | -C | -disable-* | --disable-* \ 1034 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1035 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1036 | -with-* | --with-* | -without-* | --without-* | --x) 1037 case "$ac_configure_args0 " in 1038 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1039 esac 1040 ;; 1041 -* ) ac_must_keep_next=true ;; 1042 esac
| 1463 case $ac_arg in 1464 *=* | --config-cache | -C | -disable-* | --disable-* \ 1465 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1466 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1467 | -with-* | --with-* | -without-* | --without-* | --x) 1468 case "$ac_configure_args0 " in 1469 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1470 esac 1471 ;; 1472 -* ) ac_must_keep_next=true ;; 1473 esac
|
1043 fi
| 1474 fi
|
1044 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1045 # Get rid of the leading space. 1046 ac_sep=" "
| 1475 ac_configure_args="$ac_configure_args '$ac_arg'"
|
1047 ;; 1048 esac 1049 done 1050done 1051$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1052$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1053 1054# When interrupted or exit'd, cleanup temporary files, and complete 1055# config.log. We remove comments because anyway the quotes in there 1056# would cause problems or look ugly.
| 1476 ;; 1477 esac 1478 done 1479done 1480$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1481$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1482 1483# When interrupted or exit'd, cleanup temporary files, and complete 1484# config.log. We remove comments because anyway the quotes in there 1485# would cause problems or look ugly.
|
1057# WARNING: Be sure not to use single quotes in there, as some shells, 1058# such as our DU 5.0 friend, will then `close' the trap.
| 1486# WARNING: Use '\'' to represent an apostrophe within the trap. 1487# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
1059trap 'exit_status=$? 1060 # Save into config.log some information that might help in debugging. 1061 { 1062 echo 1063 1064 cat <<\_ASBOX 1065## ---------------- ## 1066## Cache variables. ## 1067## ---------------- ## 1068_ASBOX 1069 echo 1070 # The following way of writing the cache mishandles newlines in values,
| 1488trap 'exit_status=$? 1489 # Save into config.log some information that might help in debugging. 1490 { 1491 echo 1492 1493 cat <<\_ASBOX 1494## ---------------- ## 1495## Cache variables. ## 1496## ---------------- ## 1497_ASBOX 1498 echo 1499 # The following way of writing the cache mishandles newlines in values,
|
1071{
| 1500( 1501 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1502 eval ac_val=\$$ac_var 1503 case $ac_val in #( 1504 *${as_nl}*) 1505 case $ac_var in #( 1506 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1507echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1508 esac 1509 case $ac_var in #( 1510 _ | IFS | as_nl) ;; #( 1511 *) $as_unset $ac_var ;; 1512 esac ;; 1513 esac 1514 done
|
1072 (set) 2>&1 |
| 1515 (set) 2>&1 |
|
1073 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1074 *ac_space=\ *)
| 1516 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1517 *${as_nl}ac_space=\ *)
|
1075 sed -n \
| 1518 sed -n \
|
1076 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1077 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1078 ;;
| 1519 "s/'\''/'\''\\\\'\'''\''/g; 1520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1521 ;; #(
|
1079 *)
| 1522 *)
|
1080 sed -n \ 1081 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
| 1523 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
1082 ;;
| 1524 ;;
|
1083 esac; 1084}
| 1525 esac | 1526 sort 1527)
|
1085 echo 1086 1087 cat <<\_ASBOX 1088## ----------------- ## 1089## Output variables. ## 1090## ----------------- ## 1091_ASBOX 1092 echo 1093 for ac_var in $ac_subst_vars 1094 do
| 1528 echo 1529 1530 cat <<\_ASBOX 1531## ----------------- ## 1532## Output variables. ## 1533## ----------------- ## 1534_ASBOX 1535 echo 1536 for ac_var in $ac_subst_vars 1537 do
|
1095 eval ac_val=$`echo $ac_var` 1096 echo "$ac_var='"'"'$ac_val'"'"'"
| 1538 eval ac_val=\$$ac_var 1539 case $ac_val in 1540 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1541 esac 1542 echo "$ac_var='\''$ac_val'\''"
|
1097 done | sort 1098 echo 1099 1100 if test -n "$ac_subst_files"; then 1101 cat <<\_ASBOX
| 1543 done | sort 1544 echo 1545 1546 if test -n "$ac_subst_files"; then 1547 cat <<\_ASBOX
|
1102## ------------- ## 1103## Output files. ## 1104## ------------- ##
| 1548## ------------------- ## 1549## File substitutions. ## 1550## ------------------- ##
|
1105_ASBOX 1106 echo 1107 for ac_var in $ac_subst_files 1108 do
| 1551_ASBOX 1552 echo 1553 for ac_var in $ac_subst_files 1554 do
|
1109 eval ac_val=$`echo $ac_var` 1110 echo "$ac_var='"'"'$ac_val'"'"'"
| 1555 eval ac_val=\$$ac_var 1556 case $ac_val in 1557 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1558 esac 1559 echo "$ac_var='\''$ac_val'\''"
|
1111 done | sort 1112 echo 1113 fi 1114 1115 if test -s confdefs.h; then 1116 cat <<\_ASBOX 1117## ----------- ## 1118## confdefs.h. ## 1119## ----------- ## 1120_ASBOX 1121 echo
| 1560 done | sort 1561 echo 1562 fi 1563 1564 if test -s confdefs.h; then 1565 cat <<\_ASBOX 1566## ----------- ## 1567## confdefs.h. ## 1568## ----------- ## 1569_ASBOX 1570 echo
|
1122 sed "/^$/d" confdefs.h | sort
| 1571 cat confdefs.h
|
1123 echo 1124 fi 1125 test "$ac_signal" != 0 && 1126 echo "$as_me: caught signal $ac_signal" 1127 echo "$as_me: exit $exit_status" 1128 } >&5
| 1572 echo 1573 fi 1574 test "$ac_signal" != 0 && 1575 echo "$as_me: caught signal $ac_signal" 1576 echo "$as_me: exit $exit_status" 1577 } >&5
|
1129 rm -f core core.* *.core && 1130 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
| 1578 rm -f core *.core core.conftest.* && 1579 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
1131 exit $exit_status
| 1580 exit $exit_status
|
1132 ' 0
| 1581' 0
|
1133for ac_signal in 1 2 13 15; do 1134 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1135done 1136ac_signal=0 1137 1138# confdefs.h avoids OS command line length limits that DEFS can exceed.
| 1582for ac_signal in 1 2 13 15; do 1583 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1584done 1585ac_signal=0 1586 1587# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1139rm -rf conftest* confdefs.h 1140# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1141echo >confdefs.h
| 1588rm -f -r conftest* confdefs.h
|
1142 1143# Predefined preprocessor variables. 1144 1145cat >>confdefs.h <<_ACEOF 1146#define PACKAGE_NAME "$PACKAGE_NAME" 1147_ACEOF 1148 1149 1150cat >>confdefs.h <<_ACEOF 1151#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1152_ACEOF 1153 1154 1155cat >>confdefs.h <<_ACEOF 1156#define PACKAGE_VERSION "$PACKAGE_VERSION" 1157_ACEOF 1158 1159 1160cat >>confdefs.h <<_ACEOF 1161#define PACKAGE_STRING "$PACKAGE_STRING" 1162_ACEOF 1163 1164 1165cat >>confdefs.h <<_ACEOF 1166#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1167_ACEOF 1168 1169 1170# Let the site file select an alternate cache file if it wants to. 1171# Prefer explicitly selected file to automatically selected ones.
| 1589 1590# Predefined preprocessor variables. 1591 1592cat >>confdefs.h <<_ACEOF 1593#define PACKAGE_NAME "$PACKAGE_NAME" 1594_ACEOF 1595 1596 1597cat >>confdefs.h <<_ACEOF 1598#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1599_ACEOF 1600 1601 1602cat >>confdefs.h <<_ACEOF 1603#define PACKAGE_VERSION "$PACKAGE_VERSION" 1604_ACEOF 1605 1606 1607cat >>confdefs.h <<_ACEOF 1608#define PACKAGE_STRING "$PACKAGE_STRING" 1609_ACEOF 1610 1611 1612cat >>confdefs.h <<_ACEOF 1613#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1614_ACEOF 1615 1616 1617# Let the site file select an alternate cache file if it wants to. 1618# Prefer explicitly selected file to automatically selected ones.
|
1172if test -z "$CONFIG_SITE"; then 1173 if test "x$prefix" != xNONE; then 1174 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1175 else 1176 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1177 fi
| 1619if test -n "$CONFIG_SITE"; then 1620 set x "$CONFIG_SITE" 1621elif test "x$prefix" != xNONE; then 1622 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1623else 1624 set x "$ac_default_prefix/share/config.site" \ 1625 "$ac_default_prefix/etc/config.site"
|
1178fi
| 1626fi
|
1179for ac_site_file in $CONFIG_SITE; do
| 1627shift 1628for ac_site_file 1629do
|
1180 if test -r "$ac_site_file"; then 1181 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1182echo "$as_me: loading site script $ac_site_file" >&6;} 1183 sed 's/^/| /' "$ac_site_file" >&5 1184 . "$ac_site_file" 1185 fi 1186done 1187 1188if test -r "$cache_file"; then 1189 # Some versions of bash will fail to source /dev/null (special 1190 # files actually), so we avoid doing that. 1191 if test -f "$cache_file"; then 1192 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1193echo "$as_me: loading cache $cache_file" >&6;} 1194 case $cache_file in
| 1630 if test -r "$ac_site_file"; then 1631 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1632echo "$as_me: loading site script $ac_site_file" >&6;} 1633 sed 's/^/| /' "$ac_site_file" >&5 1634 . "$ac_site_file" 1635 fi 1636done 1637 1638if test -r "$cache_file"; then 1639 # Some versions of bash will fail to source /dev/null (special 1640 # files actually), so we avoid doing that. 1641 if test -f "$cache_file"; then 1642 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1643echo "$as_me: loading cache $cache_file" >&6;} 1644 case $cache_file in
|
1195 [\\/]* | ?:[\\/]* ) . $cache_file;; 1196 *) . ./$cache_file;;
| 1645 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1646 *) . "./$cache_file";;
|
1197 esac 1198 fi 1199else 1200 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1201echo "$as_me: creating cache $cache_file" >&6;} 1202 >$cache_file 1203fi 1204 1205# Check that the precious variables saved in the cache have kept the same 1206# value. 1207ac_cache_corrupted=false
| 1647 esac 1648 fi 1649else 1650 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1651echo "$as_me: creating cache $cache_file" >&6;} 1652 >$cache_file 1653fi 1654 1655# Check that the precious variables saved in the cache have kept the same 1656# value. 1657ac_cache_corrupted=false
|
1208for ac_var in `(set) 2>&1 | 1209 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
| 1658for ac_var in $ac_precious_vars; do
|
1210 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1211 eval ac_new_set=\$ac_env_${ac_var}_set
| 1659 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1660 eval ac_new_set=\$ac_env_${ac_var}_set
|
1212 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1213 eval ac_new_val="\$ac_env_${ac_var}_value"
| 1661 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1662 eval ac_new_val=\$ac_env_${ac_var}_value
|
1214 case $ac_old_set,$ac_new_set in 1215 set,) 1216 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1217echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1218 ac_cache_corrupted=: ;; 1219 ,set) 1220 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1221echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1222 ac_cache_corrupted=: ;; 1223 ,);; 1224 *) 1225 if test "x$ac_old_val" != "x$ac_new_val"; then
| 1663 case $ac_old_set,$ac_new_set in 1664 set,) 1665 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1666echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1667 ac_cache_corrupted=: ;; 1668 ,set) 1669 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1670echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1671 ac_cache_corrupted=: ;; 1672 ,);; 1673 *) 1674 if test "x$ac_old_val" != "x$ac_new_val"; then
|
1226 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
| 1675 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
1227echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
| 1676echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1228 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
| 1677 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
1229echo "$as_me: former value: $ac_old_val" >&2;}
| 1678echo "$as_me: former value: $ac_old_val" >&2;}
|
1230 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
| 1679 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
1231echo "$as_me: current value: $ac_new_val" >&2;}
| 1680echo "$as_me: current value: $ac_new_val" >&2;}
|
1232 ac_cache_corrupted=:
| 1681 ac_cache_corrupted=:
|
1233 fi;; 1234 esac 1235 # Pass precious variables to config.status. 1236 if test "$ac_new_set" = set; then 1237 case $ac_new_val in
| 1682 fi;; 1683 esac 1684 # Pass precious variables to config.status. 1685 if test "$ac_new_set" = set; then 1686 case $ac_new_val in
|
1238 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1239 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
| 1687 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1240 *) ac_arg=$ac_var=$ac_new_val ;; 1241 esac 1242 case " $ac_configure_args " in 1243 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1244 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1245 esac 1246 fi 1247done 1248if $ac_cache_corrupted; then 1249 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1250echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1251 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1252echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1253 { (exit 1); exit 1; }; } 1254fi 1255
| 1688 *) ac_arg=$ac_var=$ac_new_val ;; 1689 esac 1690 case " $ac_configure_args " in 1691 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1692 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1693 esac 1694 fi 1695done 1696if $ac_cache_corrupted; then 1697 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1698echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1699 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1700echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1701 { (exit 1); exit 1; }; } 1702fi 1703
|
1256ac_ext=c 1257ac_cpp='$CPP $CPPFLAGS' 1258ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1259ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1260ac_compiler_gnu=$ac_cv_c_compiler_gnu
| |
1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276
| 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719
|
| 1720ac_ext=c 1721ac_cpp='$CPP $CPPFLAGS' 1722ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1723ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1724ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
1277 1278 1279
| 1725 1726 1727
|
1280
| |
1281ac_aux_dir=
| 1728ac_aux_dir=
|
1282for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1283 if test -f $ac_dir/install-sh; then
| 1729for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1730 if test -f "$ac_dir/install-sh"; then
|
1284 ac_aux_dir=$ac_dir 1285 ac_install_sh="$ac_aux_dir/install-sh -c" 1286 break
| 1731 ac_aux_dir=$ac_dir 1732 ac_install_sh="$ac_aux_dir/install-sh -c" 1733 break
|
1287 elif test -f $ac_dir/install.sh; then
| 1734 elif test -f "$ac_dir/install.sh"; then
|
1288 ac_aux_dir=$ac_dir 1289 ac_install_sh="$ac_aux_dir/install.sh -c" 1290 break
| 1735 ac_aux_dir=$ac_dir 1736 ac_install_sh="$ac_aux_dir/install.sh -c" 1737 break
|
1291 elif test -f $ac_dir/shtool; then
| 1738 elif test -f "$ac_dir/shtool"; then
|
1292 ac_aux_dir=$ac_dir 1293 ac_install_sh="$ac_aux_dir/shtool install -c" 1294 break 1295 fi 1296done 1297if test -z "$ac_aux_dir"; then
| 1739 ac_aux_dir=$ac_dir 1740 ac_install_sh="$ac_aux_dir/shtool install -c" 1741 break 1742 fi 1743done 1744if test -z "$ac_aux_dir"; then
|
1298 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1299echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
| 1745 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1746echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
1300 { (exit 1); exit 1; }; } 1301fi
| 1747 { (exit 1); exit 1; }; } 1748fi
|
1302ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1303ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1304ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
| |
1305
| 1749
|
| 1750# These three variables are undocumented and unsupported, 1751# and are intended to be withdrawn in a future Autoconf release. 1752# They can cause serious problems if a builder's source tree is in a directory 1753# whose full name contains unusual characters. 1754ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1755ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1756ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1757 1758
|
1306# Make sure we can run config.sub.
| 1759# Make sure we can run config.sub.
|
1307$ac_config_sub sun4 >/dev/null 2>&1 || 1308 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1309echo "$as_me: error: cannot run $ac_config_sub" >&2;}
| 1760$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1761 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1762echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
|
1310 { (exit 1); exit 1; }; } 1311
| 1763 { (exit 1); exit 1; }; } 1764
|
1312echo "$as_me:$LINENO: checking build system type" >&5 1313echo $ECHO_N "checking build system type... $ECHO_C" >&6
| 1765{ echo "$as_me:$LINENO: checking build system type" >&5 1766echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
|
1314if test "${ac_cv_build+set}" = set; then 1315 echo $ECHO_N "(cached) $ECHO_C" >&6 1316else
| 1767if test "${ac_cv_build+set}" = set; then 1768 echo $ECHO_N "(cached) $ECHO_C" >&6 1769else
|
1317 ac_cv_build_alias=$build_alias 1318test -z "$ac_cv_build_alias" && 1319 ac_cv_build_alias=`$ac_config_guess` 1320test -z "$ac_cv_build_alias" &&
| 1770 ac_build_alias=$build_alias 1771test "x$ac_build_alias" = x && 1772 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1773test "x$ac_build_alias" = x &&
|
1321 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1322echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1323 { (exit 1); exit 1; }; }
| 1774 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1775echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1776 { (exit 1); exit 1; }; }
|
1324ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1325 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1326echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
| 1777ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1778 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1779echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
|
1327 { (exit 1); exit 1; }; } 1328 1329fi
| 1780 { (exit 1); exit 1; }; } 1781 1782fi
|
1330echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1331echo "${ECHO_T}$ac_cv_build" >&6
| 1783{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1784echo "${ECHO_T}$ac_cv_build" >&6; } 1785case $ac_cv_build in 1786*-*-*) ;; 1787*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1788echo "$as_me: error: invalid value of canonical build" >&2;} 1789 { (exit 1); exit 1; }; };; 1790esac
|
1332build=$ac_cv_build
| 1791build=$ac_cv_build
|
1333build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1334build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1335build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
| 1792ac_save_IFS=$IFS; IFS='-' 1793set x $ac_cv_build 1794shift 1795build_cpu=$1 1796build_vendor=$2 1797shift; shift 1798# Remember, the first character of IFS is used to create $*, 1799# except with old shells: 1800build_os=$* 1801IFS=$ac_save_IFS 1802case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
1336 1337
| 1803 1804
|
1338echo "$as_me:$LINENO: checking host system type" >&5 1339echo $ECHO_N "checking host system type... $ECHO_C" >&6
| 1805{ echo "$as_me:$LINENO: checking host system type" >&5 1806echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
|
1340if test "${ac_cv_host+set}" = set; then 1341 echo $ECHO_N "(cached) $ECHO_C" >&6 1342else
| 1807if test "${ac_cv_host+set}" = set; then 1808 echo $ECHO_N "(cached) $ECHO_C" >&6 1809else
|
1343 ac_cv_host_alias=$host_alias 1344test -z "$ac_cv_host_alias" && 1345 ac_cv_host_alias=$ac_cv_build_alias 1346ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1347 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1348echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
| 1810 if test "x$host_alias" = x; then 1811 ac_cv_host=$ac_cv_build 1812else 1813 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1814 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1815echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
|
1349 { (exit 1); exit 1; }; }
| 1816 { (exit 1); exit 1; }; }
|
| 1817fi
|
1350 1351fi
| 1818 1819fi
|
1352echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1353echo "${ECHO_T}$ac_cv_host" >&6
| 1820{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1821echo "${ECHO_T}$ac_cv_host" >&6; } 1822case $ac_cv_host in 1823*-*-*) ;; 1824*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1825echo "$as_me: error: invalid value of canonical host" >&2;} 1826 { (exit 1); exit 1; }; };; 1827esac
|
1354host=$ac_cv_host
| 1828host=$ac_cv_host
|
1355host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1356host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1357host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
| 1829ac_save_IFS=$IFS; IFS='-' 1830set x $ac_cv_host 1831shift 1832host_cpu=$1 1833host_vendor=$2 1834shift; shift 1835# Remember, the first character of IFS is used to create $*, 1836# except with old shells: 1837host_os=$* 1838IFS=$ac_save_IFS 1839case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
1358 1359
| 1840 1841
|
1360echo "$as_me:$LINENO: checking target system type" >&5 1361echo $ECHO_N "checking target system type... $ECHO_C" >&6
| 1842{ echo "$as_me:$LINENO: checking target system type" >&5 1843echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
|
1362if test "${ac_cv_target+set}" = set; then 1363 echo $ECHO_N "(cached) $ECHO_C" >&6 1364else
| 1844if test "${ac_cv_target+set}" = set; then 1845 echo $ECHO_N "(cached) $ECHO_C" >&6 1846else
|
1365 ac_cv_target_alias=$target_alias 1366test "x$ac_cv_target_alias" = "x" && 1367 ac_cv_target_alias=$ac_cv_host_alias 1368ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1369 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1370echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
| 1847 if test "x$target_alias" = x; then 1848 ac_cv_target=$ac_cv_host 1849else 1850 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1851 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1852echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
|
1371 { (exit 1); exit 1; }; }
| 1853 { (exit 1); exit 1; }; }
|
| 1854fi
|
1372 1373fi
| 1855 1856fi
|
1374echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1375echo "${ECHO_T}$ac_cv_target" >&6
| 1857{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1858echo "${ECHO_T}$ac_cv_target" >&6; } 1859case $ac_cv_target in 1860*-*-*) ;; 1861*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1862echo "$as_me: error: invalid value of canonical target" >&2;} 1863 { (exit 1); exit 1; }; };; 1864esac
|
1376target=$ac_cv_target
| 1865target=$ac_cv_target
|
1377target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1378target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1379target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
| 1866ac_save_IFS=$IFS; IFS='-' 1867set x $ac_cv_target 1868shift 1869target_cpu=$1 1870target_vendor=$2 1871shift; shift 1872# Remember, the first character of IFS is used to create $*, 1873# except with old shells: 1874target_os=$* 1875IFS=$ac_save_IFS 1876case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
|
1380 1381 1382# The aliases save the names the user supplied, while $host etc. 1383# will get canonicalized. 1384test -n "$target_alias" && 1385 test "$program_prefix$program_suffix$program_transform_name" = \ 1386 NONENONEs,x,x, && 1387 program_prefix=${target_alias}- 1388 1389 1390 1391 1392 1393
| 1877 1878 1879# The aliases save the names the user supplied, while $host etc. 1880# will get canonicalized. 1881test -n "$target_alias" && 1882 test "$program_prefix$program_suffix$program_transform_name" = \ 1883 NONENONEs,x,x, && 1884 program_prefix=${target_alias}- 1885 1886 1887 1888 1889 1890
|
1394# Check whether --with-gcc or --without-gcc was given.
| 1891# Check whether --with-gcc was given.
|
1395if test "${with_gcc+set}" = set; then
| 1892if test "${with_gcc+set}" = set; then
|
1396 withval="$with_gcc"
| 1893 withval=$with_gcc; 1894fi
|
1397
| 1895
|
1398fi;
| |
1399 V_CCOPT="-O" 1400 V_INCLS="" 1401 if test "${srcdir}" != "." ; then 1402 V_INCLS="-I\$(srcdir)" 1403 fi 1404 if test "${CFLAGS+set}" = set; then 1405 LBL_CFLAGS="$CFLAGS" 1406 fi 1407 if test -z "$CC" ; then 1408 case "$target_os" in 1409 1410 bsdi*) 1411 # Extract the first word of "shlicc2", so it can be a program name with args. 1412set dummy shlicc2; ac_word=$2
| 1896 V_CCOPT="-O" 1897 V_INCLS="" 1898 if test "${srcdir}" != "." ; then 1899 V_INCLS="-I\$(srcdir)" 1900 fi 1901 if test "${CFLAGS+set}" = set; then 1902 LBL_CFLAGS="$CFLAGS" 1903 fi 1904 if test -z "$CC" ; then 1905 case "$target_os" in 1906 1907 bsdi*) 1908 # Extract the first word of "shlicc2", so it can be a program name with args. 1909set dummy shlicc2; ac_word=$2
|
1413echo "$as_me:$LINENO: checking for $ac_word" >&5 1414echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
| 1910{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1911echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1415if test "${ac_cv_prog_SHLICC2+set}" = set; then 1416 echo $ECHO_N "(cached) $ECHO_C" >&6 1417else 1418 if test -n "$SHLICC2"; then 1419 ac_cv_prog_SHLICC2="$SHLICC2" # Let the user override the test. 1420else 1421as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1422for as_dir in $PATH 1423do 1424 IFS=$as_save_IFS 1425 test -z "$as_dir" && as_dir=. 1426 for ac_exec_ext in '' $ac_executable_extensions; do
| 1912if test "${ac_cv_prog_SHLICC2+set}" = set; then 1913 echo $ECHO_N "(cached) $ECHO_C" >&6 1914else 1915 if test -n "$SHLICC2"; then 1916 ac_cv_prog_SHLICC2="$SHLICC2" # Let the user override the test. 1917else 1918as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1919for as_dir in $PATH 1920do 1921 IFS=$as_save_IFS 1922 test -z "$as_dir" && as_dir=. 1923 for ac_exec_ext in '' $ac_executable_extensions; do
|
1427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
| 1924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1428 ac_cv_prog_SHLICC2="yes" 1429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1430 break 2 1431 fi 1432done 1433done
| 1925 ac_cv_prog_SHLICC2="yes" 1926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1927 break 2 1928 fi 1929done 1930done
|
| 1931IFS=$as_save_IFS
|
1434 1435 test -z "$ac_cv_prog_SHLICC2" && ac_cv_prog_SHLICC2="no" 1436fi 1437fi 1438SHLICC2=$ac_cv_prog_SHLICC2 1439if test -n "$SHLICC2"; then
| 1932 1933 test -z "$ac_cv_prog_SHLICC2" && ac_cv_prog_SHLICC2="no" 1934fi 1935fi 1936SHLICC2=$ac_cv_prog_SHLICC2 1937if test -n "$SHLICC2"; then
|
1440 echo "$as_me:$LINENO: result: $SHLICC2" >&5 1441echo "${ECHO_T}$SHLICC2" >&6
| 1938 { echo "$as_me:$LINENO: result: $SHLICC2" >&5 1939echo "${ECHO_T}$SHLICC2" >&6; }
|
1442else
| 1940else
|
1443 echo "$as_me:$LINENO: result: no" >&5 1444echo "${ECHO_T}no" >&6
| 1941 { echo "$as_me:$LINENO: result: no" >&5 1942echo "${ECHO_T}no" >&6; }
|
1445fi 1446
| 1943fi 1944
|
| 1945
|
1447 if test $SHLICC2 = yes ; then 1448 CC=shlicc2 1449 export CC 1450 fi 1451 ;; 1452 esac 1453 fi 1454 if test -z "$CC" -a "$with_gcc" = no ; then 1455 CC=cc 1456 export CC 1457 fi 1458 ac_ext=c 1459ac_cpp='$CPP $CPPFLAGS' 1460ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1461ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1462ac_compiler_gnu=$ac_cv_c_compiler_gnu 1463if test -n "$ac_tool_prefix"; then 1464 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1465set dummy ${ac_tool_prefix}gcc; ac_word=$2
| 1946 if test $SHLICC2 = yes ; then 1947 CC=shlicc2 1948 export CC 1949 fi 1950 ;; 1951 esac 1952 fi 1953 if test -z "$CC" -a "$with_gcc" = no ; then 1954 CC=cc 1955 export CC 1956 fi 1957 ac_ext=c 1958ac_cpp='$CPP $CPPFLAGS' 1959ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1960ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1961ac_compiler_gnu=$ac_cv_c_compiler_gnu 1962if test -n "$ac_tool_prefix"; then 1963 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1964set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
1466echo "$as_me:$LINENO: checking for $ac_word" >&5 1467echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
| 1965{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1966echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1468if test "${ac_cv_prog_CC+set}" = set; then 1469 echo $ECHO_N "(cached) $ECHO_C" >&6 1470else 1471 if test -n "$CC"; then 1472 ac_cv_prog_CC="$CC" # Let the user override the test. 1473else 1474as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1475for as_dir in $PATH 1476do 1477 IFS=$as_save_IFS 1478 test -z "$as_dir" && as_dir=. 1479 for ac_exec_ext in '' $ac_executable_extensions; do
| 1967if test "${ac_cv_prog_CC+set}" = set; then 1968 echo $ECHO_N "(cached) $ECHO_C" >&6 1969else 1970 if test -n "$CC"; then 1971 ac_cv_prog_CC="$CC" # Let the user override the test. 1972else 1973as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1974for as_dir in $PATH 1975do 1976 IFS=$as_save_IFS 1977 test -z "$as_dir" && as_dir=. 1978 for ac_exec_ext in '' $ac_executable_extensions; do
|
1480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
| 1979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1481 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1483 break 2 1484 fi 1485done 1486done
| 1980 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1982 break 2 1983 fi 1984done 1985done
|
| 1986IFS=$as_save_IFS
|
1487 1488fi 1489fi 1490CC=$ac_cv_prog_CC 1491if test -n "$CC"; then
| 1987 1988fi 1989fi 1990CC=$ac_cv_prog_CC 1991if test -n "$CC"; then
|
1492 echo "$as_me:$LINENO: result: $CC" >&5 1493echo "${ECHO_T}$CC" >&6
| 1992 { echo "$as_me:$LINENO: result: $CC" >&5 1993echo "${ECHO_T}$CC" >&6; }
|
1494else
| 1994else
|
1495 echo "$as_me:$LINENO: result: no" >&5 1496echo "${ECHO_T}no" >&6
| 1995 { echo "$as_me:$LINENO: result: no" >&5 1996echo "${ECHO_T}no" >&6; }
|
1497fi 1498
| 1997fi 1998
|
| 1999
|
1499fi 1500if test -z "$ac_cv_prog_CC"; then 1501 ac_ct_CC=$CC 1502 # Extract the first word of "gcc", so it can be a program name with args. 1503set dummy gcc; ac_word=$2
| 2000fi 2001if test -z "$ac_cv_prog_CC"; then 2002 ac_ct_CC=$CC 2003 # Extract the first word of "gcc", so it can be a program name with args. 2004set dummy gcc; ac_word=$2
|
1504echo "$as_me:$LINENO: checking for $ac_word" >&5 1505echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
| 2005{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2006echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1506if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1507 echo $ECHO_N "(cached) $ECHO_C" >&6 1508else 1509 if test -n "$ac_ct_CC"; then 1510 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1511else 1512as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1513for as_dir in $PATH 1514do 1515 IFS=$as_save_IFS 1516 test -z "$as_dir" && as_dir=. 1517 for ac_exec_ext in '' $ac_executable_extensions; do
| 2007if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2008 echo $ECHO_N "(cached) $ECHO_C" >&6 2009else 2010 if test -n "$ac_ct_CC"; then 2011 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2012else 2013as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2014for as_dir in $PATH 2015do 2016 IFS=$as_save_IFS 2017 test -z "$as_dir" && as_dir=. 2018 for ac_exec_ext in '' $ac_executable_extensions; do
|
1518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
| 2019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1519 ac_cv_prog_ac_ct_CC="gcc" 1520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1521 break 2 1522 fi 1523done 1524done
| 2020 ac_cv_prog_ac_ct_CC="gcc" 2021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2022 break 2 2023 fi 2024done 2025done
|
| 2026IFS=$as_save_IFS
|
1525 1526fi 1527fi 1528ac_ct_CC=$ac_cv_prog_ac_ct_CC 1529if test -n "$ac_ct_CC"; then
| 2027 2028fi 2029fi 2030ac_ct_CC=$ac_cv_prog_ac_ct_CC 2031if test -n "$ac_ct_CC"; then
|
1530 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1531echo "${ECHO_T}$ac_ct_CC" >&6
| 2032 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2033echo "${ECHO_T}$ac_ct_CC" >&6; }
|
1532else
| 2034else
|
1533 echo "$as_me:$LINENO: result: no" >&5 1534echo "${ECHO_T}no" >&6
| 2035 { echo "$as_me:$LINENO: result: no" >&5 2036echo "${ECHO_T}no" >&6; }
|
1535fi 1536
| 2037fi 2038
|
1537 CC=$ac_ct_CC
| 2039 if test "x$ac_ct_CC" = x; then 2040 CC="" 2041 else 2042 case $cross_compiling:$ac_tool_warned in 2043yes:) 2044{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2045whose name does not start with the host triplet. If you think this 2046configuration is useful to you, please write to autoconf@gnu.org." >&5 2047echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2048whose name does not start with the host triplet. If you think this 2049configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2050ac_tool_warned=yes ;; 2051esac 2052 CC=$ac_ct_CC 2053 fi
|
1538else 1539 CC="$ac_cv_prog_CC" 1540fi 1541 1542if test -z "$CC"; then
| 2054else 2055 CC="$ac_cv_prog_CC" 2056fi 2057 2058if test -z "$CC"; then
|
1543 if test -n "$ac_tool_prefix"; then 1544 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
| 2059 if test -n "$ac_tool_prefix"; then 2060 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
1545set dummy ${ac_tool_prefix}cc; ac_word=$2
| 2061set dummy ${ac_tool_prefix}cc; ac_word=$2
|
1546echo "$as_me:$LINENO: checking for $ac_word" >&5 1547echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
| 2062{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2063echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1548if test "${ac_cv_prog_CC+set}" = set; then 1549 echo $ECHO_N "(cached) $ECHO_C" >&6 1550else 1551 if test -n "$CC"; then 1552 ac_cv_prog_CC="$CC" # Let the user override the test. 1553else 1554as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1555for as_dir in $PATH 1556do 1557 IFS=$as_save_IFS 1558 test -z "$as_dir" && as_dir=. 1559 for ac_exec_ext in '' $ac_executable_extensions; do
| 2064if test "${ac_cv_prog_CC+set}" = set; then 2065 echo $ECHO_N "(cached) $ECHO_C" >&6 2066else 2067 if test -n "$CC"; then 2068 ac_cv_prog_CC="$CC" # Let the user override the test. 2069else 2070as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2071for as_dir in $PATH 2072do 2073 IFS=$as_save_IFS 2074 test -z "$as_dir" && as_dir=. 2075 for ac_exec_ext in '' $ac_executable_extensions; do
|
1560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
| 2076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1561 ac_cv_prog_CC="${ac_tool_prefix}cc" 1562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1563 break 2 1564 fi 1565done 1566done
| 2077 ac_cv_prog_CC="${ac_tool_prefix}cc" 2078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2079 break 2 2080 fi 2081done 2082done
|
| 2083IFS=$as_save_IFS
|
1567 1568fi 1569fi 1570CC=$ac_cv_prog_CC 1571if test -n "$CC"; then
| 2084 2085fi 2086fi 2087CC=$ac_cv_prog_CC 2088if test -n "$CC"; then
|
1572 echo "$as_me:$LINENO: result: $CC" >&5 1573echo "${ECHO_T}$CC" >&6
| 2089 { echo "$as_me:$LINENO: result: $CC" >&5 2090echo "${ECHO_T}$CC" >&6; }
|
1574else
| 2091else
|
1575 echo "$as_me:$LINENO: result: no" >&5 1576echo "${ECHO_T}no" >&6
| 2092 { echo "$as_me:$LINENO: result: no" >&5 2093echo "${ECHO_T}no" >&6; }
|
1577fi 1578
| 2094fi 2095
|
1579fi 1580if test -z "$ac_cv_prog_CC"; then 1581 ac_ct_CC=$CC 1582 # Extract the first word of "cc", so it can be a program name with args. 1583set dummy cc; ac_word=$2 1584echo "$as_me:$LINENO: checking for $ac_word" >&5 1585echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1586if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1587 echo $ECHO_N "(cached) $ECHO_C" >&6 1588else 1589 if test -n "$ac_ct_CC"; then 1590 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1591else 1592as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1593for as_dir in $PATH 1594do 1595 IFS=$as_save_IFS 1596 test -z "$as_dir" && as_dir=. 1597 for ac_exec_ext in '' $ac_executable_extensions; do 1598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1599 ac_cv_prog_ac_ct_CC="cc" 1600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1601 break 2 1602 fi 1603done 1604done
| |
1605
| 2096
|
| 2097 fi
|
1606fi
| 2098fi
|
1607fi 1608ac_ct_CC=$ac_cv_prog_ac_ct_CC 1609if test -n "$ac_ct_CC"; then 1610 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1611echo "${ECHO_T}$ac_ct_CC" >&6 1612else 1613 echo "$as_me:$LINENO: result: no" >&5 1614echo "${ECHO_T}no" >&6 1615fi 1616 1617 CC=$ac_ct_CC 1618else 1619 CC="$ac_cv_prog_CC" 1620fi 1621 1622fi
| |
1623if test -z "$CC"; then 1624 # Extract the first word of "cc", so it can be a program name with args. 1625set dummy cc; ac_word=$2
| 2099if test -z "$CC"; then 2100 # Extract the first word of "cc", so it can be a program name with args. 2101set dummy cc; ac_word=$2
|
1626echo "$as_me:$LINENO: checking for $ac_word" >&5 1627echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
| 2102{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2103echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1628if test "${ac_cv_prog_CC+set}" = set; then 1629 echo $ECHO_N "(cached) $ECHO_C" >&6 1630else 1631 if test -n "$CC"; then 1632 ac_cv_prog_CC="$CC" # Let the user override the test. 1633else 1634 ac_prog_rejected=no 1635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1636for as_dir in $PATH 1637do 1638 IFS=$as_save_IFS 1639 test -z "$as_dir" && as_dir=. 1640 for ac_exec_ext in '' $ac_executable_extensions; do
| 2104if test "${ac_cv_prog_CC+set}" = set; then 2105 echo $ECHO_N "(cached) $ECHO_C" >&6 2106else 2107 if test -n "$CC"; then 2108 ac_cv_prog_CC="$CC" # Let the user override the test. 2109else 2110 ac_prog_rejected=no 2111as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2112for as_dir in $PATH 2113do 2114 IFS=$as_save_IFS 2115 test -z "$as_dir" && as_dir=. 2116 for ac_exec_ext in '' $ac_executable_extensions; do
|
1641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
| 2117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1642 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1643 ac_prog_rejected=yes 1644 continue 1645 fi 1646 ac_cv_prog_CC="cc" 1647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1648 break 2 1649 fi 1650done 1651done
| 2118 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2119 ac_prog_rejected=yes 2120 continue 2121 fi 2122 ac_cv_prog_CC="cc" 2123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2124 break 2 2125 fi 2126done 2127done
|
| 2128IFS=$as_save_IFS
|
1652 1653if test $ac_prog_rejected = yes; then 1654 # We found a bogon in the path, so make sure we never use it. 1655 set dummy $ac_cv_prog_CC 1656 shift 1657 if test $# != 0; then 1658 # We chose a different compiler from the bogus one. 1659 # However, it has the same basename, so the bogon will be chosen 1660 # first if we set CC to just the basename; use the full file name. 1661 shift 1662 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1663 fi 1664fi 1665fi 1666fi 1667CC=$ac_cv_prog_CC 1668if test -n "$CC"; then
| 2129 2130if test $ac_prog_rejected = yes; then 2131 # We found a bogon in the path, so make sure we never use it. 2132 set dummy $ac_cv_prog_CC 2133 shift 2134 if test $# != 0; then 2135 # We chose a different compiler from the bogus one. 2136 # However, it has the same basename, so the bogon will be chosen 2137 # first if we set CC to just the basename; use the full file name. 2138 shift 2139 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2140 fi 2141fi 2142fi 2143fi 2144CC=$ac_cv_prog_CC 2145if test -n "$CC"; then
|
1669 echo "$as_me:$LINENO: result: $CC" >&5 1670echo "${ECHO_T}$CC" >&6
| 2146 { echo "$as_me:$LINENO: result: $CC" >&5 2147echo "${ECHO_T}$CC" >&6; }
|
1671else
| 2148else
|
1672 echo "$as_me:$LINENO: result: no" >&5 1673echo "${ECHO_T}no" >&6
| 2149 { echo "$as_me:$LINENO: result: no" >&5 2150echo "${ECHO_T}no" >&6; }
|
1674fi 1675
| 2151fi 2152
|
| 2153
|
1676fi 1677if test -z "$CC"; then 1678 if test -n "$ac_tool_prefix"; then
| 2154fi 2155if test -z "$CC"; then 2156 if test -n "$ac_tool_prefix"; then
|
1679 for ac_prog in cl
| 2157 for ac_prog in cl.exe
|
1680 do 1681 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1682set dummy $ac_tool_prefix$ac_prog; ac_word=$2
| 2158 do 2159 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2160set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
1683echo "$as_me:$LINENO: checking for $ac_word" >&5 1684echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
| 2161{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2162echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1685if test "${ac_cv_prog_CC+set}" = set; then 1686 echo $ECHO_N "(cached) $ECHO_C" >&6 1687else 1688 if test -n "$CC"; then 1689 ac_cv_prog_CC="$CC" # Let the user override the test. 1690else 1691as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1692for as_dir in $PATH 1693do 1694 IFS=$as_save_IFS 1695 test -z "$as_dir" && as_dir=. 1696 for ac_exec_ext in '' $ac_executable_extensions; do
| 2163if test "${ac_cv_prog_CC+set}" = set; then 2164 echo $ECHO_N "(cached) $ECHO_C" >&6 2165else 2166 if test -n "$CC"; then 2167 ac_cv_prog_CC="$CC" # Let the user override the test. 2168else 2169as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2170for as_dir in $PATH 2171do 2172 IFS=$as_save_IFS 2173 test -z "$as_dir" && as_dir=. 2174 for ac_exec_ext in '' $ac_executable_extensions; do
|
1697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
| 2175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1698 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1700 break 2 1701 fi 1702done 1703done
| 2176 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2178 break 2 2179 fi 2180done 2181done
|
| 2182IFS=$as_save_IFS
|
1704 1705fi 1706fi 1707CC=$ac_cv_prog_CC 1708if test -n "$CC"; then
| 2183 2184fi 2185fi 2186CC=$ac_cv_prog_CC 2187if test -n "$CC"; then
|
1709 echo "$as_me:$LINENO: result: $CC" >&5 1710echo "${ECHO_T}$CC" >&6
| 2188 { echo "$as_me:$LINENO: result: $CC" >&5 2189echo "${ECHO_T}$CC" >&6; }
|
1711else
| 2190else
|
1712 echo "$as_me:$LINENO: result: no" >&5 1713echo "${ECHO_T}no" >&6
| 2191 { echo "$as_me:$LINENO: result: no" >&5 2192echo "${ECHO_T}no" >&6; }
|
1714fi 1715
| 2193fi 2194
|
| 2195
|
1716 test -n "$CC" && break 1717 done 1718fi 1719if test -z "$CC"; then 1720 ac_ct_CC=$CC
| 2196 test -n "$CC" && break 2197 done 2198fi 2199if test -z "$CC"; then 2200 ac_ct_CC=$CC
|
1721 for ac_prog in cl
| 2201 for ac_prog in cl.exe
|
1722do 1723 # Extract the first word of "$ac_prog", so it can be a program name with args. 1724set dummy $ac_prog; ac_word=$2
| 2202do 2203 # Extract the first word of "$ac_prog", so it can be a program name with args. 2204set dummy $ac_prog; ac_word=$2
|
1725echo "$as_me:$LINENO: checking for $ac_word" >&5 1726echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
| 2205{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2206echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1727if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1728 echo $ECHO_N "(cached) $ECHO_C" >&6 1729else 1730 if test -n "$ac_ct_CC"; then 1731 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1732else 1733as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1734for as_dir in $PATH 1735do 1736 IFS=$as_save_IFS 1737 test -z "$as_dir" && as_dir=. 1738 for ac_exec_ext in '' $ac_executable_extensions; do
| 2207if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2208 echo $ECHO_N "(cached) $ECHO_C" >&6 2209else 2210 if test -n "$ac_ct_CC"; then 2211 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2212else 2213as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2214for as_dir in $PATH 2215do 2216 IFS=$as_save_IFS 2217 test -z "$as_dir" && as_dir=. 2218 for ac_exec_ext in '' $ac_executable_extensions; do
|
1739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
| 2219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1740 ac_cv_prog_ac_ct_CC="$ac_prog" 1741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1742 break 2 1743 fi 1744done 1745done
| 2220 ac_cv_prog_ac_ct_CC="$ac_prog" 2221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2222 break 2 2223 fi 2224done 2225done
|
| 2226IFS=$as_save_IFS
|
1746 1747fi 1748fi 1749ac_ct_CC=$ac_cv_prog_ac_ct_CC 1750if test -n "$ac_ct_CC"; then
| 2227 2228fi 2229fi 2230ac_ct_CC=$ac_cv_prog_ac_ct_CC 2231if test -n "$ac_ct_CC"; then
|
1751 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1752echo "${ECHO_T}$ac_ct_CC" >&6
| 2232 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2233echo "${ECHO_T}$ac_ct_CC" >&6; }
|
1753else
| 2234else
|
1754 echo "$as_me:$LINENO: result: no" >&5 1755echo "${ECHO_T}no" >&6
| 2235 { echo "$as_me:$LINENO: result: no" >&5 2236echo "${ECHO_T}no" >&6; }
|
1756fi 1757
| 2237fi 2238
|
| 2239
|
1758 test -n "$ac_ct_CC" && break 1759done 1760
| 2240 test -n "$ac_ct_CC" && break 2241done 2242
|
1761 CC=$ac_ct_CC
| 2243 if test "x$ac_ct_CC" = x; then 2244 CC="" 2245 else 2246 case $cross_compiling:$ac_tool_warned in 2247yes:) 2248{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2249whose name does not start with the host triplet. If you think this 2250configuration is useful to you, please write to autoconf@gnu.org." >&5 2251echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2252whose name does not start with the host triplet. If you think this 2253configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2254ac_tool_warned=yes ;; 2255esac 2256 CC=$ac_ct_CC 2257 fi
|
1762fi 1763 1764fi 1765 1766 1767test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1768See \`config.log' for more details." >&5 1769echo "$as_me: error: no acceptable C compiler found in \$PATH 1770See \`config.log' for more details." >&2;} 1771 { (exit 1); exit 1; }; } 1772 1773# Provide some information about the compiler.
| 2258fi 2259 2260fi 2261 2262 2263test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2264See \`config.log' for more details." >&5 2265echo "$as_me: error: no acceptable C compiler found in \$PATH 2266See \`config.log' for more details." >&2;} 2267 { (exit 1); exit 1; }; } 2268 2269# Provide some information about the compiler.
|
1774echo "$as_me:$LINENO:" \ 1775 "checking for C compiler version" >&5
| 2270echo "$as_me:$LINENO: checking for C compiler version" >&5
|
1776ac_compiler=`set X $ac_compile; echo $2`
| 2271ac_compiler=`set X $ac_compile; echo $2`
|
1777{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1778 (eval $ac_compiler --version </dev/null >&5) 2>&5
| 2272{ (ac_try="$ac_compiler --version >&5" 2273case "(($ac_try" in 2274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2275 *) ac_try_echo=$ac_try;; 2276esac 2277eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2278 (eval "$ac_compiler --version >&5") 2>&5
|
1779 ac_status=$? 1780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1781 (exit $ac_status); }
| 2279 ac_status=$? 2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2281 (exit $ac_status); }
|
1782{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1783 (eval $ac_compiler -v </dev/null >&5) 2>&5
| 2282{ (ac_try="$ac_compiler -v >&5" 2283case "(($ac_try" in 2284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2285 *) ac_try_echo=$ac_try;; 2286esac 2287eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2288 (eval "$ac_compiler -v >&5") 2>&5
|
1784 ac_status=$? 1785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1786 (exit $ac_status); }
| 2289 ac_status=$? 2290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2291 (exit $ac_status); }
|
1787{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1788 (eval $ac_compiler -V </dev/null >&5) 2>&5
| 2292{ (ac_try="$ac_compiler -V >&5" 2293case "(($ac_try" in 2294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2295 *) ac_try_echo=$ac_try;; 2296esac 2297eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2298 (eval "$ac_compiler -V >&5") 2>&5
|
1789 ac_status=$? 1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1791 (exit $ac_status); } 1792 1793cat >conftest.$ac_ext <<_ACEOF
| 2299 ac_status=$? 2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2301 (exit $ac_status); } 2302 2303cat >conftest.$ac_ext <<_ACEOF
|
1794#line $LINENO "configure"
| |
1795/* confdefs.h. */ 1796_ACEOF 1797cat confdefs.h >>conftest.$ac_ext 1798cat >>conftest.$ac_ext <<_ACEOF 1799/* end confdefs.h. */ 1800 1801int 1802main () 1803{ 1804 1805 ; 1806 return 0; 1807} 1808_ACEOF 1809ac_clean_files_save=$ac_clean_files 1810ac_clean_files="$ac_clean_files a.out a.exe b.out" 1811# Try to create an executable without -o first, disregard a.out. 1812# It will help us diagnose broken compilers, and finding out an intuition 1813# of exeext.
| 2304/* confdefs.h. */ 2305_ACEOF 2306cat confdefs.h >>conftest.$ac_ext 2307cat >>conftest.$ac_ext <<_ACEOF 2308/* end confdefs.h. */ 2309 2310int 2311main () 2312{ 2313 2314 ; 2315 return 0; 2316} 2317_ACEOF 2318ac_clean_files_save=$ac_clean_files 2319ac_clean_files="$ac_clean_files a.out a.exe b.out" 2320# Try to create an executable without -o first, disregard a.out. 2321# It will help us diagnose broken compilers, and finding out an intuition 2322# of exeext.
|
1814echo "$as_me:$LINENO: checking for C compiler default output" >&5 1815echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
| 2323{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2324echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
|
1816ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
| 2325ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
1817if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1818 (eval $ac_link_default) 2>&5
| 2326# 2327# List of possible output files, starting from the most likely. 2328# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2329# only as a last resort. b.out is created by i960 compilers. 2330ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2331# 2332# The IRIX 6 linker writes into existing files which may not be 2333# executable, retaining their permissions. Remove them first so a 2334# subsequent execution test works. 2335ac_rmfiles= 2336for ac_file in $ac_files 2337do 2338 case $ac_file in 2339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2340 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2341 esac 2342done 2343rm -f $ac_rmfiles 2344 2345if { (ac_try="$ac_link_default" 2346case "(($ac_try" in 2347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2348 *) ac_try_echo=$ac_try;; 2349esac 2350eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2351 (eval "$ac_link_default") 2>&5
|
1819 ac_status=$? 1820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1821 (exit $ac_status); }; then
| 2352 ac_status=$? 2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2354 (exit $ac_status); }; then
|
1822 # Find the output, starting from the most likely. This scheme is 1823# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1824# resort. 1825 1826# Be careful to initialize this variable, since it used to be cached. 1827# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1828ac_cv_exeext= 1829# b.out is created by i960 compilers. 1830for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
| 2355 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2356# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2357# in a Makefile. We should not override ac_cv_exeext if it was cached, 2358# so that the user can short-circuit this test for compilers unknown to 2359# Autoconf. 2360for ac_file in $ac_files ''
|
1831do 1832 test -f "$ac_file" || continue 1833 case $ac_file in
| 2361do 2362 test -f "$ac_file" || continue 2363 case $ac_file in
|
1834 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1835 ;; 1836 conftest.$ac_ext ) 1837 # This is the source file. 1838 ;;
| 2364 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2365 ;;
|
1839 [ab].out )
| 2366 [ab].out )
|
1840 # We found the default executable, but exeext='' is most 1841 # certainly right. 1842 break;;
| 2367 # We found the default executable, but exeext='' is most 2368 # certainly right. 2369 break;;
|
1843 *.* )
| 2370 *.* )
|
1844 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1845 # FIXME: I believe we export ac_cv_exeext for Libtool, 1846 # but it would be cool to find out if it's true. Does anybody 1847 # maintain Libtool? --akim. 1848 export ac_cv_exeext 1849 break;;
| 2371 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2372 then :; else 2373 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2374 fi 2375 # We set ac_cv_exeext here because the later test for it is not 2376 # safe: cross compilers may not add the suffix if given an `-o' 2377 # argument, so we may need to know it at that point already. 2378 # Even if this section looks crufty: it has the advantage of 2379 # actually working. 2380 break;;
|
1850 * )
| 2381 * )
|
1851 break;;
| 2382 break;;
|
1852 esac 1853done
| 2383 esac 2384done
|
| 2385test "$ac_cv_exeext" = no && ac_cv_exeext= 2386
|
1854else
| 2387else
|
| 2388 ac_file='' 2389fi 2390 2391{ echo "$as_me:$LINENO: result: $ac_file" >&5 2392echo "${ECHO_T}$ac_file" >&6; } 2393if test -z "$ac_file"; then
|
1855 echo "$as_me: failed program was:" >&5 1856sed 's/^/| /' conftest.$ac_ext >&5 1857 1858{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 1859See \`config.log' for more details." >&5 1860echo "$as_me: error: C compiler cannot create executables 1861See \`config.log' for more details." >&2;} 1862 { (exit 77); exit 77; }; } 1863fi 1864 1865ac_exeext=$ac_cv_exeext
| 2394 echo "$as_me: failed program was:" >&5 2395sed 's/^/| /' conftest.$ac_ext >&5 2396 2397{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2398See \`config.log' for more details." >&5 2399echo "$as_me: error: C compiler cannot create executables 2400See \`config.log' for more details." >&2;} 2401 { (exit 77); exit 77; }; } 2402fi 2403 2404ac_exeext=$ac_cv_exeext
|
1866echo "$as_me:$LINENO: result: $ac_file" >&5 1867echo "${ECHO_T}$ac_file" >&6
| |
1868
| 2405
|
1869# Check the compiler produces executables we can run. If not, either
| 2406# Check that the compiler produces executables we can run. If not, either
|
1870# the compiler is broken, or we cross compile.
| 2407# the compiler is broken, or we cross compile.
|
1871echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1872echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
| 2408{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2409echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
|
1873# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1874# If not cross compiling, check that we can run a simple program. 1875if test "$cross_compiling" != yes; then 1876 if { ac_try='./$ac_file'
| 2410# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2411# If not cross compiling, check that we can run a simple program. 2412if test "$cross_compiling" != yes; then 2413 if { ac_try='./$ac_file'
|
1877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1878 (eval $ac_try) 2>&5
| 2414 { (case "(($ac_try" in 2415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2416 *) ac_try_echo=$ac_try;; 2417esac 2418eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2419 (eval "$ac_try") 2>&5
|
1879 ac_status=$? 1880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1881 (exit $ac_status); }; }; then 1882 cross_compiling=no 1883 else 1884 if test "$cross_compiling" = maybe; then 1885 cross_compiling=yes 1886 else 1887 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1888If you meant to cross compile, use \`--host'. 1889See \`config.log' for more details." >&5 1890echo "$as_me: error: cannot run C compiled programs. 1891If you meant to cross compile, use \`--host'. 1892See \`config.log' for more details." >&2;} 1893 { (exit 1); exit 1; }; } 1894 fi 1895 fi 1896fi
| 2420 ac_status=$? 2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2422 (exit $ac_status); }; }; then 2423 cross_compiling=no 2424 else 2425 if test "$cross_compiling" = maybe; then 2426 cross_compiling=yes 2427 else 2428 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2429If you meant to cross compile, use \`--host'. 2430See \`config.log' for more details." >&5 2431echo "$as_me: error: cannot run C compiled programs. 2432If you meant to cross compile, use \`--host'. 2433See \`config.log' for more details." >&2;} 2434 { (exit 1); exit 1; }; } 2435 fi 2436 fi 2437fi
|
1897echo "$as_me:$LINENO: result: yes" >&5 1898echo "${ECHO_T}yes" >&6
| 2438{ echo "$as_me:$LINENO: result: yes" >&5 2439echo "${ECHO_T}yes" >&6; }
|
1899 1900rm -f a.out a.exe conftest$ac_cv_exeext b.out 1901ac_clean_files=$ac_clean_files_save
| 2440 2441rm -f a.out a.exe conftest$ac_cv_exeext b.out 2442ac_clean_files=$ac_clean_files_save
|
1902# Check the compiler produces executables we can run. If not, either
| 2443# Check that the compiler produces executables we can run. If not, either
|
1903# the compiler is broken, or we cross compile.
| 2444# the compiler is broken, or we cross compile.
|
1904echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1905echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1906echo "$as_me:$LINENO: result: $cross_compiling" >&5 1907echo "${ECHO_T}$cross_compiling" >&6
| 2445{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2446echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2447{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2448echo "${ECHO_T}$cross_compiling" >&6; }
|
1908
| 2449
|
1909echo "$as_me:$LINENO: checking for suffix of executables" >&5 1910echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1911if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1912 (eval $ac_link) 2>&5
| 2450{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2451echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2452if { (ac_try="$ac_link" 2453case "(($ac_try" in 2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2455 *) ac_try_echo=$ac_try;; 2456esac 2457eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2458 (eval "$ac_link") 2>&5
|
1913 ac_status=$? 1914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1915 (exit $ac_status); }; then 1916 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1917# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1918# work properly (i.e., refer to `conftest.exe'), while it won't with 1919# `rm'. 1920for ac_file in conftest.exe conftest conftest.*; do 1921 test -f "$ac_file" || continue 1922 case $ac_file in
| 2459 ac_status=$? 2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2461 (exit $ac_status); }; then 2462 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2463# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2464# work properly (i.e., refer to `conftest.exe'), while it won't with 2465# `rm'. 2466for ac_file in conftest.exe conftest conftest.*; do 2467 test -f "$ac_file" || continue 2468 case $ac_file in
|
1923 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
| 2469 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
1924 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
| 2470 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
1925 export ac_cv_exeext 1926 break;;
| 2471 break;;
|
1927 * ) break;; 1928 esac 1929done 1930else 1931 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1932See \`config.log' for more details." >&5 1933echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1934See \`config.log' for more details." >&2;} 1935 { (exit 1); exit 1; }; } 1936fi 1937 1938rm -f conftest$ac_cv_exeext
| 2472 * ) break;; 2473 esac 2474done 2475else 2476 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2477See \`config.log' for more details." >&5 2478echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2479See \`config.log' for more details." >&2;} 2480 { (exit 1); exit 1; }; } 2481fi 2482 2483rm -f conftest$ac_cv_exeext
|
1939echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1940echo "${ECHO_T}$ac_cv_exeext" >&6
| 2484{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2485echo "${ECHO_T}$ac_cv_exeext" >&6; }
|
1941 1942rm -f conftest.$ac_ext 1943EXEEXT=$ac_cv_exeext 1944ac_exeext=$EXEEXT
| 2486 2487rm -f conftest.$ac_ext 2488EXEEXT=$ac_cv_exeext 2489ac_exeext=$EXEEXT
|
1945echo "$as_me:$LINENO: checking for suffix of object files" >&5 1946echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
| 2490{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2491echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
|
1947if test "${ac_cv_objext+set}" = set; then 1948 echo $ECHO_N "(cached) $ECHO_C" >&6 1949else 1950 cat >conftest.$ac_ext <<_ACEOF
| 2492if test "${ac_cv_objext+set}" = set; then 2493 echo $ECHO_N "(cached) $ECHO_C" >&6 2494else 2495 cat >conftest.$ac_ext <<_ACEOF
|
1951#line $LINENO "configure"
| |
1952/* confdefs.h. */ 1953_ACEOF 1954cat confdefs.h >>conftest.$ac_ext 1955cat >>conftest.$ac_ext <<_ACEOF 1956/* end confdefs.h. */ 1957 1958int 1959main () 1960{ 1961 1962 ; 1963 return 0; 1964} 1965_ACEOF 1966rm -f conftest.o conftest.obj
| 2496/* confdefs.h. */ 2497_ACEOF 2498cat confdefs.h >>conftest.$ac_ext 2499cat >>conftest.$ac_ext <<_ACEOF 2500/* end confdefs.h. */ 2501 2502int 2503main () 2504{ 2505 2506 ; 2507 return 0; 2508} 2509_ACEOF 2510rm -f conftest.o conftest.obj
|
1967if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1968 (eval $ac_compile) 2>&5
| 2511if { (ac_try="$ac_compile" 2512case "(($ac_try" in 2513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2514 *) ac_try_echo=$ac_try;; 2515esac 2516eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2517 (eval "$ac_compile") 2>&5
|
1969 ac_status=$? 1970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1971 (exit $ac_status); }; then
| 2518 ac_status=$? 2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2520 (exit $ac_status); }; then
|
1972 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
| 2521 for ac_file in conftest.o conftest.obj conftest.*; do 2522 test -f "$ac_file" || continue;
|
1973 case $ac_file in
| 2523 case $ac_file in
|
1974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
| 2524 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
|
1975 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1976 break;; 1977 esac 1978done 1979else 1980 echo "$as_me: failed program was:" >&5 1981sed 's/^/| /' conftest.$ac_ext >&5 1982 1983{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1984See \`config.log' for more details." >&5 1985echo "$as_me: error: cannot compute suffix of object files: cannot compile 1986See \`config.log' for more details." >&2;} 1987 { (exit 1); exit 1; }; } 1988fi 1989 1990rm -f conftest.$ac_cv_objext conftest.$ac_ext 1991fi
| 2525 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2526 break;; 2527 esac 2528done 2529else 2530 echo "$as_me: failed program was:" >&5 2531sed 's/^/| /' conftest.$ac_ext >&5 2532 2533{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2534See \`config.log' for more details." >&5 2535echo "$as_me: error: cannot compute suffix of object files: cannot compile 2536See \`config.log' for more details." >&2;} 2537 { (exit 1); exit 1; }; } 2538fi 2539 2540rm -f conftest.$ac_cv_objext conftest.$ac_ext 2541fi
|
1992echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1993echo "${ECHO_T}$ac_cv_objext" >&6
| 2542{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2543echo "${ECHO_T}$ac_cv_objext" >&6; }
|
1994OBJEXT=$ac_cv_objext 1995ac_objext=$OBJEXT
| 2544OBJEXT=$ac_cv_objext 2545ac_objext=$OBJEXT
|
1996echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 1997echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
| 2546{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2547echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
|
1998if test "${ac_cv_c_compiler_gnu+set}" = set; then 1999 echo $ECHO_N "(cached) $ECHO_C" >&6 2000else 2001 cat >conftest.$ac_ext <<_ACEOF
| 2548if test "${ac_cv_c_compiler_gnu+set}" = set; then 2549 echo $ECHO_N "(cached) $ECHO_C" >&6 2550else 2551 cat >conftest.$ac_ext <<_ACEOF
|
2002#line $LINENO "configure"
| |
2003/* confdefs.h. */ 2004_ACEOF 2005cat confdefs.h >>conftest.$ac_ext 2006cat >>conftest.$ac_ext <<_ACEOF 2007/* end confdefs.h. */ 2008 2009int 2010main () 2011{ 2012#ifndef __GNUC__ 2013 choke me 2014#endif 2015 2016 ; 2017 return 0; 2018} 2019_ACEOF 2020rm -f conftest.$ac_objext
| 2552/* confdefs.h. */ 2553_ACEOF 2554cat confdefs.h >>conftest.$ac_ext 2555cat >>conftest.$ac_ext <<_ACEOF 2556/* end confdefs.h. */ 2557 2558int 2559main () 2560{ 2561#ifndef __GNUC__ 2562 choke me 2563#endif 2564 2565 ; 2566 return 0; 2567} 2568_ACEOF 2569rm -f conftest.$ac_objext
|
2021if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2022 (eval $ac_compile) 2>&5
| 2570if { (ac_try="$ac_compile" 2571case "(($ac_try" in 2572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2573 *) ac_try_echo=$ac_try;; 2574esac 2575eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2576 (eval "$ac_compile") 2>conftest.er1
|
2023 ac_status=$?
| 2577 ac_status=$?
|
| 2578 grep -v '^ *+' conftest.er1 >conftest.err 2579 rm -f conftest.er1 2580 cat conftest.err >&5
|
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2025 (exit $ac_status); } && 2026 { ac_try='test -s conftest.$ac_objext' 2027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2028 (eval $ac_try) 2>&5 2029 ac_status=$? 2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2031 (exit $ac_status); }; }; then
| 2582 (exit $ac_status); } && { 2583 test -z "$ac_c_werror_flag" || 2584 test ! -s conftest.err 2585 } && test -s conftest.$ac_objext; then
|
2032 ac_compiler_gnu=yes 2033else 2034 echo "$as_me: failed program was:" >&5 2035sed 's/^/| /' conftest.$ac_ext >&5 2036
| 2586 ac_compiler_gnu=yes 2587else 2588 echo "$as_me: failed program was:" >&5 2589sed 's/^/| /' conftest.$ac_ext >&5 2590
|
2037ac_compiler_gnu=no
| 2591 ac_compiler_gnu=no
|
2038fi
| 2592fi
|
2039rm -f conftest.$ac_objext conftest.$ac_ext
| 2593 2594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2040ac_cv_c_compiler_gnu=$ac_compiler_gnu 2041 2042fi
| 2595ac_cv_c_compiler_gnu=$ac_compiler_gnu 2596 2597fi
|
2043echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2044echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
| 2598{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2599echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
|
2045GCC=`test $ac_compiler_gnu = yes && echo yes` 2046ac_test_CFLAGS=${CFLAGS+set} 2047ac_save_CFLAGS=$CFLAGS
| 2600GCC=`test $ac_compiler_gnu = yes && echo yes` 2601ac_test_CFLAGS=${CFLAGS+set} 2602ac_save_CFLAGS=$CFLAGS
|
2048CFLAGS="-g" 2049echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2050echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
| 2603{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2604echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
|
2051if test "${ac_cv_prog_cc_g+set}" = set; then 2052 echo $ECHO_N "(cached) $ECHO_C" >&6 2053else
| 2605if test "${ac_cv_prog_cc_g+set}" = set; then 2606 echo $ECHO_N "(cached) $ECHO_C" >&6 2607else
|
2054 cat >conftest.$ac_ext <<_ACEOF 2055#line $LINENO "configure"
| 2608 ac_save_c_werror_flag=$ac_c_werror_flag 2609 ac_c_werror_flag=yes 2610 ac_cv_prog_cc_g=no 2611 CFLAGS="-g" 2612 cat >conftest.$ac_ext <<_ACEOF
|
2056/* confdefs.h. */ 2057_ACEOF 2058cat confdefs.h >>conftest.$ac_ext 2059cat >>conftest.$ac_ext <<_ACEOF 2060/* end confdefs.h. */ 2061 2062int 2063main () 2064{ 2065 2066 ; 2067 return 0; 2068} 2069_ACEOF 2070rm -f conftest.$ac_objext
| 2613/* confdefs.h. */ 2614_ACEOF 2615cat confdefs.h >>conftest.$ac_ext 2616cat >>conftest.$ac_ext <<_ACEOF 2617/* end confdefs.h. */ 2618 2619int 2620main () 2621{ 2622 2623 ; 2624 return 0; 2625} 2626_ACEOF 2627rm -f conftest.$ac_objext
|
2071if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2072 (eval $ac_compile) 2>&5
| 2628if { (ac_try="$ac_compile" 2629case "(($ac_try" in 2630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2631 *) ac_try_echo=$ac_try;; 2632esac 2633eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2634 (eval "$ac_compile") 2>conftest.er1
|
2073 ac_status=$?
| 2635 ac_status=$?
|
| 2636 grep -v '^ *+' conftest.er1 >conftest.err 2637 rm -f conftest.er1 2638 cat conftest.err >&5
|
2074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2075 (exit $ac_status); } && 2076 { ac_try='test -s conftest.$ac_objext' 2077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2078 (eval $ac_try) 2>&5
| 2640 (exit $ac_status); } && { 2641 test -z "$ac_c_werror_flag" || 2642 test ! -s conftest.err 2643 } && test -s conftest.$ac_objext; then 2644 ac_cv_prog_cc_g=yes 2645else 2646 echo "$as_me: failed program was:" >&5 2647sed 's/^/| /' conftest.$ac_ext >&5 2648 2649 CFLAGS="" 2650 cat >conftest.$ac_ext <<_ACEOF 2651/* confdefs.h. */ 2652_ACEOF 2653cat confdefs.h >>conftest.$ac_ext 2654cat >>conftest.$ac_ext <<_ACEOF 2655/* end confdefs.h. */ 2656 2657int 2658main () 2659{ 2660 2661 ; 2662 return 0; 2663} 2664_ACEOF 2665rm -f conftest.$ac_objext 2666if { (ac_try="$ac_compile" 2667case "(($ac_try" in 2668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2669 *) ac_try_echo=$ac_try;; 2670esac 2671eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2672 (eval "$ac_compile") 2>conftest.er1
|
2079 ac_status=$?
| 2673 ac_status=$?
|
| 2674 grep -v '^ *+' conftest.er1 >conftest.err 2675 rm -f conftest.er1 2676 cat conftest.err >&5
|
2080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2081 (exit $ac_status); }; }; then
| 2678 (exit $ac_status); } && { 2679 test -z "$ac_c_werror_flag" || 2680 test ! -s conftest.err 2681 } && test -s conftest.$ac_objext; then 2682 : 2683else 2684 echo "$as_me: failed program was:" >&5 2685sed 's/^/| /' conftest.$ac_ext >&5 2686 2687 ac_c_werror_flag=$ac_save_c_werror_flag 2688 CFLAGS="-g" 2689 cat >conftest.$ac_ext <<_ACEOF 2690/* confdefs.h. */ 2691_ACEOF 2692cat confdefs.h >>conftest.$ac_ext 2693cat >>conftest.$ac_ext <<_ACEOF 2694/* end confdefs.h. */ 2695 2696int 2697main () 2698{ 2699 2700 ; 2701 return 0; 2702} 2703_ACEOF 2704rm -f conftest.$ac_objext 2705if { (ac_try="$ac_compile" 2706case "(($ac_try" in 2707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2708 *) ac_try_echo=$ac_try;; 2709esac 2710eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2711 (eval "$ac_compile") 2>conftest.er1 2712 ac_status=$? 2713 grep -v '^ *+' conftest.er1 >conftest.err 2714 rm -f conftest.er1 2715 cat conftest.err >&5 2716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2717 (exit $ac_status); } && { 2718 test -z "$ac_c_werror_flag" || 2719 test ! -s conftest.err 2720 } && test -s conftest.$ac_objext; then
|
2082 ac_cv_prog_cc_g=yes 2083else 2084 echo "$as_me: failed program was:" >&5 2085sed 's/^/| /' conftest.$ac_ext >&5 2086
| 2721 ac_cv_prog_cc_g=yes 2722else 2723 echo "$as_me: failed program was:" >&5 2724sed 's/^/| /' conftest.$ac_ext >&5 2725
|
2087ac_cv_prog_cc_g=no
| 2726
|
2088fi
| 2727fi
|
2089rm -f conftest.$ac_objext conftest.$ac_ext
| 2728 2729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2090fi
| 2730fi
|
2091echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2092echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
| 2731 2732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2733fi 2734 2735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2736 ac_c_werror_flag=$ac_save_c_werror_flag 2737fi 2738{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2739echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
|
2093if test "$ac_test_CFLAGS" = set; then 2094 CFLAGS=$ac_save_CFLAGS 2095elif test $ac_cv_prog_cc_g = yes; then 2096 if test "$GCC" = yes; then 2097 CFLAGS="-g -O2" 2098 else 2099 CFLAGS="-g" 2100 fi 2101else 2102 if test "$GCC" = yes; then 2103 CFLAGS="-O2" 2104 else 2105 CFLAGS= 2106 fi 2107fi
| 2740if test "$ac_test_CFLAGS" = set; then 2741 CFLAGS=$ac_save_CFLAGS 2742elif test $ac_cv_prog_cc_g = yes; then 2743 if test "$GCC" = yes; then 2744 CFLAGS="-g -O2" 2745 else 2746 CFLAGS="-g" 2747 fi 2748else 2749 if test "$GCC" = yes; then 2750 CFLAGS="-O2" 2751 else 2752 CFLAGS= 2753 fi 2754fi
|
2108echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2109echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2110if test "${ac_cv_prog_cc_stdc+set}" = set; then
| 2755{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2756echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2757if test "${ac_cv_prog_cc_c89+set}" = set; then
|
2111 echo $ECHO_N "(cached) $ECHO_C" >&6 2112else
| 2758 echo $ECHO_N "(cached) $ECHO_C" >&6 2759else
|
2113 ac_cv_prog_cc_stdc=no
| 2760 ac_cv_prog_cc_c89=no
|
2114ac_save_CC=$CC 2115cat >conftest.$ac_ext <<_ACEOF
| 2761ac_save_CC=$CC 2762cat >conftest.$ac_ext <<_ACEOF
|
2116#line $LINENO "configure"
| |
2117/* confdefs.h. */ 2118_ACEOF 2119cat confdefs.h >>conftest.$ac_ext 2120cat >>conftest.$ac_ext <<_ACEOF 2121/* end confdefs.h. */ 2122#include <stdarg.h> 2123#include <stdio.h> 2124#include <sys/types.h> 2125#include <sys/stat.h> 2126/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2127struct buf { int x; }; 2128FILE * (*rcsopen) (struct buf *, struct stat *, int); 2129static char *e (p, i) 2130 char **p; 2131 int i; 2132{ 2133 return p[i]; 2134} 2135static char *f (char * (*g) (char **, int), char **p, ...) 2136{ 2137 char *s; 2138 va_list v; 2139 va_start (v,p); 2140 s = g (p, va_arg (v,int)); 2141 va_end (v); 2142 return s; 2143}
| 2763/* confdefs.h. */ 2764_ACEOF 2765cat confdefs.h >>conftest.$ac_ext 2766cat >>conftest.$ac_ext <<_ACEOF 2767/* end confdefs.h. */ 2768#include <stdarg.h> 2769#include <stdio.h> 2770#include <sys/types.h> 2771#include <sys/stat.h> 2772/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2773struct buf { int x; }; 2774FILE * (*rcsopen) (struct buf *, struct stat *, int); 2775static char *e (p, i) 2776 char **p; 2777 int i; 2778{ 2779 return p[i]; 2780} 2781static char *f (char * (*g) (char **, int), char **p, ...) 2782{ 2783 char *s; 2784 va_list v; 2785 va_start (v,p); 2786 s = g (p, va_arg (v,int)); 2787 va_end (v); 2788 return s; 2789}
|
| 2790 2791/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2792 function prototypes and stuff, but not '\xHH' hex character constants. 2793 These don't provoke an error unfortunately, instead are silently treated 2794 as 'x'. The following induces an error, until -std is added to get 2795 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2796 array size at least. It's necessary to write '\x00'==0 to get something 2797 that's true only with -std. */ 2798int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2799 2800/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2801 inside strings and character constants. */ 2802#define FOO(x) 'x' 2803int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2804
|
2144int test (int i, double x); 2145struct s1 {int (*f) (int a);}; 2146struct s2 {int (*f) (double a);}; 2147int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2148int argc; 2149char **argv; 2150int 2151main () 2152{ 2153return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2154 ; 2155 return 0; 2156} 2157_ACEOF
| 2805int test (int i, double x); 2806struct s1 {int (*f) (int a);}; 2807struct s2 {int (*f) (double a);}; 2808int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2809int argc; 2810char **argv; 2811int 2812main () 2813{ 2814return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2815 ; 2816 return 0; 2817} 2818_ACEOF
|
2158# Don't try gcc -ansi; that turns off useful extensions and 2159# breaks some systems' header files. 2160# AIX -qlanglvl=ansi 2161# Ultrix and OSF/1 -std1 2162# HP-UX 10.20 and later -Ae 2163# HP-UX older versions -Aa -D_HPUX_SOURCE 2164# SVR4 -Xc -D__EXTENSIONS__ 2165for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
| 2819for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2820 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
2166do 2167 CC="$ac_save_CC $ac_arg" 2168 rm -f conftest.$ac_objext
| 2821do 2822 CC="$ac_save_CC $ac_arg" 2823 rm -f conftest.$ac_objext
|
2169if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2170 (eval $ac_compile) 2>&5
| 2824if { (ac_try="$ac_compile" 2825case "(($ac_try" in 2826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2827 *) ac_try_echo=$ac_try;; 2828esac 2829eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2830 (eval "$ac_compile") 2>conftest.er1
|
2171 ac_status=$?
| 2831 ac_status=$?
|
| 2832 grep -v '^ *+' conftest.er1 >conftest.err 2833 rm -f conftest.er1 2834 cat conftest.err >&5
|
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2173 (exit $ac_status); } && 2174 { ac_try='test -s conftest.$ac_objext' 2175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2176 (eval $ac_try) 2>&5 2177 ac_status=$? 2178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2179 (exit $ac_status); }; }; then 2180 ac_cv_prog_cc_stdc=$ac_arg 2181break
| 2836 (exit $ac_status); } && { 2837 test -z "$ac_c_werror_flag" || 2838 test ! -s conftest.err 2839 } && test -s conftest.$ac_objext; then 2840 ac_cv_prog_cc_c89=$ac_arg
|
2182else 2183 echo "$as_me: failed program was:" >&5 2184sed 's/^/| /' conftest.$ac_ext >&5 2185
| 2841else 2842 echo "$as_me: failed program was:" >&5 2843sed 's/^/| /' conftest.$ac_ext >&5 2844
|
| 2845
|
2186fi
| 2846fi
|
2187rm -f conftest.$ac_objext
| 2847 2848rm -f core conftest.err conftest.$ac_objext 2849 test "x$ac_cv_prog_cc_c89" != "xno" && break
|
2188done
| 2850done
|
2189rm -f conftest.$ac_ext conftest.$ac_objext
| 2851rm -f conftest.$ac_ext
|
2190CC=$ac_save_CC 2191 2192fi
| 2852CC=$ac_save_CC 2853 2854fi
|
2193 2194case "x$ac_cv_prog_cc_stdc" in 2195 x|xno) 2196 echo "$as_me:$LINENO: result: none needed" >&5 2197echo "${ECHO_T}none needed" >&6 ;;
| 2855# AC_CACHE_VAL 2856case "x$ac_cv_prog_cc_c89" in 2857 x) 2858 { echo "$as_me:$LINENO: result: none needed" >&5 2859echo "${ECHO_T}none needed" >&6; } ;; 2860 xno) 2861 { echo "$as_me:$LINENO: result: unsupported" >&5 2862echo "${ECHO_T}unsupported" >&6; } ;;
|
2198 *)
| 2863 *)
|
2199 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2200echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2201 CC="$CC $ac_cv_prog_cc_stdc" ;;
| 2864 CC="$CC $ac_cv_prog_cc_c89" 2865 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2866echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
|
2202esac 2203
| 2867esac 2868
|
2204# Some people use a C++ compiler to compile C. Since we use `exit', 2205# in C++ we need to declare it. In case someone uses the same compiler 2206# for both compiling C and C++ we need to have the C++ compiler decide 2207# the declaration of exit, since it's the most demanding environment. 2208cat >conftest.$ac_ext <<_ACEOF 2209#ifndef __cplusplus 2210 choke me 2211#endif 2212_ACEOF 2213rm -f conftest.$ac_objext 2214if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2215 (eval $ac_compile) 2>&5 2216 ac_status=$? 2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2218 (exit $ac_status); } && 2219 { ac_try='test -s conftest.$ac_objext' 2220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2221 (eval $ac_try) 2>&5 2222 ac_status=$? 2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2224 (exit $ac_status); }; }; then 2225 for ac_declaration in \ 2226 ''\ 2227 '#include <stdlib.h>' \ 2228 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2229 'extern "C" void std::exit (int); using std::exit;' \ 2230 'extern "C" void exit (int) throw ();' \ 2231 'extern "C" void exit (int);' \ 2232 'void exit (int);' 2233do 2234 cat >conftest.$ac_ext <<_ACEOF 2235#line $LINENO "configure" 2236/* confdefs.h. */ 2237_ACEOF 2238cat confdefs.h >>conftest.$ac_ext 2239cat >>conftest.$ac_ext <<_ACEOF 2240/* end confdefs.h. */ 2241#include <stdlib.h> 2242$ac_declaration 2243int 2244main () 2245{ 2246exit (42); 2247 ; 2248 return 0; 2249} 2250_ACEOF 2251rm -f conftest.$ac_objext 2252if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2253 (eval $ac_compile) 2>&5 2254 ac_status=$? 2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2256 (exit $ac_status); } && 2257 { ac_try='test -s conftest.$ac_objext' 2258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2259 (eval $ac_try) 2>&5 2260 ac_status=$? 2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2262 (exit $ac_status); }; }; then 2263 : 2264else 2265 echo "$as_me: failed program was:" >&5 2266sed 's/^/| /' conftest.$ac_ext >&5
| |
2267
| 2869
|
2268continue 2269fi 2270rm -f conftest.$ac_objext conftest.$ac_ext 2271 cat >conftest.$ac_ext <<_ACEOF 2272#line $LINENO "configure" 2273/* confdefs.h. */ 2274_ACEOF 2275cat confdefs.h >>conftest.$ac_ext 2276cat >>conftest.$ac_ext <<_ACEOF 2277/* end confdefs.h. */ 2278$ac_declaration 2279int 2280main () 2281{ 2282exit (42); 2283 ; 2284 return 0; 2285} 2286_ACEOF 2287rm -f conftest.$ac_objext 2288if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2289 (eval $ac_compile) 2>&5 2290 ac_status=$? 2291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2292 (exit $ac_status); } && 2293 { ac_try='test -s conftest.$ac_objext' 2294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2295 (eval $ac_try) 2>&5 2296 ac_status=$? 2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2298 (exit $ac_status); }; }; then 2299 break 2300else 2301 echo "$as_me: failed program was:" >&5 2302sed 's/^/| /' conftest.$ac_ext >&5 2303 2304fi 2305rm -f conftest.$ac_objext conftest.$ac_ext 2306done 2307rm -f conftest* 2308if test -n "$ac_declaration"; then 2309 echo '#ifdef __cplusplus' >>confdefs.h 2310 echo $ac_declaration >>confdefs.h 2311 echo '#endif' >>confdefs.h 2312fi 2313 2314else 2315 echo "$as_me: failed program was:" >&5 2316sed 's/^/| /' conftest.$ac_ext >&5 2317 2318fi 2319rm -f conftest.$ac_objext conftest.$ac_ext
| |
2320ac_ext=c 2321ac_cpp='$CPP $CPPFLAGS' 2322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2324ac_compiler_gnu=$ac_cv_c_compiler_gnu 2325 2326 if test "$GCC" = yes ; then 2327 if test "$SHLICC2" = yes ; then 2328 ac_cv_lbl_gcc_vers=2 2329 V_CCOPT="-O2" 2330 else
| 2870ac_ext=c 2871ac_cpp='$CPP $CPPFLAGS' 2872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2874ac_compiler_gnu=$ac_cv_c_compiler_gnu 2875 2876 if test "$GCC" = yes ; then 2877 if test "$SHLICC2" = yes ; then 2878 ac_cv_lbl_gcc_vers=2 2879 V_CCOPT="-O2" 2880 else
|
2331 echo "$as_me:$LINENO: checking gcc version" >&5 2332echo $ECHO_N "checking gcc version... $ECHO_C" >&6
| 2881 { echo "$as_me:$LINENO: checking gcc version" >&5 2882echo $ECHO_N "checking gcc version... $ECHO_C" >&6; }
|
2333 if test "${ac_cv_lbl_gcc_vers+set}" = set; then 2334 echo $ECHO_N "(cached) $ECHO_C" >&6 2335else 2336 ac_cv_lbl_gcc_vers=`$CC -v 2>&1 | \ 2337 sed -e '/^gcc version /!d' \ 2338 -e 's/^gcc version //' \ 2339 -e 's/ .*//' -e 's/^[^0-9]*//' \ 2340 -e 's/\..*//'` 2341fi 2342
| 2883 if test "${ac_cv_lbl_gcc_vers+set}" = set; then 2884 echo $ECHO_N "(cached) $ECHO_C" >&6 2885else 2886 ac_cv_lbl_gcc_vers=`$CC -v 2>&1 | \ 2887 sed -e '/^gcc version /!d' \ 2888 -e 's/^gcc version //' \ 2889 -e 's/ .*//' -e 's/^[^0-9]*//' \ 2890 -e 's/\..*//'` 2891fi 2892
|
2343 echo "$as_me:$LINENO: result: $ac_cv_lbl_gcc_vers" >&5 2344echo "${ECHO_T}$ac_cv_lbl_gcc_vers" >&6
| 2893 { echo "$as_me:$LINENO: result: $ac_cv_lbl_gcc_vers" >&5 2894echo "${ECHO_T}$ac_cv_lbl_gcc_vers" >&6; }
|
2345 if test $ac_cv_lbl_gcc_vers -gt 1 ; then 2346 V_CCOPT="-O2" 2347 fi 2348 fi 2349 else
| 2895 if test $ac_cv_lbl_gcc_vers -gt 1 ; then 2896 V_CCOPT="-O2" 2897 fi 2898 fi 2899 else
|
2350 echo "$as_me:$LINENO: checking that $CC handles ansi prototypes" >&5 2351echo $ECHO_N "checking that $CC handles ansi prototypes... $ECHO_C" >&6
| 2900 { echo "$as_me:$LINENO: checking that $CC handles ansi prototypes" >&5 2901echo $ECHO_N "checking that $CC handles ansi prototypes... $ECHO_C" >&6; }
|
2352 if test "${ac_cv_lbl_cc_ansi_prototypes+set}" = set; then 2353 echo $ECHO_N "(cached) $ECHO_C" >&6 2354else 2355 2356cat >conftest.$ac_ext <<_ACEOF
| 2902 if test "${ac_cv_lbl_cc_ansi_prototypes+set}" = set; then 2903 echo $ECHO_N "(cached) $ECHO_C" >&6 2904else 2905 2906cat >conftest.$ac_ext <<_ACEOF
|
2357#line $LINENO "configure"
| |
2358/* confdefs.h. */ 2359_ACEOF 2360cat confdefs.h >>conftest.$ac_ext 2361cat >>conftest.$ac_ext <<_ACEOF 2362/* end confdefs.h. */ 2363#include <sys/types.h> 2364int 2365main () 2366{ 2367int frob(int, char *) 2368 ; 2369 return 0; 2370} 2371_ACEOF 2372rm -f conftest.$ac_objext
| 2907/* confdefs.h. */ 2908_ACEOF 2909cat confdefs.h >>conftest.$ac_ext 2910cat >>conftest.$ac_ext <<_ACEOF 2911/* end confdefs.h. */ 2912#include <sys/types.h> 2913int 2914main () 2915{ 2916int frob(int, char *) 2917 ; 2918 return 0; 2919} 2920_ACEOF 2921rm -f conftest.$ac_objext
|
2373if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2374 (eval $ac_compile) 2>&5
| 2922if { (ac_try="$ac_compile" 2923case "(($ac_try" in 2924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2925 *) ac_try_echo=$ac_try;; 2926esac 2927eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2928 (eval "$ac_compile") 2>conftest.er1
|
2375 ac_status=$?
| 2929 ac_status=$?
|
| 2930 grep -v '^ *+' conftest.er1 >conftest.err 2931 rm -f conftest.er1 2932 cat conftest.err >&5
|
2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2377 (exit $ac_status); } && 2378 { ac_try='test -s conftest.$ac_objext' 2379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2380 (eval $ac_try) 2>&5 2381 ac_status=$? 2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2383 (exit $ac_status); }; }; then
| 2934 (exit $ac_status); } && { 2935 test -z "$ac_c_werror_flag" || 2936 test ! -s conftest.err 2937 } && test -s conftest.$ac_objext; then
|
2384 ac_cv_lbl_cc_ansi_prototypes=yes 2385else 2386 echo "$as_me: failed program was:" >&5 2387sed 's/^/| /' conftest.$ac_ext >&5 2388
| 2938 ac_cv_lbl_cc_ansi_prototypes=yes 2939else 2940 echo "$as_me: failed program was:" >&5 2941sed 's/^/| /' conftest.$ac_ext >&5 2942
|
2389ac_cv_lbl_cc_ansi_prototypes=no
| 2943 ac_cv_lbl_cc_ansi_prototypes=no
|
2390fi
| 2944fi
|
2391rm -f conftest.$ac_objext conftest.$ac_ext
| 2945 2946rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2392fi 2393
| 2947fi 2948
|
2394 echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_ansi_prototypes" >&5 2395echo "${ECHO_T}$ac_cv_lbl_cc_ansi_prototypes" >&6
| 2949 { echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_ansi_prototypes" >&5 2950echo "${ECHO_T}$ac_cv_lbl_cc_ansi_prototypes" >&6; }
|
2396 if test $ac_cv_lbl_cc_ansi_prototypes = no ; then 2397 case "$target_os" in 2398 2399 hpux*)
| 2951 if test $ac_cv_lbl_cc_ansi_prototypes = no ; then 2952 case "$target_os" in 2953 2954 hpux*)
|
2400 echo "$as_me:$LINENO: checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)" >&5 2401echo $ECHO_N "checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)... $ECHO_C" >&6
| 2955 { echo "$as_me:$LINENO: checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)" >&5 2956echo $ECHO_N "checking for HP-UX ansi compiler ($CC -Aa -D_HPUX_SOURCE)... $ECHO_C" >&6; }
|
2402 savedcflags="$CFLAGS" 2403 CFLAGS="-Aa -D_HPUX_SOURCE $CFLAGS" 2404 if test "${ac_cv_lbl_cc_hpux_cc_aa+set}" = set; then 2405 echo $ECHO_N "(cached) $ECHO_C" >&6 2406else 2407 cat >conftest.$ac_ext <<_ACEOF
| 2957 savedcflags="$CFLAGS" 2958 CFLAGS="-Aa -D_HPUX_SOURCE $CFLAGS" 2959 if test "${ac_cv_lbl_cc_hpux_cc_aa+set}" = set; then 2960 echo $ECHO_N "(cached) $ECHO_C" >&6 2961else 2962 cat >conftest.$ac_ext <<_ACEOF
|
2408#line $LINENO "configure"
| |
2409/* confdefs.h. */ 2410_ACEOF 2411cat confdefs.h >>conftest.$ac_ext 2412cat >>conftest.$ac_ext <<_ACEOF 2413/* end confdefs.h. */ 2414#include <sys/types.h> 2415int 2416main () 2417{ 2418int frob(int, char *) 2419 ; 2420 return 0; 2421} 2422_ACEOF 2423rm -f conftest.$ac_objext
| 2963/* confdefs.h. */ 2964_ACEOF 2965cat confdefs.h >>conftest.$ac_ext 2966cat >>conftest.$ac_ext <<_ACEOF 2967/* end confdefs.h. */ 2968#include <sys/types.h> 2969int 2970main () 2971{ 2972int frob(int, char *) 2973 ; 2974 return 0; 2975} 2976_ACEOF 2977rm -f conftest.$ac_objext
|
2424if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2425 (eval $ac_compile) 2>&5
| 2978if { (ac_try="$ac_compile" 2979case "(($ac_try" in 2980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2981 *) ac_try_echo=$ac_try;; 2982esac 2983eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2984 (eval "$ac_compile") 2>conftest.er1
|
2426 ac_status=$?
| 2985 ac_status=$?
|
| 2986 grep -v '^ *+' conftest.er1 >conftest.err 2987 rm -f conftest.er1 2988 cat conftest.err >&5
|
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2428 (exit $ac_status); } && 2429 { ac_try='test -s conftest.$ac_objext' 2430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2431 (eval $ac_try) 2>&5 2432 ac_status=$? 2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2434 (exit $ac_status); }; }; then
| 2990 (exit $ac_status); } && { 2991 test -z "$ac_c_werror_flag" || 2992 test ! -s conftest.err 2993 } && test -s conftest.$ac_objext; then
|
2435 ac_cv_lbl_cc_hpux_cc_aa=yes 2436else 2437 echo "$as_me: failed program was:" >&5 2438sed 's/^/| /' conftest.$ac_ext >&5 2439
| 2994 ac_cv_lbl_cc_hpux_cc_aa=yes 2995else 2996 echo "$as_me: failed program was:" >&5 2997sed 's/^/| /' conftest.$ac_ext >&5 2998
|
2440ac_cv_lbl_cc_hpux_cc_aa=no
| 2999 ac_cv_lbl_cc_hpux_cc_aa=no
|
2441fi
| 3000fi
|
2442rm -f conftest.$ac_objext conftest.$ac_ext
| 3001 3002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2443fi 2444
| 3003fi 3004
|
2445 echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_hpux_cc_aa" >&5 2446echo "${ECHO_T}$ac_cv_lbl_cc_hpux_cc_aa" >&6
| 3005 { echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_hpux_cc_aa" >&5 3006echo "${ECHO_T}$ac_cv_lbl_cc_hpux_cc_aa" >&6; }
|
2447 if test $ac_cv_lbl_cc_hpux_cc_aa = no ; then 2448 { { echo "$as_me:$LINENO: error: see the INSTALL doc for more info" >&5 2449echo "$as_me: error: see the INSTALL doc for more info" >&2;} 2450 { (exit 1); exit 1; }; } 2451 fi 2452 CFLAGS="$savedcflags" 2453 V_CCOPT="-Aa $V_CCOPT" 2454 2455cat >>confdefs.h <<\_ACEOF 2456#define _HPUX_SOURCE 1 2457_ACEOF 2458 2459 ;; 2460 2461 *) 2462 { { echo "$as_me:$LINENO: error: see the INSTALL doc for more info" >&5 2463echo "$as_me: error: see the INSTALL doc for more info" >&2;} 2464 { (exit 1); exit 1; }; } 2465 ;; 2466 esac 2467 fi 2468 V_INCLS="$V_INCLS -I/usr/local/include" 2469 LDFLAGS="$LDFLAGS -L/usr/local/lib" 2470 2471 case "$target_os" in 2472 2473 irix*) 2474 V_CCOPT="$V_CCOPT -xansi -signed -g3" 2475 ;; 2476 2477 osf*) 2478 V_CCOPT="$V_CCOPT -std1 -g3" 2479 ;; 2480 2481 ultrix*)
| 3007 if test $ac_cv_lbl_cc_hpux_cc_aa = no ; then 3008 { { echo "$as_me:$LINENO: error: see the INSTALL doc for more info" >&5 3009echo "$as_me: error: see the INSTALL doc for more info" >&2;} 3010 { (exit 1); exit 1; }; } 3011 fi 3012 CFLAGS="$savedcflags" 3013 V_CCOPT="-Aa $V_CCOPT" 3014 3015cat >>confdefs.h <<\_ACEOF 3016#define _HPUX_SOURCE 1 3017_ACEOF 3018 3019 ;; 3020 3021 *) 3022 { { echo "$as_me:$LINENO: error: see the INSTALL doc for more info" >&5 3023echo "$as_me: error: see the INSTALL doc for more info" >&2;} 3024 { (exit 1); exit 1; }; } 3025 ;; 3026 esac 3027 fi 3028 V_INCLS="$V_INCLS -I/usr/local/include" 3029 LDFLAGS="$LDFLAGS -L/usr/local/lib" 3030 3031 case "$target_os" in 3032 3033 irix*) 3034 V_CCOPT="$V_CCOPT -xansi -signed -g3" 3035 ;; 3036 3037 osf*) 3038 V_CCOPT="$V_CCOPT -std1 -g3" 3039 ;; 3040 3041 ultrix*)
|
2482 echo "$as_me:$LINENO: checking that Ultrix $CC hacks const in prototypes" >&5 2483echo $ECHO_N "checking that Ultrix $CC hacks const in prototypes... $ECHO_C" >&6
| 3042 { echo "$as_me:$LINENO: checking that Ultrix $CC hacks const in prototypes" >&5 3043echo $ECHO_N "checking that Ultrix $CC hacks const in prototypes... $ECHO_C" >&6; }
|
2484 if test "${ac_cv_lbl_cc_const_proto+set}" = set; then 2485 echo $ECHO_N "(cached) $ECHO_C" >&6 2486else 2487 cat >conftest.$ac_ext <<_ACEOF
| 3044 if test "${ac_cv_lbl_cc_const_proto+set}" = set; then 3045 echo $ECHO_N "(cached) $ECHO_C" >&6 3046else 3047 cat >conftest.$ac_ext <<_ACEOF
|
2488#line $LINENO "configure"
| |
2489/* confdefs.h. */ 2490_ACEOF 2491cat confdefs.h >>conftest.$ac_ext 2492cat >>conftest.$ac_ext <<_ACEOF 2493/* end confdefs.h. */ 2494#include <sys/types.h> 2495int 2496main () 2497{ 2498struct a { int b; }; 2499 void c(const struct a *) 2500 ; 2501 return 0; 2502} 2503_ACEOF 2504rm -f conftest.$ac_objext
| 3048/* confdefs.h. */ 3049_ACEOF 3050cat confdefs.h >>conftest.$ac_ext 3051cat >>conftest.$ac_ext <<_ACEOF 3052/* end confdefs.h. */ 3053#include <sys/types.h> 3054int 3055main () 3056{ 3057struct a { int b; }; 3058 void c(const struct a *) 3059 ; 3060 return 0; 3061} 3062_ACEOF 3063rm -f conftest.$ac_objext
|
2505if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2506 (eval $ac_compile) 2>&5
| 3064if { (ac_try="$ac_compile" 3065case "(($ac_try" in 3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3067 *) ac_try_echo=$ac_try;; 3068esac 3069eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3070 (eval "$ac_compile") 2>conftest.er1
|
2507 ac_status=$?
| 3071 ac_status=$?
|
| 3072 grep -v '^ *+' conftest.er1 >conftest.err 3073 rm -f conftest.er1 3074 cat conftest.err >&5
|
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2509 (exit $ac_status); } && 2510 { ac_try='test -s conftest.$ac_objext' 2511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2512 (eval $ac_try) 2>&5 2513 ac_status=$? 2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2515 (exit $ac_status); }; }; then
| 3076 (exit $ac_status); } && { 3077 test -z "$ac_c_werror_flag" || 3078 test ! -s conftest.err 3079 } && test -s conftest.$ac_objext; then
|
2516 ac_cv_lbl_cc_const_proto=yes 2517else 2518 echo "$as_me: failed program was:" >&5 2519sed 's/^/| /' conftest.$ac_ext >&5 2520
| 3080 ac_cv_lbl_cc_const_proto=yes 3081else 3082 echo "$as_me: failed program was:" >&5 3083sed 's/^/| /' conftest.$ac_ext >&5 3084
|
2521ac_cv_lbl_cc_const_proto=no
| 3085 ac_cv_lbl_cc_const_proto=no
|
2522fi
| 3086fi
|
2523rm -f conftest.$ac_objext conftest.$ac_ext
| 3087 3088rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2524fi 2525
| 3089fi 3090
|
2526 echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_const_proto" >&5 2527echo "${ECHO_T}$ac_cv_lbl_cc_const_proto" >&6
| 3091 { echo "$as_me:$LINENO: result: $ac_cv_lbl_cc_const_proto" >&5 3092echo "${ECHO_T}$ac_cv_lbl_cc_const_proto" >&6; }
|
2528 if test $ac_cv_lbl_cc_const_proto = no ; then 2529 cat >>confdefs.h <<\_ACEOF 2530#define const 2531_ACEOF 2532 2533 fi 2534 ;; 2535 esac 2536 fi 2537
| 3093 if test $ac_cv_lbl_cc_const_proto = no ; then 3094 cat >>confdefs.h <<\_ACEOF 3095#define const 3096_ACEOF 3097 3098 fi 3099 ;; 3100 esac 3101 fi 3102
|
2538echo "$as_me:$LINENO: checking for inline" >&5 2539echo $ECHO_N "checking for inline... $ECHO_C" >&6
| 3103{ echo "$as_me:$LINENO: checking for inline" >&5 3104echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
|
2540 save_CFLAGS="$CFLAGS" 2541 CFLAGS="$V_CCOPT" 2542 if test "${ac_cv_lbl_inline+set}" = set; then 2543 echo $ECHO_N "(cached) $ECHO_C" >&6 2544else 2545 2546 ac_cv_lbl_inline="" 2547 ac_lbl_cc_inline=no 2548 for ac_lbl_inline in inline __inline__ __inline 2549 do 2550 cat >conftest.$ac_ext <<_ACEOF
| 3105 save_CFLAGS="$CFLAGS" 3106 CFLAGS="$V_CCOPT" 3107 if test "${ac_cv_lbl_inline+set}" = set; then 3108 echo $ECHO_N "(cached) $ECHO_C" >&6 3109else 3110 3111 ac_cv_lbl_inline="" 3112 ac_lbl_cc_inline=no 3113 for ac_lbl_inline in inline __inline__ __inline 3114 do 3115 cat >conftest.$ac_ext <<_ACEOF
|
2551#line $LINENO "configure"
| |
2552/* confdefs.h. */ 2553_ACEOF 2554cat confdefs.h >>conftest.$ac_ext 2555cat >>conftest.$ac_ext <<_ACEOF 2556/* end confdefs.h. */ 2557#define inline $ac_lbl_inline 2558 static inline struct iltest *foo(void); 2559 struct iltest { 2560 int iltest1; 2561 int iltest2; 2562 }; 2563 2564 static inline struct iltest * 2565 foo() 2566 { 2567 static struct iltest xxx; 2568 2569 return &xxx; 2570 } 2571int 2572main () 2573{ 2574 2575 ; 2576 return 0; 2577} 2578_ACEOF 2579rm -f conftest.$ac_objext
| 3116/* confdefs.h. */ 3117_ACEOF 3118cat confdefs.h >>conftest.$ac_ext 3119cat >>conftest.$ac_ext <<_ACEOF 3120/* end confdefs.h. */ 3121#define inline $ac_lbl_inline 3122 static inline struct iltest *foo(void); 3123 struct iltest { 3124 int iltest1; 3125 int iltest2; 3126 }; 3127 3128 static inline struct iltest * 3129 foo() 3130 { 3131 static struct iltest xxx; 3132 3133 return &xxx; 3134 } 3135int 3136main () 3137{ 3138 3139 ; 3140 return 0; 3141} 3142_ACEOF 3143rm -f conftest.$ac_objext
|
2580if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2581 (eval $ac_compile) 2>&5
| 3144if { (ac_try="$ac_compile" 3145case "(($ac_try" in 3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3147 *) ac_try_echo=$ac_try;; 3148esac 3149eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3150 (eval "$ac_compile") 2>conftest.er1
|
2582 ac_status=$?
| 3151 ac_status=$?
|
| 3152 grep -v '^ *+' conftest.er1 >conftest.err 3153 rm -f conftest.er1 3154 cat conftest.err >&5
|
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2584 (exit $ac_status); } && 2585 { ac_try='test -s conftest.$ac_objext' 2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2587 (eval $ac_try) 2>&5 2588 ac_status=$? 2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2590 (exit $ac_status); }; }; then
| 3156 (exit $ac_status); } && { 3157 test -z "$ac_c_werror_flag" || 3158 test ! -s conftest.err 3159 } && test -s conftest.$ac_objext; then
|
2591 ac_lbl_cc_inline=yes 2592else 2593 echo "$as_me: failed program was:" >&5 2594sed 's/^/| /' conftest.$ac_ext >&5 2595
| 3160 ac_lbl_cc_inline=yes 3161else 3162 echo "$as_me: failed program was:" >&5 3163sed 's/^/| /' conftest.$ac_ext >&5 3164
|
| 3165
|
2596fi
| 3166fi
|
2597rm -f conftest.$ac_objext conftest.$ac_ext
| 3167 3168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2598 if test "$ac_lbl_cc_inline" = yes ; then 2599 break; 2600 fi 2601 done 2602 if test "$ac_lbl_cc_inline" = yes ; then 2603 ac_cv_lbl_inline=$ac_lbl_inline 2604 fi 2605fi 2606 2607 CFLAGS="$save_CFLAGS" 2608 if test ! -z "$ac_cv_lbl_inline" ; then
| 3169 if test "$ac_lbl_cc_inline" = yes ; then 3170 break; 3171 fi 3172 done 3173 if test "$ac_lbl_cc_inline" = yes ; then 3174 ac_cv_lbl_inline=$ac_lbl_inline 3175 fi 3176fi 3177 3178 CFLAGS="$save_CFLAGS" 3179 if test ! -z "$ac_cv_lbl_inline" ; then
|
2609 echo "$as_me:$LINENO: result: $ac_cv_lbl_inline" >&5 2610echo "${ECHO_T}$ac_cv_lbl_inline" >&6
| 3180 { echo "$as_me:$LINENO: result: $ac_cv_lbl_inline" >&5 3181echo "${ECHO_T}$ac_cv_lbl_inline" >&6; }
|
2611 else
| 3182 else
|
2612 echo "$as_me:$LINENO: result: no" >&5 2613echo "${ECHO_T}no" >&6
| 3183 { echo "$as_me:$LINENO: result: no" >&5 3184echo "${ECHO_T}no" >&6; }
|
2614 fi 2615 2616cat >>confdefs.h <<_ACEOF 2617#define inline $ac_cv_lbl_inline 2618_ACEOF 2619 2620
| 3185 fi 3186 3187cat >>confdefs.h <<_ACEOF 3188#define inline $ac_cv_lbl_inline 3189_ACEOF 3190 3191
|
2621echo "$as_me:$LINENO: checking for __attribute__" >&5 2622echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
| 3192{ echo "$as_me:$LINENO: checking for __attribute__" >&5 3193echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6; }
|
2623if test "${ac_cv___attribute__+set}" = set; then 2624 echo $ECHO_N "(cached) $ECHO_C" >&6 2625else 2626 2627cat >conftest.$ac_ext <<_ACEOF
| 3194if test "${ac_cv___attribute__+set}" = set; then 3195 echo $ECHO_N "(cached) $ECHO_C" >&6 3196else 3197 3198cat >conftest.$ac_ext <<_ACEOF
|
2628#line $LINENO "configure"
| |
2629/* confdefs.h. */ 2630_ACEOF 2631cat confdefs.h >>conftest.$ac_ext 2632cat >>conftest.$ac_ext <<_ACEOF 2633/* end confdefs.h. */ 2634 2635#include <stdlib.h> 2636 2637static void foo(void) __attribute__ ((noreturn)); 2638 2639static void 2640foo(void) 2641{ 2642 exit(1); 2643} 2644 2645int 2646main(int argc, char **argv) 2647{ 2648 foo(); 2649} 2650 2651_ACEOF 2652rm -f conftest.$ac_objext
| 3199/* confdefs.h. */ 3200_ACEOF 3201cat confdefs.h >>conftest.$ac_ext 3202cat >>conftest.$ac_ext <<_ACEOF 3203/* end confdefs.h. */ 3204 3205#include <stdlib.h> 3206 3207static void foo(void) __attribute__ ((noreturn)); 3208 3209static void 3210foo(void) 3211{ 3212 exit(1); 3213} 3214 3215int 3216main(int argc, char **argv) 3217{ 3218 foo(); 3219} 3220 3221_ACEOF 3222rm -f conftest.$ac_objext
|
2653if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2654 (eval $ac_compile) 2>&5
| 3223if { (ac_try="$ac_compile" 3224case "(($ac_try" in 3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3226 *) ac_try_echo=$ac_try;; 3227esac 3228eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3229 (eval "$ac_compile") 2>conftest.er1
|
2655 ac_status=$?
| 3230 ac_status=$?
|
| 3231 grep -v '^ *+' conftest.er1 >conftest.err 3232 rm -f conftest.er1 3233 cat conftest.err >&5
|
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2657 (exit $ac_status); } && 2658 { ac_try='test -s conftest.$ac_objext' 2659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2660 (eval $ac_try) 2>&5 2661 ac_status=$? 2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2663 (exit $ac_status); }; }; then
| 3235 (exit $ac_status); } && { 3236 test -z "$ac_c_werror_flag" || 3237 test ! -s conftest.err 3238 } && test -s conftest.$ac_objext; then
|
2664 ac_cv___attribute__=yes 2665else 2666 echo "$as_me: failed program was:" >&5 2667sed 's/^/| /' conftest.$ac_ext >&5 2668
| 3239 ac_cv___attribute__=yes 3240else 3241 echo "$as_me: failed program was:" >&5 3242sed 's/^/| /' conftest.$ac_ext >&5 3243
|
2669ac_cv___attribute__=no
| 3244 ac_cv___attribute__=no
|
2670fi
| 3245fi
|
2671rm -f conftest.$ac_objext conftest.$ac_ext
| 3246 3247rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2672fi 2673 2674if test "$ac_cv___attribute__" = "yes"; then 2675 2676cat >>confdefs.h <<\_ACEOF 2677#define HAVE___ATTRIBUTE__ 1 2678_ACEOF 2679 2680 V_DEFS="$V_DEFS -D_U_=\"__attribute__((unused))\"" 2681else 2682 V_DEFS="$V_DEFS -D_U_=\"\"" 2683fi
| 3248fi 3249 3250if test "$ac_cv___attribute__" = "yes"; then 3251 3252cat >>confdefs.h <<\_ACEOF 3253#define HAVE___ATTRIBUTE__ 1 3254_ACEOF 3255 3256 V_DEFS="$V_DEFS -D_U_=\"__attribute__((unused))\"" 3257else 3258 V_DEFS="$V_DEFS -D_U_=\"\"" 3259fi
|
2684echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5 2685echo "${ECHO_T}$ac_cv___attribute__" >&6
| 3260{ echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5 3261echo "${ECHO_T}$ac_cv___attribute__" >&6; }
|
2686 2687
| 3262 3263
|
2688echo "$as_me:$LINENO: checking for u_int8_t using $CC" >&5 2689echo $ECHO_N "checking for u_int8_t using $CC... $ECHO_C" >&6
| 3264{ echo "$as_me:$LINENO: checking for u_int8_t using $CC" >&5 3265echo $ECHO_N "checking for u_int8_t using $CC... $ECHO_C" >&6; }
|
2690 if test "${ac_cv_lbl_have_u_int8_t+set}" = set; then 2691 echo $ECHO_N "(cached) $ECHO_C" >&6 2692else 2693 cat >conftest.$ac_ext <<_ACEOF
| 3266 if test "${ac_cv_lbl_have_u_int8_t+set}" = set; then 3267 echo $ECHO_N "(cached) $ECHO_C" >&6 3268else 3269 cat >conftest.$ac_ext <<_ACEOF
|
2694#line $LINENO "configure"
| |
2695/* confdefs.h. */ 2696_ACEOF 2697cat confdefs.h >>conftest.$ac_ext 2698cat >>conftest.$ac_ext <<_ACEOF 2699/* end confdefs.h. */ 2700 2701# include "confdefs.h" 2702# include <sys/types.h> 2703# if STDC_HEADERS 2704# include <stdlib.h> 2705# include <stddef.h> 2706# endif 2707int 2708main () 2709{ 2710u_int8_t i 2711 ; 2712 return 0; 2713} 2714_ACEOF 2715rm -f conftest.$ac_objext
| 3270/* confdefs.h. */ 3271_ACEOF 3272cat confdefs.h >>conftest.$ac_ext 3273cat >>conftest.$ac_ext <<_ACEOF 3274/* end confdefs.h. */ 3275 3276# include "confdefs.h" 3277# include <sys/types.h> 3278# if STDC_HEADERS 3279# include <stdlib.h> 3280# include <stddef.h> 3281# endif 3282int 3283main () 3284{ 3285u_int8_t i 3286 ; 3287 return 0; 3288} 3289_ACEOF 3290rm -f conftest.$ac_objext
|
2716if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2717 (eval $ac_compile) 2>&5
| 3291if { (ac_try="$ac_compile" 3292case "(($ac_try" in 3293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3294 *) ac_try_echo=$ac_try;; 3295esac 3296eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3297 (eval "$ac_compile") 2>conftest.er1
|
2718 ac_status=$?
| 3298 ac_status=$?
|
| 3299 grep -v '^ *+' conftest.er1 >conftest.err 3300 rm -f conftest.er1 3301 cat conftest.err >&5
|
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2720 (exit $ac_status); } && 2721 { ac_try='test -s conftest.$ac_objext' 2722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2723 (eval $ac_try) 2>&5 2724 ac_status=$? 2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2726 (exit $ac_status); }; }; then
| 3303 (exit $ac_status); } && { 3304 test -z "$ac_c_werror_flag" || 3305 test ! -s conftest.err 3306 } && test -s conftest.$ac_objext; then
|
2727 ac_cv_lbl_have_u_int8_t=yes 2728else 2729 echo "$as_me: failed program was:" >&5 2730sed 's/^/| /' conftest.$ac_ext >&5 2731
| 3307 ac_cv_lbl_have_u_int8_t=yes 3308else 3309 echo "$as_me: failed program was:" >&5 3310sed 's/^/| /' conftest.$ac_ext >&5 3311
|
2732ac_cv_lbl_have_u_int8_t=no
| 3312 ac_cv_lbl_have_u_int8_t=no
|
2733fi
| 3313fi
|
2734rm -f conftest.$ac_objext conftest.$ac_ext
| 3314 3315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2735fi 2736
| 3316fi 3317
|
2737 echo "$as_me:$LINENO: result: $ac_cv_lbl_have_u_int8_t" >&5 2738echo "${ECHO_T}$ac_cv_lbl_have_u_int8_t" >&6
| 3318 { echo "$as_me:$LINENO: result: $ac_cv_lbl_have_u_int8_t" >&5 3319echo "${ECHO_T}$ac_cv_lbl_have_u_int8_t" >&6; }
|
2739 if test $ac_cv_lbl_have_u_int8_t = no ; then 2740 2741cat >>confdefs.h <<\_ACEOF 2742#define u_int8_t u_char 2743_ACEOF 2744 2745 fi
| 3320 if test $ac_cv_lbl_have_u_int8_t = no ; then 3321 3322cat >>confdefs.h <<\_ACEOF 3323#define u_int8_t u_char 3324_ACEOF 3325 3326 fi
|
2746echo "$as_me:$LINENO: checking for u_int16_t using $CC" >&5 2747echo $ECHO_N "checking for u_int16_t using $CC... $ECHO_C" >&6
| 3327{ echo "$as_me:$LINENO: checking for u_int16_t using $CC" >&5 3328echo $ECHO_N "checking for u_int16_t using $CC... $ECHO_C" >&6; }
|
2748 if test "${ac_cv_lbl_have_u_int16_t+set}" = set; then 2749 echo $ECHO_N "(cached) $ECHO_C" >&6 2750else 2751 cat >conftest.$ac_ext <<_ACEOF
| 3329 if test "${ac_cv_lbl_have_u_int16_t+set}" = set; then 3330 echo $ECHO_N "(cached) $ECHO_C" >&6 3331else 3332 cat >conftest.$ac_ext <<_ACEOF
|
2752#line $LINENO "configure"
| |
2753/* confdefs.h. */ 2754_ACEOF 2755cat confdefs.h >>conftest.$ac_ext 2756cat >>conftest.$ac_ext <<_ACEOF 2757/* end confdefs.h. */ 2758 2759# include "confdefs.h" 2760# include <sys/types.h> 2761# if STDC_HEADERS 2762# include <stdlib.h> 2763# include <stddef.h> 2764# endif 2765int 2766main () 2767{ 2768u_int16_t i 2769 ; 2770 return 0; 2771} 2772_ACEOF 2773rm -f conftest.$ac_objext
| 3333/* confdefs.h. */ 3334_ACEOF 3335cat confdefs.h >>conftest.$ac_ext 3336cat >>conftest.$ac_ext <<_ACEOF 3337/* end confdefs.h. */ 3338 3339# include "confdefs.h" 3340# include <sys/types.h> 3341# if STDC_HEADERS 3342# include <stdlib.h> 3343# include <stddef.h> 3344# endif 3345int 3346main () 3347{ 3348u_int16_t i 3349 ; 3350 return 0; 3351} 3352_ACEOF 3353rm -f conftest.$ac_objext
|
2774if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2775 (eval $ac_compile) 2>&5
| 3354if { (ac_try="$ac_compile" 3355case "(($ac_try" in 3356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3357 *) ac_try_echo=$ac_try;; 3358esac 3359eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3360 (eval "$ac_compile") 2>conftest.er1
|
2776 ac_status=$?
| 3361 ac_status=$?
|
| 3362 grep -v '^ *+' conftest.er1 >conftest.err 3363 rm -f conftest.er1 3364 cat conftest.err >&5
|
2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2778 (exit $ac_status); } && 2779 { ac_try='test -s conftest.$ac_objext' 2780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2781 (eval $ac_try) 2>&5 2782 ac_status=$? 2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2784 (exit $ac_status); }; }; then
| 3366 (exit $ac_status); } && { 3367 test -z "$ac_c_werror_flag" || 3368 test ! -s conftest.err 3369 } && test -s conftest.$ac_objext; then
|
2785 ac_cv_lbl_have_u_int16_t=yes 2786else 2787 echo "$as_me: failed program was:" >&5 2788sed 's/^/| /' conftest.$ac_ext >&5 2789
| 3370 ac_cv_lbl_have_u_int16_t=yes 3371else 3372 echo "$as_me: failed program was:" >&5 3373sed 's/^/| /' conftest.$ac_ext >&5 3374
|
2790ac_cv_lbl_have_u_int16_t=no
| 3375 ac_cv_lbl_have_u_int16_t=no
|
2791fi
| 3376fi
|
2792rm -f conftest.$ac_objext conftest.$ac_ext
| 3377 3378rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2793fi 2794
| 3379fi 3380
|
2795 echo "$as_me:$LINENO: result: $ac_cv_lbl_have_u_int16_t" >&5 2796echo "${ECHO_T}$ac_cv_lbl_have_u_int16_t" >&6
| 3381 { echo "$as_me:$LINENO: result: $ac_cv_lbl_have_u_int16_t" >&5 3382echo "${ECHO_T}$ac_cv_lbl_have_u_int16_t" >&6; }
|
2797 if test $ac_cv_lbl_have_u_int16_t = no ; then 2798 2799cat >>confdefs.h <<\_ACEOF 2800#define u_int16_t u_short 2801_ACEOF 2802 2803 fi
| 3383 if test $ac_cv_lbl_have_u_int16_t = no ; then 3384 3385cat >>confdefs.h <<\_ACEOF 3386#define u_int16_t u_short 3387_ACEOF 3388 3389 fi
|
2804echo "$as_me:$LINENO: checking for u_int32_t using $CC" >&5 2805echo $ECHO_N "checking for u_int32_t using $CC... $ECHO_C" >&6
| 3390{ echo "$as_me:$LINENO: checking for u_int32_t using $CC" >&5 3391echo $ECHO_N "checking for u_int32_t using $CC... $ECHO_C" >&6; }
|
2806 if test "${ac_cv_lbl_have_u_int32_t+set}" = set; then 2807 echo $ECHO_N "(cached) $ECHO_C" >&6 2808else 2809 cat >conftest.$ac_ext <<_ACEOF
| 3392 if test "${ac_cv_lbl_have_u_int32_t+set}" = set; then 3393 echo $ECHO_N "(cached) $ECHO_C" >&6 3394else 3395 cat >conftest.$ac_ext <<_ACEOF
|
2810#line $LINENO "configure"
| |
2811/* confdefs.h. */ 2812_ACEOF 2813cat confdefs.h >>conftest.$ac_ext 2814cat >>conftest.$ac_ext <<_ACEOF 2815/* end confdefs.h. */ 2816 2817# include "confdefs.h" 2818# include <sys/types.h> 2819# if STDC_HEADERS 2820# include <stdlib.h> 2821# include <stddef.h> 2822# endif 2823int 2824main () 2825{ 2826u_int32_t i 2827 ; 2828 return 0; 2829} 2830_ACEOF 2831rm -f conftest.$ac_objext
| 3396/* confdefs.h. */ 3397_ACEOF 3398cat confdefs.h >>conftest.$ac_ext 3399cat >>conftest.$ac_ext <<_ACEOF 3400/* end confdefs.h. */ 3401 3402# include "confdefs.h" 3403# include <sys/types.h> 3404# if STDC_HEADERS 3405# include <stdlib.h> 3406# include <stddef.h> 3407# endif 3408int 3409main () 3410{ 3411u_int32_t i 3412 ; 3413 return 0; 3414} 3415_ACEOF 3416rm -f conftest.$ac_objext
|
2832if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2833 (eval $ac_compile) 2>&5
| 3417if { (ac_try="$ac_compile" 3418case "(($ac_try" in 3419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3420 *) ac_try_echo=$ac_try;; 3421esac 3422eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3423 (eval "$ac_compile") 2>conftest.er1
|
2834 ac_status=$?
| 3424 ac_status=$?
|
| 3425 grep -v '^ *+' conftest.er1 >conftest.err 3426 rm -f conftest.er1 3427 cat conftest.err >&5
|
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 3428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2836 (exit $ac_status); } && 2837 { ac_try='test -s conftest.$ac_objext' 2838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2839 (eval $ac_try) 2>&5 2840 ac_status=$? 2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2842 (exit $ac_status); }; }; then
| 3429 (exit $ac_status); } && { 3430 test -z "$ac_c_werror_flag" || 3431 test ! -s conftest.err 3432 } && test -s conftest.$ac_objext; then
|
2843 ac_cv_lbl_have_u_int32_t=yes 2844else 2845 echo "$as_me: failed program was:" >&5 2846sed 's/^/| /' conftest.$ac_ext >&5 2847
| 3433 ac_cv_lbl_have_u_int32_t=yes 3434else 3435 echo "$as_me: failed program was:" >&5 3436sed 's/^/| /' conftest.$ac_ext >&5 3437
|
2848ac_cv_lbl_have_u_int32_t=no
| 3438 ac_cv_lbl_have_u_int32_t=no
|
2849fi
| 3439fi
|
2850rm -f conftest.$ac_objext conftest.$ac_ext
| 3440 3441rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2851fi 2852
| 3442fi 3443
|
2853 echo "$as_me:$LINENO: result: $ac_cv_lbl_have_u_int32_t" >&5 2854echo "${ECHO_T}$ac_cv_lbl_have_u_int32_t" >&6
| 3444 { echo "$as_me:$LINENO: result: $ac_cv_lbl_have_u_int32_t" >&5 3445echo "${ECHO_T}$ac_cv_lbl_have_u_int32_t" >&6; }
|
2855 if test $ac_cv_lbl_have_u_int32_t = no ; then 2856 2857cat >>confdefs.h <<\_ACEOF 2858#define u_int32_t u_int 2859_ACEOF 2860 2861 fi 2862 2863ac_ext=c 2864ac_cpp='$CPP $CPPFLAGS' 2865ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2866ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2867ac_compiler_gnu=$ac_cv_c_compiler_gnu
| 3446 if test $ac_cv_lbl_have_u_int32_t = no ; then 3447 3448cat >>confdefs.h <<\_ACEOF 3449#define u_int32_t u_int 3450_ACEOF 3451 3452 fi 3453 3454ac_ext=c 3455ac_cpp='$CPP $CPPFLAGS' 3456ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3457ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3458ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2868echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2869echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
| 3459{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3460echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
|
2870# On Suns, sometimes $CPP names a directory. 2871if test -n "$CPP" && test -d "$CPP"; then 2872 CPP= 2873fi 2874if test -z "$CPP"; then 2875 if test "${ac_cv_prog_CPP+set}" = set; then 2876 echo $ECHO_N "(cached) $ECHO_C" >&6 2877else 2878 # Double quotes because CPP needs to be expanded 2879 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2880 do 2881 ac_preproc_ok=false 2882for ac_c_preproc_warn_flag in '' yes 2883do 2884 # Use a header file that comes with gcc, so configuring glibc 2885 # with a fresh cross-compiler works. 2886 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2887 # <limits.h> exists even on freestanding compilers. 2888 # On the NeXT, cc -E runs the code through the compiler's parser, 2889 # not just through cpp. "Syntax error" is here to catch this case. 2890 cat >conftest.$ac_ext <<_ACEOF
| 3461# On Suns, sometimes $CPP names a directory. 3462if test -n "$CPP" && test -d "$CPP"; then 3463 CPP= 3464fi 3465if test -z "$CPP"; then 3466 if test "${ac_cv_prog_CPP+set}" = set; then 3467 echo $ECHO_N "(cached) $ECHO_C" >&6 3468else 3469 # Double quotes because CPP needs to be expanded 3470 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3471 do 3472 ac_preproc_ok=false 3473for ac_c_preproc_warn_flag in '' yes 3474do 3475 # Use a header file that comes with gcc, so configuring glibc 3476 # with a fresh cross-compiler works. 3477 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3478 # <limits.h> exists even on freestanding compilers. 3479 # On the NeXT, cc -E runs the code through the compiler's parser, 3480 # not just through cpp. "Syntax error" is here to catch this case. 3481 cat >conftest.$ac_ext <<_ACEOF
|
2891#line $LINENO "configure"
| |
2892/* confdefs.h. */ 2893_ACEOF 2894cat confdefs.h >>conftest.$ac_ext 2895cat >>conftest.$ac_ext <<_ACEOF 2896/* end confdefs.h. */ 2897#ifdef __STDC__ 2898# include <limits.h> 2899#else 2900# include <assert.h> 2901#endif
| 3482/* confdefs.h. */ 3483_ACEOF 3484cat confdefs.h >>conftest.$ac_ext 3485cat >>conftest.$ac_ext <<_ACEOF 3486/* end confdefs.h. */ 3487#ifdef __STDC__ 3488# include <limits.h> 3489#else 3490# include <assert.h> 3491#endif
|
2902 Syntax error
| 3492 Syntax error
|
2903_ACEOF
| 3493_ACEOF
|
2904if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
| 3494if { (ac_try="$ac_cpp conftest.$ac_ext" 3495case "(($ac_try" in 3496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3497 *) ac_try_echo=$ac_try;; 3498esac 3499eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3500 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
2906 ac_status=$? 2907 grep -v '^ *+' conftest.er1 >conftest.err 2908 rm -f conftest.er1 2909 cat conftest.err >&5 2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 3501 ac_status=$? 3502 grep -v '^ *+' conftest.er1 >conftest.err 3503 rm -f conftest.er1 3504 cat conftest.err >&5 3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2911 (exit $ac_status); } >/dev/null; then 2912 if test -s conftest.err; then 2913 ac_cpp_err=$ac_c_preproc_warn_flag 2914 else 2915 ac_cpp_err= 2916 fi 2917else 2918 ac_cpp_err=yes 2919fi 2920if test -z "$ac_cpp_err"; then
| 3506 (exit $ac_status); } >/dev/null && { 3507 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3508 test ! -s conftest.err 3509 }; then
|
2921 : 2922else 2923 echo "$as_me: failed program was:" >&5 2924sed 's/^/| /' conftest.$ac_ext >&5 2925 2926 # Broken: fails on valid input. 2927continue 2928fi
| 3510 : 3511else 3512 echo "$as_me: failed program was:" >&5 3513sed 's/^/| /' conftest.$ac_ext >&5 3514 3515 # Broken: fails on valid input. 3516continue 3517fi
|
| 3518
|
2929rm -f conftest.err conftest.$ac_ext 2930
| 3519rm -f conftest.err conftest.$ac_ext 3520
|
2931 # OK, works on sane cases. Now check whether non-existent headers
| 3521 # OK, works on sane cases. Now check whether nonexistent headers
|
2932 # can be detected and how. 2933 cat >conftest.$ac_ext <<_ACEOF
| 3522 # can be detected and how. 3523 cat >conftest.$ac_ext <<_ACEOF
|
2934#line $LINENO "configure"
| |
2935/* confdefs.h. */ 2936_ACEOF 2937cat confdefs.h >>conftest.$ac_ext 2938cat >>conftest.$ac_ext <<_ACEOF 2939/* end confdefs.h. */ 2940#include <ac_nonexistent.h> 2941_ACEOF
| 3524/* confdefs.h. */ 3525_ACEOF 3526cat confdefs.h >>conftest.$ac_ext 3527cat >>conftest.$ac_ext <<_ACEOF 3528/* end confdefs.h. */ 3529#include <ac_nonexistent.h> 3530_ACEOF
|
2942if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2943 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
| 3531if { (ac_try="$ac_cpp conftest.$ac_ext" 3532case "(($ac_try" in 3533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3534 *) ac_try_echo=$ac_try;; 3535esac 3536eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3537 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
2944 ac_status=$? 2945 grep -v '^ *+' conftest.er1 >conftest.err 2946 rm -f conftest.er1 2947 cat conftest.err >&5 2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 3538 ac_status=$? 3539 grep -v '^ *+' conftest.er1 >conftest.err 3540 rm -f conftest.er1 3541 cat conftest.err >&5 3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2949 (exit $ac_status); } >/dev/null; then 2950 if test -s conftest.err; then 2951 ac_cpp_err=$ac_c_preproc_warn_flag 2952 else 2953 ac_cpp_err= 2954 fi 2955else 2956 ac_cpp_err=yes 2957fi 2958if test -z "$ac_cpp_err"; then
| 3543 (exit $ac_status); } >/dev/null && { 3544 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3545 test ! -s conftest.err 3546 }; then
|
2959 # Broken: success on invalid input. 2960continue 2961else 2962 echo "$as_me: failed program was:" >&5 2963sed 's/^/| /' conftest.$ac_ext >&5 2964 2965 # Passes both tests. 2966ac_preproc_ok=: 2967break 2968fi
| 3547 # Broken: success on invalid input. 3548continue 3549else 3550 echo "$as_me: failed program was:" >&5 3551sed 's/^/| /' conftest.$ac_ext >&5 3552 3553 # Passes both tests. 3554ac_preproc_ok=: 3555break 3556fi
|
| 3557
|
2969rm -f conftest.err conftest.$ac_ext 2970 2971done 2972# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2973rm -f conftest.err conftest.$ac_ext 2974if $ac_preproc_ok; then 2975 break 2976fi 2977 2978 done 2979 ac_cv_prog_CPP=$CPP 2980 2981fi 2982 CPP=$ac_cv_prog_CPP 2983else 2984 ac_cv_prog_CPP=$CPP 2985fi
| 3558rm -f conftest.err conftest.$ac_ext 3559 3560done 3561# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3562rm -f conftest.err conftest.$ac_ext 3563if $ac_preproc_ok; then 3564 break 3565fi 3566 3567 done 3568 ac_cv_prog_CPP=$CPP 3569 3570fi 3571 CPP=$ac_cv_prog_CPP 3572else 3573 ac_cv_prog_CPP=$CPP 3574fi
|
2986echo "$as_me:$LINENO: result: $CPP" >&5 2987echo "${ECHO_T}$CPP" >&6
| 3575{ echo "$as_me:$LINENO: result: $CPP" >&5 3576echo "${ECHO_T}$CPP" >&6; }
|
2988ac_preproc_ok=false 2989for ac_c_preproc_warn_flag in '' yes 2990do 2991 # Use a header file that comes with gcc, so configuring glibc 2992 # with a fresh cross-compiler works. 2993 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2994 # <limits.h> exists even on freestanding compilers. 2995 # On the NeXT, cc -E runs the code through the compiler's parser, 2996 # not just through cpp. "Syntax error" is here to catch this case. 2997 cat >conftest.$ac_ext <<_ACEOF
| 3577ac_preproc_ok=false 3578for ac_c_preproc_warn_flag in '' yes 3579do 3580 # Use a header file that comes with gcc, so configuring glibc 3581 # with a fresh cross-compiler works. 3582 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3583 # <limits.h> exists even on freestanding compilers. 3584 # On the NeXT, cc -E runs the code through the compiler's parser, 3585 # not just through cpp. "Syntax error" is here to catch this case. 3586 cat >conftest.$ac_ext <<_ACEOF
|
2998#line $LINENO "configure"
| |
2999/* confdefs.h. */ 3000_ACEOF 3001cat confdefs.h >>conftest.$ac_ext 3002cat >>conftest.$ac_ext <<_ACEOF 3003/* end confdefs.h. */ 3004#ifdef __STDC__ 3005# include <limits.h> 3006#else 3007# include <assert.h> 3008#endif
| 3587/* confdefs.h. */ 3588_ACEOF 3589cat confdefs.h >>conftest.$ac_ext 3590cat >>conftest.$ac_ext <<_ACEOF 3591/* end confdefs.h. */ 3592#ifdef __STDC__ 3593# include <limits.h> 3594#else 3595# include <assert.h> 3596#endif
|
3009 Syntax error
| 3597 Syntax error
|
3010_ACEOF
| 3598_ACEOF
|
3011if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
| 3599if { (ac_try="$ac_cpp conftest.$ac_ext" 3600case "(($ac_try" in 3601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3602 *) ac_try_echo=$ac_try;; 3603esac 3604eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3605 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3013 ac_status=$? 3014 grep -v '^ *+' conftest.er1 >conftest.err 3015 rm -f conftest.er1 3016 cat conftest.err >&5 3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 3606 ac_status=$? 3607 grep -v '^ *+' conftest.er1 >conftest.err 3608 rm -f conftest.er1 3609 cat conftest.err >&5 3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3018 (exit $ac_status); } >/dev/null; then 3019 if test -s conftest.err; then 3020 ac_cpp_err=$ac_c_preproc_warn_flag 3021 else 3022 ac_cpp_err= 3023 fi 3024else 3025 ac_cpp_err=yes 3026fi 3027if test -z "$ac_cpp_err"; then
| 3611 (exit $ac_status); } >/dev/null && { 3612 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3613 test ! -s conftest.err 3614 }; then
|
3028 : 3029else 3030 echo "$as_me: failed program was:" >&5 3031sed 's/^/| /' conftest.$ac_ext >&5 3032 3033 # Broken: fails on valid input. 3034continue 3035fi
| 3615 : 3616else 3617 echo "$as_me: failed program was:" >&5 3618sed 's/^/| /' conftest.$ac_ext >&5 3619 3620 # Broken: fails on valid input. 3621continue 3622fi
|
| 3623
|
3036rm -f conftest.err conftest.$ac_ext 3037
| 3624rm -f conftest.err conftest.$ac_ext 3625
|
3038 # OK, works on sane cases. Now check whether non-existent headers
| 3626 # OK, works on sane cases. Now check whether nonexistent headers
|
3039 # can be detected and how. 3040 cat >conftest.$ac_ext <<_ACEOF
| 3627 # can be detected and how. 3628 cat >conftest.$ac_ext <<_ACEOF
|
3041#line $LINENO "configure"
| |
3042/* confdefs.h. */ 3043_ACEOF 3044cat confdefs.h >>conftest.$ac_ext 3045cat >>conftest.$ac_ext <<_ACEOF 3046/* end confdefs.h. */ 3047#include <ac_nonexistent.h> 3048_ACEOF
| 3629/* confdefs.h. */ 3630_ACEOF 3631cat confdefs.h >>conftest.$ac_ext 3632cat >>conftest.$ac_ext <<_ACEOF 3633/* end confdefs.h. */ 3634#include <ac_nonexistent.h> 3635_ACEOF
|
3049if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3050 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
| 3636if { (ac_try="$ac_cpp conftest.$ac_ext" 3637case "(($ac_try" in 3638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3639 *) ac_try_echo=$ac_try;; 3640esac 3641eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3051 ac_status=$? 3052 grep -v '^ *+' conftest.er1 >conftest.err 3053 rm -f conftest.er1 3054 cat conftest.err >&5 3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 3643 ac_status=$? 3644 grep -v '^ *+' conftest.er1 >conftest.err 3645 rm -f conftest.er1 3646 cat conftest.err >&5 3647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3056 (exit $ac_status); } >/dev/null; then 3057 if test -s conftest.err; then 3058 ac_cpp_err=$ac_c_preproc_warn_flag 3059 else 3060 ac_cpp_err= 3061 fi 3062else 3063 ac_cpp_err=yes 3064fi 3065if test -z "$ac_cpp_err"; then
| 3648 (exit $ac_status); } >/dev/null && { 3649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3650 test ! -s conftest.err 3651 }; then
|
3066 # Broken: success on invalid input. 3067continue 3068else 3069 echo "$as_me: failed program was:" >&5 3070sed 's/^/| /' conftest.$ac_ext >&5 3071 3072 # Passes both tests. 3073ac_preproc_ok=: 3074break 3075fi
| 3652 # Broken: success on invalid input. 3653continue 3654else 3655 echo "$as_me: failed program was:" >&5 3656sed 's/^/| /' conftest.$ac_ext >&5 3657 3658 # Passes both tests. 3659ac_preproc_ok=: 3660break 3661fi
|
| 3662
|
3076rm -f conftest.err conftest.$ac_ext 3077 3078done 3079# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3080rm -f conftest.err conftest.$ac_ext 3081if $ac_preproc_ok; then 3082 : 3083else 3084 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3085See \`config.log' for more details." >&5 3086echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3087See \`config.log' for more details." >&2;} 3088 { (exit 1); exit 1; }; } 3089fi 3090 3091ac_ext=c 3092ac_cpp='$CPP $CPPFLAGS' 3093ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3094ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3095ac_compiler_gnu=$ac_cv_c_compiler_gnu 3096 3097
| 3663rm -f conftest.err conftest.$ac_ext 3664 3665done 3666# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3667rm -f conftest.err conftest.$ac_ext 3668if $ac_preproc_ok; then 3669 : 3670else 3671 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3672See \`config.log' for more details." >&5 3673echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3674See \`config.log' for more details." >&2;} 3675 { (exit 1); exit 1; }; } 3676fi 3677 3678ac_ext=c 3679ac_cpp='$CPP $CPPFLAGS' 3680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3682ac_compiler_gnu=$ac_cv_c_compiler_gnu 3683 3684
|
3098echo "$as_me:$LINENO: checking for egrep" >&5 3099echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3100if test "${ac_cv_prog_egrep+set}" = set; then
| 3685{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3686echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3687if test "${ac_cv_path_GREP+set}" = set; then
|
3101 echo $ECHO_N "(cached) $ECHO_C" >&6 3102else
| 3688 echo $ECHO_N "(cached) $ECHO_C" >&6 3689else
|
3103 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3104 then ac_cv_prog_egrep='grep -E' 3105 else ac_cv_prog_egrep='egrep'
| 3690 # Extract the first word of "grep ggrep" to use in msg output 3691if test -z "$GREP"; then 3692set dummy grep ggrep; ac_prog_name=$2 3693if test "${ac_cv_path_GREP+set}" = set; then 3694 echo $ECHO_N "(cached) $ECHO_C" >&6 3695else 3696 ac_path_GREP_found=false 3697# Loop through the user's path and test for each of PROGNAME-LIST 3698as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3699for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3700do 3701 IFS=$as_save_IFS 3702 test -z "$as_dir" && as_dir=. 3703 for ac_prog in grep ggrep; do 3704 for ac_exec_ext in '' $ac_executable_extensions; do 3705 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3706 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3707 # Check for GNU ac_path_GREP and select it if it is found. 3708 # Check for GNU $ac_path_GREP 3709case `"$ac_path_GREP" --version 2>&1` in 3710*GNU*) 3711 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3712*) 3713 ac_count=0 3714 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3715 while : 3716 do 3717 cat "conftest.in" "conftest.in" >"conftest.tmp" 3718 mv "conftest.tmp" "conftest.in" 3719 cp "conftest.in" "conftest.nl" 3720 echo 'GREP' >> "conftest.nl" 3721 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3722 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3723 ac_count=`expr $ac_count + 1` 3724 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3725 # Best one so far, save it but keep looking for a better one 3726 ac_cv_path_GREP="$ac_path_GREP" 3727 ac_path_GREP_max=$ac_count
|
3106 fi
| 3728 fi
|
| 3729 # 10*(2^10) chars as input seems more than enough 3730 test $ac_count -gt 10 && break 3731 done 3732 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3733esac 3734 3735 3736 $ac_path_GREP_found && break 3 3737 done 3738done 3739 3740done 3741IFS=$as_save_IFS 3742 3743
|
3107fi
| 3744fi
|
3108echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3109echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3110 EGREP=$ac_cv_prog_egrep
| |
3111
| 3745
|
| 3746GREP="$ac_cv_path_GREP" 3747if test -z "$GREP"; then 3748 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3749echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3750 { (exit 1); exit 1; }; } 3751fi
|
3112
| 3752
|
3113echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3114echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
| 3753else 3754 ac_cv_path_GREP=$GREP 3755fi 3756 3757 3758fi 3759{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3760echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3761 GREP="$ac_cv_path_GREP" 3762 3763 3764{ echo "$as_me:$LINENO: checking for egrep" >&5 3765echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3766if test "${ac_cv_path_EGREP+set}" = set; then 3767 echo $ECHO_N "(cached) $ECHO_C" >&6 3768else 3769 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3770 then ac_cv_path_EGREP="$GREP -E" 3771 else 3772 # Extract the first word of "egrep" to use in msg output 3773if test -z "$EGREP"; then 3774set dummy egrep; ac_prog_name=$2 3775if test "${ac_cv_path_EGREP+set}" = set; then 3776 echo $ECHO_N "(cached) $ECHO_C" >&6 3777else 3778 ac_path_EGREP_found=false 3779# Loop through the user's path and test for each of PROGNAME-LIST 3780as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3781for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3782do 3783 IFS=$as_save_IFS 3784 test -z "$as_dir" && as_dir=. 3785 for ac_prog in egrep; do 3786 for ac_exec_ext in '' $ac_executable_extensions; do 3787 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3788 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3789 # Check for GNU ac_path_EGREP and select it if it is found. 3790 # Check for GNU $ac_path_EGREP 3791case `"$ac_path_EGREP" --version 2>&1` in 3792*GNU*) 3793 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3794*) 3795 ac_count=0 3796 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3797 while : 3798 do 3799 cat "conftest.in" "conftest.in" >"conftest.tmp" 3800 mv "conftest.tmp" "conftest.in" 3801 cp "conftest.in" "conftest.nl" 3802 echo 'EGREP' >> "conftest.nl" 3803 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3804 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3805 ac_count=`expr $ac_count + 1` 3806 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3807 # Best one so far, save it but keep looking for a better one 3808 ac_cv_path_EGREP="$ac_path_EGREP" 3809 ac_path_EGREP_max=$ac_count 3810 fi 3811 # 10*(2^10) chars as input seems more than enough 3812 test $ac_count -gt 10 && break 3813 done 3814 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3815esac 3816 3817 3818 $ac_path_EGREP_found && break 3 3819 done 3820done 3821 3822done 3823IFS=$as_save_IFS 3824 3825 3826fi 3827 3828EGREP="$ac_cv_path_EGREP" 3829if test -z "$EGREP"; then 3830 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3831echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3832 { (exit 1); exit 1; }; } 3833fi 3834 3835else 3836 ac_cv_path_EGREP=$EGREP 3837fi 3838 3839 3840 fi 3841fi 3842{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3843echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 3844 EGREP="$ac_cv_path_EGREP" 3845 3846 3847{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3848echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
|
3115if test "${ac_cv_header_stdc+set}" = set; then 3116 echo $ECHO_N "(cached) $ECHO_C" >&6 3117else 3118 cat >conftest.$ac_ext <<_ACEOF
| 3849if test "${ac_cv_header_stdc+set}" = set; then 3850 echo $ECHO_N "(cached) $ECHO_C" >&6 3851else 3852 cat >conftest.$ac_ext <<_ACEOF
|
3119#line $LINENO "configure"
| |
3120/* confdefs.h. */ 3121_ACEOF 3122cat confdefs.h >>conftest.$ac_ext 3123cat >>conftest.$ac_ext <<_ACEOF 3124/* end confdefs.h. */ 3125#include <stdlib.h> 3126#include <stdarg.h> 3127#include <string.h> 3128#include <float.h> 3129 3130int 3131main () 3132{ 3133 3134 ; 3135 return 0; 3136} 3137_ACEOF 3138rm -f conftest.$ac_objext
| 3853/* confdefs.h. */ 3854_ACEOF 3855cat confdefs.h >>conftest.$ac_ext 3856cat >>conftest.$ac_ext <<_ACEOF 3857/* end confdefs.h. */ 3858#include <stdlib.h> 3859#include <stdarg.h> 3860#include <string.h> 3861#include <float.h> 3862 3863int 3864main () 3865{ 3866 3867 ; 3868 return 0; 3869} 3870_ACEOF 3871rm -f conftest.$ac_objext
|
3139if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3140 (eval $ac_compile) 2>&5
| 3872if { (ac_try="$ac_compile" 3873case "(($ac_try" in 3874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3875 *) ac_try_echo=$ac_try;; 3876esac 3877eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3878 (eval "$ac_compile") 2>conftest.er1
|
3141 ac_status=$?
| 3879 ac_status=$?
|
| 3880 grep -v '^ *+' conftest.er1 >conftest.err 3881 rm -f conftest.er1 3882 cat conftest.err >&5
|
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3143 (exit $ac_status); } && 3144 { ac_try='test -s conftest.$ac_objext' 3145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3146 (eval $ac_try) 2>&5 3147 ac_status=$? 3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3149 (exit $ac_status); }; }; then
| 3884 (exit $ac_status); } && { 3885 test -z "$ac_c_werror_flag" || 3886 test ! -s conftest.err 3887 } && test -s conftest.$ac_objext; then
|
3150 ac_cv_header_stdc=yes 3151else 3152 echo "$as_me: failed program was:" >&5 3153sed 's/^/| /' conftest.$ac_ext >&5 3154
| 3888 ac_cv_header_stdc=yes 3889else 3890 echo "$as_me: failed program was:" >&5 3891sed 's/^/| /' conftest.$ac_ext >&5 3892
|
3155ac_cv_header_stdc=no
| 3893 ac_cv_header_stdc=no
|
3156fi
| 3894fi
|
3157rm -f conftest.$ac_objext conftest.$ac_ext
| |
3158
| 3895
|
| 3896rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3897
|
3159if test $ac_cv_header_stdc = yes; then 3160 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3161 cat >conftest.$ac_ext <<_ACEOF
| 3898if test $ac_cv_header_stdc = yes; then 3899 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3900 cat >conftest.$ac_ext <<_ACEOF
|
3162#line $LINENO "configure"
| |
3163/* confdefs.h. */ 3164_ACEOF 3165cat confdefs.h >>conftest.$ac_ext 3166cat >>conftest.$ac_ext <<_ACEOF 3167/* end confdefs.h. */ 3168#include <string.h> 3169 3170_ACEOF 3171if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3172 $EGREP "memchr" >/dev/null 2>&1; then 3173 : 3174else 3175 ac_cv_header_stdc=no 3176fi 3177rm -f conftest* 3178 3179fi 3180 3181if test $ac_cv_header_stdc = yes; then 3182 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3183 cat >conftest.$ac_ext <<_ACEOF
| 3901/* confdefs.h. */ 3902_ACEOF 3903cat confdefs.h >>conftest.$ac_ext 3904cat >>conftest.$ac_ext <<_ACEOF 3905/* end confdefs.h. */ 3906#include <string.h> 3907 3908_ACEOF 3909if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3910 $EGREP "memchr" >/dev/null 2>&1; then 3911 : 3912else 3913 ac_cv_header_stdc=no 3914fi 3915rm -f conftest* 3916 3917fi 3918 3919if test $ac_cv_header_stdc = yes; then 3920 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3921 cat >conftest.$ac_ext <<_ACEOF
|
3184#line $LINENO "configure"
| |
3185/* confdefs.h. */ 3186_ACEOF 3187cat confdefs.h >>conftest.$ac_ext 3188cat >>conftest.$ac_ext <<_ACEOF 3189/* end confdefs.h. */ 3190#include <stdlib.h> 3191 3192_ACEOF 3193if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3194 $EGREP "free" >/dev/null 2>&1; then 3195 : 3196else 3197 ac_cv_header_stdc=no 3198fi 3199rm -f conftest* 3200 3201fi 3202 3203if test $ac_cv_header_stdc = yes; then 3204 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3205 if test "$cross_compiling" = yes; then 3206 : 3207else 3208 cat >conftest.$ac_ext <<_ACEOF
| 3922/* confdefs.h. */ 3923_ACEOF 3924cat confdefs.h >>conftest.$ac_ext 3925cat >>conftest.$ac_ext <<_ACEOF 3926/* end confdefs.h. */ 3927#include <stdlib.h> 3928 3929_ACEOF 3930if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3931 $EGREP "free" >/dev/null 2>&1; then 3932 : 3933else 3934 ac_cv_header_stdc=no 3935fi 3936rm -f conftest* 3937 3938fi 3939 3940if test $ac_cv_header_stdc = yes; then 3941 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3942 if test "$cross_compiling" = yes; then 3943 : 3944else 3945 cat >conftest.$ac_ext <<_ACEOF
|
3209#line $LINENO "configure"
| |
3210/* confdefs.h. */ 3211_ACEOF 3212cat confdefs.h >>conftest.$ac_ext 3213cat >>conftest.$ac_ext <<_ACEOF 3214/* end confdefs.h. */ 3215#include <ctype.h>
| 3946/* confdefs.h. */ 3947_ACEOF 3948cat confdefs.h >>conftest.$ac_ext 3949cat >>conftest.$ac_ext <<_ACEOF 3950/* end confdefs.h. */ 3951#include <ctype.h>
|
| 3952#include <stdlib.h>
|
3216#if ((' ' & 0x0FF) == 0x020) 3217# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3218# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3219#else 3220# define ISLOWER(c) \
| 3953#if ((' ' & 0x0FF) == 0x020) 3954# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3955# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3956#else 3957# define ISLOWER(c) \
|
3221 (('a' <= (c) && (c) <= 'i') \ 3222 || ('j' <= (c) && (c) <= 'r') \ 3223 || ('s' <= (c) && (c) <= 'z'))
| 3958 (('a' <= (c) && (c) <= 'i') \ 3959 || ('j' <= (c) && (c) <= 'r') \ 3960 || ('s' <= (c) && (c) <= 'z'))
|
3224# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3225#endif 3226 3227#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3228int 3229main () 3230{ 3231 int i; 3232 for (i = 0; i < 256; i++) 3233 if (XOR (islower (i), ISLOWER (i))
| 3961# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3962#endif 3963 3964#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3965int 3966main () 3967{ 3968 int i; 3969 for (i = 0; i < 256; i++) 3970 if (XOR (islower (i), ISLOWER (i))
|
3234 || toupper (i) != TOUPPER (i)) 3235 exit(2); 3236 exit (0);
| 3971 || toupper (i) != TOUPPER (i)) 3972 return 2; 3973 return 0;
|
3237} 3238_ACEOF 3239rm -f conftest$ac_exeext
| 3974} 3975_ACEOF 3976rm -f conftest$ac_exeext
|
3240if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3241 (eval $ac_link) 2>&5
| 3977if { (ac_try="$ac_link" 3978case "(($ac_try" in 3979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3980 *) ac_try_echo=$ac_try;; 3981esac 3982eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3983 (eval "$ac_link") 2>&5
|
3242 ac_status=$? 3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3244 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
| 3984 ac_status=$? 3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3986 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
3245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3246 (eval $ac_try) 2>&5
| 3987 { (case "(($ac_try" in 3988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3989 *) ac_try_echo=$ac_try;; 3990esac 3991eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3992 (eval "$ac_try") 2>&5
|
3247 ac_status=$? 3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3249 (exit $ac_status); }; }; then 3250 : 3251else 3252 echo "$as_me: program exited with status $ac_status" >&5 3253echo "$as_me: failed program was:" >&5 3254sed 's/^/| /' conftest.$ac_ext >&5 3255 3256( exit $ac_status ) 3257ac_cv_header_stdc=no 3258fi
| 3993 ac_status=$? 3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3995 (exit $ac_status); }; }; then 3996 : 3997else 3998 echo "$as_me: program exited with status $ac_status" >&5 3999echo "$as_me: failed program was:" >&5 4000sed 's/^/| /' conftest.$ac_ext >&5 4001 4002( exit $ac_status ) 4003ac_cv_header_stdc=no 4004fi
|
3259rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
| 4005rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
3260fi
| 4006fi
|
| 4007 4008
|
3261fi 3262fi
| 4009fi 4010fi
|
3263echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3264echo "${ECHO_T}$ac_cv_header_stdc" >&6
| 4011{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4012echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
|
3265if test $ac_cv_header_stdc = yes; then 3266 3267cat >>confdefs.h <<\_ACEOF 3268#define STDC_HEADERS 1 3269_ACEOF 3270 3271fi 3272 3273# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
| 4013if test $ac_cv_header_stdc = yes; then 4014 4015cat >>confdefs.h <<\_ACEOF 4016#define STDC_HEADERS 1 4017_ACEOF 4018 4019fi 4020 4021# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
3284 inttypes.h stdint.h unistd.h
| 4032 inttypes.h stdint.h unistd.h
|
3285do 3286as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
| 4033do 4034as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3287echo "$as_me:$LINENO: checking for $ac_header" >&5 3288echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3289if eval "test \"\${$as_ac_Header+set}\" = set"; then
| 4035{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4036echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4037if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3290 echo $ECHO_N "(cached) $ECHO_C" >&6 3291else 3292 cat >conftest.$ac_ext <<_ACEOF
| 4038 echo $ECHO_N "(cached) $ECHO_C" >&6 4039else 4040 cat >conftest.$ac_ext <<_ACEOF
|
3293#line $LINENO "configure"
| |
3294/* confdefs.h. */ 3295_ACEOF 3296cat confdefs.h >>conftest.$ac_ext 3297cat >>conftest.$ac_ext <<_ACEOF 3298/* end confdefs.h. */ 3299$ac_includes_default 3300 3301#include <$ac_header> 3302_ACEOF 3303rm -f conftest.$ac_objext
| 4041/* confdefs.h. */ 4042_ACEOF 4043cat confdefs.h >>conftest.$ac_ext 4044cat >>conftest.$ac_ext <<_ACEOF 4045/* end confdefs.h. */ 4046$ac_includes_default 4047 4048#include <$ac_header> 4049_ACEOF 4050rm -f conftest.$ac_objext
|
3304if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3305 (eval $ac_compile) 2>&5
| 4051if { (ac_try="$ac_compile" 4052case "(($ac_try" in 4053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4054 *) ac_try_echo=$ac_try;; 4055esac 4056eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4057 (eval "$ac_compile") 2>conftest.er1
|
3306 ac_status=$?
| 4058 ac_status=$?
|
| 4059 grep -v '^ *+' conftest.er1 >conftest.err 4060 rm -f conftest.er1 4061 cat conftest.err >&5
|
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3308 (exit $ac_status); } && 3309 { ac_try='test -s conftest.$ac_objext' 3310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3311 (eval $ac_try) 2>&5 3312 ac_status=$? 3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3314 (exit $ac_status); }; }; then
| 4063 (exit $ac_status); } && { 4064 test -z "$ac_c_werror_flag" || 4065 test ! -s conftest.err 4066 } && test -s conftest.$ac_objext; then
|
3315 eval "$as_ac_Header=yes" 3316else 3317 echo "$as_me: failed program was:" >&5 3318sed 's/^/| /' conftest.$ac_ext >&5 3319
| 4067 eval "$as_ac_Header=yes" 4068else 4069 echo "$as_me: failed program was:" >&5 4070sed 's/^/| /' conftest.$ac_ext >&5 4071
|
3320eval "$as_ac_Header=no"
| 4072 eval "$as_ac_Header=no"
|
3321fi
| 4073fi
|
3322rm -f conftest.$ac_objext conftest.$ac_ext
| 4074 4075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3323fi
| 4076fi
|
3324echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3325echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
| 4077ac_res=`eval echo '${'$as_ac_Header'}'` 4078 { echo "$as_me:$LINENO: result: $ac_res" >&5 4079echo "${ECHO_T}$ac_res" >&6; }
|
3326if test `eval echo '${'$as_ac_Header'}'` = yes; then 3327 cat >>confdefs.h <<_ACEOF 3328#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3329_ACEOF 3330 3331fi 3332 3333done 3334 3335 3336 3337 3338
| 4080if test `eval echo '${'$as_ac_Header'}'` = yes; then 4081 cat >>confdefs.h <<_ACEOF 4082#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4083_ACEOF 4084 4085fi 4086 4087done 4088 4089 4090 4091 4092
|
3339for ac_header in sys/ioccom.h sys/sockio.h limits.h
| 4093 4094for ac_header in sys/ioccom.h sys/sockio.h limits.h paths.h
|
3340do 3341as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
| 4095do 4096as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3342if eval "test \"\${$as_ac_Header+set}\" = set"; then 3343 echo "$as_me:$LINENO: checking for $ac_header" >&5 3344echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3345if eval "test \"\${$as_ac_Header+set}\" = set"; then
| 4097if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4098 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4099echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4100if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3346 echo $ECHO_N "(cached) $ECHO_C" >&6 3347fi
| 4101 echo $ECHO_N "(cached) $ECHO_C" >&6 4102fi
|
3348echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3349echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
| 4103ac_res=`eval echo '${'$as_ac_Header'}'` 4104 { echo "$as_me:$LINENO: result: $ac_res" >&5 4105echo "${ECHO_T}$ac_res" >&6; }
|
3350else 3351 # Is the header compilable?
| 4106else 4107 # Is the header compilable?
|
3352echo "$as_me:$LINENO: checking $ac_header usability" >&5 3353echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
| 4108{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 4109echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
3354cat >conftest.$ac_ext <<_ACEOF
| 4110cat >conftest.$ac_ext <<_ACEOF
|
3355#line $LINENO "configure"
| |
3356/* confdefs.h. */ 3357_ACEOF 3358cat confdefs.h >>conftest.$ac_ext 3359cat >>conftest.$ac_ext <<_ACEOF 3360/* end confdefs.h. */ 3361$ac_includes_default 3362#include <$ac_header> 3363_ACEOF 3364rm -f conftest.$ac_objext
| 4111/* confdefs.h. */ 4112_ACEOF 4113cat confdefs.h >>conftest.$ac_ext 4114cat >>conftest.$ac_ext <<_ACEOF 4115/* end confdefs.h. */ 4116$ac_includes_default 4117#include <$ac_header> 4118_ACEOF 4119rm -f conftest.$ac_objext
|
3365if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3366 (eval $ac_compile) 2>&5
| 4120if { (ac_try="$ac_compile" 4121case "(($ac_try" in 4122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4123 *) ac_try_echo=$ac_try;; 4124esac 4125eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4126 (eval "$ac_compile") 2>conftest.er1
|
3367 ac_status=$?
| 4127 ac_status=$?
|
| 4128 grep -v '^ *+' conftest.er1 >conftest.err 4129 rm -f conftest.er1 4130 cat conftest.err >&5
|
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3369 (exit $ac_status); } && 3370 { ac_try='test -s conftest.$ac_objext' 3371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3372 (eval $ac_try) 2>&5 3373 ac_status=$? 3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3375 (exit $ac_status); }; }; then
| 4132 (exit $ac_status); } && { 4133 test -z "$ac_c_werror_flag" || 4134 test ! -s conftest.err 4135 } && test -s conftest.$ac_objext; then
|
3376 ac_header_compiler=yes 3377else 3378 echo "$as_me: failed program was:" >&5 3379sed 's/^/| /' conftest.$ac_ext >&5 3380
| 4136 ac_header_compiler=yes 4137else 4138 echo "$as_me: failed program was:" >&5 4139sed 's/^/| /' conftest.$ac_ext >&5 4140
|
3381ac_header_compiler=no
| 4141 ac_header_compiler=no
|
3382fi
| 4142fi
|
3383rm -f conftest.$ac_objext conftest.$ac_ext 3384echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3385echo "${ECHO_T}$ac_header_compiler" >&6
| |
3386
| 4143
|
| 4144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4145{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4146echo "${ECHO_T}$ac_header_compiler" >&6; } 4147
|
3387# Is the header present?
| 4148# Is the header present?
|
3388echo "$as_me:$LINENO: checking $ac_header presence" >&5 3389echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
| 4149{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 4150echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
3390cat >conftest.$ac_ext <<_ACEOF
| 4151cat >conftest.$ac_ext <<_ACEOF
|
3391#line $LINENO "configure"
| |
3392/* confdefs.h. */ 3393_ACEOF 3394cat confdefs.h >>conftest.$ac_ext 3395cat >>conftest.$ac_ext <<_ACEOF 3396/* end confdefs.h. */ 3397#include <$ac_header> 3398_ACEOF
| 4152/* confdefs.h. */ 4153_ACEOF 4154cat confdefs.h >>conftest.$ac_ext 4155cat >>conftest.$ac_ext <<_ACEOF 4156/* end confdefs.h. */ 4157#include <$ac_header> 4158_ACEOF
|
3399if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
| 4159if { (ac_try="$ac_cpp conftest.$ac_ext" 4160case "(($ac_try" in 4161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4162 *) ac_try_echo=$ac_try;; 4163esac 4164eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4165 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3401 ac_status=$? 3402 grep -v '^ *+' conftest.er1 >conftest.err 3403 rm -f conftest.er1 3404 cat conftest.err >&5 3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 4166 ac_status=$? 4167 grep -v '^ *+' conftest.er1 >conftest.err 4168 rm -f conftest.er1 4169 cat conftest.err >&5 4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3406 (exit $ac_status); } >/dev/null; then 3407 if test -s conftest.err; then 3408 ac_cpp_err=$ac_c_preproc_warn_flag 3409 else 3410 ac_cpp_err= 3411 fi 3412else 3413 ac_cpp_err=yes 3414fi 3415if test -z "$ac_cpp_err"; then
| 4171 (exit $ac_status); } >/dev/null && { 4172 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4173 test ! -s conftest.err 4174 }; then
|
3416 ac_header_preproc=yes 3417else 3418 echo "$as_me: failed program was:" >&5 3419sed 's/^/| /' conftest.$ac_ext >&5 3420 3421 ac_header_preproc=no 3422fi
| 4175 ac_header_preproc=yes 4176else 4177 echo "$as_me: failed program was:" >&5 4178sed 's/^/| /' conftest.$ac_ext >&5 4179 4180 ac_header_preproc=no 4181fi
|
| 4182
|
3423rm -f conftest.err conftest.$ac_ext
| 4183rm -f conftest.err conftest.$ac_ext
|
3424echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3425echo "${ECHO_T}$ac_header_preproc" >&6
| 4184{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4185echo "${ECHO_T}$ac_header_preproc" >&6; }
|
3426 3427# So? What about this header?
| 4186 4187# So? What about this header?
|
3428case $ac_header_compiler:$ac_header_preproc in 3429 yes:no )
| 4188case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4189 yes:no: )
|
3430 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3431echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
| 4190 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4191echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
3432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3433echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 3434 ( 3435 cat <<\_ASBOX 3436## ------------------------------------ ## 3437## Report this to bug-autoconf@gnu.org. ## 3438## ------------------------------------ ## 3439_ASBOX 3440 ) | 3441 sed "s/^/$as_me: WARNING: /" >&2
| 4192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4193echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4194 ac_header_preproc=yes
|
3442 ;;
| 4195 ;;
|
3443 no:yes )
| 4196 no:yes:* )
|
3444 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3445echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
| 4197 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4198echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
3446 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 3447echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
| 4199 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4200echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4201 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4202echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4203 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4204echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
3448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 3449echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
| 4205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4206echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
3450 ( 3451 cat <<\_ASBOX 3452## ------------------------------------ ## 3453## Report this to bug-autoconf@gnu.org. ## 3454## ------------------------------------ ## 3455_ASBOX 3456 ) | 3457 sed "s/^/$as_me: WARNING: /" >&2
| 4207 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4208echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4209
|
3458 ;; 3459esac
| 4210 ;; 4211esac
|
3460echo "$as_me:$LINENO: checking for $ac_header" >&5 3461echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3462if eval "test \"\${$as_ac_Header+set}\" = set"; then
| 4212{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4213echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4214if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3463 echo $ECHO_N "(cached) $ECHO_C" >&6 3464else
| 4215 echo $ECHO_N "(cached) $ECHO_C" >&6 4216else
|
3465 eval "$as_ac_Header=$ac_header_preproc"
| 4217 eval "$as_ac_Header=\$ac_header_preproc"
|
3466fi
| 4218fi
|
3467echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3468echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
| 4219ac_res=`eval echo '${'$as_ac_Header'}'` 4220 { echo "$as_me:$LINENO: result: $ac_res" >&5 4221echo "${ECHO_T}$ac_res" >&6; }
|
3469 3470fi 3471if test `eval echo '${'$as_ac_Header'}'` = yes; then 3472 cat >>confdefs.h <<_ACEOF 3473#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3474_ACEOF 3475 3476fi 3477 3478done 3479 3480
| 4222 4223fi 4224if test `eval echo '${'$as_ac_Header'}'` = yes; then 4225 cat >>confdefs.h <<_ACEOF 4226#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4227_ACEOF 4228 4229fi 4230 4231done 4232 4233
|
3481for ac_header in netinet/if_ether.h
| 4234for ac_header in net/pfvar.h
|
3482do 3483as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
| 4235do 4236as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3484echo "$as_me:$LINENO: checking for $ac_header" >&5 3485echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3486if eval "test \"\${$as_ac_Header+set}\" = set"; then
| 4237{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4238echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4239if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3487 echo $ECHO_N "(cached) $ECHO_C" >&6 3488else 3489 cat >conftest.$ac_ext <<_ACEOF
| 4240 echo $ECHO_N "(cached) $ECHO_C" >&6 4241else 4242 cat >conftest.$ac_ext <<_ACEOF
|
3490#line $LINENO "configure"
| |
3491/* confdefs.h. */ 3492_ACEOF 3493cat confdefs.h >>conftest.$ac_ext 3494cat >>conftest.$ac_ext <<_ACEOF 3495/* end confdefs.h. */ 3496#include <sys/types.h> 3497#include <sys/socket.h>
| 4243/* confdefs.h. */ 4244_ACEOF 4245cat confdefs.h >>conftest.$ac_ext 4246cat >>conftest.$ac_ext <<_ACEOF 4247/* end confdefs.h. */ 4248#include <sys/types.h> 4249#include <sys/socket.h>
|
| 4250#include <net/if.h>
|
3498 3499#include <$ac_header> 3500_ACEOF 3501rm -f conftest.$ac_objext
| 4251 4252#include <$ac_header> 4253_ACEOF 4254rm -f conftest.$ac_objext
|
3502if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3503 (eval $ac_compile) 2>&5
| 4255if { (ac_try="$ac_compile" 4256case "(($ac_try" in 4257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4258 *) ac_try_echo=$ac_try;; 4259esac 4260eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4261 (eval "$ac_compile") 2>conftest.er1
|
3504 ac_status=$?
| 4262 ac_status=$?
|
| 4263 grep -v '^ *+' conftest.er1 >conftest.err 4264 rm -f conftest.er1 4265 cat conftest.err >&5
|
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 4266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3506 (exit $ac_status); } && 3507 { ac_try='test -s conftest.$ac_objext' 3508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3509 (eval $ac_try) 2>&5
| 4267 (exit $ac_status); } && { 4268 test -z "$ac_c_werror_flag" || 4269 test ! -s conftest.err 4270 } && test -s conftest.$ac_objext; then 4271 eval "$as_ac_Header=yes" 4272else 4273 echo "$as_me: failed program was:" >&5 4274sed 's/^/| /' conftest.$ac_ext >&5 4275 4276 eval "$as_ac_Header=no" 4277fi 4278 4279rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4280fi 4281ac_res=`eval echo '${'$as_ac_Header'}'` 4282 { echo "$as_me:$LINENO: result: $ac_res" >&5 4283echo "${ECHO_T}$ac_res" >&6; } 4284if test `eval echo '${'$as_ac_Header'}'` = yes; then 4285 cat >>confdefs.h <<_ACEOF 4286#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4287_ACEOF 4288 4289fi 4290 4291done 4292 4293 4294for ac_header in netinet/if_ether.h 4295do 4296as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4297{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4298echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4299if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4300 echo $ECHO_N "(cached) $ECHO_C" >&6 4301else 4302 cat >conftest.$ac_ext <<_ACEOF 4303/* confdefs.h. */ 4304_ACEOF 4305cat confdefs.h >>conftest.$ac_ext 4306cat >>conftest.$ac_ext <<_ACEOF 4307/* end confdefs.h. */ 4308#include <sys/types.h> 4309#include <sys/socket.h> 4310 4311#include <$ac_header> 4312_ACEOF 4313rm -f conftest.$ac_objext 4314if { (ac_try="$ac_compile" 4315case "(($ac_try" in 4316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4317 *) ac_try_echo=$ac_try;; 4318esac 4319eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4320 (eval "$ac_compile") 2>conftest.er1
|
3510 ac_status=$?
| 4321 ac_status=$?
|
| 4322 grep -v '^ *+' conftest.er1 >conftest.err 4323 rm -f conftest.er1 4324 cat conftest.err >&5
|
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3512 (exit $ac_status); }; }; then
| 4326 (exit $ac_status); } && { 4327 test -z "$ac_c_werror_flag" || 4328 test ! -s conftest.err 4329 } && test -s conftest.$ac_objext; then
|
3513 eval "$as_ac_Header=yes" 3514else 3515 echo "$as_me: failed program was:" >&5 3516sed 's/^/| /' conftest.$ac_ext >&5 3517
| 4330 eval "$as_ac_Header=yes" 4331else 4332 echo "$as_me: failed program was:" >&5 4333sed 's/^/| /' conftest.$ac_ext >&5 4334
|
3518eval "$as_ac_Header=no"
| 4335 eval "$as_ac_Header=no"
|
3519fi
| 4336fi
|
3520rm -f conftest.$ac_objext conftest.$ac_ext
| 4337 4338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3521fi
| 4339fi
|
3522echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3523echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
| 4340ac_res=`eval echo '${'$as_ac_Header'}'` 4341 { echo "$as_me:$LINENO: result: $ac_res" >&5 4342echo "${ECHO_T}$ac_res" >&6; }
|
3524if test `eval echo '${'$as_ac_Header'}'` = yes; then 3525 cat >>confdefs.h <<_ACEOF 3526#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3527_ACEOF 3528 3529fi 3530 3531done 3532 3533if test "$ac_cv_header_netinet_if_ether_h" != yes; then 3534 # 3535 # The simple test didn't work. 3536 # Do we need to include <net/if.h> first? 3537 # Unset ac_cv_header_netinet_if_ether_h so we don't 3538 # treat the previous failure as a cached value and 3539 # suppress the next test. 3540 # 3541 { echo "$as_me:$LINENO: Rechecking with some additional includes" >&5 3542echo "$as_me: Rechecking with some additional includes" >&6;} 3543 unset ac_cv_header_netinet_if_ether_h 3544 3545for ac_header in netinet/if_ether.h 3546do 3547as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
| 4343if test `eval echo '${'$as_ac_Header'}'` = yes; then 4344 cat >>confdefs.h <<_ACEOF 4345#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4346_ACEOF 4347 4348fi 4349 4350done 4351 4352if test "$ac_cv_header_netinet_if_ether_h" != yes; then 4353 # 4354 # The simple test didn't work. 4355 # Do we need to include <net/if.h> first? 4356 # Unset ac_cv_header_netinet_if_ether_h so we don't 4357 # treat the previous failure as a cached value and 4358 # suppress the next test. 4359 # 4360 { echo "$as_me:$LINENO: Rechecking with some additional includes" >&5 4361echo "$as_me: Rechecking with some additional includes" >&6;} 4362 unset ac_cv_header_netinet_if_ether_h 4363 4364for ac_header in netinet/if_ether.h 4365do 4366as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3548echo "$as_me:$LINENO: checking for $ac_header" >&5 3549echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3550if eval "test \"\${$as_ac_Header+set}\" = set"; then
| 4367{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4368echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4369if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3551 echo $ECHO_N "(cached) $ECHO_C" >&6 3552else 3553 cat >conftest.$ac_ext <<_ACEOF
| 4370 echo $ECHO_N "(cached) $ECHO_C" >&6 4371else 4372 cat >conftest.$ac_ext <<_ACEOF
|
3554#line $LINENO "configure"
| |
3555/* confdefs.h. */ 3556_ACEOF 3557cat confdefs.h >>conftest.$ac_ext 3558cat >>conftest.$ac_ext <<_ACEOF 3559/* end confdefs.h. */ 3560#include <sys/types.h> 3561#include <sys/socket.h> 3562#include <netinet/in.h> 3563struct mbuf; 3564struct rtentry; 3565#include <net/if.h> 3566 3567#include <$ac_header> 3568_ACEOF 3569rm -f conftest.$ac_objext
| 4373/* confdefs.h. */ 4374_ACEOF 4375cat confdefs.h >>conftest.$ac_ext 4376cat >>conftest.$ac_ext <<_ACEOF 4377/* end confdefs.h. */ 4378#include <sys/types.h> 4379#include <sys/socket.h> 4380#include <netinet/in.h> 4381struct mbuf; 4382struct rtentry; 4383#include <net/if.h> 4384 4385#include <$ac_header> 4386_ACEOF 4387rm -f conftest.$ac_objext
|
3570if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3571 (eval $ac_compile) 2>&5
| 4388if { (ac_try="$ac_compile" 4389case "(($ac_try" in 4390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4391 *) ac_try_echo=$ac_try;; 4392esac 4393eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4394 (eval "$ac_compile") 2>conftest.er1
|
3572 ac_status=$?
| 4395 ac_status=$?
|
| 4396 grep -v '^ *+' conftest.er1 >conftest.err 4397 rm -f conftest.er1 4398 cat conftest.err >&5
|
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3574 (exit $ac_status); } && 3575 { ac_try='test -s conftest.$ac_objext' 3576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3577 (eval $ac_try) 2>&5 3578 ac_status=$? 3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3580 (exit $ac_status); }; }; then
| 4400 (exit $ac_status); } && { 4401 test -z "$ac_c_werror_flag" || 4402 test ! -s conftest.err 4403 } && test -s conftest.$ac_objext; then
|
3581 eval "$as_ac_Header=yes" 3582else 3583 echo "$as_me: failed program was:" >&5 3584sed 's/^/| /' conftest.$ac_ext >&5 3585
| 4404 eval "$as_ac_Header=yes" 4405else 4406 echo "$as_me: failed program was:" >&5 4407sed 's/^/| /' conftest.$ac_ext >&5 4408
|
3586eval "$as_ac_Header=no"
| 4409 eval "$as_ac_Header=no"
|
3587fi
| 4410fi
|
3588rm -f conftest.$ac_objext conftest.$ac_ext
| 4411 4412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3589fi
| 4413fi
|
3590echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3591echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
| 4414ac_res=`eval echo '${'$as_ac_Header'}'` 4415 { echo "$as_me:$LINENO: result: $ac_res" >&5 4416echo "${ECHO_T}$ac_res" >&6; }
|
3592if test `eval echo '${'$as_ac_Header'}'` = yes; then 3593 cat >>confdefs.h <<_ACEOF 3594#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3595_ACEOF 3596 3597fi 3598 3599done 3600 3601fi 3602 3603if test "$GCC" = yes ; then
| 4417if test `eval echo '${'$as_ac_Header'}'` = yes; then 4418 cat >>confdefs.h <<_ACEOF 4419#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4420_ACEOF 4421 4422fi 4423 4424done 4425 4426fi 4427 4428if test "$GCC" = yes ; then
|
3604 echo "$as_me:$LINENO: checking for ANSI ioctl definitions" >&5 3605echo $ECHO_N "checking for ANSI ioctl definitions... $ECHO_C" >&6
| 4429 { echo "$as_me:$LINENO: checking for ANSI ioctl definitions" >&5 4430echo $ECHO_N "checking for ANSI ioctl definitions... $ECHO_C" >&6; }
|
3606 if test "${ac_cv_lbl_gcc_fixincludes+set}" = set; then 3607 echo $ECHO_N "(cached) $ECHO_C" >&6 3608else 3609 cat >conftest.$ac_ext <<_ACEOF
| 4431 if test "${ac_cv_lbl_gcc_fixincludes+set}" = set; then 4432 echo $ECHO_N "(cached) $ECHO_C" >&6 4433else 4434 cat >conftest.$ac_ext <<_ACEOF
|
3610#line $LINENO "configure"
| |
3611/* confdefs.h. */ 3612_ACEOF 3613cat confdefs.h >>conftest.$ac_ext 3614cat >>conftest.$ac_ext <<_ACEOF 3615/* end confdefs.h. */ 3616/* 3617 * This generates a "duplicate case value" when fixincludes 3618 * has not be run. 3619 */ 3620# include <sys/types.h> 3621# include <sys/time.h> 3622# include <sys/ioctl.h> 3623# ifdef HAVE_SYS_IOCCOM_H 3624# include <sys/ioccom.h> 3625# endif 3626int 3627main () 3628{ 3629switch (0) { 3630 case _IO('A', 1):; 3631 case _IO('B', 1):; 3632 } 3633 ; 3634 return 0; 3635} 3636_ACEOF 3637rm -f conftest.$ac_objext
| 4435/* confdefs.h. */ 4436_ACEOF 4437cat confdefs.h >>conftest.$ac_ext 4438cat >>conftest.$ac_ext <<_ACEOF 4439/* end confdefs.h. */ 4440/* 4441 * This generates a "duplicate case value" when fixincludes 4442 * has not be run. 4443 */ 4444# include <sys/types.h> 4445# include <sys/time.h> 4446# include <sys/ioctl.h> 4447# ifdef HAVE_SYS_IOCCOM_H 4448# include <sys/ioccom.h> 4449# endif 4450int 4451main () 4452{ 4453switch (0) { 4454 case _IO('A', 1):; 4455 case _IO('B', 1):; 4456 } 4457 ; 4458 return 0; 4459} 4460_ACEOF 4461rm -f conftest.$ac_objext
|
3638if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3639 (eval $ac_compile) 2>&5
| 4462if { (ac_try="$ac_compile" 4463case "(($ac_try" in 4464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4465 *) ac_try_echo=$ac_try;; 4466esac 4467eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4468 (eval "$ac_compile") 2>conftest.er1
|
3640 ac_status=$?
| 4469 ac_status=$?
|
| 4470 grep -v '^ *+' conftest.er1 >conftest.err 4471 rm -f conftest.er1 4472 cat conftest.err >&5
|
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3642 (exit $ac_status); } && 3643 { ac_try='test -s conftest.$ac_objext' 3644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3645 (eval $ac_try) 2>&5 3646 ac_status=$? 3647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3648 (exit $ac_status); }; }; then
| 4474 (exit $ac_status); } && { 4475 test -z "$ac_c_werror_flag" || 4476 test ! -s conftest.err 4477 } && test -s conftest.$ac_objext; then
|
3649 ac_cv_lbl_gcc_fixincludes=yes 3650else 3651 echo "$as_me: failed program was:" >&5 3652sed 's/^/| /' conftest.$ac_ext >&5 3653
| 4478 ac_cv_lbl_gcc_fixincludes=yes 4479else 4480 echo "$as_me: failed program was:" >&5 4481sed 's/^/| /' conftest.$ac_ext >&5 4482
|
3654ac_cv_lbl_gcc_fixincludes=no
| 4483 ac_cv_lbl_gcc_fixincludes=no
|
3655fi
| 4484fi
|
3656rm -f conftest.$ac_objext conftest.$ac_ext
| 4485 4486rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3657fi 3658
| 4487fi 4488
|
3659 echo "$as_me:$LINENO: result: $ac_cv_lbl_gcc_fixincludes" >&5 3660echo "${ECHO_T}$ac_cv_lbl_gcc_fixincludes" >&6
| 4489 { echo "$as_me:$LINENO: result: $ac_cv_lbl_gcc_fixincludes" >&5 4490echo "${ECHO_T}$ac_cv_lbl_gcc_fixincludes" >&6; }
|
3661 if test $ac_cv_lbl_gcc_fixincludes = no ; then 3662 # Don't cache failure 3663 unset ac_cv_lbl_gcc_fixincludes 3664 { { echo "$as_me:$LINENO: error: see the INSTALL for more info" >&5 3665echo "$as_me: error: see the INSTALL for more info" >&2;} 3666 { (exit 1); exit 1; }; } 3667 fi 3668 fi 3669 3670 3671 3672for ac_func in strerror strlcpy 3673do 3674as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
| 4491 if test $ac_cv_lbl_gcc_fixincludes = no ; then 4492 # Don't cache failure 4493 unset ac_cv_lbl_gcc_fixincludes 4494 { { echo "$as_me:$LINENO: error: see the INSTALL for more info" >&5 4495echo "$as_me: error: see the INSTALL for more info" >&2;} 4496 { (exit 1); exit 1; }; } 4497 fi 4498 fi 4499 4500 4501 4502for ac_func in strerror strlcpy 4503do 4504as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
3675echo "$as_me:$LINENO: checking for $ac_func" >&5 3676echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 3677if eval "test \"\${$as_ac_var+set}\" = set"; then
| 4505{ echo "$as_me:$LINENO: checking for $ac_func" >&5 4506echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4507if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
3678 echo $ECHO_N "(cached) $ECHO_C" >&6 3679else 3680 cat >conftest.$ac_ext <<_ACEOF
| 4508 echo $ECHO_N "(cached) $ECHO_C" >&6 4509else 4510 cat >conftest.$ac_ext <<_ACEOF
|
3681#line $LINENO "configure"
| |
3682/* confdefs.h. */ 3683_ACEOF 3684cat confdefs.h >>conftest.$ac_ext 3685cat >>conftest.$ac_ext <<_ACEOF 3686/* end confdefs.h. */
| 4511/* confdefs.h. */ 4512_ACEOF 4513cat confdefs.h >>conftest.$ac_ext 4514cat >>conftest.$ac_ext <<_ACEOF 4515/* end confdefs.h. */
|
| 4516/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4517 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4518#define $ac_func innocuous_$ac_func 4519
|
3687/* System header to define __stub macros and hopefully few prototypes, 3688 which can conflict with char $ac_func (); below. 3689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3690 <limits.h> exists even on freestanding compilers. */
| 4520/* System header to define __stub macros and hopefully few prototypes, 4521 which can conflict with char $ac_func (); below. 4522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4523 <limits.h> exists even on freestanding compilers. */
|
| 4524
|
3691#ifdef __STDC__ 3692# include <limits.h> 3693#else 3694# include <assert.h> 3695#endif
| 4525#ifdef __STDC__ 4526# include <limits.h> 4527#else 4528# include <assert.h> 4529#endif
|
3696/* Override any gcc2 internal prototype to avoid an error. */
| 4530 4531#undef $ac_func 4532 4533/* Override any GCC internal prototype to avoid an error. 4534 Use char because int might match the return type of a GCC 4535 builtin and then its argument prototype would still apply. */
|
3697#ifdef __cplusplus 3698extern "C"
| 4536#ifdef __cplusplus 4537extern "C"
|
3699{
| |
3700#endif
| 4538#endif
|
3701/* We use char because int might match the return type of a gcc2 3702 builtin and then its argument prototype would still apply. */
| |
3703char $ac_func (); 3704/* The GNU C library defines this for functions which it implements 3705 to always fail with ENOSYS. Some functions are actually named 3706 something starting with __ and the normal name is an alias. */
| 4539char $ac_func (); 4540/* The GNU C library defines this for functions which it implements 4541 to always fail with ENOSYS. Some functions are actually named 4542 something starting with __ and the normal name is an alias. */
|
3707#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
| 4543#if defined __stub_$ac_func || defined __stub___$ac_func
|
3708choke me
| 4544choke me
|
3709#else 3710char (*f) () = $ac_func;
| |
3711#endif
| 4545#endif
|
3712#ifdef __cplusplus 3713} 3714#endif
| |
3715 3716int 3717main () 3718{
| 4546 4547int 4548main () 4549{
|
3719return f != $ac_func;
| 4550return $ac_func ();
|
3720 ; 3721 return 0; 3722} 3723_ACEOF 3724rm -f conftest.$ac_objext conftest$ac_exeext
| 4551 ; 4552 return 0; 4553} 4554_ACEOF 4555rm -f conftest.$ac_objext conftest$ac_exeext
|
3725if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3726 (eval $ac_link) 2>&5
| 4556if { (ac_try="$ac_link" 4557case "(($ac_try" in 4558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4559 *) ac_try_echo=$ac_try;; 4560esac 4561eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4562 (eval "$ac_link") 2>conftest.er1
|
3727 ac_status=$?
| 4563 ac_status=$?
|
| 4564 grep -v '^ *+' conftest.er1 >conftest.err 4565 rm -f conftest.er1 4566 cat conftest.err >&5
|
3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3729 (exit $ac_status); } && 3730 { ac_try='test -s conftest$ac_exeext' 3731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3732 (eval $ac_try) 2>&5 3733 ac_status=$? 3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3735 (exit $ac_status); }; }; then
| 4568 (exit $ac_status); } && { 4569 test -z "$ac_c_werror_flag" || 4570 test ! -s conftest.err 4571 } && test -s conftest$ac_exeext && 4572 $as_test_x conftest$ac_exeext; then
|
3736 eval "$as_ac_var=yes" 3737else 3738 echo "$as_me: failed program was:" >&5 3739sed 's/^/| /' conftest.$ac_ext >&5 3740
| 4573 eval "$as_ac_var=yes" 4574else 4575 echo "$as_me: failed program was:" >&5 4576sed 's/^/| /' conftest.$ac_ext >&5 4577
|
3741eval "$as_ac_var=no"
| 4578 eval "$as_ac_var=no"
|
3742fi
| 4579fi
|
3743rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
| 4580 4581rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4582 conftest$ac_exeext conftest.$ac_ext
|
3744fi
| 4583fi
|
3745echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 3746echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
| 4584ac_res=`eval echo '${'$as_ac_var'}'` 4585 { echo "$as_me:$LINENO: result: $ac_res" >&5 4586echo "${ECHO_T}$ac_res" >&6; }
|
3747if test `eval echo '${'$as_ac_var'}'` = yes; then 3748 cat >>confdefs.h <<_ACEOF 3749#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 3750_ACEOF 3751 3752fi 3753done 3754 3755 3756needsnprintf=no 3757 3758 3759for ac_func in vsnprintf snprintf 3760do 3761as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
| 4587if test `eval echo '${'$as_ac_var'}'` = yes; then 4588 cat >>confdefs.h <<_ACEOF 4589#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4590_ACEOF 4591 4592fi 4593done 4594 4595 4596needsnprintf=no 4597 4598 4599for ac_func in vsnprintf snprintf 4600do 4601as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
3762echo "$as_me:$LINENO: checking for $ac_func" >&5 3763echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 3764if eval "test \"\${$as_ac_var+set}\" = set"; then
| 4602{ echo "$as_me:$LINENO: checking for $ac_func" >&5 4603echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4604if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
3765 echo $ECHO_N "(cached) $ECHO_C" >&6 3766else 3767 cat >conftest.$ac_ext <<_ACEOF
| 4605 echo $ECHO_N "(cached) $ECHO_C" >&6 4606else 4607 cat >conftest.$ac_ext <<_ACEOF
|
3768#line $LINENO "configure"
| |
3769/* confdefs.h. */ 3770_ACEOF 3771cat confdefs.h >>conftest.$ac_ext 3772cat >>conftest.$ac_ext <<_ACEOF 3773/* end confdefs.h. */
| 4608/* confdefs.h. */ 4609_ACEOF 4610cat confdefs.h >>conftest.$ac_ext 4611cat >>conftest.$ac_ext <<_ACEOF 4612/* end confdefs.h. */
|
| 4613/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4614 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4615#define $ac_func innocuous_$ac_func 4616
|
3774/* System header to define __stub macros and hopefully few prototypes, 3775 which can conflict with char $ac_func (); below. 3776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3777 <limits.h> exists even on freestanding compilers. */
| 4617/* System header to define __stub macros and hopefully few prototypes, 4618 which can conflict with char $ac_func (); below. 4619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4620 <limits.h> exists even on freestanding compilers. */
|
| 4621
|
3778#ifdef __STDC__ 3779# include <limits.h> 3780#else 3781# include <assert.h> 3782#endif
| 4622#ifdef __STDC__ 4623# include <limits.h> 4624#else 4625# include <assert.h> 4626#endif
|
3783/* Override any gcc2 internal prototype to avoid an error. */
| 4627 4628#undef $ac_func 4629 4630/* Override any GCC internal prototype to avoid an error. 4631 Use char because int might match the return type of a GCC 4632 builtin and then its argument prototype would still apply. */
|
3784#ifdef __cplusplus 3785extern "C"
| 4633#ifdef __cplusplus 4634extern "C"
|
3786{
| |
3787#endif
| 4635#endif
|
3788/* We use char because int might match the return type of a gcc2 3789 builtin and then its argument prototype would still apply. */
| |
3790char $ac_func (); 3791/* The GNU C library defines this for functions which it implements 3792 to always fail with ENOSYS. Some functions are actually named 3793 something starting with __ and the normal name is an alias. */
| 4636char $ac_func (); 4637/* The GNU C library defines this for functions which it implements 4638 to always fail with ENOSYS. Some functions are actually named 4639 something starting with __ and the normal name is an alias. */
|
3794#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
| 4640#if defined __stub_$ac_func || defined __stub___$ac_func
|
3795choke me
| 4641choke me
|
3796#else 3797char (*f) () = $ac_func;
| |
3798#endif
| 4642#endif
|
3799#ifdef __cplusplus 3800} 3801#endif
| |
3802 3803int 3804main () 3805{
| 4643 4644int 4645main () 4646{
|
3806return f != $ac_func;
| 4647return $ac_func ();
|
3807 ; 3808 return 0; 3809} 3810_ACEOF 3811rm -f conftest.$ac_objext conftest$ac_exeext
| 4648 ; 4649 return 0; 4650} 4651_ACEOF 4652rm -f conftest.$ac_objext conftest$ac_exeext
|
3812if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3813 (eval $ac_link) 2>&5
| 4653if { (ac_try="$ac_link" 4654case "(($ac_try" in 4655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4656 *) ac_try_echo=$ac_try;; 4657esac 4658eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4659 (eval "$ac_link") 2>conftest.er1
|
3814 ac_status=$?
| 4660 ac_status=$?
|
| 4661 grep -v '^ *+' conftest.er1 >conftest.err 4662 rm -f conftest.er1 4663 cat conftest.err >&5
|
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 4664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3816 (exit $ac_status); } && 3817 { ac_try='test -s conftest$ac_exeext' 3818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3819 (eval $ac_try) 2>&5 3820 ac_status=$? 3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3822 (exit $ac_status); }; }; then
| 4665 (exit $ac_status); } && { 4666 test -z "$ac_c_werror_flag" || 4667 test ! -s conftest.err 4668 } && test -s conftest$ac_exeext && 4669 $as_test_x conftest$ac_exeext; then
|
3823 eval "$as_ac_var=yes" 3824else 3825 echo "$as_me: failed program was:" >&5 3826sed 's/^/| /' conftest.$ac_ext >&5 3827
| 4670 eval "$as_ac_var=yes" 4671else 4672 echo "$as_me: failed program was:" >&5 4673sed 's/^/| /' conftest.$ac_ext >&5 4674
|
3828eval "$as_ac_var=no"
| 4675 eval "$as_ac_var=no"
|
3829fi
| 4676fi
|
3830rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
| 4677 4678rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4679 conftest$ac_exeext conftest.$ac_ext
|
3831fi
| 4680fi
|
3832echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 3833echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
| 4681ac_res=`eval echo '${'$as_ac_var'}'` 4682 { echo "$as_me:$LINENO: result: $ac_res" >&5 4683echo "${ECHO_T}$ac_res" >&6; }
|
3834if test `eval echo '${'$as_ac_var'}'` = yes; then 3835 cat >>confdefs.h <<_ACEOF 3836#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 3837_ACEOF 3838 3839else 3840 needsnprintf=yes 3841fi 3842done 3843 3844if test $needsnprintf = yes; then
| 4684if test `eval echo '${'$as_ac_var'}'` = yes; then 4685 cat >>confdefs.h <<_ACEOF 4686#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4687_ACEOF 4688 4689else 4690 needsnprintf=yes 4691fi 4692done 4693 4694if test $needsnprintf = yes; then
|
3845 LIBOBJS="$LIBOBJS snprintf.$ac_objext"
| 4695 case " $LIBOBJS " in 4696 *" snprintf.$ac_objext "* ) ;; 4697 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext" 4698 ;; 4699esac 4700
|
3846fi 3847 3848# 3849# Do this before checking for ether_hostton(), as it's a 3850# "gethostbyname() -ish function". 3851# 3852 3853 # Most operating systems have gethostbyname() in the default searched 3854 # libraries (i.e. libc): 3855 # Some OSes (eg. Solaris) place it in libnsl 3856 # Some strange OSes (SINIX) have it in libsocket:
| 4701fi 4702 4703# 4704# Do this before checking for ether_hostton(), as it's a 4705# "gethostbyname() -ish function". 4706# 4707 4708 # Most operating systems have gethostbyname() in the default searched 4709 # libraries (i.e. libc): 4710 # Some OSes (eg. Solaris) place it in libnsl 4711 # Some strange OSes (SINIX) have it in libsocket:
|
3857 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 3858echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
| 4712 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 4713echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
|
3859if test "${ac_cv_search_gethostbyname+set}" = set; then 3860 echo $ECHO_N "(cached) $ECHO_C" >&6 3861else 3862 ac_func_search_save_LIBS=$LIBS
| 4714if test "${ac_cv_search_gethostbyname+set}" = set; then 4715 echo $ECHO_N "(cached) $ECHO_C" >&6 4716else 4717 ac_func_search_save_LIBS=$LIBS
|
3863ac_cv_search_gethostbyname=no
| |
3864cat >conftest.$ac_ext <<_ACEOF
| 4718cat >conftest.$ac_ext <<_ACEOF
|
3865#line $LINENO "configure"
| |
3866/* confdefs.h. */ 3867_ACEOF 3868cat confdefs.h >>conftest.$ac_ext 3869cat >>conftest.$ac_ext <<_ACEOF 3870/* end confdefs.h. */ 3871
| 4719/* confdefs.h. */ 4720_ACEOF 4721cat confdefs.h >>conftest.$ac_ext 4722cat >>conftest.$ac_ext <<_ACEOF 4723/* end confdefs.h. */ 4724
|
3872/* Override any gcc2 internal prototype to avoid an error. */
| 4725/* Override any GCC internal prototype to avoid an error. 4726 Use char because int might match the return type of a GCC 4727 builtin and then its argument prototype would still apply. */
|
3873#ifdef __cplusplus 3874extern "C" 3875#endif
| 4728#ifdef __cplusplus 4729extern "C" 4730#endif
|
3876/* We use char because int might match the return type of a gcc2 3877 builtin and then its argument prototype would still apply. */
| |
3878char gethostbyname (); 3879int 3880main () 3881{
| 4731char gethostbyname (); 4732int 4733main () 4734{
|
3882gethostbyname ();
| 4735return gethostbyname ();
|
3883 ; 3884 return 0; 3885} 3886_ACEOF
| 4736 ; 4737 return 0; 4738} 4739_ACEOF
|
3887rm -f conftest.$ac_objext conftest$ac_exeext 3888if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3889 (eval $ac_link) 2>&5
| 4740for ac_lib in '' nsl socket resolv; do 4741 if test -z "$ac_lib"; then 4742 ac_res="none required" 4743 else 4744 ac_res=-l$ac_lib 4745 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4746 fi 4747 rm -f conftest.$ac_objext conftest$ac_exeext 4748if { (ac_try="$ac_link" 4749case "(($ac_try" in 4750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4751 *) ac_try_echo=$ac_try;; 4752esac 4753eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4754 (eval "$ac_link") 2>conftest.er1
|
3890 ac_status=$?
| 4755 ac_status=$?
|
| 4756 grep -v '^ *+' conftest.er1 >conftest.err 4757 rm -f conftest.er1 4758 cat conftest.err >&5
|
3891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3892 (exit $ac_status); } && 3893 { ac_try='test -s conftest$ac_exeext' 3894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3895 (eval $ac_try) 2>&5 3896 ac_status=$? 3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3898 (exit $ac_status); }; }; then 3899 ac_cv_search_gethostbyname="none required"
| 4760 (exit $ac_status); } && { 4761 test -z "$ac_c_werror_flag" || 4762 test ! -s conftest.err 4763 } && test -s conftest$ac_exeext && 4764 $as_test_x conftest$ac_exeext; then 4765 ac_cv_search_gethostbyname=$ac_res
|
3900else 3901 echo "$as_me: failed program was:" >&5 3902sed 's/^/| /' conftest.$ac_ext >&5 3903
| 4766else 4767 echo "$as_me: failed program was:" >&5 4768sed 's/^/| /' conftest.$ac_ext >&5 4769
|
| 4770
|
3904fi
| 4771fi
|
3905rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3906if test "$ac_cv_search_gethostbyname" = no; then 3907 for ac_lib in nsl socket resolv; do 3908 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3909 cat >conftest.$ac_ext <<_ACEOF 3910#line $LINENO "configure" 3911/* confdefs.h. */ 3912_ACEOF 3913cat confdefs.h >>conftest.$ac_ext 3914cat >>conftest.$ac_ext <<_ACEOF 3915/* end confdefs.h. */
| |
3916
| 4772
|
3917/* Override any gcc2 internal prototype to avoid an error. */ 3918#ifdef __cplusplus 3919extern "C" 3920#endif 3921/* We use char because int might match the return type of a gcc2 3922 builtin and then its argument prototype would still apply. */ 3923char gethostbyname (); 3924int 3925main () 3926{ 3927gethostbyname (); 3928 ; 3929 return 0; 3930} 3931_ACEOF 3932rm -f conftest.$ac_objext conftest$ac_exeext 3933if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3934 (eval $ac_link) 2>&5 3935 ac_status=$? 3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3937 (exit $ac_status); } && 3938 { ac_try='test -s conftest$ac_exeext' 3939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3940 (eval $ac_try) 2>&5 3941 ac_status=$? 3942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3943 (exit $ac_status); }; }; then 3944 ac_cv_search_gethostbyname="-l$ac_lib" 3945break
| 4773rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4774 conftest$ac_exeext 4775 if test "${ac_cv_search_gethostbyname+set}" = set; then 4776 break 4777fi 4778done 4779if test "${ac_cv_search_gethostbyname+set}" = set; then 4780 :
|
3946else
| 4781else
|
3947 echo "$as_me: failed program was:" >&5 3948sed 's/^/| /' conftest.$ac_ext >&5 3949
| 4782 ac_cv_search_gethostbyname=no
|
3950fi
| 4783fi
|
3951rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3952 done 3953fi
| 4784rm conftest.$ac_ext
|
3954LIBS=$ac_func_search_save_LIBS 3955fi
| 4785LIBS=$ac_func_search_save_LIBS 4786fi
|
3956echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 3957echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6 3958if test "$ac_cv_search_gethostbyname" != no; then 3959 test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
| 4787{ echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 4788echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; } 4789ac_res=$ac_cv_search_gethostbyname 4790if test "$ac_res" != no; then 4791 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
3960 3961fi 3962 3963 # Unfortunately libsocket sometimes depends on libnsl and 3964 # AC_SEARCH_LIBS isn't up to the task of handling dependencies like this. 3965 if test "$ac_cv_search_gethostbyname" = "no" 3966 then
| 4792 4793fi 4794 4795 # Unfortunately libsocket sometimes depends on libnsl and 4796 # AC_SEARCH_LIBS isn't up to the task of handling dependencies like this. 4797 if test "$ac_cv_search_gethostbyname" = "no" 4798 then
|
3967 echo "$as_me:$LINENO: checking for gethostbyname in -lsocket" >&5 3968echo $ECHO_N "checking for gethostbyname in -lsocket... $ECHO_C" >&6
| 4799 { echo "$as_me:$LINENO: checking for gethostbyname in -lsocket" >&5 4800echo $ECHO_N "checking for gethostbyname in -lsocket... $ECHO_C" >&6; }
|
3969if test "${ac_cv_lib_socket_gethostbyname+set}" = set; then 3970 echo $ECHO_N "(cached) $ECHO_C" >&6 3971else 3972 ac_check_lib_save_LIBS=$LIBS 3973LIBS="-lsocket -lnsl $LIBS" 3974cat >conftest.$ac_ext <<_ACEOF
| 4801if test "${ac_cv_lib_socket_gethostbyname+set}" = set; then 4802 echo $ECHO_N "(cached) $ECHO_C" >&6 4803else 4804 ac_check_lib_save_LIBS=$LIBS 4805LIBS="-lsocket -lnsl $LIBS" 4806cat >conftest.$ac_ext <<_ACEOF
|
3975#line $LINENO "configure"
| |
3976/* confdefs.h. */ 3977_ACEOF 3978cat confdefs.h >>conftest.$ac_ext 3979cat >>conftest.$ac_ext <<_ACEOF 3980/* end confdefs.h. */ 3981
| 4807/* confdefs.h. */ 4808_ACEOF 4809cat confdefs.h >>conftest.$ac_ext 4810cat >>conftest.$ac_ext <<_ACEOF 4811/* end confdefs.h. */ 4812
|
3982/* Override any gcc2 internal prototype to avoid an error. */
| 4813/* Override any GCC internal prototype to avoid an error. 4814 Use char because int might match the return type of a GCC 4815 builtin and then its argument prototype would still apply. */
|
3983#ifdef __cplusplus 3984extern "C" 3985#endif
| 4816#ifdef __cplusplus 4817extern "C" 4818#endif
|
3986/* We use char because int might match the return type of a gcc2 3987 builtin and then its argument prototype would still apply. */
| |
3988char gethostbyname (); 3989int 3990main () 3991{
| 4819char gethostbyname (); 4820int 4821main () 4822{
|
3992gethostbyname ();
| 4823return gethostbyname ();
|
3993 ; 3994 return 0; 3995} 3996_ACEOF 3997rm -f conftest.$ac_objext conftest$ac_exeext
| 4824 ; 4825 return 0; 4826} 4827_ACEOF 4828rm -f conftest.$ac_objext conftest$ac_exeext
|
3998if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3999 (eval $ac_link) 2>&5
| 4829if { (ac_try="$ac_link" 4830case "(($ac_try" in 4831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4832 *) ac_try_echo=$ac_try;; 4833esac 4834eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4835 (eval "$ac_link") 2>conftest.er1
|
4000 ac_status=$?
| 4836 ac_status=$?
|
| 4837 grep -v '^ *+' conftest.er1 >conftest.err 4838 rm -f conftest.er1 4839 cat conftest.err >&5
|
4001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4002 (exit $ac_status); } && 4003 { ac_try='test -s conftest$ac_exeext' 4004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4005 (eval $ac_try) 2>&5 4006 ac_status=$? 4007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4008 (exit $ac_status); }; }; then
| 4841 (exit $ac_status); } && { 4842 test -z "$ac_c_werror_flag" || 4843 test ! -s conftest.err 4844 } && test -s conftest$ac_exeext && 4845 $as_test_x conftest$ac_exeext; then
|
4009 ac_cv_lib_socket_gethostbyname=yes 4010else 4011 echo "$as_me: failed program was:" >&5 4012sed 's/^/| /' conftest.$ac_ext >&5 4013
| 4846 ac_cv_lib_socket_gethostbyname=yes 4847else 4848 echo "$as_me: failed program was:" >&5 4849sed 's/^/| /' conftest.$ac_ext >&5 4850
|
4014ac_cv_lib_socket_gethostbyname=no
| 4851 ac_cv_lib_socket_gethostbyname=no
|
4015fi
| 4852fi
|
4016rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
| 4853 4854rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4855 conftest$ac_exeext conftest.$ac_ext
|
4017LIBS=$ac_check_lib_save_LIBS 4018fi
| 4856LIBS=$ac_check_lib_save_LIBS 4857fi
|
4019echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5 4020echo "${ECHO_T}$ac_cv_lib_socket_gethostbyname" >&6
| 4858{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_gethostbyname" >&5 4859echo "${ECHO_T}$ac_cv_lib_socket_gethostbyname" >&6; }
|
4021if test $ac_cv_lib_socket_gethostbyname = yes; then 4022 LIBS="-lsocket -lnsl $LIBS" 4023fi 4024 4025 fi
| 4860if test $ac_cv_lib_socket_gethostbyname = yes; then 4861 LIBS="-lsocket -lnsl $LIBS" 4862fi 4863 4864 fi
|
4026 echo "$as_me:$LINENO: checking for library containing socket" >&5 4027echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6
| 4865 { echo "$as_me:$LINENO: checking for library containing socket" >&5 4866echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
|
4028if test "${ac_cv_search_socket+set}" = set; then 4029 echo $ECHO_N "(cached) $ECHO_C" >&6 4030else 4031 ac_func_search_save_LIBS=$LIBS
| 4867if test "${ac_cv_search_socket+set}" = set; then 4868 echo $ECHO_N "(cached) $ECHO_C" >&6 4869else 4870 ac_func_search_save_LIBS=$LIBS
|
4032ac_cv_search_socket=no
| |
4033cat >conftest.$ac_ext <<_ACEOF
| 4871cat >conftest.$ac_ext <<_ACEOF
|
4034#line $LINENO "configure"
| |
4035/* confdefs.h. */ 4036_ACEOF 4037cat confdefs.h >>conftest.$ac_ext 4038cat >>conftest.$ac_ext <<_ACEOF 4039/* end confdefs.h. */ 4040
| 4872/* confdefs.h. */ 4873_ACEOF 4874cat confdefs.h >>conftest.$ac_ext 4875cat >>conftest.$ac_ext <<_ACEOF 4876/* end confdefs.h. */ 4877
|
4041/* Override any gcc2 internal prototype to avoid an error. */
| 4878/* Override any GCC internal prototype to avoid an error. 4879 Use char because int might match the return type of a GCC 4880 builtin and then its argument prototype would still apply. */
|
4042#ifdef __cplusplus 4043extern "C" 4044#endif
| 4881#ifdef __cplusplus 4882extern "C" 4883#endif
|
4045/* We use char because int might match the return type of a gcc2 4046 builtin and then its argument prototype would still apply. */
| |
4047char socket (); 4048int 4049main () 4050{
| 4884char socket (); 4885int 4886main () 4887{
|
4051socket ();
| 4888return socket ();
|
4052 ; 4053 return 0; 4054} 4055_ACEOF
| 4889 ; 4890 return 0; 4891} 4892_ACEOF
|
4056rm -f conftest.$ac_objext conftest$ac_exeext 4057if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4058 (eval $ac_link) 2>&5
| 4893for ac_lib in '' socket; do 4894 if test -z "$ac_lib"; then 4895 ac_res="none required" 4896 else 4897 ac_res=-l$ac_lib 4898 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4899 fi 4900 rm -f conftest.$ac_objext conftest$ac_exeext 4901if { (ac_try="$ac_link" 4902case "(($ac_try" in 4903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4904 *) ac_try_echo=$ac_try;; 4905esac 4906eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4907 (eval "$ac_link") 2>conftest.er1
|
4059 ac_status=$?
| 4908 ac_status=$?
|
| 4909 grep -v '^ *+' conftest.er1 >conftest.err 4910 rm -f conftest.er1 4911 cat conftest.err >&5
|
4060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4061 (exit $ac_status); } && 4062 { ac_try='test -s conftest$ac_exeext' 4063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4064 (eval $ac_try) 2>&5 4065 ac_status=$? 4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4067 (exit $ac_status); }; }; then 4068 ac_cv_search_socket="none required"
| 4913 (exit $ac_status); } && { 4914 test -z "$ac_c_werror_flag" || 4915 test ! -s conftest.err 4916 } && test -s conftest$ac_exeext && 4917 $as_test_x conftest$ac_exeext; then 4918 ac_cv_search_socket=$ac_res
|
4069else 4070 echo "$as_me: failed program was:" >&5 4071sed 's/^/| /' conftest.$ac_ext >&5 4072
| 4919else 4920 echo "$as_me: failed program was:" >&5 4921sed 's/^/| /' conftest.$ac_ext >&5 4922
|
| 4923
|
4073fi
| 4924fi
|
4074rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4075if test "$ac_cv_search_socket" = no; then 4076 for ac_lib in socket; do 4077 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4078 cat >conftest.$ac_ext <<_ACEOF 4079#line $LINENO "configure" 4080/* confdefs.h. */ 4081_ACEOF 4082cat confdefs.h >>conftest.$ac_ext 4083cat >>conftest.$ac_ext <<_ACEOF 4084/* end confdefs.h. */
| |
4085
| 4925
|
4086/* Override any gcc2 internal prototype to avoid an error. */ 4087#ifdef __cplusplus 4088extern "C" 4089#endif 4090/* We use char because int might match the return type of a gcc2 4091 builtin and then its argument prototype would still apply. */ 4092char socket (); 4093int 4094main () 4095{ 4096socket (); 4097 ; 4098 return 0; 4099} 4100_ACEOF 4101rm -f conftest.$ac_objext conftest$ac_exeext 4102if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4103 (eval $ac_link) 2>&5 4104 ac_status=$? 4105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4106 (exit $ac_status); } && 4107 { ac_try='test -s conftest$ac_exeext' 4108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4109 (eval $ac_try) 2>&5 4110 ac_status=$? 4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4112 (exit $ac_status); }; }; then 4113 ac_cv_search_socket="-l$ac_lib" 4114break
| 4926rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4927 conftest$ac_exeext 4928 if test "${ac_cv_search_socket+set}" = set; then 4929 break 4930fi 4931done 4932if test "${ac_cv_search_socket+set}" = set; then 4933 :
|
4115else
| 4934else
|
4116 echo "$as_me: failed program was:" >&5 4117sed 's/^/| /' conftest.$ac_ext >&5 4118
| 4935 ac_cv_search_socket=no
|
4119fi
| 4936fi
|
4120rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4121 done 4122fi
| 4937rm conftest.$ac_ext
|
4123LIBS=$ac_func_search_save_LIBS 4124fi
| 4938LIBS=$ac_func_search_save_LIBS 4939fi
|
4125echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5 4126echo "${ECHO_T}$ac_cv_search_socket" >&6 4127if test "$ac_cv_search_socket" != no; then 4128 test "$ac_cv_search_socket" = "none required" || LIBS="$ac_cv_search_socket $LIBS"
| 4940{ echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5 4941echo "${ECHO_T}$ac_cv_search_socket" >&6; } 4942ac_res=$ac_cv_search_socket 4943if test "$ac_res" != no; then 4944 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
4129 4130else
| 4945 4946else
|
4131 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 4132echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
| 4947 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 4948echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
|
4133if test "${ac_cv_lib_socket_socket+set}" = set; then 4134 echo $ECHO_N "(cached) $ECHO_C" >&6 4135else 4136 ac_check_lib_save_LIBS=$LIBS 4137LIBS="-lsocket -lnsl $LIBS" 4138cat >conftest.$ac_ext <<_ACEOF
| 4949if test "${ac_cv_lib_socket_socket+set}" = set; then 4950 echo $ECHO_N "(cached) $ECHO_C" >&6 4951else 4952 ac_check_lib_save_LIBS=$LIBS 4953LIBS="-lsocket -lnsl $LIBS" 4954cat >conftest.$ac_ext <<_ACEOF
|
4139#line $LINENO "configure"
| |
4140/* confdefs.h. */ 4141_ACEOF 4142cat confdefs.h >>conftest.$ac_ext 4143cat >>conftest.$ac_ext <<_ACEOF 4144/* end confdefs.h. */ 4145
| 4955/* confdefs.h. */ 4956_ACEOF 4957cat confdefs.h >>conftest.$ac_ext 4958cat >>conftest.$ac_ext <<_ACEOF 4959/* end confdefs.h. */ 4960
|
4146/* Override any gcc2 internal prototype to avoid an error. */
| 4961/* Override any GCC internal prototype to avoid an error. 4962 Use char because int might match the return type of a GCC 4963 builtin and then its argument prototype would still apply. */
|
4147#ifdef __cplusplus 4148extern "C" 4149#endif
| 4964#ifdef __cplusplus 4965extern "C" 4966#endif
|
4150/* We use char because int might match the return type of a gcc2 4151 builtin and then its argument prototype would still apply. */
| |
4152char socket (); 4153int 4154main () 4155{
| 4967char socket (); 4968int 4969main () 4970{
|
4156socket ();
| 4971return socket ();
|
4157 ; 4158 return 0; 4159} 4160_ACEOF 4161rm -f conftest.$ac_objext conftest$ac_exeext
| 4972 ; 4973 return 0; 4974} 4975_ACEOF 4976rm -f conftest.$ac_objext conftest$ac_exeext
|
4162if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4163 (eval $ac_link) 2>&5
| 4977if { (ac_try="$ac_link" 4978case "(($ac_try" in 4979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4980 *) ac_try_echo=$ac_try;; 4981esac 4982eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4983 (eval "$ac_link") 2>conftest.er1
|
4164 ac_status=$?
| 4984 ac_status=$?
|
| 4985 grep -v '^ *+' conftest.er1 >conftest.err 4986 rm -f conftest.er1 4987 cat conftest.err >&5
|
4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4166 (exit $ac_status); } && 4167 { ac_try='test -s conftest$ac_exeext' 4168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4169 (eval $ac_try) 2>&5 4170 ac_status=$? 4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4172 (exit $ac_status); }; }; then
| 4989 (exit $ac_status); } && { 4990 test -z "$ac_c_werror_flag" || 4991 test ! -s conftest.err 4992 } && test -s conftest$ac_exeext && 4993 $as_test_x conftest$ac_exeext; then
|
4173 ac_cv_lib_socket_socket=yes 4174else 4175 echo "$as_me: failed program was:" >&5 4176sed 's/^/| /' conftest.$ac_ext >&5 4177
| 4994 ac_cv_lib_socket_socket=yes 4995else 4996 echo "$as_me: failed program was:" >&5 4997sed 's/^/| /' conftest.$ac_ext >&5 4998
|
4178ac_cv_lib_socket_socket=no
| 4999 ac_cv_lib_socket_socket=no
|
4179fi
| 5000fi
|
4180rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
| 5001 5002rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5003 conftest$ac_exeext conftest.$ac_ext
|
4181LIBS=$ac_check_lib_save_LIBS 4182fi
| 5004LIBS=$ac_check_lib_save_LIBS 5005fi
|
4183echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 4184echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
| 5006{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 5007echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
|
4185if test $ac_cv_lib_socket_socket = yes; then 4186 LIBS="-lsocket -lnsl $LIBS" 4187fi 4188 4189fi 4190 4191 # DLPI needs putmsg under HPUX so test for -lstr while we're at it
| 5008if test $ac_cv_lib_socket_socket = yes; then 5009 LIBS="-lsocket -lnsl $LIBS" 5010fi 5011 5012fi 5013 5014 # DLPI needs putmsg under HPUX so test for -lstr while we're at it
|
4192 echo "$as_me:$LINENO: checking for library containing putmsg" >&5 4193echo $ECHO_N "checking for library containing putmsg... $ECHO_C" >&6
| 5015 { echo "$as_me:$LINENO: checking for library containing putmsg" >&5 5016echo $ECHO_N "checking for library containing putmsg... $ECHO_C" >&6; }
|
4194if test "${ac_cv_search_putmsg+set}" = set; then 4195 echo $ECHO_N "(cached) $ECHO_C" >&6 4196else 4197 ac_func_search_save_LIBS=$LIBS
| 5017if test "${ac_cv_search_putmsg+set}" = set; then 5018 echo $ECHO_N "(cached) $ECHO_C" >&6 5019else 5020 ac_func_search_save_LIBS=$LIBS
|
4198ac_cv_search_putmsg=no
| |
4199cat >conftest.$ac_ext <<_ACEOF
| 5021cat >conftest.$ac_ext <<_ACEOF
|
4200#line $LINENO "configure"
| |
4201/* confdefs.h. */ 4202_ACEOF 4203cat confdefs.h >>conftest.$ac_ext 4204cat >>conftest.$ac_ext <<_ACEOF 4205/* end confdefs.h. */ 4206
| 5022/* confdefs.h. */ 5023_ACEOF 5024cat confdefs.h >>conftest.$ac_ext 5025cat >>conftest.$ac_ext <<_ACEOF 5026/* end confdefs.h. */ 5027
|
4207/* Override any gcc2 internal prototype to avoid an error. */
| 5028/* Override any GCC internal prototype to avoid an error. 5029 Use char because int might match the return type of a GCC 5030 builtin and then its argument prototype would still apply. */
|
4208#ifdef __cplusplus 4209extern "C" 4210#endif
| 5031#ifdef __cplusplus 5032extern "C" 5033#endif
|
4211/* We use char because int might match the return type of a gcc2 4212 builtin and then its argument prototype would still apply. */
| |
4213char putmsg (); 4214int 4215main () 4216{
| 5034char putmsg (); 5035int 5036main () 5037{
|
4217putmsg ();
| 5038return putmsg ();
|
4218 ; 4219 return 0; 4220} 4221_ACEOF
| 5039 ; 5040 return 0; 5041} 5042_ACEOF
|
4222rm -f conftest.$ac_objext conftest$ac_exeext 4223if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4224 (eval $ac_link) 2>&5
| 5043for ac_lib in '' str; do 5044 if test -z "$ac_lib"; then 5045 ac_res="none required" 5046 else 5047 ac_res=-l$ac_lib 5048 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5049 fi 5050 rm -f conftest.$ac_objext conftest$ac_exeext 5051if { (ac_try="$ac_link" 5052case "(($ac_try" in 5053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5054 *) ac_try_echo=$ac_try;; 5055esac 5056eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5057 (eval "$ac_link") 2>conftest.er1
|
4225 ac_status=$?
| 5058 ac_status=$?
|
| 5059 grep -v '^ *+' conftest.er1 >conftest.err 5060 rm -f conftest.er1 5061 cat conftest.err >&5
|
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 5062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4227 (exit $ac_status); } && 4228 { ac_try='test -s conftest$ac_exeext' 4229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4230 (eval $ac_try) 2>&5 4231 ac_status=$? 4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4233 (exit $ac_status); }; }; then 4234 ac_cv_search_putmsg="none required"
| 5063 (exit $ac_status); } && { 5064 test -z "$ac_c_werror_flag" || 5065 test ! -s conftest.err 5066 } && test -s conftest$ac_exeext && 5067 $as_test_x conftest$ac_exeext; then 5068 ac_cv_search_putmsg=$ac_res
|
4235else 4236 echo "$as_me: failed program was:" >&5 4237sed 's/^/| /' conftest.$ac_ext >&5 4238
| 5069else 5070 echo "$as_me: failed program was:" >&5 5071sed 's/^/| /' conftest.$ac_ext >&5 5072
|
| 5073
|
4239fi
| 5074fi
|
4240rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4241if test "$ac_cv_search_putmsg" = no; then 4242 for ac_lib in str; do 4243 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4244 cat >conftest.$ac_ext <<_ACEOF 4245#line $LINENO "configure" 4246/* confdefs.h. */ 4247_ACEOF 4248cat confdefs.h >>conftest.$ac_ext 4249cat >>conftest.$ac_ext <<_ACEOF 4250/* end confdefs.h. */
| |
4251
| 5075
|
4252/* Override any gcc2 internal prototype to avoid an error. */ 4253#ifdef __cplusplus 4254extern "C" 4255#endif 4256/* We use char because int might match the return type of a gcc2 4257 builtin and then its argument prototype would still apply. */ 4258char putmsg (); 4259int 4260main () 4261{ 4262putmsg (); 4263 ; 4264 return 0; 4265} 4266_ACEOF 4267rm -f conftest.$ac_objext conftest$ac_exeext 4268if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4269 (eval $ac_link) 2>&5 4270 ac_status=$? 4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4272 (exit $ac_status); } && 4273 { ac_try='test -s conftest$ac_exeext' 4274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4275 (eval $ac_try) 2>&5 4276 ac_status=$? 4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4278 (exit $ac_status); }; }; then 4279 ac_cv_search_putmsg="-l$ac_lib" 4280break
| 5076rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5077 conftest$ac_exeext 5078 if test "${ac_cv_search_putmsg+set}" = set; then 5079 break 5080fi 5081done 5082if test "${ac_cv_search_putmsg+set}" = set; then 5083 :
|
4281else
| 5084else
|
4282 echo "$as_me: failed program was:" >&5 4283sed 's/^/| /' conftest.$ac_ext >&5 4284
| 5085 ac_cv_search_putmsg=no
|
4285fi
| 5086fi
|
4286rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4287 done 4288fi
| 5087rm conftest.$ac_ext
|
4289LIBS=$ac_func_search_save_LIBS 4290fi
| 5088LIBS=$ac_func_search_save_LIBS 5089fi
|
4291echo "$as_me:$LINENO: result: $ac_cv_search_putmsg" >&5 4292echo "${ECHO_T}$ac_cv_search_putmsg" >&6 4293if test "$ac_cv_search_putmsg" != no; then 4294 test "$ac_cv_search_putmsg" = "none required" || LIBS="$ac_cv_search_putmsg $LIBS"
| 5090{ echo "$as_me:$LINENO: result: $ac_cv_search_putmsg" >&5 5091echo "${ECHO_T}$ac_cv_search_putmsg" >&6; } 5092ac_res=$ac_cv_search_putmsg 5093if test "$ac_res" != no; then 5094 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
4295 4296fi 4297 4298 4299 4300# 4301# You are in a twisty little maze of UN*Xes, all different. 4302# Some might not have ether_hostton(). 4303# Some might have it, but not declare it in any header file. 4304# Some might have it, but declare it in <netinet/if_ether.h>. 4305# Some might have it, but declare it in <netinet/ether.h> 4306# (And some might have it but document it as something declared in 4307# <netinet/ethernet.h>, although <netinet/if_ether.h> appears to work.) 4308# 4309# Before you is a C compiler. 4310# 4311 4312for ac_func in ether_hostton 4313do 4314as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
| 5095 5096fi 5097 5098 5099 5100# 5101# You are in a twisty little maze of UN*Xes, all different. 5102# Some might not have ether_hostton(). 5103# Some might have it, but not declare it in any header file. 5104# Some might have it, but declare it in <netinet/if_ether.h>. 5105# Some might have it, but declare it in <netinet/ether.h> 5106# (And some might have it but document it as something declared in 5107# <netinet/ethernet.h>, although <netinet/if_ether.h> appears to work.) 5108# 5109# Before you is a C compiler. 5110# 5111 5112for ac_func in ether_hostton 5113do 5114as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
4315echo "$as_me:$LINENO: checking for $ac_func" >&5 4316echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4317if eval "test \"\${$as_ac_var+set}\" = set"; then
| 5115{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5116echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5117if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
4318 echo $ECHO_N "(cached) $ECHO_C" >&6 4319else 4320 cat >conftest.$ac_ext <<_ACEOF
| 5118 echo $ECHO_N "(cached) $ECHO_C" >&6 5119else 5120 cat >conftest.$ac_ext <<_ACEOF
|
4321#line $LINENO "configure"
| |
4322/* confdefs.h. */ 4323_ACEOF 4324cat confdefs.h >>conftest.$ac_ext 4325cat >>conftest.$ac_ext <<_ACEOF 4326/* end confdefs.h. */
| 5121/* confdefs.h. */ 5122_ACEOF 5123cat confdefs.h >>conftest.$ac_ext 5124cat >>conftest.$ac_ext <<_ACEOF 5125/* end confdefs.h. */
|
| 5126/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 5127 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5128#define $ac_func innocuous_$ac_func 5129
|
4327/* System header to define __stub macros and hopefully few prototypes, 4328 which can conflict with char $ac_func (); below. 4329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4330 <limits.h> exists even on freestanding compilers. */
| 5130/* System header to define __stub macros and hopefully few prototypes, 5131 which can conflict with char $ac_func (); below. 5132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5133 <limits.h> exists even on freestanding compilers. */
|
| 5134
|
4331#ifdef __STDC__ 4332# include <limits.h> 4333#else 4334# include <assert.h> 4335#endif
| 5135#ifdef __STDC__ 5136# include <limits.h> 5137#else 5138# include <assert.h> 5139#endif
|
4336/* Override any gcc2 internal prototype to avoid an error. */
| 5140 5141#undef $ac_func 5142 5143/* Override any GCC internal prototype to avoid an error. 5144 Use char because int might match the return type of a GCC 5145 builtin and then its argument prototype would still apply. */
|
4337#ifdef __cplusplus 4338extern "C"
| 5146#ifdef __cplusplus 5147extern "C"
|
4339{
| |
4340#endif
| 5148#endif
|
4341/* We use char because int might match the return type of a gcc2 4342 builtin and then its argument prototype would still apply. */
| |
4343char $ac_func (); 4344/* The GNU C library defines this for functions which it implements 4345 to always fail with ENOSYS. Some functions are actually named 4346 something starting with __ and the normal name is an alias. */
| 5149char $ac_func (); 5150/* The GNU C library defines this for functions which it implements 5151 to always fail with ENOSYS. Some functions are actually named 5152 something starting with __ and the normal name is an alias. */
|
4347#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
| 5153#if defined __stub_$ac_func || defined __stub___$ac_func
|
4348choke me
| 5154choke me
|
4349#else 4350char (*f) () = $ac_func;
| |
4351#endif
| 5155#endif
|
4352#ifdef __cplusplus 4353} 4354#endif
| |
4355 4356int 4357main () 4358{
| 5156 5157int 5158main () 5159{
|
4359return f != $ac_func;
| 5160return $ac_func ();
|
4360 ; 4361 return 0; 4362} 4363_ACEOF 4364rm -f conftest.$ac_objext conftest$ac_exeext
| 5161 ; 5162 return 0; 5163} 5164_ACEOF 5165rm -f conftest.$ac_objext conftest$ac_exeext
|
4365if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4366 (eval $ac_link) 2>&5
| 5166if { (ac_try="$ac_link" 5167case "(($ac_try" in 5168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5169 *) ac_try_echo=$ac_try;; 5170esac 5171eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5172 (eval "$ac_link") 2>conftest.er1
|
4367 ac_status=$?
| 5173 ac_status=$?
|
| 5174 grep -v '^ *+' conftest.er1 >conftest.err 5175 rm -f conftest.er1 5176 cat conftest.err >&5
|
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4369 (exit $ac_status); } && 4370 { ac_try='test -s conftest$ac_exeext' 4371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4372 (eval $ac_try) 2>&5 4373 ac_status=$? 4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4375 (exit $ac_status); }; }; then
| 5178 (exit $ac_status); } && { 5179 test -z "$ac_c_werror_flag" || 5180 test ! -s conftest.err 5181 } && test -s conftest$ac_exeext && 5182 $as_test_x conftest$ac_exeext; then
|
4376 eval "$as_ac_var=yes" 4377else 4378 echo "$as_me: failed program was:" >&5 4379sed 's/^/| /' conftest.$ac_ext >&5 4380
| 5183 eval "$as_ac_var=yes" 5184else 5185 echo "$as_me: failed program was:" >&5 5186sed 's/^/| /' conftest.$ac_ext >&5 5187
|
4381eval "$as_ac_var=no"
| 5188 eval "$as_ac_var=no"
|
4382fi
| 5189fi
|
4383rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
| 5190 5191rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5192 conftest$ac_exeext conftest.$ac_ext
|
4384fi
| 5193fi
|
4385echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4386echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
| 5194ac_res=`eval echo '${'$as_ac_var'}'` 5195 { echo "$as_me:$LINENO: result: $ac_res" >&5 5196echo "${ECHO_T}$ac_res" >&6; }
|
4387if test `eval echo '${'$as_ac_var'}'` = yes; then 4388 cat >>confdefs.h <<_ACEOF 4389#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4390_ACEOF 4391 4392fi 4393done 4394 4395if test "$ac_cv_func_ether_hostton" = yes; then 4396 # 4397 # OK, we have ether_hostton(). Do we have <netinet/if_ether.h>? 4398 # 4399 if test "$ac_cv_header_netinet_if_ether_h" = yes; then 4400 # 4401 # Yes. Does it declare ether_hostton()? 4402 #
| 5197if test `eval echo '${'$as_ac_var'}'` = yes; then 5198 cat >>confdefs.h <<_ACEOF 5199#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5200_ACEOF 5201 5202fi 5203done 5204 5205if test "$ac_cv_func_ether_hostton" = yes; then 5206 # 5207 # OK, we have ether_hostton(). Do we have <netinet/if_ether.h>? 5208 # 5209 if test "$ac_cv_header_netinet_if_ether_h" = yes; then 5210 # 5211 # Yes. Does it declare ether_hostton()? 5212 #
|
4403 echo "$as_me:$LINENO: checking whether ether_hostton is declared" >&5 4404echo $ECHO_N "checking whether ether_hostton is declared... $ECHO_C" >&6
| 5213 { echo "$as_me:$LINENO: checking whether ether_hostton is declared" >&5 5214echo $ECHO_N "checking whether ether_hostton is declared... $ECHO_C" >&6; }
|
4405if test "${ac_cv_have_decl_ether_hostton+set}" = set; then 4406 echo $ECHO_N "(cached) $ECHO_C" >&6 4407else 4408 cat >conftest.$ac_ext <<_ACEOF
| 5215if test "${ac_cv_have_decl_ether_hostton+set}" = set; then 5216 echo $ECHO_N "(cached) $ECHO_C" >&6 5217else 5218 cat >conftest.$ac_ext <<_ACEOF
|
4409#line $LINENO "configure"
| |
4410/* confdefs.h. */ 4411_ACEOF 4412cat confdefs.h >>conftest.$ac_ext 4413cat >>conftest.$ac_ext <<_ACEOF 4414/* end confdefs.h. */ 4415 4416#include <sys/types.h> 4417#include <sys/socket.h> 4418#include <netinet/in.h> 4419#include <arpa/inet.h> 4420struct mbuf; 4421struct rtentry; 4422#include <net/if.h> 4423#include <netinet/if_ether.h> 4424 4425 4426int 4427main () 4428{ 4429#ifndef ether_hostton
| 5219/* confdefs.h. */ 5220_ACEOF 5221cat confdefs.h >>conftest.$ac_ext 5222cat >>conftest.$ac_ext <<_ACEOF 5223/* end confdefs.h. */ 5224 5225#include <sys/types.h> 5226#include <sys/socket.h> 5227#include <netinet/in.h> 5228#include <arpa/inet.h> 5229struct mbuf; 5230struct rtentry; 5231#include <net/if.h> 5232#include <netinet/if_ether.h> 5233 5234 5235int 5236main () 5237{ 5238#ifndef ether_hostton
|
4430 char *p = (char *) ether_hostton;
| 5239 (void) ether_hostton;
|
4431#endif 4432 4433 ; 4434 return 0; 4435} 4436_ACEOF 4437rm -f conftest.$ac_objext
| 5240#endif 5241 5242 ; 5243 return 0; 5244} 5245_ACEOF 5246rm -f conftest.$ac_objext
|
4438if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4439 (eval $ac_compile) 2>&5
| 5247if { (ac_try="$ac_compile" 5248case "(($ac_try" in 5249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5250 *) ac_try_echo=$ac_try;; 5251esac 5252eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5253 (eval "$ac_compile") 2>conftest.er1
|
4440 ac_status=$?
| 5254 ac_status=$?
|
| 5255 grep -v '^ *+' conftest.er1 >conftest.err 5256 rm -f conftest.er1 5257 cat conftest.err >&5
|
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4442 (exit $ac_status); } && 4443 { ac_try='test -s conftest.$ac_objext' 4444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4445 (eval $ac_try) 2>&5 4446 ac_status=$? 4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4448 (exit $ac_status); }; }; then
| 5259 (exit $ac_status); } && { 5260 test -z "$ac_c_werror_flag" || 5261 test ! -s conftest.err 5262 } && test -s conftest.$ac_objext; then
|
4449 ac_cv_have_decl_ether_hostton=yes 4450else 4451 echo "$as_me: failed program was:" >&5 4452sed 's/^/| /' conftest.$ac_ext >&5 4453
| 5263 ac_cv_have_decl_ether_hostton=yes 5264else 5265 echo "$as_me: failed program was:" >&5 5266sed 's/^/| /' conftest.$ac_ext >&5 5267
|
4454ac_cv_have_decl_ether_hostton=no
| 5268 ac_cv_have_decl_ether_hostton=no
|
4455fi
| 5269fi
|
4456rm -f conftest.$ac_objext conftest.$ac_ext
| 5270 5271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4457fi
| 5272fi
|
4458echo "$as_me:$LINENO: result: $ac_cv_have_decl_ether_hostton" >&5 4459echo "${ECHO_T}$ac_cv_have_decl_ether_hostton" >&6
| 5273{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ether_hostton" >&5 5274echo "${ECHO_T}$ac_cv_have_decl_ether_hostton" >&6; }
|
4460if test $ac_cv_have_decl_ether_hostton = yes; then 4461 4462 4463cat >>confdefs.h <<\_ACEOF 4464#define NETINET_IF_ETHER_H_DECLARES_ETHER_HOSTTON 4465_ACEOF 4466 4467 4468fi 4469 4470 fi 4471 # 4472 # Did that succeed? 4473 # 4474 if test "$ac_cv_have_decl_ether_hostton" != yes; then 4475 # 4476 # No, how about <netinet/ether.h>, as on Linux? 4477 # 4478 4479for ac_header in netinet/ether.h 4480do 4481as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
| 5275if test $ac_cv_have_decl_ether_hostton = yes; then 5276 5277 5278cat >>confdefs.h <<\_ACEOF 5279#define NETINET_IF_ETHER_H_DECLARES_ETHER_HOSTTON 5280_ACEOF 5281 5282 5283fi 5284 5285 fi 5286 # 5287 # Did that succeed? 5288 # 5289 if test "$ac_cv_have_decl_ether_hostton" != yes; then 5290 # 5291 # No, how about <netinet/ether.h>, as on Linux? 5292 # 5293 5294for ac_header in netinet/ether.h 5295do 5296as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4482if eval "test \"\${$as_ac_Header+set}\" = set"; then 4483 echo "$as_me:$LINENO: checking for $ac_header" >&5 4484echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4485if eval "test \"\${$as_ac_Header+set}\" = set"; then
| 5297if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5298 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5299echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5300if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
4486 echo $ECHO_N "(cached) $ECHO_C" >&6 4487fi
| 5301 echo $ECHO_N "(cached) $ECHO_C" >&6 5302fi
|
4488echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4489echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
| 5303ac_res=`eval echo '${'$as_ac_Header'}'` 5304 { echo "$as_me:$LINENO: result: $ac_res" >&5 5305echo "${ECHO_T}$ac_res" >&6; }
|
4490else 4491 # Is the header compilable?
| 5306else 5307 # Is the header compilable?
|
4492echo "$as_me:$LINENO: checking $ac_header usability" >&5 4493echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
| 5308{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 5309echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
4494cat >conftest.$ac_ext <<_ACEOF
| 5310cat >conftest.$ac_ext <<_ACEOF
|
4495#line $LINENO "configure"
| |
4496/* confdefs.h. */ 4497_ACEOF 4498cat confdefs.h >>conftest.$ac_ext 4499cat >>conftest.$ac_ext <<_ACEOF 4500/* end confdefs.h. */ 4501$ac_includes_default 4502#include <$ac_header> 4503_ACEOF 4504rm -f conftest.$ac_objext
| 5311/* confdefs.h. */ 5312_ACEOF 5313cat confdefs.h >>conftest.$ac_ext 5314cat >>conftest.$ac_ext <<_ACEOF 5315/* end confdefs.h. */ 5316$ac_includes_default 5317#include <$ac_header> 5318_ACEOF 5319rm -f conftest.$ac_objext
|
4505if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4506 (eval $ac_compile) 2>&5
| 5320if { (ac_try="$ac_compile" 5321case "(($ac_try" in 5322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5323 *) ac_try_echo=$ac_try;; 5324esac 5325eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5326 (eval "$ac_compile") 2>conftest.er1
|
4507 ac_status=$?
| 5327 ac_status=$?
|
| 5328 grep -v '^ *+' conftest.er1 >conftest.err 5329 rm -f conftest.er1 5330 cat conftest.err >&5
|
4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4509 (exit $ac_status); } && 4510 { ac_try='test -s conftest.$ac_objext' 4511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4512 (eval $ac_try) 2>&5 4513 ac_status=$? 4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4515 (exit $ac_status); }; }; then
| 5332 (exit $ac_status); } && { 5333 test -z "$ac_c_werror_flag" || 5334 test ! -s conftest.err 5335 } && test -s conftest.$ac_objext; then
|
4516 ac_header_compiler=yes 4517else 4518 echo "$as_me: failed program was:" >&5 4519sed 's/^/| /' conftest.$ac_ext >&5 4520
| 5336 ac_header_compiler=yes 5337else 5338 echo "$as_me: failed program was:" >&5 5339sed 's/^/| /' conftest.$ac_ext >&5 5340
|
4521ac_header_compiler=no
| 5341 ac_header_compiler=no
|
4522fi
| 5342fi
|
4523rm -f conftest.$ac_objext conftest.$ac_ext 4524echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4525echo "${ECHO_T}$ac_header_compiler" >&6
| |
4526
| 5343
|
| 5344rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5345{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5346echo "${ECHO_T}$ac_header_compiler" >&6; } 5347
|
4527# Is the header present?
| 5348# Is the header present?
|
4528echo "$as_me:$LINENO: checking $ac_header presence" >&5 4529echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
| 5349{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 5350echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
4530cat >conftest.$ac_ext <<_ACEOF
| 5351cat >conftest.$ac_ext <<_ACEOF
|
4531#line $LINENO "configure"
| |
4532/* confdefs.h. */ 4533_ACEOF 4534cat confdefs.h >>conftest.$ac_ext 4535cat >>conftest.$ac_ext <<_ACEOF 4536/* end confdefs.h. */ 4537#include <$ac_header> 4538_ACEOF
| 5352/* confdefs.h. */ 5353_ACEOF 5354cat confdefs.h >>conftest.$ac_ext 5355cat >>conftest.$ac_ext <<_ACEOF 5356/* end confdefs.h. */ 5357#include <$ac_header> 5358_ACEOF
|
4539if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4540 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
| 5359if { (ac_try="$ac_cpp conftest.$ac_ext" 5360case "(($ac_try" in 5361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5362 *) ac_try_echo=$ac_try;; 5363esac 5364eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5365 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4541 ac_status=$? 4542 grep -v '^ *+' conftest.er1 >conftest.err 4543 rm -f conftest.er1 4544 cat conftest.err >&5 4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 5366 ac_status=$? 5367 grep -v '^ *+' conftest.er1 >conftest.err 5368 rm -f conftest.er1 5369 cat conftest.err >&5 5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4546 (exit $ac_status); } >/dev/null; then 4547 if test -s conftest.err; then 4548 ac_cpp_err=$ac_c_preproc_warn_flag 4549 else 4550 ac_cpp_err= 4551 fi 4552else 4553 ac_cpp_err=yes 4554fi 4555if test -z "$ac_cpp_err"; then
| 5371 (exit $ac_status); } >/dev/null && { 5372 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5373 test ! -s conftest.err 5374 }; then
|
4556 ac_header_preproc=yes 4557else 4558 echo "$as_me: failed program was:" >&5 4559sed 's/^/| /' conftest.$ac_ext >&5 4560 4561 ac_header_preproc=no 4562fi
| 5375 ac_header_preproc=yes 5376else 5377 echo "$as_me: failed program was:" >&5 5378sed 's/^/| /' conftest.$ac_ext >&5 5379 5380 ac_header_preproc=no 5381fi
|
| 5382
|
4563rm -f conftest.err conftest.$ac_ext
| 5383rm -f conftest.err conftest.$ac_ext
|
4564echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4565echo "${ECHO_T}$ac_header_preproc" >&6
| 5384{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5385echo "${ECHO_T}$ac_header_preproc" >&6; }
|
4566 4567# So? What about this header?
| 5386 5387# So? What about this header?
|
4568case $ac_header_compiler:$ac_header_preproc in 4569 yes:no )
| 5388case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5389 yes:no: )
|
4570 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4571echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
| 5390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5391echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
4572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4573echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4574 ( 4575 cat <<\_ASBOX 4576## ------------------------------------ ## 4577## Report this to bug-autoconf@gnu.org. ## 4578## ------------------------------------ ## 4579_ASBOX 4580 ) | 4581 sed "s/^/$as_me: WARNING: /" >&2
| 5392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5393echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5394 ac_header_preproc=yes
|
4582 ;;
| 5395 ;;
|
4583 no:yes )
| 5396 no:yes:* )
|
4584 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4585echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
| 5397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5398echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
4586 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4587echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
| 5399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5400echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5401 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5402echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5403 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5404echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
4588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4589echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
| 5405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5406echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
4590 ( 4591 cat <<\_ASBOX 4592## ------------------------------------ ## 4593## Report this to bug-autoconf@gnu.org. ## 4594## ------------------------------------ ## 4595_ASBOX 4596 ) | 4597 sed "s/^/$as_me: WARNING: /" >&2
| 5407 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5408echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5409
|
4598 ;; 4599esac
| 5410 ;; 5411esac
|
4600echo "$as_me:$LINENO: checking for $ac_header" >&5 4601echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4602if eval "test \"\${$as_ac_Header+set}\" = set"; then
| 5412{ echo "$as_me:$LINENO: checking for $ac_header" >&5 5413echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5414if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
4603 echo $ECHO_N "(cached) $ECHO_C" >&6 4604else
| 5415 echo $ECHO_N "(cached) $ECHO_C" >&6 5416else
|
4605 eval "$as_ac_Header=$ac_header_preproc"
| 5417 eval "$as_ac_Header=\$ac_header_preproc"
|
4606fi
| 5418fi
|
4607echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4608echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
| 5419ac_res=`eval echo '${'$as_ac_Header'}'` 5420 { echo "$as_me:$LINENO: result: $ac_res" >&5 5421echo "${ECHO_T}$ac_res" >&6; }
|
4609 4610fi 4611if test `eval echo '${'$as_ac_Header'}'` = yes; then 4612 cat >>confdefs.h <<_ACEOF 4613#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4614_ACEOF 4615 4616fi 4617 4618done 4619 4620 if test "$ac_cv_header_netinet_ether_h" = yes; then 4621 # 4622 # We have it - does it declare ether_hostton()? 4623 # Unset ac_cv_have_decl_ether_hostton so we don't 4624 # treat the previous failure as a cached value and 4625 # suppress the next test. 4626 # 4627 unset ac_cv_have_decl_ether_hostton
| 5422 5423fi 5424if test `eval echo '${'$as_ac_Header'}'` = yes; then 5425 cat >>confdefs.h <<_ACEOF 5426#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5427_ACEOF 5428 5429fi 5430 5431done 5432 5433 if test "$ac_cv_header_netinet_ether_h" = yes; then 5434 # 5435 # We have it - does it declare ether_hostton()? 5436 # Unset ac_cv_have_decl_ether_hostton so we don't 5437 # treat the previous failure as a cached value and 5438 # suppress the next test. 5439 # 5440 unset ac_cv_have_decl_ether_hostton
|
4628 echo "$as_me:$LINENO: checking whether ether_hostton is declared" >&5 4629echo $ECHO_N "checking whether ether_hostton is declared... $ECHO_C" >&6
| 5441 { echo "$as_me:$LINENO: checking whether ether_hostton is declared" >&5 5442echo $ECHO_N "checking whether ether_hostton is declared... $ECHO_C" >&6; }
|
4630if test "${ac_cv_have_decl_ether_hostton+set}" = set; then 4631 echo $ECHO_N "(cached) $ECHO_C" >&6 4632else 4633 cat >conftest.$ac_ext <<_ACEOF
| 5443if test "${ac_cv_have_decl_ether_hostton+set}" = set; then 5444 echo $ECHO_N "(cached) $ECHO_C" >&6 5445else 5446 cat >conftest.$ac_ext <<_ACEOF
|
4634#line $LINENO "configure"
| |
4635/* confdefs.h. */ 4636_ACEOF 4637cat confdefs.h >>conftest.$ac_ext 4638cat >>conftest.$ac_ext <<_ACEOF 4639/* end confdefs.h. */ 4640 4641#include <netinet/ether.h> 4642 4643 4644int 4645main () 4646{ 4647#ifndef ether_hostton
| 5447/* confdefs.h. */ 5448_ACEOF 5449cat confdefs.h >>conftest.$ac_ext 5450cat >>conftest.$ac_ext <<_ACEOF 5451/* end confdefs.h. */ 5452 5453#include <netinet/ether.h> 5454 5455 5456int 5457main () 5458{ 5459#ifndef ether_hostton
|
4648 char *p = (char *) ether_hostton;
| 5460 (void) ether_hostton;
|
4649#endif 4650 4651 ; 4652 return 0; 4653} 4654_ACEOF 4655rm -f conftest.$ac_objext
| 5461#endif 5462 5463 ; 5464 return 0; 5465} 5466_ACEOF 5467rm -f conftest.$ac_objext
|
4656if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4657 (eval $ac_compile) 2>&5
| 5468if { (ac_try="$ac_compile" 5469case "(($ac_try" in 5470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5471 *) ac_try_echo=$ac_try;; 5472esac 5473eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5474 (eval "$ac_compile") 2>conftest.er1
|
4658 ac_status=$?
| 5475 ac_status=$?
|
| 5476 grep -v '^ *+' conftest.er1 >conftest.err 5477 rm -f conftest.er1 5478 cat conftest.err >&5
|
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 5479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4660 (exit $ac_status); } && 4661 { ac_try='test -s conftest.$ac_objext' 4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4663 (eval $ac_try) 2>&5 4664 ac_status=$? 4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4666 (exit $ac_status); }; }; then
| 5480 (exit $ac_status); } && { 5481 test -z "$ac_c_werror_flag" || 5482 test ! -s conftest.err 5483 } && test -s conftest.$ac_objext; then
|
4667 ac_cv_have_decl_ether_hostton=yes 4668else 4669 echo "$as_me: failed program was:" >&5 4670sed 's/^/| /' conftest.$ac_ext >&5 4671
| 5484 ac_cv_have_decl_ether_hostton=yes 5485else 5486 echo "$as_me: failed program was:" >&5 5487sed 's/^/| /' conftest.$ac_ext >&5 5488
|
4672ac_cv_have_decl_ether_hostton=no
| 5489 ac_cv_have_decl_ether_hostton=no
|
4673fi
| 5490fi
|
4674rm -f conftest.$ac_objext conftest.$ac_ext
| 5491 5492rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4675fi
| 5493fi
|
4676echo "$as_me:$LINENO: result: $ac_cv_have_decl_ether_hostton" >&5 4677echo "${ECHO_T}$ac_cv_have_decl_ether_hostton" >&6
| 5494{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ether_hostton" >&5 5495echo "${ECHO_T}$ac_cv_have_decl_ether_hostton" >&6; }
|
4678if test $ac_cv_have_decl_ether_hostton = yes; then 4679 4680 4681cat >>confdefs.h <<\_ACEOF 4682#define NETINET_ETHER_H_DECLARES_ETHER_HOSTTON 4683_ACEOF 4684 4685 4686fi 4687 4688 fi 4689 fi 4690 # 4691 # Is ether_hostton() declared? 4692 # 4693 if test "$ac_cv_have_decl_ether_hostton" != yes; then 4694 # 4695 # No, we'll have to declare it ourselves. 4696 # Do we have "struct ether_addr"? 4697 #
| 5496if test $ac_cv_have_decl_ether_hostton = yes; then 5497 5498 5499cat >>confdefs.h <<\_ACEOF 5500#define NETINET_ETHER_H_DECLARES_ETHER_HOSTTON 5501_ACEOF 5502 5503 5504fi 5505 5506 fi 5507 fi 5508 # 5509 # Is ether_hostton() declared? 5510 # 5511 if test "$ac_cv_have_decl_ether_hostton" != yes; then 5512 # 5513 # No, we'll have to declare it ourselves. 5514 # Do we have "struct ether_addr"? 5515 #
|
4698 echo "$as_me:$LINENO: checking for struct ether_addr" >&5 4699echo $ECHO_N "checking for struct ether_addr... $ECHO_C" >&6
| 5516 { echo "$as_me:$LINENO: checking for struct ether_addr" >&5 5517echo $ECHO_N "checking for struct ether_addr... $ECHO_C" >&6; }
|
4700if test "${ac_cv_type_struct_ether_addr+set}" = set; then 4701 echo $ECHO_N "(cached) $ECHO_C" >&6 4702else 4703 cat >conftest.$ac_ext <<_ACEOF
| 5518if test "${ac_cv_type_struct_ether_addr+set}" = set; then 5519 echo $ECHO_N "(cached) $ECHO_C" >&6 5520else 5521 cat >conftest.$ac_ext <<_ACEOF
|
4704#line $LINENO "configure"
| |
4705/* confdefs.h. */ 4706_ACEOF 4707cat confdefs.h >>conftest.$ac_ext 4708cat >>conftest.$ac_ext <<_ACEOF 4709/* end confdefs.h. */ 4710 4711#include <sys/types.h> 4712#include <sys/socket.h> 4713#include <netinet/in.h> 4714#include <arpa/inet.h> 4715struct mbuf; 4716struct rtentry; 4717#include <net/if.h> 4718#include <netinet/if_ether.h> 4719 4720
| 5522/* confdefs.h. */ 5523_ACEOF 5524cat confdefs.h >>conftest.$ac_ext 5525cat >>conftest.$ac_ext <<_ACEOF 5526/* end confdefs.h. */ 5527 5528#include <sys/types.h> 5529#include <sys/socket.h> 5530#include <netinet/in.h> 5531#include <arpa/inet.h> 5532struct mbuf; 5533struct rtentry; 5534#include <net/if.h> 5535#include <netinet/if_ether.h> 5536 5537
|
| 5538typedef struct ether_addr ac__type_new_;
|
4721int 4722main () 4723{
| 5539int 5540main () 5541{
|
4724if ((struct ether_addr *) 0)
| 5542if ((ac__type_new_ *) 0)
|
4725 return 0;
| 5543 return 0;
|
4726if (sizeof (struct ether_addr))
| 5544if (sizeof (ac__type_new_))
|
4727 return 0; 4728 ; 4729 return 0; 4730} 4731_ACEOF 4732rm -f conftest.$ac_objext
| 5545 return 0; 5546 ; 5547 return 0; 5548} 5549_ACEOF 5550rm -f conftest.$ac_objext
|
4733if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4734 (eval $ac_compile) 2>&5
| 5551if { (ac_try="$ac_compile" 5552case "(($ac_try" in 5553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5554 *) ac_try_echo=$ac_try;; 5555esac 5556eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5557 (eval "$ac_compile") 2>conftest.er1
|
4735 ac_status=$?
| 5558 ac_status=$?
|
| 5559 grep -v '^ *+' conftest.er1 >conftest.err 5560 rm -f conftest.er1 5561 cat conftest.err >&5
|
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4737 (exit $ac_status); } && 4738 { ac_try='test -s conftest.$ac_objext' 4739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4740 (eval $ac_try) 2>&5 4741 ac_status=$? 4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4743 (exit $ac_status); }; }; then
| 5563 (exit $ac_status); } && { 5564 test -z "$ac_c_werror_flag" || 5565 test ! -s conftest.err 5566 } && test -s conftest.$ac_objext; then
|
4744 ac_cv_type_struct_ether_addr=yes 4745else 4746 echo "$as_me: failed program was:" >&5 4747sed 's/^/| /' conftest.$ac_ext >&5 4748
| 5567 ac_cv_type_struct_ether_addr=yes 5568else 5569 echo "$as_me: failed program was:" >&5 5570sed 's/^/| /' conftest.$ac_ext >&5 5571
|
4749ac_cv_type_struct_ether_addr=no
| 5572 ac_cv_type_struct_ether_addr=no
|
4750fi
| 5573fi
|
4751rm -f conftest.$ac_objext conftest.$ac_ext
| 5574 5575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4752fi
| 5576fi
|
4753echo "$as_me:$LINENO: result: $ac_cv_type_struct_ether_addr" >&5 4754echo "${ECHO_T}$ac_cv_type_struct_ether_addr" >&6
| 5577{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_ether_addr" >&5 5578echo "${ECHO_T}$ac_cv_type_struct_ether_addr" >&6; }
|
4755if test $ac_cv_type_struct_ether_addr = yes; then 4756 4757cat >>confdefs.h <<_ACEOF 4758#define HAVE_STRUCT_ETHER_ADDR 1 4759_ACEOF 4760 4761 4762fi 4763 4764 4765cat >>confdefs.h <<\_ACEOF 4766#define HAVE_DECL_ETHER_HOSTTON 0 4767_ACEOF 4768 4769 else 4770 4771cat >>confdefs.h <<\_ACEOF 4772#define HAVE_DECL_ETHER_HOSTTON 1 4773_ACEOF 4774 4775 fi 4776fi 4777
| 5579if test $ac_cv_type_struct_ether_addr = yes; then 5580 5581cat >>confdefs.h <<_ACEOF 5582#define HAVE_STRUCT_ETHER_ADDR 1 5583_ACEOF 5584 5585 5586fi 5587 5588 5589cat >>confdefs.h <<\_ACEOF 5590#define HAVE_DECL_ETHER_HOSTTON 0 5591_ACEOF 5592 5593 else 5594 5595cat >>confdefs.h <<\_ACEOF 5596#define HAVE_DECL_ETHER_HOSTTON 1 5597_ACEOF 5598 5599 fi 5600fi 5601
|
4778echo "$as_me:$LINENO: checking if --disable-protochain option is specified" >&5 4779echo $ECHO_N "checking if --disable-protochain option is specified... $ECHO_C" >&6 4780# Check whether --enable-protochain or --disable-protochain was given.
| 5602{ echo "$as_me:$LINENO: checking if --disable-protochain option is specified" >&5 5603echo $ECHO_N "checking if --disable-protochain option is specified... $ECHO_C" >&6; } 5604# Check whether --enable-protochain was given.
|
4781if test "${enable_protochain+set}" = set; then
| 5605if test "${enable_protochain+set}" = set; then
|
4782 enableval="$enable_protochain"
| 5606 enableval=$enable_protochain; 5607fi
|
4783
| 5608
|
4784fi;
| |
4785case "x$enable_protochain" in 4786xyes) enable_protochain=enabled ;; 4787xno) enable_protochain=disabled ;; 4788x) enable_protochain=enabled ;; 4789esac 4790 4791if test "$enable_protochain" = "disabled"; then 4792 4793cat >>confdefs.h <<\_ACEOF 4794#define NO_PROTOCHAIN 1 4795_ACEOF 4796 4797fi
| 5609case "x$enable_protochain" in 5610xyes) enable_protochain=enabled ;; 5611xno) enable_protochain=disabled ;; 5612x) enable_protochain=enabled ;; 5613esac 5614 5615if test "$enable_protochain" = "disabled"; then 5616 5617cat >>confdefs.h <<\_ACEOF 5618#define NO_PROTOCHAIN 1 5619_ACEOF 5620 5621fi
|
4798echo "$as_me:$LINENO: result: ${enable_protochain}" >&5 4799echo "${ECHO_T}${enable_protochain}" >&6
| 5622{ echo "$as_me:$LINENO: result: ${enable_protochain}" >&5 5623echo "${ECHO_T}${enable_protochain}" >&6; }
|
4800 4801if test -z "$with_pcap" && test "$cross_compiling" = yes; then 4802 { { echo "$as_me:$LINENO: error: pcap type not determined when cross-compiling; use --with-pcap=..." >&5 4803echo "$as_me: error: pcap type not determined when cross-compiling; use --with-pcap=..." >&2;} 4804 { (exit 1); exit 1; }; } 4805fi 4806
| 5624 5625if test -z "$with_pcap" && test "$cross_compiling" = yes; then 5626 { { echo "$as_me:$LINENO: error: pcap type not determined when cross-compiling; use --with-pcap=..." >&5 5627echo "$as_me: error: pcap type not determined when cross-compiling; use --with-pcap=..." >&2;} 5628 { (exit 1); exit 1; }; } 5629fi 5630
|
4807# Check whether --with-pcap or --without-pcap was given.
| 5631# Check whether --with-pcap was given.
|
4808if test "${with_pcap+set}" = set; then
| 5632if test "${with_pcap+set}" = set; then
|
4809 withval="$with_pcap"
| 5633 withval=$with_pcap; 5634fi
|
4810
| 5635
|
4811fi; 4812echo "$as_me:$LINENO: checking packet capture type" >&5 4813echo $ECHO_N "checking packet capture type... $ECHO_C" >&6
| 5636{ echo "$as_me:$LINENO: checking packet capture type" >&5 5637echo $ECHO_N "checking packet capture type... $ECHO_C" >&6; }
|
4814if test ! -z "$with_pcap" ; then 4815 V_PCAP="$withval"
| 5638if test ! -z "$with_pcap" ; then 5639 V_PCAP="$withval"
|
| 5640elif test -r /dev/bpf ; then 5641 # 5642 # Cloning BPF device. 5643 # 5644 V_PCAP=bpf 5645 5646cat >>confdefs.h <<\_ACEOF 5647#define HAVE_CLONING_BPF 1 5648_ACEOF 5649
|
4816elif test -r /dev/bpf0 ; then 4817 V_PCAP=bpf 4818elif test -r /usr/include/net/pfilt.h ; then 4819 V_PCAP=pf 4820elif test -r /dev/enet ; then 4821 V_PCAP=enet 4822elif test -r /dev/nit ; then 4823 V_PCAP=snit 4824elif test -r /usr/include/sys/net/nit.h ; then 4825 V_PCAP=nit 4826elif test -r /usr/include/linux/socket.h ; then 4827 V_PCAP=linux 4828elif test -r /usr/include/net/raw.h ; then 4829 V_PCAP=snoop 4830elif test -r /usr/include/odmi.h ; then 4831 # 4832 # On AIX, the BPF devices might not yet be present - they're 4833 # created the first time libpcap runs after booting. 4834 # We check for odmi.h instead. 4835 # 4836 V_PCAP=bpf 4837elif test -r /usr/include/sys/dlpi.h ; then 4838 V_PCAP=dlpi 4839elif test -c /dev/bpf0 ; then # check again in case not readable 4840 V_PCAP=bpf 4841elif test -c /dev/enet ; then # check again in case not readable 4842 V_PCAP=enet 4843elif test -c /dev/nit ; then # check again in case not readable 4844 V_PCAP=snit 4845else 4846 V_PCAP=null 4847fi
| 5650elif test -r /dev/bpf0 ; then 5651 V_PCAP=bpf 5652elif test -r /usr/include/net/pfilt.h ; then 5653 V_PCAP=pf 5654elif test -r /dev/enet ; then 5655 V_PCAP=enet 5656elif test -r /dev/nit ; then 5657 V_PCAP=snit 5658elif test -r /usr/include/sys/net/nit.h ; then 5659 V_PCAP=nit 5660elif test -r /usr/include/linux/socket.h ; then 5661 V_PCAP=linux 5662elif test -r /usr/include/net/raw.h ; then 5663 V_PCAP=snoop 5664elif test -r /usr/include/odmi.h ; then 5665 # 5666 # On AIX, the BPF devices might not yet be present - they're 5667 # created the first time libpcap runs after booting. 5668 # We check for odmi.h instead. 5669 # 5670 V_PCAP=bpf 5671elif test -r /usr/include/sys/dlpi.h ; then 5672 V_PCAP=dlpi 5673elif test -c /dev/bpf0 ; then # check again in case not readable 5674 V_PCAP=bpf 5675elif test -c /dev/enet ; then # check again in case not readable 5676 V_PCAP=enet 5677elif test -c /dev/nit ; then # check again in case not readable 5678 V_PCAP=snit 5679else 5680 V_PCAP=null 5681fi
|
4848echo "$as_me:$LINENO: result: $V_PCAP" >&5 4849echo "${ECHO_T}$V_PCAP" >&6
| 5682{ echo "$as_me:$LINENO: result: $V_PCAP" >&5 5683echo "${ECHO_T}$V_PCAP" >&6; }
|
4850 4851if test "$V_PCAP" = null 4852then 4853 # 4854 # We can't capture, so we can't open any capture 4855 # devices, so we won't return any interfaces. 4856 # 4857 V_FINDALLDEVS=null 4858else
| 5684 5685if test "$V_PCAP" = null 5686then 5687 # 5688 # We can't capture, so we can't open any capture 5689 # devices, so we won't return any interfaces. 5690 # 5691 V_FINDALLDEVS=null 5692else
|
4859 echo "$as_me:$LINENO: checking for getifaddrs" >&5 4860echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6
| 5693 { echo "$as_me:$LINENO: checking for getifaddrs" >&5 5694echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6; }
|
4861if test "${ac_cv_func_getifaddrs+set}" = set; then 4862 echo $ECHO_N "(cached) $ECHO_C" >&6 4863else 4864 cat >conftest.$ac_ext <<_ACEOF
| 5695if test "${ac_cv_func_getifaddrs+set}" = set; then 5696 echo $ECHO_N "(cached) $ECHO_C" >&6 5697else 5698 cat >conftest.$ac_ext <<_ACEOF
|
4865#line $LINENO "configure"
| |
4866/* confdefs.h. */ 4867_ACEOF 4868cat confdefs.h >>conftest.$ac_ext 4869cat >>conftest.$ac_ext <<_ACEOF 4870/* end confdefs.h. */
| 5699/* confdefs.h. */ 5700_ACEOF 5701cat confdefs.h >>conftest.$ac_ext 5702cat >>conftest.$ac_ext <<_ACEOF 5703/* end confdefs.h. */
|
| 5704/* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs. 5705 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5706#define getifaddrs innocuous_getifaddrs 5707
|
4871/* System header to define __stub macros and hopefully few prototypes, 4872 which can conflict with char getifaddrs (); below. 4873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4874 <limits.h> exists even on freestanding compilers. */
| 5708/* System header to define __stub macros and hopefully few prototypes, 5709 which can conflict with char getifaddrs (); below. 5710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5711 <limits.h> exists even on freestanding compilers. */
|
| 5712
|
4875#ifdef __STDC__ 4876# include <limits.h> 4877#else 4878# include <assert.h> 4879#endif
| 5713#ifdef __STDC__ 5714# include <limits.h> 5715#else 5716# include <assert.h> 5717#endif
|
4880/* Override any gcc2 internal prototype to avoid an error. */
| 5718 5719#undef getifaddrs 5720 5721/* Override any GCC internal prototype to avoid an error. 5722 Use char because int might match the return type of a GCC 5723 builtin and then its argument prototype would still apply. */
|
4881#ifdef __cplusplus 4882extern "C"
| 5724#ifdef __cplusplus 5725extern "C"
|
4883{
| |
4884#endif
| 5726#endif
|
4885/* We use char because int might match the return type of a gcc2 4886 builtin and then its argument prototype would still apply. */
| |
4887char getifaddrs (); 4888/* The GNU C library defines this for functions which it implements 4889 to always fail with ENOSYS. Some functions are actually named 4890 something starting with __ and the normal name is an alias. */
| 5727char getifaddrs (); 5728/* The GNU C library defines this for functions which it implements 5729 to always fail with ENOSYS. Some functions are actually named 5730 something starting with __ and the normal name is an alias. */
|
4891#if defined (__stub_getifaddrs) || defined (__stub___getifaddrs)
| 5731#if defined __stub_getifaddrs || defined __stub___getifaddrs
|
4892choke me
| 5732choke me
|
4893#else 4894char (*f) () = getifaddrs;
| |
4895#endif
| 5733#endif
|
4896#ifdef __cplusplus 4897} 4898#endif
| |
4899 4900int 4901main () 4902{
| 5734 5735int 5736main () 5737{
|
4903return f != getifaddrs;
| 5738return getifaddrs ();
|
4904 ; 4905 return 0; 4906} 4907_ACEOF 4908rm -f conftest.$ac_objext conftest$ac_exeext
| 5739 ; 5740 return 0; 5741} 5742_ACEOF 5743rm -f conftest.$ac_objext conftest$ac_exeext
|
4909if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4910 (eval $ac_link) 2>&5
| 5744if { (ac_try="$ac_link" 5745case "(($ac_try" in 5746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5747 *) ac_try_echo=$ac_try;; 5748esac 5749eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5750 (eval "$ac_link") 2>conftest.er1
|
4911 ac_status=$?
| 5751 ac_status=$?
|
| 5752 grep -v '^ *+' conftest.er1 >conftest.err 5753 rm -f conftest.er1 5754 cat conftest.err >&5
|
4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 5755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4913 (exit $ac_status); } && 4914 { ac_try='test -s conftest$ac_exeext' 4915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4916 (eval $ac_try) 2>&5 4917 ac_status=$? 4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4919 (exit $ac_status); }; }; then
| 5756 (exit $ac_status); } && { 5757 test -z "$ac_c_werror_flag" || 5758 test ! -s conftest.err 5759 } && test -s conftest$ac_exeext && 5760 $as_test_x conftest$ac_exeext; then
|
4920 ac_cv_func_getifaddrs=yes 4921else 4922 echo "$as_me: failed program was:" >&5 4923sed 's/^/| /' conftest.$ac_ext >&5 4924
| 5761 ac_cv_func_getifaddrs=yes 5762else 5763 echo "$as_me: failed program was:" >&5 5764sed 's/^/| /' conftest.$ac_ext >&5 5765
|
4925ac_cv_func_getifaddrs=no
| 5766 ac_cv_func_getifaddrs=no
|
4926fi
| 5767fi
|
4927rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
| 5768 5769rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5770 conftest$ac_exeext conftest.$ac_ext
|
4928fi
| 5771fi
|
4929echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5 4930echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6
| 5772{ echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5 5773echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6; }
|
4931if test $ac_cv_func_getifaddrs = yes; then 4932 4933 # 4934 # We have "getifaddrs()"; make sure we have <ifaddrs.h> 4935 # as well, just in case some platform is really weird. 4936 # 4937 if test "${ac_cv_header_ifaddrs_h+set}" = set; then
| 5774if test $ac_cv_func_getifaddrs = yes; then 5775 5776 # 5777 # We have "getifaddrs()"; make sure we have <ifaddrs.h> 5778 # as well, just in case some platform is really weird. 5779 # 5780 if test "${ac_cv_header_ifaddrs_h+set}" = set; then
|
4938 echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 4939echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6
| 5781 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 5782echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; }
|
4940if test "${ac_cv_header_ifaddrs_h+set}" = set; then 4941 echo $ECHO_N "(cached) $ECHO_C" >&6 4942fi
| 5783if test "${ac_cv_header_ifaddrs_h+set}" = set; then 5784 echo $ECHO_N "(cached) $ECHO_C" >&6 5785fi
|
4943echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 4944echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6
| 5786{ echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 5787echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; }
|
4945else 4946 # Is the header compilable?
| 5788else 5789 # Is the header compilable?
|
4947echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 4948echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6
| 5790{ echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 5791echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6; }
|
4949cat >conftest.$ac_ext <<_ACEOF
| 5792cat >conftest.$ac_ext <<_ACEOF
|
4950#line $LINENO "configure"
| |
4951/* confdefs.h. */ 4952_ACEOF 4953cat confdefs.h >>conftest.$ac_ext 4954cat >>conftest.$ac_ext <<_ACEOF 4955/* end confdefs.h. */ 4956$ac_includes_default 4957#include <ifaddrs.h> 4958_ACEOF 4959rm -f conftest.$ac_objext
| 5793/* confdefs.h. */ 5794_ACEOF 5795cat confdefs.h >>conftest.$ac_ext 5796cat >>conftest.$ac_ext <<_ACEOF 5797/* end confdefs.h. */ 5798$ac_includes_default 5799#include <ifaddrs.h> 5800_ACEOF 5801rm -f conftest.$ac_objext
|
4960if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4961 (eval $ac_compile) 2>&5
| 5802if { (ac_try="$ac_compile" 5803case "(($ac_try" in 5804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5805 *) ac_try_echo=$ac_try;; 5806esac 5807eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5808 (eval "$ac_compile") 2>conftest.er1
|
4962 ac_status=$?
| 5809 ac_status=$?
|
| 5810 grep -v '^ *+' conftest.er1 >conftest.err 5811 rm -f conftest.er1 5812 cat conftest.err >&5
|
4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4964 (exit $ac_status); } && 4965 { ac_try='test -s conftest.$ac_objext' 4966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4967 (eval $ac_try) 2>&5 4968 ac_status=$? 4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4970 (exit $ac_status); }; }; then
| 5814 (exit $ac_status); } && { 5815 test -z "$ac_c_werror_flag" || 5816 test ! -s conftest.err 5817 } && test -s conftest.$ac_objext; then
|
4971 ac_header_compiler=yes 4972else 4973 echo "$as_me: failed program was:" >&5 4974sed 's/^/| /' conftest.$ac_ext >&5 4975
| 5818 ac_header_compiler=yes 5819else 5820 echo "$as_me: failed program was:" >&5 5821sed 's/^/| /' conftest.$ac_ext >&5 5822
|
4976ac_header_compiler=no
| 5823 ac_header_compiler=no
|
4977fi
| 5824fi
|
4978rm -f conftest.$ac_objext conftest.$ac_ext 4979echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4980echo "${ECHO_T}$ac_header_compiler" >&6
| |
4981
| 5825
|
| 5826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5827{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5828echo "${ECHO_T}$ac_header_compiler" >&6; } 5829
|
4982# Is the header present?
| 5830# Is the header present?
|
4983echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 4984echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6
| 5831{ echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 5832echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6; }
|
4985cat >conftest.$ac_ext <<_ACEOF
| 5833cat >conftest.$ac_ext <<_ACEOF
|
4986#line $LINENO "configure"
| |
4987/* confdefs.h. */ 4988_ACEOF 4989cat confdefs.h >>conftest.$ac_ext 4990cat >>conftest.$ac_ext <<_ACEOF 4991/* end confdefs.h. */ 4992#include <ifaddrs.h> 4993_ACEOF
| 5834/* confdefs.h. */ 5835_ACEOF 5836cat confdefs.h >>conftest.$ac_ext 5837cat >>conftest.$ac_ext <<_ACEOF 5838/* end confdefs.h. */ 5839#include <ifaddrs.h> 5840_ACEOF
|
4994if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4995 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
| 5841if { (ac_try="$ac_cpp conftest.$ac_ext" 5842case "(($ac_try" in 5843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5844 *) ac_try_echo=$ac_try;; 5845esac 5846eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5847 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4996 ac_status=$? 4997 grep -v '^ *+' conftest.er1 >conftest.err 4998 rm -f conftest.er1 4999 cat conftest.err >&5 5000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 5848 ac_status=$? 5849 grep -v '^ *+' conftest.er1 >conftest.err 5850 rm -f conftest.er1 5851 cat conftest.err >&5 5852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5001 (exit $ac_status); } >/dev/null; then 5002 if test -s conftest.err; then 5003 ac_cpp_err=$ac_c_preproc_warn_flag 5004 else 5005 ac_cpp_err= 5006 fi 5007else 5008 ac_cpp_err=yes 5009fi 5010if test -z "$ac_cpp_err"; then
| 5853 (exit $ac_status); } >/dev/null && { 5854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5855 test ! -s conftest.err 5856 }; then
|
5011 ac_header_preproc=yes 5012else 5013 echo "$as_me: failed program was:" >&5 5014sed 's/^/| /' conftest.$ac_ext >&5 5015 5016 ac_header_preproc=no 5017fi
| 5857 ac_header_preproc=yes 5858else 5859 echo "$as_me: failed program was:" >&5 5860sed 's/^/| /' conftest.$ac_ext >&5 5861 5862 ac_header_preproc=no 5863fi
|
| 5864
|
5018rm -f conftest.err conftest.$ac_ext
| 5865rm -f conftest.err conftest.$ac_ext
|
5019echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5020echo "${ECHO_T}$ac_header_preproc" >&6
| 5866{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5867echo "${ECHO_T}$ac_header_preproc" >&6; }
|
5021 5022# So? What about this header?
| 5868 5869# So? What about this header?
|
5023case $ac_header_compiler:$ac_header_preproc in 5024 yes:no )
| 5870case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5871 yes:no: )
|
5025 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 5026echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
| 5872 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 5873echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
5027 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 5028echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;} 5029 ( 5030 cat <<\_ASBOX 5031## ------------------------------------ ## 5032## Report this to bug-autoconf@gnu.org. ## 5033## ------------------------------------ ## 5034_ASBOX 5035 ) | 5036 sed "s/^/$as_me: WARNING: /" >&2
| 5874 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5 5875echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;} 5876 ac_header_preproc=yes
|
5037 ;;
| 5877 ;;
|
5038 no:yes )
| 5878 no:yes:* )
|
5039 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 5040echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;}
| 5879 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 5880echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;}
|
5041 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&5 5042echo "$as_me: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&2;}
| 5881 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&5 5882echo "$as_me: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&2;} 5883 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5 5884echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;} 5885 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: section \"Present But Cannot Be Compiled\"" >&5 5886echo "$as_me: WARNING: ifaddrs.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
5043 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 5044echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;}
| 5887 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 5888echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;}
|
5045 ( 5046 cat <<\_ASBOX 5047## ------------------------------------ ## 5048## Report this to bug-autoconf@gnu.org. ## 5049## ------------------------------------ ## 5050_ASBOX 5051 ) | 5052 sed "s/^/$as_me: WARNING: /" >&2
| 5889 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 5890echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 5891
|
5053 ;; 5054esac
| 5892 ;; 5893esac
|
5055echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 5056echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6
| 5894{ echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 5895echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; }
|
5057if test "${ac_cv_header_ifaddrs_h+set}" = set; then 5058 echo $ECHO_N "(cached) $ECHO_C" >&6 5059else 5060 ac_cv_header_ifaddrs_h=$ac_header_preproc 5061fi
| 5896if test "${ac_cv_header_ifaddrs_h+set}" = set; then 5897 echo $ECHO_N "(cached) $ECHO_C" >&6 5898else 5899 ac_cv_header_ifaddrs_h=$ac_header_preproc 5900fi
|
5062echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 5063echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6
| 5901{ echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 5902echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; }
|
5064 5065fi 5066if test $ac_cv_header_ifaddrs_h = yes; then 5067 5068 # 5069 # We have the header, so we use "getifaddrs()" to 5070 # get the list of interfaces. 5071 # 5072 V_FINDALLDEVS=getad 5073 5074else 5075 5076 # 5077 # We don't have the header - give up. 5078 # XXX - we could also fall back on some other 5079 # mechanism, but, for now, this'll catch this 5080 # problem so that we can at least try to figure 5081 # out something to do on systems with "getifaddrs()" 5082 # but without "ifaddrs.h", if there is something 5083 # we can do on those systems. 5084 # 5085 { { echo "$as_me:$LINENO: error: Your system has getifaddrs() but doesn't have a usable <ifaddrs.h>." >&5 5086echo "$as_me: error: Your system has getifaddrs() but doesn't have a usable <ifaddrs.h>." >&2;} 5087 { (exit 1); exit 1; }; } 5088 5089fi 5090 5091 5092 5093else 5094 5095 # 5096 # Well, we don't have "getifaddrs()", so we have to use 5097 # some other mechanism; determine what that mechanism is. 5098 # 5099 # The first thing we use is the type of capture mechanism, 5100 # which is somewhat of a proxy for the OS we're using. 5101 # 5102 case "$V_PCAP" in 5103 5104 dlpi) 5105 # 5106 # This might be Solaris 8 or later, with 5107 # SIOCGLIFCONF, or it might be some other OS 5108 # or some older version of Solaris, with 5109 # just SIOCGIFCONF. 5110 #
| 5903 5904fi 5905if test $ac_cv_header_ifaddrs_h = yes; then 5906 5907 # 5908 # We have the header, so we use "getifaddrs()" to 5909 # get the list of interfaces. 5910 # 5911 V_FINDALLDEVS=getad 5912 5913else 5914 5915 # 5916 # We don't have the header - give up. 5917 # XXX - we could also fall back on some other 5918 # mechanism, but, for now, this'll catch this 5919 # problem so that we can at least try to figure 5920 # out something to do on systems with "getifaddrs()" 5921 # but without "ifaddrs.h", if there is something 5922 # we can do on those systems. 5923 # 5924 { { echo "$as_me:$LINENO: error: Your system has getifaddrs() but doesn't have a usable <ifaddrs.h>." >&5 5925echo "$as_me: error: Your system has getifaddrs() but doesn't have a usable <ifaddrs.h>." >&2;} 5926 { (exit 1); exit 1; }; } 5927 5928fi 5929 5930 5931 5932else 5933 5934 # 5935 # Well, we don't have "getifaddrs()", so we have to use 5936 # some other mechanism; determine what that mechanism is. 5937 # 5938 # The first thing we use is the type of capture mechanism, 5939 # which is somewhat of a proxy for the OS we're using. 5940 # 5941 case "$V_PCAP" in 5942 5943 dlpi) 5944 # 5945 # This might be Solaris 8 or later, with 5946 # SIOCGLIFCONF, or it might be some other OS 5947 # or some older version of Solaris, with 5948 # just SIOCGIFCONF. 5949 #
|
5111 echo "$as_me:$LINENO: checking whether we have SIOCGLIFCONF" >&5 5112echo $ECHO_N "checking whether we have SIOCGLIFCONF... $ECHO_C" >&6
| 5950 { echo "$as_me:$LINENO: checking whether we have SIOCGLIFCONF" >&5 5951echo $ECHO_N "checking whether we have SIOCGLIFCONF... $ECHO_C" >&6; }
|
5113 if test "${ac_cv_lbl_have_siocglifconf+set}" = set; then 5114 echo $ECHO_N "(cached) $ECHO_C" >&6 5115else 5116 cat >conftest.$ac_ext <<_ACEOF
| 5952 if test "${ac_cv_lbl_have_siocglifconf+set}" = set; then 5953 echo $ECHO_N "(cached) $ECHO_C" >&6 5954else 5955 cat >conftest.$ac_ext <<_ACEOF
|
5117#line $LINENO "configure"
| |
5118/* confdefs.h. */ 5119_ACEOF 5120cat confdefs.h >>conftest.$ac_ext 5121cat >>conftest.$ac_ext <<_ACEOF 5122/* end confdefs.h. */ 5123#include <sys/param.h> 5124 #include <sys/file.h> 5125 #include <sys/ioctl.h> 5126 #include <sys/socket.h> 5127 #include <sys/sockio.h> 5128int 5129main () 5130{ 5131ioctl(0, SIOCGLIFCONF, (char *)0); 5132 ; 5133 return 0; 5134} 5135_ACEOF 5136rm -f conftest.$ac_objext
| 5956/* confdefs.h. */ 5957_ACEOF 5958cat confdefs.h >>conftest.$ac_ext 5959cat >>conftest.$ac_ext <<_ACEOF 5960/* end confdefs.h. */ 5961#include <sys/param.h> 5962 #include <sys/file.h> 5963 #include <sys/ioctl.h> 5964 #include <sys/socket.h> 5965 #include <sys/sockio.h> 5966int 5967main () 5968{ 5969ioctl(0, SIOCGLIFCONF, (char *)0); 5970 ; 5971 return 0; 5972} 5973_ACEOF 5974rm -f conftest.$ac_objext
|
5137if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5138 (eval $ac_compile) 2>&5
| 5975if { (ac_try="$ac_compile" 5976case "(($ac_try" in 5977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5978 *) ac_try_echo=$ac_try;; 5979esac 5980eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5981 (eval "$ac_compile") 2>conftest.er1
|
5139 ac_status=$?
| 5982 ac_status=$?
|
| 5983 grep -v '^ *+' conftest.er1 >conftest.err 5984 rm -f conftest.er1 5985 cat conftest.err >&5
|
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 5986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5141 (exit $ac_status); } && 5142 { ac_try='test -s conftest.$ac_objext' 5143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5144 (eval $ac_try) 2>&5 5145 ac_status=$? 5146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5147 (exit $ac_status); }; }; then
| 5987 (exit $ac_status); } && { 5988 test -z "$ac_c_werror_flag" || 5989 test ! -s conftest.err 5990 } && test -s conftest.$ac_objext; then
|
5148 ac_cv_lbl_have_siocglifconf=yes 5149else 5150 echo "$as_me: failed program was:" >&5 5151sed 's/^/| /' conftest.$ac_ext >&5 5152
| 5991 ac_cv_lbl_have_siocglifconf=yes 5992else 5993 echo "$as_me: failed program was:" >&5 5994sed 's/^/| /' conftest.$ac_ext >&5 5995
|
5153ac_cv_lbl_have_siocglifconf=no
| 5996 ac_cv_lbl_have_siocglifconf=no
|
5154fi
| 5997fi
|
5155rm -f conftest.$ac_objext conftest.$ac_ext
| 5998 5999rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5156fi 5157
| 6000fi 6001
|
5158 echo "$as_me:$LINENO: result: $ac_cv_lbl_have_siocglifconf" >&5 5159echo "${ECHO_T}$ac_cv_lbl_have_siocglifconf" >&6
| 6002 { echo "$as_me:$LINENO: result: $ac_cv_lbl_have_siocglifconf" >&5 6003echo "${ECHO_T}$ac_cv_lbl_have_siocglifconf" >&6; }
|
5160 if test $ac_cv_lbl_have_siocglifconf = yes ; then 5161 V_FINDALLDEVS=glifc 5162 else 5163 V_FINDALLDEVS=gifc 5164 fi 5165 ;; 5166 5167 *) 5168 # 5169 # Assume we just have SIOCGIFCONF. 5170 # (XXX - on at least later Linux kernels, there's 5171 # another mechanism, and we should be using that 5172 # instead.) 5173 # 5174 V_FINDALLDEVS=gifc 5175 ;; 5176 esac 5177fi 5178 5179fi 5180
| 6004 if test $ac_cv_lbl_have_siocglifconf = yes ; then 6005 V_FINDALLDEVS=glifc 6006 else 6007 V_FINDALLDEVS=gifc 6008 fi 6009 ;; 6010 6011 *) 6012 # 6013 # Assume we just have SIOCGIFCONF. 6014 # (XXX - on at least later Linux kernels, there's 6015 # another mechanism, and we should be using that 6016 # instead.) 6017 # 6018 V_FINDALLDEVS=gifc 6019 ;; 6020 esac 6021fi 6022 6023fi 6024
|
5181echo "$as_me:$LINENO: checking if --enable-ipv6 option is specified" >&5 5182echo $ECHO_N "checking if --enable-ipv6 option is specified... $ECHO_C" >&6 5183# Check whether --enable-ipv6 or --disable-ipv6 was given.
| 6025{ echo "$as_me:$LINENO: checking if --enable-ipv6 option is specified" >&5 6026echo $ECHO_N "checking if --enable-ipv6 option is specified... $ECHO_C" >&6; } 6027# Check whether --enable-ipv6 was given.
|
5184if test "${enable_ipv6+set}" = set; then
| 6028if test "${enable_ipv6+set}" = set; then
|
5185 enableval="$enable_ipv6"
| 6029 enableval=$enable_ipv6; 6030fi
|
5186
| 6031
|
5187fi;
| |
5188if test "$enable_ipv6" = "yes"; then 5189 5190cat >>confdefs.h <<\_ACEOF 5191#define INET6 1 5192_ACEOF 5193 5194fi
| 6032if test "$enable_ipv6" = "yes"; then 6033 6034cat >>confdefs.h <<\_ACEOF 6035#define INET6 1 6036_ACEOF 6037 6038fi
|
5195echo "$as_me:$LINENO: result: ${enable_ipv6-no}" >&5 5196echo "${ECHO_T}${enable_ipv6-no}" >&6
| 6039{ echo "$as_me:$LINENO: result: ${enable_ipv6-no}" >&5 6040echo "${ECHO_T}${enable_ipv6-no}" >&6; }
|
5197
| 6041
|
5198echo "$as_me:$LINENO: checking whether to build optimizer debugging code" >&5 5199echo $ECHO_N "checking whether to build optimizer debugging code... $ECHO_C" >&6 5200# Check whether --enable-optimizer-dbg or --disable-optimizer-dbg was given.
| 6042{ echo "$as_me:$LINENO: checking whether to build optimizer debugging code" >&5 6043echo $ECHO_N "checking whether to build optimizer debugging code... $ECHO_C" >&6; } 6044# Check whether --enable-optimizer-dbg was given.
|
5201if test "${enable_optimizer_dbg+set}" = set; then
| 6045if test "${enable_optimizer_dbg+set}" = set; then
|
5202 enableval="$enable_optimizer_dbg"
| 6046 enableval=$enable_optimizer_dbg; 6047fi
|
5203
| 6048
|
5204fi;
| |
5205if test "$enable_optimizer_dbg" = "yes"; then 5206 5207cat >>confdefs.h <<\_ACEOF 5208#define BDEBUG 1 5209_ACEOF 5210 5211fi
| 6049if test "$enable_optimizer_dbg" = "yes"; then 6050 6051cat >>confdefs.h <<\_ACEOF 6052#define BDEBUG 1 6053_ACEOF 6054 6055fi
|
5212echo "$as_me:$LINENO: result: ${enable_optimizer_dbg-no}" >&5 5213echo "${ECHO_T}${enable_optimizer_dbg-no}" >&6
| 6056{ echo "$as_me:$LINENO: result: ${enable_optimizer_dbg-no}" >&5 6057echo "${ECHO_T}${enable_optimizer_dbg-no}" >&6; }
|
5214
| 6058
|
5215echo "$as_me:$LINENO: checking whether to build parser debugging code" >&5 5216echo $ECHO_N "checking whether to build parser debugging code... $ECHO_C" >&6 5217# Check whether --enable-yydebug or --disable-yydebug was given.
| 6059{ echo "$as_me:$LINENO: checking whether to build parser debugging code" >&5 6060echo $ECHO_N "checking whether to build parser debugging code... $ECHO_C" >&6; } 6061# Check whether --enable-yydebug was given.
|
5218if test "${enable_yydebug+set}" = set; then
| 6062if test "${enable_yydebug+set}" = set; then
|
5219 enableval="$enable_yydebug"
| 6063 enableval=$enable_yydebug; 6064fi
|
5220
| 6065
|
5221fi;
| |
5222if test "$enable_yydebug" = "yes"; then 5223 5224cat >>confdefs.h <<\_ACEOF 5225#define YYDEBUG 1 5226_ACEOF 5227 5228fi
| 6066if test "$enable_yydebug" = "yes"; then 6067 6068cat >>confdefs.h <<\_ACEOF 6069#define YYDEBUG 1 6070_ACEOF 6071 6072fi
|
5229echo "$as_me:$LINENO: result: ${enable_yydebug-no}" >&5 5230echo "${ECHO_T}${enable_yydebug-no}" >&6
| 6073{ echo "$as_me:$LINENO: result: ${enable_yydebug-no}" >&5 6074echo "${ECHO_T}${enable_yydebug-no}" >&6; }
|
5231 5232case "$V_PCAP" in 5233 5234dlpi) 5235 5236 5237for ac_header in sys/bufmod.h sys/dlpi_ext.h 5238do 5239as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
| 6075 6076case "$V_PCAP" in 6077 6078dlpi) 6079 6080 6081for ac_header in sys/bufmod.h sys/dlpi_ext.h 6082do 6083as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
5240if eval "test \"\${$as_ac_Header+set}\" = set"; then 5241 echo "$as_me:$LINENO: checking for $ac_header" >&5 5242echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5243if eval "test \"\${$as_ac_Header+set}\" = set"; then
| 6084if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6085 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6086echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6087if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
5244 echo $ECHO_N "(cached) $ECHO_C" >&6 5245fi
| 6088 echo $ECHO_N "(cached) $ECHO_C" >&6 6089fi
|
5246echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5247echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
| 6090ac_res=`eval echo '${'$as_ac_Header'}'` 6091 { echo "$as_me:$LINENO: result: $ac_res" >&5 6092echo "${ECHO_T}$ac_res" >&6; }
|
5248else 5249 # Is the header compilable?
| 6093else 6094 # Is the header compilable?
|
5250echo "$as_me:$LINENO: checking $ac_header usability" >&5 5251echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
| 6095{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 6096echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
5252cat >conftest.$ac_ext <<_ACEOF
| 6097cat >conftest.$ac_ext <<_ACEOF
|
5253#line $LINENO "configure"
| |
5254/* confdefs.h. */ 5255_ACEOF 5256cat confdefs.h >>conftest.$ac_ext 5257cat >>conftest.$ac_ext <<_ACEOF 5258/* end confdefs.h. */ 5259$ac_includes_default 5260#include <$ac_header> 5261_ACEOF 5262rm -f conftest.$ac_objext
| 6098/* confdefs.h. */ 6099_ACEOF 6100cat confdefs.h >>conftest.$ac_ext 6101cat >>conftest.$ac_ext <<_ACEOF 6102/* end confdefs.h. */ 6103$ac_includes_default 6104#include <$ac_header> 6105_ACEOF 6106rm -f conftest.$ac_objext
|
5263if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5264 (eval $ac_compile) 2>&5
| 6107if { (ac_try="$ac_compile" 6108case "(($ac_try" in 6109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6110 *) ac_try_echo=$ac_try;; 6111esac 6112eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6113 (eval "$ac_compile") 2>conftest.er1
|
5265 ac_status=$?
| 6114 ac_status=$?
|
| 6115 grep -v '^ *+' conftest.er1 >conftest.err 6116 rm -f conftest.er1 6117 cat conftest.err >&5
|
5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 6118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5267 (exit $ac_status); } && 5268 { ac_try='test -s conftest.$ac_objext' 5269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5270 (eval $ac_try) 2>&5 5271 ac_status=$? 5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5273 (exit $ac_status); }; }; then
| 6119 (exit $ac_status); } && { 6120 test -z "$ac_c_werror_flag" || 6121 test ! -s conftest.err 6122 } && test -s conftest.$ac_objext; then
|
5274 ac_header_compiler=yes 5275else 5276 echo "$as_me: failed program was:" >&5 5277sed 's/^/| /' conftest.$ac_ext >&5 5278
| 6123 ac_header_compiler=yes 6124else 6125 echo "$as_me: failed program was:" >&5 6126sed 's/^/| /' conftest.$ac_ext >&5 6127
|
5279ac_header_compiler=no
| 6128 ac_header_compiler=no
|
5280fi
| 6129fi
|
5281rm -f conftest.$ac_objext conftest.$ac_ext 5282echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5283echo "${ECHO_T}$ac_header_compiler" >&6
| |
5284
| 6130
|
| 6131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6132{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6133echo "${ECHO_T}$ac_header_compiler" >&6; } 6134
|
5285# Is the header present?
| 6135# Is the header present?
|
5286echo "$as_me:$LINENO: checking $ac_header presence" >&5 5287echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
| 6136{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 6137echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
5288cat >conftest.$ac_ext <<_ACEOF
| 6138cat >conftest.$ac_ext <<_ACEOF
|
5289#line $LINENO "configure"
| |
5290/* confdefs.h. */ 5291_ACEOF 5292cat confdefs.h >>conftest.$ac_ext 5293cat >>conftest.$ac_ext <<_ACEOF 5294/* end confdefs.h. */ 5295#include <$ac_header> 5296_ACEOF
| 6139/* confdefs.h. */ 6140_ACEOF 6141cat confdefs.h >>conftest.$ac_ext 6142cat >>conftest.$ac_ext <<_ACEOF 6143/* end confdefs.h. */ 6144#include <$ac_header> 6145_ACEOF
|
5297if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
| 6146if { (ac_try="$ac_cpp conftest.$ac_ext" 6147case "(($ac_try" in 6148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6149 *) ac_try_echo=$ac_try;; 6150esac 6151eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6152 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
5299 ac_status=$? 5300 grep -v '^ *+' conftest.er1 >conftest.err 5301 rm -f conftest.er1 5302 cat conftest.err >&5 5303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 6153 ac_status=$? 6154 grep -v '^ *+' conftest.er1 >conftest.err 6155 rm -f conftest.er1 6156 cat conftest.err >&5 6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5304 (exit $ac_status); } >/dev/null; then 5305 if test -s conftest.err; then 5306 ac_cpp_err=$ac_c_preproc_warn_flag 5307 else 5308 ac_cpp_err= 5309 fi 5310else 5311 ac_cpp_err=yes 5312fi 5313if test -z "$ac_cpp_err"; then
| 6158 (exit $ac_status); } >/dev/null && { 6159 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6160 test ! -s conftest.err 6161 }; then
|
5314 ac_header_preproc=yes 5315else 5316 echo "$as_me: failed program was:" >&5 5317sed 's/^/| /' conftest.$ac_ext >&5 5318 5319 ac_header_preproc=no 5320fi
| 6162 ac_header_preproc=yes 6163else 6164 echo "$as_me: failed program was:" >&5 6165sed 's/^/| /' conftest.$ac_ext >&5 6166 6167 ac_header_preproc=no 6168fi
|
| 6169
|
5321rm -f conftest.err conftest.$ac_ext
| 6170rm -f conftest.err conftest.$ac_ext
|
5322echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5323echo "${ECHO_T}$ac_header_preproc" >&6
| 6171{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6172echo "${ECHO_T}$ac_header_preproc" >&6; }
|
5324 5325# So? What about this header?
| 6173 6174# So? What about this header?
|
5326case $ac_header_compiler:$ac_header_preproc in 5327 yes:no )
| 6175case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6176 yes:no: )
|
5328 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5329echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
| 6177 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6178echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
5330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5331echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5332 ( 5333 cat <<\_ASBOX 5334## ------------------------------------ ## 5335## Report this to bug-autoconf@gnu.org. ## 5336## ------------------------------------ ## 5337_ASBOX 5338 ) | 5339 sed "s/^/$as_me: WARNING: /" >&2
| 6179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6180echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6181 ac_header_preproc=yes
|
5340 ;;
| 6182 ;;
|
5341 no:yes )
| 6183 no:yes:* )
|
5342 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5343echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
| 6184 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6185echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
5344 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5345echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
| 6186 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6187echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6188 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6189echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6190 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6191echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
5346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5347echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
| 6192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6193echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
5348 ( 5349 cat <<\_ASBOX 5350## ------------------------------------ ## 5351## Report this to bug-autoconf@gnu.org. ## 5352## ------------------------------------ ## 5353_ASBOX 5354 ) | 5355 sed "s/^/$as_me: WARNING: /" >&2
| 6194 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6195echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6196
|
5356 ;; 5357esac
| 6197 ;; 6198esac
|
5358echo "$as_me:$LINENO: checking for $ac_header" >&5 5359echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5360if eval "test \"\${$as_ac_Header+set}\" = set"; then
| 6199{ echo "$as_me:$LINENO: checking for $ac_header" >&5 6200echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6201if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
5361 echo $ECHO_N "(cached) $ECHO_C" >&6 5362else
| 6202 echo $ECHO_N "(cached) $ECHO_C" >&6 6203else
|
5363 eval "$as_ac_Header=$ac_header_preproc"
| 6204 eval "$as_ac_Header=\$ac_header_preproc"
|
5364fi
| 6205fi
|
5365echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5366echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
| 6206ac_res=`eval echo '${'$as_ac_Header'}'` 6207 { echo "$as_me:$LINENO: result: $ac_res" >&5 6208echo "${ECHO_T}$ac_res" >&6; }
|
5367 5368fi 5369if test `eval echo '${'$as_ac_Header'}'` = yes; then 5370 cat >>confdefs.h <<_ACEOF 5371#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5372_ACEOF 5373 5374fi 5375 5376done 5377
| 6209 6210fi 6211if test `eval echo '${'$as_ac_Header'}'` = yes; then 6212 cat >>confdefs.h <<_ACEOF 6213#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6214_ACEOF 6215 6216fi 6217 6218done 6219
|
5378 echo "$as_me:$LINENO: checking for /dev/dlpi device" >&5 5379echo $ECHO_N "checking for /dev/dlpi device... $ECHO_C" >&6
| 6220 { echo "$as_me:$LINENO: checking for /dev/dlpi device" >&5 6221echo $ECHO_N "checking for /dev/dlpi device... $ECHO_C" >&6; }
|
5380 if test -c /dev/dlpi ; then
| 6222 if test -c /dev/dlpi ; then
|
5381 echo "$as_me:$LINENO: result: yes" >&5 5382echo "${ECHO_T}yes" >&6
| 6223 { echo "$as_me:$LINENO: result: yes" >&5 6224echo "${ECHO_T}yes" >&6; }
|
5383 5384cat >>confdefs.h <<\_ACEOF 5385#define HAVE_DEV_DLPI 1 5386_ACEOF 5387 5388 else
| 6225 6226cat >>confdefs.h <<\_ACEOF 6227#define HAVE_DEV_DLPI 1 6228_ACEOF 6229 6230 else
|
5389 echo "$as_me:$LINENO: result: no" >&5 5390echo "${ECHO_T}no" >&6
| 6231 { echo "$as_me:$LINENO: result: no" >&5 6232echo "${ECHO_T}no" >&6; }
|
5391 dir="/dev/dlpi"
| 6233 dir="/dev/dlpi"
|
5392 echo "$as_me:$LINENO: checking for $dir directory" >&5 5393echo $ECHO_N "checking for $dir directory... $ECHO_C" >&6
| 6234 { echo "$as_me:$LINENO: checking for $dir directory" >&5 6235echo $ECHO_N "checking for $dir directory... $ECHO_C" >&6; }
|
5394 if test -d $dir ; then
| 6236 if test -d $dir ; then
|
5395 echo "$as_me:$LINENO: result: yes" >&5 5396echo "${ECHO_T}yes" >&6
| 6237 { echo "$as_me:$LINENO: result: yes" >&5 6238echo "${ECHO_T}yes" >&6; }
|
5397 5398cat >>confdefs.h <<_ACEOF 5399#define PCAP_DEV_PREFIX "$dir" 5400_ACEOF 5401 5402 else
| 6239 6240cat >>confdefs.h <<_ACEOF 6241#define PCAP_DEV_PREFIX "$dir" 6242_ACEOF 6243 6244 else
|
5403 echo "$as_me:$LINENO: result: no" >&5 5404echo "${ECHO_T}no" >&6
| 6245 { echo "$as_me:$LINENO: result: no" >&5 6246echo "${ECHO_T}no" >&6; }
|
5405 fi 5406 fi 5407 ;; 5408 5409linux)
| 6247 fi 6248 fi 6249 ;; 6250 6251linux)
|
5410 echo "$as_me:$LINENO: checking Linux kernel version" >&5 5411echo $ECHO_N "checking Linux kernel version... $ECHO_C" >&6
| 6252 { echo "$as_me:$LINENO: checking Linux kernel version" >&5 6253echo $ECHO_N "checking Linux kernel version... $ECHO_C" >&6; }
|
5412 if test "$cross_compiling" = yes; then 5413 if test "${ac_cv_linux_vers+set}" = set; then 5414 echo $ECHO_N "(cached) $ECHO_C" >&6 5415else 5416 ac_cv_linux_vers=unknown 5417fi 5418 5419 else 5420 if test "${ac_cv_linux_vers+set}" = set; then 5421 echo $ECHO_N "(cached) $ECHO_C" >&6 5422else 5423 ac_cv_linux_vers=`uname -r 2>&1 | \ 5424 sed -n -e '$s/.* //' -e '$s/\..*//p'` 5425fi 5426 5427 fi
| 6254 if test "$cross_compiling" = yes; then 6255 if test "${ac_cv_linux_vers+set}" = set; then 6256 echo $ECHO_N "(cached) $ECHO_C" >&6 6257else 6258 ac_cv_linux_vers=unknown 6259fi 6260 6261 else 6262 if test "${ac_cv_linux_vers+set}" = set; then 6263 echo $ECHO_N "(cached) $ECHO_C" >&6 6264else 6265 ac_cv_linux_vers=`uname -r 2>&1 | \ 6266 sed -n -e '$s/.* //' -e '$s/\..*//p'` 6267fi 6268 6269 fi
|
5428 echo "$as_me:$LINENO: result: $ac_cv_linux_vers" >&5 5429echo "${ECHO_T}$ac_cv_linux_vers" >&6
| 6270 { echo "$as_me:$LINENO: result: $ac_cv_linux_vers" >&5 6271echo "${ECHO_T}$ac_cv_linux_vers" >&6; }
|
5430 if test $ac_cv_linux_vers = unknown ; then 5431 { { echo "$as_me:$LINENO: error: cannot determine linux version when cross-compiling" >&5 5432echo "$as_me: error: cannot determine linux version when cross-compiling" >&2;} 5433 { (exit 1); exit 1; }; } 5434 fi 5435 if test $ac_cv_linux_vers -lt 2 ; then 5436 { { echo "$as_me:$LINENO: error: version 2 or higher required; see the INSTALL doc for more info" >&5 5437echo "$as_me: error: version 2 or higher required; see the INSTALL doc for more info" >&2;} 5438 { (exit 1); exit 1; }; } 5439 fi
| 6272 if test $ac_cv_linux_vers = unknown ; then 6273 { { echo "$as_me:$LINENO: error: cannot determine linux version when cross-compiling" >&5 6274echo "$as_me: error: cannot determine linux version when cross-compiling" >&2;} 6275 { (exit 1); exit 1; }; } 6276 fi 6277 if test $ac_cv_linux_vers -lt 2 ; then 6278 { { echo "$as_me:$LINENO: error: version 2 or higher required; see the INSTALL doc for more info" >&5 6279echo "$as_me: error: version 2 or higher required; see the INSTALL doc for more info" >&2;} 6280 { (exit 1); exit 1; }; } 6281 fi
|
5440 echo "$as_me:$LINENO: checking if if_packet.h has tpacket_stats defined" >&5 5441echo $ECHO_N "checking if if_packet.h has tpacket_stats defined... $ECHO_C" >&6
| 6282 { echo "$as_me:$LINENO: checking if if_packet.h has tpacket_stats defined" >&5 6283echo $ECHO_N "checking if if_packet.h has tpacket_stats defined... $ECHO_C" >&6; }
|
5442 if test "${ac_cv_lbl_tpacket_stats+set}" = set; then 5443 echo $ECHO_N "(cached) $ECHO_C" >&6 5444else 5445 cat >conftest.$ac_ext <<_ACEOF
| 6284 if test "${ac_cv_lbl_tpacket_stats+set}" = set; then 6285 echo $ECHO_N "(cached) $ECHO_C" >&6 6286else 6287 cat >conftest.$ac_ext <<_ACEOF
|
5446#line $LINENO "configure"
| |
5447/* confdefs.h. */ 5448_ACEOF 5449cat confdefs.h >>conftest.$ac_ext 5450cat >>conftest.$ac_ext <<_ACEOF 5451/* end confdefs.h. */ 5452 5453# include <linux/if_packet.h> 5454int 5455main () 5456{ 5457struct tpacket_stats stats 5458 ; 5459 return 0; 5460} 5461_ACEOF 5462rm -f conftest.$ac_objext
| 6288/* confdefs.h. */ 6289_ACEOF 6290cat confdefs.h >>conftest.$ac_ext 6291cat >>conftest.$ac_ext <<_ACEOF 6292/* end confdefs.h. */ 6293 6294# include <linux/if_packet.h> 6295int 6296main () 6297{ 6298struct tpacket_stats stats 6299 ; 6300 return 0; 6301} 6302_ACEOF 6303rm -f conftest.$ac_objext
|
5463if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5464 (eval $ac_compile) 2>&5
| 6304if { (ac_try="$ac_compile" 6305case "(($ac_try" in 6306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6307 *) ac_try_echo=$ac_try;; 6308esac 6309eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6310 (eval "$ac_compile") 2>conftest.er1
|
5465 ac_status=$?
| 6311 ac_status=$?
|
| 6312 grep -v '^ *+' conftest.er1 >conftest.err 6313 rm -f conftest.er1 6314 cat conftest.err >&5
|
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 6315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5467 (exit $ac_status); } && 5468 { ac_try='test -s conftest.$ac_objext' 5469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5470 (eval $ac_try) 2>&5 5471 ac_status=$? 5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5473 (exit $ac_status); }; }; then
| 6316 (exit $ac_status); } && { 6317 test -z "$ac_c_werror_flag" || 6318 test ! -s conftest.err 6319 } && test -s conftest.$ac_objext; then
|
5474 ac_cv_lbl_tpacket_stats=yes 5475else 5476 echo "$as_me: failed program was:" >&5 5477sed 's/^/| /' conftest.$ac_ext >&5 5478
| 6320 ac_cv_lbl_tpacket_stats=yes 6321else 6322 echo "$as_me: failed program was:" >&5 6323sed 's/^/| /' conftest.$ac_ext >&5 6324
|
5479ac_cv_lbl_tpacket_stats=no
| 6325 ac_cv_lbl_tpacket_stats=no
|
5480fi
| 6326fi
|
5481rm -f conftest.$ac_objext conftest.$ac_ext
| 6327 6328rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5482fi 5483
| 6329fi 6330
|
5484 echo "$as_me:$LINENO: result: $ac_cv_lbl_tpacket_stats" >&5 5485echo "${ECHO_T}$ac_cv_lbl_tpacket_stats" >&6
| 6331 { echo "$as_me:$LINENO: result: $ac_cv_lbl_tpacket_stats" >&5 6332echo "${ECHO_T}$ac_cv_lbl_tpacket_stats" >&6; }
|
5486 if test $ac_cv_lbl_tpacket_stats = yes; then 5487 5488cat >>confdefs.h <<\_ACEOF 5489#define HAVE_TPACKET_STATS 1 5490_ACEOF 5491 5492 fi 5493 ;; 5494 5495dag) 5496 V_DEFS="$V_DEFS -DDAG_ONLY" 5497 ;; 5498 5499septel) 5500 V_DEFS="$V_DEFS -DSEPTEL_ONLY" 5501 ;; 5502 5503null) 5504 { echo "$as_me:$LINENO: WARNING: cannot determine packet capture interface" >&5 5505echo "$as_me: WARNING: cannot determine packet capture interface" >&2;} 5506 { echo "$as_me:$LINENO: WARNING: (see the INSTALL doc for more info)" >&5 5507echo "$as_me: WARNING: (see the INSTALL doc for more info)" >&2;} 5508 ;; 5509 5510esac 5511
| 6333 if test $ac_cv_lbl_tpacket_stats = yes; then 6334 6335cat >>confdefs.h <<\_ACEOF 6336#define HAVE_TPACKET_STATS 1 6337_ACEOF 6338 6339 fi 6340 ;; 6341 6342dag) 6343 V_DEFS="$V_DEFS -DDAG_ONLY" 6344 ;; 6345 6346septel) 6347 V_DEFS="$V_DEFS -DSEPTEL_ONLY" 6348 ;; 6349 6350null) 6351 { echo "$as_me:$LINENO: WARNING: cannot determine packet capture interface" >&5 6352echo "$as_me: WARNING: cannot determine packet capture interface" >&2;} 6353 { echo "$as_me:$LINENO: WARNING: (see the INSTALL doc for more info)" >&5 6354echo "$as_me: WARNING: (see the INSTALL doc for more info)" >&2;} 6355 ;; 6356 6357esac 6358
|
5512echo "$as_me:$LINENO: checking whether we have /proc/net/dev" >&5 5513echo $ECHO_N "checking whether we have /proc/net/dev... $ECHO_C" >&6
| 6359{ echo "$as_me:$LINENO: checking whether we have /proc/net/dev" >&5 6360echo $ECHO_N "checking whether we have /proc/net/dev... $ECHO_C" >&6; }
|
5514if test -r /proc/net/dev ; then 5515 ac_cv_lbl_proc_net_dev=yes 5516else 5517 ac_cv_lbl_proc_net_dev=no 5518fi 5519if test $ac_cv_lbl_proc_net_dev = yes; then 5520 5521cat >>confdefs.h <<\_ACEOF 5522#define HAVE_PROC_NET_DEV 1 5523_ACEOF 5524 5525fi
| 6361if test -r /proc/net/dev ; then 6362 ac_cv_lbl_proc_net_dev=yes 6363else 6364 ac_cv_lbl_proc_net_dev=no 6365fi 6366if test $ac_cv_lbl_proc_net_dev = yes; then 6367 6368cat >>confdefs.h <<\_ACEOF 6369#define HAVE_PROC_NET_DEV 1 6370_ACEOF 6371 6372fi
|
5526echo "$as_me:$LINENO: result: $ac_cv_lbl_proc_net_dev" >&5 5527echo "${ECHO_T}$ac_cv_lbl_proc_net_dev" >&6
| 6373{ echo "$as_me:$LINENO: result: $ac_cv_lbl_proc_net_dev" >&5 6374echo "${ECHO_T}$ac_cv_lbl_proc_net_dev" >&6; }
|
5528 5529# Check for Endace DAG card support. 5530
| 6375 6376# Check for Endace DAG card support. 6377
|
5531# Check whether --with-dag or --without-dag was given.
| 6378# Check whether --with-dag was given.
|
5532if test "${with_dag+set}" = set; then
| 6379if test "${with_dag+set}" = set; then
|
5533 withval="$with_dag" 5534
| 6380 withval=$with_dag;
|
5535 if test "$withval" = no 5536 then 5537 # User doesn't want DAG support. 5538 want_dag=no 5539 elif test "$withval" = yes 5540 then 5541 # User wants DAG support but hasn't specified a directory. 5542 want_dag=yes 5543 else 5544 # User wants DAG support and has specified a directory, so use the provided value. 5545 want_dag=yes 5546 dag_root=$withval 5547 fi 5548 5549else 5550 5551 # 5552 # Use DAG API if present, otherwise don't 5553 # 5554 want_dag=ifpresent 5555
| 6381 if test "$withval" = no 6382 then 6383 # User doesn't want DAG support. 6384 want_dag=no 6385 elif test "$withval" = yes 6386 then 6387 # User wants DAG support but hasn't specified a directory. 6388 want_dag=yes 6389 else 6390 # User wants DAG support and has specified a directory, so use the provided value. 6391 want_dag=yes 6392 dag_root=$withval 6393 fi 6394 6395else 6396 6397 # 6398 # Use DAG API if present, otherwise don't 6399 # 6400 want_dag=ifpresent 6401
|
5556fi;
| 6402fi
|
5557 5558
| 6403 6404
|
5559# Check whether --with-dag-includes or --without-dag-includes was given. 5560if test "${with_dag_includes+set}" = set; then 5561 withval="$with_dag_includes"
| |
5562
| 6405
|
| 6406# Check whether --with-dag-includes was given. 6407if test "${with_dag_includes+set}" = set; then 6408 withval=$with_dag_includes;
|
5563 # User wants DAG support and has specified a header directory, so use the provided value. 5564 want_dag=yes 5565 dag_include_dir=$withval 5566
| 6409 # User wants DAG support and has specified a header directory, so use the provided value. 6410 want_dag=yes 6411 dag_include_dir=$withval 6412
|
5567fi;
| 6413fi
|
5568 5569
| 6414 6415
|
5570# Check whether --with-dag-libraries or --without-dag-libraries was given. 5571if test "${with_dag_libraries+set}" = set; then 5572 withval="$with_dag_libraries"
| |
5573
| 6416
|
| 6417# Check whether --with-dag-libraries was given. 6418if test "${with_dag_libraries+set}" = set; then 6419 withval=$with_dag_libraries;
|
5574 # User wants DAG support and has specified a library directory, so use the provided value. 5575 want_dag=yes 5576 dag_lib_dir=$withval 5577
| 6420 # User wants DAG support and has specified a library directory, so use the provided value. 6421 want_dag=yes 6422 dag_lib_dir=$withval 6423
|
5578fi;
| 6424fi
|
5579
| 6425
|
| 6426
|
5580case "$V_PCAP" in 5581linux|bpf|dag) 5582 # 5583 # We support the DAG API if we're on Linux or BSD, or if we're 5584 # building a DAG-only libpcap. 5585 # 5586 ;; 5587*) 5588 # 5589 # If the user explicitly requested DAG, tell them it's not 5590 # supported. 5591 # 5592 # If they expressed no preference, don't include it. 5593 # 5594 if test $want_dag = yes; then 5595 { { echo "$as_me:$LINENO: error: DAG support is only available with 'linux' 'bpf' and 'dag' packet capture types" >&5 5596echo "$as_me: error: DAG support is only available with 'linux' 'bpf' and 'dag' packet capture types" >&2;} 5597 { (exit 1); exit 1; }; } 5598 elif test $want_dag = yes; then 5599 want_dag=no 5600 fi 5601 ;; 5602esac 5603 5604ac_cv_lbl_dag_api=no 5605if test "$want_dag" != no; then 5606
| 6427case "$V_PCAP" in 6428linux|bpf|dag) 6429 # 6430 # We support the DAG API if we're on Linux or BSD, or if we're 6431 # building a DAG-only libpcap. 6432 # 6433 ;; 6434*) 6435 # 6436 # If the user explicitly requested DAG, tell them it's not 6437 # supported. 6438 # 6439 # If they expressed no preference, don't include it. 6440 # 6441 if test $want_dag = yes; then 6442 { { echo "$as_me:$LINENO: error: DAG support is only available with 'linux' 'bpf' and 'dag' packet capture types" >&5 6443echo "$as_me: error: DAG support is only available with 'linux' 'bpf' and 'dag' packet capture types" >&2;} 6444 { (exit 1); exit 1; }; } 6445 elif test $want_dag = yes; then 6446 want_dag=no 6447 fi 6448 ;; 6449esac 6450 6451ac_cv_lbl_dag_api=no 6452if test "$want_dag" != no; then 6453
|
5607 echo "$as_me:$LINENO: checking whether we have DAG API headers" >&5 5608echo $ECHO_N "checking whether we have DAG API headers... $ECHO_C" >&6
| 6454 { echo "$as_me:$LINENO: checking whether we have DAG API headers" >&5 6455echo $ECHO_N "checking whether we have DAG API headers... $ECHO_C" >&6; }
|
5609 5610 # If necessary, set default paths for DAG API headers and libraries. 5611 if test -z "$dag_root"; then 5612 dag_root=/usr/local 5613 fi 5614 5615 if test -z "$dag_include_dir"; then 5616 dag_include_dir="$dag_root/include" 5617 fi 5618 5619 if test -z "$dag_lib_dir"; then 5620 dag_lib_dir="$dag_root/lib" 5621 fi 5622 5623 if test -z "$dag_tools_dir"; then 5624 dag_tools_dir="$dag_root/tools" 5625 fi 5626 5627 if test -r $dag_include_dir/dagapi.h; then 5628 ac_cv_lbl_dag_api=yes 5629 fi
| 6456 6457 # If necessary, set default paths for DAG API headers and libraries. 6458 if test -z "$dag_root"; then 6459 dag_root=/usr/local 6460 fi 6461 6462 if test -z "$dag_include_dir"; then 6463 dag_include_dir="$dag_root/include" 6464 fi 6465 6466 if test -z "$dag_lib_dir"; then 6467 dag_lib_dir="$dag_root/lib" 6468 fi 6469 6470 if test -z "$dag_tools_dir"; then 6471 dag_tools_dir="$dag_root/tools" 6472 fi 6473 6474 if test -r $dag_include_dir/dagapi.h; then 6475 ac_cv_lbl_dag_api=yes 6476 fi
|
5630 echo "$as_me:$LINENO: result: $ac_cv_lbl_dag_api ($dag_include_dir)" >&5 5631echo "${ECHO_T}$ac_cv_lbl_dag_api ($dag_include_dir)" >&6
| 6477 { echo "$as_me:$LINENO: result: $ac_cv_lbl_dag_api ($dag_include_dir)" >&5 6478echo "${ECHO_T}$ac_cv_lbl_dag_api ($dag_include_dir)" >&6; }
|
5632fi 5633 5634if test $ac_cv_lbl_dag_api = yes; then 5635
| 6479fi 6480 6481if test $ac_cv_lbl_dag_api = yes; then 6482
|
5636 echo "$as_me:$LINENO: checking dagapi.o" >&5 5637echo $ECHO_N "checking dagapi.o... $ECHO_C" >&6
| 6483 { echo "$as_me:$LINENO: checking dagapi.o" >&5 6484echo $ECHO_N "checking dagapi.o... $ECHO_C" >&6; }
|
5638 dagapi_obj=no 5639 if test -r $dag_tools_dir/dagapi.o; then 5640 # 2.4.x. 5641 dagapi_obj=$dag_tools_dir/dagapi.o 5642 elif test -r $dag_lib_dir/dagapi.o; then 5643 # 2.5.x. 5644 dagapi_obj=$dag_lib_dir/dagapi.o 5645 elif test -r $dag_lib_dir/libdag.a; then 5646 # 2.5.x. 5647 ar x $dag_lib_dir/libdag.a dagapi.o 5648 if test -r ./dagapi.o; then 5649 dagapi_obj=./dagapi.o
| 6485 dagapi_obj=no 6486 if test -r $dag_tools_dir/dagapi.o; then 6487 # 2.4.x. 6488 dagapi_obj=$dag_tools_dir/dagapi.o 6489 elif test -r $dag_lib_dir/dagapi.o; then 6490 # 2.5.x. 6491 dagapi_obj=$dag_lib_dir/dagapi.o 6492 elif test -r $dag_lib_dir/libdag.a; then 6493 # 2.5.x. 6494 ar x $dag_lib_dir/libdag.a dagapi.o 6495 if test -r ./dagapi.o; then 6496 dagapi_obj=./dagapi.o
|
| 6497 else 6498 ar x $dag_lib_dir/libdag.a libdag_la-dagapi.o 6499 if test -r ./libdag_la-dagapi.o; then 6500 dagapi_obj=./libdag_la-dagapi.o 6501 fi
|
5650 fi 5651 fi 5652 5653 if test $dagapi_obj = no; then
| 6502 fi 6503 fi 6504 6505 if test $dagapi_obj = no; then
|
5654 echo "$as_me:$LINENO: result: no (checked $dag_lib_dir $dag_tools_dir $dag_lib_dir/libdag.a)" >&5 5655echo "${ECHO_T}no (checked $dag_lib_dir $dag_tools_dir $dag_lib_dir/libdag.a)" >&6
| 6506 { echo "$as_me:$LINENO: result: no (checked $dag_lib_dir $dag_tools_dir $dag_lib_dir/libdag.a)" >&5 6507echo "${ECHO_T}no (checked $dag_lib_dir $dag_tools_dir $dag_lib_dir/libdag.a)" >&6; }
|
5656 ac_cv_lbl_dag_api=no 5657 else
| 6508 ac_cv_lbl_dag_api=no 6509 else
|
5658 echo "$as_me:$LINENO: result: yes ($dagapi_obj)" >&5 5659echo "${ECHO_T}yes ($dagapi_obj)" >&6
| 6510 { echo "$as_me:$LINENO: result: yes ($dagapi_obj)" >&5 6511echo "${ECHO_T}yes ($dagapi_obj)" >&6; }
|
5660 fi 5661fi 5662 5663if test $ac_cv_lbl_dag_api = yes; then 5664
| 6512 fi 6513fi 6514 6515if test $ac_cv_lbl_dag_api = yes; then 6516
|
5665 echo "$as_me:$LINENO: checking dagopts.o" >&5 5666echo $ECHO_N "checking dagopts.o... $ECHO_C" >&6
| 6517 { echo "$as_me:$LINENO: checking dagopts.o" >&5 6518echo $ECHO_N "checking dagopts.o... $ECHO_C" >&6; }
|
5667 dagopts_obj=no 5668 if test -r $dag_tools_dir/dagopts.o; then 5669 # 2.4.x. 5670 dagopts_obj=$dag_tools_dir/dagopts.o 5671 elif test -r $dag_lib_dir/dagopts.o; then 5672 # 2.5.x. 5673 dagopts_obj=$dag_lib_dir/dagopts.o 5674 elif test -r $dag_lib_dir/libdag.a; then 5675 # 2.5.x. 5676 ar x $dag_lib_dir/libdag.a dagopts.o 5677 if test -r ./dagopts.o; then 5678 dagopts_obj=./dagopts.o
| 6519 dagopts_obj=no 6520 if test -r $dag_tools_dir/dagopts.o; then 6521 # 2.4.x. 6522 dagopts_obj=$dag_tools_dir/dagopts.o 6523 elif test -r $dag_lib_dir/dagopts.o; then 6524 # 2.5.x. 6525 dagopts_obj=$dag_lib_dir/dagopts.o 6526 elif test -r $dag_lib_dir/libdag.a; then 6527 # 2.5.x. 6528 ar x $dag_lib_dir/libdag.a dagopts.o 6529 if test -r ./dagopts.o; then 6530 dagopts_obj=./dagopts.o
|
| 6531 else 6532 ar x $dag_lib_dir/libdag.a libdag_la-dagopts.o 6533 if test -r ./libdag_la-dagopts.o; then 6534 dagopts_obj=./libdag_la-dagopts.o 6535 fi
|
5679 fi 5680 fi 5681 5682 if test $dagopts_obj = no; then
| 6536 fi 6537 fi 6538 6539 if test $dagopts_obj = no; then
|
5683 echo "$as_me:$LINENO: result: no (checked $dag_lib_dir $dag_tools_dir $dag_lib_dir/libdag.a)" >&5 5684echo "${ECHO_T}no (checked $dag_lib_dir $dag_tools_dir $dag_lib_dir/libdag.a)" >&6
| 6540 { echo "$as_me:$LINENO: result: no (checked $dag_lib_dir $dag_tools_dir $dag_lib_dir/libdag.a)" >&5 6541echo "${ECHO_T}no (checked $dag_lib_dir $dag_tools_dir $dag_lib_dir/libdag.a)" >&6; }
|
5685 ac_cv_lbl_dag_api=no 5686 else
| 6542 ac_cv_lbl_dag_api=no 6543 else
|
5687 echo "$as_me:$LINENO: result: yes ($dagopts_obj)" >&5 5688echo "${ECHO_T}yes ($dagopts_obj)" >&6
| 6544 { echo "$as_me:$LINENO: result: yes ($dagopts_obj)" >&5 6545echo "${ECHO_T}yes ($dagopts_obj)" >&6; }
|
5689 fi 5690fi 5691 5692if test $ac_cv_lbl_dag_api = yes; then 5693 # Under 2.5.x only we need to add dagreg.o. 5694 if test -r $dag_include_dir/dagreg.h; then
| 6546 fi 6547fi 6548 6549if test $ac_cv_lbl_dag_api = yes; then 6550 # Under 2.5.x only we need to add dagreg.o. 6551 if test -r $dag_include_dir/dagreg.h; then
|
5695 echo "$as_me:$LINENO: checking dagreg.o" >&5 5696echo $ECHO_N "checking dagreg.o... $ECHO_C" >&6
| 6552 { echo "$as_me:$LINENO: checking dagreg.o" >&5 6553echo $ECHO_N "checking dagreg.o... $ECHO_C" >&6; }
|
5697 dagreg_obj=no 5698 if test -r $dag_lib_dir/dagreg.o; then 5699 # Object file is ready and waiting. 5700 dagreg_obj=$dag_lib_dir/dagreg.o 5701 elif test -r $dag_lib_dir/libdag.a; then 5702 # Extract from libdag.a. 5703 ar x $dag_lib_dir/libdag.a dagreg.o 5704 if test -r ./dagreg.o; then 5705 dagreg_obj=./dagreg.o
| 6554 dagreg_obj=no 6555 if test -r $dag_lib_dir/dagreg.o; then 6556 # Object file is ready and waiting. 6557 dagreg_obj=$dag_lib_dir/dagreg.o 6558 elif test -r $dag_lib_dir/libdag.a; then 6559 # Extract from libdag.a. 6560 ar x $dag_lib_dir/libdag.a dagreg.o 6561 if test -r ./dagreg.o; then 6562 dagreg_obj=./dagreg.o
|
| 6563 else 6564 ar x $dag_lib_dir/libdag.a libdag_la-dagreg.o 6565 if test -r ./libdag_la-dagreg.o; then 6566 dagreg_obj=./libdag_la-dagreg.o 6567 fi
|
5706 fi 5707 fi 5708 5709 if test $dagreg_obj = no; then
| 6568 fi 6569 fi 6570 6571 if test $dagreg_obj = no; then
|
5710 echo "$as_me:$LINENO: result: no (checked $dag_lib_dir $dag_lib_dir/libdag.a)" >&5 5711echo "${ECHO_T}no (checked $dag_lib_dir $dag_lib_dir/libdag.a)" >&6
| 6572 { echo "$as_me:$LINENO: result: no (checked $dag_lib_dir $dag_lib_dir/libdag.a)" >&5 6573echo "${ECHO_T}no (checked $dag_lib_dir $dag_lib_dir/libdag.a)" >&6; }
|
5712 ac_cv_lbl_dag_api=no 5713 else
| 6574 ac_cv_lbl_dag_api=no 6575 else
|
5714 echo "$as_me:$LINENO: result: yes ($dagreg_obj)" >&5 5715echo "${ECHO_T}yes ($dagreg_obj)" >&6
| 6576 { echo "$as_me:$LINENO: result: yes ($dagreg_obj)" >&5 6577echo "${ECHO_T}yes ($dagreg_obj)" >&6; }
|
5716 fi 5717 fi 5718fi 5719 5720if test $ac_cv_lbl_dag_api = yes; then 5721 V_INCLS="$V_INCLS -I$dag_include_dir" 5722 V_LIBS="$V_LIBS $dagapi_obj $dagopts_obj $dagreg_obj" 5723 if test $V_PCAP != dag ; then 5724 SSRC="pcap-dag.c" 5725 fi 5726 5727 # See if we can find a general version string. 5728 # Don't need to save and restore LIBS to prevent -ldag being 5729 # included if there's a found-action (arg 3). 5730 saved_ldflags=$LDFLAGS 5731 LDFLAGS="-L$dag_lib_dir"
| 6578 fi 6579 fi 6580fi 6581 6582if test $ac_cv_lbl_dag_api = yes; then 6583 V_INCLS="$V_INCLS -I$dag_include_dir" 6584 V_LIBS="$V_LIBS $dagapi_obj $dagopts_obj $dagreg_obj" 6585 if test $V_PCAP != dag ; then 6586 SSRC="pcap-dag.c" 6587 fi 6588 6589 # See if we can find a general version string. 6590 # Don't need to save and restore LIBS to prevent -ldag being 6591 # included if there's a found-action (arg 3). 6592 saved_ldflags=$LDFLAGS 6593 LDFLAGS="-L$dag_lib_dir"
|
5732 echo "$as_me:$LINENO: checking for dag_attach_stream in -ldag" >&5 5733echo $ECHO_N "checking for dag_attach_stream in -ldag... $ECHO_C" >&6
| 6594 { echo "$as_me:$LINENO: checking for dag_attach_stream in -ldag" >&5 6595echo $ECHO_N "checking for dag_attach_stream in -ldag... $ECHO_C" >&6; }
|
5734if test "${ac_cv_lib_dag_dag_attach_stream+set}" = set; then 5735 echo $ECHO_N "(cached) $ECHO_C" >&6 5736else 5737 ac_check_lib_save_LIBS=$LIBS 5738LIBS="-ldag $LIBS" 5739cat >conftest.$ac_ext <<_ACEOF
| 6596if test "${ac_cv_lib_dag_dag_attach_stream+set}" = set; then 6597 echo $ECHO_N "(cached) $ECHO_C" >&6 6598else 6599 ac_check_lib_save_LIBS=$LIBS 6600LIBS="-ldag $LIBS" 6601cat >conftest.$ac_ext <<_ACEOF
|
5740#line $LINENO "configure"
| |
5741/* confdefs.h. */ 5742_ACEOF 5743cat confdefs.h >>conftest.$ac_ext 5744cat >>conftest.$ac_ext <<_ACEOF 5745/* end confdefs.h. */ 5746
| 6602/* confdefs.h. */ 6603_ACEOF 6604cat confdefs.h >>conftest.$ac_ext 6605cat >>conftest.$ac_ext <<_ACEOF 6606/* end confdefs.h. */ 6607
|
5747/* Override any gcc2 internal prototype to avoid an error. */
| 6608/* Override any GCC internal prototype to avoid an error. 6609 Use char because int might match the return type of a GCC 6610 builtin and then its argument prototype would still apply. */
|
5748#ifdef __cplusplus 5749extern "C" 5750#endif
| 6611#ifdef __cplusplus 6612extern "C" 6613#endif
|
5751/* We use char because int might match the return type of a gcc2 5752 builtin and then its argument prototype would still apply. */
| |
5753char dag_attach_stream (); 5754int 5755main () 5756{
| 6614char dag_attach_stream (); 6615int 6616main () 6617{
|
5757dag_attach_stream ();
| 6618return dag_attach_stream ();
|
5758 ; 5759 return 0; 5760} 5761_ACEOF 5762rm -f conftest.$ac_objext conftest$ac_exeext
| 6619 ; 6620 return 0; 6621} 6622_ACEOF 6623rm -f conftest.$ac_objext conftest$ac_exeext
|
5763if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5764 (eval $ac_link) 2>&5
| 6624if { (ac_try="$ac_link" 6625case "(($ac_try" in 6626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6627 *) ac_try_echo=$ac_try;; 6628esac 6629eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6630 (eval "$ac_link") 2>conftest.er1
|
5765 ac_status=$?
| 6631 ac_status=$?
|
| 6632 grep -v '^ *+' conftest.er1 >conftest.err 6633 rm -f conftest.er1 6634 cat conftest.err >&5
|
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5767 (exit $ac_status); } && 5768 { ac_try='test -s conftest$ac_exeext' 5769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5770 (eval $ac_try) 2>&5 5771 ac_status=$? 5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5773 (exit $ac_status); }; }; then
| 6636 (exit $ac_status); } && { 6637 test -z "$ac_c_werror_flag" || 6638 test ! -s conftest.err 6639 } && test -s conftest$ac_exeext && 6640 $as_test_x conftest$ac_exeext; then
|
5774 ac_cv_lib_dag_dag_attach_stream=yes 5775else 5776 echo "$as_me: failed program was:" >&5 5777sed 's/^/| /' conftest.$ac_ext >&5 5778
| 6641 ac_cv_lib_dag_dag_attach_stream=yes 6642else 6643 echo "$as_me: failed program was:" >&5 6644sed 's/^/| /' conftest.$ac_ext >&5 6645
|
5779ac_cv_lib_dag_dag_attach_stream=no
| 6646 ac_cv_lib_dag_dag_attach_stream=no
|
5780fi
| 6647fi
|
5781rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
| 6648 6649rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6650 conftest$ac_exeext conftest.$ac_ext
|
5782LIBS=$ac_check_lib_save_LIBS 5783fi
| 6651LIBS=$ac_check_lib_save_LIBS 6652fi
|
5784echo "$as_me:$LINENO: result: $ac_cv_lib_dag_dag_attach_stream" >&5 5785echo "${ECHO_T}$ac_cv_lib_dag_dag_attach_stream" >&6
| 6653{ echo "$as_me:$LINENO: result: $ac_cv_lib_dag_dag_attach_stream" >&5 6654echo "${ECHO_T}$ac_cv_lib_dag_dag_attach_stream" >&6; }
|
5786if test $ac_cv_lib_dag_dag_attach_stream = yes; then 5787 dag_version="2.5.x" 5788else 5789 dag_version="2.4.x" 5790fi 5791
| 6655if test $ac_cv_lib_dag_dag_attach_stream = yes; then 6656 dag_version="2.5.x" 6657else 6658 dag_version="2.4.x" 6659fi 6660
|
| 6661 { echo "$as_me:$LINENO: checking for dag_get_erf_types in -ldag" >&5 6662echo $ECHO_N "checking for dag_get_erf_types in -ldag... $ECHO_C" >&6; } 6663if test "${ac_cv_lib_dag_dag_get_erf_types+set}" = set; then 6664 echo $ECHO_N "(cached) $ECHO_C" >&6 6665else 6666 ac_check_lib_save_LIBS=$LIBS 6667LIBS="-ldag $LIBS" 6668cat >conftest.$ac_ext <<_ACEOF 6669/* confdefs.h. */ 6670_ACEOF 6671cat confdefs.h >>conftest.$ac_ext 6672cat >>conftest.$ac_ext <<_ACEOF 6673/* end confdefs.h. */ 6674 6675/* Override any GCC internal prototype to avoid an error. 6676 Use char because int might match the return type of a GCC 6677 builtin and then its argument prototype would still apply. */ 6678#ifdef __cplusplus 6679extern "C" 6680#endif 6681char dag_get_erf_types (); 6682int 6683main () 6684{ 6685return dag_get_erf_types (); 6686 ; 6687 return 0; 6688} 6689_ACEOF 6690rm -f conftest.$ac_objext conftest$ac_exeext 6691if { (ac_try="$ac_link" 6692case "(($ac_try" in 6693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6694 *) ac_try_echo=$ac_try;; 6695esac 6696eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6697 (eval "$ac_link") 2>conftest.er1 6698 ac_status=$? 6699 grep -v '^ *+' conftest.er1 >conftest.err 6700 rm -f conftest.er1 6701 cat conftest.err >&5 6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6703 (exit $ac_status); } && { 6704 test -z "$ac_c_werror_flag" || 6705 test ! -s conftest.err 6706 } && test -s conftest$ac_exeext && 6707 $as_test_x conftest$ac_exeext; then 6708 ac_cv_lib_dag_dag_get_erf_types=yes 6709else 6710 echo "$as_me: failed program was:" >&5 6711sed 's/^/| /' conftest.$ac_ext >&5 6712 6713 ac_cv_lib_dag_dag_get_erf_types=no 6714fi 6715 6716rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6717 conftest$ac_exeext conftest.$ac_ext 6718LIBS=$ac_check_lib_save_LIBS 6719fi 6720{ echo "$as_me:$LINENO: result: $ac_cv_lib_dag_dag_get_erf_types" >&5 6721echo "${ECHO_T}$ac_cv_lib_dag_dag_get_erf_types" >&6; } 6722if test $ac_cv_lib_dag_dag_get_erf_types = yes; then 6723 6724 6725cat >>confdefs.h <<\_ACEOF 6726#define HAVE_DAG_GET_ERF_TYPES 1 6727_ACEOF 6728 6729 6730fi 6731
|
5792 LDFLAGS=$saved_ldflags 5793 5794 if test "$dag_version" = 2.5.x; then 5795 5796cat >>confdefs.h <<\_ACEOF 5797#define HAVE_DAG_STREAMS_API 1 5798_ACEOF 5799
| 6732 LDFLAGS=$saved_ldflags 6733 6734 if test "$dag_version" = 2.5.x; then 6735 6736cat >>confdefs.h <<\_ACEOF 6737#define HAVE_DAG_STREAMS_API 1 6738_ACEOF 6739
|
| 6740 DAGLIBS="-ldag"
|
5800 fi 5801 5802 # See if we can find a specific version string.
| 6741 fi 6742 6743 # See if we can find a specific version string.
|
5803 echo "$as_me:$LINENO: checking the DAG API version" >&5 5804echo $ECHO_N "checking the DAG API version... $ECHO_C" >&6
| 6744 { echo "$as_me:$LINENO: checking the DAG API version" >&5 6745echo $ECHO_N "checking the DAG API version... $ECHO_C" >&6; }
|
5805 if test -r "$dag_root/VERSION"; then 5806 dag_version="`cat $dag_root/VERSION`" 5807 fi
| 6746 if test -r "$dag_root/VERSION"; then 6747 dag_version="`cat $dag_root/VERSION`" 6748 fi
|
5808 echo "$as_me:$LINENO: result: $dag_version" >&5 5809echo "${ECHO_T}$dag_version" >&6
| 6749 { echo "$as_me:$LINENO: result: $dag_version" >&5 6750echo "${ECHO_T}$dag_version" >&6; }
|
5810 5811cat >>confdefs.h <<\_ACEOF 5812#define HAVE_DAG_API 1 5813_ACEOF 5814 5815fi 5816 5817if test $ac_cv_lbl_dag_api = no; then 5818 if test "$want_dag" = yes; then 5819 # User wanted DAG support but we couldn't find it. 5820 { { echo "$as_me:$LINENO: error: DAG API requested, but not found at $dag_root: use --without-dag" >&5 5821echo "$as_me: error: DAG API requested, but not found at $dag_root: use --without-dag" >&2;} 5822 { (exit 1); exit 1; }; } 5823 fi 5824 5825 if test "$V_PCAP" = dag; then 5826 # User requested "dag" capture type but the DAG API wasn't 5827 # found. 5828 { { echo "$as_me:$LINENO: error: Specifying the capture type as \"dag\" requires the DAG API to be present; use the --with-dag options to specify the location. (Try \"./configure --help\" for more information.)" >&5 5829echo "$as_me: error: Specifying the capture type as \"dag\" requires the DAG API to be present; use the --with-dag options to specify the location. (Try \"./configure --help\" for more information.)" >&2;} 5830 { (exit 1); exit 1; }; } 5831 fi 5832fi 5833 5834
| 6751 6752cat >>confdefs.h <<\_ACEOF 6753#define HAVE_DAG_API 1 6754_ACEOF 6755 6756fi 6757 6758if test $ac_cv_lbl_dag_api = no; then 6759 if test "$want_dag" = yes; then 6760 # User wanted DAG support but we couldn't find it. 6761 { { echo "$as_me:$LINENO: error: DAG API requested, but not found at $dag_root: use --without-dag" >&5 6762echo "$as_me: error: DAG API requested, but not found at $dag_root: use --without-dag" >&2;} 6763 { (exit 1); exit 1; }; } 6764 fi 6765 6766 if test "$V_PCAP" = dag; then 6767 # User requested "dag" capture type but the DAG API wasn't 6768 # found. 6769 { { echo "$as_me:$LINENO: error: Specifying the capture type as \"dag\" requires the DAG API to be present; use the --with-dag options to specify the location. (Try \"./configure --help\" for more information.)" >&5 6770echo "$as_me: error: Specifying the capture type as \"dag\" requires the DAG API to be present; use the --with-dag options to specify the location. (Try \"./configure --help\" for more information.)" >&2;} 6771 { (exit 1); exit 1; }; } 6772 fi 6773fi 6774 6775
|
5835# Check whether --with-septel or --without-septel was given.
| 6776# Check whether --with-septel was given.
|
5836if test "${with_septel+set}" = set; then
| 6777if test "${with_septel+set}" = set; then
|
5837 withval="$with_septel" 5838
| 6778 withval=$with_septel;
|
5839 if test "$withval" = no 5840 then 5841 want_septel=no 5842 elif test "$withval" = yes 5843 then 5844 want_septel=yes 5845 septel_root= 5846 else 5847 want_septel=yes 5848 septel_root=$withval 5849 fi 5850 5851else 5852 5853 # 5854 # Use Septel API if present, otherwise don't 5855 # 5856 want_septel=ifpresent 5857 septel_root=./../septel 5858
| 6779 if test "$withval" = no 6780 then 6781 want_septel=no 6782 elif test "$withval" = yes 6783 then 6784 want_septel=yes 6785 septel_root= 6786 else 6787 want_septel=yes 6788 septel_root=$withval 6789 fi 6790 6791else 6792 6793 # 6794 # Use Septel API if present, otherwise don't 6795 # 6796 want_septel=ifpresent 6797 septel_root=./../septel 6798
|
5859fi;
| 6799fi 6800
|
5860ac_cv_lbl_septel_api=no 5861case "$V_PCAP" in 5862linux|septel) 5863 # 5864 # We support the Septel API if we're on Linux, or if we're building 5865 # a Septel-only libpcap. 5866 # 5867 ;; 5868*) 5869 # 5870 # If the user explicitly requested Septel, tell them it's not 5871 # supported. 5872 # 5873 # If they expressed no preference, don't include it. 5874 # 5875 if test $want_septel = yes; then 5876 { { echo "$as_me:$LINENO: error: Septel support only available with 'linux' and 'septel' packet capture types" >&5 5877echo "$as_me: error: Septel support only available with 'linux' and 'septel' packet capture types" >&2;} 5878 { (exit 1); exit 1; }; } 5879 elif test $want_septel = yes; then 5880 want_septel=no 5881 fi 5882 ;; 5883esac 5884 5885if test "$with_septel" != no; then
| 6801ac_cv_lbl_septel_api=no 6802case "$V_PCAP" in 6803linux|septel) 6804 # 6805 # We support the Septel API if we're on Linux, or if we're building 6806 # a Septel-only libpcap. 6807 # 6808 ;; 6809*) 6810 # 6811 # If the user explicitly requested Septel, tell them it's not 6812 # supported. 6813 # 6814 # If they expressed no preference, don't include it. 6815 # 6816 if test $want_septel = yes; then 6817 { { echo "$as_me:$LINENO: error: Septel support only available with 'linux' and 'septel' packet capture types" >&5 6818echo "$as_me: error: Septel support only available with 'linux' and 'septel' packet capture types" >&2;} 6819 { (exit 1); exit 1; }; } 6820 elif test $want_septel = yes; then 6821 want_septel=no 6822 fi 6823 ;; 6824esac 6825 6826if test "$with_septel" != no; then
|
5886 echo "$as_me:$LINENO: checking whether we have Septel API" >&5 5887echo $ECHO_N "checking whether we have Septel API... $ECHO_C" >&6
| 6827 { echo "$as_me:$LINENO: checking whether we have Septel API" >&5 6828echo $ECHO_N "checking whether we have Septel API... $ECHO_C" >&6; }
|
5888 5889 if test -z "$septel_root"; then 5890 septel_root=$srcdir/../septel 5891 5892 fi 5893 5894 septel_tools_dir="$septel_root" 5895 septel_include_dir="$septel_root/INC" 5896 DEF="-DHAVE_SEPTEL_API" 5897 5898 ac_cv_lbl_septel_api=no 5899 if test -r "$septel_include_dir/msg.h"; then 5900 V_INCLS="$V_INCLS -I$septel_include_dir" 5901 V_DEFS="$V_DEFS $DEF" 5902 V_LIBS="$V_LIBS $septel_tools_dir/asciibin.o $septel_tools_dir/bit2byte.o $septel_tools_dir/confirm.o $septel_tools_dir/fmtmsg.o $septel_tools_dir/gct_unix.o $septel_tools_dir/hqueue.o $septel_tools_dir/ident.o $septel_tools_dir/mem.o $septel_tools_dir/pack.o $septel_tools_dir/parse.o $septel_tools_dir/pool.o $septel_tools_dir/sdlsig.o $septel_tools_dir/strtonum.o $septel_tools_dir/timer.o $septel_tools_dir/trace.o " 5903 5904 if test "$V_PCAP" != septel ; then 5905 SSRC="pcap-septel.c" 5906 5907 fi 5908 ac_cv_lbl_septel_api=yes 5909 fi 5910
| 6829 6830 if test -z "$septel_root"; then 6831 septel_root=$srcdir/../septel 6832 6833 fi 6834 6835 septel_tools_dir="$septel_root" 6836 septel_include_dir="$septel_root/INC" 6837 DEF="-DHAVE_SEPTEL_API" 6838 6839 ac_cv_lbl_septel_api=no 6840 if test -r "$septel_include_dir/msg.h"; then 6841 V_INCLS="$V_INCLS -I$septel_include_dir" 6842 V_DEFS="$V_DEFS $DEF" 6843 V_LIBS="$V_LIBS $septel_tools_dir/asciibin.o $septel_tools_dir/bit2byte.o $septel_tools_dir/confirm.o $septel_tools_dir/fmtmsg.o $septel_tools_dir/gct_unix.o $septel_tools_dir/hqueue.o $septel_tools_dir/ident.o $septel_tools_dir/mem.o $septel_tools_dir/pack.o $septel_tools_dir/parse.o $septel_tools_dir/pool.o $septel_tools_dir/sdlsig.o $septel_tools_dir/strtonum.o $septel_tools_dir/timer.o $septel_tools_dir/trace.o " 6844 6845 if test "$V_PCAP" != septel ; then 6846 SSRC="pcap-septel.c" 6847 6848 fi 6849 ac_cv_lbl_septel_api=yes 6850 fi 6851
|
5911 echo "$as_me:$LINENO: result: $ac_cv_lbl_septel_api" >&5 5912echo "${ECHO_T}$ac_cv_lbl_septel_api" >&6
| 6852 { echo "$as_me:$LINENO: result: $ac_cv_lbl_septel_api" >&5 6853echo "${ECHO_T}$ac_cv_lbl_septel_api" >&6; }
|
5913 if test $ac_cv_lbl_septel_api = no; then 5914 if test "$want_septel" = yes; then 5915 { { echo "$as_me:$LINENO: error: Septel API not found under directory $septel_root; use --without-septel" >&5 5916echo "$as_me: error: Septel API not found under directory $septel_root; use --without-septel" >&2;} 5917 { (exit 1); exit 1; }; } 5918 fi 5919 else 5920 5921cat >>confdefs.h <<\_ACEOF 5922#define HAVE_SEPTEL_API 1 5923_ACEOF 5924 5925 fi 5926fi 5927 5928if test "$V_PCAP" = septel -a "$ac_cv_lbl_septel_api" = no; then 5929 { { echo "$as_me:$LINENO: error: Specifying the capture type as 'septel' requires the Septel API to be present; use --with-septel=DIR" >&5 5930echo "$as_me: error: Specifying the capture type as 'septel' requires the Septel API to be present; use --with-septel=DIR" >&2;} 5931 { (exit 1); exit 1; }; } 5932fi 5933 5934 5935
| 6854 if test $ac_cv_lbl_septel_api = no; then 6855 if test "$want_septel" = yes; then 6856 { { echo "$as_me:$LINENO: error: Septel API not found under directory $septel_root; use --without-septel" >&5 6857echo "$as_me: error: Septel API not found under directory $septel_root; use --without-septel" >&2;} 6858 { (exit 1); exit 1; }; } 6859 fi 6860 else 6861 6862cat >>confdefs.h <<\_ACEOF 6863#define HAVE_SEPTEL_API 1 6864_ACEOF 6865 6866 fi 6867fi 6868 6869if test "$V_PCAP" = septel -a "$ac_cv_lbl_septel_api" = no; then 6870 { { echo "$as_me:$LINENO: error: Specifying the capture type as 'septel' requires the Septel API to be present; use --with-septel=DIR" >&5 6871echo "$as_me: error: Specifying the capture type as 'septel' requires the Septel API to be present; use --with-septel=DIR" >&2;} 6872 { (exit 1); exit 1; }; } 6873fi 6874 6875 6876
|
5936# Check whether --with-flex or --without-flex was given.
| 6877# Check whether --with-flex was given.
|
5937if test "${with_flex+set}" = set; then
| 6878if test "${with_flex+set}" = set; then
|
5938 withval="$with_flex"
| 6879 withval=$with_flex; 6880fi
|
5939
| 6881
|
5940fi;
| |
5941
| 6882
|
5942# Check whether --with-bison or --without-bison was given.
| 6883# Check whether --with-bison was given.
|
5943if test "${with_bison+set}" = set; then
| 6884if test "${with_bison+set}" = set; then
|
5944 withval="$with_bison"
| 6885 withval=$with_bison; 6886fi
|
5945
| 6887
|
5946fi;
| |
5947 if test "$with_flex" = no ; then 5948 V_LEX=lex 5949 else 5950 for ac_prog in flex 5951do 5952 # Extract the first word of "$ac_prog", so it can be a program name with args. 5953set dummy $ac_prog; ac_word=$2
| 6888 if test "$with_flex" = no ; then 6889 V_LEX=lex 6890 else 6891 for ac_prog in flex 6892do 6893 # Extract the first word of "$ac_prog", so it can be a program name with args. 6894set dummy $ac_prog; ac_word=$2
|
5954echo "$as_me:$LINENO: checking for $ac_word" >&5 5955echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
| 6895{ echo "$as_me:$LINENO: checking for $ac_word" >&5 6896echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
5956if test "${ac_cv_prog_V_LEX+set}" = set; then 5957 echo $ECHO_N "(cached) $ECHO_C" >&6 5958else 5959 if test -n "$V_LEX"; then 5960 ac_cv_prog_V_LEX="$V_LEX" # Let the user override the test. 5961else 5962as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5963for as_dir in $PATH 5964do 5965 IFS=$as_save_IFS 5966 test -z "$as_dir" && as_dir=. 5967 for ac_exec_ext in '' $ac_executable_extensions; do
| 6897if test "${ac_cv_prog_V_LEX+set}" = set; then 6898 echo $ECHO_N "(cached) $ECHO_C" >&6 6899else 6900 if test -n "$V_LEX"; then 6901 ac_cv_prog_V_LEX="$V_LEX" # Let the user override the test. 6902else 6903as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6904for as_dir in $PATH 6905do 6906 IFS=$as_save_IFS 6907 test -z "$as_dir" && as_dir=. 6908 for ac_exec_ext in '' $ac_executable_extensions; do
|
5968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
| 6909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
5969 ac_cv_prog_V_LEX="$ac_prog" 5970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5971 break 2 5972 fi 5973done 5974done
| 6910 ac_cv_prog_V_LEX="$ac_prog" 6911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6912 break 2 6913 fi 6914done 6915done
|
| 6916IFS=$as_save_IFS
|
5975 5976fi 5977fi 5978V_LEX=$ac_cv_prog_V_LEX 5979if test -n "$V_LEX"; then
| 6917 6918fi 6919fi 6920V_LEX=$ac_cv_prog_V_LEX 6921if test -n "$V_LEX"; then
|
5980 echo "$as_me:$LINENO: result: $V_LEX" >&5 5981echo "${ECHO_T}$V_LEX" >&6
| 6922 { echo "$as_me:$LINENO: result: $V_LEX" >&5 6923echo "${ECHO_T}$V_LEX" >&6; }
|
5982else
| 6924else
|
5983 echo "$as_me:$LINENO: result: no" >&5 5984echo "${ECHO_T}no" >&6
| 6925 { echo "$as_me:$LINENO: result: no" >&5 6926echo "${ECHO_T}no" >&6; }
|
5985fi 5986
| 6927fi 6928
|
| 6929
|
5987 test -n "$V_LEX" && break 5988done 5989test -n "$V_LEX" || V_LEX="lex" 5990 5991 fi 5992 if test "$V_LEX" = flex ; then 5993 # The -V flag was added in 2.4
| 6930 test -n "$V_LEX" && break 6931done 6932test -n "$V_LEX" || V_LEX="lex" 6933 6934 fi 6935 if test "$V_LEX" = flex ; then 6936 # The -V flag was added in 2.4
|
5994 echo "$as_me:$LINENO: checking for flex 2.4 or higher" >&5 5995echo $ECHO_N "checking for flex 2.4 or higher... $ECHO_C" >&6
| 6937 { echo "$as_me:$LINENO: checking for flex 2.4 or higher" >&5 6938echo $ECHO_N "checking for flex 2.4 or higher... $ECHO_C" >&6; }
|
5996 if test "${ac_cv_lbl_flex_v24+set}" = set; then 5997 echo $ECHO_N "(cached) $ECHO_C" >&6 5998else 5999 if flex -V >/dev/null 2>&1; then 6000 ac_cv_lbl_flex_v24=yes 6001 else 6002 ac_cv_lbl_flex_v24=no 6003 fi 6004fi 6005
| 6939 if test "${ac_cv_lbl_flex_v24+set}" = set; then 6940 echo $ECHO_N "(cached) $ECHO_C" >&6 6941else 6942 if flex -V >/dev/null 2>&1; then 6943 ac_cv_lbl_flex_v24=yes 6944 else 6945 ac_cv_lbl_flex_v24=no 6946 fi 6947fi 6948
|
6006 echo "$as_me:$LINENO: result: $ac_cv_lbl_flex_v24" >&5 6007echo "${ECHO_T}$ac_cv_lbl_flex_v24" >&6
| 6949 { echo "$as_me:$LINENO: result: $ac_cv_lbl_flex_v24" >&5 6950echo "${ECHO_T}$ac_cv_lbl_flex_v24" >&6; }
|
6008 if test $ac_cv_lbl_flex_v24 = no ; then 6009 s="2.4 or higher required" 6010 { echo "$as_me:$LINENO: WARNING: ignoring obsolete flex executable ($s)" >&5 6011echo "$as_me: WARNING: ignoring obsolete flex executable ($s)" >&2;} 6012 V_LEX=lex 6013 fi 6014 fi 6015 if test "$with_bison" = no ; then 6016 V_YACC=yacc 6017 else 6018 for ac_prog in bison 6019do 6020 # Extract the first word of "$ac_prog", so it can be a program name with args. 6021set dummy $ac_prog; ac_word=$2
| 6951 if test $ac_cv_lbl_flex_v24 = no ; then 6952 s="2.4 or higher required" 6953 { echo "$as_me:$LINENO: WARNING: ignoring obsolete flex executable ($s)" >&5 6954echo "$as_me: WARNING: ignoring obsolete flex executable ($s)" >&2;} 6955 V_LEX=lex 6956 fi 6957 fi 6958 if test "$with_bison" = no ; then 6959 V_YACC=yacc 6960 else 6961 for ac_prog in bison 6962do 6963 # Extract the first word of "$ac_prog", so it can be a program name with args. 6964set dummy $ac_prog; ac_word=$2
|
6022echo "$as_me:$LINENO: checking for $ac_word" >&5 6023echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
| 6965{ echo "$as_me:$LINENO: checking for $ac_word" >&5 6966echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
6024if test "${ac_cv_prog_V_YACC+set}" = set; then 6025 echo $ECHO_N "(cached) $ECHO_C" >&6 6026else 6027 if test -n "$V_YACC"; then 6028 ac_cv_prog_V_YACC="$V_YACC" # Let the user override the test. 6029else 6030as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6031for as_dir in $PATH 6032do 6033 IFS=$as_save_IFS 6034 test -z "$as_dir" && as_dir=. 6035 for ac_exec_ext in '' $ac_executable_extensions; do
| 6967if test "${ac_cv_prog_V_YACC+set}" = set; then 6968 echo $ECHO_N "(cached) $ECHO_C" >&6 6969else 6970 if test -n "$V_YACC"; then 6971 ac_cv_prog_V_YACC="$V_YACC" # Let the user override the test. 6972else 6973as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6974for as_dir in $PATH 6975do 6976 IFS=$as_save_IFS 6977 test -z "$as_dir" && as_dir=. 6978 for ac_exec_ext in '' $ac_executable_extensions; do
|
6036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
| 6979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
6037 ac_cv_prog_V_YACC="$ac_prog" 6038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6039 break 2 6040 fi 6041done 6042done
| 6980 ac_cv_prog_V_YACC="$ac_prog" 6981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6982 break 2 6983 fi 6984done 6985done
|
| 6986IFS=$as_save_IFS
|
6043 6044fi 6045fi 6046V_YACC=$ac_cv_prog_V_YACC 6047if test -n "$V_YACC"; then
| 6987 6988fi 6989fi 6990V_YACC=$ac_cv_prog_V_YACC 6991if test -n "$V_YACC"; then
|
6048 echo "$as_me:$LINENO: result: $V_YACC" >&5 6049echo "${ECHO_T}$V_YACC" >&6
| 6992 { echo "$as_me:$LINENO: result: $V_YACC" >&5 6993echo "${ECHO_T}$V_YACC" >&6; }
|
6050else
| 6994else
|
6051 echo "$as_me:$LINENO: result: no" >&5 6052echo "${ECHO_T}no" >&6
| 6995 { echo "$as_me:$LINENO: result: no" >&5 6996echo "${ECHO_T}no" >&6; }
|
6053fi 6054
| 6997fi 6998
|
| 6999
|
6055 test -n "$V_YACC" && break 6056done 6057test -n "$V_YACC" || V_YACC="yacc" 6058 6059 fi 6060 if test "$V_YACC" = bison ; then 6061 V_YACC="$V_YACC -y" 6062 fi 6063 if test "$V_LEX" != lex -a "$V_YACC" = yacc -o "$V_LEX" = lex -a "$V_YACC" != yacc ; then 6064 { echo "$as_me:$LINENO: WARNING: don't have both flex and bison; reverting to lex/yacc" >&5 6065echo "$as_me: WARNING: don't have both flex and bison; reverting to lex/yacc" >&2;} 6066 V_LEX=lex 6067 V_YACC=yacc 6068 fi 6069 if test "$V_LEX" = flex -a -n "pcap_" ; then 6070 V_LEX="$V_LEX -Ppcap_" 6071 V_YACC="$V_YACC -p pcap_" 6072 fi 6073if test "$V_LEX" = lex ; then 6074# Some versions of lex can't handle the definitions section of scanner.l . 6075# Try lexing it and complain if it can't deal.
| 7000 test -n "$V_YACC" && break 7001done 7002test -n "$V_YACC" || V_YACC="yacc" 7003 7004 fi 7005 if test "$V_YACC" = bison ; then 7006 V_YACC="$V_YACC -y" 7007 fi 7008 if test "$V_LEX" != lex -a "$V_YACC" = yacc -o "$V_LEX" = lex -a "$V_YACC" != yacc ; then 7009 { echo "$as_me:$LINENO: WARNING: don't have both flex and bison; reverting to lex/yacc" >&5 7010echo "$as_me: WARNING: don't have both flex and bison; reverting to lex/yacc" >&2;} 7011 V_LEX=lex 7012 V_YACC=yacc 7013 fi 7014 if test "$V_LEX" = flex -a -n "pcap_" ; then 7015 V_LEX="$V_LEX -Ppcap_" 7016 V_YACC="$V_YACC -p pcap_" 7017 fi 7018if test "$V_LEX" = lex ; then 7019# Some versions of lex can't handle the definitions section of scanner.l . 7020# Try lexing it and complain if it can't deal.
|
6076 echo "$as_me:$LINENO: checking for capable lex" >&5 6077echo $ECHO_N "checking for capable lex... $ECHO_C" >&6
| 7021 { echo "$as_me:$LINENO: checking for capable lex" >&5 7022echo $ECHO_N "checking for capable lex... $ECHO_C" >&6; }
|
6078if test "${tcpdump_cv_capable_lex+set}" = set; then 6079 echo $ECHO_N "(cached) $ECHO_C" >&6 6080else 6081 if lex -t scanner.l > /dev/null 2>&1; then 6082 tcpdump_cv_capable_lex=yes 6083 else 6084 tcpdump_cv_capable_lex=insufficient 6085 fi 6086fi
| 7023if test "${tcpdump_cv_capable_lex+set}" = set; then 7024 echo $ECHO_N "(cached) $ECHO_C" >&6 7025else 7026 if lex -t scanner.l > /dev/null 2>&1; then 7027 tcpdump_cv_capable_lex=yes 7028 else 7029 tcpdump_cv_capable_lex=insufficient 7030 fi 7031fi
|
6087echo "$as_me:$LINENO: result: $tcpdump_cv_capable_lex" >&5 6088echo "${ECHO_T}$tcpdump_cv_capable_lex" >&6
| 7032{ echo "$as_me:$LINENO: result: $tcpdump_cv_capable_lex" >&5 7033echo "${ECHO_T}$tcpdump_cv_capable_lex" >&6; }
|
6089 if test $tcpdump_cv_capable_lex = insufficient ; then 6090 { { echo "$as_me:$LINENO: error: Your operating system's lex is insufficient to compile 6091 libpcap. flex is a lex replacement that has many advantages, including 6092 being able to compile libpcap. For more information, see 6093 http://www.gnu.org/software/flex/flex.html ." >&5 6094echo "$as_me: error: Your operating system's lex is insufficient to compile 6095 libpcap. flex is a lex replacement that has many advantages, including 6096 being able to compile libpcap. For more information, see 6097 http://www.gnu.org/software/flex/flex.html ." >&2;} 6098 { (exit 1); exit 1; }; } 6099 fi 6100fi 6101 6102DYEXT="so" 6103case "$host_os" in 6104 6105aix*) 6106 6107cat >>confdefs.h <<\_ACEOF 6108#define _SUN 1 6109_ACEOF 6110 6111 ;; 6112 6113hpux9*) 6114 6115cat >>confdefs.h <<\_ACEOF 6116#define HAVE_HPUX9 1 6117_ACEOF 6118 6119 ;; 6120 6121hpux10.0*) 6122 ;; 6123 6124hpux10.1*) 6125 ;; 6126 6127hpux*) 6128 6129cat >>confdefs.h <<\_ACEOF 6130#define HAVE_HPUX10_20_OR_LATER 1 6131_ACEOF 6132 6133 ;; 6134 6135sinix*)
| 7034 if test $tcpdump_cv_capable_lex = insufficient ; then 7035 { { echo "$as_me:$LINENO: error: Your operating system's lex is insufficient to compile 7036 libpcap. flex is a lex replacement that has many advantages, including 7037 being able to compile libpcap. For more information, see 7038 http://www.gnu.org/software/flex/flex.html ." >&5 7039echo "$as_me: error: Your operating system's lex is insufficient to compile 7040 libpcap. flex is a lex replacement that has many advantages, including 7041 being able to compile libpcap. For more information, see 7042 http://www.gnu.org/software/flex/flex.html ." >&2;} 7043 { (exit 1); exit 1; }; } 7044 fi 7045fi 7046 7047DYEXT="so" 7048case "$host_os" in 7049 7050aix*) 7051 7052cat >>confdefs.h <<\_ACEOF 7053#define _SUN 1 7054_ACEOF 7055 7056 ;; 7057 7058hpux9*) 7059 7060cat >>confdefs.h <<\_ACEOF 7061#define HAVE_HPUX9 1 7062_ACEOF 7063 7064 ;; 7065 7066hpux10.0*) 7067 ;; 7068 7069hpux10.1*) 7070 ;; 7071 7072hpux*) 7073 7074cat >>confdefs.h <<\_ACEOF 7075#define HAVE_HPUX10_20_OR_LATER 1 7076_ACEOF 7077 7078 ;; 7079 7080sinix*)
|
6136 echo "$as_me:$LINENO: checking if SINIX compiler defines sinix" >&5 6137echo $ECHO_N "checking if SINIX compiler defines sinix... $ECHO_C" >&6
| 7081 { echo "$as_me:$LINENO: checking if SINIX compiler defines sinix" >&5 7082echo $ECHO_N "checking if SINIX compiler defines sinix... $ECHO_C" >&6; }
|
6138 if test "${ac_cv_cc_sinix_defined+set}" = set; then 6139 echo $ECHO_N "(cached) $ECHO_C" >&6 6140else 6141 cat >conftest.$ac_ext <<_ACEOF
| 7083 if test "${ac_cv_cc_sinix_defined+set}" = set; then 7084 echo $ECHO_N "(cached) $ECHO_C" >&6 7085else 7086 cat >conftest.$ac_ext <<_ACEOF
|
6142#line $LINENO "configure"
| |
6143/* confdefs.h. */ 6144_ACEOF 6145cat confdefs.h >>conftest.$ac_ext 6146cat >>conftest.$ac_ext <<_ACEOF 6147/* end confdefs.h. */ 6148 6149int 6150main () 6151{ 6152int i = sinix; 6153 ; 6154 return 0; 6155} 6156_ACEOF 6157rm -f conftest.$ac_objext
| 7087/* confdefs.h. */ 7088_ACEOF 7089cat confdefs.h >>conftest.$ac_ext 7090cat >>conftest.$ac_ext <<_ACEOF 7091/* end confdefs.h. */ 7092 7093int 7094main () 7095{ 7096int i = sinix; 7097 ; 7098 return 0; 7099} 7100_ACEOF 7101rm -f conftest.$ac_objext
|
6158if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6159 (eval $ac_compile) 2>&5
| 7102if { (ac_try="$ac_compile" 7103case "(($ac_try" in 7104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7105 *) ac_try_echo=$ac_try;; 7106esac 7107eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7108 (eval "$ac_compile") 2>conftest.er1
|
6160 ac_status=$?
| 7109 ac_status=$?
|
| 7110 grep -v '^ *+' conftest.er1 >conftest.err 7111 rm -f conftest.er1 7112 cat conftest.err >&5
|
6161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6162 (exit $ac_status); } && 6163 { ac_try='test -s conftest.$ac_objext' 6164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6165 (eval $ac_try) 2>&5 6166 ac_status=$? 6167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6168 (exit $ac_status); }; }; then
| 7114 (exit $ac_status); } && { 7115 test -z "$ac_c_werror_flag" || 7116 test ! -s conftest.err 7117 } && test -s conftest.$ac_objext; then
|
6169 ac_cv_cc_sinix_defined=yes 6170else 6171 echo "$as_me: failed program was:" >&5 6172sed 's/^/| /' conftest.$ac_ext >&5 6173
| 7118 ac_cv_cc_sinix_defined=yes 7119else 7120 echo "$as_me: failed program was:" >&5 7121sed 's/^/| /' conftest.$ac_ext >&5 7122
|
6174ac_cv_cc_sinix_defined=no
| 7123 ac_cv_cc_sinix_defined=no
|
6175fi
| 7124fi
|
6176rm -f conftest.$ac_objext conftest.$ac_ext
| 7125 7126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6177fi 6178
| 7127fi 7128
|
6179 echo "$as_me:$LINENO: result: $ac_cv_cc_sinix_defined" >&5 6180echo "${ECHO_T}$ac_cv_cc_sinix_defined" >&6
| 7129 { echo "$as_me:$LINENO: result: $ac_cv_cc_sinix_defined" >&5 7130echo "${ECHO_T}$ac_cv_cc_sinix_defined" >&6; }
|
6181 if test $ac_cv_cc_sinix_defined = no ; then 6182 6183cat >>confdefs.h <<\_ACEOF 6184#define sinix 1 6185_ACEOF 6186 6187 fi 6188 ;; 6189 6190solaris*) 6191 6192cat >>confdefs.h <<\_ACEOF 6193#define HAVE_SOLARIS 1 6194_ACEOF 6195 6196 ;; 6197 6198darwin*) 6199 DYEXT="dylib" 6200 V_CCOPT="$V_CCOPT -fno-common" 6201 ;;
| 7131 if test $ac_cv_cc_sinix_defined = no ; then 7132 7133cat >>confdefs.h <<\_ACEOF 7134#define sinix 1 7135_ACEOF 7136 7137 fi 7138 ;; 7139 7140solaris*) 7141 7142cat >>confdefs.h <<\_ACEOF 7143#define HAVE_SOLARIS 1 7144_ACEOF 7145 7146 ;; 7147 7148darwin*) 7149 DYEXT="dylib" 7150 V_CCOPT="$V_CCOPT -fno-common" 7151 ;;
|
| 7152 7153linux*) 7154 V_CCOPT="$V_CCOPT -fPIC" 7155 ;; 7156
|
6202esac 6203 6204if test -n "$ac_tool_prefix"; then 6205 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6206set dummy ${ac_tool_prefix}ranlib; ac_word=$2
| 7157esac 7158 7159if test -n "$ac_tool_prefix"; then 7160 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7161set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
6207echo "$as_me:$LINENO: checking for $ac_word" >&5 6208echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
| 7162{ echo "$as_me:$LINENO: checking for $ac_word" >&5 7163echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
6209if test "${ac_cv_prog_RANLIB+set}" = set; then 6210 echo $ECHO_N "(cached) $ECHO_C" >&6 6211else 6212 if test -n "$RANLIB"; then 6213 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6214else 6215as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6216for as_dir in $PATH 6217do 6218 IFS=$as_save_IFS 6219 test -z "$as_dir" && as_dir=. 6220 for ac_exec_ext in '' $ac_executable_extensions; do
| 7164if test "${ac_cv_prog_RANLIB+set}" = set; then 7165 echo $ECHO_N "(cached) $ECHO_C" >&6 7166else 7167 if test -n "$RANLIB"; then 7168 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7169else 7170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7171for as_dir in $PATH 7172do 7173 IFS=$as_save_IFS 7174 test -z "$as_dir" && as_dir=. 7175 for ac_exec_ext in '' $ac_executable_extensions; do
|
6221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
| 7176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
6222 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6224 break 2 6225 fi 6226done 6227done
| 7177 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7179 break 2 7180 fi 7181done 7182done
|
| 7183IFS=$as_save_IFS
|
6228 6229fi 6230fi 6231RANLIB=$ac_cv_prog_RANLIB 6232if test -n "$RANLIB"; then
| 7184 7185fi 7186fi 7187RANLIB=$ac_cv_prog_RANLIB 7188if test -n "$RANLIB"; then
|
6233 echo "$as_me:$LINENO: result: $RANLIB" >&5 6234echo "${ECHO_T}$RANLIB" >&6
| 7189 { echo "$as_me:$LINENO: result: $RANLIB" >&5 7190echo "${ECHO_T}$RANLIB" >&6; }
|
6235else
| 7191else
|
6236 echo "$as_me:$LINENO: result: no" >&5 6237echo "${ECHO_T}no" >&6
| 7192 { echo "$as_me:$LINENO: result: no" >&5 7193echo "${ECHO_T}no" >&6; }
|
6238fi 6239
| 7194fi 7195
|
| 7196
|
6240fi 6241if test -z "$ac_cv_prog_RANLIB"; then 6242 ac_ct_RANLIB=$RANLIB 6243 # Extract the first word of "ranlib", so it can be a program name with args. 6244set dummy ranlib; ac_word=$2
| 7197fi 7198if test -z "$ac_cv_prog_RANLIB"; then 7199 ac_ct_RANLIB=$RANLIB 7200 # Extract the first word of "ranlib", so it can be a program name with args. 7201set dummy ranlib; ac_word=$2
|
6245echo "$as_me:$LINENO: checking for $ac_word" >&5 6246echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
| 7202{ echo "$as_me:$LINENO: checking for $ac_word" >&5 7203echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
6247if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 6248 echo $ECHO_N "(cached) $ECHO_C" >&6 6249else 6250 if test -n "$ac_ct_RANLIB"; then 6251 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6252else 6253as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6254for as_dir in $PATH 6255do 6256 IFS=$as_save_IFS 6257 test -z "$as_dir" && as_dir=. 6258 for ac_exec_ext in '' $ac_executable_extensions; do
| 7204if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 7205 echo $ECHO_N "(cached) $ECHO_C" >&6 7206else 7207 if test -n "$ac_ct_RANLIB"; then 7208 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7209else 7210as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7211for as_dir in $PATH 7212do 7213 IFS=$as_save_IFS 7214 test -z "$as_dir" && as_dir=. 7215 for ac_exec_ext in '' $ac_executable_extensions; do
|
6259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
| 7216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
6260 ac_cv_prog_ac_ct_RANLIB="ranlib" 6261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6262 break 2 6263 fi 6264done 6265done
| 7217 ac_cv_prog_ac_ct_RANLIB="ranlib" 7218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7219 break 2 7220 fi 7221done 7222done
|
| 7223IFS=$as_save_IFS
|
6266
| 7224
|
6267 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
| |
6268fi 6269fi 6270ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6271if test -n "$ac_ct_RANLIB"; then
| 7225fi 7226fi 7227ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7228if test -n "$ac_ct_RANLIB"; then
|
6272 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 6273echo "${ECHO_T}$ac_ct_RANLIB" >&6
| 7229 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 7230echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
|
6274else
| 7231else
|
6275 echo "$as_me:$LINENO: result: no" >&5 6276echo "${ECHO_T}no" >&6
| 7232 { echo "$as_me:$LINENO: result: no" >&5 7233echo "${ECHO_T}no" >&6; }
|
6277fi 6278
| 7234fi 7235
|
6279 RANLIB=$ac_ct_RANLIB
| 7236 if test "x$ac_ct_RANLIB" = x; then 7237 RANLIB=":" 7238 else 7239 case $cross_compiling:$ac_tool_warned in 7240yes:) 7241{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 7242whose name does not start with the host triplet. If you think this 7243configuration is useful to you, please write to autoconf@gnu.org." >&5 7244echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 7245whose name does not start with the host triplet. If you think this 7246configuration is useful to you, please write to autoconf@gnu.org." >&2;} 7247ac_tool_warned=yes ;; 7248esac 7249 RANLIB=$ac_ct_RANLIB 7250 fi
|
6280else 6281 RANLIB="$ac_cv_prog_RANLIB" 6282fi 6283 6284 6285rm -f os-proto.h 6286 if test "${LBL_CFLAGS+set}" = set; then 6287 V_CCOPT="$V_CCOPT ${LBL_CFLAGS}" 6288 fi 6289 if test -f .devel ; then 6290 if test "$GCC" = yes ; then 6291 if test "${LBL_CFLAGS+set}" != set; then 6292 if test "$ac_cv_prog_cc_g" = yes ; then 6293 V_CCOPT="-g $V_CCOPT" 6294 fi 6295 V_CCOPT="$V_CCOPT -Wall" 6296 if test $ac_cv_lbl_gcc_vers -gt 1 ; then 6297 V_CCOPT="$V_CCOPT -Wmissing-prototypes -Wstrict-prototypes" 6298 fi 6299 fi 6300 else 6301 case "$target_os" in 6302 6303 irix6*) 6304 V_CCOPT="$V_CCOPT -n32" 6305 ;; 6306 6307 *) 6308 ;; 6309 esac 6310 fi 6311 os=`echo $target_os | sed -e 's/\([0-9][0-9]*\)[^0-9].*$/\1/'` 6312 name="lbl/os-$os.h" 6313 if test -f $name ; then 6314 ln -s $name os-proto.h 6315 6316cat >>confdefs.h <<\_ACEOF 6317#define HAVE_OS_PROTO_H 1 6318_ACEOF 6319 6320 else 6321 { echo "$as_me:$LINENO: WARNING: can't find $name" >&5 6322echo "$as_me: WARNING: can't find $name" >&2;} 6323 fi 6324 fi 6325
| 7251else 7252 RANLIB="$ac_cv_prog_RANLIB" 7253fi 7254 7255 7256rm -f os-proto.h 7257 if test "${LBL_CFLAGS+set}" = set; then 7258 V_CCOPT="$V_CCOPT ${LBL_CFLAGS}" 7259 fi 7260 if test -f .devel ; then 7261 if test "$GCC" = yes ; then 7262 if test "${LBL_CFLAGS+set}" != set; then 7263 if test "$ac_cv_prog_cc_g" = yes ; then 7264 V_CCOPT="-g $V_CCOPT" 7265 fi 7266 V_CCOPT="$V_CCOPT -Wall" 7267 if test $ac_cv_lbl_gcc_vers -gt 1 ; then 7268 V_CCOPT="$V_CCOPT -Wmissing-prototypes -Wstrict-prototypes" 7269 fi 7270 fi 7271 else 7272 case "$target_os" in 7273 7274 irix6*) 7275 V_CCOPT="$V_CCOPT -n32" 7276 ;; 7277 7278 *) 7279 ;; 7280 esac 7281 fi 7282 os=`echo $target_os | sed -e 's/\([0-9][0-9]*\)[^0-9].*$/\1/'` 7283 name="lbl/os-$os.h" 7284 if test -f $name ; then 7285 ln -s $name os-proto.h 7286 7287cat >>confdefs.h <<\_ACEOF 7288#define HAVE_OS_PROTO_H 1 7289_ACEOF 7290 7291 else 7292 { echo "$as_me:$LINENO: WARNING: can't find $name" >&5 7293echo "$as_me: WARNING: can't find $name" >&2;} 7294 fi 7295 fi 7296
|
6326echo "$as_me:$LINENO: checking if sockaddr struct has sa_len member" >&5 6327echo $ECHO_N "checking if sockaddr struct has sa_len member... $ECHO_C" >&6
| 7297{ echo "$as_me:$LINENO: checking if sockaddr struct has sa_len member" >&5 7298echo $ECHO_N "checking if sockaddr struct has sa_len member... $ECHO_C" >&6; }
|
6328 if test "${ac_cv_lbl_sockaddr_has_sa_len+set}" = set; then 6329 echo $ECHO_N "(cached) $ECHO_C" >&6 6330else 6331 cat >conftest.$ac_ext <<_ACEOF
| 7299 if test "${ac_cv_lbl_sockaddr_has_sa_len+set}" = set; then 7300 echo $ECHO_N "(cached) $ECHO_C" >&6 7301else 7302 cat >conftest.$ac_ext <<_ACEOF
|
6332#line $LINENO "configure"
| |
6333/* confdefs.h. */ 6334_ACEOF 6335cat confdefs.h >>conftest.$ac_ext 6336cat >>conftest.$ac_ext <<_ACEOF 6337/* end confdefs.h. */ 6338 6339# include <sys/types.h> 6340# include <sys/socket.h> 6341int 6342main () 6343{ 6344u_int i = sizeof(((struct sockaddr *)0)->sa_len) 6345 ; 6346 return 0; 6347} 6348_ACEOF 6349rm -f conftest.$ac_objext
| 7303/* confdefs.h. */ 7304_ACEOF 7305cat confdefs.h >>conftest.$ac_ext 7306cat >>conftest.$ac_ext <<_ACEOF 7307/* end confdefs.h. */ 7308 7309# include <sys/types.h> 7310# include <sys/socket.h> 7311int 7312main () 7313{ 7314u_int i = sizeof(((struct sockaddr *)0)->sa_len) 7315 ; 7316 return 0; 7317} 7318_ACEOF 7319rm -f conftest.$ac_objext
|
6350if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6351 (eval $ac_compile) 2>&5
| 7320if { (ac_try="$ac_compile" 7321case "(($ac_try" in 7322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7323 *) ac_try_echo=$ac_try;; 7324esac 7325eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7326 (eval "$ac_compile") 2>conftest.er1
|
6352 ac_status=$?
| 7327 ac_status=$?
|
| 7328 grep -v '^ *+' conftest.er1 >conftest.err 7329 rm -f conftest.er1 7330 cat conftest.err >&5
|
6353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6354 (exit $ac_status); } && 6355 { ac_try='test -s conftest.$ac_objext' 6356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6357 (eval $ac_try) 2>&5 6358 ac_status=$? 6359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6360 (exit $ac_status); }; }; then
| 7332 (exit $ac_status); } && { 7333 test -z "$ac_c_werror_flag" || 7334 test ! -s conftest.err 7335 } && test -s conftest.$ac_objext; then
|
6361 ac_cv_lbl_sockaddr_has_sa_len=yes 6362else 6363 echo "$as_me: failed program was:" >&5 6364sed 's/^/| /' conftest.$ac_ext >&5 6365
| 7336 ac_cv_lbl_sockaddr_has_sa_len=yes 7337else 7338 echo "$as_me: failed program was:" >&5 7339sed 's/^/| /' conftest.$ac_ext >&5 7340
|
6366ac_cv_lbl_sockaddr_has_sa_len=no
| 7341 ac_cv_lbl_sockaddr_has_sa_len=no
|
6367fi
| 7342fi
|
6368rm -f conftest.$ac_objext conftest.$ac_ext
| 7343 7344rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6369fi 6370
| 7345fi 7346
|
6371 echo "$as_me:$LINENO: result: $ac_cv_lbl_sockaddr_has_sa_len" >&5 6372echo "${ECHO_T}$ac_cv_lbl_sockaddr_has_sa_len" >&6
| 7347 { echo "$as_me:$LINENO: result: $ac_cv_lbl_sockaddr_has_sa_len" >&5 7348echo "${ECHO_T}$ac_cv_lbl_sockaddr_has_sa_len" >&6; }
|
6373 if test $ac_cv_lbl_sockaddr_has_sa_len = yes ; then 6374 6375cat >>confdefs.h <<\_ACEOF 6376#define HAVE_SOCKADDR_SA_LEN 1 6377_ACEOF 6378 6379 fi 6380
| 7349 if test $ac_cv_lbl_sockaddr_has_sa_len = yes ; then 7350 7351cat >>confdefs.h <<\_ACEOF 7352#define HAVE_SOCKADDR_SA_LEN 1 7353_ACEOF 7354 7355 fi 7356
|
6381echo "$as_me:$LINENO: checking if sockaddr_storage struct exists" >&5 6382echo $ECHO_N "checking if sockaddr_storage struct exists... $ECHO_C" >&6
| 7357{ echo "$as_me:$LINENO: checking if sockaddr_storage struct exists" >&5 7358echo $ECHO_N "checking if sockaddr_storage struct exists... $ECHO_C" >&6; }
|
6383 if test "${ac_cv_lbl_has_sockaddr_storage+set}" = set; then 6384 echo $ECHO_N "(cached) $ECHO_C" >&6 6385else 6386 cat >conftest.$ac_ext <<_ACEOF
| 7359 if test "${ac_cv_lbl_has_sockaddr_storage+set}" = set; then 7360 echo $ECHO_N "(cached) $ECHO_C" >&6 7361else 7362 cat >conftest.$ac_ext <<_ACEOF
|
6387#line $LINENO "configure"
| |
6388/* confdefs.h. */ 6389_ACEOF 6390cat confdefs.h >>conftest.$ac_ext 6391cat >>conftest.$ac_ext <<_ACEOF 6392/* end confdefs.h. */ 6393 6394# include <sys/types.h> 6395# include <sys/socket.h> 6396int 6397main () 6398{ 6399u_int i = sizeof (struct sockaddr_storage) 6400 ; 6401 return 0; 6402} 6403_ACEOF 6404rm -f conftest.$ac_objext
| 7363/* confdefs.h. */ 7364_ACEOF 7365cat confdefs.h >>conftest.$ac_ext 7366cat >>conftest.$ac_ext <<_ACEOF 7367/* end confdefs.h. */ 7368 7369# include <sys/types.h> 7370# include <sys/socket.h> 7371int 7372main () 7373{ 7374u_int i = sizeof (struct sockaddr_storage) 7375 ; 7376 return 0; 7377} 7378_ACEOF 7379rm -f conftest.$ac_objext
|
6405if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6406 (eval $ac_compile) 2>&5
| 7380if { (ac_try="$ac_compile" 7381case "(($ac_try" in 7382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7383 *) ac_try_echo=$ac_try;; 7384esac 7385eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7386 (eval "$ac_compile") 2>conftest.er1
|
6407 ac_status=$?
| 7387 ac_status=$?
|
| 7388 grep -v '^ *+' conftest.er1 >conftest.err 7389 rm -f conftest.er1 7390 cat conftest.err >&5
|
6408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 7391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6409 (exit $ac_status); } && 6410 { ac_try='test -s conftest.$ac_objext' 6411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6412 (eval $ac_try) 2>&5 6413 ac_status=$? 6414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6415 (exit $ac_status); }; }; then
| 7392 (exit $ac_status); } && { 7393 test -z "$ac_c_werror_flag" || 7394 test ! -s conftest.err 7395 } && test -s conftest.$ac_objext; then
|
6416 ac_cv_lbl_has_sockaddr_storage=yes 6417else 6418 echo "$as_me: failed program was:" >&5 6419sed 's/^/| /' conftest.$ac_ext >&5 6420
| 7396 ac_cv_lbl_has_sockaddr_storage=yes 7397else 7398 echo "$as_me: failed program was:" >&5 7399sed 's/^/| /' conftest.$ac_ext >&5 7400
|
6421ac_cv_lbl_has_sockaddr_storage=no
| 7401 ac_cv_lbl_has_sockaddr_storage=no
|
6422fi
| 7402fi
|
6423rm -f conftest.$ac_objext conftest.$ac_ext
| 7403 7404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6424fi 6425
| 7405fi 7406
|
6426 echo "$as_me:$LINENO: result: $ac_cv_lbl_has_sockaddr_storage" >&5 6427echo "${ECHO_T}$ac_cv_lbl_has_sockaddr_storage" >&6
| 7407 { echo "$as_me:$LINENO: result: $ac_cv_lbl_has_sockaddr_storage" >&5 7408echo "${ECHO_T}$ac_cv_lbl_has_sockaddr_storage" >&6; }
|
6428 if test $ac_cv_lbl_has_sockaddr_storage = yes ; then 6429 6430cat >>confdefs.h <<\_ACEOF 6431#define HAVE_SOCKADDR_STORAGE 1 6432_ACEOF 6433 6434 fi 6435
| 7409 if test $ac_cv_lbl_has_sockaddr_storage = yes ; then 7410 7411cat >>confdefs.h <<\_ACEOF 7412#define HAVE_SOCKADDR_STORAGE 1 7413_ACEOF 7414 7415 fi 7416
|
6436echo "$as_me:$LINENO: checking if dl_hp_ppa_info_t struct has dl_module_id_1 member" >&5 6437echo $ECHO_N "checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... $ECHO_C" >&6
| 7417{ echo "$as_me:$LINENO: checking if dl_hp_ppa_info_t struct has dl_module_id_1 member" >&5 7418echo $ECHO_N "checking if dl_hp_ppa_info_t struct has dl_module_id_1 member... $ECHO_C" >&6; }
|
6438 if test "${ac_cv_lbl_dl_hp_ppa_info_t_has_dl_module_id_1+set}" = set; then 6439 echo $ECHO_N "(cached) $ECHO_C" >&6 6440else 6441 cat >conftest.$ac_ext <<_ACEOF
| 7419 if test "${ac_cv_lbl_dl_hp_ppa_info_t_has_dl_module_id_1+set}" = set; then 7420 echo $ECHO_N "(cached) $ECHO_C" >&6 7421else 7422 cat >conftest.$ac_ext <<_ACEOF
|
6442#line $LINENO "configure"
| |
6443/* confdefs.h. */ 6444_ACEOF 6445cat confdefs.h >>conftest.$ac_ext 6446cat >>conftest.$ac_ext <<_ACEOF 6447/* end confdefs.h. */ 6448 6449# include <sys/types.h> 6450# include <sys/dlpi.h> 6451# include <sys/dlpi_ext.h> 6452int 6453main () 6454{ 6455u_int i = sizeof(((dl_hp_ppa_info_t *)0)->dl_module_id_1) 6456 ; 6457 return 0; 6458} 6459_ACEOF 6460rm -f conftest.$ac_objext
| 7423/* confdefs.h. */ 7424_ACEOF 7425cat confdefs.h >>conftest.$ac_ext 7426cat >>conftest.$ac_ext <<_ACEOF 7427/* end confdefs.h. */ 7428 7429# include <sys/types.h> 7430# include <sys/dlpi.h> 7431# include <sys/dlpi_ext.h> 7432int 7433main () 7434{ 7435u_int i = sizeof(((dl_hp_ppa_info_t *)0)->dl_module_id_1) 7436 ; 7437 return 0; 7438} 7439_ACEOF 7440rm -f conftest.$ac_objext
|
6461if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6462 (eval $ac_compile) 2>&5
| 7441if { (ac_try="$ac_compile" 7442case "(($ac_try" in 7443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7444 *) ac_try_echo=$ac_try;; 7445esac 7446eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7447 (eval "$ac_compile") 2>conftest.er1
|
6463 ac_status=$?
| 7448 ac_status=$?
|
| 7449 grep -v '^ *+' conftest.er1 >conftest.err 7450 rm -f conftest.er1 7451 cat conftest.err >&5
|
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
| 7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6465 (exit $ac_status); } && 6466 { ac_try='test -s conftest.$ac_objext' 6467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6468 (eval $ac_try) 2>&5 6469 ac_status=$? 6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6471 (exit $ac_status); }; }; then
| 7453 (exit $ac_status); } && { 7454 test -z "$ac_c_werror_flag" || 7455 test ! -s conftest.err 7456 } && test -s conftest.$ac_objext; then
|
6472 ac_cv_lbl_dl_hp_ppa_info_t_has_dl_module_id_1=yes 6473else 6474 echo "$as_me: failed program was:" >&5 6475sed 's/^/| /' conftest.$ac_ext >&5 6476
| 7457 ac_cv_lbl_dl_hp_ppa_info_t_has_dl_module_id_1=yes 7458else 7459 echo "$as_me: failed program was:" >&5 7460sed 's/^/| /' conftest.$ac_ext >&5 7461
|
6477ac_cv_lbl_dl_hp_ppa_info_t_has_dl_module_id_1=no
| 7462 ac_cv_lbl_dl_hp_ppa_info_t_has_dl_module_id_1=no
|
6478fi
| 7463fi
|
6479rm -f conftest.$ac_objext conftest.$ac_ext
| 7464 7465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6480fi 6481
| 7466fi 7467
|
6482 echo "$as_me:$LINENO: result: $ac_cv_lbl_dl_hp_ppa_info_t_has_dl_module_id_1" >&5 6483echo "${ECHO_T}$ac_cv_lbl_dl_hp_ppa_info_t_has_dl_module_id_1" >&6
| 7468 { echo "$as_me:$LINENO: result: $ac_cv_lbl_dl_hp_ppa_info_t_has_dl_module_id_1" >&5 7469echo "${ECHO_T}$ac_cv_lbl_dl_hp_ppa_info_t_has_dl_module_id_1" >&6; }
|
6484 if test $ac_cv_lbl_dl_hp_ppa_info_t_has_dl_module_id_1 = yes ; then 6485 6486cat >>confdefs.h <<\_ACEOF 6487#define HAVE_HP_PPA_INFO_T_DL_MODULE_ID_1 1 6488_ACEOF 6489 6490 fi 6491
| 7470 if test $ac_cv_lbl_dl_hp_ppa_info_t_has_dl_module_id_1 = yes ; then 7471 7472cat >>confdefs.h <<\_ACEOF 7473#define HAVE_HP_PPA_INFO_T_DL_MODULE_ID_1 1 7474_ACEOF 7475 7476 fi 7477
|
6492echo "$as_me:$LINENO: checking if unaligned accesses fail" >&5 6493echo $ECHO_N "checking if unaligned accesses fail... $ECHO_C" >&6
| 7478{ echo "$as_me:$LINENO: checking if unaligned accesses fail" >&5 7479echo $ECHO_N "checking if unaligned accesses fail... $ECHO_C" >&6; }
|
6494 if test "${ac_cv_lbl_unaligned_fail+set}" = set; then 6495 echo $ECHO_N "(cached) $ECHO_C" >&6 6496else 6497 case "$host_cpu" in 6498 6499 # 6500 # These are CPU types where: 6501 # 6502 # the CPU faults on an unaligned access, but at least some 6503 # OSes that support that CPU catch the fault and simulate 6504 # the unaligned access (e.g., Alpha/{Digital,Tru64} UNIX) - 6505 # the simulation is slow, so we don't want to use it; 6506 # 6507 # the CPU, I infer (from the old 6508 # 6509 # XXX: should also check that they don't do weird things (like on arm) 6510 # 6511 # comment) doesn't fault on unaligned accesses, but doesn't 6512 # do a normal unaligned fetch, either (e.g., presumably, ARM); 6513 # 6514 # for whatever reason, the test program doesn't work 6515 # (this has been claimed to be the case for several of those 6516 # CPUs - I don't know what the problem is; the problem 6517 # was reported as "the test program dumps core" for SuperH, 6518 # but that's what the test program is *supposed* to do - 6519 # it dumps core before it writes anything, so the test 6520 # for an empty output file should find an empty output 6521 # file and conclude that unaligned accesses don't work). 6522 # 6523 # This run-time test won't work if you're cross-compiling, so 6524 # in order to support cross-compiling for a particular CPU, 6525 # we have to wire in the list of CPU types anyway, as far as 6526 # I know, so perhaps we should just have a set of CPUs on 6527 # which we know it doesn't work, a set of CPUs on which we 6528 # know it does work, and have the script just fail on other 6529 # cpu types and update it when such a failure occurs. 6530 # 6531 alpha*|arm*|hp*|mips*|sh*|sparc*|ia64|nv1) 6532 ac_cv_lbl_unaligned_fail=yes 6533 ;; 6534 6535 *) 6536 cat >conftest.c <<EOF 6537# include <sys/types.h> 6538# include <sys/wait.h> 6539# include <stdio.h> 6540 unsigned char a[5] = { 1, 2, 3, 4, 5 }; 6541 main() { 6542 unsigned int i; 6543 pid_t pid; 6544 int status; 6545 /* avoid "core dumped" message */ 6546 pid = fork(); 6547 if (pid < 0) 6548 exit(2); 6549 if (pid > 0) { 6550 /* parent */ 6551 pid = waitpid(pid, &status, 0); 6552 if (pid < 0) 6553 exit(3); 6554 exit(!WIFEXITED(status)); 6555 } 6556 /* child */ 6557 i = *(unsigned int *)&a[1]; 6558 printf("%d\n", i); 6559 exit(0); 6560 } 6561EOF 6562 ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS \ 6563 conftest.c $LIBS >/dev/null 2>&1 6564 if test ! -x conftest ; then 6565 ac_cv_lbl_unaligned_fail=yes 6566 else 6567 ./conftest >conftest.out 6568 if test ! -s conftest.out ; then 6569 ac_cv_lbl_unaligned_fail=yes 6570 else 6571 ac_cv_lbl_unaligned_fail=no 6572 fi 6573 fi 6574 rm -f conftest* core core.conftest 6575 ;; 6576 esac 6577fi 6578
| 7480 if test "${ac_cv_lbl_unaligned_fail+set}" = set; then 7481 echo $ECHO_N "(cached) $ECHO_C" >&6 7482else 7483 case "$host_cpu" in 7484 7485 # 7486 # These are CPU types where: 7487 # 7488 # the CPU faults on an unaligned access, but at least some 7489 # OSes that support that CPU catch the fault and simulate 7490 # the unaligned access (e.g., Alpha/{Digital,Tru64} UNIX) - 7491 # the simulation is slow, so we don't want to use it; 7492 # 7493 # the CPU, I infer (from the old 7494 # 7495 # XXX: should also check that they don't do weird things (like on arm) 7496 # 7497 # comment) doesn't fault on unaligned accesses, but doesn't 7498 # do a normal unaligned fetch, either (e.g., presumably, ARM); 7499 # 7500 # for whatever reason, the test program doesn't work 7501 # (this has been claimed to be the case for several of those 7502 # CPUs - I don't know what the problem is; the problem 7503 # was reported as "the test program dumps core" for SuperH, 7504 # but that's what the test program is *supposed* to do - 7505 # it dumps core before it writes anything, so the test 7506 # for an empty output file should find an empty output 7507 # file and conclude that unaligned accesses don't work). 7508 # 7509 # This run-time test won't work if you're cross-compiling, so 7510 # in order to support cross-compiling for a particular CPU, 7511 # we have to wire in the list of CPU types anyway, as far as 7512 # I know, so perhaps we should just have a set of CPUs on 7513 # which we know it doesn't work, a set of CPUs on which we 7514 # know it does work, and have the script just fail on other 7515 # cpu types and update it when such a failure occurs. 7516 # 7517 alpha*|arm*|hp*|mips*|sh*|sparc*|ia64|nv1) 7518 ac_cv_lbl_unaligned_fail=yes 7519 ;; 7520 7521 *) 7522 cat >conftest.c <<EOF 7523# include <sys/types.h> 7524# include <sys/wait.h> 7525# include <stdio.h> 7526 unsigned char a[5] = { 1, 2, 3, 4, 5 }; 7527 main() { 7528 unsigned int i; 7529 pid_t pid; 7530 int status; 7531 /* avoid "core dumped" message */ 7532 pid = fork(); 7533 if (pid < 0) 7534 exit(2); 7535 if (pid > 0) { 7536 /* parent */ 7537 pid = waitpid(pid, &status, 0); 7538 if (pid < 0) 7539 exit(3); 7540 exit(!WIFEXITED(status)); 7541 } 7542 /* child */ 7543 i = *(unsigned int *)&a[1]; 7544 printf("%d\n", i); 7545 exit(0); 7546 } 7547EOF 7548 ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS \ 7549 conftest.c $LIBS >/dev/null 2>&1 7550 if test ! -x conftest ; then 7551 ac_cv_lbl_unaligned_fail=yes 7552 else 7553 ./conftest >conftest.out 7554 if test ! -s conftest.out ; then 7555 ac_cv_lbl_unaligned_fail=yes 7556 else 7557 ac_cv_lbl_unaligned_fail=no 7558 fi 7559 fi 7560 rm -f conftest* core core.conftest 7561 ;; 7562 esac 7563fi 7564
|
6579 echo "$as_me:$LINENO: result: $ac_cv_lbl_unaligned_fail" >&5 6580echo "${ECHO_T}$ac_cv_lbl_unaligned_fail" >&6
| 7565 { echo "$as_me:$LINENO: result: $ac_cv_lbl_unaligned_fail" >&5 7566echo "${ECHO_T}$ac_cv_lbl_unaligned_fail" >&6; }
|
6581 if test $ac_cv_lbl_unaligned_fail = yes ; then 6582 6583cat >>confdefs.h <<\_ACEOF 6584#define LBL_ALIGN 1 6585_ACEOF 6586 6587 fi 6588 6589# 6590# Makefile.in includes rules to generate version.h, so we assume 6591# that it will be generated if autoconf is used. 6592# 6593 6594cat >>confdefs.h <<\_ACEOF 6595#define HAVE_VERSION_H 1 6596_ACEOF 6597 6598 6599rm -f net 6600ln -s ${srcdir}/bpf/net net 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613
| 7567 if test $ac_cv_lbl_unaligned_fail = yes ; then 7568 7569cat >>confdefs.h <<\_ACEOF 7570#define LBL_ALIGN 1 7571_ACEOF 7572 7573 fi 7574 7575# 7576# Makefile.in includes rules to generate version.h, so we assume 7577# that it will be generated if autoconf is used. 7578# 7579 7580cat >>confdefs.h <<\_ACEOF 7581#define HAVE_VERSION_H 1 7582_ACEOF 7583 7584 7585rm -f net 7586ln -s ${srcdir}/bpf/net net 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599
|
| 7600
|
6614# Find a good install program. We prefer a C program (faster), 6615# so one script is as good as another. But avoid the broken or 6616# incompatible versions: 6617# SysV /etc/install, /usr/sbin/install 6618# SunOS /usr/etc/install 6619# IRIX /sbin/install 6620# AIX /bin/install 6621# AmigaOS /C/install, which installs bootblocks on floppy discs 6622# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 6623# AFS /usr/afsws/bin/install, which mishandles nonexistent args 6624# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
| 7601# Find a good install program. We prefer a C program (faster), 7602# so one script is as good as another. But avoid the broken or 7603# incompatible versions: 7604# SysV /etc/install, /usr/sbin/install 7605# SunOS /usr/etc/install 7606# IRIX /sbin/install 7607# AIX /bin/install 7608# AmigaOS /C/install, which installs bootblocks on floppy discs 7609# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 7610# AFS /usr/afsws/bin/install, which mishandles nonexistent args 7611# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
| 7612# OS/2's system install, which has a completely different semantic
|
6625# ./install, which can be erroneously created by make from ./install.sh.
| 7613# ./install, which can be erroneously created by make from ./install.sh.
|
6626echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 6627echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
| 7614{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 7615echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
|
6628if test -z "$INSTALL"; then 6629if test "${ac_cv_path_install+set}" = set; then 6630 echo $ECHO_N "(cached) $ECHO_C" >&6 6631else 6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6633for as_dir in $PATH 6634do 6635 IFS=$as_save_IFS 6636 test -z "$as_dir" && as_dir=. 6637 # Account for people who put trailing slashes in PATH elements. 6638case $as_dir/ in 6639 ./ | .// | /cC/* | \ 6640 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
| 7616if test -z "$INSTALL"; then 7617if test "${ac_cv_path_install+set}" = set; then 7618 echo $ECHO_N "(cached) $ECHO_C" >&6 7619else 7620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7621for as_dir in $PATH 7622do 7623 IFS=$as_save_IFS 7624 test -z "$as_dir" && as_dir=. 7625 # Account for people who put trailing slashes in PATH elements. 7626case $as_dir/ in 7627 ./ | .// | /cC/* | \ 7628 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
| 7629 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
6641 /usr/ucb/* ) ;; 6642 *) 6643 # OSF1 and SCO ODT 3.0 have their own names for install. 6644 # Don't use installbsd from OSF since it installs stuff as root 6645 # by default. 6646 for ac_prog in ginstall scoinst install; do 6647 for ac_exec_ext in '' $ac_executable_extensions; do
| 7630 /usr/ucb/* ) ;; 7631 *) 7632 # OSF1 and SCO ODT 3.0 have their own names for install. 7633 # Don't use installbsd from OSF since it installs stuff as root 7634 # by default. 7635 for ac_prog in ginstall scoinst install; do 7636 for ac_exec_ext in '' $ac_executable_extensions; do
|
6648 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 6649 if test $ac_prog = install && 6650 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6651 # AIX install. It has an incompatible calling convention. 6652 : 6653 elif test $ac_prog = install && 6654 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 6655 # program-specific install script used by HP pwplus--don't use. 6656 : 6657 else 6658 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 6659 break 3 6660 fi 6661 fi
| 7637 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 7638 if test $ac_prog = install && 7639 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 7640 # AIX install. It has an incompatible calling convention. 7641 : 7642 elif test $ac_prog = install && 7643 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 7644 # program-specific install script used by HP pwplus--don't use. 7645 : 7646 else 7647 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 7648 break 3 7649 fi 7650 fi
|
6662 done 6663 done 6664 ;; 6665esac 6666done
| 7651 done 7652 done 7653 ;; 7654esac 7655done
|
| 7656IFS=$as_save_IFS
|
6667 6668 6669fi 6670 if test "${ac_cv_path_install+set}" = set; then 6671 INSTALL=$ac_cv_path_install 6672 else
| 7657 7658 7659fi 7660 if test "${ac_cv_path_install+set}" = set; then 7661 INSTALL=$ac_cv_path_install 7662 else
|
6673 # As a last resort, use the slow shell script. We don't cache a 6674 # path for INSTALL within a source directory, because that will
| 7663 # As a last resort, use the slow shell script. Don't cache a 7664 # value for INSTALL within a source directory, because that will
|
6675 # break other packages using the cache if that directory is
| 7665 # break other packages using the cache if that directory is
|
6676 # removed, or if the path is relative.
| 7666 # removed, or if the value is a relative name.
|
6677 INSTALL=$ac_install_sh 6678 fi 6679fi
| 7667 INSTALL=$ac_install_sh 7668 fi 7669fi
|
6680echo "$as_me:$LINENO: result: $INSTALL" >&5 6681echo "${ECHO_T}$INSTALL" >&6
| 7670{ echo "$as_me:$LINENO: result: $INSTALL" >&5 7671echo "${ECHO_T}$INSTALL" >&6; }
|
6682 6683# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 6684# It thinks the first close brace ends the variable substitution. 6685test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 6686 6687test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 6688 6689test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 6690 6691
| 7672 7673# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 7674# It thinks the first close brace ends the variable substitution. 7675test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 7676 7677test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 7678 7679test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 7680 7681
|
6692 ac_config_headers="$ac_config_headers config.h"
| 7682ac_config_headers="$ac_config_headers config.h"
|
6693 6694
| 7683 7684
|
6695 ac_config_files="$ac_config_files Makefile"
| 7685ac_config_files="$ac_config_files Makefile" 7686
|
6696cat >confcache <<\_ACEOF 6697# This file is a shell script that caches the results of configure 6698# tests run on this system so they can be shared between configure 6699# scripts and configure runs, see configure's option --config-cache. 6700# It is not useful on other systems. If it contains results you don't 6701# want to keep, you may remove or edit it. 6702# 6703# config.status only pays attention to the cache file if you give it 6704# the --recheck option to rerun configure. 6705# 6706# `ac_cv_env_foo' variables (set or unset) will be overridden when 6707# loading this file, other *unset* `ac_cv_foo' will be assigned the 6708# following values. 6709 6710_ACEOF 6711 6712# The following way of writing the cache mishandles newlines in values, 6713# but we know of no workaround that is simple, portable, and efficient.
| 7687cat >confcache <<\_ACEOF 7688# This file is a shell script that caches the results of configure 7689# tests run on this system so they can be shared between configure 7690# scripts and configure runs, see configure's option --config-cache. 7691# It is not useful on other systems. If it contains results you don't 7692# want to keep, you may remove or edit it. 7693# 7694# config.status only pays attention to the cache file if you give it 7695# the --recheck option to rerun configure. 7696# 7697# `ac_cv_env_foo' variables (set or unset) will be overridden when 7698# loading this file, other *unset* `ac_cv_foo' will be assigned the 7699# following values. 7700 7701_ACEOF 7702 7703# The following way of writing the cache mishandles newlines in values, 7704# but we know of no workaround that is simple, portable, and efficient.
|
6714# So, don't put newlines in cache variables' values.
| 7705# So, we kill variables containing newlines.
|
6715# Ultrix sh set writes to stderr and can't be redirected directly, 6716# and sets the high bit in the cache file unless we assign to the vars.
| 7706# Ultrix sh set writes to stderr and can't be redirected directly, 7707# and sets the high bit in the cache file unless we assign to the vars.
|
6717{
| 7708( 7709 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 7710 eval ac_val=\$$ac_var 7711 case $ac_val in #( 7712 *${as_nl}*) 7713 case $ac_var in #( 7714 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 7715echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 7716 esac 7717 case $ac_var in #( 7718 _ | IFS | as_nl) ;; #( 7719 *) $as_unset $ac_var ;; 7720 esac ;; 7721 esac 7722 done 7723
|
6718 (set) 2>&1 |
| 7724 (set) 2>&1 |
|
6719 case `(ac_space=' '; set | grep ac_space) 2>&1` in 6720 *ac_space=\ *)
| 7725 case $as_nl`(ac_space=' '; set) 2>&1` in #( 7726 *${as_nl}ac_space=\ *)
|
6721 # `set' does not quote correctly, so add quotes (double-quote 6722 # substitution turns \\\\ into \\, and sed turns \\ into \). 6723 sed -n \
| 7727 # `set' does not quote correctly, so add quotes (double-quote 7728 # substitution turns \\\\ into \\, and sed turns \\ into \). 7729 sed -n \
|
6724 "s/'/'\\\\''/g; 6725 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6726 ;;
| 7730 "s/'/'\\\\''/g; 7731 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7732 ;; #(
|
6727 *) 6728 # `set' quotes correctly as required by POSIX, so do not add quotes.
| 7733 *) 7734 # `set' quotes correctly as required by POSIX, so do not add quotes.
|
6729 sed -n \ 6730 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
| 7735 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
6731 ;;
| 7736 ;;
|
6732 esac; 6733} |
| 7737 esac | 7738 sort 7739) |
|
6734 sed '
| 7740 sed '
|
| 7741 /^ac_cv_env_/b end
|
6735 t clear
| 7742 t clear
|
6736 : clear
| 7743 :clear
|
6737 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6738 t end
| 7744 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7745 t end
|
6739 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6740 : end' >>confcache 6741if diff $cache_file confcache >/dev/null 2>&1; then :; else 6742 if test -w $cache_file; then 6743 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
| 7746 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7747 :end' >>confcache 7748if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7749 if test -w "$cache_file"; then 7750 test "x$cache_file" != "x/dev/null" && 7751 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 7752echo "$as_me: updating cache $cache_file" >&6;}
|
6744 cat confcache >$cache_file 6745 else
| 7753 cat confcache >$cache_file 7754 else
|
6746 echo "not updating unwritable cache $cache_file"
| 7755 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 7756echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
6747 fi 6748fi 6749rm -f confcache 6750 6751test "x$prefix" = xNONE && prefix=$ac_default_prefix 6752# Let make expand exec_prefix. 6753test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6754
| 7757 fi 7758fi 7759rm -f confcache 7760 7761test "x$prefix" = xNONE && prefix=$ac_default_prefix 7762# Let make expand exec_prefix. 7763test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7764
|
6755# VPATH may cause trouble with some makes, so we remove $(srcdir), 6756# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 6757# trailing colons and then remove the whole line if VPATH becomes empty 6758# (actually we leave an empty line to preserve line numbers). 6759if test "x$srcdir" = x.; then 6760 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 6761s/:*\$(srcdir):*/:/; 6762s/:*\${srcdir}:*/:/; 6763s/:*@srcdir@:*/:/; 6764s/^\([^=]*=[ ]*\):*/\1/; 6765s/:*$//; 6766s/^[^=]*=[ ]*$//; 6767}' 6768fi 6769
| |
6770DEFS=-DHAVE_CONFIG_H 6771 6772ac_libobjs= 6773ac_ltlibobjs= 6774for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6775 # 1. Remove the extension, and $U if already installed.
| 7765DEFS=-DHAVE_CONFIG_H 7766 7767ac_libobjs= 7768ac_ltlibobjs= 7769for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7770 # 1. Remove the extension, and $U if already installed.
|
6776 ac_i=`echo "$ac_i" | 6777 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 6778 # 2. Add them. 6779 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 6780 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
| 7771 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 7772 ac_i=`echo "$ac_i" | sed "$ac_script"` 7773 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 7774 # will be set to the directory where LIBOBJS objects are built. 7775 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7776 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
6781done 6782LIBOBJS=$ac_libobjs 6783 6784LTLIBOBJS=$ac_ltlibobjs 6785 6786 6787 6788: ${CONFIG_STATUS=./config.status} 6789ac_clean_files_save=$ac_clean_files 6790ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6791{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 6792echo "$as_me: creating $CONFIG_STATUS" >&6;} 6793cat >$CONFIG_STATUS <<_ACEOF 6794#! $SHELL 6795# Generated by $as_me. 6796# Run this file to recreate the current configuration. 6797# Compiler output produced by configure, useful for debugging 6798# configure, is in config.log if it exists. 6799 6800debug=false 6801ac_cs_recheck=false 6802ac_cs_silent=false 6803SHELL=\${CONFIG_SHELL-$SHELL} 6804_ACEOF 6805 6806cat >>$CONFIG_STATUS <<\_ACEOF 6807## --------------------- ## 6808## M4sh Initialization. ## 6809## --------------------- ## 6810
| 7777done 7778LIBOBJS=$ac_libobjs 7779 7780LTLIBOBJS=$ac_ltlibobjs 7781 7782 7783 7784: ${CONFIG_STATUS=./config.status} 7785ac_clean_files_save=$ac_clean_files 7786ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7787{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 7788echo "$as_me: creating $CONFIG_STATUS" >&6;} 7789cat >$CONFIG_STATUS <<_ACEOF 7790#! $SHELL 7791# Generated by $as_me. 7792# Run this file to recreate the current configuration. 7793# Compiler output produced by configure, useful for debugging 7794# configure, is in config.log if it exists. 7795 7796debug=false 7797ac_cs_recheck=false 7798ac_cs_silent=false 7799SHELL=\${CONFIG_SHELL-$SHELL} 7800_ACEOF 7801 7802cat >>$CONFIG_STATUS <<\_ACEOF 7803## --------------------- ## 7804## M4sh Initialization. ## 7805## --------------------- ## 7806
|
6811# Be Bourne compatible
| 7807# Be more Bourne compatible 7808DUALCASE=1; export DUALCASE # for MKS sh
|
6812if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6813 emulate sh 6814 NULLCMD=: 6815 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 6816 # is contrary to our usage. Disable this feature. 6817 alias -g '${1+"$@"}'='"$@"'
| 7809if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 7810 emulate sh 7811 NULLCMD=: 7812 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 7813 # is contrary to our usage. Disable this feature. 7814 alias -g '${1+"$@"}'='"$@"'
|
6818elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 6819 set -o posix
| 7815 setopt NO_GLOB_SUBST 7816else 7817 case `(set -o) 2>/dev/null` in 7818 *posix*) set -o posix ;; 7819esac 7820
|
6820fi 6821
| 7821fi 7822
|
| 7823 7824 7825 7826# PATH needs CR 7827# Avoid depending upon Character Ranges. 7828as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7829as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7830as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7831as_cr_digits='0123456789' 7832as_cr_alnum=$as_cr_Letters$as_cr_digits 7833 7834# The user is always right. 7835if test "${PATH_SEPARATOR+set}" != set; then 7836 echo "#! /bin/sh" >conf$$.sh 7837 echo "exit 0" >>conf$$.sh 7838 chmod +x conf$$.sh 7839 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 7840 PATH_SEPARATOR=';' 7841 else 7842 PATH_SEPARATOR=: 7843 fi 7844 rm -f conf$$.sh 7845fi 7846
|
6822# Support unset when possible.
| 7847# Support unset when possible.
|
6823if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
| 7848if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
6824 as_unset=unset 6825else 6826 as_unset=false 6827fi 6828 6829
| 7849 as_unset=unset 7850else 7851 as_unset=false 7852fi 7853 7854
|
| 7855# IFS 7856# We need space, tab and new line, in precisely that order. Quoting is 7857# there to prevent editors from complaining about space-tab. 7858# (If _AS_PATH_WALK were called with IFS unset, it would disable word 7859# splitting by setting IFS to empty value.) 7860as_nl=' 7861' 7862IFS=" "" $as_nl" 7863 7864# Find who we are. Look in the path if we contain no directory separator. 7865case $0 in 7866 *[\\/]* ) as_myself=$0 ;; 7867 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7868for as_dir in $PATH 7869do 7870 IFS=$as_save_IFS 7871 test -z "$as_dir" && as_dir=. 7872 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7873done 7874IFS=$as_save_IFS 7875 7876 ;; 7877esac 7878# We did not find ourselves, most probably we were run as `sh COMMAND' 7879# in which case we are not to be found in the path. 7880if test "x$as_myself" = x; then 7881 as_myself=$0 7882fi 7883if test ! -f "$as_myself"; then 7884 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 7885 { (exit 1); exit 1; } 7886fi 7887
|
6830# Work around bugs in pre-3.0 UWIN ksh.
| 7888# Work around bugs in pre-3.0 UWIN ksh.
|
6831$as_unset ENV MAIL MAILPATH
| 7889for as_var in ENV MAIL MAILPATH 7890do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7891done
|
6832PS1='$ ' 6833PS2='> ' 6834PS4='+ ' 6835 6836# NLS nuisances. 6837for as_var in \ 6838 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 6839 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 6840 LC_TELEPHONE LC_TIME 6841do
| 7892PS1='$ ' 7893PS2='> ' 7894PS4='+ ' 7895 7896# NLS nuisances. 7897for as_var in \ 7898 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7899 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7900 LC_TELEPHONE LC_TIME 7901do
|
6842 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
| 7902 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
6843 eval $as_var=C; export $as_var 6844 else
| 7903 eval $as_var=C; export $as_var 7904 else
|
6845 $as_unset $as_var
| 7905 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
6846 fi 6847done 6848 6849# Required to use basename.
| 7906 fi 7907done 7908 7909# Required to use basename.
|
6850if expr a : '\(a\)' >/dev/null 2>&1; then
| 7910if expr a : '\(a\)' >/dev/null 2>&1 && 7911 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
6851 as_expr=expr 6852else 6853 as_expr=false 6854fi 6855
| 7912 as_expr=expr 7913else 7914 as_expr=false 7915fi 7916
|
6856if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
| 7917if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
6857 as_basename=basename 6858else 6859 as_basename=false 6860fi 6861 6862 6863# Name of the executable.
| 7918 as_basename=basename 7919else 7920 as_basename=false 7921fi 7922 7923 7924# Name of the executable.
|
6864as_me=`$as_basename "$0" ||
| 7925as_me=`$as_basename -- "$0" ||
|
6865$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6866 X"$0" : 'X\(//\)$' \| \
| 7926$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7927 X"$0" : 'X\(//\)$' \| \
|
6867 X"$0" : 'X\(/\)$' \| \ 6868 . : '\(.\)' 2>/dev/null ||
| 7928 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
6869echo X/"$0" |
| 7929echo X/"$0" |
|
6870 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 6871 /^X\/\(\/\/\)$/{ s//\1/; q; } 6872 /^X\/\(\/\).*/{ s//\1/; q; } 6873 s/.*/./; q'`
| 7930 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7931 s//\1/ 7932 q 7933 } 7934 /^X\/\(\/\/\)$/{ 7935 s//\1/ 7936 q 7937 } 7938 /^X\/\(\/\).*/{ 7939 s//\1/ 7940 q 7941 } 7942 s/.*/./; q'`
|
6874
| 7943
|
| 7944# CDPATH. 7945$as_unset CDPATH
|
6875
| 7946
|
6876# PATH needs CR, and LINENO needs CR and PATH. 6877# Avoid depending upon Character Ranges. 6878as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6879as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6880as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6881as_cr_digits='0123456789' 6882as_cr_alnum=$as_cr_Letters$as_cr_digits
| |
6883
| 7947
|
6884# The user is always right. 6885if test "${PATH_SEPARATOR+set}" != set; then 6886 echo "#! /bin/sh" >conf$$.sh 6887 echo "exit 0" >>conf$$.sh 6888 chmod +x conf$$.sh 6889 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 6890 PATH_SEPARATOR=';' 6891 else 6892 PATH_SEPARATOR=: 6893 fi 6894 rm -f conf$$.sh 6895fi
| |
6896
| 7948
|
6897
| |
6898 as_lineno_1=$LINENO 6899 as_lineno_2=$LINENO
| 7949 as_lineno_1=$LINENO 7950 as_lineno_2=$LINENO
|
6900 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
| |
6901 test "x$as_lineno_1" != "x$as_lineno_2" &&
| 7951 test "x$as_lineno_1" != "x$as_lineno_2" &&
|
6902 test "x$as_lineno_3" = "x$as_lineno_2" || { 6903 # Find who we are. Look in the path if we contain no path at all 6904 # relative or not. 6905 case $0 in 6906 *[\\/]* ) as_myself=$0 ;; 6907 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6908for as_dir in $PATH 6909do 6910 IFS=$as_save_IFS 6911 test -z "$as_dir" && as_dir=. 6912 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6913done
| 7952 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
6914
| 7953
|
6915 ;; 6916 esac 6917 # We did not find ourselves, most probably we were run as `sh COMMAND' 6918 # in which case we are not to be found in the path. 6919 if test "x$as_myself" = x; then 6920 as_myself=$0 6921 fi 6922 if test ! -f "$as_myself"; then 6923 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 6924echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 6925 { (exit 1); exit 1; }; } 6926 fi 6927 case $CONFIG_SHELL in 6928 '') 6929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6930for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 6931do 6932 IFS=$as_save_IFS 6933 test -z "$as_dir" && as_dir=. 6934 for as_base in sh bash ksh sh5; do 6935 case $as_dir in 6936 /*) 6937 if ("$as_dir/$as_base" -c ' 6938 as_lineno_1=$LINENO 6939 as_lineno_2=$LINENO 6940 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 6941 test "x$as_lineno_1" != "x$as_lineno_2" && 6942 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 6943 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 6944 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 6945 CONFIG_SHELL=$as_dir/$as_base 6946 export CONFIG_SHELL 6947 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 6948 fi;; 6949 esac 6950 done 6951done 6952;; 6953 esac 6954
| |
6955 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 6956 # uniformly replaced by the line number. The first 'sed' inserts a
| 7954 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 7955 # uniformly replaced by the line number. The first 'sed' inserts a
|
6957 # line-number line before each line; the second 'sed' does the real 6958 # work. The second script uses 'N' to pair each line-number line 6959 # with the numbered line, and appends trailing '-' during 6960 # substitution so that $LINENO is not a special case at line end.
| 7956 # line-number line after each line using $LINENO; the second 'sed' 7957 # does the real work. The second script uses 'N' to pair each 7958 # line-number line with the line containing $LINENO, and appends 7959 # trailing '-' during substitution so that $LINENO is not a special 7960 # case at line end.
|
6961 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
| 7961 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
6962 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 6963 sed '=' <$as_myself |
| 7962 # scripts with optimization help from Paolo Bonzini. Blame Lee 7963 # E. McMahon (1931-1989) for sed's syntax. :-) 7964 sed -n ' 7965 p 7966 /[$]LINENO/= 7967 ' <$as_myself |
|
6964 sed '
| 7968 sed '
|
| 7969 s/[$]LINENO.*/&-/ 7970 t lineno 7971 b 7972 :lineno
|
6965 N
| 7973 N
|
6966 s,$,-, 6967 : loop 6968 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
| 7974 :loop 7975 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
6969 t loop
| 7976 t loop
|
6970 s,-$,, 6971 s,^['$as_cr_digits']*\n,,
| 7977 s/-\n.*//
|
6972 ' >$as_me.lineno &&
| 7978 ' >$as_me.lineno &&
|
6973 chmod +x $as_me.lineno || 6974 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 6975echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
| 7979 chmod +x "$as_me.lineno" || 7980 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
6976 { (exit 1); exit 1; }; } 6977 6978 # Don't try to exec as it changes $[0], causing all sort of problems 6979 # (the dirname of $[0] is not the place where we might find the
| 7981 { (exit 1); exit 1; }; } 7982 7983 # Don't try to exec as it changes $[0], causing all sort of problems 7984 # (the dirname of $[0] is not the place where we might find the
|
6980 # original and so on. Autoconf is especially sensible to this). 6981 . ./$as_me.lineno
| 7985 # original and so on. Autoconf is especially sensitive to this). 7986 . "./$as_me.lineno"
|
6982 # Exit status is that of the last command. 6983 exit 6984} 6985 6986
| 7987 # Exit status is that of the last command. 7988 exit 7989} 7990 7991
|
6987case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 6988 *c*,-n*) ECHO_N= ECHO_C=' 6989' ECHO_T=' ' ;; 6990 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 6991 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
| 7992if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7993 as_dirname=dirname 7994else 7995 as_dirname=false 7996fi 7997 7998ECHO_C= ECHO_N= ECHO_T= 7999case `echo -n x` in 8000-n*) 8001 case `echo 'x\c'` in 8002 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8003 *) ECHO_C='\c';; 8004 esac;; 8005*) 8006 ECHO_N='-n';;
|
6992esac 6993
| 8007esac 8008
|
6994if expr a : '\(a\)' >/dev/null 2>&1; then
| 8009if expr a : '\(a\)' >/dev/null 2>&1 && 8010 test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
6995 as_expr=expr 6996else 6997 as_expr=false 6998fi 6999 7000rm -f conf$$ conf$$.exe conf$$.file
| 8011 as_expr=expr 8012else 8013 as_expr=false 8014fi 8015 8016rm -f conf$$ conf$$.exe conf$$.file
|
| 8017if test -d conf$$.dir; then 8018 rm -f conf$$.dir/conf$$.file 8019else 8020 rm -f conf$$.dir 8021 mkdir conf$$.dir 8022fi
|
7001echo >conf$$.file 7002if ln -s conf$$.file conf$$ 2>/dev/null; then
| 8023echo >conf$$.file 8024if ln -s conf$$.file conf$$ 2>/dev/null; then
|
7003 # We could just check for DJGPP; but this test a) works b) is more generic 7004 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 7005 if test -f conf$$.exe; then 7006 # Don't use ln at all; we don't have any links
| 8025 as_ln_s='ln -s' 8026 # ... but there are two gotchas: 8027 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8028 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8029 # In both cases, we have to default to `cp -p'. 8030 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
7007 as_ln_s='cp -p'
| 8031 as_ln_s='cp -p'
|
7008 else 7009 as_ln_s='ln -s' 7010 fi
| |
7011elif ln conf$$.file conf$$ 2>/dev/null; then 7012 as_ln_s=ln 7013else 7014 as_ln_s='cp -p' 7015fi
| 8032elif ln conf$$.file conf$$ 2>/dev/null; then 8033 as_ln_s=ln 8034else 8035 as_ln_s='cp -p' 8036fi
|
7016rm -f conf$$ conf$$.exe conf$$.file
| 8037rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8038rmdir conf$$.dir 2>/dev/null
|
7017 7018if mkdir -p . 2>/dev/null; then 7019 as_mkdir_p=: 7020else
| 8039 8040if mkdir -p . 2>/dev/null; then 8041 as_mkdir_p=: 8042else
|
| 8043 test -d ./-p && rmdir ./-p
|
7021 as_mkdir_p=false 7022fi 7023
| 8044 as_mkdir_p=false 8045fi 8046
|
7024as_executable_p="test -f"
| 8047if test -x / >/dev/null 2>&1; then 8048 as_test_x='test -x' 8049else 8050 if ls -dL / >/dev/null 2>&1; then 8051 as_ls_L_option=L 8052 else 8053 as_ls_L_option= 8054 fi 8055 as_test_x=' 8056 eval sh -c '\'' 8057 if test -d "$1"; then 8058 test -d "$1/."; 8059 else 8060 case $1 in 8061 -*)set "./$1";; 8062 esac; 8063 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 8064 ???[sx]*):;;*)false;;esac;fi 8065 '\'' sh 8066 ' 8067fi 8068as_executable_p=$as_test_x
|
7025 7026# Sed expression to map a string onto a valid CPP name.
| 8069 8070# Sed expression to map a string onto a valid CPP name.
|
7027as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
| 8071as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
7028 7029# Sed expression to map a string onto a valid variable name.
| 8072 8073# Sed expression to map a string onto a valid variable name.
|
7030as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
| 8074as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
7031 7032
| 8075 8076
|
7033# IFS 7034# We need space, tab and new line, in precisely that order. 7035as_nl=' 7036' 7037IFS=" $as_nl" 7038 7039# CDPATH. 7040$as_unset CDPATH 7041
| |
7042exec 6>&1 7043
| 8077exec 6>&1 8078
|
7044# Open the log real soon, to keep \$[0] and so on meaningful, and to
| 8079# Save the log message, to keep $[0] and so on meaningful, and to
|
7045# report actual input values of CONFIG_FILES etc. instead of their
| 8080# report actual input values of CONFIG_FILES etc. instead of their
|
7046# values after options handling. Logging --version etc. is OK. 7047exec 5>>config.log 7048{ 7049 echo 7050 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7051## Running $as_me. ## 7052_ASBOX 7053} >&5 7054cat >&5 <<_CSEOF 7055
| 8081# values after options handling. 8082ac_log="
|
7056This file was extended by $as_me, which was
| 8083This file was extended by $as_me, which was
|
7057generated by GNU Autoconf 2.57. Invocation command line was
| 8084generated by GNU Autoconf 2.61. Invocation command line was
|
7058 7059 CONFIG_FILES = $CONFIG_FILES 7060 CONFIG_HEADERS = $CONFIG_HEADERS 7061 CONFIG_LINKS = $CONFIG_LINKS 7062 CONFIG_COMMANDS = $CONFIG_COMMANDS 7063 $ $0 $@ 7064
| 8085 8086 CONFIG_FILES = $CONFIG_FILES 8087 CONFIG_HEADERS = $CONFIG_HEADERS 8088 CONFIG_LINKS = $CONFIG_LINKS 8089 CONFIG_COMMANDS = $CONFIG_COMMANDS 8090 $ $0 $@ 8091
|
7065_CSEOF 7066echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 7067echo >&5
| 8092on `(hostname || uname -n) 2>/dev/null | sed 1q` 8093" 8094
|
7068_ACEOF 7069
| 8095_ACEOF 8096
|
| 8097cat >>$CONFIG_STATUS <<_ACEOF
|
7070# Files that config.status was made for.
| 8098# Files that config.status was made for.
|
7071if test -n "$ac_config_files"; then 7072 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 7073fi
| 8099config_files="$ac_config_files" 8100config_headers="$ac_config_headers"
|
7074
| 8101
|
7075if test -n "$ac_config_headers"; then 7076 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 7077fi
| 8102_ACEOF
|
7078
| 8103
|
7079if test -n "$ac_config_links"; then 7080 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 7081fi 7082 7083if test -n "$ac_config_commands"; then 7084 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 7085fi 7086
| |
7087cat >>$CONFIG_STATUS <<\_ACEOF
| 8104cat >>$CONFIG_STATUS <<\_ACEOF
|
7088
| |
7089ac_cs_usage="\ 7090\`$as_me' instantiates files from templates according to the 7091current configuration. 7092 7093Usage: $0 [OPTIONS] [FILE]... 7094 7095 -h, --help print this help, then exit
| 8105ac_cs_usage="\ 8106\`$as_me' instantiates files from templates according to the 8107current configuration. 8108 8109Usage: $0 [OPTIONS] [FILE]... 8110 8111 -h, --help print this help, then exit
|
7096 -V, --version print version number, then exit
| 8112 -V, --version print version number and configuration settings, then exit
|
7097 -q, --quiet do not print progress messages 7098 -d, --debug don't remove temporary files 7099 --recheck update $as_me by reconfiguring in the same conditions 7100 --file=FILE[:TEMPLATE]
| 8113 -q, --quiet do not print progress messages 8114 -d, --debug don't remove temporary files 8115 --recheck update $as_me by reconfiguring in the same conditions 8116 --file=FILE[:TEMPLATE]
|
7101 instantiate the configuration file FILE
| 8117 instantiate the configuration file FILE
|
7102 --header=FILE[:TEMPLATE]
| 8118 --header=FILE[:TEMPLATE]
|
7103 instantiate the configuration header FILE
| 8119 instantiate the configuration header FILE
|
7104 7105Configuration files: 7106$config_files 7107 7108Configuration headers: 7109$config_headers 7110 7111Report bugs to <bug-autoconf@gnu.org>."
| 8120 8121Configuration files: 8122$config_files 8123 8124Configuration headers: 8125$config_headers 8126 8127Report bugs to <bug-autoconf@gnu.org>."
|
7112_ACEOF
| |
7113
| 8128
|
| 8129_ACEOF
|
7114cat >>$CONFIG_STATUS <<_ACEOF 7115ac_cs_version="\\ 7116config.status
| 8130cat >>$CONFIG_STATUS <<_ACEOF 8131ac_cs_version="\\ 8132config.status
|
7117configured by $0, generated by GNU Autoconf 2.57, 7118 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
| 8133configured by $0, generated by GNU Autoconf 2.61, 8134 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
7119
| 8135
|
7120Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 7121Free Software Foundation, Inc.
| 8136Copyright (C) 2006 Free Software Foundation, Inc.
|
7122This config.status script is free software; the Free Software Foundation 7123gives unlimited permission to copy, distribute and modify it."
| 8137This config.status script is free software; the Free Software Foundation 8138gives unlimited permission to copy, distribute and modify it."
|
7124srcdir=$srcdir 7125INSTALL="$INSTALL"
| 8139 8140ac_pwd='$ac_pwd' 8141srcdir='$srcdir' 8142INSTALL='$INSTALL'
|
7126_ACEOF 7127 7128cat >>$CONFIG_STATUS <<\_ACEOF 7129# If no file are specified by the user, then we need to provide default 7130# value. By we need to know if files were specified by the user. 7131ac_need_defaults=: 7132while test $# != 0 7133do 7134 case $1 in 7135 --*=*)
| 8143_ACEOF 8144 8145cat >>$CONFIG_STATUS <<\_ACEOF 8146# If no file are specified by the user, then we need to provide default 8147# value. By we need to know if files were specified by the user. 8148ac_need_defaults=: 8149while test $# != 0 8150do 8151 case $1 in 8152 --*=*)
|
7136 ac_option=`expr "x$1" : 'x\([^=]*\)='` 7137 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
| 8153 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8154 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
7138 ac_shift=: 7139 ;;
| 8155 ac_shift=: 8156 ;;
|
7140 -*)
| 8157 *)
|
7141 ac_option=$1 7142 ac_optarg=$2 7143 ac_shift=shift 7144 ;;
| 8158 ac_option=$1 8159 ac_optarg=$2 8160 ac_shift=shift 8161 ;;
|
7145 *) # This is not an option, so the user has probably given explicit 7146 # arguments. 7147 ac_option=$1 7148 ac_need_defaults=false;;
| |
7149 esac 7150 7151 case $ac_option in 7152 # Handling of the options.
| 8162 esac 8163 8164 case $ac_option in 8165 # Handling of the options.
|
7153_ACEOF 7154cat >>$CONFIG_STATUS <<\_ACEOF
| |
7155 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7156 ac_cs_recheck=: ;;
| 8166 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8167 ac_cs_recheck=: ;;
|
7157 --version | --vers* | -V ) 7158 echo "$ac_cs_version"; exit 0 ;; 7159 --he | --h) 7160 # Conflict between --help and --header 7161 { { echo "$as_me:$LINENO: error: ambiguous option: $1 7162Try \`$0 --help' for more information." >&5 7163echo "$as_me: error: ambiguous option: $1 7164Try \`$0 --help' for more information." >&2;} 7165 { (exit 1); exit 1; }; };; 7166 --help | --hel | -h ) 7167 echo "$ac_cs_usage"; exit 0 ;; 7168 --debug | --d* | -d )
| 8168 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8169 echo "$ac_cs_version"; exit ;; 8170 --debug | --debu | --deb | --de | --d | -d )
|
7169 debug=: ;; 7170 --file | --fil | --fi | --f ) 7171 $ac_shift 7172 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 7173 ac_need_defaults=false;; 7174 --header | --heade | --head | --hea ) 7175 $ac_shift 7176 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 7177 ac_need_defaults=false;;
| 8171 debug=: ;; 8172 --file | --fil | --fi | --f ) 8173 $ac_shift 8174 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 8175 ac_need_defaults=false;; 8176 --header | --heade | --head | --hea ) 8177 $ac_shift 8178 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8179 ac_need_defaults=false;;
|
| 8180 --he | --h) 8181 # Conflict between --help and --header 8182 { echo "$as_me: error: ambiguous option: $1 8183Try \`$0 --help' for more information." >&2 8184 { (exit 1); exit 1; }; };; 8185 --help | --hel | -h ) 8186 echo "$ac_cs_usage"; exit ;;
|
7178 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7179 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7180 ac_cs_silent=: ;; 7181 7182 # This is an error.
| 8187 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8188 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8189 ac_cs_silent=: ;; 8190 8191 # This is an error.
|
7183 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 7184Try \`$0 --help' for more information." >&5 7185echo "$as_me: error: unrecognized option: $1 7186Try \`$0 --help' for more information." >&2;}
| 8192 -*) { echo "$as_me: error: unrecognized option: $1 8193Try \`$0 --help' for more information." >&2
|
7187 { (exit 1); exit 1; }; } ;; 7188
| 8194 { (exit 1); exit 1; }; } ;; 8195
|
7189 *) ac_config_targets="$ac_config_targets $1" ;;
| 8196 *) ac_config_targets="$ac_config_targets $1" 8197 ac_need_defaults=false ;;
|
7190 7191 esac 7192 shift 7193done 7194 7195ac_configure_extra_args= 7196 7197if $ac_cs_silent; then 7198 exec 6>/dev/null 7199 ac_configure_extra_args="$ac_configure_extra_args --silent" 7200fi 7201 7202_ACEOF 7203cat >>$CONFIG_STATUS <<_ACEOF 7204if \$ac_cs_recheck; then
| 8198 8199 esac 8200 shift 8201done 8202 8203ac_configure_extra_args= 8204 8205if $ac_cs_silent; then 8206 exec 6>/dev/null 8207 ac_configure_extra_args="$ac_configure_extra_args --silent" 8208fi 8209 8210_ACEOF 8211cat >>$CONFIG_STATUS <<_ACEOF 8212if \$ac_cs_recheck; then
|
7205 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 7206 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
| 8213 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8214 CONFIG_SHELL=$SHELL 8215 export CONFIG_SHELL 8216 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
7207fi 7208 7209_ACEOF
| 8217fi 8218 8219_ACEOF
|
| 8220cat >>$CONFIG_STATUS <<\_ACEOF 8221exec 5>>config.log 8222{ 8223 echo 8224 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 8225## Running $as_me. ## 8226_ASBOX 8227 echo "$ac_log" 8228} >&5
|
7210
| 8229
|
| 8230_ACEOF 8231cat >>$CONFIG_STATUS <<_ACEOF 8232_ACEOF
|
7211
| 8233
|
7212 7213 7214
| |
7215cat >>$CONFIG_STATUS <<\_ACEOF
| 8234cat >>$CONFIG_STATUS <<\_ACEOF
|
| 8235 8236# Handling of arguments.
|
7216for ac_config_target in $ac_config_targets 7217do
| 8237for ac_config_target in $ac_config_targets 8238do
|
7218 case "$ac_config_target" in 7219 # Handling of arguments. 7220 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7221 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
| 8239 case $ac_config_target in 8240 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8241 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8242
|
7222 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 7223echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 7224 { (exit 1); exit 1; }; };; 7225 esac 7226done 7227
| 8243 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 8244echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 8245 { (exit 1); exit 1; }; };; 8246 esac 8247done 8248
|
| 8249
|
7228# If the user did not use the arguments to specify the items to instantiate, 7229# then the envvar interface is used. Set only those that are not. 7230# We use the long form for the default assignment because of an extremely 7231# bizarre bug on SunOS 4.1.3. 7232if $ac_need_defaults; then 7233 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7234 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7235fi 7236 7237# Have a temporary directory for convenience. Make it in the build tree
| 8250# If the user did not use the arguments to specify the items to instantiate, 8251# then the envvar interface is used. Set only those that are not. 8252# We use the long form for the default assignment because of an extremely 8253# bizarre bug on SunOS 4.1.3. 8254if $ac_need_defaults; then 8255 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 8256 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 8257fi 8258 8259# Have a temporary directory for convenience. Make it in the build tree
|
7238# simply because there is no reason to put it here, and in addition,
| 8260# simply because there is no reason against having it here, and in addition,
|
7239# creating and moving files from /tmp can sometimes cause problems.
| 8261# creating and moving files from /tmp can sometimes cause problems.
|
7240# Create a temporary directory, and hook for its removal unless debugging.
| 8262# Hook for its removal unless debugging. 8263# Note that there is a small window in which the directory will not be cleaned: 8264# after its creation but before its name has been assigned to `$tmp'.
|
7241$debug || 7242{
| 8265$debug || 8266{
|
7243 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
| 8267 tmp= 8268 trap 'exit_status=$? 8269 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 8270' 0
|
7244 trap '{ (exit 1); exit 1; }' 1 2 13 15 7245}
| 8271 trap '{ (exit 1); exit 1; }' 1 2 13 15 8272}
|
7246
| |
7247# Create a (secure) tmp directory for tmp files. 7248 7249{
| 8273# Create a (secure) tmp directory for tmp files. 8274 8275{
|
7250 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
| 8276 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
7251 test -n "$tmp" && test -d "$tmp" 7252} || 7253{
| 8277 test -n "$tmp" && test -d "$tmp" 8278} || 8279{
|
7254 tmp=./confstat$$-$RANDOM 7255 (umask 077 && mkdir $tmp)
| 8280 tmp=./conf$$-$RANDOM 8281 (umask 077 && mkdir "$tmp")
|
7256} || 7257{ 7258 echo "$me: cannot create a temporary directory in ." >&2 7259 { (exit 1); exit 1; } 7260} 7261
| 8282} || 8283{ 8284 echo "$me: cannot create a temporary directory in ." >&2 8285 { (exit 1); exit 1; } 8286} 8287
|
7262_ACEOF 7263 7264cat >>$CONFIG_STATUS <<_ACEOF 7265
| |
7266#
| 8288#
|
7267# CONFIG_FILES section.
| 8289# Set up the sed scripts for CONFIG_FILES section.
|
7268# 7269 7270# No need to generate the scripts if there are no CONFIG_FILES. 7271# This happens for instance when ./config.status config.h
| 8290# 8291 8292# No need to generate the scripts if there are no CONFIG_FILES. 8293# This happens for instance when ./config.status config.h
|
7272if test -n "\$CONFIG_FILES"; then 7273 # Protect against being on the right side of a sed subst in config.status. 7274 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 7275 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 7276s,@SHELL@,$SHELL,;t t 7277s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 7278s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 7279s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 7280s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 7281s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 7282s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 7283s,@exec_prefix@,$exec_prefix,;t t 7284s,@prefix@,$prefix,;t t 7285s,@program_transform_name@,$program_transform_name,;t t 7286s,@bindir@,$bindir,;t t 7287s,@sbindir@,$sbindir,;t t 7288s,@libexecdir@,$libexecdir,;t t 7289s,@datadir@,$datadir,;t t 7290s,@sysconfdir@,$sysconfdir,;t t 7291s,@sharedstatedir@,$sharedstatedir,;t t 7292s,@localstatedir@,$localstatedir,;t t 7293s,@libdir@,$libdir,;t t 7294s,@includedir@,$includedir,;t t 7295s,@oldincludedir@,$oldincludedir,;t t 7296s,@infodir@,$infodir,;t t 7297s,@mandir@,$mandir,;t t 7298s,@build_alias@,$build_alias,;t t 7299s,@host_alias@,$host_alias,;t t 7300s,@target_alias@,$target_alias,;t t 7301s,@DEFS@,$DEFS,;t t 7302s,@ECHO_C@,$ECHO_C,;t t 7303s,@ECHO_N@,$ECHO_N,;t t 7304s,@ECHO_T@,$ECHO_T,;t t 7305s,@LIBS@,$LIBS,;t t 7306s,@build@,$build,;t t 7307s,@build_cpu@,$build_cpu,;t t 7308s,@build_vendor@,$build_vendor,;t t 7309s,@build_os@,$build_os,;t t 7310s,@host@,$host,;t t 7311s,@host_cpu@,$host_cpu,;t t 7312s,@host_vendor@,$host_vendor,;t t 7313s,@host_os@,$host_os,;t t 7314s,@target@,$target,;t t 7315s,@target_cpu@,$target_cpu,;t t 7316s,@target_vendor@,$target_vendor,;t t 7317s,@target_os@,$target_os,;t t 7318s,@SHLICC2@,$SHLICC2,;t t 7319s,@CC@,$CC,;t t 7320s,@CFLAGS@,$CFLAGS,;t t 7321s,@LDFLAGS@,$LDFLAGS,;t t 7322s,@CPPFLAGS@,$CPPFLAGS,;t t 7323s,@ac_ct_CC@,$ac_ct_CC,;t t 7324s,@EXEEXT@,$EXEEXT,;t t 7325s,@OBJEXT@,$OBJEXT,;t t 7326s,@CPP@,$CPP,;t t 7327s,@EGREP@,$EGREP,;t t 7328s,@LIBOBJS@,$LIBOBJS,;t t 7329s,@V_LEX@,$V_LEX,;t t 7330s,@V_YACC@,$V_YACC,;t t 7331s,@RANLIB@,$RANLIB,;t t 7332s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 7333s,@V_CCOPT@,$V_CCOPT,;t t 7334s,@V_DEFS@,$V_DEFS,;t t 7335s,@V_INCLS@,$V_INCLS,;t t 7336s,@V_LIBS@,$V_LIBS,;t t 7337s,@V_PCAP@,$V_PCAP,;t t 7338s,@V_FINDALLDEVS@,$V_FINDALLDEVS,;t t 7339s,@V_RANLIB@,$V_RANLIB,;t t 7340s,@SSRC@,$SSRC,;t t 7341s,@DYEXT@,$DYEXT,;t t 7342s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 7343s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 7344s,@INSTALL_DATA@,$INSTALL_DATA,;t t 7345s,@LTLIBOBJS@,$LTLIBOBJS,;t t 7346CEOF
| 8294if test -n "$CONFIG_FILES"; then
|
7347 7348_ACEOF 7349
| 8295 8296_ACEOF 8297
|
7350 cat >>$CONFIG_STATUS <<\_ACEOF 7351 # Split the substitutions into bite-sized pieces for seds with 7352 # small command number limits, like on Digital OSF/1 and HP-UX. 7353 ac_max_sed_lines=48 7354 ac_sed_frag=1 # Number of current file. 7355 ac_beg=1 # First line for current file. 7356 ac_end=$ac_max_sed_lines # Line after last line for current file. 7357 ac_more_lines=: 7358 ac_sed_cmds= 7359 while $ac_more_lines; do 7360 if test $ac_beg -gt 1; then 7361 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 7362 else 7363 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 7364 fi 7365 if test ! -s $tmp/subs.frag; then 7366 ac_more_lines=false 7367 else 7368 # The purpose of the label and of the branching condition is to 7369 # speed up the sed processing (if there are no `@' at all, there 7370 # is no need to browse any of the substitutions). 7371 # These are the two extra sed commands mentioned above. 7372 (echo ':t 7373 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 7374 if test -z "$ac_sed_cmds"; then 7375 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 7376 else 7377 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 7378 fi 7379 ac_sed_frag=`expr $ac_sed_frag + 1` 7380 ac_beg=$ac_end 7381 ac_end=`expr $ac_end + $ac_max_sed_lines` 7382 fi 7383 done 7384 if test -z "$ac_sed_cmds"; then 7385 ac_sed_cmds=cat
| 8298 8299 8300ac_delim='%!_!# ' 8301for ac_last_try in false false false false false :; do 8302 cat >conf$$subs.sed <<_ACEOF 8303SHELL!$SHELL$ac_delim 8304PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 8305PACKAGE_NAME!$PACKAGE_NAME$ac_delim 8306PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 8307PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 8308PACKAGE_STRING!$PACKAGE_STRING$ac_delim 8309PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 8310exec_prefix!$exec_prefix$ac_delim 8311prefix!$prefix$ac_delim 8312program_transform_name!$program_transform_name$ac_delim 8313bindir!$bindir$ac_delim 8314sbindir!$sbindir$ac_delim 8315libexecdir!$libexecdir$ac_delim 8316datarootdir!$datarootdir$ac_delim 8317datadir!$datadir$ac_delim 8318sysconfdir!$sysconfdir$ac_delim 8319sharedstatedir!$sharedstatedir$ac_delim 8320localstatedir!$localstatedir$ac_delim 8321includedir!$includedir$ac_delim 8322oldincludedir!$oldincludedir$ac_delim 8323docdir!$docdir$ac_delim 8324infodir!$infodir$ac_delim 8325htmldir!$htmldir$ac_delim 8326dvidir!$dvidir$ac_delim 8327pdfdir!$pdfdir$ac_delim 8328psdir!$psdir$ac_delim 8329libdir!$libdir$ac_delim 8330localedir!$localedir$ac_delim 8331mandir!$mandir$ac_delim 8332DEFS!$DEFS$ac_delim 8333ECHO_C!$ECHO_C$ac_delim 8334ECHO_N!$ECHO_N$ac_delim 8335ECHO_T!$ECHO_T$ac_delim 8336LIBS!$LIBS$ac_delim 8337build_alias!$build_alias$ac_delim 8338host_alias!$host_alias$ac_delim 8339target_alias!$target_alias$ac_delim 8340build!$build$ac_delim 8341build_cpu!$build_cpu$ac_delim 8342build_vendor!$build_vendor$ac_delim 8343build_os!$build_os$ac_delim 8344host!$host$ac_delim 8345host_cpu!$host_cpu$ac_delim 8346host_vendor!$host_vendor$ac_delim 8347host_os!$host_os$ac_delim 8348target!$target$ac_delim 8349target_cpu!$target_cpu$ac_delim 8350target_vendor!$target_vendor$ac_delim 8351target_os!$target_os$ac_delim 8352SHLICC2!$SHLICC2$ac_delim 8353CC!$CC$ac_delim 8354CFLAGS!$CFLAGS$ac_delim 8355LDFLAGS!$LDFLAGS$ac_delim 8356CPPFLAGS!$CPPFLAGS$ac_delim 8357ac_ct_CC!$ac_ct_CC$ac_delim 8358EXEEXT!$EXEEXT$ac_delim 8359OBJEXT!$OBJEXT$ac_delim 8360CPP!$CPP$ac_delim 8361GREP!$GREP$ac_delim 8362EGREP!$EGREP$ac_delim 8363LIBOBJS!$LIBOBJS$ac_delim 8364V_LEX!$V_LEX$ac_delim 8365V_YACC!$V_YACC$ac_delim 8366RANLIB!$RANLIB$ac_delim 8367V_CCOPT!$V_CCOPT$ac_delim 8368V_DEFS!$V_DEFS$ac_delim 8369V_INCLS!$V_INCLS$ac_delim 8370V_LIBS!$V_LIBS$ac_delim 8371V_PCAP!$V_PCAP$ac_delim 8372V_FINDALLDEVS!$V_FINDALLDEVS$ac_delim 8373V_RANLIB!$V_RANLIB$ac_delim 8374SSRC!$SSRC$ac_delim 8375DYEXT!$DYEXT$ac_delim 8376DAGLIBS!$DAGLIBS$ac_delim 8377INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 8378INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 8379INSTALL_DATA!$INSTALL_DATA$ac_delim 8380LTLIBOBJS!$LTLIBOBJS$ac_delim 8381_ACEOF 8382 8383 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then 8384 break 8385 elif $ac_last_try; then 8386 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 8387echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 8388 { (exit 1); exit 1; }; } 8389 else 8390 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
7386 fi
| 8391 fi
|
7387fi # test -n "$CONFIG_FILES"
| 8392done
|
7388
| 8393
|
| 8394ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 8395if test -n "$ac_eof"; then 8396 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 8397 ac_eof=`expr $ac_eof + 1` 8398fi 8399 8400cat >>$CONFIG_STATUS <<_ACEOF 8401cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 8402/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
|
7389_ACEOF
| 8403_ACEOF
|
| 8404sed ' 8405s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 8406s/^/s,@/; s/!/@,|#_!!_#|/ 8407:n 8408t n 8409s/'"$ac_delim"'$/,g/; t 8410s/$/\\/; p 8411N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 8412' >>$CONFIG_STATUS <conf$$subs.sed 8413rm -f conf$$subs.sed 8414cat >>$CONFIG_STATUS <<_ACEOF 8415:end 8416s/|#_!!_#|//g 8417CEOF$ac_eof 8418_ACEOF 8419 8420 8421# VPATH may cause trouble with some makes, so we remove $(srcdir), 8422# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 8423# trailing colons and then remove the whole line if VPATH becomes empty 8424# (actually we leave an empty line to preserve line numbers). 8425if test "x$srcdir" = x.; then 8426 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 8427s/:*\$(srcdir):*/:/ 8428s/:*\${srcdir}:*/:/ 8429s/:*@srcdir@:*/:/ 8430s/^\([^=]*=[ ]*\):*/\1/ 8431s/:*$// 8432s/^[^=]*=[ ]*$// 8433}' 8434fi 8435
|
7390cat >>$CONFIG_STATUS <<\_ACEOF
| 8436cat >>$CONFIG_STATUS <<\_ACEOF
|
7391for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 7392 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 7393 case $ac_file in 7394 - | *:- | *:-:* ) # input from stdin 7395 cat >$tmp/stdin 7396 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7397 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7398 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7399 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7400 * ) ac_file_in=$ac_file.in ;;
| 8437fi # test -n "$CONFIG_FILES" 8438 8439 8440for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 8441do 8442 case $ac_tag in 8443 :[FHLC]) ac_mode=$ac_tag; continue;;
|
7401 esac
| 8444 esac
|
| 8445 case $ac_mode$ac_tag in 8446 :[FHL]*:*);; 8447 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 8448echo "$as_me: error: Invalid tag $ac_tag." >&2;} 8449 { (exit 1); exit 1; }; };; 8450 :[FH]-) ac_tag=-:-;; 8451 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8452 esac 8453 ac_save_IFS=$IFS 8454 IFS=: 8455 set x $ac_tag 8456 IFS=$ac_save_IFS 8457 shift 8458 ac_file=$1 8459 shift
|
7402
| 8460
|
7403 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 7404 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
| 8461 case $ac_mode in 8462 :L) ac_source=$1;; 8463 :[FH]) 8464 ac_file_inputs= 8465 for ac_f 8466 do 8467 case $ac_f in 8468 -) ac_f="$tmp/stdin";; 8469 *) # Look for the file first in the build tree, then in the source tree 8470 # (if the path is not absolute). The absolute path cannot be DOS-style, 8471 # because $ac_f cannot contain `:'. 8472 test -f "$ac_f" || 8473 case $ac_f in 8474 [\\/$]*) false;; 8475 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8476 esac || 8477 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 8478echo "$as_me: error: cannot find input file: $ac_f" >&2;} 8479 { (exit 1); exit 1; }; };; 8480 esac 8481 ac_file_inputs="$ac_file_inputs $ac_f" 8482 done 8483 8484 # Let's still pretend it is `configure' which instantiates (i.e., don't 8485 # use $as_me), people would be surprised to read: 8486 # /* config.h. Generated by config.status. */ 8487 configure_input="Generated from "`IFS=: 8488 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 8489 if test x"$ac_file" != x-; then 8490 configure_input="$ac_file. $configure_input" 8491 { echo "$as_me:$LINENO: creating $ac_file" >&5 8492echo "$as_me: creating $ac_file" >&6;} 8493 fi 8494 8495 case $ac_tag in 8496 *:-:* | *:-) cat >"$tmp/stdin";; 8497 esac 8498 ;; 8499 esac 8500 8501 ac_dir=`$as_dirname -- "$ac_file" ||
|
7405$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
| 8502$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7406 X"$ac_file" : 'X\(//\)[^/]' \| \ 7407 X"$ac_file" : 'X\(//\)$' \| \ 7408 X"$ac_file" : 'X\(/\)' \| \ 7409 . : '\(.\)' 2>/dev/null ||
| 8503 X"$ac_file" : 'X\(//\)[^/]' \| \ 8504 X"$ac_file" : 'X\(//\)$' \| \ 8505 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
7410echo X"$ac_file" |
| 8506echo X"$ac_file" |
|
7411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7412 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7413 /^X\(\/\/\)$/{ s//\1/; q; } 7414 /^X\(\/\).*/{ s//\1/; q; } 7415 s/.*/./; q'` 7416 { if $as_mkdir_p; then 7417 mkdir -p "$ac_dir" 7418 else 7419 as_dir="$ac_dir"
| 8507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8508 s//\1/ 8509 q 8510 } 8511 /^X\(\/\/\)[^/].*/{ 8512 s//\1/ 8513 q 8514 } 8515 /^X\(\/\/\)$/{ 8516 s//\1/ 8517 q 8518 } 8519 /^X\(\/\).*/{ 8520 s//\1/ 8521 q 8522 } 8523 s/.*/./; q'` 8524 { as_dir="$ac_dir" 8525 case $as_dir in #( 8526 -*) as_dir=./$as_dir;; 8527 esac 8528 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
7420 as_dirs=
| 8529 as_dirs=
|
7421 while test ! -d "$as_dir"; do 7422 as_dirs="$as_dir $as_dirs" 7423 as_dir=`(dirname "$as_dir") 2>/dev/null ||
| 8530 while :; do 8531 case $as_dir in #( 8532 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 8533 *) as_qdir=$as_dir;; 8534 esac 8535 as_dirs="'$as_qdir' $as_dirs" 8536 as_dir=`$as_dirname -- "$as_dir" ||
|
7424$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
| 8537$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7425 X"$as_dir" : 'X\(//\)[^/]' \| \ 7426 X"$as_dir" : 'X\(//\)$' \| \ 7427 X"$as_dir" : 'X\(/\)' \| \ 7428 . : '\(.\)' 2>/dev/null ||
| 8538 X"$as_dir" : 'X\(//\)[^/]' \| \ 8539 X"$as_dir" : 'X\(//\)$' \| \ 8540 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
7429echo X"$as_dir" |
| 8541echo X"$as_dir" |
|
7430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7431 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7432 /^X\(\/\/\)$/{ s//\1/; q; } 7433 /^X\(\/\).*/{ s//\1/; q; } 7434 s/.*/./; q'`
| 8542 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8543 s//\1/ 8544 q 8545 } 8546 /^X\(\/\/\)[^/].*/{ 8547 s//\1/ 8548 q 8549 } 8550 /^X\(\/\/\)$/{ 8551 s//\1/ 8552 q 8553 } 8554 /^X\(\/\).*/{ 8555 s//\1/ 8556 q 8557 } 8558 s/.*/./; q'` 8559 test -d "$as_dir" && break
|
7435 done
| 8560 done
|
7436 test ! -n "$as_dirs" || mkdir $as_dirs 7437 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 7438echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
| 8561 test -z "$as_dirs" || eval "mkdir $as_dirs" 8562 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 8563echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
7439 { (exit 1); exit 1; }; }; }
| 8564 { (exit 1); exit 1; }; }; }
|
7440
| |
7441 ac_builddir=. 7442
| 8565 ac_builddir=. 8566
|
7443if test "$ac_dir" != .; then
| 8567case "$ac_dir" in 8568.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8569*)
|
7444 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
| 8570 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
7445 # A "../" for each directory in $ac_dir_suffix. 7446 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 7447else 7448 ac_dir_suffix= ac_top_builddir= 7449fi
| 8571 # A ".." for each directory in $ac_dir_suffix. 8572 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 8573 case $ac_top_builddir_sub in 8574 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8575 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8576 esac ;; 8577esac 8578ac_abs_top_builddir=$ac_pwd 8579ac_abs_builddir=$ac_pwd$ac_dir_suffix 8580# for backward compatibility: 8581ac_top_builddir=$ac_top_build_prefix
|
7450 7451case $srcdir in
| 8582 8583case $srcdir in
|
7452 .) # No --srcdir option. We are building in place.
| 8584 .) # We are building in place.
|
7453 ac_srcdir=.
| 8585 ac_srcdir=.
|
7454 if test -z "$ac_top_builddir"; then 7455 ac_top_srcdir=. 7456 else 7457 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 7458 fi ;; 7459 [\\/]* | ?:[\\/]* ) # Absolute path.
| 8586 ac_top_srcdir=$ac_top_builddir_sub 8587 ac_abs_top_srcdir=$ac_pwd ;; 8588 [\\/]* | ?:[\\/]* ) # Absolute name.
|
7460 ac_srcdir=$srcdir$ac_dir_suffix;
| 8589 ac_srcdir=$srcdir$ac_dir_suffix;
|
7461 ac_top_srcdir=$srcdir ;; 7462 *) # Relative path. 7463 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 7464 ac_top_srcdir=$ac_top_builddir$srcdir ;;
| 8590 ac_top_srcdir=$srcdir 8591 ac_abs_top_srcdir=$srcdir ;; 8592 *) # Relative name. 8593 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8594 ac_top_srcdir=$ac_top_build_prefix$srcdir 8595 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
7465esac
| 8596esac
|
7466# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 7467# absolute. 7468ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 7469ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 7470ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 7471ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
| 8597ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
7472 7473
| 8598 8599
|
| 8600 case $ac_mode in 8601 :F) 8602 # 8603 # CONFIG_FILE 8604 # 8605
|
7474 case $INSTALL in 7475 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
| 8606 case $INSTALL in 8607 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
7476 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
| 8608 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
7477 esac
| 8609 esac
|
| 8610_ACEOF
|
7478
| 8611
|
7479 if test x"$ac_file" != x-; then 7480 { echo "$as_me:$LINENO: creating $ac_file" >&5 7481echo "$as_me: creating $ac_file" >&6;} 7482 rm -f "$ac_file" 7483 fi 7484 # Let's still pretend it is `configure' which instantiates (i.e., don't 7485 # use $as_me), people would be surprised to read: 7486 # /* config.h. Generated by config.status. */ 7487 if test x"$ac_file" = x-; then 7488 configure_input= 7489 else 7490 configure_input="$ac_file. " 7491 fi 7492 configure_input=$configure_input"Generated from `echo $ac_file_in | 7493 sed 's,.*/,,'` by configure."
| 8612cat >>$CONFIG_STATUS <<\_ACEOF 8613# If the template does not know about datarootdir, expand it. 8614# FIXME: This hack should be removed a few years after 2.60. 8615ac_datarootdir_hack=; ac_datarootdir_seen=
|
7494
| 8616
|
7495 # First look for the input files in the build tree, otherwise in the 7496 # src tree. 7497 ac_file_inputs=`IFS=: 7498 for f in $ac_file_in; do 7499 case $f in 7500 -) echo $tmp/stdin ;; 7501 [\\/$]*) 7502 # Absolute (can't be DOS-style, as IFS=:) 7503 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7504echo "$as_me: error: cannot find input file: $f" >&2;} 7505 { (exit 1); exit 1; }; } 7506 echo $f;; 7507 *) # Relative 7508 if test -f "$f"; then 7509 # Build tree 7510 echo $f 7511 elif test -f "$srcdir/$f"; then 7512 # Source tree 7513 echo $srcdir/$f 7514 else 7515 # /dev/null tree 7516 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7517echo "$as_me: error: cannot find input file: $f" >&2;} 7518 { (exit 1); exit 1; }; } 7519 fi;; 7520 esac 7521 done` || { (exit 1); exit 1; }
| 8617case `sed -n '/datarootdir/ { 8618 p 8619 q 8620} 8621/@datadir@/p 8622/@docdir@/p 8623/@infodir@/p 8624/@localedir@/p 8625/@mandir@/p 8626' $ac_file_inputs` in 8627*datarootdir*) ac_datarootdir_seen=yes;; 8628*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 8629 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 8630echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
7522_ACEOF 7523cat >>$CONFIG_STATUS <<_ACEOF
| 8631_ACEOF 8632cat >>$CONFIG_STATUS <<_ACEOF
|
| 8633 ac_datarootdir_hack=' 8634 s&@datadir@&$datadir&g 8635 s&@docdir@&$docdir&g 8636 s&@infodir@&$infodir&g 8637 s&@localedir@&$localedir&g 8638 s&@mandir@&$mandir&g 8639 s&\\\${datarootdir}&$datarootdir&g' ;; 8640esac 8641_ACEOF 8642 8643# Neutralize VPATH when `$srcdir' = `.'. 8644# Shell code in configure.ac might set extrasub. 8645# FIXME: do we really want to maintain this feature? 8646cat >>$CONFIG_STATUS <<_ACEOF
|
7524 sed "$ac_vpsub 7525$extrasub 7526_ACEOF 7527cat >>$CONFIG_STATUS <<\_ACEOF 7528:t 7529/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
| 8647 sed "$ac_vpsub 8648$extrasub 8649_ACEOF 8650cat >>$CONFIG_STATUS <<\_ACEOF 8651:t 8652/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
7530s,@configure_input@,$configure_input,;t t 7531s,@srcdir@,$ac_srcdir,;t t 7532s,@abs_srcdir@,$ac_abs_srcdir,;t t 7533s,@top_srcdir@,$ac_top_srcdir,;t t 7534s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 7535s,@builddir@,$ac_builddir,;t t 7536s,@abs_builddir@,$ac_abs_builddir,;t t 7537s,@top_builddir@,$ac_top_builddir,;t t 7538s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 7539s,@INSTALL@,$ac_INSTALL,;t t 7540" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 7541 rm -f $tmp/stdin 7542 if test x"$ac_file" != x-; then 7543 mv $tmp/out $ac_file 7544 else 7545 cat $tmp/out 7546 rm -f $tmp/out 7547 fi
| 8653s&@configure_input@&$configure_input&;t t 8654s&@top_builddir@&$ac_top_builddir_sub&;t t 8655s&@srcdir@&$ac_srcdir&;t t 8656s&@abs_srcdir@&$ac_abs_srcdir&;t t 8657s&@top_srcdir@&$ac_top_srcdir&;t t 8658s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 8659s&@builddir@&$ac_builddir&;t t 8660s&@abs_builddir@&$ac_abs_builddir&;t t 8661s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 8662s&@INSTALL@&$ac_INSTALL&;t t 8663$ac_datarootdir_hack 8664" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
|
7548
| 8665
|
7549done 7550_ACEOF 7551cat >>$CONFIG_STATUS <<\_ACEOF
| 8666test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 8667 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 8668 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 8669 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8670which seems to be undefined. Please make sure it is defined." >&5 8671echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8672which seems to be undefined. Please make sure it is defined." >&2;}
|
7552
| 8673
|
7553# 7554# CONFIG_HEADER section. 7555# 7556 7557# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 7558# NAME is the cpp macro being defined and VALUE is the value it is being given. 7559# 7560# ac_d sets the value in "#define NAME VALUE" lines. 7561ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 7562ac_dB='[ ].*$,\1#\2' 7563ac_dC=' ' 7564ac_dD=',;t' 7565# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 7566ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 7567ac_uB='$,\1#\2define\3' 7568ac_uC=' ' 7569ac_uD=',;t' 7570 7571for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 7572 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
| 8674 rm -f "$tmp/stdin"
|
7573 case $ac_file in
| 8675 case $ac_file in
|
7574 - | *:- | *:-:* ) # input from stdin 7575 cat >$tmp/stdin 7576 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7577 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7578 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7579 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7580 * ) ac_file_in=$ac_file.in ;;
| 8676 -) cat "$tmp/out"; rm -f "$tmp/out";; 8677 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
|
7581 esac
| 8678 esac
|
7582 7583 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 7584echo "$as_me: creating $ac_file" >&6;} 7585 7586 # First look for the input files in the build tree, otherwise in the 7587 # src tree. 7588 ac_file_inputs=`IFS=: 7589 for f in $ac_file_in; do 7590 case $f in 7591 -) echo $tmp/stdin ;; 7592 [\\/$]*) 7593 # Absolute (can't be DOS-style, as IFS=:) 7594 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7595echo "$as_me: error: cannot find input file: $f" >&2;} 7596 { (exit 1); exit 1; }; } 7597 echo $f;; 7598 *) # Relative 7599 if test -f "$f"; then 7600 # Build tree 7601 echo $f 7602 elif test -f "$srcdir/$f"; then 7603 # Source tree 7604 echo $srcdir/$f 7605 else 7606 # /dev/null tree 7607 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7608echo "$as_me: error: cannot find input file: $f" >&2;} 7609 { (exit 1); exit 1; }; } 7610 fi;; 7611 esac 7612 done` || { (exit 1); exit 1; } 7613 # Remove the trailing spaces. 7614 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 7615
| 8679 ;; 8680 :H) 8681 # 8682 # CONFIG_HEADER 8683 #
|
7616_ACEOF 7617
| 8684_ACEOF 8685
|
7618# Transform confdefs.h into two sed scripts, `conftest.defines' and 7619# `conftest.undefs', that substitutes the proper values into 7620# config.h.in to produce config.h. The first handles `#define' 7621# templates, and the second `#undef' templates. 7622# And first: Protect against being on the right side of a sed subst in 7623# config.status. Protect against being in an unquoted here document 7624# in config.status. 7625rm -f conftest.defines conftest.undefs 7626# Using a here document instead of a string reduces the quoting nightmare. 7627# Putting comments in sed scripts is not portable. 7628# 7629# `end' is used to avoid that the second main sed command (meant for 7630# 0-ary CPP macros) applies to n-ary macro definitions. 7631# See the Autoconf documentation for `clear'. 7632cat >confdef2sed.sed <<\_ACEOF 7633s/[\\&,]/\\&/g 7634s,[\\$`],\\&,g 7635t clear 7636: clear 7637s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 7638t end 7639s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 7640: end 7641_ACEOF 7642# If some macros were called several times there might be several times 7643# the same #defines, which is useless. Nevertheless, we may not want to 7644# sort them, since we want the *last* AC-DEFINE to be honored. 7645uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 7646sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 7647rm -f confdef2sed.sed
| 8686# Transform confdefs.h into a sed script `conftest.defines', that 8687# substitutes the proper values into config.h.in to produce config.h. 8688rm -f conftest.defines conftest.tail 8689# First, append a space to every undef/define line, to ease matching. 8690echo 's/$/ /' >conftest.defines 8691# Then, protect against being on the right side of a sed subst, or in 8692# an unquoted here document, in config.status. If some macros were 8693# called several times there might be several #defines for the same 8694# symbol, which is useless. But do not sort them, since the last 8695# AC_DEFINE must be honored. 8696ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 8697# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 8698# NAME is the cpp macro being defined, VALUE is the value it is being given. 8699# PARAMS is the parameter list in the macro definition--in most cases, it's 8700# just an empty string. 8701ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 8702ac_dB='\\)[ (].*,\\1define\\2' 8703ac_dC=' ' 8704ac_dD=' ,'
|
7648
| 8705
|
7649# This sed command replaces #undef with comments. This is necessary, for
| 8706uniq confdefs.h | 8707 sed -n ' 8708 t rset 8709 :rset 8710 s/^[ ]*#[ ]*define[ ][ ]*// 8711 t ok 8712 d 8713 :ok 8714 s/[\\&,]/\\&/g 8715 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 8716 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 8717 ' >>conftest.defines 8718 8719# Remove the space that was appended to ease matching. 8720# Then replace #undef with comments. This is necessary, for
|
7650# example, in the case of _POSIX_SOURCE, which is predefined and required 7651# on some systems where configure will not decide to define it.
| 8721# example, in the case of _POSIX_SOURCE, which is predefined and required 8722# on some systems where configure will not decide to define it.
|
7652cat >>conftest.undefs <<\_ACEOF 7653s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 7654_ACEOF
| 8723# (The regexp can be short, since the line contains either #define or #undef.) 8724echo 's/ $// 8725s,^[ #]*u.*,/* & */,' >>conftest.defines
|
7655
| 8726
|
7656# Break up conftest.defines because some shells have a limit on the size 7657# of here documents, and old seds have small limits too (100 cmds). 7658echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 7659echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 7660echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 7661echo ' :' >>$CONFIG_STATUS 7662rm -f conftest.tail 7663while grep . conftest.defines >/dev/null
| 8727# Break up conftest.defines: 8728ac_max_sed_lines=50 8729 8730# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 8731# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 8732# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 8733# et cetera. 8734ac_in='$ac_file_inputs' 8735ac_out='"$tmp/out1"' 8736ac_nxt='"$tmp/out2"' 8737 8738while :
|
7664do
| 8739do
|
7665 # Write a limited-size here document to $tmp/defines.sed. 7666 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 7667 # Speed up: don't consider the non `#define' lines. 7668 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 7669 # Work around the forget-to-reset-the-flag bug. 7670 echo 't clr' >>$CONFIG_STATUS 7671 echo ': clr' >>$CONFIG_STATUS 7672 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
| 8740 # Write a here document: 8741 cat >>$CONFIG_STATUS <<_ACEOF 8742 # First, check the format of the line: 8743 cat >"\$tmp/defines.sed" <<\\CEOF 8744/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 8745/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 8746b 8747:def 8748_ACEOF 8749 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
|
7673 echo 'CEOF
| 8750 echo 'CEOF
|
7674 sed -f $tmp/defines.sed $tmp/in >$tmp/out 7675 rm -f $tmp/in 7676 mv $tmp/out $tmp/in 7677' >>$CONFIG_STATUS 7678 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
| 8751 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 8752 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 8753 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 8754 grep . conftest.tail >/dev/null || break
|
7679 rm -f conftest.defines 7680 mv conftest.tail conftest.defines 7681done
| 8755 rm -f conftest.defines 8756 mv conftest.tail conftest.defines 8757done
|
7682rm -f conftest.defines 7683echo ' fi # grep' >>$CONFIG_STATUS 7684echo >>$CONFIG_STATUS
| 8758rm -f conftest.defines conftest.tail
|
7685
| 8759
|
7686# Break up conftest.undefs because some shells have a limit on the size 7687# of here documents, and old seds have small limits too (100 cmds). 7688echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 7689rm -f conftest.tail 7690while grep . conftest.undefs >/dev/null 7691do 7692 # Write a limited-size here document to $tmp/undefs.sed. 7693 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 7694 # Speed up: don't consider the non `#undef' 7695 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 7696 # Work around the forget-to-reset-the-flag bug. 7697 echo 't clr' >>$CONFIG_STATUS 7698 echo ': clr' >>$CONFIG_STATUS 7699 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 7700 echo 'CEOF 7701 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 7702 rm -f $tmp/in 7703 mv $tmp/out $tmp/in 7704' >>$CONFIG_STATUS 7705 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 7706 rm -f conftest.undefs 7707 mv conftest.tail conftest.undefs 7708done 7709rm -f conftest.undefs 7710
| 8760echo "ac_result=$ac_in" >>$CONFIG_STATUS
|
7711cat >>$CONFIG_STATUS <<\_ACEOF
| 8761cat >>$CONFIG_STATUS <<\_ACEOF
|
7712 # Let's still pretend it is `configure' which instantiates (i.e., don't 7713 # use $as_me), people would be surprised to read: 7714 # /* config.h. Generated by config.status. */ 7715 if test x"$ac_file" = x-; then 7716 echo "/* Generated by configure. */" >$tmp/config.h 7717 else 7718 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 7719 fi 7720 cat $tmp/in >>$tmp/config.h 7721 rm -f $tmp/in
| |
7722 if test x"$ac_file" != x-; then
| 8762 if test x"$ac_file" != x-; then
|
7723 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
| 8763 echo "/* $configure_input */" >"$tmp/config.h" 8764 cat "$ac_result" >>"$tmp/config.h" 8765 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
|
7724 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 7725echo "$as_me: $ac_file is unchanged" >&6;} 7726 else
| 8766 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 8767echo "$as_me: $ac_file is unchanged" >&6;} 8768 else
|
7727 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7728$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7729 X"$ac_file" : 'X\(//\)[^/]' \| \ 7730 X"$ac_file" : 'X\(//\)$' \| \ 7731 X"$ac_file" : 'X\(/\)' \| \ 7732 . : '\(.\)' 2>/dev/null || 7733echo X"$ac_file" | 7734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7735 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7736 /^X\(\/\/\)$/{ s//\1/; q; } 7737 /^X\(\/\).*/{ s//\1/; q; } 7738 s/.*/./; q'` 7739 { if $as_mkdir_p; then 7740 mkdir -p "$ac_dir" 7741 else 7742 as_dir="$ac_dir" 7743 as_dirs= 7744 while test ! -d "$as_dir"; do 7745 as_dirs="$as_dir $as_dirs" 7746 as_dir=`(dirname "$as_dir") 2>/dev/null || 7747$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7748 X"$as_dir" : 'X\(//\)[^/]' \| \ 7749 X"$as_dir" : 'X\(//\)$' \| \ 7750 X"$as_dir" : 'X\(/\)' \| \ 7751 . : '\(.\)' 2>/dev/null || 7752echo X"$as_dir" | 7753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7754 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7755 /^X\(\/\/\)$/{ s//\1/; q; } 7756 /^X\(\/\).*/{ s//\1/; q; } 7757 s/.*/./; q'` 7758 done 7759 test ! -n "$as_dirs" || mkdir $as_dirs 7760 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 7761echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 7762 { (exit 1); exit 1; }; }; } 7763
| |
7764 rm -f $ac_file
| 8769 rm -f $ac_file
|
7765 mv $tmp/config.h $ac_file
| 8770 mv "$tmp/config.h" $ac_file
|
7766 fi 7767 else
| 8771 fi 8772 else
|
7768 cat $tmp/config.h 7769 rm -f $tmp/config.h
| 8773 echo "/* $configure_input */" 8774 cat "$ac_result"
|
7770 fi
| 8775 fi
|
7771done 7772_ACEOF
| 8776 rm -f "$tmp/out12" 8777 ;;
|
7773
| 8778
|
7774cat >>$CONFIG_STATUS <<\_ACEOF
| |
7775
| 8779
|
| 8780 esac 8781 8782done # for ac_tag 8783 8784
|
7776{ (exit 0); exit 0; } 7777_ACEOF 7778chmod +x $CONFIG_STATUS 7779ac_clean_files=$ac_clean_files_save 7780 7781 7782# configure is writing to config.log, and then calls config.status. 7783# config.status does its own redirection, appending to config.log. 7784# Unfortunately, on DOS this fails, as config.log is still kept open 7785# by configure, so config.status won't be able to write to it; its 7786# output is simply discarded. So we exec the FD to /dev/null, 7787# effectively closing config.log, so it can be properly (re)opened and 7788# appended to by config.status. When coming back to configure, we 7789# need to make the FD available again. 7790if test "$no_create" != yes; then 7791 ac_cs_success=: 7792 ac_config_status_args= 7793 test "$silent" = yes && 7794 ac_config_status_args="$ac_config_status_args --quiet" 7795 exec 5>/dev/null 7796 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 7797 exec 5>>config.log 7798 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7799 # would make configure fail if this is the last instruction. 7800 $ac_cs_success || { (exit 1); exit 1; } 7801fi 7802 7803 7804if test -f .devel ; then 7805 make depend 7806fi 7807exit 0
| 8785{ (exit 0); exit 0; } 8786_ACEOF 8787chmod +x $CONFIG_STATUS 8788ac_clean_files=$ac_clean_files_save 8789 8790 8791# configure is writing to config.log, and then calls config.status. 8792# config.status does its own redirection, appending to config.log. 8793# Unfortunately, on DOS this fails, as config.log is still kept open 8794# by configure, so config.status won't be able to write to it; its 8795# output is simply discarded. So we exec the FD to /dev/null, 8796# effectively closing config.log, so it can be properly (re)opened and 8797# appended to by config.status. When coming back to configure, we 8798# need to make the FD available again. 8799if test "$no_create" != yes; then 8800 ac_cs_success=: 8801 ac_config_status_args= 8802 test "$silent" = yes && 8803 ac_config_status_args="$ac_config_status_args --quiet" 8804 exec 5>/dev/null 8805 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 8806 exec 5>>config.log 8807 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8808 # would make configure fail if this is the last instruction. 8809 $ac_cs_success || { (exit 1); exit 1; } 8810fi 8811 8812 8813if test -f .devel ; then 8814 make depend 8815fi 8816exit 0
|