Changeset 3395 for pjproject/branches/projects/2.0-dev/aconfigure
- Timestamp:
- Dec 14, 2010 1:03:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/aconfigure
r3393 r3395 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.65 for pjproject 1.x. 4 # 3 # Generated by GNU Autoconf 2.61 for pjproject 1.x. 5 4 # 6 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 8 # Inc. 9 # 10 # 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 11 7 # This configure script is free software; the Free Software Foundation 12 8 # gives unlimited permission to copy, distribute and modify it. 13 ## -------------------- ##14 ## M4sh Initialization. ##15 ## -------------------- ##9 ## --------------------- ## 10 ## M4sh Initialization. ## 11 ## --------------------- ## 16 12 17 13 # Be more Bourne compatible 18 14 DUALCASE=1; export DUALCASE # for MKS sh 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 20 16 emulate sh 21 17 NULLCMD=: 22 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 23 19 # is contrary to our usage. Disable this feature. 24 20 alias -g '${1+"$@"}'='"$@"' 25 21 setopt NO_GLOB_SUBST 26 22 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 33 # Avoid depending upon Character Ranges. 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37 as_cr_digits='0123456789' 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 73 39 74 40 # The user is always right. 75 41 if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 42 echo "#! /bin/sh" >conf$$.sh 43 echo "exit 0" >>conf$$.sh 44 chmod +x conf$$.sh 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46 PATH_SEPARATOR=';' 47 else 48 PATH_SEPARATOR=: 49 fi 50 rm -f conf$$.sh 51 fi 52 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 81 58 fi 82 59 … … 87 64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 65 # splitting by setting IFS to empty value.) 66 as_nl=' 67 ' 89 68 IFS=" "" $as_nl" 90 69 91 70 # Find who we are. Look in the path if we contain no directory separator. 92 case $0 in #((71 case $0 in 93 72 *[\\/]* ) as_myself=$0 ;; 94 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 97 76 IFS=$as_save_IFS 98 77 test -z "$as_dir" && as_dir=. 99 100 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 79 done 101 80 IFS=$as_save_IFS 102 81 … … 109 88 fi 110 89 if test ! -f "$as_myself"; then 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113 fi 114 115 # Unset variables that we do not need and which cause bugs (e.g. in 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117 # suppresses any "Segmentation fault" message there. '((' could 118 # trigger a bug in pdksh 5.2.14. 119 for as_var in BASH_ENV ENV MAIL MAILPATH 120 do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 122 97 done 123 98 PS1='$ ' … … 126 101 127 102 # NLS nuisances. 128 LC_ALL=C 129 export LC_ALL 130 LANGUAGE=C 131 export LANGUAGE 132 133 # CDPATH. 134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 139 NULLCMD=: 140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141 # is contrary to our usage. Disable this feature. 142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 143 setopt NO_GLOB_SUBST 144 else 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150 esac 151 fi 152 " 153 as_required="as_fn_return () { (exit \$1); } 154 as_fn_success () { as_fn_return 0; } 155 as_fn_failure () { as_fn_return 1; } 156 as_fn_ret_success () { return 0; } 157 as_fn_ret_failure () { return 1; } 158 159 exitcode=0 160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165 166 else 167 exitcode=1; echo positional parameters were not saved. 168 fi 169 test x\$exitcode = x0 || exit 1" 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174 test \$(( 1 + 1 )) = 2 || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177 else 178 as_have_required=no 179 fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182 else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184 as_found=false 185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 186 107 do 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200 fi 201 fi 202 done;; 203 esac 204 as_found=false 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 112 fi 205 113 done 206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209 fi; } 210 IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222 fi 223 224 if test x$as_have_required = xno; then : 225 $as_echo "$0: This script requires a shell more modern than all" 226 $as_echo "$0: the shells that I found on your system." 227 if test x${ZSH_VERSION+set} = xset ; then 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 230 else 231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 232 $0: including any error possibly output before this 233 $0: message. Then install a modern shell, or manually run 234 $0: the script under such a shell if you do have one." 235 fi 236 exit 1 237 fi 238 fi 239 fi 240 SHELL=${CONFIG_SHELL-/bin/sh} 241 export SHELL 242 # Unset more variables known to interfere with behavior of common tools. 243 CLICOLOR_FORCE= GREP_OPTIONS= 244 unset CLICOLOR_FORCE GREP_OPTIONS 245 246 ## --------------------- ## 247 ## M4sh Shell Functions. ## 248 ## --------------------- ## 249 # as_fn_unset VAR 250 # --------------- 251 # Portably unset VAR. 252 as_fn_unset () 253 { 254 { eval $1=; unset $1;} 255 } 256 as_unset=as_fn_unset 257 258 # as_fn_set_status STATUS 259 # ----------------------- 260 # Set $? to STATUS, without forking. 261 as_fn_set_status () 262 { 263 return $1 264 } # as_fn_set_status 265 266 # as_fn_exit STATUS 267 # ----------------- 268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 269 as_fn_exit () 270 { 271 set +e 272 as_fn_set_status $1 273 exit $1 274 } # as_fn_exit 275 276 # as_fn_mkdir_p 277 # ------------- 278 # Create "$as_dir" as a directory, including parents if necessary. 279 as_fn_mkdir_p () 280 { 281 282 case $as_dir in #( 283 -*) as_dir=./$as_dir;; 284 esac 285 test -d "$as_dir" || eval $as_mkdir_p || { 286 as_dirs= 287 while :; do 288 case $as_dir in #( 289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 290 *) as_qdir=$as_dir;; 291 esac 292 as_dirs="'$as_qdir' $as_dirs" 293 as_dir=`$as_dirname -- "$as_dir" || 294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 295 X"$as_dir" : 'X\(//\)[^/]' \| \ 296 X"$as_dir" : 'X\(//\)$' \| \ 297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 298 $as_echo X"$as_dir" | 299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 300 s//\1/ 301 q 302 } 303 /^X\(\/\/\)[^/].*/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\).*/{ 312 s//\1/ 313 q 314 } 315 s/.*/./; q'` 316 test -d "$as_dir" && break 317 done 318 test -z "$as_dirs" || eval "mkdir $as_dirs" 319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 320 321 322 } # as_fn_mkdir_p 323 # as_fn_append VAR VALUE 324 # ---------------------- 325 # Append the text in VALUE to the end of the definition contained in VAR. Take 326 # advantage of any shell optimizations that allow amortized linear growth over 327 # repeated appends, instead of the typical quadratic growth present in naive 328 # implementations. 329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 330 eval 'as_fn_append () 331 { 332 eval $1+=\$2 333 }' 334 else 335 as_fn_append () 336 { 337 eval $1=\$$1\$2 338 } 339 fi # as_fn_append 340 341 # as_fn_arith ARG... 342 # ------------------ 343 # Perform arithmetic evaluation on the ARGs, and store the result in the 344 # global $as_val. Take advantage of shells that can avoid forks. The arguments 345 # must be portable across $(()) and expr. 346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 347 eval 'as_fn_arith () 348 { 349 as_val=$(( $* )) 350 }' 351 else 352 as_fn_arith () 353 { 354 as_val=`expr "$@" || test $? -eq 1` 355 } 356 fi # as_fn_arith 357 358 359 # as_fn_error ERROR [LINENO LOG_FD] 360 # --------------------------------- 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363 # script with status $?, using 1 if that was 0. 364 as_fn_error () 365 { 366 as_status=$?; test $as_status -eq 0 && as_status=1 367 if test "$3"; then 368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 370 fi 371 $as_echo "$as_me: error: $1" >&2 372 as_fn_exit $as_status 373 } # as_fn_error 374 114 115 # Required to use basename. 375 116 if expr a : '\(a\)' >/dev/null 2>&1 && 376 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 386 127 fi 387 128 388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 389 as_dirname=dirname 390 else 391 as_dirname=false 392 fi 393 129 130 # Name of the executable. 394 131 as_me=`$as_basename -- "$0" || 395 132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 396 133 X"$0" : 'X\(//\)$' \| \ 397 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 398 $as_echo X/"$0" |135 echo X/"$0" | 399 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 400 137 s//\1/ … … 411 148 s/.*/./; q'` 412 149 413 # Avoid depending upon Character Ranges. 414 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 417 as_cr_digits='0123456789' 418 as_cr_alnum=$as_cr_Letters$as_cr_digits 419 420 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223 do 224 IFS=$as_save_IFS 225 test -z "$as_dir" && as_dir=. 226 case $as_dir in 227 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 328 as_lineno_1=$LINENO 329 as_lineno_2=$LINENO 330 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 426 438 sed -n ' 427 439 p … … 440 452 ' >$as_me.lineno && 441 453 chmod +x "$as_me.lineno" || 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 { (exit 1); exit 1; }; } 443 456 444 457 # Don't try to exec as it changes $[0], causing all sort of problems … … 450 463 } 451 464 465 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468 else 469 as_dirname=false 470 fi 471 452 472 ECHO_C= ECHO_N= ECHO_T= 453 case `echo -n x` in #(((((473 case `echo -n x` in 454 474 -n*) 455 case `echo 'x y\c'` in475 case `echo 'x\c'` in 456 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 457 xy) ECHO_C='\c';; 458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459 ECHO_T=' ';; 477 *) ECHO_C='\c';; 460 478 esac;; 461 479 *) … … 463 481 esac 464 482 483 if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 485 as_expr=expr 486 else 487 as_expr=false 488 fi 489 465 490 rm -f conf$$ conf$$.exe conf$$.file 466 491 if test -d conf$$.dir; then … … 468 493 else 469 494 rm -f conf$$.dir 470 mkdir conf$$.dir 2>/dev/null 471 fi 472 if (echo >conf$$.file) 2>/dev/null; then 473 if ln -s conf$$.file conf$$ 2>/dev/null; then 474 as_ln_s='ln -s' 475 # ... but there are two gotchas: 476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 478 # In both cases, we have to default to `cp -p'. 479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 480 as_ln_s='cp -p' 481 elif ln conf$$.file conf$$ 2>/dev/null; then 482 as_ln_s=ln 483 else 495 mkdir conf$$.dir 496 fi 497 echo >conf$$.file 498 if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 484 505 as_ln_s='cp -p' 485 fi 506 elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 486 508 else 487 509 as_ln_s='cp -p' … … 491 513 492 514 if mkdir -p . 2>/dev/null; then 493 as_mkdir_p= 'mkdir -p "$as_dir"'515 as_mkdir_p=: 494 516 else 495 517 test -d ./-p && rmdir ./-p … … 508 530 eval sh -c '\'' 509 531 if test -d "$1"; then 510 532 test -d "$1/."; 511 533 else 512 case $1 in #(513 534 case $1 in 535 -*)set "./$1";; 514 536 esac; 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 516 538 ???[sx]*):;;*)false;;esac;fi 517 539 '\'' sh … … 527 549 528 550 529 test -n "$DJDIR" || exec 7<&0 </dev/null 530 exec 6>&1551 552 exec 7<&0 </dev/null 6>&1 531 553 532 554 # Name of the host. … … 546 568 MFLAGS= 547 569 MAKEFLAGS= 570 SHELL=${CONFIG_SHELL-/bin/sh} 548 571 549 572 # Identity of this package. … … 553 576 PACKAGE_STRING='pjproject 1.x' 554 577 PACKAGE_BUGREPORT='' 555 PACKAGE_URL=''556 578 557 579 # Factoring default headers for most tests. … … 591 613 #endif" 592 614 593 ac_subst_vars='LTLIBOBJS 615 ac_subst_vars='SHELL 616 PATH_SEPARATOR 617 PACKAGE_NAME 618 PACKAGE_TARNAME 619 PACKAGE_VERSION 620 PACKAGE_STRING 621 PACKAGE_BUGREPORT 622 exec_prefix 623 prefix 624 program_transform_name 625 bindir 626 sbindir 627 libexecdir 628 datarootdir 629 datadir 630 sysconfdir 631 sharedstatedir 632 localstatedir 633 includedir 634 oldincludedir 635 docdir 636 infodir 637 htmldir 638 dvidir 639 pdfdir 640 psdir 641 libdir 642 localedir 643 mandir 644 DEFS 645 ECHO_C 646 ECHO_N 647 ECHO_T 648 LIBS 649 build_alias 650 host_alias 651 target_alias 652 build 653 build_cpu 654 build_vendor 655 build_os 656 host 657 host_cpu 658 host_vendor 659 host_os 660 target 661 target_cpu 662 target_vendor 663 target_os 664 CC 665 CFLAGS 666 LDFLAGS 667 CPPFLAGS 668 ac_ct_CC 669 EXEEXT 670 OBJEXT 671 CXX 672 CXXFLAGS 673 ac_ct_CXX 674 AR 675 LD 676 LDOUT 677 RANLIB 678 LIBEXT 679 LIBEXT2 680 CC_OUT 681 CC_INC 682 CC_DEF 683 CC_OPTIMIZE 684 CC_CFLAGS 685 ac_pjdir 686 ac_build_mak_vars 687 CPP 688 GREP 689 EGREP 690 ac_os_objs 691 ac_external_speex 692 ac_external_gsm 693 ac_pjmedia_snd 694 ac_external_pa 695 ac_pa_cflags 696 ac_pa_use_alsa 697 ac_pa_use_oss 698 ac_pjmedia_video 699 ac_ios_cflags 700 ac_pjmedia_video_has_qt 701 ac_qt_cflags 702 ac_no_small_filter 703 ac_no_large_filter 704 ac_no_speex_aec 705 ac_no_g711_codec 706 ac_no_l16_codec 707 ac_no_gsm_codec 708 ac_no_g722_codec 709 ac_no_g7221_codec 710 ac_no_speex_codec 711 ac_no_ilbc_codec 712 ac_sdl_cflags 713 ac_sdl_ldflags 714 ac_has_ffmpeg 715 ac_ffmpeg_cflags 716 ac_ffmpeg_ldflags 717 ac_v4l2_cflags 718 ac_v4l2_ldflags 719 ac_no_ssl 720 openssl_h_present 721 libssl_present 722 libcrypto_present 723 ac_cross_compile 724 ac_linux_poll 725 ac_host 726 ac_main_obj 594 727 LIBOBJS 595 ac_main_obj 596 ac_host 597 ac_linux_poll 598 ac_cross_compile 599 libcrypto_present 600 libssl_present 601 openssl_h_present 602 ac_no_ssl 603 ac_v4l2_ldflags 604 ac_v4l2_cflags 605 ac_ffmpeg_ldflags 606 ac_ffmpeg_cflags 607 ac_has_ffmpeg 608 ac_sdl_ldflags 609 ac_sdl_cflags 610 ac_no_ilbc_codec 611 ac_no_speex_codec 612 ac_no_g7221_codec 613 ac_no_g722_codec 614 ac_no_gsm_codec 615 ac_no_l16_codec 616 ac_no_g711_codec 617 ac_no_speex_aec 618 ac_no_large_filter 619 ac_no_small_filter 620 ac_pa_use_oss 621 ac_pa_use_alsa 622 ac_pa_cflags 623 ac_external_pa 624 ac_pjmedia_snd 625 ac_external_gsm 626 ac_external_speex 627 ac_os_objs 628 EGREP 629 GREP 630 CPP 631 ac_build_mak_vars 632 ac_pjdir 633 CC_CFLAGS 634 CC_OPTIMIZE 635 CC_DEF 636 CC_INC 637 CC_OUT 638 LIBEXT2 639 LIBEXT 640 RANLIB 641 LDOUT 642 LD 643 AR 644 ac_ct_CXX 645 CXXFLAGS 646 CXX 647 OBJEXT 648 EXEEXT 649 ac_ct_CC 650 CPPFLAGS 651 LDFLAGS 652 CFLAGS 653 CC 654 target_os 655 target_vendor 656 target_cpu 657 target 658 host_os 659 host_vendor 660 host_cpu 661 host 662 build_os 663 build_vendor 664 build_cpu 665 build 666 target_alias 667 host_alias 668 build_alias 669 LIBS 670 ECHO_T 671 ECHO_N 672 ECHO_C 673 DEFS 674 mandir 675 localedir 676 libdir 677 psdir 678 pdfdir 679 dvidir 680 htmldir 681 infodir 682 docdir 683 oldincludedir 684 includedir 685 localstatedir 686 sharedstatedir 687 sysconfdir 688 datadir 689 datarootdir 690 libexecdir 691 sbindir 692 bindir 693 program_transform_name 694 prefix 695 exec_prefix 696 PACKAGE_URL 697 PACKAGE_BUGREPORT 698 PACKAGE_STRING 699 PACKAGE_VERSION 700 PACKAGE_TARNAME 701 PACKAGE_NAME 702 PATH_SEPARATOR 703 SHELL' 728 LTLIBOBJS' 704 729 ac_subst_files='' 705 ac_user_opts='706 enable_option_checking707 enable_floating_point708 enable_epoll709 with_external_speex710 with_external_gsm711 enable_sound712 with_external_pa713 enable_oss714 enable_ext_sound715 enable_small_filter716 enable_large_filter717 enable_speex_aec718 enable_g711_codec719 enable_l16_codec720 enable_gsm_codec721 enable_g722_codec722 enable_g7221_codec723 enable_speex_codec724 enable_ilbc_codec725 enable_libsamplerate726 enable_sdl727 enable_ffmpeg728 enable_v4l2729 enable_ipp730 with_ipp731 with_ipp_samples732 with_ipp_arch733 enable_ssl734 '735 730 ac_precious_vars='build_alias 736 731 host_alias … … 750 745 ac_init_help= 751 746 ac_init_version=false 752 ac_unrecognized_opts=753 ac_unrecognized_sep=754 747 # The variables have the same names as the options, with 755 748 # dashes changed to underlines. … … 850 843 851 844 -disable-* | --disable-*) 852 ac_ useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`845 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 853 846 # Reject names that are not valid shell variable names. 854 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 855 as_fn_error "invalid feature name: $ac_useropt" 856 ac_useropt_orig=$ac_useropt 857 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 858 case $ac_user_opts in 859 *" 860 "enable_$ac_useropt" 861 "*) ;; 862 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 863 ac_unrecognized_sep=', ';; 864 esac 865 eval enable_$ac_useropt=no ;; 847 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 848 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 849 { (exit 1); exit 1; }; } 850 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 851 eval enable_$ac_feature=no ;; 866 852 867 853 -docdir | --docdir | --docdi | --doc | --do) … … 876 862 877 863 -enable-* | --enable-*) 878 ac_ useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`864 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 879 865 # Reject names that are not valid shell variable names. 880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 881 as_fn_error "invalid feature name: $ac_useropt" 882 ac_useropt_orig=$ac_useropt 883 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 884 case $ac_user_opts in 885 *" 886 "enable_$ac_useropt" 887 "*) ;; 888 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 889 ac_unrecognized_sep=', ';; 890 esac 891 eval enable_$ac_useropt=\$ac_optarg ;; 866 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 867 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 868 { (exit 1); exit 1; }; } 869 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 870 eval enable_$ac_feature=\$ac_optarg ;; 892 871 893 872 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1080 1059 1081 1060 -with-* | --with-*) 1082 ac_ useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1061 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1083 1062 # Reject names that are not valid shell variable names. 1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1085 as_fn_error "invalid package name: $ac_useropt" 1086 ac_useropt_orig=$ac_useropt 1087 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1088 case $ac_user_opts in 1089 *" 1090 "with_$ac_useropt" 1091 "*) ;; 1092 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1093 ac_unrecognized_sep=', ';; 1094 esac 1095 eval with_$ac_useropt=\$ac_optarg ;; 1063 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1064 { echo "$as_me: error: invalid package name: $ac_package" >&2 1065 { (exit 1); exit 1; }; } 1066 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1067 eval with_$ac_package=\$ac_optarg ;; 1096 1068 1097 1069 -without-* | --without-*) 1098 ac_ useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`1070 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1099 1071 # Reject names that are not valid shell variable names. 1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1101 as_fn_error "invalid package name: $ac_useropt" 1102 ac_useropt_orig=$ac_useropt 1103 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1104 case $ac_user_opts in 1105 *" 1106 "with_$ac_useropt" 1107 "*) ;; 1108 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1109 ac_unrecognized_sep=', ';; 1110 esac 1111 eval with_$ac_useropt=no ;; 1072 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1073 { echo "$as_me: error: invalid package name: $ac_package" >&2 1074 { (exit 1); exit 1; }; } 1075 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1076 eval with_$ac_package=no ;; 1112 1077 1113 1078 --x) … … 1129 1094 x_libraries=$ac_optarg ;; 1130 1095 1131 -*) as_fn_error "unrecognized option: \`$ac_option' 1132 Try \`$0 --help' for more information." 1096 -*) { echo "$as_me: error: unrecognized option: $ac_option 1097 Try \`$0 --help' for more information." >&2 1098 { (exit 1); exit 1; }; } 1133 1099 ;; 1134 1100 … … 1136 1102 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1137 1103 # Reject names that are not valid shell variable names. 1138 case $ac_envvar in #( 1139 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1140 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1141 esac 1104 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1105 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1106 { (exit 1); exit 1; }; } 1142 1107 eval $ac_envvar=\$ac_optarg 1143 1108 export $ac_envvar ;; … … 1145 1110 *) 1146 1111 # FIXME: should be removed in autoconf 3.0. 1147 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&21112 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1148 1113 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1149 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&21114 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1150 1115 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1151 1116 ;; … … 1156 1121 if test -n "$ac_prev"; then 1157 1122 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1158 as_fn_error "missing argument to $ac_option" 1159 fi 1160 1161 if test -n "$ac_unrecognized_opts"; then 1162 case $enable_option_checking in 1163 no) ;; 1164 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1165 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1166 esac 1167 fi 1168 1169 # Check all directory arguments for consistency. 1123 { echo "$as_me: error: missing argument to $ac_option" >&2 1124 { (exit 1); exit 1; }; } 1125 fi 1126 1127 # Be sure to have absolute directory names. 1170 1128 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1171 1129 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1174 1132 do 1175 1133 eval ac_val=\$$ac_var 1176 # Remove trailing slashes.1177 case $ac_val in1178 */ )1179 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`1180 eval $ac_var=\$ac_val;;1181 esac1182 # Be sure to have absolute directory names.1183 1134 case $ac_val in 1184 1135 [\\/$]* | ?:[\\/]* ) continue;; 1185 1136 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1186 1137 esac 1187 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1138 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1139 { (exit 1); exit 1; }; } 1188 1140 done 1189 1141 … … 1199 1151 if test "x$build_alias" = x; then 1200 1152 cross_compiling=maybe 1201 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1153 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1202 1154 If a cross compiler is detected then cross compile mode will be used." >&2 1203 1155 elif test "x$build_alias" != "x$host_alias"; then … … 1215 1167 ac_ls_di=`ls -di .` && 1216 1168 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1217 as_fn_error "working directory cannot be determined" 1169 { echo "$as_me: error: Working directory cannot be determined" >&2 1170 { (exit 1); exit 1; }; } 1218 1171 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1219 as_fn_error "pwd does not report name of working directory" 1172 { echo "$as_me: error: pwd does not report name of working directory" >&2 1173 { (exit 1); exit 1; }; } 1220 1174 1221 1175 … … 1224 1178 ac_srcdir_defaulted=yes 1225 1179 # Try the directory containing this script, then the parent directory. 1226 ac_confdir=`$as_dirname -- "$ as_myself" ||1227 $as_expr X"$ as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1228 X"$ as_myself" : 'X\(//\)[^/]' \| \1229 X"$ as_myself" : 'X\(//\)$' \| \1230 X"$ as_myself" : 'X\(/\)' \| . 2>/dev/null ||1231 $as_echo X"$as_myself" |1180 ac_confdir=`$as_dirname -- "$0" || 1181 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1182 X"$0" : 'X\(//\)[^/]' \| \ 1183 X"$0" : 'X\(//\)$' \| \ 1184 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1185 echo X"$0" | 1232 1186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1233 1187 s//\1/ … … 1256 1210 if test ! -r "$srcdir/$ac_unique_file"; then 1257 1211 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1258 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1212 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1213 { (exit 1); exit 1; }; } 1259 1214 fi 1260 1215 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1261 1216 ac_abs_confdir=`( 1262 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1217 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1218 { (exit 1); exit 1; }; } 1263 1219 pwd)` 1264 1220 # When building in place, set srcdir=. … … 1308 1264 Installation directories: 1309 1265 --prefix=PREFIX install architecture-independent files in PREFIX 1310 1266 [$ac_default_prefix] 1311 1267 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1312 1268 [PREFIX] 1313 1269 1314 1270 By default, \`make install' will install all the files in … … 1320 1276 1321 1277 Fine tuning of the installation directories: 1322 --bindir=DIR 1323 --sbindir=DIR 1324 --libexecdir=DIR 1325 --sysconfdir=DIR 1326 --sharedstatedir=DIR 1327 --localstatedir=DIR 1328 --libdir=DIR 1329 --includedir=DIR 1330 --oldincludedir=DIR 1331 --datarootdir=DIR 1332 --datadir=DIR 1333 --infodir=DIR 1334 --localedir=DIR 1335 --mandir=DIR 1336 --docdir=DIR 1337 --htmldir=DIR 1338 --dvidir=DIR 1339 --pdfdir=DIR 1340 --psdir=DIR 1278 --bindir=DIR user executables [EPREFIX/bin] 1279 --sbindir=DIR system admin executables [EPREFIX/sbin] 1280 --libexecdir=DIR program executables [EPREFIX/libexec] 1281 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1282 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1283 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1284 --libdir=DIR object code libraries [EPREFIX/lib] 1285 --includedir=DIR C header files [PREFIX/include] 1286 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1287 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1288 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1289 --infodir=DIR info documentation [DATAROOTDIR/info] 1290 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1291 --mandir=DIR man documentation [DATAROOTDIR/man] 1292 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1293 --htmldir=DIR html documentation [DOCDIR] 1294 --dvidir=DIR dvi documentation [DOCDIR] 1295 --pdfdir=DIR pdf documentation [DOCDIR] 1296 --psdir=DIR ps documentation [DOCDIR] 1341 1297 _ACEOF 1342 1298 … … 1357 1313 1358 1314 Optional Features: 1359 --disable-option-checking ignore unrecognized --enable/--with options1360 1315 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1361 1316 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1417 1372 nonstandard directory <lib dir> 1418 1373 LIBS libraries to pass to the linker, e.g. -l<library> 1419 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1374 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1420 1375 you have headers in a nonstandard directory <include dir> 1421 1376 CXX C++ compiler command … … 1426 1381 it to find libraries and programs with nonstandard names/locations. 1427 1382 1428 Report bugs to the package provider.1429 1383 _ACEOF 1430 1384 ac_status=$? … … 1434 1388 # If there are subdirs, report their specific --help. 1435 1389 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1436 test -d "$ac_dir" || 1437 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1438 continue 1390 test -d "$ac_dir" || continue 1439 1391 ac_builddir=. 1440 1392 … … 1442 1394 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1443 1395 *) 1444 ac_dir_suffix=/` $as_echo "$ac_dir" | sed 's|^\.[\\/]||'`1396 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1445 1397 # A ".." for each directory in $ac_dir_suffix. 1446 ac_top_builddir_sub=` $as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`1398 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1447 1399 case $ac_top_builddir_sub in 1448 1400 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1480 1432 $SHELL "$ac_srcdir/configure" --help=recursive 1481 1433 else 1482 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21434 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1483 1435 fi || ac_status=$? 1484 1436 cd "$ac_pwd" || { ac_status=$?; break; } … … 1490 1442 cat <<\_ACEOF 1491 1443 pjproject configure 1.x 1492 generated by GNU Autoconf 2.65 1493 1494 Copyright (C) 2009 Free Software Foundation, Inc. 1444 generated by GNU Autoconf 2.61 1445 1446 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1447 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1495 1448 This configure script is free software; the Free Software Foundation 1496 1449 gives unlimited permission to copy, distribute and modify it. … … 1498 1451 exit 1499 1452 fi 1500 1501 ## ------------------------ ##1502 ## Autoconf initialization. ##1503 ## ------------------------ ##1504 1505 # ac_fn_c_try_compile LINENO1506 # --------------------------1507 # Try to compile conftest.$ac_ext, and return whether this succeeded.1508 ac_fn_c_try_compile ()1509 {1510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1511 rm -f conftest.$ac_objext1512 if { { ac_try="$ac_compile"1513 case "(($ac_try" in1514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1515 *) ac_try_echo=$ac_try;;1516 esac1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1518 $as_echo "$ac_try_echo"; } >&51519 (eval "$ac_compile") 2>conftest.err1520 ac_status=$?1521 if test -s conftest.err; then1522 grep -v '^ *+' conftest.err >conftest.er11523 cat conftest.er1 >&51524 mv -f conftest.er1 conftest.err1525 fi1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51527 test $ac_status = 0; } && {1528 test -z "$ac_c_werror_flag" ||1529 test ! -s conftest.err1530 } && test -s conftest.$ac_objext; then :1531 ac_retval=01532 else1533 $as_echo "$as_me: failed program was:" >&51534 sed 's/^/| /' conftest.$ac_ext >&51535 1536 ac_retval=11537 fi1538 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1539 as_fn_set_status $ac_retval1540 1541 } # ac_fn_c_try_compile1542 1543 # ac_fn_cxx_try_compile LINENO1544 # ----------------------------1545 # Try to compile conftest.$ac_ext, and return whether this succeeded.1546 ac_fn_cxx_try_compile ()1547 {1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1549 rm -f conftest.$ac_objext1550 if { { ac_try="$ac_compile"1551 case "(($ac_try" in1552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1553 *) ac_try_echo=$ac_try;;1554 esac1555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1556 $as_echo "$ac_try_echo"; } >&51557 (eval "$ac_compile") 2>conftest.err1558 ac_status=$?1559 if test -s conftest.err; then1560 grep -v '^ *+' conftest.err >conftest.er11561 cat conftest.er1 >&51562 mv -f conftest.er1 conftest.err1563 fi1564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51565 test $ac_status = 0; } && {1566 test -z "$ac_cxx_werror_flag" ||1567 test ! -s conftest.err1568 } && test -s conftest.$ac_objext; then :1569 ac_retval=01570 else1571 $as_echo "$as_me: failed program was:" >&51572 sed 's/^/| /' conftest.$ac_ext >&51573 1574 ac_retval=11575 fi1576 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1577 as_fn_set_status $ac_retval1578 1579 } # ac_fn_cxx_try_compile1580 1581 # ac_fn_c_try_link LINENO1582 # -----------------------1583 # Try to link conftest.$ac_ext, and return whether this succeeded.1584 ac_fn_c_try_link ()1585 {1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1587 rm -f conftest.$ac_objext conftest$ac_exeext1588 if { { ac_try="$ac_link"1589 case "(($ac_try" in1590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1591 *) ac_try_echo=$ac_try;;1592 esac1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1594 $as_echo "$ac_try_echo"; } >&51595 (eval "$ac_link") 2>conftest.err1596 ac_status=$?1597 if test -s conftest.err; then1598 grep -v '^ *+' conftest.err >conftest.er11599 cat conftest.er1 >&51600 mv -f conftest.er1 conftest.err1601 fi1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51603 test $ac_status = 0; } && {1604 test -z "$ac_c_werror_flag" ||1605 test ! -s conftest.err1606 } && test -s conftest$ac_exeext && {1607 test "$cross_compiling" = yes ||1608 $as_test_x conftest$ac_exeext1609 }; then :1610 ac_retval=01611 else1612 $as_echo "$as_me: failed program was:" >&51613 sed 's/^/| /' conftest.$ac_ext >&51614 1615 ac_retval=11616 fi1617 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1618 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1619 # interfere with the next link command; also delete a directory that is1620 # left behind by Apple's compiler. We do this before executing the actions.1621 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1622 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1623 as_fn_set_status $ac_retval1624 1625 } # ac_fn_c_try_link1626 1627 # ac_fn_c_try_run LINENO1628 # ----------------------1629 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1630 # that executables *can* be run.1631 ac_fn_c_try_run ()1632 {1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1634 if { { ac_try="$ac_link"1635 case "(($ac_try" in1636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1637 *) ac_try_echo=$ac_try;;1638 esac1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1640 $as_echo "$ac_try_echo"; } >&51641 (eval "$ac_link") 2>&51642 ac_status=$?1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51644 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1645 { { case "(($ac_try" in1646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1647 *) ac_try_echo=$ac_try;;1648 esac1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1650 $as_echo "$ac_try_echo"; } >&51651 (eval "$ac_try") 2>&51652 ac_status=$?1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51654 test $ac_status = 0; }; }; then :1655 ac_retval=01656 else1657 $as_echo "$as_me: program exited with status $ac_status" >&51658 $as_echo "$as_me: failed program was:" >&51659 sed 's/^/| /' conftest.$ac_ext >&51660 1661 ac_retval=$ac_status1662 fi1663 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1664 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1665 as_fn_set_status $ac_retval1666 1667 } # ac_fn_c_try_run1668 1669 # ac_fn_c_try_cpp LINENO1670 # ----------------------1671 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1672 ac_fn_c_try_cpp ()1673 {1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1675 if { { ac_try="$ac_cpp conftest.$ac_ext"1676 case "(($ac_try" in1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1678 *) ac_try_echo=$ac_try;;1679 esac1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1681 $as_echo "$ac_try_echo"; } >&51682 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1683 ac_status=$?1684 if test -s conftest.err; then1685 grep -v '^ *+' conftest.err >conftest.er11686 cat conftest.er1 >&51687 mv -f conftest.er1 conftest.err1688 fi1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51690 test $ac_status = 0; } >/dev/null && {1691 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1692 test ! -s conftest.err1693 }; then :1694 ac_retval=01695 else1696 $as_echo "$as_me: failed program was:" >&51697 sed 's/^/| /' conftest.$ac_ext >&51698 1699 ac_retval=11700 fi1701 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1702 as_fn_set_status $ac_retval1703 1704 } # ac_fn_c_try_cpp1705 1706 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1707 # -------------------------------------------------------1708 # Tests whether HEADER exists and can be compiled using the include files in1709 # INCLUDES, setting the cache variable VAR accordingly.1710 ac_fn_c_check_header_compile ()1711 {1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51714 $as_echo_n "checking for $2... " >&6; }1715 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1716 $as_echo_n "(cached) " >&61717 else1718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1719 /* end confdefs.h. */1720 $41721 #include <$2>1722 _ACEOF1723 if ac_fn_c_try_compile "$LINENO"; then :1724 eval "$3=yes"1725 else1726 eval "$3=no"1727 fi1728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1729 fi1730 eval ac_res=\$$31731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51732 $as_echo "$ac_res" >&6; }1733 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1734 1735 } # ac_fn_c_check_header_compile1736 1737 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES1738 # -------------------------------------------------------1739 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1740 # the include files in INCLUDES and setting the cache variable VAR1741 # accordingly.1742 ac_fn_c_check_header_mongrel ()1743 {1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1745 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51747 $as_echo_n "checking for $2... " >&6; }1748 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1749 $as_echo_n "(cached) " >&61750 fi1751 eval ac_res=\$$31752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51753 $as_echo "$ac_res" >&6; }1754 else1755 # Is the header compilable?1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51757 $as_echo_n "checking $2 usability... " >&6; }1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1759 /* end confdefs.h. */1760 $41761 #include <$2>1762 _ACEOF1763 if ac_fn_c_try_compile "$LINENO"; then :1764 ac_header_compiler=yes1765 else1766 ac_header_compiler=no1767 fi1768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51770 $as_echo "$ac_header_compiler" >&6; }1771 1772 # Is the header present?1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51774 $as_echo_n "checking $2 presence... " >&6; }1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1776 /* end confdefs.h. */1777 #include <$2>1778 _ACEOF1779 if ac_fn_c_try_cpp "$LINENO"; then :1780 ac_header_preproc=yes1781 else1782 ac_header_preproc=no1783 fi1784 rm -f conftest.err conftest.$ac_ext1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&51786 $as_echo "$ac_header_preproc" >&6; }1787 1788 # So? What about this header?1789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((1790 yes:no: )1791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&51792 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}1793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51794 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1795 ;;1796 no:yes:* )1797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&51798 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&51800 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}1801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&51802 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}1803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&51804 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51806 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1807 ;;1808 esac1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51810 $as_echo_n "checking for $2... " >&6; }1811 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1812 $as_echo_n "(cached) " >&61813 else1814 eval "$3=\$ac_header_compiler"1815 fi1816 eval ac_res=\$$31817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51818 $as_echo "$ac_res" >&6; }1819 fi1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1821 1822 } # ac_fn_c_check_header_mongrel1823 1824 # ac_fn_c_check_func LINENO FUNC VAR1825 # ----------------------------------1826 # Tests whether FUNC exists, setting the cache variable VAR accordingly1827 ac_fn_c_check_func ()1828 {1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51831 $as_echo_n "checking for $2... " >&6; }1832 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1833 $as_echo_n "(cached) " >&61834 else1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1836 /* end confdefs.h. */1837 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.1838 For example, HP-UX 11i <limits.h> declares gettimeofday. */1839 #define $2 innocuous_$21840 1841 /* System header to define __stub macros and hopefully few prototypes,1842 which can conflict with char $2 (); below.1843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1844 <limits.h> exists even on freestanding compilers. */1845 1846 #ifdef __STDC__1847 # include <limits.h>1848 #else1849 # include <assert.h>1850 #endif1851 1852 #undef $21853 1854 /* Override any GCC internal prototype to avoid an error.1855 Use char because int might match the return type of a GCC1856 builtin and then its argument prototype would still apply. */1857 #ifdef __cplusplus1858 extern "C"1859 #endif1860 char $2 ();1861 /* The GNU C library defines this for functions which it implements1862 to always fail with ENOSYS. Some functions are actually named1863 something starting with __ and the normal name is an alias. */1864 #if defined __stub_$2 || defined __stub___$21865 choke me1866 #endif1867 1868 int1869 main ()1870 {1871 return $2 ();1872 ;1873 return 0;1874 }1875 _ACEOF1876 if ac_fn_c_try_link "$LINENO"; then :1877 eval "$3=yes"1878 else1879 eval "$3=no"1880 fi1881 rm -f core conftest.err conftest.$ac_objext \1882 conftest$ac_exeext conftest.$ac_ext1883 fi1884 eval ac_res=\$$31885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51886 $as_echo "$ac_res" >&6; }1887 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1888 1889 } # ac_fn_c_check_func1890 1453 cat >config.log <<_ACEOF 1891 1454 This file contains any messages produced by compilers while … … 1893 1456 1894 1457 It was created by pjproject $as_me 1.x, which was 1895 generated by GNU Autoconf 2.6 5. Invocation command line was1458 generated by GNU Autoconf 2.61. Invocation command line was 1896 1459 1897 1460 $ $0 $@ … … 1929 1492 IFS=$as_save_IFS 1930 1493 test -z "$as_dir" && as_dir=. 1931 $as_echo "PATH: $as_dir"1932 1494 echo "PATH: $as_dir" 1495 done 1933 1496 IFS=$as_save_IFS 1934 1497 … … 1964 1527 continue ;; 1965 1528 *\'*) 1966 ac_arg=` $as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1529 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1967 1530 esac 1968 1531 case $ac_pass in 1969 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1532 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1970 1533 2) 1971 a s_fn_append ac_configure_args1 "'$ac_arg'"1534 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1972 1535 if test $ac_must_keep_next = true; then 1973 1536 ac_must_keep_next=false # Got value, back to normal. … … 1985 1548 esac 1986 1549 fi 1987 a s_fn_append ac_configure_args "'$ac_arg'"1550 ac_configure_args="$ac_configure_args '$ac_arg'" 1988 1551 ;; 1989 1552 esac 1990 1553 done 1991 1554 done 1992 { ac_configure_args0=; unset ac_configure_args0;}1993 { ac_configure_args1=; unset ac_configure_args1;}1555 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1556 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1994 1557 1995 1558 # When interrupted or exit'd, cleanup temporary files, and complete … … 2016 1579 *${as_nl}*) 2017 1580 case $ac_var in #( 2018 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&52019 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;1581 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1582 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 2020 1583 esac 2021 1584 case $ac_var in #( 2022 1585 _ | IFS | as_nl) ;; #( 2023 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2024 *) { eval $ac_var=; unset $ac_var;} ;; 1586 *) $as_unset $ac_var ;; 2025 1587 esac ;; 2026 1588 esac … … 2051 1613 eval ac_val=\$$ac_var 2052 1614 case $ac_val in 2053 *\'\''*) ac_val=` $as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1615 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2054 1616 esac 2055 $as_echo "$ac_var='\''$ac_val'\''"1617 echo "$ac_var='\''$ac_val'\''" 2056 1618 done | sort 2057 1619 echo … … 2068 1630 eval ac_val=\$$ac_var 2069 1631 case $ac_val in 2070 *\'\''*) ac_val=` $as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1632 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2071 1633 esac 2072 $as_echo "$ac_var='\''$ac_val'\''"1634 echo "$ac_var='\''$ac_val'\''" 2073 1635 done | sort 2074 1636 echo … … 2086 1648 fi 2087 1649 test "$ac_signal" != 0 && 2088 $as_echo "$as_me: caught signal $ac_signal"2089 $as_echo "$as_me: exit $exit_status"1650 echo "$as_me: caught signal $ac_signal" 1651 echo "$as_me: exit $exit_status" 2090 1652 } >&5 2091 1653 rm -f core *.core core.conftest.* && … … 2094 1656 ' 0 2095 1657 for ac_signal in 1 2 13 15; do 2096 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1658 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2097 1659 done 2098 1660 ac_signal=0 … … 2101 1663 rm -f -r conftest* confdefs.h 2102 1664 2103 $as_echo "/* confdefs.h */" > confdefs.h2104 2105 1665 # Predefined preprocessor variables. 2106 1666 … … 2109 1669 _ACEOF 2110 1670 1671 2111 1672 cat >>confdefs.h <<_ACEOF 2112 1673 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2113 1674 _ACEOF 2114 1675 1676 2115 1677 cat >>confdefs.h <<_ACEOF 2116 1678 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2117 1679 _ACEOF 2118 1680 1681 2119 1682 cat >>confdefs.h <<_ACEOF 2120 1683 #define PACKAGE_STRING "$PACKAGE_STRING" 2121 1684 _ACEOF 2122 1685 1686 2123 1687 cat >>confdefs.h <<_ACEOF 2124 1688 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2125 1689 _ACEOF 2126 1690 2127 cat >>confdefs.h <<_ACEOF2128 #define PACKAGE_URL "$PACKAGE_URL"2129 _ACEOF2130 2131 1691 2132 1692 # Let the site file select an alternate cache file if it wants to. 2133 # Prefer an explicitly selected file to automatically selected ones. 2134 ac_site_file1=NONE 2135 ac_site_file2=NONE 1693 # Prefer explicitly selected file to automatically selected ones. 2136 1694 if test -n "$CONFIG_SITE"; then 2137 ac_site_file1=$CONFIG_SITE1695 set x "$CONFIG_SITE" 2138 1696 elif test "x$prefix" != xNONE; then 2139 ac_site_file1=$prefix/share/config.site2140 ac_site_file2=$prefix/etc/config.site2141 else 2142 ac_site_file1=$ac_default_prefix/share/config.site 2143 ac_site_file2=$ac_default_prefix/etc/config.site 2144 fi 2145 for ac_site_file in "$ac_site_file1" "$ac_site_file2"1697 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1698 else 1699 set x "$ac_default_prefix/share/config.site" \ 1700 "$ac_default_prefix/etc/config.site" 1701 fi 1702 shift 1703 for ac_site_file 2146 1704 do 2147 test "x$ac_site_file" = xNONE && continue 2148 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2149 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2150 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1705 if test -r "$ac_site_file"; then 1706 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1707 echo "$as_me: loading site script $ac_site_file" >&6;} 2151 1708 sed 's/^/| /' "$ac_site_file" >&5 2152 1709 . "$ac_site_file" … … 2155 1712 2156 1713 if test -r "$cache_file"; then 2157 # Some versions of bash will fail to source /dev/null (special files2158 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2159 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2160 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&52161 $as_echo "$as_me: loading cache $cache_file" >&6;}1714 # Some versions of bash will fail to source /dev/null (special 1715 # files actually), so we avoid doing that. 1716 if test -f "$cache_file"; then 1717 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1718 echo "$as_me: loading cache $cache_file" >&6;} 2162 1719 case $cache_file in 2163 1720 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 2166 1723 fi 2167 1724 else 2168 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&52169 $as_echo "$as_me: creating cache $cache_file" >&6;}1725 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1726 echo "$as_me: creating cache $cache_file" >&6;} 2170 1727 >$cache_file 2171 1728 fi … … 2181 1738 case $ac_old_set,$ac_new_set in 2182 1739 set,) 2183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52184 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1740 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1741 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2185 1742 ac_cache_corrupted=: ;; 2186 1743 ,set) 2187 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&52188 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1744 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1745 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2189 1746 ac_cache_corrupted=: ;; 2190 1747 ,);; 2191 1748 *) 2192 1749 if test "x$ac_old_val" != "x$ac_new_val"; then 2193 # differences in whitespace do not lead to failure. 2194 ac_old_val_w=`echo x $ac_old_val` 2195 ac_new_val_w=`echo x $ac_new_val` 2196 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2197 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2198 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2199 ac_cache_corrupted=: 2200 else 2201 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2202 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2203 eval $ac_var=\$ac_old_val 2204 fi 2205 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2206 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2207 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2208 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1750 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1751 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1752 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1753 echo "$as_me: former value: $ac_old_val" >&2;} 1754 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1755 echo "$as_me: current value: $ac_new_val" >&2;} 1756 ac_cache_corrupted=: 2209 1757 fi;; 2210 1758 esac … … 2212 1760 if test "$ac_new_set" = set; then 2213 1761 case $ac_new_val in 2214 *\'*) ac_arg=$ac_var=` $as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;1762 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2215 1763 *) ac_arg=$ac_var=$ac_new_val ;; 2216 1764 esac 2217 1765 case " $ac_configure_args " in 2218 1766 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2219 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1767 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2220 1768 esac 2221 1769 fi 2222 1770 done 2223 1771 if $ac_cache_corrupted; then 2224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2227 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2228 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2229 fi 2230 ## -------------------- ## 2231 ## Main body of script. ## 2232 ## -------------------- ## 1772 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1773 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1774 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1775 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1776 { (exit 1); exit 1; }; } 1777 fi 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 2233 1802 2234 1803 ac_ext=c … … 2244 1813 ac_aux_dir= 2245 1814 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2246 for ac_t in install-sh install.sh shtool; do 2247 if test -f "$ac_dir/$ac_t"; then 2248 ac_aux_dir=$ac_dir 2249 ac_install_sh="$ac_aux_dir/$ac_t -c" 2250 break 2 2251 fi 2252 done 1815 if test -f "$ac_dir/install-sh"; then 1816 ac_aux_dir=$ac_dir 1817 ac_install_sh="$ac_aux_dir/install-sh -c" 1818 break 1819 elif test -f "$ac_dir/install.sh"; then 1820 ac_aux_dir=$ac_dir 1821 ac_install_sh="$ac_aux_dir/install.sh -c" 1822 break 1823 elif test -f "$ac_dir/shtool"; then 1824 ac_aux_dir=$ac_dir 1825 ac_install_sh="$ac_aux_dir/shtool install -c" 1826 break 1827 fi 2253 1828 done 2254 1829 if test -z "$ac_aux_dir"; then 2255 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1830 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1831 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1832 { (exit 1); exit 1; }; } 2256 1833 fi 2257 1834 … … 2267 1844 # Make sure we can run config.sub. 2268 1845 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2269 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2270 2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2272 $as_echo_n "checking build system type... " >&6; } 2273 if test "${ac_cv_build+set}" = set; then : 2274 $as_echo_n "(cached) " >&6 1846 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1847 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1848 { (exit 1); exit 1; }; } 1849 1850 { echo "$as_me:$LINENO: checking build system type" >&5 1851 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1852 if test "${ac_cv_build+set}" = set; then 1853 echo $ECHO_N "(cached) $ECHO_C" >&6 2275 1854 else 2276 1855 ac_build_alias=$build_alias … … 2278 1857 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2279 1858 test "x$ac_build_alias" = x && 2280 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1859 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1860 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1861 { (exit 1); exit 1; }; } 2281 1862 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2282 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2283 2284 fi 2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2286 $as_echo "$ac_cv_build" >&6; } 1863 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1864 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1865 { (exit 1); exit 1; }; } 1866 1867 fi 1868 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1869 echo "${ECHO_T}$ac_cv_build" >&6; } 2287 1870 case $ac_cv_build in 2288 1871 *-*-*) ;; 2289 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1872 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1873 echo "$as_me: error: invalid value of canonical build" >&2;} 1874 { (exit 1); exit 1; }; };; 2290 1875 esac 2291 1876 build=$ac_cv_build … … 2303 1888 2304 1889 2305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&52306 $as_echo_n "checking host system type..." >&6; }2307 if test "${ac_cv_host+set}" = set; then :2308 $as_echo_n "(cached)" >&61890 { echo "$as_me:$LINENO: checking host system type" >&5 1891 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1892 if test "${ac_cv_host+set}" = set; then 1893 echo $ECHO_N "(cached) $ECHO_C" >&6 2309 1894 else 2310 1895 if test "x$host_alias" = x; then … … 2312 1897 else 2313 1898 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2314 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2315 fi 2316 2317 fi 2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2319 $as_echo "$ac_cv_host" >&6; } 1899 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1900 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1901 { (exit 1); exit 1; }; } 1902 fi 1903 1904 fi 1905 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1906 echo "${ECHO_T}$ac_cv_host" >&6; } 2320 1907 case $ac_cv_host in 2321 1908 *-*-*) ;; 2322 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1909 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1910 echo "$as_me: error: invalid value of canonical host" >&2;} 1911 { (exit 1); exit 1; }; };; 2323 1912 esac 2324 1913 host=$ac_cv_host … … 2336 1925 2337 1926 2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&52339 $as_echo_n "checking target system type..." >&6; }2340 if test "${ac_cv_target+set}" = set; then :2341 $as_echo_n "(cached)" >&61927 { echo "$as_me:$LINENO: checking target system type" >&5 1928 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 1929 if test "${ac_cv_target+set}" = set; then 1930 echo $ECHO_N "(cached) $ECHO_C" >&6 2342 1931 else 2343 1932 if test "x$target_alias" = x; then … … 2345 1934 else 2346 1935 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2347 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2348 fi 2349 2350 fi 2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2352 $as_echo "$ac_cv_target" >&6; } 1936 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1937 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1938 { (exit 1); exit 1; }; } 1939 fi 1940 1941 fi 1942 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1943 echo "${ECHO_T}$ac_cv_target" >&6; } 2353 1944 case $ac_cv_target in 2354 1945 *-*-*) ;; 2355 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 1946 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1947 echo "$as_me: error: invalid value of canonical target" >&2;} 1948 { (exit 1); exit 1; }; };; 2356 1949 esac 2357 1950 target=$ac_cv_target … … 2397 1990 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2398 1991 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52400 $as_echo_n "checking for $ac_word..." >&6; }2401 if test "${ac_cv_prog_CC+set}" = set; then :2402 $as_echo_n "(cached)" >&61992 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1994 if test "${ac_cv_prog_CC+set}" = set; then 1995 echo $ECHO_N "(cached) $ECHO_C" >&6 2403 1996 else 2404 1997 if test -n "$CC"; then … … 2410 2003 IFS=$as_save_IFS 2411 2004 test -z "$as_dir" && as_dir=. 2412 2005 for ac_exec_ext in '' $ac_executable_extensions; do 2413 2006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2414 2007 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2416 2009 break 2 2417 2010 fi 2418 2011 done 2419 2012 done 2420 2013 IFS=$as_save_IFS 2421 2014 … … 2424 2017 CC=$ac_cv_prog_CC 2425 2018 if test -n "$CC"; then 2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52427 $as_echo "$CC" >&6; }2428 else 2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52430 $as_echo "no" >&6; }2019 { echo "$as_me:$LINENO: result: $CC" >&5 2020 echo "${ECHO_T}$CC" >&6; } 2021 else 2022 { echo "$as_me:$LINENO: result: no" >&5 2023 echo "${ECHO_T}no" >&6; } 2431 2024 fi 2432 2025 … … 2437 2030 # Extract the first word of "gcc", so it can be a program name with args. 2438 2031 set dummy gcc; ac_word=$2 2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52440 $as_echo_n "checking for $ac_word..." >&6; }2441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2442 $as_echo_n "(cached)" >&62032 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2034 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2035 echo $ECHO_N "(cached) $ECHO_C" >&6 2443 2036 else 2444 2037 if test -n "$ac_ct_CC"; then … … 2450 2043 IFS=$as_save_IFS 2451 2044 test -z "$as_dir" && as_dir=. 2452 2045 for ac_exec_ext in '' $ac_executable_extensions; do 2453 2046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2454 2047 ac_cv_prog_ac_ct_CC="gcc" 2455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2456 2049 break 2 2457 2050 fi 2458 2051 done 2459 2052 done 2460 2053 IFS=$as_save_IFS 2461 2054 … … 2464 2057 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2465 2058 if test -n "$ac_ct_CC"; then 2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&52467 $as_echo "$ac_ct_CC" >&6; }2468 else 2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52470 $as_echo "no" >&6; }2059 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2060 echo "${ECHO_T}$ac_ct_CC" >&6; } 2061 else 2062 { echo "$as_me:$LINENO: result: no" >&5 2063 echo "${ECHO_T}no" >&6; } 2471 2064 fi 2472 2065 … … 2476 2069 case $cross_compiling:$ac_tool_warned in 2477 2070 yes:) 2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2072 whose name does not start with the host triplet. If you think this 2073 configuration is useful to you, please write to autoconf@gnu.org." >&5 2074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2075 whose name does not start with the host triplet. If you think this 2076 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2480 2077 ac_tool_warned=yes ;; 2481 2078 esac … … 2490 2087 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2491 2088 set dummy ${ac_tool_prefix}cc; ac_word=$2 2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52493 $as_echo_n "checking for $ac_word..." >&6; }2494 if test "${ac_cv_prog_CC+set}" = set; then :2495 $as_echo_n "(cached)" >&62089 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2091 if test "${ac_cv_prog_CC+set}" = set; then 2092 echo $ECHO_N "(cached) $ECHO_C" >&6 2496 2093 else 2497 2094 if test -n "$CC"; then … … 2503 2100 IFS=$as_save_IFS 2504 2101 test -z "$as_dir" && as_dir=. 2505 2102 for ac_exec_ext in '' $ac_executable_extensions; do 2506 2103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2507 2104 ac_cv_prog_CC="${ac_tool_prefix}cc" 2508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2509 2106 break 2 2510 2107 fi 2511 2108 done 2512 2109 done 2513 2110 IFS=$as_save_IFS 2514 2111 … … 2517 2114 CC=$ac_cv_prog_CC 2518 2115 if test -n "$CC"; then 2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52520 $as_echo "$CC" >&6; }2521 else 2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52523 $as_echo "no" >&6; }2116 { echo "$as_me:$LINENO: result: $CC" >&5 2117 echo "${ECHO_T}$CC" >&6; } 2118 else 2119 { echo "$as_me:$LINENO: result: no" >&5 2120 echo "${ECHO_T}no" >&6; } 2524 2121 fi 2525 2122 … … 2530 2127 # Extract the first word of "cc", so it can be a program name with args. 2531 2128 set dummy cc; ac_word=$2 2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52533 $as_echo_n "checking for $ac_word..." >&6; }2534 if test "${ac_cv_prog_CC+set}" = set; then :2535 $as_echo_n "(cached)" >&62129 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2131 if test "${ac_cv_prog_CC+set}" = set; then 2132 echo $ECHO_N "(cached) $ECHO_C" >&6 2536 2133 else 2537 2134 if test -n "$CC"; then … … 2544 2141 IFS=$as_save_IFS 2545 2142 test -z "$as_dir" && as_dir=. 2546 2143 for ac_exec_ext in '' $ac_executable_extensions; do 2547 2144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2548 2145 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2551 2148 fi 2552 2149 ac_cv_prog_CC="cc" 2553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2554 2151 break 2 2555 2152 fi 2556 2153 done 2557 2154 done 2558 2155 IFS=$as_save_IFS 2559 2156 … … 2574 2171 CC=$ac_cv_prog_CC 2575 2172 if test -n "$CC"; then 2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52577 $as_echo "$CC" >&6; }2578 else 2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52580 $as_echo "no" >&6; }2173 { echo "$as_me:$LINENO: result: $CC" >&5 2174 echo "${ECHO_T}$CC" >&6; } 2175 else 2176 { echo "$as_me:$LINENO: result: no" >&5 2177 echo "${ECHO_T}no" >&6; } 2581 2178 fi 2582 2179 … … 2589 2186 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2590 2187 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52592 $as_echo_n "checking for $ac_word..." >&6; }2593 if test "${ac_cv_prog_CC+set}" = set; then :2594 $as_echo_n "(cached)" >&62188 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2190 if test "${ac_cv_prog_CC+set}" = set; then 2191 echo $ECHO_N "(cached) $ECHO_C" >&6 2595 2192 else 2596 2193 if test -n "$CC"; then … … 2602 2199 IFS=$as_save_IFS 2603 2200 test -z "$as_dir" && as_dir=. 2604 2201 for ac_exec_ext in '' $ac_executable_extensions; do 2605 2202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2606 2203 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2608 2205 break 2 2609 2206 fi 2610 2207 done 2611 2208 done 2612 2209 IFS=$as_save_IFS 2613 2210 … … 2616 2213 CC=$ac_cv_prog_CC 2617 2214 if test -n "$CC"; then 2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52619 $as_echo "$CC" >&6; }2620 else 2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52622 $as_echo "no" >&6; }2215 { echo "$as_me:$LINENO: result: $CC" >&5 2216 echo "${ECHO_T}$CC" >&6; } 2217 else 2218 { echo "$as_me:$LINENO: result: no" >&5 2219 echo "${ECHO_T}no" >&6; } 2623 2220 fi 2624 2221 … … 2633 2230 # Extract the first word of "$ac_prog", so it can be a program name with args. 2634 2231 set dummy $ac_prog; ac_word=$2 2635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52636 $as_echo_n "checking for $ac_word..." >&6; }2637 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2638 $as_echo_n "(cached)" >&62232 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2234 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2235 echo $ECHO_N "(cached) $ECHO_C" >&6 2639 2236 else 2640 2237 if test -n "$ac_ct_CC"; then … … 2646 2243 IFS=$as_save_IFS 2647 2244 test -z "$as_dir" && as_dir=. 2648 2245 for ac_exec_ext in '' $ac_executable_extensions; do 2649 2246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2650 2247 ac_cv_prog_ac_ct_CC="$ac_prog" 2651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2652 2249 break 2 2653 2250 fi 2654 2251 done 2655 2252 done 2656 2253 IFS=$as_save_IFS 2657 2254 … … 2660 2257 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2661 2258 if test -n "$ac_ct_CC"; then 2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&52663 $as_echo "$ac_ct_CC" >&6; }2664 else 2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52666 $as_echo "no" >&6; }2259 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2260 echo "${ECHO_T}$ac_ct_CC" >&6; } 2261 else 2262 { echo "$as_me:$LINENO: result: no" >&5 2263 echo "${ECHO_T}no" >&6; } 2667 2264 fi 2668 2265 … … 2676 2273 case $cross_compiling:$ac_tool_warned in 2677 2274 yes:) 2678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2275 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2276 whose name does not start with the host triplet. If you think this 2277 configuration is useful to you, please write to autoconf@gnu.org." >&5 2278 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2279 whose name does not start with the host triplet. If you think this 2280 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2680 2281 ac_tool_warned=yes ;; 2681 2282 esac … … 2687 2288 2688 2289 2689 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2691 as_fn_error "no acceptable C compiler found in \$PATH 2692 See \`config.log' for more details." "$LINENO" 5; } 2290 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2291 See \`config.log' for more details." >&5 2292 echo "$as_me: error: no acceptable C compiler found in \$PATH 2293 See \`config.log' for more details." >&2;} 2294 { (exit 1); exit 1; }; } 2693 2295 2694 2296 # Provide some information about the compiler. 2695 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2696 set X $ac_compile 2697 ac_compiler=$2 2698 for ac_option in --version -v -V -qversion; do 2699 { { ac_try="$ac_compiler $ac_option >&5" 2700 case "(($ac_try" in 2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2702 *) ac_try_echo=$ac_try;; 2703 esac 2704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2705 $as_echo "$ac_try_echo"; } >&5 2706 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2707 ac_status=$? 2708 if test -s conftest.err; then 2709 sed '10a\ 2710 ... rest of stderr output deleted ... 2711 10q' conftest.err >conftest.er1 2712 cat conftest.er1 >&5 2713 fi 2714 rm -f conftest.er1 conftest.err 2715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2716 test $ac_status = 0; } 2717 done 2718 2719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2297 echo "$as_me:$LINENO: checking for C compiler version" >&5 2298 ac_compiler=`set X $ac_compile; echo $2` 2299 { (ac_try="$ac_compiler --version >&5" 2300 case "(($ac_try" in 2301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2302 *) ac_try_echo=$ac_try;; 2303 esac 2304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2305 (eval "$ac_compiler --version >&5") 2>&5 2306 ac_status=$? 2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2308 (exit $ac_status); } 2309 { (ac_try="$ac_compiler -v >&5" 2310 case "(($ac_try" in 2311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2312 *) ac_try_echo=$ac_try;; 2313 esac 2314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2315 (eval "$ac_compiler -v >&5") 2>&5 2316 ac_status=$? 2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2318 (exit $ac_status); } 2319 { (ac_try="$ac_compiler -V >&5" 2320 case "(($ac_try" in 2321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2322 *) ac_try_echo=$ac_try;; 2323 esac 2324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2325 (eval "$ac_compiler -V >&5") 2>&5 2326 ac_status=$? 2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2328 (exit $ac_status); } 2329 2330 cat >conftest.$ac_ext <<_ACEOF 2331 /* confdefs.h. */ 2332 _ACEOF 2333 cat confdefs.h >>conftest.$ac_ext 2334 cat >>conftest.$ac_ext <<_ACEOF 2720 2335 /* end confdefs.h. */ 2721 2336 … … 2729 2344 _ACEOF 2730 2345 ac_clean_files_save=$ac_clean_files 2731 ac_clean_files="$ac_clean_files a.out a. out.dSYM a.exe b.out"2346 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2732 2347 # Try to create an executable without -o first, disregard a.out. 2733 2348 # It will help us diagnose broken compilers, and finding out an intuition 2734 2349 # of exeext. 2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2736 $as_echo_n "checking whether the C compiler works... " >&6; } 2737 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2738 2739 # The possible output files: 2740 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2741 2350 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2351 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2352 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2353 # 2354 # List of possible output files, starting from the most likely. 2355 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2356 # only as a last resort. b.out is created by i960 compilers. 2357 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2358 # 2359 # The IRIX 6 linker writes into existing files which may not be 2360 # executable, retaining their permissions. Remove them first so a 2361 # subsequent execution test works. 2742 2362 ac_rmfiles= 2743 2363 for ac_file in $ac_files 2744 2364 do 2745 2365 case $ac_file in 2746 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj ) ;;2366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2747 2367 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2748 2368 esac … … 2750 2370 rm -f $ac_rmfiles 2751 2371 2752 if { { ac_try="$ac_link_default" 2753 case "(($ac_try" in 2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2755 *) ac_try_echo=$ac_try;; 2756 esac 2757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2758 $as_echo "$ac_try_echo"; } >&5 2372 if { (ac_try="$ac_link_default" 2373 case "(($ac_try" in 2374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2375 *) ac_try_echo=$ac_try;; 2376 esac 2377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2759 2378 (eval "$ac_link_default") 2>&5 2760 2379 ac_status=$? 2761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52762 test $ac_status = 0; }; then :2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2381 (exit $ac_status); }; then 2763 2382 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2764 2383 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2770 2389 test -f "$ac_file" || continue 2771 2390 case $ac_file in 2772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj )2391 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2773 2392 ;; 2774 2393 [ab].out ) … … 2777 2396 break;; 2778 2397 *.* ) 2779 2398 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2780 2399 then :; else 2781 2400 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2796 2415 ac_file='' 2797 2416 fi 2798 if test -z "$ac_file"; then : 2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2800 $as_echo "no" >&6; } 2801 $as_echo "$as_me: failed program was:" >&5 2417 2418 { echo "$as_me:$LINENO: result: $ac_file" >&5 2419 echo "${ECHO_T}$ac_file" >&6; } 2420 if test -z "$ac_file"; then 2421 echo "$as_me: failed program was:" >&5 2802 2422 sed 's/^/| /' conftest.$ac_ext >&5 2803 2423 2804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2806 { as_fn_set_status 77 2807 as_fn_error "C compiler cannot create executables 2808 See \`config.log' for more details." "$LINENO" 5; }; } 2809 else 2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2811 $as_echo "yes" >&6; } 2812 fi 2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2814 $as_echo_n "checking for C compiler default output file name... " >&6; } 2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2816 $as_echo "$ac_file" >&6; } 2424 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2425 See \`config.log' for more details." >&5 2426 echo "$as_me: error: C compiler cannot create executables 2427 See \`config.log' for more details." >&2;} 2428 { (exit 77); exit 77; }; } 2429 fi 2430 2817 2431 ac_exeext=$ac_cv_exeext 2818 2432 2819 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2433 # Check that the compiler produces executables we can run. If not, either 2434 # the compiler is broken, or we cross compile. 2435 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2436 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2437 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2438 # If not cross compiling, check that we can run a simple program. 2439 if test "$cross_compiling" != yes; then 2440 if { ac_try='./$ac_file' 2441 { (case "(($ac_try" in 2442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2443 *) ac_try_echo=$ac_try;; 2444 esac 2445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2446 (eval "$ac_try") 2>&5 2447 ac_status=$? 2448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2449 (exit $ac_status); }; }; then 2450 cross_compiling=no 2451 else 2452 if test "$cross_compiling" = maybe; then 2453 cross_compiling=yes 2454 else 2455 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2456 If you meant to cross compile, use \`--host'. 2457 See \`config.log' for more details." >&5 2458 echo "$as_me: error: cannot run C compiled programs. 2459 If you meant to cross compile, use \`--host'. 2460 See \`config.log' for more details." >&2;} 2461 { (exit 1); exit 1; }; } 2462 fi 2463 fi 2464 fi 2465 { echo "$as_me:$LINENO: result: yes" >&5 2466 echo "${ECHO_T}yes" >&6; } 2467 2468 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2820 2469 ac_clean_files=$ac_clean_files_save 2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2822 $as_echo_n "checking for suffix of executables... " >&6; } 2823 if { { ac_try="$ac_link" 2824 case "(($ac_try" in 2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2826 *) ac_try_echo=$ac_try;; 2827 esac 2828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2829 $as_echo "$ac_try_echo"; } >&5 2470 # Check that the compiler produces executables we can run. If not, either 2471 # the compiler is broken, or we cross compile. 2472 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2473 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2474 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2475 echo "${ECHO_T}$cross_compiling" >&6; } 2476 2477 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2478 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2479 if { (ac_try="$ac_link" 2480 case "(($ac_try" in 2481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2482 *) ac_try_echo=$ac_try;; 2483 esac 2484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2830 2485 (eval "$ac_link") 2>&5 2831 2486 ac_status=$? 2832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52833 test $ac_status = 0; }; then :2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2488 (exit $ac_status); }; then 2834 2489 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2835 2490 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2839 2494 test -f "$ac_file" || continue 2840 2495 case $ac_file in 2841 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj ) ;;2496 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2842 2497 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2843 2498 break;; … … 2846 2501 done 2847 2502 else 2848 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2850 as_fn_error "cannot compute suffix of executables: cannot compile and link 2851 See \`config.log' for more details." "$LINENO" 5; } 2852 fi 2853 rm -f conftest conftest$ac_cv_exeext 2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2855 $as_echo "$ac_cv_exeext" >&6; } 2503 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2504 See \`config.log' for more details." >&5 2505 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2506 See \`config.log' for more details." >&2;} 2507 { (exit 1); exit 1; }; } 2508 fi 2509 2510 rm -f conftest$ac_cv_exeext 2511 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2512 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2856 2513 2857 2514 rm -f conftest.$ac_ext 2858 2515 EXEEXT=$ac_cv_exeext 2859 2516 ac_exeext=$EXEEXT 2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2861 /* end confdefs.h. */ 2862 #include <stdio.h> 2517 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2518 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2519 if test "${ac_cv_objext+set}" = set; then 2520 echo $ECHO_N "(cached) $ECHO_C" >&6 2521 else 2522 cat >conftest.$ac_ext <<_ACEOF 2523 /* confdefs.h. */ 2524 _ACEOF 2525 cat confdefs.h >>conftest.$ac_ext 2526 cat >>conftest.$ac_ext <<_ACEOF 2527 /* end confdefs.h. */ 2528 2863 2529 int 2864 2530 main () 2865 2531 { 2866 FILE *f = fopen ("conftest.out", "w");2867 return ferror (f) || fclose (f) != 0;2868 2532 2869 2533 ; … … 2871 2535 } 2872 2536 _ACEOF 2873 ac_clean_files="$ac_clean_files conftest.out"2874 # Check that the compiler produces executables we can run. If not, either2875 # the compiler is broken, or we cross compile.2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&52877 $as_echo_n "checking whether we are cross compiling... " >&6; }2878 if test "$cross_compiling" != yes; then2879 { { ac_try="$ac_link"2880 case "(($ac_try" in2881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2882 *) ac_try_echo=$ac_try;;2883 esac2884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2885 $as_echo "$ac_try_echo"; } >&52886 (eval "$ac_link") 2>&52887 ac_status=$?2888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52889 test $ac_status = 0; }2890 if { ac_try='./conftest$ac_cv_exeext'2891 { { case "(($ac_try" in2892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2893 *) ac_try_echo=$ac_try;;2894 esac2895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2896 $as_echo "$ac_try_echo"; } >&52897 (eval "$ac_try") 2>&52898 ac_status=$?2899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52900 test $ac_status = 0; }; }; then2901 cross_compiling=no2902 else2903 if test "$cross_compiling" = maybe; then2904 cross_compiling=yes2905 else2906 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2908 as_fn_error "cannot run C compiled programs.2909 If you meant to cross compile, use \`--host'.2910 See \`config.log' for more details." "$LINENO" 5; }2911 fi2912 fi2913 fi2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&52915 $as_echo "$cross_compiling" >&6; }2916 2917 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out2918 ac_clean_files=$ac_clean_files_save2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&52920 $as_echo_n "checking for suffix of object files... " >&6; }2921 if test "${ac_cv_objext+set}" = set; then :2922 $as_echo_n "(cached) " >&62923 else2924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2925 /* end confdefs.h. */2926 2927 int2928 main ()2929 {2930 2931 ;2932 return 0;2933 }2934 _ACEOF2935 2537 rm -f conftest.o conftest.obj 2936 if { { ac_try="$ac_compile" 2937 case "(($ac_try" in 2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2939 *) ac_try_echo=$ac_try;; 2940 esac 2941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2942 $as_echo "$ac_try_echo"; } >&5 2538 if { (ac_try="$ac_compile" 2539 case "(($ac_try" in 2540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2541 *) ac_try_echo=$ac_try;; 2542 esac 2543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2943 2544 (eval "$ac_compile") 2>&5 2944 2545 ac_status=$? 2945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52946 test $ac_status = 0; }; then :2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2547 (exit $ac_status); }; then 2947 2548 for ac_file in conftest.o conftest.obj conftest.*; do 2948 2549 test -f "$ac_file" || continue; 2949 2550 case $ac_file in 2950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM) ;;2551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2951 2552 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2952 2553 break;; … … 2954 2555 done 2955 2556 else 2956 $as_echo "$as_me: failed program was:" >&52557 echo "$as_me: failed program was:" >&5 2957 2558 sed 's/^/| /' conftest.$ac_ext >&5 2958 2559 2959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2961 as_fn_error "cannot compute suffix of object files: cannot compile 2962 See \`config.log' for more details." "$LINENO" 5; } 2963 fi 2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2561 See \`config.log' for more details." >&5 2562 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2563 See \`config.log' for more details." >&2;} 2564 { (exit 1); exit 1; }; } 2565 fi 2566 2964 2567 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2965 2568 fi 2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&52967 $as_echo "$ac_cv_objext" >&6; }2569 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2570 echo "${ECHO_T}$ac_cv_objext" >&6; } 2968 2571 OBJEXT=$ac_cv_objext 2969 2572 ac_objext=$OBJEXT 2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2971 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2972 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2973 $as_echo_n "(cached) " >&6 2974 else 2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2573 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2574 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2575 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2576 echo $ECHO_N "(cached) $ECHO_C" >&6 2577 else 2578 cat >conftest.$ac_ext <<_ACEOF 2579 /* confdefs.h. */ 2580 _ACEOF 2581 cat confdefs.h >>conftest.$ac_ext 2582 cat >>conftest.$ac_ext <<_ACEOF 2976 2583 /* end confdefs.h. */ 2977 2584 … … 2987 2594 } 2988 2595 _ACEOF 2989 if ac_fn_c_try_compile "$LINENO"; then : 2596 rm -f conftest.$ac_objext 2597 if { (ac_try="$ac_compile" 2598 case "(($ac_try" in 2599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2600 *) ac_try_echo=$ac_try;; 2601 esac 2602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2603 (eval "$ac_compile") 2>conftest.er1 2604 ac_status=$? 2605 grep -v '^ *+' conftest.er1 >conftest.err 2606 rm -f conftest.er1 2607 cat conftest.err >&5 2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2609 (exit $ac_status); } && { 2610 test -z "$ac_c_werror_flag" || 2611 test ! -s conftest.err 2612 } && test -s conftest.$ac_objext; then 2990 2613 ac_compiler_gnu=yes 2991 2614 else 2992 ac_compiler_gnu=no 2993 fi 2615 echo "$as_me: failed program was:" >&5 2616 sed 's/^/| /' conftest.$ac_ext >&5 2617 2618 ac_compiler_gnu=no 2619 fi 2620 2994 2621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2995 2622 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2996 2623 2997 2624 fi 2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2999 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3000 if test $ac_compiler_gnu = yes; then 3001 GCC=yes 3002 else 3003 GCC= 3004 fi 2625 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2626 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2627 GCC=`test $ac_compiler_gnu = yes && echo yes` 3005 2628 ac_test_CFLAGS=${CFLAGS+set} 3006 2629 ac_save_CFLAGS=$CFLAGS 3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&53008 $as_echo_n "checking whether $CC accepts -g..." >&6; }3009 if test "${ac_cv_prog_cc_g+set}" = set; then :3010 $as_echo_n "(cached)" >&62630 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2631 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2632 if test "${ac_cv_prog_cc_g+set}" = set; then 2633 echo $ECHO_N "(cached) $ECHO_C" >&6 3011 2634 else 3012 2635 ac_save_c_werror_flag=$ac_c_werror_flag … … 3014 2637 ac_cv_prog_cc_g=no 3015 2638 CFLAGS="-g" 3016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2639 cat >conftest.$ac_ext <<_ACEOF 2640 /* confdefs.h. */ 2641 _ACEOF 2642 cat confdefs.h >>conftest.$ac_ext 2643 cat >>conftest.$ac_ext <<_ACEOF 3017 2644 /* end confdefs.h. */ 3018 2645 … … 3025 2652 } 3026 2653 _ACEOF 3027 if ac_fn_c_try_compile "$LINENO"; then : 2654 rm -f conftest.$ac_objext 2655 if { (ac_try="$ac_compile" 2656 case "(($ac_try" in 2657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2658 *) ac_try_echo=$ac_try;; 2659 esac 2660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2661 (eval "$ac_compile") 2>conftest.er1 2662 ac_status=$? 2663 grep -v '^ *+' conftest.er1 >conftest.err 2664 rm -f conftest.er1 2665 cat conftest.err >&5 2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2667 (exit $ac_status); } && { 2668 test -z "$ac_c_werror_flag" || 2669 test ! -s conftest.err 2670 } && test -s conftest.$ac_objext; then 3028 2671 ac_cv_prog_cc_g=yes 3029 2672 else 3030 CFLAGS="" 3031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2673 echo "$as_me: failed program was:" >&5 2674 sed 's/^/| /' conftest.$ac_ext >&5 2675 2676 CFLAGS="" 2677 cat >conftest.$ac_ext <<_ACEOF 2678 /* confdefs.h. */ 2679 _ACEOF 2680 cat confdefs.h >>conftest.$ac_ext 2681 cat >>conftest.$ac_ext <<_ACEOF 3032 2682 /* end confdefs.h. */ 3033 2683 … … 3040 2690 } 3041 2691 _ACEOF 3042 if ac_fn_c_try_compile "$LINENO"; then : 3043 3044 else 3045 ac_c_werror_flag=$ac_save_c_werror_flag 2692 rm -f conftest.$ac_objext 2693 if { (ac_try="$ac_compile" 2694 case "(($ac_try" in 2695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2696 *) ac_try_echo=$ac_try;; 2697 esac 2698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2699 (eval "$ac_compile") 2>conftest.er1 2700 ac_status=$? 2701 grep -v '^ *+' conftest.er1 >conftest.err 2702 rm -f conftest.er1 2703 cat conftest.err >&5 2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2705 (exit $ac_status); } && { 2706 test -z "$ac_c_werror_flag" || 2707 test ! -s conftest.err 2708 } && test -s conftest.$ac_objext; then 2709 : 2710 else 2711 echo "$as_me: failed program was:" >&5 2712 sed 's/^/| /' conftest.$ac_ext >&5 2713 2714 ac_c_werror_flag=$ac_save_c_werror_flag 3046 2715 CFLAGS="-g" 3047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2716 cat >conftest.$ac_ext <<_ACEOF 2717 /* confdefs.h. */ 2718 _ACEOF 2719 cat confdefs.h >>conftest.$ac_ext 2720 cat >>conftest.$ac_ext <<_ACEOF 3048 2721 /* end confdefs.h. */ 3049 2722 … … 3056 2729 } 3057 2730 _ACEOF 3058 if ac_fn_c_try_compile "$LINENO"; then : 2731 rm -f conftest.$ac_objext 2732 if { (ac_try="$ac_compile" 2733 case "(($ac_try" in 2734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2735 *) ac_try_echo=$ac_try;; 2736 esac 2737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2738 (eval "$ac_compile") 2>conftest.er1 2739 ac_status=$? 2740 grep -v '^ *+' conftest.er1 >conftest.err 2741 rm -f conftest.er1 2742 cat conftest.err >&5 2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2744 (exit $ac_status); } && { 2745 test -z "$ac_c_werror_flag" || 2746 test ! -s conftest.err 2747 } && test -s conftest.$ac_objext; then 3059 2748 ac_cv_prog_cc_g=yes 3060 fi 2749 else 2750 echo "$as_me: failed program was:" >&5 2751 sed 's/^/| /' conftest.$ac_ext >&5 2752 2753 2754 fi 2755 3061 2756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3062 2757 fi 2758 3063 2759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3064 2760 fi 2761 3065 2762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3066 2763 ac_c_werror_flag=$ac_save_c_werror_flag 3067 2764 fi 3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&53069 $as_echo "$ac_cv_prog_cc_g" >&6; }2765 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2766 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3070 2767 if test "$ac_test_CFLAGS" = set; then 3071 2768 CFLAGS=$ac_save_CFLAGS … … 3083 2780 fi 3084 2781 fi 3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&53086 $as_echo_n "checking for $CC option to accept ISO C89..." >&6; }3087 if test "${ac_cv_prog_cc_c89+set}" = set; then :3088 $as_echo_n "(cached)" >&62782 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2783 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2784 if test "${ac_cv_prog_cc_c89+set}" = set; then 2785 echo $ECHO_N "(cached) $ECHO_C" >&6 3089 2786 else 3090 2787 ac_cv_prog_cc_c89=no 3091 2788 ac_save_CC=$CC 3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2789 cat >conftest.$ac_ext <<_ACEOF 2790 /* confdefs.h. */ 2791 _ACEOF 2792 cat confdefs.h >>conftest.$ac_ext 2793 cat >>conftest.$ac_ext <<_ACEOF 3093 2794 /* end confdefs.h. */ 3094 2795 #include <stdarg.h> … … 3147 2848 do 3148 2849 CC="$ac_save_CC $ac_arg" 3149 if ac_fn_c_try_compile "$LINENO"; then : 2850 rm -f conftest.$ac_objext 2851 if { (ac_try="$ac_compile" 2852 case "(($ac_try" in 2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2854 *) ac_try_echo=$ac_try;; 2855 esac 2856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2857 (eval "$ac_compile") 2>conftest.er1 2858 ac_status=$? 2859 grep -v '^ *+' conftest.er1 >conftest.err 2860 rm -f conftest.er1 2861 cat conftest.err >&5 2862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2863 (exit $ac_status); } && { 2864 test -z "$ac_c_werror_flag" || 2865 test ! -s conftest.err 2866 } && test -s conftest.$ac_objext; then 3150 2867 ac_cv_prog_cc_c89=$ac_arg 3151 fi 2868 else 2869 echo "$as_me: failed program was:" >&5 2870 sed 's/^/| /' conftest.$ac_ext >&5 2871 2872 2873 fi 2874 3152 2875 rm -f core conftest.err conftest.$ac_objext 3153 2876 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3160 2883 case "x$ac_cv_prog_cc_c89" in 3161 2884 x) 3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&53163 $as_echo "none needed" >&6; } ;;2885 { echo "$as_me:$LINENO: result: none needed" >&5 2886 echo "${ECHO_T}none needed" >&6; } ;; 3164 2887 xno) 3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&53166 $as_echo "unsupported" >&6; } ;;2888 { echo "$as_me:$LINENO: result: unsupported" >&5 2889 echo "${ECHO_T}unsupported" >&6; } ;; 3167 2890 *) 3168 2891 CC="$CC $ac_cv_prog_cc_c89" 3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3170 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3171 esac 3172 if test "x$ac_cv_prog_cc_c89" != xno; then : 3173 3174 fi 2892 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2893 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2894 esac 2895 3175 2896 3176 2897 ac_ext=c … … 3194 2915 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3195 2916 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53197 $as_echo_n "checking for $ac_word..." >&6; }3198 if test "${ac_cv_prog_CXX+set}" = set; then :3199 $as_echo_n "(cached)" >&62917 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2919 if test "${ac_cv_prog_CXX+set}" = set; then 2920 echo $ECHO_N "(cached) $ECHO_C" >&6 3200 2921 else 3201 2922 if test -n "$CXX"; then … … 3207 2928 IFS=$as_save_IFS 3208 2929 test -z "$as_dir" && as_dir=. 3209 2930 for ac_exec_ext in '' $ac_executable_extensions; do 3210 2931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3211 2932 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3213 2934 break 2 3214 2935 fi 3215 2936 done 3216 2937 done 3217 2938 IFS=$as_save_IFS 3218 2939 … … 3221 2942 CXX=$ac_cv_prog_CXX 3222 2943 if test -n "$CXX"; then 3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&53224 $as_echo "$CXX" >&6; }3225 else 3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53227 $as_echo "no" >&6; }2944 { echo "$as_me:$LINENO: result: $CXX" >&5 2945 echo "${ECHO_T}$CXX" >&6; } 2946 else 2947 { echo "$as_me:$LINENO: result: no" >&5 2948 echo "${ECHO_T}no" >&6; } 3228 2949 fi 3229 2950 … … 3238 2959 # Extract the first word of "$ac_prog", so it can be a program name with args. 3239 2960 set dummy $ac_prog; ac_word=$2 3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53241 $as_echo_n "checking for $ac_word..." >&6; }3242 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :3243 $as_echo_n "(cached)" >&62961 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2963 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2964 echo $ECHO_N "(cached) $ECHO_C" >&6 3244 2965 else 3245 2966 if test -n "$ac_ct_CXX"; then … … 3251 2972 IFS=$as_save_IFS 3252 2973 test -z "$as_dir" && as_dir=. 3253 2974 for ac_exec_ext in '' $ac_executable_extensions; do 3254 2975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3255 2976 ac_cv_prog_ac_ct_CXX="$ac_prog" 3256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3257 2978 break 2 3258 2979 fi 3259 2980 done 3260 2981 done 3261 2982 IFS=$as_save_IFS 3262 2983 … … 3265 2986 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3266 2987 if test -n "$ac_ct_CXX"; then 3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&53268 $as_echo "$ac_ct_CXX" >&6; }3269 else 3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53271 $as_echo "no" >&6; }2988 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2989 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2990 else 2991 { echo "$as_me:$LINENO: result: no" >&5 2992 echo "${ECHO_T}no" >&6; } 3272 2993 fi 3273 2994 … … 3281 3002 case $cross_compiling:$ac_tool_warned in 3282 3003 yes:) 3283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3004 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3005 whose name does not start with the host triplet. If you think this 3006 configuration is useful to you, please write to autoconf@gnu.org." >&5 3007 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3008 whose name does not start with the host triplet. If you think this 3009 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3285 3010 ac_tool_warned=yes ;; 3286 3011 esac … … 3292 3017 fi 3293 3018 # Provide some information about the compiler. 3294 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3295 set X $ac_compile 3296 ac_compiler=$2 3297 for ac_option in --version -v -V -qversion; do 3298 { { ac_try="$ac_compiler $ac_option >&5" 3299 case "(($ac_try" in 3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3301 *) ac_try_echo=$ac_try;; 3302 esac 3303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3304 $as_echo "$ac_try_echo"; } >&5 3305 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3306 ac_status=$? 3307 if test -s conftest.err; then 3308 sed '10a\ 3309 ... rest of stderr output deleted ... 3310 10q' conftest.err >conftest.er1 3311 cat conftest.er1 >&5 3312 fi 3313 rm -f conftest.er1 conftest.err 3314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3315 test $ac_status = 0; } 3316 done 3317 3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3319 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3320 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3321 $as_echo_n "(cached) " >&6 3322 else 3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3019 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3020 ac_compiler=`set X $ac_compile; echo $2` 3021 { (ac_try="$ac_compiler --version >&5" 3022 case "(($ac_try" in 3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3024 *) ac_try_echo=$ac_try;; 3025 esac 3026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3027 (eval "$ac_compiler --version >&5") 2>&5 3028 ac_status=$? 3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3030 (exit $ac_status); } 3031 { (ac_try="$ac_compiler -v >&5" 3032 case "(($ac_try" in 3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3034 *) ac_try_echo=$ac_try;; 3035 esac 3036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3037 (eval "$ac_compiler -v >&5") 2>&5 3038 ac_status=$? 3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3040 (exit $ac_status); } 3041 { (ac_try="$ac_compiler -V >&5" 3042 case "(($ac_try" in 3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3044 *) ac_try_echo=$ac_try;; 3045 esac 3046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3047 (eval "$ac_compiler -V >&5") 2>&5 3048 ac_status=$? 3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3050 (exit $ac_status); } 3051 3052 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3053 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3054 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3055 echo $ECHO_N "(cached) $ECHO_C" >&6 3056 else 3057 cat >conftest.$ac_ext <<_ACEOF 3058 /* confdefs.h. */ 3059 _ACEOF 3060 cat confdefs.h >>conftest.$ac_ext 3061 cat >>conftest.$ac_ext <<_ACEOF 3324 3062 /* end confdefs.h. */ 3325 3063 … … 3335 3073 } 3336 3074 _ACEOF 3337 if ac_fn_cxx_try_compile "$LINENO"; then : 3075 rm -f conftest.$ac_objext 3076 if { (ac_try="$ac_compile" 3077 case "(($ac_try" in 3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3079 *) ac_try_echo=$ac_try;; 3080 esac 3081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3082 (eval "$ac_compile") 2>conftest.er1 3083 ac_status=$? 3084 grep -v '^ *+' conftest.er1 >conftest.err 3085 rm -f conftest.er1 3086 cat conftest.err >&5 3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3088 (exit $ac_status); } && { 3089 test -z "$ac_cxx_werror_flag" || 3090 test ! -s conftest.err 3091 } && test -s conftest.$ac_objext; then 3338 3092 ac_compiler_gnu=yes 3339 3093 else 3340 ac_compiler_gnu=no 3341 fi 3094 echo "$as_me: failed program was:" >&5 3095 sed 's/^/| /' conftest.$ac_ext >&5 3096 3097 ac_compiler_gnu=no 3098 fi 3099 3342 3100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3343 3101 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3344 3102 3345 3103 fi 3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3347 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3348 if test $ac_compiler_gnu = yes; then 3349 GXX=yes 3350 else 3351 GXX= 3352 fi 3104 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3105 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3106 GXX=`test $ac_compiler_gnu = yes && echo yes` 3353 3107 ac_test_CXXFLAGS=${CXXFLAGS+set} 3354 3108 ac_save_CXXFLAGS=$CXXFLAGS 3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&53356 $as_echo_n "checking whether $CXX accepts -g..." >&6; }3357 if test "${ac_cv_prog_cxx_g+set}" = set; then :3358 $as_echo_n "(cached)" >&63109 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3110 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 3111 if test "${ac_cv_prog_cxx_g+set}" = set; then 3112 echo $ECHO_N "(cached) $ECHO_C" >&6 3359 3113 else 3360 3114 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3362 3116 ac_cv_prog_cxx_g=no 3363 3117 CXXFLAGS="-g" 3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3118 cat >conftest.$ac_ext <<_ACEOF 3119 /* confdefs.h. */ 3120 _ACEOF 3121 cat confdefs.h >>conftest.$ac_ext 3122 cat >>conftest.$ac_ext <<_ACEOF 3365 3123 /* end confdefs.h. */ 3366 3124 … … 3373 3131 } 3374 3132 _ACEOF 3375 if ac_fn_cxx_try_compile "$LINENO"; then : 3133 rm -f conftest.$ac_objext 3134 if { (ac_try="$ac_compile" 3135 case "(($ac_try" in 3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3137 *) ac_try_echo=$ac_try;; 3138 esac 3139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3140 (eval "$ac_compile") 2>conftest.er1 3141 ac_status=$? 3142 grep -v '^ *+' conftest.er1 >conftest.err 3143 rm -f conftest.er1 3144 cat conftest.err >&5 3145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3146 (exit $ac_status); } && { 3147 test -z "$ac_cxx_werror_flag" || 3148 test ! -s conftest.err 3149 } && test -s conftest.$ac_objext; then 3376 3150 ac_cv_prog_cxx_g=yes 3377 3151 else 3378 CXXFLAGS="" 3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3152 echo "$as_me: failed program was:" >&5 3153 sed 's/^/| /' conftest.$ac_ext >&5 3154 3155 CXXFLAGS="" 3156 cat >conftest.$ac_ext <<_ACEOF 3157 /* confdefs.h. */ 3158 _ACEOF 3159 cat confdefs.h >>conftest.$ac_ext 3160 cat >>conftest.$ac_ext <<_ACEOF 3380 3161 /* end confdefs.h. */ 3381 3162 … … 3388 3169 } 3389 3170 _ACEOF 3390 if ac_fn_cxx_try_compile "$LINENO"; then : 3391 3392 else 3393 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3171 rm -f conftest.$ac_objext 3172 if { (ac_try="$ac_compile" 3173 case "(($ac_try" in 3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3175 *) ac_try_echo=$ac_try;; 3176 esac 3177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3178 (eval "$ac_compile") 2>conftest.er1 3179 ac_status=$? 3180 grep -v '^ *+' conftest.er1 >conftest.err 3181 rm -f conftest.er1 3182 cat conftest.err >&5 3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3184 (exit $ac_status); } && { 3185 test -z "$ac_cxx_werror_flag" || 3186 test ! -s conftest.err 3187 } && test -s conftest.$ac_objext; then 3188 : 3189 else 3190 echo "$as_me: failed program was:" >&5 3191 sed 's/^/| /' conftest.$ac_ext >&5 3192 3193 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3394 3194 CXXFLAGS="-g" 3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3195 cat >conftest.$ac_ext <<_ACEOF 3196 /* confdefs.h. */ 3197 _ACEOF 3198 cat confdefs.h >>conftest.$ac_ext 3199 cat >>conftest.$ac_ext <<_ACEOF 3396 3200 /* end confdefs.h. */ 3397 3201 … … 3404 3208 } 3405 3209 _ACEOF 3406 if ac_fn_cxx_try_compile "$LINENO"; then : 3210 rm -f conftest.$ac_objext 3211 if { (ac_try="$ac_compile" 3212 case "(($ac_try" in 3213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3214 *) ac_try_echo=$ac_try;; 3215 esac 3216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3217 (eval "$ac_compile") 2>conftest.er1 3218 ac_status=$? 3219 grep -v '^ *+' conftest.er1 >conftest.err 3220 rm -f conftest.er1 3221 cat conftest.err >&5 3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3223 (exit $ac_status); } && { 3224 test -z "$ac_cxx_werror_flag" || 3225 test ! -s conftest.err 3226 } && test -s conftest.$ac_objext; then 3407 3227 ac_cv_prog_cxx_g=yes 3408 fi 3228 else 3229 echo "$as_me: failed program was:" >&5 3230 sed 's/^/| /' conftest.$ac_ext >&5 3231 3232 3233 fi 3234 3409 3235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3410 3236 fi 3237 3411 3238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3412 3239 fi 3240 3413 3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3414 3242 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3415 3243 fi 3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&53417 $as_echo "$ac_cv_prog_cxx_g" >&6; }3244 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3245 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 3418 3246 if test "$ac_test_CXXFLAGS" = set; then 3419 3247 CXXFLAGS=$ac_save_CXXFLAGS … … 3493 3321 3494 3322 3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3496 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3497 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 3498 $as_echo_n "(cached) " >&6 3323 3324 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3325 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 3326 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 3327 echo $ECHO_N "(cached) $ECHO_C" >&6 3499 3328 else 3500 3329 ac_check_lib_save_LIBS=$LIBS 3501 3330 LIBS="-lpthread $LIBS" 3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3331 cat >conftest.$ac_ext <<_ACEOF 3332 /* confdefs.h. */ 3333 _ACEOF 3334 cat confdefs.h >>conftest.$ac_ext 3335 cat >>conftest.$ac_ext <<_ACEOF 3503 3336 /* end confdefs.h. */ 3504 3337 … … 3518 3351 } 3519 3352 _ACEOF 3520 if ac_fn_c_try_link "$LINENO"; then : 3353 rm -f conftest.$ac_objext conftest$ac_exeext 3354 if { (ac_try="$ac_link" 3355 case "(($ac_try" in 3356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3357 *) ac_try_echo=$ac_try;; 3358 esac 3359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3360 (eval "$ac_link") 2>conftest.er1 3361 ac_status=$? 3362 grep -v '^ *+' conftest.er1 >conftest.err 3363 rm -f conftest.er1 3364 cat conftest.err >&5 3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3366 (exit $ac_status); } && { 3367 test -z "$ac_c_werror_flag" || 3368 test ! -s conftest.err 3369 } && test -s conftest$ac_exeext && 3370 $as_test_x conftest$ac_exeext; then 3521 3371 ac_cv_lib_pthread_pthread_create=yes 3522 3372 else 3523 ac_cv_lib_pthread_pthread_create=no 3524 fi 3525 rm -f core conftest.err conftest.$ac_objext \ 3526 conftest$ac_exeext conftest.$ac_ext 3373 echo "$as_me: failed program was:" >&5 3374 sed 's/^/| /' conftest.$ac_ext >&5 3375 3376 ac_cv_lib_pthread_pthread_create=no 3377 fi 3378 3379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3380 conftest$ac_exeext conftest.$ac_ext 3527 3381 LIBS=$ac_check_lib_save_LIBS 3528 3382 fi 3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&53530 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }3531 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :3383 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 3384 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 3385 if test $ac_cv_lib_pthread_pthread_create = yes; then 3532 3386 cat >>confdefs.h <<_ACEOF 3533 3387 #define HAVE_LIBPTHREAD 1 … … 3538 3392 fi 3539 3393 3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 3541 $as_echo_n "checking for puts in -lwsock32... " >&6; } 3542 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 3543 $as_echo_n "(cached) " >&6 3394 3395 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3396 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 3397 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 3398 echo $ECHO_N "(cached) $ECHO_C" >&6 3544 3399 else 3545 3400 ac_check_lib_save_LIBS=$LIBS 3546 3401 LIBS="-lwsock32 $LIBS" 3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3402 cat >conftest.$ac_ext <<_ACEOF 3403 /* confdefs.h. */ 3404 _ACEOF 3405 cat confdefs.h >>conftest.$ac_ext 3406 cat >>conftest.$ac_ext <<_ACEOF 3548 3407 /* end confdefs.h. */ 3549 3408 … … 3563 3422 } 3564 3423 _ACEOF 3565 if ac_fn_c_try_link "$LINENO"; then : 3424 rm -f conftest.$ac_objext conftest$ac_exeext 3425 if { (ac_try="$ac_link" 3426 case "(($ac_try" in 3427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3428 *) ac_try_echo=$ac_try;; 3429 esac 3430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3431 (eval "$ac_link") 2>conftest.er1 3432 ac_status=$? 3433 grep -v '^ *+' conftest.er1 >conftest.err 3434 rm -f conftest.er1 3435 cat conftest.err >&5 3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3437 (exit $ac_status); } && { 3438 test -z "$ac_c_werror_flag" || 3439 test ! -s conftest.err 3440 } && test -s conftest$ac_exeext && 3441 $as_test_x conftest$ac_exeext; then 3566 3442 ac_cv_lib_wsock32_puts=yes 3567 3443 else 3568 ac_cv_lib_wsock32_puts=no 3569 fi 3570 rm -f core conftest.err conftest.$ac_objext \ 3571 conftest$ac_exeext conftest.$ac_ext 3444 echo "$as_me: failed program was:" >&5 3445 sed 's/^/| /' conftest.$ac_ext >&5 3446 3447 ac_cv_lib_wsock32_puts=no 3448 fi 3449 3450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3451 conftest$ac_exeext conftest.$ac_ext 3572 3452 LIBS=$ac_check_lib_save_LIBS 3573 3453 fi 3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&53575 $as_echo "$ac_cv_lib_wsock32_puts" >&6; }3576 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then :3454 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 3455 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 3456 if test $ac_cv_lib_wsock32_puts = yes; then 3577 3457 cat >>confdefs.h <<_ACEOF 3578 3458 #define HAVE_LIBWSOCK32 1 … … 3583 3463 fi 3584 3464 3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 3586 $as_echo_n "checking for puts in -lws2_32... " >&6; } 3587 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 3588 $as_echo_n "(cached) " >&6 3465 3466 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3467 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 3468 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 3469 echo $ECHO_N "(cached) $ECHO_C" >&6 3589 3470 else 3590 3471 ac_check_lib_save_LIBS=$LIBS 3591 3472 LIBS="-lws2_32 $LIBS" 3592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3473 cat >conftest.$ac_ext <<_ACEOF 3474 /* confdefs.h. */ 3475 _ACEOF 3476 cat confdefs.h >>conftest.$ac_ext 3477 cat >>conftest.$ac_ext <<_ACEOF 3593 3478 /* end confdefs.h. */ 3594 3479 … … 3608 3493 } 3609 3494 _ACEOF 3610 if ac_fn_c_try_link "$LINENO"; then : 3495 rm -f conftest.$ac_objext conftest$ac_exeext 3496 if { (ac_try="$ac_link" 3497 case "(($ac_try" in 3498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3499 *) ac_try_echo=$ac_try;; 3500 esac 3501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3502 (eval "$ac_link") 2>conftest.er1 3503 ac_status=$? 3504 grep -v '^ *+' conftest.er1 >conftest.err 3505 rm -f conftest.er1 3506 cat conftest.err >&5 3507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3508 (exit $ac_status); } && { 3509 test -z "$ac_c_werror_flag" || 3510 test ! -s conftest.err 3511 } && test -s conftest$ac_exeext && 3512 $as_test_x conftest$ac_exeext; then 3611 3513 ac_cv_lib_ws2_32_puts=yes 3612 3514 else 3613 ac_cv_lib_ws2_32_puts=no 3614 fi 3615 rm -f core conftest.err conftest.$ac_objext \ 3616 conftest$ac_exeext conftest.$ac_ext 3515 echo "$as_me: failed program was:" >&5 3516 sed 's/^/| /' conftest.$ac_ext >&5 3517 3518 ac_cv_lib_ws2_32_puts=no 3519 fi 3520 3521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3522 conftest$ac_exeext conftest.$ac_ext 3617 3523 LIBS=$ac_check_lib_save_LIBS 3618 3524 fi 3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&53620 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; }3621 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then :3525 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 3526 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 3527 if test $ac_cv_lib_ws2_32_puts = yes; then 3622 3528 cat >>confdefs.h <<_ACEOF 3623 3529 #define HAVE_LIBWS2_32 1 … … 3628 3534 fi 3629 3535 3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 3631 $as_echo_n "checking for puts in -lole32... " >&6; } 3632 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 3633 $as_echo_n "(cached) " >&6 3536 3537 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3538 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 3539 if test "${ac_cv_lib_ole32_puts+set}" = set; then 3540 echo $ECHO_N "(cached) $ECHO_C" >&6 3634 3541 else 3635 3542 ac_check_lib_save_LIBS=$LIBS 3636 3543 LIBS="-lole32 $LIBS" 3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3544 cat >conftest.$ac_ext <<_ACEOF 3545 /* confdefs.h. */ 3546 _ACEOF 3547 cat confdefs.h >>conftest.$ac_ext 3548 cat >>conftest.$ac_ext <<_ACEOF 3638 3549 /* end confdefs.h. */ 3639 3550 … … 3653 3564 } 3654 3565 _ACEOF 3655 if ac_fn_c_try_link "$LINENO"; then : 3566 rm -f conftest.$ac_objext conftest$ac_exeext 3567 if { (ac_try="$ac_link" 3568 case "(($ac_try" in 3569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3570 *) ac_try_echo=$ac_try;; 3571 esac 3572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3573 (eval "$ac_link") 2>conftest.er1 3574 ac_status=$? 3575 grep -v '^ *+' conftest.er1 >conftest.err 3576 rm -f conftest.er1 3577 cat conftest.err >&5 3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3579 (exit $ac_status); } && { 3580 test -z "$ac_c_werror_flag" || 3581 test ! -s conftest.err 3582 } && test -s conftest$ac_exeext && 3583 $as_test_x conftest$ac_exeext; then 3656 3584 ac_cv_lib_ole32_puts=yes 3657 3585 else 3658 ac_cv_lib_ole32_puts=no 3659 fi 3660 rm -f core conftest.err conftest.$ac_objext \ 3661 conftest$ac_exeext conftest.$ac_ext 3586 echo "$as_me: failed program was:" >&5 3587 sed 's/^/| /' conftest.$ac_ext >&5 3588 3589 ac_cv_lib_ole32_puts=no 3590 fi 3591 3592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3593 conftest$ac_exeext conftest.$ac_ext 3662 3594 LIBS=$ac_check_lib_save_LIBS 3663 3595 fi 3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&53665 $as_echo "$ac_cv_lib_ole32_puts" >&6; }3666 if test "x$ac_cv_lib_ole32_puts" = x""yes; then :3596 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 3597 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 3598 if test $ac_cv_lib_ole32_puts = yes; then 3667 3599 cat >>confdefs.h <<_ACEOF 3668 3600 #define HAVE_LIBOLE32 1 … … 3673 3605 fi 3674 3606 3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 3676 $as_echo_n "checking for puts in -lwinmm... " >&6; } 3677 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 3678 $as_echo_n "(cached) " >&6 3607 3608 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3609 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 3610 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3611 echo $ECHO_N "(cached) $ECHO_C" >&6 3679 3612 else 3680 3613 ac_check_lib_save_LIBS=$LIBS 3681 3614 LIBS="-lwinmm $LIBS" 3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3615 cat >conftest.$ac_ext <<_ACEOF 3616 /* confdefs.h. */ 3617 _ACEOF 3618 cat confdefs.h >>conftest.$ac_ext 3619 cat >>conftest.$ac_ext <<_ACEOF 3683 3620 /* end confdefs.h. */ 3684 3621 … … 3698 3635 } 3699 3636 _ACEOF 3700 if ac_fn_c_try_link "$LINENO"; then : 3637 rm -f conftest.$ac_objext conftest$ac_exeext 3638 if { (ac_try="$ac_link" 3639 case "(($ac_try" in 3640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3641 *) ac_try_echo=$ac_try;; 3642 esac 3643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3644 (eval "$ac_link") 2>conftest.er1 3645 ac_status=$? 3646 grep -v '^ *+' conftest.er1 >conftest.err 3647 rm -f conftest.er1 3648 cat conftest.err >&5 3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3650 (exit $ac_status); } && { 3651 test -z "$ac_c_werror_flag" || 3652 test ! -s conftest.err 3653 } && test -s conftest$ac_exeext && 3654 $as_test_x conftest$ac_exeext; then 3701 3655 ac_cv_lib_winmm_puts=yes 3702 3656 else 3703 ac_cv_lib_winmm_puts=no 3704 fi 3705 rm -f core conftest.err conftest.$ac_objext \ 3706 conftest$ac_exeext conftest.$ac_ext 3657 echo "$as_me: failed program was:" >&5 3658 sed 's/^/| /' conftest.$ac_ext >&5 3659 3660 ac_cv_lib_winmm_puts=no 3661 fi 3662 3663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3664 conftest$ac_exeext conftest.$ac_ext 3707 3665 LIBS=$ac_check_lib_save_LIBS 3708 3666 fi 3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&53710 $as_echo "$ac_cv_lib_winmm_puts" >&6; }3711 if test "x$ac_cv_lib_winmm_puts" = x""yes; then :3667 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 3668 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 3669 if test $ac_cv_lib_winmm_puts = yes; then 3712 3670 cat >>confdefs.h <<_ACEOF 3713 3671 #define HAVE_LIBWINMM 1 … … 3718 3676 fi 3719 3677 3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 3721 $as_echo_n "checking for puts in -lsocket... " >&6; } 3722 if test "${ac_cv_lib_socket_puts+set}" = set; then : 3723 $as_echo_n "(cached) " >&6 3678 3679 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3680 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 3681 if test "${ac_cv_lib_socket_puts+set}" = set; then 3682 echo $ECHO_N "(cached) $ECHO_C" >&6 3724 3683 else 3725 3684 ac_check_lib_save_LIBS=$LIBS 3726 3685 LIBS="-lsocket $LIBS" 3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3686 cat >conftest.$ac_ext <<_ACEOF 3687 /* confdefs.h. */ 3688 _ACEOF 3689 cat confdefs.h >>conftest.$ac_ext 3690 cat >>conftest.$ac_ext <<_ACEOF 3728 3691 /* end confdefs.h. */ 3729 3692 … … 3743 3706 } 3744 3707 _ACEOF 3745 if ac_fn_c_try_link "$LINENO"; then : 3708 rm -f conftest.$ac_objext conftest$ac_exeext 3709 if { (ac_try="$ac_link" 3710 case "(($ac_try" in 3711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3712 *) ac_try_echo=$ac_try;; 3713 esac 3714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3715 (eval "$ac_link") 2>conftest.er1 3716 ac_status=$? 3717 grep -v '^ *+' conftest.er1 >conftest.err 3718 rm -f conftest.er1 3719 cat conftest.err >&5 3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3721 (exit $ac_status); } && { 3722 test -z "$ac_c_werror_flag" || 3723 test ! -s conftest.err 3724 } && test -s conftest$ac_exeext && 3725 $as_test_x conftest$ac_exeext; then 3746 3726 ac_cv_lib_socket_puts=yes 3747 3727 else 3748 ac_cv_lib_socket_puts=no 3749 fi 3750 rm -f core conftest.err conftest.$ac_objext \ 3751 conftest$ac_exeext conftest.$ac_ext 3728 echo "$as_me: failed program was:" >&5 3729 sed 's/^/| /' conftest.$ac_ext >&5 3730 3731 ac_cv_lib_socket_puts=no 3732 fi 3733 3734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3735 conftest$ac_exeext conftest.$ac_ext 3752 3736 LIBS=$ac_check_lib_save_LIBS 3753 3737 fi 3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&53755 $as_echo "$ac_cv_lib_socket_puts" >&6; }3756 if test "x$ac_cv_lib_socket_puts" = x""yes; then :3738 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 3739 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 3740 if test $ac_cv_lib_socket_puts = yes; then 3757 3741 cat >>confdefs.h <<_ACEOF 3758 3742 #define HAVE_LIBSOCKET 1 … … 3763 3747 fi 3764 3748 3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 3766 $as_echo_n "checking for puts in -lrt... " >&6; } 3767 if test "${ac_cv_lib_rt_puts+set}" = set; then : 3768 $as_echo_n "(cached) " >&6 3749 3750 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3751 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 3752 if test "${ac_cv_lib_rt_puts+set}" = set; then 3753 echo $ECHO_N "(cached) $ECHO_C" >&6 3769 3754 else 3770 3755 ac_check_lib_save_LIBS=$LIBS 3771 3756 LIBS="-lrt $LIBS" 3772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3757 cat >conftest.$ac_ext <<_ACEOF 3758 /* confdefs.h. */ 3759 _ACEOF 3760 cat confdefs.h >>conftest.$ac_ext 3761 cat >>conftest.$ac_ext <<_ACEOF 3773 3762 /* end confdefs.h. */ 3774 3763 … … 3788 3777 } 3789 3778 _ACEOF 3790 if ac_fn_c_try_link "$LINENO"; then : 3779 rm -f conftest.$ac_objext conftest$ac_exeext 3780 if { (ac_try="$ac_link" 3781 case "(($ac_try" in 3782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3783 *) ac_try_echo=$ac_try;; 3784 esac 3785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3786 (eval "$ac_link") 2>conftest.er1 3787 ac_status=$? 3788 grep -v '^ *+' conftest.er1 >conftest.err 3789 rm -f conftest.er1 3790 cat conftest.err >&5 3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3792 (exit $ac_status); } && { 3793 test -z "$ac_c_werror_flag" || 3794 test ! -s conftest.err 3795 } && test -s conftest$ac_exeext && 3796 $as_test_x conftest$ac_exeext; then 3791 3797 ac_cv_lib_rt_puts=yes 3792 3798 else 3793 ac_cv_lib_rt_puts=no 3794 fi 3795 rm -f core conftest.err conftest.$ac_objext \ 3796 conftest$ac_exeext conftest.$ac_ext 3799 echo "$as_me: failed program was:" >&5 3800 sed 's/^/| /' conftest.$ac_ext >&5 3801 3802 ac_cv_lib_rt_puts=no 3803 fi 3804 3805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3806 conftest$ac_exeext conftest.$ac_ext 3797 3807 LIBS=$ac_check_lib_save_LIBS 3798 3808 fi 3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&53800 $as_echo "$ac_cv_lib_rt_puts" >&6; }3801 if test "x$ac_cv_lib_rt_puts" = x""yes; then :3809 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 3810 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 3811 if test $ac_cv_lib_rt_puts = yes; then 3802 3812 cat >>confdefs.h <<_ACEOF 3803 3813 #define HAVE_LIBRT 1 … … 3808 3818 fi 3809 3819 3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 3811 $as_echo_n "checking for puts in -lnsl... " >&6; } 3812 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 3813 $as_echo_n "(cached) " >&6 3820 3821 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3822 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 3823 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3824 echo $ECHO_N "(cached) $ECHO_C" >&6 3814 3825 else 3815 3826 ac_check_lib_save_LIBS=$LIBS 3816 3827 LIBS="-lnsl $LIBS" 3817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3828 cat >conftest.$ac_ext <<_ACEOF 3829 /* confdefs.h. */ 3830 _ACEOF 3831 cat confdefs.h >>conftest.$ac_ext 3832 cat >>conftest.$ac_ext <<_ACEOF 3818 3833 /* end confdefs.h. */ 3819 3834 … … 3833 3848 } 3834 3849 _ACEOF 3835 if ac_fn_c_try_link "$LINENO"; then : 3850 rm -f conftest.$ac_objext conftest$ac_exeext 3851 if { (ac_try="$ac_link" 3852 case "(($ac_try" in 3853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3854 *) ac_try_echo=$ac_try;; 3855 esac 3856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3857 (eval "$ac_link") 2>conftest.er1 3858 ac_status=$? 3859 grep -v '^ *+' conftest.er1 >conftest.err 3860 rm -f conftest.er1 3861 cat conftest.err >&5 3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3863 (exit $ac_status); } && { 3864 test -z "$ac_c_werror_flag" || 3865 test ! -s conftest.err 3866 } && test -s conftest$ac_exeext && 3867 $as_test_x conftest$ac_exeext; then 3836 3868 ac_cv_lib_nsl_puts=yes 3837 3869 else 3838 ac_cv_lib_nsl_puts=no 3839 fi 3840 rm -f core conftest.err conftest.$ac_objext \ 3841 conftest$ac_exeext conftest.$ac_ext 3870 echo "$as_me: failed program was:" >&5 3871 sed 's/^/| /' conftest.$ac_ext >&5 3872 3873 ac_cv_lib_nsl_puts=no 3874 fi 3875 3876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3877 conftest$ac_exeext conftest.$ac_ext 3842 3878 LIBS=$ac_check_lib_save_LIBS 3843 3879 fi 3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&53845 $as_echo "$ac_cv_lib_nsl_puts" >&6; }3846 if test "x$ac_cv_lib_nsl_puts" = x""yes; then :3880 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 3881 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 3882 if test $ac_cv_lib_nsl_puts = yes; then 3847 3883 cat >>confdefs.h <<_ACEOF 3848 3884 #define HAVE_LIBNSL 1 … … 3853 3889 fi 3854 3890 3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3856 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3857 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3858 $as_echo_n "(cached) " >&6 3891 3892 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3893 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3894 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3895 echo $ECHO_N "(cached) $ECHO_C" >&6 3859 3896 else 3860 3897 ac_check_lib_save_LIBS=$LIBS 3861 3898 LIBS="-luuid $LIBS" 3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3899 cat >conftest.$ac_ext <<_ACEOF 3900 /* confdefs.h. */ 3901 _ACEOF 3902 cat confdefs.h >>conftest.$ac_ext 3903 cat >>conftest.$ac_ext <<_ACEOF 3863 3904 /* end confdefs.h. */ 3864 3905 … … 3878 3919 } 3879 3920 _ACEOF 3880 if ac_fn_c_try_link "$LINENO"; then : 3921 rm -f conftest.$ac_objext conftest$ac_exeext 3922 if { (ac_try="$ac_link" 3923 case "(($ac_try" in 3924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3925 *) ac_try_echo=$ac_try;; 3926 esac 3927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3928 (eval "$ac_link") 2>conftest.er1 3929 ac_status=$? 3930 grep -v '^ *+' conftest.er1 >conftest.err 3931 rm -f conftest.er1 3932 cat conftest.err >&5 3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3934 (exit $ac_status); } && { 3935 test -z "$ac_c_werror_flag" || 3936 test ! -s conftest.err 3937 } && test -s conftest$ac_exeext && 3938 $as_test_x conftest$ac_exeext; then 3881 3939 ac_cv_lib_uuid_uuid_generate=yes 3882 3940 else 3883 ac_cv_lib_uuid_uuid_generate=no 3884 fi 3885 rm -f core conftest.err conftest.$ac_objext \ 3886 conftest$ac_exeext conftest.$ac_ext 3941 echo "$as_me: failed program was:" >&5 3942 sed 's/^/| /' conftest.$ac_ext >&5 3943 3944 ac_cv_lib_uuid_uuid_generate=no 3945 fi 3946 3947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3948 conftest$ac_exeext conftest.$ac_ext 3887 3949 LIBS=$ac_check_lib_save_LIBS 3888 3950 fi 3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&53890 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }3891 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then :3951 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3952 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 3953 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3892 3954 cat >>confdefs.h <<_ACEOF 3893 3955 #define HAVE_LIBUUID 1 … … 3898 3960 fi 3899 3961 3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&53901 $as_echo_n "checking for uuid_generate in -luuid..." >&6; }3902 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then :3903 $as_echo_n "(cached)" >&63962 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3963 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3964 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3965 echo $ECHO_N "(cached) $ECHO_C" >&6 3904 3966 else 3905 3967 ac_check_lib_save_LIBS=$LIBS 3906 3968 LIBS="-luuid $LIBS" 3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3969 cat >conftest.$ac_ext <<_ACEOF 3970 /* confdefs.h. */ 3971 _ACEOF 3972 cat confdefs.h >>conftest.$ac_ext 3973 cat >>conftest.$ac_ext <<_ACEOF 3908 3974 /* end confdefs.h. */ 3909 3975 … … 3923 3989 } 3924 3990 _ACEOF 3925 if ac_fn_c_try_link "$LINENO"; then : 3991 rm -f conftest.$ac_objext conftest$ac_exeext 3992 if { (ac_try="$ac_link" 3993 case "(($ac_try" in 3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3995 *) ac_try_echo=$ac_try;; 3996 esac 3997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3998 (eval "$ac_link") 2>conftest.er1 3999 ac_status=$? 4000 grep -v '^ *+' conftest.er1 >conftest.err 4001 rm -f conftest.er1 4002 cat conftest.err >&5 4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4004 (exit $ac_status); } && { 4005 test -z "$ac_c_werror_flag" || 4006 test ! -s conftest.err 4007 } && test -s conftest$ac_exeext && 4008 $as_test_x conftest$ac_exeext; then 3926 4009 ac_cv_lib_uuid_uuid_generate=yes 3927 4010 else 3928 ac_cv_lib_uuid_uuid_generate=no 3929 fi 3930 rm -f core conftest.err conftest.$ac_objext \ 3931 conftest$ac_exeext conftest.$ac_ext 4011 echo "$as_me: failed program was:" >&5 4012 sed 's/^/| /' conftest.$ac_ext >&5 4013 4014 ac_cv_lib_uuid_uuid_generate=no 4015 fi 4016 4017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4018 conftest$ac_exeext conftest.$ac_ext 3932 4019 LIBS=$ac_check_lib_save_LIBS 3933 4020 fi 3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&53935 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }3936 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then :4021 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 4022 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 4023 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3937 4024 ac_has_uuid_lib=1 3938 4025 fi 3939 4026 3940 4027 3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&53942 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; }4028 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 4029 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 3943 4030 cat >>confdefs.h <<_ACEOF 3944 4031 #define PJ_M_NAME "$target_cpu" … … 3946 4033 3947 4034 3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&53949 $as_echo_n "checking memory alignment..." >&6; }4035 { echo "$as_me:$LINENO: checking memory alignment" >&5 4036 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 3950 4037 case $target in 3951 4038 sparc64-* | ia64-* | x86_64-* ) 3952 $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 3953 3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 3955 $as_echo "8 bytes" >&6; } 4039 cat >>confdefs.h <<\_ACEOF 4040 #define PJ_POOL_ALIGNMENT 8 4041 _ACEOF 4042 4043 { echo "$as_me:$LINENO: result: 8 bytes" >&5 4044 echo "${ECHO_T}8 bytes" >&6; } 3956 4045 ;; 3957 4046 * ) 3958 $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 3959 3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 3961 $as_echo "4 bytes (default)" >&6; } 4047 cat >>confdefs.h <<\_ACEOF 4048 #define PJ_POOL_ALIGNMENT 4 4049 _ACEOF 4050 4051 { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 4052 echo "${ECHO_T}4 bytes (default)" >&6; } 3962 4053 ;; 3963 4054 esac … … 3969 4060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3970 4061 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&53972 $as_echo_n "checking how to run the C preprocessor..." >&6; }4062 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4063 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3973 4064 # On Suns, sometimes $CPP names a directory. 3974 4065 if test -n "$CPP" && test -d "$CPP"; then … … 3976 4067 fi 3977 4068 if test -z "$CPP"; then 3978 if test "${ac_cv_prog_CPP+set}" = set; then :3979 $as_echo_n "(cached)" >&64069 if test "${ac_cv_prog_CPP+set}" = set; then 4070 echo $ECHO_N "(cached) $ECHO_C" >&6 3980 4071 else 3981 4072 # Double quotes because CPP needs to be expanded … … 3991 4082 # On the NeXT, cc -E runs the code through the compiler's parser, 3992 4083 # not just through cpp. "Syntax error" is here to catch this case. 3993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4084 cat >conftest.$ac_ext <<_ACEOF 4085 /* confdefs.h. */ 4086 _ACEOF 4087 cat confdefs.h >>conftest.$ac_ext 4088 cat >>conftest.$ac_ext <<_ACEOF 3994 4089 /* end confdefs.h. */ 3995 4090 #ifdef __STDC__ … … 4000 4095 Syntax error 4001 4096 _ACEOF 4002 if ac_fn_c_try_cpp "$LINENO"; then : 4003 4004 else 4097 if { (ac_try="$ac_cpp conftest.$ac_ext" 4098 case "(($ac_try" in 4099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4100 *) ac_try_echo=$ac_try;; 4101 esac 4102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4103 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4104 ac_status=$? 4105 grep -v '^ *+' conftest.er1 >conftest.err 4106 rm -f conftest.er1 4107 cat conftest.err >&5 4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4109 (exit $ac_status); } >/dev/null && { 4110 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4111 test ! -s conftest.err 4112 }; then 4113 : 4114 else 4115 echo "$as_me: failed program was:" >&5 4116 sed 's/^/| /' conftest.$ac_ext >&5 4117 4005 4118 # Broken: fails on valid input. 4006 4119 continue 4007 4120 fi 4121 4008 4122 rm -f conftest.err conftest.$ac_ext 4009 4123 4010 4124 # OK, works on sane cases. Now check whether nonexistent headers 4011 4125 # can be detected and how. 4012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4126 cat >conftest.$ac_ext <<_ACEOF 4127 /* confdefs.h. */ 4128 _ACEOF 4129 cat confdefs.h >>conftest.$ac_ext 4130 cat >>conftest.$ac_ext <<_ACEOF 4013 4131 /* end confdefs.h. */ 4014 4132 #include <ac_nonexistent.h> 4015 4133 _ACEOF 4016 if ac_fn_c_try_cpp "$LINENO"; then : 4134 if { (ac_try="$ac_cpp conftest.$ac_ext" 4135 case "(($ac_try" in 4136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4137 *) ac_try_echo=$ac_try;; 4138 esac 4139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4140 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4141 ac_status=$? 4142 grep -v '^ *+' conftest.er1 >conftest.err 4143 rm -f conftest.er1 4144 cat conftest.err >&5 4145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4146 (exit $ac_status); } >/dev/null && { 4147 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4148 test ! -s conftest.err 4149 }; then 4017 4150 # Broken: success on invalid input. 4018 4151 continue 4019 4152 else 4153 echo "$as_me: failed program was:" >&5 4154 sed 's/^/| /' conftest.$ac_ext >&5 4155 4020 4156 # Passes both tests. 4021 4157 ac_preproc_ok=: 4022 4158 break 4023 4159 fi 4160 4024 4161 rm -f conftest.err conftest.$ac_ext 4025 4162 … … 4027 4164 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4028 4165 rm -f conftest.err conftest.$ac_ext 4029 if $ac_preproc_ok; then :4166 if $ac_preproc_ok; then 4030 4167 break 4031 4168 fi … … 4039 4176 ac_cv_prog_CPP=$CPP 4040 4177 fi 4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&54042 $as_echo "$CPP" >&6; }4178 { echo "$as_me:$LINENO: result: $CPP" >&5 4179 echo "${ECHO_T}$CPP" >&6; } 4043 4180 ac_preproc_ok=false 4044 4181 for ac_c_preproc_warn_flag in '' yes … … 4050 4187 # On the NeXT, cc -E runs the code through the compiler's parser, 4051 4188 # not just through cpp. "Syntax error" is here to catch this case. 4052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4189 cat >conftest.$ac_ext <<_ACEOF 4190 /* confdefs.h. */ 4191 _ACEOF 4192 cat confdefs.h >>conftest.$ac_ext 4193 cat >>conftest.$ac_ext <<_ACEOF 4053 4194 /* end confdefs.h. */ 4054 4195 #ifdef __STDC__ … … 4059 4200 Syntax error 4060 4201 _ACEOF 4061 if ac_fn_c_try_cpp "$LINENO"; then : 4062 4063 else 4202 if { (ac_try="$ac_cpp conftest.$ac_ext" 4203 case "(($ac_try" in 4204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4205 *) ac_try_echo=$ac_try;; 4206 esac 4207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4208 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4209 ac_status=$? 4210 grep -v '^ *+' conftest.er1 >conftest.err 4211 rm -f conftest.er1 4212 cat conftest.err >&5 4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4214 (exit $ac_status); } >/dev/null && { 4215 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4216 test ! -s conftest.err 4217 }; then 4218 : 4219 else 4220 echo "$as_me: failed program was:" >&5 4221 sed 's/^/| /' conftest.$ac_ext >&5 4222 4064 4223 # Broken: fails on valid input. 4065 4224 continue 4066 4225 fi 4226 4067 4227 rm -f conftest.err conftest.$ac_ext 4068 4228 4069 4229 # OK, works on sane cases. Now check whether nonexistent headers 4070 4230 # can be detected and how. 4071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4231 cat >conftest.$ac_ext <<_ACEOF 4232 /* confdefs.h. */ 4233 _ACEOF 4234 cat confdefs.h >>conftest.$ac_ext 4235 cat >>conftest.$ac_ext <<_ACEOF 4072 4236 /* end confdefs.h. */ 4073 4237 #include <ac_nonexistent.h> 4074 4238 _ACEOF 4075 if ac_fn_c_try_cpp "$LINENO"; then : 4239 if { (ac_try="$ac_cpp conftest.$ac_ext" 4240 case "(($ac_try" in 4241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4242 *) ac_try_echo=$ac_try;; 4243 esac 4244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4246 ac_status=$? 4247 grep -v '^ *+' conftest.er1 >conftest.err 4248 rm -f conftest.er1 4249 cat conftest.err >&5 4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4251 (exit $ac_status); } >/dev/null && { 4252 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4253 test ! -s conftest.err 4254 }; then 4076 4255 # Broken: success on invalid input. 4077 4256 continue 4078 4257 else 4258 echo "$as_me: failed program was:" >&5 4259 sed 's/^/| /' conftest.$ac_ext >&5 4260 4079 4261 # Passes both tests. 4080 4262 ac_preproc_ok=: 4081 4263 break 4082 4264 fi 4265 4083 4266 rm -f conftest.err conftest.$ac_ext 4084 4267 … … 4086 4269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4087 4270 rm -f conftest.err conftest.$ac_ext 4088 if $ac_preproc_ok; then : 4089 4090 else 4091 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4093 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4094 See \`config.log' for more details." "$LINENO" 5; } 4271 if $ac_preproc_ok; then 4272 : 4273 else 4274 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4275 See \`config.log' for more details." >&5 4276 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4277 See \`config.log' for more details." >&2;} 4278 { (exit 1); exit 1; }; } 4095 4279 fi 4096 4280 … … 4102 4286 4103 4287 4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4105 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4106 if test "${ac_cv_path_GREP+set}" = set; then : 4107 $as_echo_n "(cached) " >&6 4108 else 4109 if test -z "$GREP"; then 4288 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4289 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4290 if test "${ac_cv_path_GREP+set}" = set; then 4291 echo $ECHO_N "(cached) $ECHO_C" >&6 4292 else 4293 # Extract the first word of "grep ggrep" to use in msg output 4294 if test -z "$GREP"; then 4295 set dummy grep ggrep; ac_prog_name=$2 4296 if test "${ac_cv_path_GREP+set}" = set; then 4297 echo $ECHO_N "(cached) $ECHO_C" >&6 4298 else 4110 4299 ac_path_GREP_found=false 4111 4112 4300 # Loop through the user's path and test for each of PROGNAME-LIST 4301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4113 4302 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4114 4303 do 4115 4304 IFS=$as_save_IFS 4116 4305 test -z "$as_dir" && as_dir=. 4117 4118 4119 4120 4121 # Check for GNU ac_path_GREP and select it if it is found.4306 for ac_prog in grep ggrep; do 4307 for ac_exec_ext in '' $ac_executable_extensions; do 4308 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4309 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4310 # Check for GNU ac_path_GREP and select it if it is found. 4122 4311 # Check for GNU $ac_path_GREP 4123 4312 case `"$ac_path_GREP" --version 2>&1` in … … 4126 4315 *) 4127 4316 ac_count=0 4128 $as_echo_n 0123456789>"conftest.in"4317 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4129 4318 while : 4130 4319 do … … 4132 4321 mv "conftest.tmp" "conftest.in" 4133 4322 cp "conftest.in" "conftest.nl" 4134 $as_echo 'GREP' >> "conftest.nl"4323 echo 'GREP' >> "conftest.nl" 4135 4324 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4136 4325 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4137 a s_fn_arith $ac_count + 1 && ac_count=$as_val4326 ac_count=`expr $ac_count + 1` 4138 4327 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4139 4328 # Best one so far, save it but keep looking for a better one … … 4147 4336 esac 4148 4337 4149 $ac_path_GREP_found && break 3 4150 done4338 4339 $ac_path_GREP_found && break 3 4151 4340 done 4152 done 4341 done 4342 4343 done 4153 4344 IFS=$as_save_IFS 4154 if test -z "$ac_cv_path_GREP"; then 4155 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4156 fi 4345 4346 4347 fi 4348 4349 GREP="$ac_cv_path_GREP" 4350 if test -z "$GREP"; then 4351 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4352 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4353 { (exit 1); exit 1; }; } 4354 fi 4355 4157 4356 else 4158 4357 ac_cv_path_GREP=$GREP 4159 4358 fi 4160 4359 4161 fi 4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4163 $as_echo "$ac_cv_path_GREP" >&6; } 4360 4361 fi 4362 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4363 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4164 4364 GREP="$ac_cv_path_GREP" 4165 4365 4166 4366 4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&54168 $as_echo_n "checking for egrep..." >&6; }4169 if test "${ac_cv_path_EGREP+set}" = set; then :4170 $as_echo_n "(cached)" >&64367 { echo "$as_me:$LINENO: checking for egrep" >&5 4368 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4369 if test "${ac_cv_path_EGREP+set}" = set; then 4370 echo $ECHO_N "(cached) $ECHO_C" >&6 4171 4371 else 4172 4372 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4173 4373 then ac_cv_path_EGREP="$GREP -E" 4174 4374 else 4175 if test -z "$EGREP"; then 4375 # Extract the first word of "egrep" to use in msg output 4376 if test -z "$EGREP"; then 4377 set dummy egrep; ac_prog_name=$2 4378 if test "${ac_cv_path_EGREP+set}" = set; then 4379 echo $ECHO_N "(cached) $ECHO_C" >&6 4380 else 4176 4381 ac_path_EGREP_found=false 4177 4178 4382 # Loop through the user's path and test for each of PROGNAME-LIST 4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4179 4384 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4180 4385 do 4181 4386 IFS=$as_save_IFS 4182 4387 test -z "$as_dir" && as_dir=. 4183 4184 4185 4186 4187 # Check for GNU ac_path_EGREP and select it if it is found.4388 for ac_prog in egrep; do 4389 for ac_exec_ext in '' $ac_executable_extensions; do 4390 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4391 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4392 # Check for GNU ac_path_EGREP and select it if it is found. 4188 4393 # Check for GNU $ac_path_EGREP 4189 4394 case `"$ac_path_EGREP" --version 2>&1` in … … 4192 4397 *) 4193 4398 ac_count=0 4194 $as_echo_n 0123456789>"conftest.in"4399 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4195 4400 while : 4196 4401 do … … 4198 4403 mv "conftest.tmp" "conftest.in" 4199 4404 cp "conftest.in" "conftest.nl" 4200 $as_echo 'EGREP' >> "conftest.nl"4405 echo 'EGREP' >> "conftest.nl" 4201 4406 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4202 4407 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4203 a s_fn_arith $ac_count + 1 && ac_count=$as_val4408 ac_count=`expr $ac_count + 1` 4204 4409 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4205 4410 # Best one so far, save it but keep looking for a better one … … 4213 4418 esac 4214 4419 4215 $ac_path_EGREP_found && break 3 4216 done4420 4421 $ac_path_EGREP_found && break 3 4217 4422 done 4218 done 4423 done 4424 4425 done 4219 4426 IFS=$as_save_IFS 4220 if test -z "$ac_cv_path_EGREP"; then 4221 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4222 fi 4427 4428 4429 fi 4430 4431 EGREP="$ac_cv_path_EGREP" 4432 if test -z "$EGREP"; then 4433 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4434 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4435 { (exit 1); exit 1; }; } 4436 fi 4437 4223 4438 else 4224 4439 ac_cv_path_EGREP=$EGREP 4225 4440 fi 4226 4441 4442 4227 4443 fi 4228 4444 fi 4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&54230 $as_echo "$ac_cv_path_EGREP" >&6; }4445 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4446 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4231 4447 EGREP="$ac_cv_path_EGREP" 4232 4448 4233 4449 4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4235 $as_echo_n "checking for ANSI C header files... " >&6; } 4236 if test "${ac_cv_header_stdc+set}" = set; then : 4237 $as_echo_n "(cached) " >&6 4238 else 4239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4450 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4451 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4452 if test "${ac_cv_header_stdc+set}" = set; then 4453 echo $ECHO_N "(cached) $ECHO_C" >&6 4454 else 4455 cat >conftest.$ac_ext <<_ACEOF 4456 /* confdefs.h. */ 4457 _ACEOF 4458 cat confdefs.h >>conftest.$ac_ext 4459 cat >>conftest.$ac_ext <<_ACEOF 4240 4460 /* end confdefs.h. */ 4241 4461 #include <stdlib.h> … … 4252 4472 } 4253 4473 _ACEOF 4254 if ac_fn_c_try_compile "$LINENO"; then : 4474 rm -f conftest.$ac_objext 4475 if { (ac_try="$ac_compile" 4476 case "(($ac_try" in 4477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4478 *) ac_try_echo=$ac_try;; 4479 esac 4480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4481 (eval "$ac_compile") 2>conftest.er1 4482 ac_status=$? 4483 grep -v '^ *+' conftest.er1 >conftest.err 4484 rm -f conftest.er1 4485 cat conftest.err >&5 4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4487 (exit $ac_status); } && { 4488 test -z "$ac_c_werror_flag" || 4489 test ! -s conftest.err 4490 } && test -s conftest.$ac_objext; then 4255 4491 ac_cv_header_stdc=yes 4256 4492 else 4257 ac_cv_header_stdc=no 4258 fi 4493 echo "$as_me: failed program was:" >&5 4494 sed 's/^/| /' conftest.$ac_ext >&5 4495 4496 ac_cv_header_stdc=no 4497 fi 4498 4259 4499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4260 4500 4261 4501 if test $ac_cv_header_stdc = yes; then 4262 4502 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4503 cat >conftest.$ac_ext <<_ACEOF 4504 /* confdefs.h. */ 4505 _ACEOF 4506 cat confdefs.h >>conftest.$ac_ext 4507 cat >>conftest.$ac_ext <<_ACEOF 4264 4508 /* end confdefs.h. */ 4265 4509 #include <string.h> … … 4267 4511 _ACEOF 4268 4512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4269 $EGREP "memchr" >/dev/null 2>&1; then :4270 4513 $EGREP "memchr" >/dev/null 2>&1; then 4514 : 4271 4515 else 4272 4516 ac_cv_header_stdc=no 4273 4517 fi 4274 rm -f conftest*4518 rm -f -r conftest* 4275 4519 4276 4520 fi … … 4278 4522 if test $ac_cv_header_stdc = yes; then 4279 4523 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4524 cat >conftest.$ac_ext <<_ACEOF 4525 /* confdefs.h. */ 4526 _ACEOF 4527 cat confdefs.h >>conftest.$ac_ext 4528 cat >>conftest.$ac_ext <<_ACEOF 4281 4529 /* end confdefs.h. */ 4282 4530 #include <stdlib.h> … … 4284 4532 _ACEOF 4285 4533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4286 $EGREP "free" >/dev/null 2>&1; then :4287 4534 $EGREP "free" >/dev/null 2>&1; then 4535 : 4288 4536 else 4289 4537 ac_cv_header_stdc=no 4290 4538 fi 4291 rm -f conftest*4539 rm -f -r conftest* 4292 4540 4293 4541 fi … … 4295 4543 if test $ac_cv_header_stdc = yes; then 4296 4544 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4297 if test "$cross_compiling" = yes; then :4545 if test "$cross_compiling" = yes; then 4298 4546 : 4299 4547 else 4300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4548 cat >conftest.$ac_ext <<_ACEOF 4549 /* confdefs.h. */ 4550 _ACEOF 4551 cat confdefs.h >>conftest.$ac_ext 4552 cat >>conftest.$ac_ext <<_ACEOF 4301 4553 /* end confdefs.h. */ 4302 4554 #include <ctype.h> … … 4325 4577 } 4326 4578 _ACEOF 4327 if ac_fn_c_try_run "$LINENO"; then : 4328 4329 else 4330 ac_cv_header_stdc=no 4331 fi 4332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4333 conftest.$ac_objext conftest.beam conftest.$ac_ext 4334 fi 4335 4336 fi 4337 fi 4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4339 $as_echo "$ac_cv_header_stdc" >&6; } 4579 rm -f conftest$ac_exeext 4580 if { (ac_try="$ac_link" 4581 case "(($ac_try" in 4582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4583 *) ac_try_echo=$ac_try;; 4584 esac 4585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4586 (eval "$ac_link") 2>&5 4587 ac_status=$? 4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4589 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4590 { (case "(($ac_try" in 4591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4592 *) ac_try_echo=$ac_try;; 4593 esac 4594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4595 (eval "$ac_try") 2>&5 4596 ac_status=$? 4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4598 (exit $ac_status); }; }; then 4599 : 4600 else 4601 echo "$as_me: program exited with status $ac_status" >&5 4602 echo "$as_me: failed program was:" >&5 4603 sed 's/^/| /' conftest.$ac_ext >&5 4604 4605 ( exit $ac_status ) 4606 ac_cv_header_stdc=no 4607 fi 4608 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4609 fi 4610 4611 4612 fi 4613 fi 4614 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4615 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4340 4616 if test $ac_cv_header_stdc = yes; then 4341 4617 4342 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4618 cat >>confdefs.h <<\_ACEOF 4619 #define STDC_HEADERS 1 4620 _ACEOF 4343 4621 4344 4622 fi 4345 4623 4346 4624 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4625 4626 4627 4628 4629 4630 4631 4632 4633 4347 4634 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4348 4635 inttypes.h stdint.h unistd.h 4349 do : 4350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4351 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4352 " 4353 eval as_val=\$$as_ac_Header 4354 if test "x$as_val" = x""yes; then : 4636 do 4637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4638 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4640 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4641 echo $ECHO_N "(cached) $ECHO_C" >&6 4642 else 4643 cat >conftest.$ac_ext <<_ACEOF 4644 /* confdefs.h. */ 4645 _ACEOF 4646 cat confdefs.h >>conftest.$ac_ext 4647 cat >>conftest.$ac_ext <<_ACEOF 4648 /* end confdefs.h. */ 4649 $ac_includes_default 4650 4651 #include <$ac_header> 4652 _ACEOF 4653 rm -f conftest.$ac_objext 4654 if { (ac_try="$ac_compile" 4655 case "(($ac_try" in 4656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4657 *) ac_try_echo=$ac_try;; 4658 esac 4659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4660 (eval "$ac_compile") 2>conftest.er1 4661 ac_status=$? 4662 grep -v '^ *+' conftest.er1 >conftest.err 4663 rm -f conftest.er1 4664 cat conftest.err >&5 4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4666 (exit $ac_status); } && { 4667 test -z "$ac_c_werror_flag" || 4668 test ! -s conftest.err 4669 } && test -s conftest.$ac_objext; then 4670 eval "$as_ac_Header=yes" 4671 else 4672 echo "$as_me: failed program was:" >&5 4673 sed 's/^/| /' conftest.$ac_ext >&5 4674 4675 eval "$as_ac_Header=no" 4676 fi 4677 4678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4679 fi 4680 ac_res=`eval echo '${'$as_ac_Header'}'` 4681 { echo "$as_me:$LINENO: result: $ac_res" >&5 4682 echo "${ECHO_T}$ac_res" >&6; } 4683 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4355 4684 cat >>confdefs.h <<_ACEOF 4356 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 14685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4357 4686 _ACEOF 4358 4687 … … 4362 4691 4363 4692 4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4365 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4366 if test "${ac_cv_c_bigendian+set}" = set; then : 4367 $as_echo_n "(cached) " >&6 4368 else 4369 ac_cv_c_bigendian=unknown 4370 # See if we're dealing with a universal compiler. 4371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4372 /* end confdefs.h. */ 4373 #ifndef __APPLE_CC__ 4374 not a universal capable compiler 4375 #endif 4376 typedef int dummy; 4377 4378 _ACEOF 4379 if ac_fn_c_try_compile "$LINENO"; then : 4380 4381 # Check for potential -arch flags. It is not universal unless 4382 # there are at least two -arch flags with different values. 4383 ac_arch= 4384 ac_prev= 4385 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4386 if test -n "$ac_prev"; then 4387 case $ac_word in 4388 i?86 | x86_64 | ppc | ppc64) 4389 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4390 ac_arch=$ac_word 4391 else 4392 ac_cv_c_bigendian=universal 4393 break 4394 fi 4395 ;; 4396 esac 4397 ac_prev= 4398 elif test "x$ac_word" = "x-arch"; then 4399 ac_prev=arch 4400 fi 4401 done 4402 fi 4403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4404 if test $ac_cv_c_bigendian = unknown; then 4405 # See if sys/param.h defines the BYTE_ORDER macro. 4406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4693 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4694 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4695 if test "${ac_cv_c_bigendian+set}" = set; then 4696 echo $ECHO_N "(cached) $ECHO_C" >&6 4697 else 4698 # See if sys/param.h defines the BYTE_ORDER macro. 4699 cat >conftest.$ac_ext <<_ACEOF 4700 /* confdefs.h. */ 4701 _ACEOF 4702 cat confdefs.h >>conftest.$ac_ext 4703 cat >>conftest.$ac_ext <<_ACEOF 4407 4704 /* end confdefs.h. */ 4408 4705 #include <sys/types.h> 4409 4706 #include <sys/param.h> 4410 4707 4411 4708 int 4412 4709 main () 4413 4710 { 4414 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4415 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4416 && LITTLE_ENDIAN) 4417 bogus endian macros 4418 #endif 4711 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4712 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4713 bogus endian macros 4714 #endif 4419 4715 4420 4716 ; … … 4422 4718 } 4423 4719 _ACEOF 4424 if ac_fn_c_try_compile "$LINENO"; then : 4720 rm -f conftest.$ac_objext 4721 if { (ac_try="$ac_compile" 4722 case "(($ac_try" in 4723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4724 *) ac_try_echo=$ac_try;; 4725 esac 4726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4727 (eval "$ac_compile") 2>conftest.er1 4728 ac_status=$? 4729 grep -v '^ *+' conftest.er1 >conftest.err 4730 rm -f conftest.er1 4731 cat conftest.err >&5 4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4733 (exit $ac_status); } && { 4734 test -z "$ac_c_werror_flag" || 4735 test ! -s conftest.err 4736 } && test -s conftest.$ac_objext; then 4425 4737 # It does; now see whether it defined to BIG_ENDIAN or not. 4426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4738 cat >conftest.$ac_ext <<_ACEOF 4739 /* confdefs.h. */ 4740 _ACEOF 4741 cat confdefs.h >>conftest.$ac_ext 4742 cat >>conftest.$ac_ext <<_ACEOF 4427 4743 /* end confdefs.h. */ 4428 4744 #include <sys/types.h> 4429 4745 #include <sys/param.h> 4430 4746 4431 4747 int … … 4433 4749 { 4434 4750 #if BYTE_ORDER != BIG_ENDIAN 4435 4436 4751 not big endian 4752 #endif 4437 4753 4438 4754 ; … … 4440 4756 } 4441 4757 _ACEOF 4442 if ac_fn_c_try_compile "$LINENO"; then : 4758 rm -f conftest.$ac_objext 4759 if { (ac_try="$ac_compile" 4760 case "(($ac_try" in 4761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4762 *) ac_try_echo=$ac_try;; 4763 esac 4764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4765 (eval "$ac_compile") 2>conftest.er1 4766 ac_status=$? 4767 grep -v '^ *+' conftest.er1 >conftest.err 4768 rm -f conftest.er1 4769 cat conftest.err >&5 4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4771 (exit $ac_status); } && { 4772 test -z "$ac_c_werror_flag" || 4773 test ! -s conftest.err 4774 } && test -s conftest.$ac_objext; then 4443 4775 ac_cv_c_bigendian=yes 4444 4776 else 4445 ac_cv_c_bigendian=no 4446 fi 4777 echo "$as_me: failed program was:" >&5 4778 sed 's/^/| /' conftest.$ac_ext >&5 4779 4780 ac_cv_c_bigendian=no 4781 fi 4782 4447 4783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4448 fi 4449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4450 fi 4451 if test $ac_cv_c_bigendian = unknown; then 4452 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4454 /* end confdefs.h. */ 4455 #include <limits.h> 4456 4784 else 4785 echo "$as_me: failed program was:" >&5 4786 sed 's/^/| /' conftest.$ac_ext >&5 4787 4788 # It does not; compile a test program. 4789 if test "$cross_compiling" = yes; then 4790 # try to guess the endianness by grepping values into an object file 4791 ac_cv_c_bigendian=unknown 4792 cat >conftest.$ac_ext <<_ACEOF 4793 /* confdefs.h. */ 4794 _ACEOF 4795 cat confdefs.h >>conftest.$ac_ext 4796 cat >>conftest.$ac_ext <<_ACEOF 4797 /* end confdefs.h. */ 4798 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4799 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4800 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 4801 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4802 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4803 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 4457 4804 int 4458 4805 main () 4459 4806 { 4460 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4461 bogus endian macros 4462 #endif 4463 4807 _ascii (); _ebcdic (); 4464 4808 ; 4465 4809 return 0; 4466 4810 } 4467 4811 _ACEOF 4468 if ac_fn_c_try_compile "$LINENO"; then : 4469 # It does; now see whether it defined to _BIG_ENDIAN or not. 4470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4471 /* end confdefs.h. */ 4472 #include <limits.h> 4473 4474 int 4475 main () 4476 { 4477 #ifndef _BIG_ENDIAN 4478 not big endian 4479 #endif 4480 4481 ;4482 return 0; 4483 } 4484 _ACEOF 4485 if ac_fn_c_try_compile "$LINENO"; then : 4812 rm -f conftest.$ac_objext 4813 if { (ac_try="$ac_compile" 4814 case "(($ac_try" in 4815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4816 *) ac_try_echo=$ac_try;; 4817 esac 4818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4819 (eval "$ac_compile") 2>conftest.er1 4820 ac_status=$? 4821 grep -v '^ *+' conftest.er1 >conftest.err 4822 rm -f conftest.er1 4823 cat conftest.err >&5 4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4825 (exit $ac_status); } && { 4826 test -z "$ac_c_werror_flag" || 4827 test ! -s conftest.err 4828 } && test -s conftest.$ac_objext; then 4829 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4486 4830 ac_cv_c_bigendian=yes 4487 else 4488 ac_cv_c_bigendian=no 4489 fi 4831 fi 4832 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4833 if test "$ac_cv_c_bigendian" = unknown; then 4834 ac_cv_c_bigendian=no 4835 else 4836 # finding both strings is unlikely to happen, but who knows? 4837 ac_cv_c_bigendian=unknown 4838 fi 4839 fi 4840 else 4841 echo "$as_me: failed program was:" >&5 4842 sed 's/^/| /' conftest.$ac_ext >&5 4843 4844 4845 fi 4846 4490 4847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4491 fi 4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4493 fi 4494 if test $ac_cv_c_bigendian = unknown; then 4495 # Compile a test program. 4496 if test "$cross_compiling" = yes; then : 4497 # Try to guess by grepping values from an object file. 4498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4499 /* end confdefs.h. */ 4500 short int ascii_mm[] = 4501 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4502 short int ascii_ii[] = 4503 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4504 int use_ascii (int i) { 4505 return ascii_mm[i] + ascii_ii[i]; 4506 } 4507 short int ebcdic_ii[] = 4508 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4509 short int ebcdic_mm[] = 4510 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4511 int use_ebcdic (int i) { 4512 return ebcdic_mm[i] + ebcdic_ii[i]; 4513 } 4514 extern int foo; 4515 4516 int 4517 main () 4518 { 4519 return use_ascii (foo) == use_ebcdic (foo); 4520 ; 4521 return 0; 4522 } 4523 _ACEOF 4524 if ac_fn_c_try_compile "$LINENO"; then : 4525 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4526 ac_cv_c_bigendian=yes 4527 fi 4528 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4529 if test "$ac_cv_c_bigendian" = unknown; then 4530 ac_cv_c_bigendian=no 4531 else 4532 # finding both strings is unlikely to happen, but who knows? 4533 ac_cv_c_bigendian=unknown 4534 fi 4535 fi 4536 fi 4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4538 else 4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4848 else 4849 cat >conftest.$ac_ext <<_ACEOF 4850 /* confdefs.h. */ 4851 _ACEOF 4852 cat confdefs.h >>conftest.$ac_ext 4853 cat >>conftest.$ac_ext <<_ACEOF 4540 4854 /* end confdefs.h. */ 4541 4855 $ac_includes_default … … 4544 4858 { 4545 4859 4546 4547 4548 4549 4550 4551 4552 4553 4860 /* Are we little or big endian? From Harbison&Steele. */ 4861 union 4862 { 4863 long int l; 4864 char c[sizeof (long int)]; 4865 } u; 4866 u.l = 1; 4867 return u.c[sizeof (long int) - 1] == 1; 4554 4868 4555 4869 ; … … 4557 4871 } 4558 4872 _ACEOF 4559 if ac_fn_c_try_run "$LINENO"; then : 4873 rm -f conftest$ac_exeext 4874 if { (ac_try="$ac_link" 4875 case "(($ac_try" in 4876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4877 *) ac_try_echo=$ac_try;; 4878 esac 4879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4880 (eval "$ac_link") 2>&5 4881 ac_status=$? 4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4883 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4884 { (case "(($ac_try" in 4885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4886 *) ac_try_echo=$ac_try;; 4887 esac 4888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4889 (eval "$ac_try") 2>&5 4890 ac_status=$? 4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4892 (exit $ac_status); }; }; then 4560 4893 ac_cv_c_bigendian=no 4561 4894 else 4562 ac_cv_c_bigendian=yes 4563 fi 4564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4565 conftest.$ac_objext conftest.beam conftest.$ac_ext 4566 fi 4567 4568 fi 4569 fi 4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4571 $as_echo "$ac_cv_c_bigendian" >&6; } 4572 case $ac_cv_c_bigendian in #( 4573 yes) 4574 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4575 ;; #( 4576 no) 4577 ;; #( 4578 universal) 4579 4580 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4581 4582 ;; #( 4583 *) 4584 as_fn_error "unknown endianness 4585 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4586 esac 4895 echo "$as_me: program exited with status $ac_status" >&5 4896 echo "$as_me: failed program was:" >&5 4897 sed 's/^/| /' conftest.$ac_ext >&5 4898 4899 ( exit $ac_status ) 4900 ac_cv_c_bigendian=yes 4901 fi 4902 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4903 fi 4904 4905 4906 fi 4907 4908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4909 fi 4910 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4911 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4912 case $ac_cv_c_bigendian in 4913 yes) 4914 4915 cat >>confdefs.h <<\_ACEOF 4916 #define WORDS_BIGENDIAN 1 4917 _ACEOF 4918 ;; 4919 no) 4920 ;; 4921 *) 4922 { { echo "$as_me:$LINENO: error: unknown endianness 4923 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4924 echo "$as_me: error: unknown endianness 4925 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4926 { (exit 1); exit 1; }; } ;; 4927 esac 4587 4928 4588 4929 4589 4930 case $target in 4590 4931 *mingw* | *cygw* | *win32* | *w32* ) 4591 $as_echo "#define PJ_WIN32 1" >>confdefs.h 4592 4593 $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 4594 4595 $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 4932 cat >>confdefs.h <<\_ACEOF 4933 #define PJ_WIN32 1 4934 _ACEOF 4935 4936 cat >>confdefs.h <<\_ACEOF 4937 #define PJ_WIN32_WINNT 0x0400 4938 _ACEOF 4939 4940 cat >>confdefs.h <<\_ACEOF 4941 #define WIN32_LEAN_AND_MEAN 1 4942 _ACEOF 4596 4943 4597 4944 ;; 4598 4945 *darwin*) 4599 $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 4946 cat >>confdefs.h <<\_ACEOF 4947 #define PJ_DARWINOS 1 4948 _ACEOF 4600 4949 4601 4950 ;; 4602 4951 *linux*) 4603 $as_echo "#define PJ_LINUX 1" >>confdefs.h 4952 cat >>confdefs.h <<\_ACEOF 4953 #define PJ_LINUX 1 4954 _ACEOF 4604 4955 4605 4956 ;; 4606 4957 *rtems*) 4607 $as_echo "#define PJ_RTEMS 1" >>confdefs.h 4958 cat >>confdefs.h <<\_ACEOF 4959 #define PJ_RTEMS 1 4960 _ACEOF 4608 4961 4609 4962 ;; 4610 4963 *sunos* | *solaris* ) 4611 $as_echo "#define PJ_SUNOS 1" >>confdefs.h 4964 cat >>confdefs.h <<\_ACEOF 4965 #define PJ_SUNOS 1 4966 _ACEOF 4612 4967 4613 4968 ;; … … 4620 4975 4621 4976 # Check whether --enable-floating-point was given. 4622 if test "${enable_floating_point+set}" = set; then :4977 if test "${enable_floating_point+set}" = set; then 4623 4978 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 4624 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 4625 4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 4627 $as_echo "Checking if floating point is disabled... yes" >&6; } 4979 cat >>confdefs.h <<\_ACEOF 4980 #define PJ_HAS_FLOATING_POINT 0 4981 _ACEOF 4982 4983 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 4984 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 4628 4985 fi 4629 4986 else 4630 4987 4631 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 4632 4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 4634 $as_echo "Checking if floating point is disabled... no" >&6; } 4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 4636 $as_echo_n "checking for fmod in -lm... " >&6; } 4637 if test "${ac_cv_lib_m_fmod+set}" = set; then : 4638 $as_echo_n "(cached) " >&6 4988 cat >>confdefs.h <<\_ACEOF 4989 #define PJ_HAS_FLOATING_POINT 1 4990 _ACEOF 4991 4992 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 4993 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 4994 4995 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 4996 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 4997 if test "${ac_cv_lib_m_fmod+set}" = set; then 4998 echo $ECHO_N "(cached) $ECHO_C" >&6 4639 4999 else 4640 5000 ac_check_lib_save_LIBS=$LIBS 4641 5001 LIBS="-lm $LIBS" 4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5002 cat >conftest.$ac_ext <<_ACEOF 5003 /* confdefs.h. */ 5004 _ACEOF 5005 cat confdefs.h >>conftest.$ac_ext 5006 cat >>conftest.$ac_ext <<_ACEOF 4643 5007 /* end confdefs.h. */ 4644 5008 … … 4658 5022 } 4659 5023 _ACEOF 4660 if ac_fn_c_try_link "$LINENO"; then : 5024 rm -f conftest.$ac_objext conftest$ac_exeext 5025 if { (ac_try="$ac_link" 5026 case "(($ac_try" in 5027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5028 *) ac_try_echo=$ac_try;; 5029 esac 5030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5031 (eval "$ac_link") 2>conftest.er1 5032 ac_status=$? 5033 grep -v '^ *+' conftest.er1 >conftest.err 5034 rm -f conftest.er1 5035 cat conftest.err >&5 5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5037 (exit $ac_status); } && { 5038 test -z "$ac_c_werror_flag" || 5039 test ! -s conftest.err 5040 } && test -s conftest$ac_exeext && 5041 $as_test_x conftest$ac_exeext; then 4661 5042 ac_cv_lib_m_fmod=yes 4662 5043 else 4663 ac_cv_lib_m_fmod=no 4664 fi 4665 rm -f core conftest.err conftest.$ac_objext \ 4666 conftest$ac_exeext conftest.$ac_ext 5044 echo "$as_me: failed program was:" >&5 5045 sed 's/^/| /' conftest.$ac_ext >&5 5046 5047 ac_cv_lib_m_fmod=no 5048 fi 5049 5050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5051 conftest$ac_exeext conftest.$ac_ext 4667 5052 LIBS=$ac_check_lib_save_LIBS 4668 5053 fi 4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&54670 $as_echo "$ac_cv_lib_m_fmod" >&6; }4671 if test "x$ac_cv_lib_m_fmod" = x""yes; then :5054 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 5055 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 5056 if test $ac_cv_lib_m_fmod = yes; then 4672 5057 cat >>confdefs.h <<_ACEOF 4673 5058 #define HAVE_LIBM 1 … … 4683 5068 4684 5069 4685 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 4686 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 4687 $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 4688 4689 fi 4690 4691 4692 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 4693 if test "x$ac_cv_header_assert_h" = x""yes; then : 4694 $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 4695 4696 fi 4697 4698 4699 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 4700 if test "x$ac_cv_header_ctype_h" = x""yes; then : 4701 $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 5070 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5071 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5072 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5073 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5074 echo $ECHO_N "(cached) $ECHO_C" >&6 5075 fi 5076 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5077 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5078 else 5079 # Is the header compilable? 5080 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 5081 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 5082 cat >conftest.$ac_ext <<_ACEOF 5083 /* confdefs.h. */ 5084 _ACEOF 5085 cat confdefs.h >>conftest.$ac_ext 5086 cat >>conftest.$ac_ext <<_ACEOF 5087 /* end confdefs.h. */ 5088 $ac_includes_default 5089 #include <arpa/inet.h> 5090 _ACEOF 5091 rm -f conftest.$ac_objext 5092 if { (ac_try="$ac_compile" 5093 case "(($ac_try" in 5094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5095 *) ac_try_echo=$ac_try;; 5096 esac 5097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5098 (eval "$ac_compile") 2>conftest.er1 5099 ac_status=$? 5100 grep -v '^ *+' conftest.er1 >conftest.err 5101 rm -f conftest.er1 5102 cat conftest.err >&5 5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5104 (exit $ac_status); } && { 5105 test -z "$ac_c_werror_flag" || 5106 test ! -s conftest.err 5107 } && test -s conftest.$ac_objext; then 5108 ac_header_compiler=yes 5109 else 5110 echo "$as_me: failed program was:" >&5 5111 sed 's/^/| /' conftest.$ac_ext >&5 5112 5113 ac_header_compiler=no 5114 fi 5115 5116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5117 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5118 echo "${ECHO_T}$ac_header_compiler" >&6; } 5119 5120 # Is the header present? 5121 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 5122 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 5123 cat >conftest.$ac_ext <<_ACEOF 5124 /* confdefs.h. */ 5125 _ACEOF 5126 cat confdefs.h >>conftest.$ac_ext 5127 cat >>conftest.$ac_ext <<_ACEOF 5128 /* end confdefs.h. */ 5129 #include <arpa/inet.h> 5130 _ACEOF 5131 if { (ac_try="$ac_cpp conftest.$ac_ext" 5132 case "(($ac_try" in 5133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5134 *) ac_try_echo=$ac_try;; 5135 esac 5136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5137 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5138 ac_status=$? 5139 grep -v '^ *+' conftest.er1 >conftest.err 5140 rm -f conftest.er1 5141 cat conftest.err >&5 5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5143 (exit $ac_status); } >/dev/null && { 5144 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5145 test ! -s conftest.err 5146 }; then 5147 ac_header_preproc=yes 5148 else 5149 echo "$as_me: failed program was:" >&5 5150 sed 's/^/| /' conftest.$ac_ext >&5 5151 5152 ac_header_preproc=no 5153 fi 5154 5155 rm -f conftest.err conftest.$ac_ext 5156 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5157 echo "${ECHO_T}$ac_header_preproc" >&6; } 5158 5159 # So? What about this header? 5160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5161 yes:no: ) 5162 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 5163 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5164 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 5165 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 5166 ac_header_preproc=yes 5167 ;; 5168 no:yes:* ) 5169 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 5170 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 5171 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 5172 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 5173 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 5174 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 5175 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 5176 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 5177 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 5178 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 5179 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 5180 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 5181 5182 ;; 5183 esac 5184 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5185 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5186 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5187 echo $ECHO_N "(cached) $ECHO_C" >&6 5188 else 5189 ac_cv_header_arpa_inet_h=$ac_header_preproc 5190 fi 5191 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5192 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5193 5194 fi 5195 if test $ac_cv_header_arpa_inet_h = yes; then 5196 cat >>confdefs.h <<\_ACEOF 5197 #define PJ_HAS_ARPA_INET_H 1 5198 _ACEOF 5199 5200 fi 5201 5202 5203 if test "${ac_cv_header_assert_h+set}" = set; then 5204 { echo "$as_me:$LINENO: checking for assert.h" >&5 5205 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5206 if test "${ac_cv_header_assert_h+set}" = set; then 5207 echo $ECHO_N "(cached) $ECHO_C" >&6 5208 fi 5209 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5210 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5211 else 5212 # Is the header compilable? 5213 { echo "$as_me:$LINENO: checking assert.h usability" >&5 5214 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 5215 cat >conftest.$ac_ext <<_ACEOF 5216 /* confdefs.h. */ 5217 _ACEOF 5218 cat confdefs.h >>conftest.$ac_ext 5219 cat >>conftest.$ac_ext <<_ACEOF 5220 /* end confdefs.h. */ 5221 $ac_includes_default 5222 #include <assert.h> 5223 _ACEOF 5224 rm -f conftest.$ac_objext 5225 if { (ac_try="$ac_compile" 5226 case "(($ac_try" in 5227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5228 *) ac_try_echo=$ac_try;; 5229 esac 5230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5231 (eval "$ac_compile") 2>conftest.er1 5232 ac_status=$? 5233 grep -v '^ *+' conftest.er1 >conftest.err 5234 rm -f conftest.er1 5235 cat conftest.err >&5 5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5237 (exit $ac_status); } && { 5238 test -z "$ac_c_werror_flag" || 5239 test ! -s conftest.err 5240 } && test -s conftest.$ac_objext; then 5241 ac_header_compiler=yes 5242 else 5243 echo "$as_me: failed program was:" >&5 5244 sed 's/^/| /' conftest.$ac_ext >&5 5245 5246 ac_header_compiler=no 5247 fi 5248 5249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5250 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5251 echo "${ECHO_T}$ac_header_compiler" >&6; } 5252 5253 # Is the header present? 5254 { echo "$as_me:$LINENO: checking assert.h presence" >&5 5255 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 5256 cat >conftest.$ac_ext <<_ACEOF 5257 /* confdefs.h. */ 5258 _ACEOF 5259 cat confdefs.h >>conftest.$ac_ext 5260 cat >>conftest.$ac_ext <<_ACEOF 5261 /* end confdefs.h. */ 5262 #include <assert.h> 5263 _ACEOF 5264 if { (ac_try="$ac_cpp conftest.$ac_ext" 5265 case "(($ac_try" in 5266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5267 *) ac_try_echo=$ac_try;; 5268 esac 5269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5270 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5271 ac_status=$? 5272 grep -v '^ *+' conftest.er1 >conftest.err 5273 rm -f conftest.er1 5274 cat conftest.err >&5 5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5276 (exit $ac_status); } >/dev/null && { 5277 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5278 test ! -s conftest.err 5279 }; then 5280 ac_header_preproc=yes 5281 else 5282 echo "$as_me: failed program was:" >&5 5283 sed 's/^/| /' conftest.$ac_ext >&5 5284 5285 ac_header_preproc=no 5286 fi 5287 5288 rm -f conftest.err conftest.$ac_ext 5289 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5290 echo "${ECHO_T}$ac_header_preproc" >&6; } 5291 5292 # So? What about this header? 5293 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5294 yes:no: ) 5295 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 5296 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5297 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 5298 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 5299 ac_header_preproc=yes 5300 ;; 5301 no:yes:* ) 5302 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 5303 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 5304 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5 5305 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;} 5306 { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 5307 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 5308 { echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5 5309 echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;} 5310 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 5311 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 5312 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 5313 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 5314 5315 ;; 5316 esac 5317 { echo "$as_me:$LINENO: checking for assert.h" >&5 5318 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5319 if test "${ac_cv_header_assert_h+set}" = set; then 5320 echo $ECHO_N "(cached) $ECHO_C" >&6 5321 else 5322 ac_cv_header_assert_h=$ac_header_preproc 5323 fi 5324 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5325 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5326 5327 fi 5328 if test $ac_cv_header_assert_h = yes; then 5329 cat >>confdefs.h <<\_ACEOF 5330 #define PJ_HAS_ASSERT_H 1 5331 _ACEOF 5332 5333 fi 5334 5335 5336 if test "${ac_cv_header_ctype_h+set}" = set; then 5337 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5338 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5339 if test "${ac_cv_header_ctype_h+set}" = set; then 5340 echo $ECHO_N "(cached) $ECHO_C" >&6 5341 fi 5342 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5343 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5344 else 5345 # Is the header compilable? 5346 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 5347 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 5348 cat >conftest.$ac_ext <<_ACEOF 5349 /* confdefs.h. */ 5350 _ACEOF 5351 cat confdefs.h >>conftest.$ac_ext 5352 cat >>conftest.$ac_ext <<_ACEOF 5353 /* end confdefs.h. */ 5354 $ac_includes_default 5355 #include <ctype.h> 5356 _ACEOF 5357 rm -f conftest.$ac_objext 5358 if { (ac_try="$ac_compile" 5359 case "(($ac_try" in 5360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5361 *) ac_try_echo=$ac_try;; 5362 esac 5363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5364 (eval "$ac_compile") 2>conftest.er1 5365 ac_status=$? 5366 grep -v '^ *+' conftest.er1 >conftest.err 5367 rm -f conftest.er1 5368 cat conftest.err >&5 5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5370 (exit $ac_status); } && { 5371 test -z "$ac_c_werror_flag" || 5372 test ! -s conftest.err 5373 } && test -s conftest.$ac_objext; then 5374 ac_header_compiler=yes 5375 else 5376 echo "$as_me: failed program was:" >&5 5377 sed 's/^/| /' conftest.$ac_ext >&5 5378 5379 ac_header_compiler=no 5380 fi 5381 5382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5383 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5384 echo "${ECHO_T}$ac_header_compiler" >&6; } 5385 5386 # Is the header present? 5387 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 5388 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 5389 cat >conftest.$ac_ext <<_ACEOF 5390 /* confdefs.h. */ 5391 _ACEOF 5392 cat confdefs.h >>conftest.$ac_ext 5393 cat >>conftest.$ac_ext <<_ACEOF 5394 /* end confdefs.h. */ 5395 #include <ctype.h> 5396 _ACEOF 5397 if { (ac_try="$ac_cpp conftest.$ac_ext" 5398 case "(($ac_try" in 5399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5400 *) ac_try_echo=$ac_try;; 5401 esac 5402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5403 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5404 ac_status=$? 5405 grep -v '^ *+' conftest.er1 >conftest.err 5406 rm -f conftest.er1 5407 cat conftest.err >&5 5408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5409 (exit $ac_status); } >/dev/null && { 5410 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5411 test ! -s conftest.err 5412 }; then 5413 ac_header_preproc=yes 5414 else 5415 echo "$as_me: failed program was:" >&5 5416 sed 's/^/| /' conftest.$ac_ext >&5 5417 5418 ac_header_preproc=no 5419 fi 5420 5421 rm -f conftest.err conftest.$ac_ext 5422 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5423 echo "${ECHO_T}$ac_header_preproc" >&6; } 5424 5425 # So? What about this header? 5426 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5427 yes:no: ) 5428 { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 5429 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5430 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 5431 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 5432 ac_header_preproc=yes 5433 ;; 5434 no:yes:* ) 5435 { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 5436 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 5437 { echo "$as_me:$LINENO: WARNING: ctype.h: check for missing prerequisite headers?" >&5 5438 echo "$as_me: WARNING: ctype.h: check for missing prerequisite headers?" >&2;} 5439 { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 5440 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 5441 { echo "$as_me:$LINENO: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&5 5442 echo "$as_me: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&2;} 5443 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 5444 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 5445 { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 5446 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 5447 5448 ;; 5449 esac 5450 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5451 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5452 if test "${ac_cv_header_ctype_h+set}" = set; then 5453 echo $ECHO_N "(cached) $ECHO_C" >&6 5454 else 5455 ac_cv_header_ctype_h=$ac_header_preproc 5456 fi 5457 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5458 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5459 5460 fi 5461 if test $ac_cv_header_ctype_h = yes; then 5462 cat >>confdefs.h <<\_ACEOF 5463 #define PJ_HAS_CTYPE_H 1 5464 _ACEOF 4702 5465 4703 5466 fi … … 4707 5470 case $target in 4708 5471 *mingw* | *cygw* | *win32* | *w32* ) 4709 $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 5472 cat >>confdefs.h <<\_ACEOF 5473 #define PJ_HAS_ERRNO_H 0 5474 _ACEOF 4710 5475 4711 5476 ;; 4712 5477 *) 4713 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 4714 if test "x$ac_cv_header_errno_h" = x""yes; then : 4715 $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 5478 if test "${ac_cv_header_errno_h+set}" = set; then 5479 { echo "$as_me:$LINENO: checking for errno.h" >&5 5480 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 5481 if test "${ac_cv_header_errno_h+set}" = set; then 5482 echo $ECHO_N "(cached) $ECHO_C" >&6 5483 fi 5484 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5485 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 5486 else 5487 # Is the header compilable? 5488 { echo "$as_me:$LINENO: checking errno.h usability" >&5 5489 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 5490 cat >conftest.$ac_ext <<_ACEOF 5491 /* confdefs.h. */ 5492 _ACEOF 5493 cat confdefs.h >>conftest.$ac_ext 5494 cat >>conftest.$ac_ext <<_ACEOF 5495 /* end confdefs.h. */ 5496 $ac_includes_default 5497 #include <errno.h> 5498 _ACEOF 5499 rm -f conftest.$ac_objext 5500 if { (ac_try="$ac_compile" 5501 case "(($ac_try" in 5502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5503 *) ac_try_echo=$ac_try;; 5504 esac 5505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5506 (eval "$ac_compile") 2>conftest.er1 5507 ac_status=$? 5508 grep -v '^ *+' conftest.er1 >conftest.err 5509 rm -f conftest.er1 5510 cat conftest.err >&5 5511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5512 (exit $ac_status); } && { 5513 test -z "$ac_c_werror_flag" || 5514 test ! -s conftest.err 5515 } && test -s conftest.$ac_objext; then 5516 ac_header_compiler=yes 5517 else 5518 echo "$as_me: failed program was:" >&5 5519 sed 's/^/| /' conftest.$ac_ext >&5 5520 5521 ac_header_compiler=no 5522 fi 5523 5524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5525 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5526 echo "${ECHO_T}$ac_header_compiler" >&6; } 5527 5528 # Is the header present? 5529 { echo "$as_me:$LINENO: checking errno.h presence" >&5 5530 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; } 5531 cat >conftest.$ac_ext <<_ACEOF 5532 /* confdefs.h. */ 5533 _ACEOF 5534 cat confdefs.h >>conftest.$ac_ext 5535 cat >>conftest.$ac_ext <<_ACEOF 5536 /* end confdefs.h. */ 5537 #include <errno.h> 5538 _ACEOF 5539 if { (ac_try="$ac_cpp conftest.$ac_ext" 5540 case "(($ac_try" in 5541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5542 *) ac_try_echo=$ac_try;; 5543 esac 5544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5545 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5546 ac_status=$? 5547 grep -v '^ *+' conftest.er1 >conftest.err 5548 rm -f conftest.er1 5549 cat conftest.err >&5 5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5551 (exit $ac_status); } >/dev/null && { 5552 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5553 test ! -s conftest.err 5554 }; then 5555 ac_header_preproc=yes 5556 else 5557 echo "$as_me: failed program was:" >&5 5558 sed 's/^/| /' conftest.$ac_ext >&5 5559 5560 ac_header_preproc=no 5561 fi 5562 5563 rm -f conftest.err conftest.$ac_ext 5564 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5565 echo "${ECHO_T}$ac_header_preproc" >&6; } 5566 5567 # So? What about this header? 5568 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5569 yes:no: ) 5570 { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 5571 echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5572 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 5573 echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 5574 ac_header_preproc=yes 5575 ;; 5576 no:yes:* ) 5577 { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 5578 echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 5579 { echo "$as_me:$LINENO: WARNING: errno.h: check for missing prerequisite headers?" >&5 5580 echo "$as_me: WARNING: errno.h: check for missing prerequisite headers?" >&2;} 5581 { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 5582 echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 5583 { echo "$as_me:$LINENO: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&5 5584 echo "$as_me: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&2;} 5585 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 5586 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 5587 { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 5588 echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 5589 5590 ;; 5591 esac 5592 { echo "$as_me:$LINENO: checking for errno.h" >&5 5593 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 5594 if test "${ac_cv_header_errno_h+set}" = set; then 5595 echo $ECHO_N "(cached) $ECHO_C" >&6 5596 else 5597 ac_cv_header_errno_h=$ac_header_preproc 5598 fi 5599 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5600 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 5601 5602 fi 5603 if test $ac_cv_header_errno_h = yes; then 5604 cat >>confdefs.h <<\_ACEOF 5605 #define PJ_HAS_ERRNO_H 1 5606 _ACEOF 4716 5607 4717 5608 fi … … 4721 5612 esac 4722 5613 4723 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 4724 if test "x$ac_cv_header_fcntl_h" = x""yes; then : 4725 $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 4726 4727 fi 4728 4729 4730 ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 4731 if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 4732 $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 4733 4734 fi 4735 4736 4737 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 4738 if test "x$ac_cv_header_malloc_h" = x""yes; then : 4739 $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 4740 4741 fi 4742 4743 4744 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 4745 if test "x$ac_cv_header_netdb_h" = x""yes; then : 4746 $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 4747 4748 fi 4749 4750 4751 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 4752 if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 4753 $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 4754 4755 fi 4756 4757 4758 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 4759 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 4760 $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 4761 4762 fi 4763 4764 4765 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H 5614 if test "${ac_cv_header_fcntl_h+set}" = set; then 5615 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 5616 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 5617 if test "${ac_cv_header_fcntl_h+set}" = set; then 5618 echo $ECHO_N "(cached) $ECHO_C" >&6 5619 fi 5620 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 5621 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 5622 else 5623 # Is the header compilable? 5624 { echo "$as_me:$LINENO: checking fcntl.h usability" >&5 5625 echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6; } 5626 cat >conftest.$ac_ext <<_ACEOF 5627 /* confdefs.h. */ 5628 _ACEOF 5629 cat confdefs.h >>conftest.$ac_ext 5630 cat >>conftest.$ac_ext <<_ACEOF 5631 /* end confdefs.h. */ 5632 $ac_includes_default 5633 #include <fcntl.h> 5634 _ACEOF 5635 rm -f conftest.$ac_objext 5636 if { (ac_try="$ac_compile" 5637 case "(($ac_try" in 5638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5639 *) ac_try_echo=$ac_try;; 5640 esac 5641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5642 (eval "$ac_compile") 2>conftest.er1 5643 ac_status=$? 5644 grep -v '^ *+' conftest.er1 >conftest.err 5645 rm -f conftest.er1 5646 cat conftest.err >&5 5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5648 (exit $ac_status); } && { 5649 test -z "$ac_c_werror_flag" || 5650 test ! -s conftest.err 5651 } && test -s conftest.$ac_objext; then 5652 ac_header_compiler=yes 5653 else 5654 echo "$as_me: failed program was:" >&5 5655 sed 's/^/| /' conftest.$ac_ext >&5 5656 5657 ac_header_compiler=no 5658 fi 5659 5660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5661 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5662 echo "${ECHO_T}$ac_header_compiler" >&6; } 5663 5664 # Is the header present? 5665 { echo "$as_me:$LINENO: checking fcntl.h presence" >&5 5666 echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6; } 5667 cat >conftest.$ac_ext <<_ACEOF 5668 /* confdefs.h. */ 5669 _ACEOF 5670 cat confdefs.h >>conftest.$ac_ext 5671 cat >>conftest.$ac_ext <<_ACEOF 5672 /* end confdefs.h. */ 5673 #include <fcntl.h> 5674 _ACEOF 5675 if { (ac_try="$ac_cpp conftest.$ac_ext" 5676 case "(($ac_try" in 5677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5678 *) ac_try_echo=$ac_try;; 5679 esac 5680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5681 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5682 ac_status=$? 5683 grep -v '^ *+' conftest.er1 >conftest.err 5684 rm -f conftest.er1 5685 cat conftest.err >&5 5686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5687 (exit $ac_status); } >/dev/null && { 5688 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5689 test ! -s conftest.err 5690 }; then 5691 ac_header_preproc=yes 5692 else 5693 echo "$as_me: failed program was:" >&5 5694 sed 's/^/| /' conftest.$ac_ext >&5 5695 5696 ac_header_preproc=no 5697 fi 5698 5699 rm -f conftest.err conftest.$ac_ext 5700 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5701 echo "${ECHO_T}$ac_header_preproc" >&6; } 5702 5703 # So? What about this header? 5704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5705 yes:no: ) 5706 { echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 5707 echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5708 { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 5709 echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 5710 ac_header_preproc=yes 5711 ;; 5712 no:yes:* ) 5713 { echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 5714 echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 5715 { echo "$as_me:$LINENO: WARNING: fcntl.h: check for missing prerequisite headers?" >&5 5716 echo "$as_me: WARNING: fcntl.h: check for missing prerequisite headers?" >&2;} 5717 { echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 5718 echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 5719 { echo "$as_me:$LINENO: WARNING: fcntl.h: section \"Present But Cannot Be Compiled\"" >&5 5720 echo "$as_me: WARNING: fcntl.h: section \"Present But Cannot Be Compiled\"" >&2;} 5721 { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 5722 echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 5723 { echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 5724 echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 5725 5726 ;; 5727 esac 5728 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 5729 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 5730 if test "${ac_cv_header_fcntl_h+set}" = set; then 5731 echo $ECHO_N "(cached) $ECHO_C" >&6 5732 else 5733 ac_cv_header_fcntl_h=$ac_header_preproc 5734 fi 5735 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 5736 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 5737 5738 fi 5739 if test $ac_cv_header_fcntl_h = yes; then 5740 cat >>confdefs.h <<\_ACEOF 5741 #define PJ_HAS_FCNTL_H 1 5742 _ACEOF 5743 5744 fi 5745 5746 5747 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5748 { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 5749 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 5750 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5751 echo $ECHO_N "(cached) $ECHO_C" >&6 5752 fi 5753 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 5754 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 5755 else 5756 # Is the header compilable? 5757 { echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 5758 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6; } 5759 cat >conftest.$ac_ext <<_ACEOF 5760 /* confdefs.h. */ 5761 _ACEOF 5762 cat confdefs.h >>conftest.$ac_ext 5763 cat >>conftest.$ac_ext <<_ACEOF 5764 /* end confdefs.h. */ 5765 $ac_includes_default 5766 #include <linux/socket.h> 5767 _ACEOF 5768 rm -f conftest.$ac_objext 5769 if { (ac_try="$ac_compile" 5770 case "(($ac_try" in 5771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5772 *) ac_try_echo=$ac_try;; 5773 esac 5774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5775 (eval "$ac_compile") 2>conftest.er1 5776 ac_status=$? 5777 grep -v '^ *+' conftest.er1 >conftest.err 5778 rm -f conftest.er1 5779 cat conftest.err >&5 5780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5781 (exit $ac_status); } && { 5782 test -z "$ac_c_werror_flag" || 5783 test ! -s conftest.err 5784 } && test -s conftest.$ac_objext; then 5785 ac_header_compiler=yes 5786 else 5787 echo "$as_me: failed program was:" >&5 5788 sed 's/^/| /' conftest.$ac_ext >&5 5789 5790 ac_header_compiler=no 5791 fi 5792 5793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5794 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5795 echo "${ECHO_T}$ac_header_compiler" >&6; } 5796 5797 # Is the header present? 5798 { echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 5799 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6; } 5800 cat >conftest.$ac_ext <<_ACEOF 5801 /* confdefs.h. */ 5802 _ACEOF 5803 cat confdefs.h >>conftest.$ac_ext 5804 cat >>conftest.$ac_ext <<_ACEOF 5805 /* end confdefs.h. */ 5806 #include <linux/socket.h> 5807 _ACEOF 5808 if { (ac_try="$ac_cpp conftest.$ac_ext" 5809 case "(($ac_try" in 5810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5811 *) ac_try_echo=$ac_try;; 5812 esac 5813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5815 ac_status=$? 5816 grep -v '^ *+' conftest.er1 >conftest.err 5817 rm -f conftest.er1 5818 cat conftest.err >&5 5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5820 (exit $ac_status); } >/dev/null && { 5821 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5822 test ! -s conftest.err 5823 }; then 5824 ac_header_preproc=yes 5825 else 5826 echo "$as_me: failed program was:" >&5 5827 sed 's/^/| /' conftest.$ac_ext >&5 5828 5829 ac_header_preproc=no 5830 fi 5831 5832 rm -f conftest.err conftest.$ac_ext 5833 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5834 echo "${ECHO_T}$ac_header_preproc" >&6; } 5835 5836 # So? What about this header? 5837 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5838 yes:no: ) 5839 { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 5840 echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5841 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 5842 echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 5843 ac_header_preproc=yes 5844 ;; 5845 no:yes:* ) 5846 { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 5847 echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 5848 { echo "$as_me:$LINENO: WARNING: linux/socket.h: check for missing prerequisite headers?" >&5 5849 echo "$as_me: WARNING: linux/socket.h: check for missing prerequisite headers?" >&2;} 5850 { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 5851 echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 5852 { echo "$as_me:$LINENO: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&5 5853 echo "$as_me: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&2;} 5854 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 5855 echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 5856 { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 5857 echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 5858 5859 ;; 5860 esac 5861 { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 5862 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 5863 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5864 echo $ECHO_N "(cached) $ECHO_C" >&6 5865 else 5866 ac_cv_header_linux_socket_h=$ac_header_preproc 5867 fi 5868 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 5869 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 5870 5871 fi 5872 if test $ac_cv_header_linux_socket_h = yes; then 5873 cat >>confdefs.h <<\_ACEOF 5874 #define PJ_HAS_LINUX_SOCKET_H 1 5875 _ACEOF 5876 5877 fi 5878 5879 5880 if test "${ac_cv_header_malloc_h+set}" = set; then 5881 { echo "$as_me:$LINENO: checking for malloc.h" >&5 5882 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 5883 if test "${ac_cv_header_malloc_h+set}" = set; then 5884 echo $ECHO_N "(cached) $ECHO_C" >&6 5885 fi 5886 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 5887 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 5888 else 5889 # Is the header compilable? 5890 { echo "$as_me:$LINENO: checking malloc.h usability" >&5 5891 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6; } 5892 cat >conftest.$ac_ext <<_ACEOF 5893 /* confdefs.h. */ 5894 _ACEOF 5895 cat confdefs.h >>conftest.$ac_ext 5896 cat >>conftest.$ac_ext <<_ACEOF 5897 /* end confdefs.h. */ 5898 $ac_includes_default 5899 #include <malloc.h> 5900 _ACEOF 5901 rm -f conftest.$ac_objext 5902 if { (ac_try="$ac_compile" 5903 case "(($ac_try" in 5904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5905 *) ac_try_echo=$ac_try;; 5906 esac 5907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5908 (eval "$ac_compile") 2>conftest.er1 5909 ac_status=$? 5910 grep -v '^ *+' conftest.er1 >conftest.err 5911 rm -f conftest.er1 5912 cat conftest.err >&5 5913 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5914 (exit $ac_status); } && { 5915 test -z "$ac_c_werror_flag" || 5916 test ! -s conftest.err 5917 } && test -s conftest.$ac_objext; then 5918 ac_header_compiler=yes 5919 else 5920 echo "$as_me: failed program was:" >&5 5921 sed 's/^/| /' conftest.$ac_ext >&5 5922 5923 ac_header_compiler=no 5924 fi 5925 5926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5927 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5928 echo "${ECHO_T}$ac_header_compiler" >&6; } 5929 5930 # Is the header present? 5931 { echo "$as_me:$LINENO: checking malloc.h presence" >&5 5932 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6; } 5933 cat >conftest.$ac_ext <<_ACEOF 5934 /* confdefs.h. */ 5935 _ACEOF 5936 cat confdefs.h >>conftest.$ac_ext 5937 cat >>conftest.$ac_ext <<_ACEOF 5938 /* end confdefs.h. */ 5939 #include <malloc.h> 5940 _ACEOF 5941 if { (ac_try="$ac_cpp conftest.$ac_ext" 5942 case "(($ac_try" in 5943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5944 *) ac_try_echo=$ac_try;; 5945 esac 5946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5947 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5948 ac_status=$? 5949 grep -v '^ *+' conftest.er1 >conftest.err 5950 rm -f conftest.er1 5951 cat conftest.err >&5 5952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5953 (exit $ac_status); } >/dev/null && { 5954 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5955 test ! -s conftest.err 5956 }; then 5957 ac_header_preproc=yes 5958 else 5959 echo "$as_me: failed program was:" >&5 5960 sed 's/^/| /' conftest.$ac_ext >&5 5961 5962 ac_header_preproc=no 5963 fi 5964 5965 rm -f conftest.err conftest.$ac_ext 5966 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5967 echo "${ECHO_T}$ac_header_preproc" >&6; } 5968 5969 # So? What about this header? 5970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5971 yes:no: ) 5972 { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 5973 echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5974 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 5975 echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 5976 ac_header_preproc=yes 5977 ;; 5978 no:yes:* ) 5979 { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 5980 echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 5981 { echo "$as_me:$LINENO: WARNING: malloc.h: check for missing prerequisite headers?" >&5 5982 echo "$as_me: WARNING: malloc.h: check for missing prerequisite headers?" >&2;} 5983 { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 5984 echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 5985 { echo "$as_me:$LINENO: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&5 5986 echo "$as_me: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} 5987 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 5988 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 5989 { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 5990 echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 5991 5992 ;; 5993 esac 5994 { echo "$as_me:$LINENO: checking for malloc.h" >&5 5995 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 5996 if test "${ac_cv_header_malloc_h+set}" = set; then 5997 echo $ECHO_N "(cached) $ECHO_C" >&6 5998 else 5999 ac_cv_header_malloc_h=$ac_header_preproc 6000 fi 6001 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 6002 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 6003 6004 fi 6005 if test $ac_cv_header_malloc_h = yes; then 6006 cat >>confdefs.h <<\_ACEOF 6007 #define PJ_HAS_MALLOC_H 1 6008 _ACEOF 6009 6010 fi 6011 6012 6013 if test "${ac_cv_header_netdb_h+set}" = set; then 6014 { echo "$as_me:$LINENO: checking for netdb.h" >&5 6015 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 6016 if test "${ac_cv_header_netdb_h+set}" = set; then 6017 echo $ECHO_N "(cached) $ECHO_C" >&6 6018 fi 6019 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 6020 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 6021 else 6022 # Is the header compilable? 6023 { echo "$as_me:$LINENO: checking netdb.h usability" >&5 6024 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6; } 6025 cat >conftest.$ac_ext <<_ACEOF 6026 /* confdefs.h. */ 6027 _ACEOF 6028 cat confdefs.h >>conftest.$ac_ext 6029 cat >>conftest.$ac_ext <<_ACEOF 6030 /* end confdefs.h. */ 6031 $ac_includes_default 6032 #include <netdb.h> 6033 _ACEOF 6034 rm -f conftest.$ac_objext 6035 if { (ac_try="$ac_compile" 6036 case "(($ac_try" in 6037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6038 *) ac_try_echo=$ac_try;; 6039 esac 6040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6041 (eval "$ac_compile") 2>conftest.er1 6042 ac_status=$? 6043 grep -v '^ *+' conftest.er1 >conftest.err 6044 rm -f conftest.er1 6045 cat conftest.err >&5 6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6047 (exit $ac_status); } && { 6048 test -z "$ac_c_werror_flag" || 6049 test ! -s conftest.err 6050 } && test -s conftest.$ac_objext; then 6051 ac_header_compiler=yes 6052 else 6053 echo "$as_me: failed program was:" >&5 6054 sed 's/^/| /' conftest.$ac_ext >&5 6055 6056 ac_header_compiler=no 6057 fi 6058 6059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6060 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6061 echo "${ECHO_T}$ac_header_compiler" >&6; } 6062 6063 # Is the header present? 6064 { echo "$as_me:$LINENO: checking netdb.h presence" >&5 6065 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6; } 6066 cat >conftest.$ac_ext <<_ACEOF 6067 /* confdefs.h. */ 6068 _ACEOF 6069 cat confdefs.h >>conftest.$ac_ext 6070 cat >>conftest.$ac_ext <<_ACEOF 6071 /* end confdefs.h. */ 6072 #include <netdb.h> 6073 _ACEOF 6074 if { (ac_try="$ac_cpp conftest.$ac_ext" 6075 case "(($ac_try" in 6076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6077 *) ac_try_echo=$ac_try;; 6078 esac 6079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6080 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6081 ac_status=$? 6082 grep -v '^ *+' conftest.er1 >conftest.err 6083 rm -f conftest.er1 6084 cat conftest.err >&5 6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6086 (exit $ac_status); } >/dev/null && { 6087 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6088 test ! -s conftest.err 6089 }; then 6090 ac_header_preproc=yes 6091 else 6092 echo "$as_me: failed program was:" >&5 6093 sed 's/^/| /' conftest.$ac_ext >&5 6094 6095 ac_header_preproc=no 6096 fi 6097 6098 rm -f conftest.err conftest.$ac_ext 6099 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6100 echo "${ECHO_T}$ac_header_preproc" >&6; } 6101 6102 # So? What about this header? 6103 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6104 yes:no: ) 6105 { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 6106 echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6107 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 6108 echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 6109 ac_header_preproc=yes 6110 ;; 6111 no:yes:* ) 6112 { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 6113 echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 6114 { echo "$as_me:$LINENO: WARNING: netdb.h: check for missing prerequisite headers?" >&5 6115 echo "$as_me: WARNING: netdb.h: check for missing prerequisite headers?" >&2;} 6116 { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 6117 echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 6118 { echo "$as_me:$LINENO: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&5 6119 echo "$as_me: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&2;} 6120 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 6121 echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 6122 { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 6123 echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 6124 6125 ;; 6126 esac 6127 { echo "$as_me:$LINENO: checking for netdb.h" >&5 6128 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 6129 if test "${ac_cv_header_netdb_h+set}" = set; then 6130 echo $ECHO_N "(cached) $ECHO_C" >&6 6131 else 6132 ac_cv_header_netdb_h=$ac_header_preproc 6133 fi 6134 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 6135 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 6136 6137 fi 6138 if test $ac_cv_header_netdb_h = yes; then 6139 cat >>confdefs.h <<\_ACEOF 6140 #define PJ_HAS_NETDB_H 1 6141 _ACEOF 6142 6143 fi 6144 6145 6146 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6147 { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 6148 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 6149 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6150 echo $ECHO_N "(cached) $ECHO_C" >&6 6151 fi 6152 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 6153 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 6154 else 6155 # Is the header compilable? 6156 { echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 6157 echo $ECHO_N "checking netinet/in_systm.h usability... $ECHO_C" >&6; } 6158 cat >conftest.$ac_ext <<_ACEOF 6159 /* confdefs.h. */ 6160 _ACEOF 6161 cat confdefs.h >>conftest.$ac_ext 6162 cat >>conftest.$ac_ext <<_ACEOF 6163 /* end confdefs.h. */ 6164 $ac_includes_default 6165 #include <netinet/in_systm.h> 6166 _ACEOF 6167 rm -f conftest.$ac_objext 6168 if { (ac_try="$ac_compile" 6169 case "(($ac_try" in 6170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6171 *) ac_try_echo=$ac_try;; 6172 esac 6173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6174 (eval "$ac_compile") 2>conftest.er1 6175 ac_status=$? 6176 grep -v '^ *+' conftest.er1 >conftest.err 6177 rm -f conftest.er1 6178 cat conftest.err >&5 6179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6180 (exit $ac_status); } && { 6181 test -z "$ac_c_werror_flag" || 6182 test ! -s conftest.err 6183 } && test -s conftest.$ac_objext; then 6184 ac_header_compiler=yes 6185 else 6186 echo "$as_me: failed program was:" >&5 6187 sed 's/^/| /' conftest.$ac_ext >&5 6188 6189 ac_header_compiler=no 6190 fi 6191 6192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6193 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6194 echo "${ECHO_T}$ac_header_compiler" >&6; } 6195 6196 # Is the header present? 6197 { echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 6198 echo $ECHO_N "checking netinet/in_systm.h presence... $ECHO_C" >&6; } 6199 cat >conftest.$ac_ext <<_ACEOF 6200 /* confdefs.h. */ 6201 _ACEOF 6202 cat confdefs.h >>conftest.$ac_ext 6203 cat >>conftest.$ac_ext <<_ACEOF 6204 /* end confdefs.h. */ 6205 #include <netinet/in_systm.h> 6206 _ACEOF 6207 if { (ac_try="$ac_cpp conftest.$ac_ext" 6208 case "(($ac_try" in 6209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6210 *) ac_try_echo=$ac_try;; 6211 esac 6212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6213 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6214 ac_status=$? 6215 grep -v '^ *+' conftest.er1 >conftest.err 6216 rm -f conftest.er1 6217 cat conftest.err >&5 6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6219 (exit $ac_status); } >/dev/null && { 6220 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6221 test ! -s conftest.err 6222 }; then 6223 ac_header_preproc=yes 6224 else 6225 echo "$as_me: failed program was:" >&5 6226 sed 's/^/| /' conftest.$ac_ext >&5 6227 6228 ac_header_preproc=no 6229 fi 6230 6231 rm -f conftest.err conftest.$ac_ext 6232 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6233 echo "${ECHO_T}$ac_header_preproc" >&6; } 6234 6235 # So? What about this header? 6236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6237 yes:no: ) 6238 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&5 6239 echo "$as_me: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6240 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&5 6241 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&2;} 6242 ac_header_preproc=yes 6243 ;; 6244 no:yes:* ) 6245 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: present but cannot be compiled" >&5 6246 echo "$as_me: WARNING: netinet/in_systm.h: present but cannot be compiled" >&2;} 6247 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: check for missing prerequisite headers?" >&5 6248 echo "$as_me: WARNING: netinet/in_systm.h: check for missing prerequisite headers?" >&2;} 6249 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&5 6250 echo "$as_me: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&2;} 6251 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: section \"Present But Cannot Be Compiled\"" >&5 6252 echo "$as_me: WARNING: netinet/in_systm.h: section \"Present But Cannot Be Compiled\"" >&2;} 6253 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&5 6254 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&2;} 6255 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 6256 echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 6257 6258 ;; 6259 esac 6260 { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 6261 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 6262 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6263 echo $ECHO_N "(cached) $ECHO_C" >&6 6264 else 6265 ac_cv_header_netinet_in_systm_h=$ac_header_preproc 6266 fi 6267 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 6268 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 6269 6270 fi 6271 if test $ac_cv_header_netinet_in_systm_h = yes; then 6272 cat >>confdefs.h <<\_ACEOF 6273 #define PJ_HAS_NETINET_IN_SYSTM_H 1 6274 _ACEOF 6275 6276 fi 6277 6278 6279 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6280 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 6281 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 6282 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6283 echo $ECHO_N "(cached) $ECHO_C" >&6 6284 fi 6285 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 6286 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 6287 else 6288 # Is the header compilable? 6289 { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 6290 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } 6291 cat >conftest.$ac_ext <<_ACEOF 6292 /* confdefs.h. */ 6293 _ACEOF 6294 cat confdefs.h >>conftest.$ac_ext 6295 cat >>conftest.$ac_ext <<_ACEOF 6296 /* end confdefs.h. */ 6297 $ac_includes_default 6298 #include <netinet/in.h> 6299 _ACEOF 6300 rm -f conftest.$ac_objext 6301 if { (ac_try="$ac_compile" 6302 case "(($ac_try" in 6303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6304 *) ac_try_echo=$ac_try;; 6305 esac 6306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6307 (eval "$ac_compile") 2>conftest.er1 6308 ac_status=$? 6309 grep -v '^ *+' conftest.er1 >conftest.err 6310 rm -f conftest.er1 6311 cat conftest.err >&5 6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6313 (exit $ac_status); } && { 6314 test -z "$ac_c_werror_flag" || 6315 test ! -s conftest.err 6316 } && test -s conftest.$ac_objext; then 6317 ac_header_compiler=yes 6318 else 6319 echo "$as_me: failed program was:" >&5 6320 sed 's/^/| /' conftest.$ac_ext >&5 6321 6322 ac_header_compiler=no 6323 fi 6324 6325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6326 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6327 echo "${ECHO_T}$ac_header_compiler" >&6; } 6328 6329 # Is the header present? 6330 { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 6331 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } 6332 cat >conftest.$ac_ext <<_ACEOF 6333 /* confdefs.h. */ 6334 _ACEOF 6335 cat confdefs.h >>conftest.$ac_ext 6336 cat >>conftest.$ac_ext <<_ACEOF 6337 /* end confdefs.h. */ 6338 #include <netinet/in.h> 6339 _ACEOF 6340 if { (ac_try="$ac_cpp conftest.$ac_ext" 6341 case "(($ac_try" in 6342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6343 *) ac_try_echo=$ac_try;; 6344 esac 6345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6346 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6347 ac_status=$? 6348 grep -v '^ *+' conftest.er1 >conftest.err 6349 rm -f conftest.er1 6350 cat conftest.err >&5 6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6352 (exit $ac_status); } >/dev/null && { 6353 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6354 test ! -s conftest.err 6355 }; then 6356 ac_header_preproc=yes 6357 else 6358 echo "$as_me: failed program was:" >&5 6359 sed 's/^/| /' conftest.$ac_ext >&5 6360 6361 ac_header_preproc=no 6362 fi 6363 6364 rm -f conftest.err conftest.$ac_ext 6365 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6366 echo "${ECHO_T}$ac_header_preproc" >&6; } 6367 6368 # So? What about this header? 6369 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6370 yes:no: ) 6371 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 6372 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6373 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 6374 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 6375 ac_header_preproc=yes 6376 ;; 6377 no:yes:* ) 6378 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 6379 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 6380 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 6381 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} 6382 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 6383 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 6384 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 6385 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} 6386 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 6387 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 6388 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 6389 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 6390 6391 ;; 6392 esac 6393 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 6394 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 6395 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6396 echo $ECHO_N "(cached) $ECHO_C" >&6 6397 else 6398 ac_cv_header_netinet_in_h=$ac_header_preproc 6399 fi 6400 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 6401 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 6402 6403 fi 6404 if test $ac_cv_header_netinet_in_h = yes; then 6405 cat >>confdefs.h <<\_ACEOF 6406 #define PJ_HAS_NETINET_IN_H 1 6407 _ACEOF 6408 6409 fi 6410 6411 6412 { echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 6413 echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6; } 6414 if test "${ac_cv_header_netinet_ip_h+set}" = set; then 6415 echo $ECHO_N "(cached) $ECHO_C" >&6 6416 else 6417 cat >conftest.$ac_ext <<_ACEOF 6418 /* confdefs.h. */ 6419 _ACEOF 6420 cat confdefs.h >>conftest.$ac_ext 6421 cat >>conftest.$ac_ext <<_ACEOF 6422 /* end confdefs.h. */ 6423 #if PJ_HAS_SYS_TYPES_H 4766 6424 # include <sys/types.h> 4767 6425 #endif … … 4773 6431 #endif 4774 6432 4775 " 4776 if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 4777 $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 4778 4779 fi 4780 4781 4782 ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 4783 if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 4784 $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 4785 4786 fi 4787 4788 4789 ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 4790 if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 4791 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 4792 if test "x$ac_cv_func_getifaddrs" = x""yes; then : 4793 $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 4794 4795 fi 4796 4797 fi 4798 4799 4800 ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 4801 if test "x$ac_cv_header_semaphore_h" = x""yes; then : 4802 $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 4803 4804 fi 4805 4806 4807 ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 4808 if test "x$ac_cv_header_setjmp_h" = x""yes; then : 4809 $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 4810 4811 fi 4812 4813 4814 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 4815 if test "x$ac_cv_header_stdarg_h" = x""yes; then : 4816 $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 4817 4818 fi 4819 4820 4821 ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 4822 if test "x$ac_cv_header_stddef_h" = x""yes; then : 4823 $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 4824 4825 fi 4826 4827 4828 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 4829 if test "x$ac_cv_header_stdio_h" = x""yes; then : 4830 $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 4831 4832 fi 4833 4834 4835 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 4836 if test "x$ac_cv_header_stdint_h" = x""yes; then : 4837 $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 4838 4839 fi 4840 4841 4842 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 4843 if test "x$ac_cv_header_stdlib_h" = x""yes; then : 4844 $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 4845 4846 fi 4847 4848 4849 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 4850 if test "x$ac_cv_header_string_h" = x""yes; then : 4851 $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 4852 4853 fi 4854 4855 4856 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 4857 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 4858 $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 4859 4860 fi 4861 4862 4863 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 4864 if test "x$ac_cv_header_sys_select_h" = x""yes; then : 4865 $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 4866 4867 fi 4868 4869 4870 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 4871 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 4872 $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 4873 4874 fi 4875 4876 4877 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 4878 if test "x$ac_cv_header_sys_time_h" = x""yes; then : 4879 $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 4880 4881 fi 4882 4883 4884 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 4885 if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 4886 $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 4887 4888 fi 4889 4890 4891 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 4892 if test "x$ac_cv_header_sys_types_h" = x""yes; then : 4893 $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 4894 4895 fi 4896 4897 4898 ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 4899 if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 4900 $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 4901 4902 fi 4903 4904 4905 ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 4906 if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 4907 $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 4908 4909 fi 4910 4911 4912 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 4913 if test "x$ac_cv_header_time_h" = x""yes; then : 4914 $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 4915 4916 fi 4917 4918 4919 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 4920 if test "x$ac_cv_header_unistd_h" = x""yes; then : 4921 $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 4922 4923 fi 4924 4925 4926 ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 4927 if test "x$ac_cv_header_winsock_h" = x""yes; then : 4928 $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 4929 4930 fi 4931 4932 4933 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 4934 if test "x$ac_cv_header_winsock2_h" = x""yes; then : 4935 $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 4936 4937 fi 4938 4939 4940 ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H 6433 6434 #include <netinet/ip.h> 6435 _ACEOF 6436 rm -f conftest.$ac_objext 6437 if { (ac_try="$ac_compile" 6438 case "(($ac_try" in 6439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6440 *) ac_try_echo=$ac_try;; 6441 esac 6442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6443 (eval "$ac_compile") 2>conftest.er1 6444 ac_status=$? 6445 grep -v '^ *+' conftest.er1 >conftest.err 6446 rm -f conftest.er1 6447 cat conftest.err >&5 6448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6449 (exit $ac_status); } && { 6450 test -z "$ac_c_werror_flag" || 6451 test ! -s conftest.err 6452 } && test -s conftest.$ac_objext; then 6453 ac_cv_header_netinet_ip_h=yes 6454 else 6455 echo "$as_me: failed program was:" >&5 6456 sed 's/^/| /' conftest.$ac_ext >&5 6457 6458 ac_cv_header_netinet_ip_h=no 6459 fi 6460 6461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6462 fi 6463 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 6464 echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6; } 6465 if test $ac_cv_header_netinet_ip_h = yes; then 6466 cat >>confdefs.h <<\_ACEOF 6467 #define PJ_HAS_NETINET_IP_H 1 6468 _ACEOF 6469 6470 fi 6471 6472 6473 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6474 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 6475 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 6476 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6477 echo $ECHO_N "(cached) $ECHO_C" >&6 6478 fi 6479 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 6480 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 6481 else 6482 # Is the header compilable? 6483 { echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5 6484 echo $ECHO_N "checking netinet/tcp.h usability... $ECHO_C" >&6; } 6485 cat >conftest.$ac_ext <<_ACEOF 6486 /* confdefs.h. */ 6487 _ACEOF 6488 cat confdefs.h >>conftest.$ac_ext 6489 cat >>conftest.$ac_ext <<_ACEOF 6490 /* end confdefs.h. */ 6491 $ac_includes_default 6492 #include <netinet/tcp.h> 6493 _ACEOF 6494 rm -f conftest.$ac_objext 6495 if { (ac_try="$ac_compile" 6496 case "(($ac_try" in 6497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6498 *) ac_try_echo=$ac_try;; 6499 esac 6500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6501 (eval "$ac_compile") 2>conftest.er1 6502 ac_status=$? 6503 grep -v '^ *+' conftest.er1 >conftest.err 6504 rm -f conftest.er1 6505 cat conftest.err >&5 6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6507 (exit $ac_status); } && { 6508 test -z "$ac_c_werror_flag" || 6509 test ! -s conftest.err 6510 } && test -s conftest.$ac_objext; then 6511 ac_header_compiler=yes 6512 else 6513 echo "$as_me: failed program was:" >&5 6514 sed 's/^/| /' conftest.$ac_ext >&5 6515 6516 ac_header_compiler=no 6517 fi 6518 6519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6520 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6521 echo "${ECHO_T}$ac_header_compiler" >&6; } 6522 6523 # Is the header present? 6524 { echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5 6525 echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; } 6526 cat >conftest.$ac_ext <<_ACEOF 6527 /* confdefs.h. */ 6528 _ACEOF 6529 cat confdefs.h >>conftest.$ac_ext 6530 cat >>conftest.$ac_ext <<_ACEOF 6531 /* end confdefs.h. */ 6532 #include <netinet/tcp.h> 6533 _ACEOF 6534 if { (ac_try="$ac_cpp conftest.$ac_ext" 6535 case "(($ac_try" in 6536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6537 *) ac_try_echo=$ac_try;; 6538 esac 6539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6540 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6541 ac_status=$? 6542 grep -v '^ *+' conftest.er1 >conftest.err 6543 rm -f conftest.er1 6544 cat conftest.err >&5 6545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6546 (exit $ac_status); } >/dev/null && { 6547 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6548 test ! -s conftest.err 6549 }; then 6550 ac_header_preproc=yes 6551 else 6552 echo "$as_me: failed program was:" >&5 6553 sed 's/^/| /' conftest.$ac_ext >&5 6554 6555 ac_header_preproc=no 6556 fi 6557 6558 rm -f conftest.err conftest.$ac_ext 6559 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6560 echo "${ECHO_T}$ac_header_preproc" >&6; } 6561 6562 # So? What about this header? 6563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6564 yes:no: ) 6565 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5 6566 echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6567 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&5 6568 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&2;} 6569 ac_header_preproc=yes 6570 ;; 6571 no:yes:* ) 6572 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5 6573 echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;} 6574 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&5 6575 echo "$as_me: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&2;} 6576 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5 6577 echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;} 6578 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&5 6579 echo "$as_me: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&2;} 6580 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&5 6581 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&2;} 6582 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5 6583 echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;} 6584 6585 ;; 6586 esac 6587 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 6588 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 6589 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6590 echo $ECHO_N "(cached) $ECHO_C" >&6 6591 else 6592 ac_cv_header_netinet_tcp_h=$ac_header_preproc 6593 fi 6594 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 6595 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 6596 6597 fi 6598 if test $ac_cv_header_netinet_tcp_h = yes; then 6599 cat >>confdefs.h <<\_ACEOF 6600 #define PJ_HAS_NETINET_TCP_H 1 6601 _ACEOF 6602 6603 fi 6604 6605 6606 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6607 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 6608 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 6609 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6610 echo $ECHO_N "(cached) $ECHO_C" >&6 6611 fi 6612 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 6613 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 6614 else 6615 # Is the header compilable? 6616 { echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 6617 echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6; } 6618 cat >conftest.$ac_ext <<_ACEOF 6619 /* confdefs.h. */ 6620 _ACEOF 6621 cat confdefs.h >>conftest.$ac_ext 6622 cat >>conftest.$ac_ext <<_ACEOF 6623 /* end confdefs.h. */ 6624 $ac_includes_default 6625 #include <ifaddrs.h> 6626 _ACEOF 6627 rm -f conftest.$ac_objext 6628 if { (ac_try="$ac_compile" 6629 case "(($ac_try" in 6630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6631 *) ac_try_echo=$ac_try;; 6632 esac 6633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6634 (eval "$ac_compile") 2>conftest.er1 6635 ac_status=$? 6636 grep -v '^ *+' conftest.er1 >conftest.err 6637 rm -f conftest.er1 6638 cat conftest.err >&5 6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6640 (exit $ac_status); } && { 6641 test -z "$ac_c_werror_flag" || 6642 test ! -s conftest.err 6643 } && test -s conftest.$ac_objext; then 6644 ac_header_compiler=yes 6645 else 6646 echo "$as_me: failed program was:" >&5 6647 sed 's/^/| /' conftest.$ac_ext >&5 6648 6649 ac_header_compiler=no 6650 fi 6651 6652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6653 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6654 echo "${ECHO_T}$ac_header_compiler" >&6; } 6655 6656 # Is the header present? 6657 { echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 6658 echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6; } 6659 cat >conftest.$ac_ext <<_ACEOF 6660 /* confdefs.h. */ 6661 _ACEOF 6662 cat confdefs.h >>conftest.$ac_ext 6663 cat >>conftest.$ac_ext <<_ACEOF 6664 /* end confdefs.h. */ 6665 #include <ifaddrs.h> 6666 _ACEOF 6667 if { (ac_try="$ac_cpp conftest.$ac_ext" 6668 case "(($ac_try" in 6669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6670 *) ac_try_echo=$ac_try;; 6671 esac 6672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6674 ac_status=$? 6675 grep -v '^ *+' conftest.er1 >conftest.err 6676 rm -f conftest.er1 6677 cat conftest.err >&5 6678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6679 (exit $ac_status); } >/dev/null && { 6680 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6681 test ! -s conftest.err 6682 }; then 6683 ac_header_preproc=yes 6684 else 6685 echo "$as_me: failed program was:" >&5 6686 sed 's/^/| /' conftest.$ac_ext >&5 6687 6688 ac_header_preproc=no 6689 fi 6690 6691 rm -f conftest.err conftest.$ac_ext 6692 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6693 echo "${ECHO_T}$ac_header_preproc" >&6; } 6694 6695 # So? What about this header? 6696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6697 yes:no: ) 6698 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 6699 echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6700 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5 6701 echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;} 6702 ac_header_preproc=yes 6703 ;; 6704 no:yes:* ) 6705 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 6706 echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;} 6707 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&5 6708 echo "$as_me: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&2;} 6709 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5 6710 echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;} 6711 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: section \"Present But Cannot Be Compiled\"" >&5 6712 echo "$as_me: WARNING: ifaddrs.h: section \"Present But Cannot Be Compiled\"" >&2;} 6713 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 6714 echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;} 6715 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 6716 echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 6717 6718 ;; 6719 esac 6720 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 6721 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 6722 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6723 echo $ECHO_N "(cached) $ECHO_C" >&6 6724 else 6725 ac_cv_header_ifaddrs_h=$ac_header_preproc 6726 fi 6727 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 6728 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 6729 6730 fi 6731 if test $ac_cv_header_ifaddrs_h = yes; then 6732 { echo "$as_me:$LINENO: checking for getifaddrs" >&5 6733 echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6; } 6734 if test "${ac_cv_func_getifaddrs+set}" = set; then 6735 echo $ECHO_N "(cached) $ECHO_C" >&6 6736 else 6737 cat >conftest.$ac_ext <<_ACEOF 6738 /* confdefs.h. */ 6739 _ACEOF 6740 cat confdefs.h >>conftest.$ac_ext 6741 cat >>conftest.$ac_ext <<_ACEOF 6742 /* end confdefs.h. */ 6743 /* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs. 6744 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6745 #define getifaddrs innocuous_getifaddrs 6746 6747 /* System header to define __stub macros and hopefully few prototypes, 6748 which can conflict with char getifaddrs (); below. 6749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6750 <limits.h> exists even on freestanding compilers. */ 6751 6752 #ifdef __STDC__ 6753 # include <limits.h> 6754 #else 6755 # include <assert.h> 6756 #endif 6757 6758 #undef getifaddrs 6759 6760 /* Override any GCC internal prototype to avoid an error. 6761 Use char because int might match the return type of a GCC 6762 builtin and then its argument prototype would still apply. */ 6763 #ifdef __cplusplus 6764 extern "C" 6765 #endif 6766 char getifaddrs (); 6767 /* The GNU C library defines this for functions which it implements 6768 to always fail with ENOSYS. Some functions are actually named 6769 something starting with __ and the normal name is an alias. */ 6770 #if defined __stub_getifaddrs || defined __stub___getifaddrs 6771 choke me 6772 #endif 6773 6774 int 6775 main () 6776 { 6777 return getifaddrs (); 6778 ; 6779 return 0; 6780 } 6781 _ACEOF 6782 rm -f conftest.$ac_objext conftest$ac_exeext 6783 if { (ac_try="$ac_link" 6784 case "(($ac_try" in 6785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6786 *) ac_try_echo=$ac_try;; 6787 esac 6788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6789 (eval "$ac_link") 2>conftest.er1 6790 ac_status=$? 6791 grep -v '^ *+' conftest.er1 >conftest.err 6792 rm -f conftest.er1 6793 cat conftest.err >&5 6794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6795 (exit $ac_status); } && { 6796 test -z "$ac_c_werror_flag" || 6797 test ! -s conftest.err 6798 } && test -s conftest$ac_exeext && 6799 $as_test_x conftest$ac_exeext; then 6800 ac_cv_func_getifaddrs=yes 6801 else 6802 echo "$as_me: failed program was:" >&5 6803 sed 's/^/| /' conftest.$ac_ext >&5 6804 6805 ac_cv_func_getifaddrs=no 6806 fi 6807 6808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6809 conftest$ac_exeext conftest.$ac_ext 6810 fi 6811 { echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5 6812 echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6; } 6813 if test $ac_cv_func_getifaddrs = yes; then 6814 cat >>confdefs.h <<\_ACEOF 6815 #define PJ_HAS_IFADDRS_H 1 6816 _ACEOF 6817 6818 fi 6819 6820 fi 6821 6822 6823 if test "${ac_cv_header_semaphore_h+set}" = set; then 6824 { echo "$as_me:$LINENO: checking for semaphore.h" >&5 6825 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 6826 if test "${ac_cv_header_semaphore_h+set}" = set; then 6827 echo $ECHO_N "(cached) $ECHO_C" >&6 6828 fi 6829 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 6830 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 6831 else 6832 # Is the header compilable? 6833 { echo "$as_me:$LINENO: checking semaphore.h usability" >&5 6834 echo $ECHO_N "checking semaphore.h usability... $ECHO_C" >&6; } 6835 cat >conftest.$ac_ext <<_ACEOF 6836 /* confdefs.h. */ 6837 _ACEOF 6838 cat confdefs.h >>conftest.$ac_ext 6839 cat >>conftest.$ac_ext <<_ACEOF 6840 /* end confdefs.h. */ 6841 $ac_includes_default 6842 #include <semaphore.h> 6843 _ACEOF 6844 rm -f conftest.$ac_objext 6845 if { (ac_try="$ac_compile" 6846 case "(($ac_try" in 6847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6848 *) ac_try_echo=$ac_try;; 6849 esac 6850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6851 (eval "$ac_compile") 2>conftest.er1 6852 ac_status=$? 6853 grep -v '^ *+' conftest.er1 >conftest.err 6854 rm -f conftest.er1 6855 cat conftest.err >&5 6856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6857 (exit $ac_status); } && { 6858 test -z "$ac_c_werror_flag" || 6859 test ! -s conftest.err 6860 } && test -s conftest.$ac_objext; then 6861 ac_header_compiler=yes 6862 else 6863 echo "$as_me: failed program was:" >&5 6864 sed 's/^/| /' conftest.$ac_ext >&5 6865 6866 ac_header_compiler=no 6867 fi 6868 6869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6870 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6871 echo "${ECHO_T}$ac_header_compiler" >&6; } 6872 6873 # Is the header present? 6874 { echo "$as_me:$LINENO: checking semaphore.h presence" >&5 6875 echo $ECHO_N "checking semaphore.h presence... $ECHO_C" >&6; } 6876 cat >conftest.$ac_ext <<_ACEOF 6877 /* confdefs.h. */ 6878 _ACEOF 6879 cat confdefs.h >>conftest.$ac_ext 6880 cat >>conftest.$ac_ext <<_ACEOF 6881 /* end confdefs.h. */ 6882 #include <semaphore.h> 6883 _ACEOF 6884 if { (ac_try="$ac_cpp conftest.$ac_ext" 6885 case "(($ac_try" in 6886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6887 *) ac_try_echo=$ac_try;; 6888 esac 6889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6890 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6891 ac_status=$? 6892 grep -v '^ *+' conftest.er1 >conftest.err 6893 rm -f conftest.er1 6894 cat conftest.err >&5 6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6896 (exit $ac_status); } >/dev/null && { 6897 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6898 test ! -s conftest.err 6899 }; then 6900 ac_header_preproc=yes 6901 else 6902 echo "$as_me: failed program was:" >&5 6903 sed 's/^/| /' conftest.$ac_ext >&5 6904 6905 ac_header_preproc=no 6906 fi 6907 6908 rm -f conftest.err conftest.$ac_ext 6909 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6910 echo "${ECHO_T}$ac_header_preproc" >&6; } 6911 6912 # So? What about this header? 6913 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6914 yes:no: ) 6915 { echo "$as_me:$LINENO: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&5 6916 echo "$as_me: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6917 { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the compiler's result" >&5 6918 echo "$as_me: WARNING: semaphore.h: proceeding with the compiler's result" >&2;} 6919 ac_header_preproc=yes 6920 ;; 6921 no:yes:* ) 6922 { echo "$as_me:$LINENO: WARNING: semaphore.h: present but cannot be compiled" >&5 6923 echo "$as_me: WARNING: semaphore.h: present but cannot be compiled" >&2;} 6924 { echo "$as_me:$LINENO: WARNING: semaphore.h: check for missing prerequisite headers?" >&5 6925 echo "$as_me: WARNING: semaphore.h: check for missing prerequisite headers?" >&2;} 6926 { echo "$as_me:$LINENO: WARNING: semaphore.h: see the Autoconf documentation" >&5 6927 echo "$as_me: WARNING: semaphore.h: see the Autoconf documentation" >&2;} 6928 { echo "$as_me:$LINENO: WARNING: semaphore.h: section \"Present But Cannot Be Compiled\"" >&5 6929 echo "$as_me: WARNING: semaphore.h: section \"Present But Cannot Be Compiled\"" >&2;} 6930 { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the preprocessor's result" >&5 6931 echo "$as_me: WARNING: semaphore.h: proceeding with the preprocessor's result" >&2;} 6932 { echo "$as_me:$LINENO: WARNING: semaphore.h: in the future, the compiler will take precedence" >&5 6933 echo "$as_me: WARNING: semaphore.h: in the future, the compiler will take precedence" >&2;} 6934 6935 ;; 6936 esac 6937 { echo "$as_me:$LINENO: checking for semaphore.h" >&5 6938 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 6939 if test "${ac_cv_header_semaphore_h+set}" = set; then 6940 echo $ECHO_N "(cached) $ECHO_C" >&6 6941 else 6942 ac_cv_header_semaphore_h=$ac_header_preproc 6943 fi 6944 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 6945 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 6946 6947 fi 6948 if test $ac_cv_header_semaphore_h = yes; then 6949 cat >>confdefs.h <<\_ACEOF 6950 #define PJ_HAS_SEMAPHORE_H 1 6951 _ACEOF 6952 6953 fi 6954 6955 6956 if test "${ac_cv_header_setjmp_h+set}" = set; then 6957 { echo "$as_me:$LINENO: checking for setjmp.h" >&5 6958 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 6959 if test "${ac_cv_header_setjmp_h+set}" = set; then 6960 echo $ECHO_N "(cached) $ECHO_C" >&6 6961 fi 6962 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 6963 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 6964 else 6965 # Is the header compilable? 6966 { echo "$as_me:$LINENO: checking setjmp.h usability" >&5 6967 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6; } 6968 cat >conftest.$ac_ext <<_ACEOF 6969 /* confdefs.h. */ 6970 _ACEOF 6971 cat confdefs.h >>conftest.$ac_ext 6972 cat >>conftest.$ac_ext <<_ACEOF 6973 /* end confdefs.h. */ 6974 $ac_includes_default 6975 #include <setjmp.h> 6976 _ACEOF 6977 rm -f conftest.$ac_objext 6978 if { (ac_try="$ac_compile" 6979 case "(($ac_try" in 6980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6981 *) ac_try_echo=$ac_try;; 6982 esac 6983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6984 (eval "$ac_compile") 2>conftest.er1 6985 ac_status=$? 6986 grep -v '^ *+' conftest.er1 >conftest.err 6987 rm -f conftest.er1 6988 cat conftest.err >&5 6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6990 (exit $ac_status); } && { 6991 test -z "$ac_c_werror_flag" || 6992 test ! -s conftest.err 6993 } && test -s conftest.$ac_objext; then 6994 ac_header_compiler=yes 6995 else 6996 echo "$as_me: failed program was:" >&5 6997 sed 's/^/| /' conftest.$ac_ext >&5 6998 6999 ac_header_compiler=no 7000 fi 7001 7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7003 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7004 echo "${ECHO_T}$ac_header_compiler" >&6; } 7005 7006 # Is the header present? 7007 { echo "$as_me:$LINENO: checking setjmp.h presence" >&5 7008 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6; } 7009 cat >conftest.$ac_ext <<_ACEOF 7010 /* confdefs.h. */ 7011 _ACEOF 7012 cat confdefs.h >>conftest.$ac_ext 7013 cat >>conftest.$ac_ext <<_ACEOF 7014 /* end confdefs.h. */ 7015 #include <setjmp.h> 7016 _ACEOF 7017 if { (ac_try="$ac_cpp conftest.$ac_ext" 7018 case "(($ac_try" in 7019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7020 *) ac_try_echo=$ac_try;; 7021 esac 7022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7023 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7024 ac_status=$? 7025 grep -v '^ *+' conftest.er1 >conftest.err 7026 rm -f conftest.er1 7027 cat conftest.err >&5 7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7029 (exit $ac_status); } >/dev/null && { 7030 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7031 test ! -s conftest.err 7032 }; then 7033 ac_header_preproc=yes 7034 else 7035 echo "$as_me: failed program was:" >&5 7036 sed 's/^/| /' conftest.$ac_ext >&5 7037 7038 ac_header_preproc=no 7039 fi 7040 7041 rm -f conftest.err conftest.$ac_ext 7042 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7043 echo "${ECHO_T}$ac_header_preproc" >&6; } 7044 7045 # So? What about this header? 7046 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7047 yes:no: ) 7048 { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 7049 echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7050 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 7051 echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 7052 ac_header_preproc=yes 7053 ;; 7054 no:yes:* ) 7055 { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 7056 echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 7057 { echo "$as_me:$LINENO: WARNING: setjmp.h: check for missing prerequisite headers?" >&5 7058 echo "$as_me: WARNING: setjmp.h: check for missing prerequisite headers?" >&2;} 7059 { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 7060 echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 7061 { echo "$as_me:$LINENO: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&5 7062 echo "$as_me: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&2;} 7063 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 7064 echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 7065 { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 7066 echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 7067 7068 ;; 7069 esac 7070 { echo "$as_me:$LINENO: checking for setjmp.h" >&5 7071 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 7072 if test "${ac_cv_header_setjmp_h+set}" = set; then 7073 echo $ECHO_N "(cached) $ECHO_C" >&6 7074 else 7075 ac_cv_header_setjmp_h=$ac_header_preproc 7076 fi 7077 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 7078 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 7079 7080 fi 7081 if test $ac_cv_header_setjmp_h = yes; then 7082 cat >>confdefs.h <<\_ACEOF 7083 #define PJ_HAS_SETJMP_H 1 7084 _ACEOF 7085 7086 fi 7087 7088 7089 if test "${ac_cv_header_stdarg_h+set}" = set; then 7090 { echo "$as_me:$LINENO: checking for stdarg.h" >&5 7091 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 7092 if test "${ac_cv_header_stdarg_h+set}" = set; then 7093 echo $ECHO_N "(cached) $ECHO_C" >&6 7094 fi 7095 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 7096 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 7097 else 7098 # Is the header compilable? 7099 { echo "$as_me:$LINENO: checking stdarg.h usability" >&5 7100 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; } 7101 cat >conftest.$ac_ext <<_ACEOF 7102 /* confdefs.h. */ 7103 _ACEOF 7104 cat confdefs.h >>conftest.$ac_ext 7105 cat >>conftest.$ac_ext <<_ACEOF 7106 /* end confdefs.h. */ 7107 $ac_includes_default 7108 #include <stdarg.h> 7109 _ACEOF 7110 rm -f conftest.$ac_objext 7111 if { (ac_try="$ac_compile" 7112 case "(($ac_try" in 7113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7114 *) ac_try_echo=$ac_try;; 7115 esac 7116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7117 (eval "$ac_compile") 2>conftest.er1 7118 ac_status=$? 7119 grep -v '^ *+' conftest.er1 >conftest.err 7120 rm -f conftest.er1 7121 cat conftest.err >&5 7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7123 (exit $ac_status); } && { 7124 test -z "$ac_c_werror_flag" || 7125 test ! -s conftest.err 7126 } && test -s conftest.$ac_objext; then 7127 ac_header_compiler=yes 7128 else 7129 echo "$as_me: failed program was:" >&5 7130 sed 's/^/| /' conftest.$ac_ext >&5 7131 7132 ac_header_compiler=no 7133 fi 7134 7135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7136 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7137 echo "${ECHO_T}$ac_header_compiler" >&6; } 7138 7139 # Is the header present? 7140 { echo "$as_me:$LINENO: checking stdarg.h presence" >&5 7141 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; } 7142 cat >conftest.$ac_ext <<_ACEOF 7143 /* confdefs.h. */ 7144 _ACEOF 7145 cat confdefs.h >>conftest.$ac_ext 7146 cat >>conftest.$ac_ext <<_ACEOF 7147 /* end confdefs.h. */ 7148 #include <stdarg.h> 7149 _ACEOF 7150 if { (ac_try="$ac_cpp conftest.$ac_ext" 7151 case "(($ac_try" in 7152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7153 *) ac_try_echo=$ac_try;; 7154 esac 7155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7156 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7157 ac_status=$? 7158 grep -v '^ *+' conftest.er1 >conftest.err 7159 rm -f conftest.er1 7160 cat conftest.err >&5 7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7162 (exit $ac_status); } >/dev/null && { 7163 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7164 test ! -s conftest.err 7165 }; then 7166 ac_header_preproc=yes 7167 else 7168 echo "$as_me: failed program was:" >&5 7169 sed 's/^/| /' conftest.$ac_ext >&5 7170 7171 ac_header_preproc=no 7172 fi 7173 7174 rm -f conftest.err conftest.$ac_ext 7175 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7176 echo "${ECHO_T}$ac_header_preproc" >&6; } 7177 7178 # So? What about this header? 7179 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7180 yes:no: ) 7181 { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 7182 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7183 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 7184 echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 7185 ac_header_preproc=yes 7186 ;; 7187 no:yes:* ) 7188 { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 7189 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 7190 { echo "$as_me:$LINENO: WARNING: stdarg.h: check for missing prerequisite headers?" >&5 7191 echo "$as_me: WARNING: stdarg.h: check for missing prerequisite headers?" >&2;} 7192 { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 7193 echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 7194 { echo "$as_me:$LINENO: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&5 7195 echo "$as_me: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&2;} 7196 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 7197 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 7198 { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 7199 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 7200 7201 ;; 7202 esac 7203 { echo "$as_me:$LINENO: checking for stdarg.h" >&5 7204 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 7205 if test "${ac_cv_header_stdarg_h+set}" = set; then 7206 echo $ECHO_N "(cached) $ECHO_C" >&6 7207 else 7208 ac_cv_header_stdarg_h=$ac_header_preproc 7209 fi 7210 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 7211 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 7212 7213 fi 7214 if test $ac_cv_header_stdarg_h = yes; then 7215 cat >>confdefs.h <<\_ACEOF 7216 #define PJ_HAS_STDARG_H 1 7217 _ACEOF 7218 7219 fi 7220 7221 7222 if test "${ac_cv_header_stddef_h+set}" = set; then 7223 { echo "$as_me:$LINENO: checking for stddef.h" >&5 7224 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 7225 if test "${ac_cv_header_stddef_h+set}" = set; then 7226 echo $ECHO_N "(cached) $ECHO_C" >&6 7227 fi 7228 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 7229 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 7230 else 7231 # Is the header compilable? 7232 { echo "$as_me:$LINENO: checking stddef.h usability" >&5 7233 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6; } 7234 cat >conftest.$ac_ext <<_ACEOF 7235 /* confdefs.h. */ 7236 _ACEOF 7237 cat confdefs.h >>conftest.$ac_ext 7238 cat >>conftest.$ac_ext <<_ACEOF 7239 /* end confdefs.h. */ 7240 $ac_includes_default 7241 #include <stddef.h> 7242 _ACEOF 7243 rm -f conftest.$ac_objext 7244 if { (ac_try="$ac_compile" 7245 case "(($ac_try" in 7246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7247 *) ac_try_echo=$ac_try;; 7248 esac 7249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7250 (eval "$ac_compile") 2>conftest.er1 7251 ac_status=$? 7252 grep -v '^ *+' conftest.er1 >conftest.err 7253 rm -f conftest.er1 7254 cat conftest.err >&5 7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7256 (exit $ac_status); } && { 7257 test -z "$ac_c_werror_flag" || 7258 test ! -s conftest.err 7259 } && test -s conftest.$ac_objext; then 7260 ac_header_compiler=yes 7261 else 7262 echo "$as_me: failed program was:" >&5 7263 sed 's/^/| /' conftest.$ac_ext >&5 7264 7265 ac_header_compiler=no 7266 fi 7267 7268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7269 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7270 echo "${ECHO_T}$ac_header_compiler" >&6; } 7271 7272 # Is the header present? 7273 { echo "$as_me:$LINENO: checking stddef.h presence" >&5 7274 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6; } 7275 cat >conftest.$ac_ext <<_ACEOF 7276 /* confdefs.h. */ 7277 _ACEOF 7278 cat confdefs.h >>conftest.$ac_ext 7279 cat >>conftest.$ac_ext <<_ACEOF 7280 /* end confdefs.h. */ 7281 #include <stddef.h> 7282 _ACEOF 7283 if { (ac_try="$ac_cpp conftest.$ac_ext" 7284 case "(($ac_try" in 7285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7286 *) ac_try_echo=$ac_try;; 7287 esac 7288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7289 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7290 ac_status=$? 7291 grep -v '^ *+' conftest.er1 >conftest.err 7292 rm -f conftest.er1 7293 cat conftest.err >&5 7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7295 (exit $ac_status); } >/dev/null && { 7296 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7297 test ! -s conftest.err 7298 }; then 7299 ac_header_preproc=yes 7300 else 7301 echo "$as_me: failed program was:" >&5 7302 sed 's/^/| /' conftest.$ac_ext >&5 7303 7304 ac_header_preproc=no 7305 fi 7306 7307 rm -f conftest.err conftest.$ac_ext 7308 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7309 echo "${ECHO_T}$ac_header_preproc" >&6; } 7310 7311 # So? What about this header? 7312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7313 yes:no: ) 7314 { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 7315 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7316 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 7317 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 7318 ac_header_preproc=yes 7319 ;; 7320 no:yes:* ) 7321 { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 7322 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 7323 { echo "$as_me:$LINENO: WARNING: stddef.h: check for missing prerequisite headers?" >&5 7324 echo "$as_me: WARNING: stddef.h: check for missing prerequisite headers?" >&2;} 7325 { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 7326 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 7327 { echo "$as_me:$LINENO: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&5 7328 echo "$as_me: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&2;} 7329 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 7330 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 7331 { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 7332 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 7333 7334 ;; 7335 esac 7336 { echo "$as_me:$LINENO: checking for stddef.h" >&5 7337 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 7338 if test "${ac_cv_header_stddef_h+set}" = set; then 7339 echo $ECHO_N "(cached) $ECHO_C" >&6 7340 else 7341 ac_cv_header_stddef_h=$ac_header_preproc 7342 fi 7343 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 7344 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 7345 7346 fi 7347 if test $ac_cv_header_stddef_h = yes; then 7348 cat >>confdefs.h <<\_ACEOF 7349 #define PJ_HAS_STDDEF_H 1 7350 _ACEOF 7351 7352 fi 7353 7354 7355 if test "${ac_cv_header_stdio_h+set}" = set; then 7356 { echo "$as_me:$LINENO: checking for stdio.h" >&5 7357 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 7358 if test "${ac_cv_header_stdio_h+set}" = set; then 7359 echo $ECHO_N "(cached) $ECHO_C" >&6 7360 fi 7361 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 7362 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 7363 else 7364 # Is the header compilable? 7365 { echo "$as_me:$LINENO: checking stdio.h usability" >&5 7366 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6; } 7367 cat >conftest.$ac_ext <<_ACEOF 7368 /* confdefs.h. */ 7369 _ACEOF 7370 cat confdefs.h >>conftest.$ac_ext 7371 cat >>conftest.$ac_ext <<_ACEOF 7372 /* end confdefs.h. */ 7373 $ac_includes_default 7374 #include <stdio.h> 7375 _ACEOF 7376 rm -f conftest.$ac_objext 7377 if { (ac_try="$ac_compile" 7378 case "(($ac_try" in 7379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7380 *) ac_try_echo=$ac_try;; 7381 esac 7382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7383 (eval "$ac_compile") 2>conftest.er1 7384 ac_status=$? 7385 grep -v '^ *+' conftest.er1 >conftest.err 7386 rm -f conftest.er1 7387 cat conftest.err >&5 7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7389 (exit $ac_status); } && { 7390 test -z "$ac_c_werror_flag" || 7391 test ! -s conftest.err 7392 } && test -s conftest.$ac_objext; then 7393 ac_header_compiler=yes 7394 else 7395 echo "$as_me: failed program was:" >&5 7396 sed 's/^/| /' conftest.$ac_ext >&5 7397 7398 ac_header_compiler=no 7399 fi 7400 7401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7402 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7403 echo "${ECHO_T}$ac_header_compiler" >&6; } 7404 7405 # Is the header present? 7406 { echo "$as_me:$LINENO: checking stdio.h presence" >&5 7407 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6; } 7408 cat >conftest.$ac_ext <<_ACEOF 7409 /* confdefs.h. */ 7410 _ACEOF 7411 cat confdefs.h >>conftest.$ac_ext 7412 cat >>conftest.$ac_ext <<_ACEOF 7413 /* end confdefs.h. */ 7414 #include <stdio.h> 7415 _ACEOF 7416 if { (ac_try="$ac_cpp conftest.$ac_ext" 7417 case "(($ac_try" in 7418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7419 *) ac_try_echo=$ac_try;; 7420 esac 7421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7422 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7423 ac_status=$? 7424 grep -v '^ *+' conftest.er1 >conftest.err 7425 rm -f conftest.er1 7426 cat conftest.err >&5 7427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7428 (exit $ac_status); } >/dev/null && { 7429 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7430 test ! -s conftest.err 7431 }; then 7432 ac_header_preproc=yes 7433 else 7434 echo "$as_me: failed program was:" >&5 7435 sed 's/^/| /' conftest.$ac_ext >&5 7436 7437 ac_header_preproc=no 7438 fi 7439 7440 rm -f conftest.err conftest.$ac_ext 7441 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7442 echo "${ECHO_T}$ac_header_preproc" >&6; } 7443 7444 # So? What about this header? 7445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7446 yes:no: ) 7447 { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 7448 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7449 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 7450 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 7451 ac_header_preproc=yes 7452 ;; 7453 no:yes:* ) 7454 { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 7455 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 7456 { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5 7457 echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;} 7458 { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 7459 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 7460 { echo "$as_me:$LINENO: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&5 7461 echo "$as_me: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&2;} 7462 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 7463 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 7464 { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 7465 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 7466 7467 ;; 7468 esac 7469 { echo "$as_me:$LINENO: checking for stdio.h" >&5 7470 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 7471 if test "${ac_cv_header_stdio_h+set}" = set; then 7472 echo $ECHO_N "(cached) $ECHO_C" >&6 7473 else 7474 ac_cv_header_stdio_h=$ac_header_preproc 7475 fi 7476 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 7477 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 7478 7479 fi 7480 if test $ac_cv_header_stdio_h = yes; then 7481 cat >>confdefs.h <<\_ACEOF 7482 #define PJ_HAS_STDIO_H 1 7483 _ACEOF 7484 7485 fi 7486 7487 7488 if test "${ac_cv_header_stdint_h+set}" = set; then 7489 { echo "$as_me:$LINENO: checking for stdint.h" >&5 7490 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 7491 if test "${ac_cv_header_stdint_h+set}" = set; then 7492 echo $ECHO_N "(cached) $ECHO_C" >&6 7493 fi 7494 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 7495 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 7496 else 7497 # Is the header compilable? 7498 { echo "$as_me:$LINENO: checking stdint.h usability" >&5 7499 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6; } 7500 cat >conftest.$ac_ext <<_ACEOF 7501 /* confdefs.h. */ 7502 _ACEOF 7503 cat confdefs.h >>conftest.$ac_ext 7504 cat >>conftest.$ac_ext <<_ACEOF 7505 /* end confdefs.h. */ 7506 $ac_includes_default 7507 #include <stdint.h> 7508 _ACEOF 7509 rm -f conftest.$ac_objext 7510 if { (ac_try="$ac_compile" 7511 case "(($ac_try" in 7512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7513 *) ac_try_echo=$ac_try;; 7514 esac 7515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7516 (eval "$ac_compile") 2>conftest.er1 7517 ac_status=$? 7518 grep -v '^ *+' conftest.er1 >conftest.err 7519 rm -f conftest.er1 7520 cat conftest.err >&5 7521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7522 (exit $ac_status); } && { 7523 test -z "$ac_c_werror_flag" || 7524 test ! -s conftest.err 7525 } && test -s conftest.$ac_objext; then 7526 ac_header_compiler=yes 7527 else 7528 echo "$as_me: failed program was:" >&5 7529 sed 's/^/| /' conftest.$ac_ext >&5 7530 7531 ac_header_compiler=no 7532 fi 7533 7534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7535 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7536 echo "${ECHO_T}$ac_header_compiler" >&6; } 7537 7538 # Is the header present? 7539 { echo "$as_me:$LINENO: checking stdint.h presence" >&5 7540 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6; } 7541 cat >conftest.$ac_ext <<_ACEOF 7542 /* confdefs.h. */ 7543 _ACEOF 7544 cat confdefs.h >>conftest.$ac_ext 7545 cat >>conftest.$ac_ext <<_ACEOF 7546 /* end confdefs.h. */ 7547 #include <stdint.h> 7548 _ACEOF 7549 if { (ac_try="$ac_cpp conftest.$ac_ext" 7550 case "(($ac_try" in 7551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7552 *) ac_try_echo=$ac_try;; 7553 esac 7554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7556 ac_status=$? 7557 grep -v '^ *+' conftest.er1 >conftest.err 7558 rm -f conftest.er1 7559 cat conftest.err >&5 7560 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7561 (exit $ac_status); } >/dev/null && { 7562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7563 test ! -s conftest.err 7564 }; then 7565 ac_header_preproc=yes 7566 else 7567 echo "$as_me: failed program was:" >&5 7568 sed 's/^/| /' conftest.$ac_ext >&5 7569 7570 ac_header_preproc=no 7571 fi 7572 7573 rm -f conftest.err conftest.$ac_ext 7574 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7575 echo "${ECHO_T}$ac_header_preproc" >&6; } 7576 7577 # So? What about this header? 7578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7579 yes:no: ) 7580 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 7581 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7582 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 7583 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 7584 ac_header_preproc=yes 7585 ;; 7586 no:yes:* ) 7587 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 7588 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 7589 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5 7590 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;} 7591 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 7592 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 7593 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5 7594 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;} 7595 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 7596 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 7597 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 7598 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 7599 7600 ;; 7601 esac 7602 { echo "$as_me:$LINENO: checking for stdint.h" >&5 7603 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 7604 if test "${ac_cv_header_stdint_h+set}" = set; then 7605 echo $ECHO_N "(cached) $ECHO_C" >&6 7606 else 7607 ac_cv_header_stdint_h=$ac_header_preproc 7608 fi 7609 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 7610 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 7611 7612 fi 7613 if test $ac_cv_header_stdint_h = yes; then 7614 cat >>confdefs.h <<\_ACEOF 7615 #define PJ_HAS_STDINT_H 1 7616 _ACEOF 7617 7618 fi 7619 7620 7621 if test "${ac_cv_header_stdlib_h+set}" = set; then 7622 { echo "$as_me:$LINENO: checking for stdlib.h" >&5 7623 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 7624 if test "${ac_cv_header_stdlib_h+set}" = set; then 7625 echo $ECHO_N "(cached) $ECHO_C" >&6 7626 fi 7627 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 7628 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 7629 else 7630 # Is the header compilable? 7631 { echo "$as_me:$LINENO: checking stdlib.h usability" >&5 7632 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; } 7633 cat >conftest.$ac_ext <<_ACEOF 7634 /* confdefs.h. */ 7635 _ACEOF 7636 cat confdefs.h >>conftest.$ac_ext 7637 cat >>conftest.$ac_ext <<_ACEOF 7638 /* end confdefs.h. */ 7639 $ac_includes_default 7640 #include <stdlib.h> 7641 _ACEOF 7642 rm -f conftest.$ac_objext 7643 if { (ac_try="$ac_compile" 7644 case "(($ac_try" in 7645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7646 *) ac_try_echo=$ac_try;; 7647 esac 7648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7649 (eval "$ac_compile") 2>conftest.er1 7650 ac_status=$? 7651 grep -v '^ *+' conftest.er1 >conftest.err 7652 rm -f conftest.er1 7653 cat conftest.err >&5 7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7655 (exit $ac_status); } && { 7656 test -z "$ac_c_werror_flag" || 7657 test ! -s conftest.err 7658 } && test -s conftest.$ac_objext; then 7659 ac_header_compiler=yes 7660 else 7661 echo "$as_me: failed program was:" >&5 7662 sed 's/^/| /' conftest.$ac_ext >&5 7663 7664 ac_header_compiler=no 7665 fi 7666 7667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7668 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7669 echo "${ECHO_T}$ac_header_compiler" >&6; } 7670 7671 # Is the header present? 7672 { echo "$as_me:$LINENO: checking stdlib.h presence" >&5 7673 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; } 7674 cat >conftest.$ac_ext <<_ACEOF 7675 /* confdefs.h. */ 7676 _ACEOF 7677 cat confdefs.h >>conftest.$ac_ext 7678 cat >>conftest.$ac_ext <<_ACEOF 7679 /* end confdefs.h. */ 7680 #include <stdlib.h> 7681 _ACEOF 7682 if { (ac_try="$ac_cpp conftest.$ac_ext" 7683 case "(($ac_try" in 7684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7685 *) ac_try_echo=$ac_try;; 7686 esac 7687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7688 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7689 ac_status=$? 7690 grep -v '^ *+' conftest.er1 >conftest.err 7691 rm -f conftest.er1 7692 cat conftest.err >&5 7693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7694 (exit $ac_status); } >/dev/null && { 7695 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7696 test ! -s conftest.err 7697 }; then 7698 ac_header_preproc=yes 7699 else 7700 echo "$as_me: failed program was:" >&5 7701 sed 's/^/| /' conftest.$ac_ext >&5 7702 7703 ac_header_preproc=no 7704 fi 7705 7706 rm -f conftest.err conftest.$ac_ext 7707 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7708 echo "${ECHO_T}$ac_header_preproc" >&6; } 7709 7710 # So? What about this header? 7711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7712 yes:no: ) 7713 { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 7714 echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7715 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 7716 echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 7717 ac_header_preproc=yes 7718 ;; 7719 no:yes:* ) 7720 { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 7721 echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 7722 { echo "$as_me:$LINENO: WARNING: stdlib.h: check for missing prerequisite headers?" >&5 7723 echo "$as_me: WARNING: stdlib.h: check for missing prerequisite headers?" >&2;} 7724 { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 7725 echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 7726 { echo "$as_me:$LINENO: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&5 7727 echo "$as_me: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&2;} 7728 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 7729 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 7730 { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 7731 echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 7732 7733 ;; 7734 esac 7735 { echo "$as_me:$LINENO: checking for stdlib.h" >&5 7736 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 7737 if test "${ac_cv_header_stdlib_h+set}" = set; then 7738 echo $ECHO_N "(cached) $ECHO_C" >&6 7739 else 7740 ac_cv_header_stdlib_h=$ac_header_preproc 7741 fi 7742 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 7743 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 7744 7745 fi 7746 if test $ac_cv_header_stdlib_h = yes; then 7747 cat >>confdefs.h <<\_ACEOF 7748 #define PJ_HAS_STDLIB_H 1 7749 _ACEOF 7750 7751 fi 7752 7753 7754 if test "${ac_cv_header_string_h+set}" = set; then 7755 { echo "$as_me:$LINENO: checking for string.h" >&5 7756 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 7757 if test "${ac_cv_header_string_h+set}" = set; then 7758 echo $ECHO_N "(cached) $ECHO_C" >&6 7759 fi 7760 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 7761 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 7762 else 7763 # Is the header compilable? 7764 { echo "$as_me:$LINENO: checking string.h usability" >&5 7765 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6; } 7766 cat >conftest.$ac_ext <<_ACEOF 7767 /* confdefs.h. */ 7768 _ACEOF 7769 cat confdefs.h >>conftest.$ac_ext 7770 cat >>conftest.$ac_ext <<_ACEOF 7771 /* end confdefs.h. */ 7772 $ac_includes_default 7773 #include <string.h> 7774 _ACEOF 7775 rm -f conftest.$ac_objext 7776 if { (ac_try="$ac_compile" 7777 case "(($ac_try" in 7778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7779 *) ac_try_echo=$ac_try;; 7780 esac 7781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7782 (eval "$ac_compile") 2>conftest.er1 7783 ac_status=$? 7784 grep -v '^ *+' conftest.er1 >conftest.err 7785 rm -f conftest.er1 7786 cat conftest.err >&5 7787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7788 (exit $ac_status); } && { 7789 test -z "$ac_c_werror_flag" || 7790 test ! -s conftest.err 7791 } && test -s conftest.$ac_objext; then 7792 ac_header_compiler=yes 7793 else 7794 echo "$as_me: failed program was:" >&5 7795 sed 's/^/| /' conftest.$ac_ext >&5 7796 7797 ac_header_compiler=no 7798 fi 7799 7800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7801 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7802 echo "${ECHO_T}$ac_header_compiler" >&6; } 7803 7804 # Is the header present? 7805 { echo "$as_me:$LINENO: checking string.h presence" >&5 7806 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6; } 7807 cat >conftest.$ac_ext <<_ACEOF 7808 /* confdefs.h. */ 7809 _ACEOF 7810 cat confdefs.h >>conftest.$ac_ext 7811 cat >>conftest.$ac_ext <<_ACEOF 7812 /* end confdefs.h. */ 7813 #include <string.h> 7814 _ACEOF 7815 if { (ac_try="$ac_cpp conftest.$ac_ext" 7816 case "(($ac_try" in 7817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7818 *) ac_try_echo=$ac_try;; 7819 esac 7820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7821 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7822 ac_status=$? 7823 grep -v '^ *+' conftest.er1 >conftest.err 7824 rm -f conftest.er1 7825 cat conftest.err >&5 7826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7827 (exit $ac_status); } >/dev/null && { 7828 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7829 test ! -s conftest.err 7830 }; then 7831 ac_header_preproc=yes 7832 else 7833 echo "$as_me: failed program was:" >&5 7834 sed 's/^/| /' conftest.$ac_ext >&5 7835 7836 ac_header_preproc=no 7837 fi 7838 7839 rm -f conftest.err conftest.$ac_ext 7840 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7841 echo "${ECHO_T}$ac_header_preproc" >&6; } 7842 7843 # So? What about this header? 7844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7845 yes:no: ) 7846 { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 7847 echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7848 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 7849 echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 7850 ac_header_preproc=yes 7851 ;; 7852 no:yes:* ) 7853 { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 7854 echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 7855 { echo "$as_me:$LINENO: WARNING: string.h: check for missing prerequisite headers?" >&5 7856 echo "$as_me: WARNING: string.h: check for missing prerequisite headers?" >&2;} 7857 { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 7858 echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 7859 { echo "$as_me:$LINENO: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&5 7860 echo "$as_me: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&2;} 7861 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 7862 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 7863 { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 7864 echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 7865 7866 ;; 7867 esac 7868 { echo "$as_me:$LINENO: checking for string.h" >&5 7869 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 7870 if test "${ac_cv_header_string_h+set}" = set; then 7871 echo $ECHO_N "(cached) $ECHO_C" >&6 7872 else 7873 ac_cv_header_string_h=$ac_header_preproc 7874 fi 7875 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 7876 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 7877 7878 fi 7879 if test $ac_cv_header_string_h = yes; then 7880 cat >>confdefs.h <<\_ACEOF 7881 #define PJ_HAS_STRING_H 1 7882 _ACEOF 7883 7884 fi 7885 7886 7887 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 7888 { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 7889 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 7890 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 7891 echo $ECHO_N "(cached) $ECHO_C" >&6 7892 fi 7893 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 7894 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 7895 else 7896 # Is the header compilable? 7897 { echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 7898 echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6; } 7899 cat >conftest.$ac_ext <<_ACEOF 7900 /* confdefs.h. */ 7901 _ACEOF 7902 cat confdefs.h >>conftest.$ac_ext 7903 cat >>conftest.$ac_ext <<_ACEOF 7904 /* end confdefs.h. */ 7905 $ac_includes_default 7906 #include <sys/ioctl.h> 7907 _ACEOF 7908 rm -f conftest.$ac_objext 7909 if { (ac_try="$ac_compile" 7910 case "(($ac_try" in 7911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7912 *) ac_try_echo=$ac_try;; 7913 esac 7914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7915 (eval "$ac_compile") 2>conftest.er1 7916 ac_status=$? 7917 grep -v '^ *+' conftest.er1 >conftest.err 7918 rm -f conftest.er1 7919 cat conftest.err >&5 7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7921 (exit $ac_status); } && { 7922 test -z "$ac_c_werror_flag" || 7923 test ! -s conftest.err 7924 } && test -s conftest.$ac_objext; then 7925 ac_header_compiler=yes 7926 else 7927 echo "$as_me: failed program was:" >&5 7928 sed 's/^/| /' conftest.$ac_ext >&5 7929 7930 ac_header_compiler=no 7931 fi 7932 7933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7934 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7935 echo "${ECHO_T}$ac_header_compiler" >&6; } 7936 7937 # Is the header present? 7938 { echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 7939 echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6; } 7940 cat >conftest.$ac_ext <<_ACEOF 7941 /* confdefs.h. */ 7942 _ACEOF 7943 cat confdefs.h >>conftest.$ac_ext 7944 cat >>conftest.$ac_ext <<_ACEOF 7945 /* end confdefs.h. */ 7946 #include <sys/ioctl.h> 7947 _ACEOF 7948 if { (ac_try="$ac_cpp conftest.$ac_ext" 7949 case "(($ac_try" in 7950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7951 *) ac_try_echo=$ac_try;; 7952 esac 7953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7954 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7955 ac_status=$? 7956 grep -v '^ *+' conftest.er1 >conftest.err 7957 rm -f conftest.er1 7958 cat conftest.err >&5 7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7960 (exit $ac_status); } >/dev/null && { 7961 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7962 test ! -s conftest.err 7963 }; then 7964 ac_header_preproc=yes 7965 else 7966 echo "$as_me: failed program was:" >&5 7967 sed 's/^/| /' conftest.$ac_ext >&5 7968 7969 ac_header_preproc=no 7970 fi 7971 7972 rm -f conftest.err conftest.$ac_ext 7973 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7974 echo "${ECHO_T}$ac_header_preproc" >&6; } 7975 7976 # So? What about this header? 7977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7978 yes:no: ) 7979 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 7980 echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7981 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 7982 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 7983 ac_header_preproc=yes 7984 ;; 7985 no:yes:* ) 7986 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 7987 echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 7988 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&5 7989 echo "$as_me: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&2;} 7990 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 7991 echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 7992 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: section \"Present But Cannot Be Compiled\"" >&5 7993 echo "$as_me: WARNING: sys/ioctl.h: section \"Present But Cannot Be Compiled\"" >&2;} 7994 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 7995 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 7996 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 7997 echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 7998 7999 ;; 8000 esac 8001 { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 8002 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 8003 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 8004 echo $ECHO_N "(cached) $ECHO_C" >&6 8005 else 8006 ac_cv_header_sys_ioctl_h=$ac_header_preproc 8007 fi 8008 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 8009 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 8010 8011 fi 8012 if test $ac_cv_header_sys_ioctl_h = yes; then 8013 cat >>confdefs.h <<\_ACEOF 8014 #define PJ_HAS_SYS_IOCTL_H 1 8015 _ACEOF 8016 8017 fi 8018 8019 8020 if test "${ac_cv_header_sys_select_h+set}" = set; then 8021 { echo "$as_me:$LINENO: checking for sys/select.h" >&5 8022 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 8023 if test "${ac_cv_header_sys_select_h+set}" = set; then 8024 echo $ECHO_N "(cached) $ECHO_C" >&6 8025 fi 8026 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 8027 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 8028 else 8029 # Is the header compilable? 8030 { echo "$as_me:$LINENO: checking sys/select.h usability" >&5 8031 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6; } 8032 cat >conftest.$ac_ext <<_ACEOF 8033 /* confdefs.h. */ 8034 _ACEOF 8035 cat confdefs.h >>conftest.$ac_ext 8036 cat >>conftest.$ac_ext <<_ACEOF 8037 /* end confdefs.h. */ 8038 $ac_includes_default 8039 #include <sys/select.h> 8040 _ACEOF 8041 rm -f conftest.$ac_objext 8042 if { (ac_try="$ac_compile" 8043 case "(($ac_try" in 8044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8045 *) ac_try_echo=$ac_try;; 8046 esac 8047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8048 (eval "$ac_compile") 2>conftest.er1 8049 ac_status=$? 8050 grep -v '^ *+' conftest.er1 >conftest.err 8051 rm -f conftest.er1 8052 cat conftest.err >&5 8053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8054 (exit $ac_status); } && { 8055 test -z "$ac_c_werror_flag" || 8056 test ! -s conftest.err 8057 } && test -s conftest.$ac_objext; then 8058 ac_header_compiler=yes 8059 else 8060 echo "$as_me: failed program was:" >&5 8061 sed 's/^/| /' conftest.$ac_ext >&5 8062 8063 ac_header_compiler=no 8064 fi 8065 8066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8067 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8068 echo "${ECHO_T}$ac_header_compiler" >&6; } 8069 8070 # Is the header present? 8071 { echo "$as_me:$LINENO: checking sys/select.h presence" >&5 8072 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6; } 8073 cat >conftest.$ac_ext <<_ACEOF 8074 /* confdefs.h. */ 8075 _ACEOF 8076 cat confdefs.h >>conftest.$ac_ext 8077 cat >>conftest.$ac_ext <<_ACEOF 8078 /* end confdefs.h. */ 8079 #include <sys/select.h> 8080 _ACEOF 8081 if { (ac_try="$ac_cpp conftest.$ac_ext" 8082 case "(($ac_try" in 8083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8084 *) ac_try_echo=$ac_try;; 8085 esac 8086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8087 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8088 ac_status=$? 8089 grep -v '^ *+' conftest.er1 >conftest.err 8090 rm -f conftest.er1 8091 cat conftest.err >&5 8092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8093 (exit $ac_status); } >/dev/null && { 8094 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8095 test ! -s conftest.err 8096 }; then 8097 ac_header_preproc=yes 8098 else 8099 echo "$as_me: failed program was:" >&5 8100 sed 's/^/| /' conftest.$ac_ext >&5 8101 8102 ac_header_preproc=no 8103 fi 8104 8105 rm -f conftest.err conftest.$ac_ext 8106 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8107 echo "${ECHO_T}$ac_header_preproc" >&6; } 8108 8109 # So? What about this header? 8110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8111 yes:no: ) 8112 { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 8113 echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8114 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 8115 echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 8116 ac_header_preproc=yes 8117 ;; 8118 no:yes:* ) 8119 { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 8120 echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 8121 { echo "$as_me:$LINENO: WARNING: sys/select.h: check for missing prerequisite headers?" >&5 8122 echo "$as_me: WARNING: sys/select.h: check for missing prerequisite headers?" >&2;} 8123 { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 8124 echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 8125 { echo "$as_me:$LINENO: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&5 8126 echo "$as_me: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&2;} 8127 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 8128 echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 8129 { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 8130 echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 8131 8132 ;; 8133 esac 8134 { echo "$as_me:$LINENO: checking for sys/select.h" >&5 8135 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 8136 if test "${ac_cv_header_sys_select_h+set}" = set; then 8137 echo $ECHO_N "(cached) $ECHO_C" >&6 8138 else 8139 ac_cv_header_sys_select_h=$ac_header_preproc 8140 fi 8141 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 8142 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 8143 8144 fi 8145 if test $ac_cv_header_sys_select_h = yes; then 8146 cat >>confdefs.h <<\_ACEOF 8147 #define PJ_HAS_SYS_SELECT_H 1 8148 _ACEOF 8149 8150 fi 8151 8152 8153 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8154 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 8155 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 8156 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8157 echo $ECHO_N "(cached) $ECHO_C" >&6 8158 fi 8159 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 8160 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 8161 else 8162 # Is the header compilable? 8163 { echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 8164 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; } 8165 cat >conftest.$ac_ext <<_ACEOF 8166 /* confdefs.h. */ 8167 _ACEOF 8168 cat confdefs.h >>conftest.$ac_ext 8169 cat >>conftest.$ac_ext <<_ACEOF 8170 /* end confdefs.h. */ 8171 $ac_includes_default 8172 #include <sys/socket.h> 8173 _ACEOF 8174 rm -f conftest.$ac_objext 8175 if { (ac_try="$ac_compile" 8176 case "(($ac_try" in 8177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8178 *) ac_try_echo=$ac_try;; 8179 esac 8180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8181 (eval "$ac_compile") 2>conftest.er1 8182 ac_status=$? 8183 grep -v '^ *+' conftest.er1 >conftest.err 8184 rm -f conftest.er1 8185 cat conftest.err >&5 8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8187 (exit $ac_status); } && { 8188 test -z "$ac_c_werror_flag" || 8189 test ! -s conftest.err 8190 } && test -s conftest.$ac_objext; then 8191 ac_header_compiler=yes 8192 else 8193 echo "$as_me: failed program was:" >&5 8194 sed 's/^/| /' conftest.$ac_ext >&5 8195 8196 ac_header_compiler=no 8197 fi 8198 8199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8200 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8201 echo "${ECHO_T}$ac_header_compiler" >&6; } 8202 8203 # Is the header present? 8204 { echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 8205 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; } 8206 cat >conftest.$ac_ext <<_ACEOF 8207 /* confdefs.h. */ 8208 _ACEOF 8209 cat confdefs.h >>conftest.$ac_ext 8210 cat >>conftest.$ac_ext <<_ACEOF 8211 /* end confdefs.h. */ 8212 #include <sys/socket.h> 8213 _ACEOF 8214 if { (ac_try="$ac_cpp conftest.$ac_ext" 8215 case "(($ac_try" in 8216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8217 *) ac_try_echo=$ac_try;; 8218 esac 8219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8220 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8221 ac_status=$? 8222 grep -v '^ *+' conftest.er1 >conftest.err 8223 rm -f conftest.er1 8224 cat conftest.err >&5 8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8226 (exit $ac_status); } >/dev/null && { 8227 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8228 test ! -s conftest.err 8229 }; then 8230 ac_header_preproc=yes 8231 else 8232 echo "$as_me: failed program was:" >&5 8233 sed 's/^/| /' conftest.$ac_ext >&5 8234 8235 ac_header_preproc=no 8236 fi 8237 8238 rm -f conftest.err conftest.$ac_ext 8239 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8240 echo "${ECHO_T}$ac_header_preproc" >&6; } 8241 8242 # So? What about this header? 8243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8244 yes:no: ) 8245 { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 8246 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8247 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 8248 echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 8249 ac_header_preproc=yes 8250 ;; 8251 no:yes:* ) 8252 { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 8253 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 8254 { echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5 8255 echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;} 8256 { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 8257 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 8258 { echo "$as_me:$LINENO: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&5 8259 echo "$as_me: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&2;} 8260 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 8261 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 8262 { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 8263 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 8264 8265 ;; 8266 esac 8267 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 8268 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 8269 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8270 echo $ECHO_N "(cached) $ECHO_C" >&6 8271 else 8272 ac_cv_header_sys_socket_h=$ac_header_preproc 8273 fi 8274 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 8275 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 8276 8277 fi 8278 if test $ac_cv_header_sys_socket_h = yes; then 8279 cat >>confdefs.h <<\_ACEOF 8280 #define PJ_HAS_SYS_SOCKET_H 1 8281 _ACEOF 8282 8283 fi 8284 8285 8286 if test "${ac_cv_header_sys_time_h+set}" = set; then 8287 { echo "$as_me:$LINENO: checking for sys/time.h" >&5 8288 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 8289 if test "${ac_cv_header_sys_time_h+set}" = set; then 8290 echo $ECHO_N "(cached) $ECHO_C" >&6 8291 fi 8292 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 8293 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 8294 else 8295 # Is the header compilable? 8296 { echo "$as_me:$LINENO: checking sys/time.h usability" >&5 8297 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6; } 8298 cat >conftest.$ac_ext <<_ACEOF 8299 /* confdefs.h. */ 8300 _ACEOF 8301 cat confdefs.h >>conftest.$ac_ext 8302 cat >>conftest.$ac_ext <<_ACEOF 8303 /* end confdefs.h. */ 8304 $ac_includes_default 8305 #include <sys/time.h> 8306 _ACEOF 8307 rm -f conftest.$ac_objext 8308 if { (ac_try="$ac_compile" 8309 case "(($ac_try" in 8310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8311 *) ac_try_echo=$ac_try;; 8312 esac 8313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8314 (eval "$ac_compile") 2>conftest.er1 8315 ac_status=$? 8316 grep -v '^ *+' conftest.er1 >conftest.err 8317 rm -f conftest.er1 8318 cat conftest.err >&5 8319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8320 (exit $ac_status); } && { 8321 test -z "$ac_c_werror_flag" || 8322 test ! -s conftest.err 8323 } && test -s conftest.$ac_objext; then 8324 ac_header_compiler=yes 8325 else 8326 echo "$as_me: failed program was:" >&5 8327 sed 's/^/| /' conftest.$ac_ext >&5 8328 8329 ac_header_compiler=no 8330 fi 8331 8332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8333 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8334 echo "${ECHO_T}$ac_header_compiler" >&6; } 8335 8336 # Is the header present? 8337 { echo "$as_me:$LINENO: checking sys/time.h presence" >&5 8338 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6; } 8339 cat >conftest.$ac_ext <<_ACEOF 8340 /* confdefs.h. */ 8341 _ACEOF 8342 cat confdefs.h >>conftest.$ac_ext 8343 cat >>conftest.$ac_ext <<_ACEOF 8344 /* end confdefs.h. */ 8345 #include <sys/time.h> 8346 _ACEOF 8347 if { (ac_try="$ac_cpp conftest.$ac_ext" 8348 case "(($ac_try" in 8349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8350 *) ac_try_echo=$ac_try;; 8351 esac 8352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8353 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8354 ac_status=$? 8355 grep -v '^ *+' conftest.er1 >conftest.err 8356 rm -f conftest.er1 8357 cat conftest.err >&5 8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8359 (exit $ac_status); } >/dev/null && { 8360 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8361 test ! -s conftest.err 8362 }; then 8363 ac_header_preproc=yes 8364 else 8365 echo "$as_me: failed program was:" >&5 8366 sed 's/^/| /' conftest.$ac_ext >&5 8367 8368 ac_header_preproc=no 8369 fi 8370 8371 rm -f conftest.err conftest.$ac_ext 8372 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8373 echo "${ECHO_T}$ac_header_preproc" >&6; } 8374 8375 # So? What about this header? 8376 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8377 yes:no: ) 8378 { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 8379 echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8380 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 8381 echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 8382 ac_header_preproc=yes 8383 ;; 8384 no:yes:* ) 8385 { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 8386 echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 8387 { echo "$as_me:$LINENO: WARNING: sys/time.h: check for missing prerequisite headers?" >&5 8388 echo "$as_me: WARNING: sys/time.h: check for missing prerequisite headers?" >&2;} 8389 { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 8390 echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 8391 { echo "$as_me:$LINENO: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&5 8392 echo "$as_me: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&2;} 8393 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 8394 echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 8395 { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 8396 echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 8397 8398 ;; 8399 esac 8400 { echo "$as_me:$LINENO: checking for sys/time.h" >&5 8401 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 8402 if test "${ac_cv_header_sys_time_h+set}" = set; then 8403 echo $ECHO_N "(cached) $ECHO_C" >&6 8404 else 8405 ac_cv_header_sys_time_h=$ac_header_preproc 8406 fi 8407 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 8408 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 8409 8410 fi 8411 if test $ac_cv_header_sys_time_h = yes; then 8412 cat >>confdefs.h <<\_ACEOF 8413 #define PJ_HAS_SYS_TIME_H 1 8414 _ACEOF 8415 8416 fi 8417 8418 8419 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8420 { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 8421 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 8422 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8423 echo $ECHO_N "(cached) $ECHO_C" >&6 8424 fi 8425 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 8426 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 8427 else 8428 # Is the header compilable? 8429 { echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 8430 echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6; } 8431 cat >conftest.$ac_ext <<_ACEOF 8432 /* confdefs.h. */ 8433 _ACEOF 8434 cat confdefs.h >>conftest.$ac_ext 8435 cat >>conftest.$ac_ext <<_ACEOF 8436 /* end confdefs.h. */ 8437 $ac_includes_default 8438 #include <sys/timeb.h> 8439 _ACEOF 8440 rm -f conftest.$ac_objext 8441 if { (ac_try="$ac_compile" 8442 case "(($ac_try" in 8443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8444 *) ac_try_echo=$ac_try;; 8445 esac 8446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8447 (eval "$ac_compile") 2>conftest.er1 8448 ac_status=$? 8449 grep -v '^ *+' conftest.er1 >conftest.err 8450 rm -f conftest.er1 8451 cat conftest.err >&5 8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8453 (exit $ac_status); } && { 8454 test -z "$ac_c_werror_flag" || 8455 test ! -s conftest.err 8456 } && test -s conftest.$ac_objext; then 8457 ac_header_compiler=yes 8458 else 8459 echo "$as_me: failed program was:" >&5 8460 sed 's/^/| /' conftest.$ac_ext >&5 8461 8462 ac_header_compiler=no 8463 fi 8464 8465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8466 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8467 echo "${ECHO_T}$ac_header_compiler" >&6; } 8468 8469 # Is the header present? 8470 { echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 8471 echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6; } 8472 cat >conftest.$ac_ext <<_ACEOF 8473 /* confdefs.h. */ 8474 _ACEOF 8475 cat confdefs.h >>conftest.$ac_ext 8476 cat >>conftest.$ac_ext <<_ACEOF 8477 /* end confdefs.h. */ 8478 #include <sys/timeb.h> 8479 _ACEOF 8480 if { (ac_try="$ac_cpp conftest.$ac_ext" 8481 case "(($ac_try" in 8482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8483 *) ac_try_echo=$ac_try;; 8484 esac 8485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8486 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8487 ac_status=$? 8488 grep -v '^ *+' conftest.er1 >conftest.err 8489 rm -f conftest.er1 8490 cat conftest.err >&5 8491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8492 (exit $ac_status); } >/dev/null && { 8493 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8494 test ! -s conftest.err 8495 }; then 8496 ac_header_preproc=yes 8497 else 8498 echo "$as_me: failed program was:" >&5 8499 sed 's/^/| /' conftest.$ac_ext >&5 8500 8501 ac_header_preproc=no 8502 fi 8503 8504 rm -f conftest.err conftest.$ac_ext 8505 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8506 echo "${ECHO_T}$ac_header_preproc" >&6; } 8507 8508 # So? What about this header? 8509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8510 yes:no: ) 8511 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 8512 echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8513 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 8514 echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 8515 ac_header_preproc=yes 8516 ;; 8517 no:yes:* ) 8518 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 8519 echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 8520 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&5 8521 echo "$as_me: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&2;} 8522 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 8523 echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 8524 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: section \"Present But Cannot Be Compiled\"" >&5 8525 echo "$as_me: WARNING: sys/timeb.h: section \"Present But Cannot Be Compiled\"" >&2;} 8526 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 8527 echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 8528 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 8529 echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 8530 8531 ;; 8532 esac 8533 { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 8534 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 8535 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8536 echo $ECHO_N "(cached) $ECHO_C" >&6 8537 else 8538 ac_cv_header_sys_timeb_h=$ac_header_preproc 8539 fi 8540 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 8541 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 8542 8543 fi 8544 if test $ac_cv_header_sys_timeb_h = yes; then 8545 cat >>confdefs.h <<\_ACEOF 8546 #define PJ_HAS_SYS_TIMEB_H 1 8547 _ACEOF 8548 8549 fi 8550 8551 8552 if test "${ac_cv_header_sys_types_h+set}" = set; then 8553 { echo "$as_me:$LINENO: checking for sys/types.h" >&5 8554 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 8555 if test "${ac_cv_header_sys_types_h+set}" = set; then 8556 echo $ECHO_N "(cached) $ECHO_C" >&6 8557 fi 8558 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 8559 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 8560 else 8561 # Is the header compilable? 8562 { echo "$as_me:$LINENO: checking sys/types.h usability" >&5 8563 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6; } 8564 cat >conftest.$ac_ext <<_ACEOF 8565 /* confdefs.h. */ 8566 _ACEOF 8567 cat confdefs.h >>conftest.$ac_ext 8568 cat >>conftest.$ac_ext <<_ACEOF 8569 /* end confdefs.h. */ 8570 $ac_includes_default 8571 #include <sys/types.h> 8572 _ACEOF 8573 rm -f conftest.$ac_objext 8574 if { (ac_try="$ac_compile" 8575 case "(($ac_try" in 8576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8577 *) ac_try_echo=$ac_try;; 8578 esac 8579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8580 (eval "$ac_compile") 2>conftest.er1 8581 ac_status=$? 8582 grep -v '^ *+' conftest.er1 >conftest.err 8583 rm -f conftest.er1 8584 cat conftest.err >&5 8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8586 (exit $ac_status); } && { 8587 test -z "$ac_c_werror_flag" || 8588 test ! -s conftest.err 8589 } && test -s conftest.$ac_objext; then 8590 ac_header_compiler=yes 8591 else 8592 echo "$as_me: failed program was:" >&5 8593 sed 's/^/| /' conftest.$ac_ext >&5 8594 8595 ac_header_compiler=no 8596 fi 8597 8598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8599 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8600 echo "${ECHO_T}$ac_header_compiler" >&6; } 8601 8602 # Is the header present? 8603 { echo "$as_me:$LINENO: checking sys/types.h presence" >&5 8604 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6; } 8605 cat >conftest.$ac_ext <<_ACEOF 8606 /* confdefs.h. */ 8607 _ACEOF 8608 cat confdefs.h >>conftest.$ac_ext 8609 cat >>conftest.$ac_ext <<_ACEOF 8610 /* end confdefs.h. */ 8611 #include <sys/types.h> 8612 _ACEOF 8613 if { (ac_try="$ac_cpp conftest.$ac_ext" 8614 case "(($ac_try" in 8615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8616 *) ac_try_echo=$ac_try;; 8617 esac 8618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8620 ac_status=$? 8621 grep -v '^ *+' conftest.er1 >conftest.err 8622 rm -f conftest.er1 8623 cat conftest.err >&5 8624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8625 (exit $ac_status); } >/dev/null && { 8626 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8627 test ! -s conftest.err 8628 }; then 8629 ac_header_preproc=yes 8630 else 8631 echo "$as_me: failed program was:" >&5 8632 sed 's/^/| /' conftest.$ac_ext >&5 8633 8634 ac_header_preproc=no 8635 fi 8636 8637 rm -f conftest.err conftest.$ac_ext 8638 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8639 echo "${ECHO_T}$ac_header_preproc" >&6; } 8640 8641 # So? What about this header? 8642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8643 yes:no: ) 8644 { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 8645 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8646 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 8647 echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 8648 ac_header_preproc=yes 8649 ;; 8650 no:yes:* ) 8651 { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 8652 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 8653 { echo "$as_me:$LINENO: WARNING: sys/types.h: check for missing prerequisite headers?" >&5 8654 echo "$as_me: WARNING: sys/types.h: check for missing prerequisite headers?" >&2;} 8655 { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 8656 echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 8657 { echo "$as_me:$LINENO: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&5 8658 echo "$as_me: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&2;} 8659 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 8660 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 8661 { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 8662 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 8663 8664 ;; 8665 esac 8666 { echo "$as_me:$LINENO: checking for sys/types.h" >&5 8667 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 8668 if test "${ac_cv_header_sys_types_h+set}" = set; then 8669 echo $ECHO_N "(cached) $ECHO_C" >&6 8670 else 8671 ac_cv_header_sys_types_h=$ac_header_preproc 8672 fi 8673 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 8674 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 8675 8676 fi 8677 if test $ac_cv_header_sys_types_h = yes; then 8678 cat >>confdefs.h <<\_ACEOF 8679 #define PJ_HAS_SYS_TYPES_H 1 8680 _ACEOF 8681 8682 fi 8683 8684 8685 if test "${ac_cv_header_sys_filio_h+set}" = set; then 8686 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 8687 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 8688 if test "${ac_cv_header_sys_filio_h+set}" = set; then 8689 echo $ECHO_N "(cached) $ECHO_C" >&6 8690 fi 8691 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 8692 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 8693 else 8694 # Is the header compilable? 8695 { echo "$as_me:$LINENO: checking sys/filio.h usability" >&5 8696 echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6; } 8697 cat >conftest.$ac_ext <<_ACEOF 8698 /* confdefs.h. */ 8699 _ACEOF 8700 cat confdefs.h >>conftest.$ac_ext 8701 cat >>conftest.$ac_ext <<_ACEOF 8702 /* end confdefs.h. */ 8703 $ac_includes_default 8704 #include <sys/filio.h> 8705 _ACEOF 8706 rm -f conftest.$ac_objext 8707 if { (ac_try="$ac_compile" 8708 case "(($ac_try" in 8709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8710 *) ac_try_echo=$ac_try;; 8711 esac 8712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8713 (eval "$ac_compile") 2>conftest.er1 8714 ac_status=$? 8715 grep -v '^ *+' conftest.er1 >conftest.err 8716 rm -f conftest.er1 8717 cat conftest.err >&5 8718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8719 (exit $ac_status); } && { 8720 test -z "$ac_c_werror_flag" || 8721 test ! -s conftest.err 8722 } && test -s conftest.$ac_objext; then 8723 ac_header_compiler=yes 8724 else 8725 echo "$as_me: failed program was:" >&5 8726 sed 's/^/| /' conftest.$ac_ext >&5 8727 8728 ac_header_compiler=no 8729 fi 8730 8731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8732 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8733 echo "${ECHO_T}$ac_header_compiler" >&6; } 8734 8735 # Is the header present? 8736 { echo "$as_me:$LINENO: checking sys/filio.h presence" >&5 8737 echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6; } 8738 cat >conftest.$ac_ext <<_ACEOF 8739 /* confdefs.h. */ 8740 _ACEOF 8741 cat confdefs.h >>conftest.$ac_ext 8742 cat >>conftest.$ac_ext <<_ACEOF 8743 /* end confdefs.h. */ 8744 #include <sys/filio.h> 8745 _ACEOF 8746 if { (ac_try="$ac_cpp conftest.$ac_ext" 8747 case "(($ac_try" in 8748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8749 *) ac_try_echo=$ac_try;; 8750 esac 8751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8753 ac_status=$? 8754 grep -v '^ *+' conftest.er1 >conftest.err 8755 rm -f conftest.er1 8756 cat conftest.err >&5 8757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8758 (exit $ac_status); } >/dev/null && { 8759 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8760 test ! -s conftest.err 8761 }; then 8762 ac_header_preproc=yes 8763 else 8764 echo "$as_me: failed program was:" >&5 8765 sed 's/^/| /' conftest.$ac_ext >&5 8766 8767 ac_header_preproc=no 8768 fi 8769 8770 rm -f conftest.err conftest.$ac_ext 8771 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8772 echo "${ECHO_T}$ac_header_preproc" >&6; } 8773 8774 # So? What about this header? 8775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8776 yes:no: ) 8777 { echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5 8778 echo "$as_me: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8779 { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the compiler's result" >&5 8780 echo "$as_me: WARNING: sys/filio.h: proceeding with the compiler's result" >&2;} 8781 ac_header_preproc=yes 8782 ;; 8783 no:yes:* ) 8784 { echo "$as_me:$LINENO: WARNING: sys/filio.h: present but cannot be compiled" >&5 8785 echo "$as_me: WARNING: sys/filio.h: present but cannot be compiled" >&2;} 8786 { echo "$as_me:$LINENO: WARNING: sys/filio.h: check for missing prerequisite headers?" >&5 8787 echo "$as_me: WARNING: sys/filio.h: check for missing prerequisite headers?" >&2;} 8788 { echo "$as_me:$LINENO: WARNING: sys/filio.h: see the Autoconf documentation" >&5 8789 echo "$as_me: WARNING: sys/filio.h: see the Autoconf documentation" >&2;} 8790 { echo "$as_me:$LINENO: WARNING: sys/filio.h: section \"Present But Cannot Be Compiled\"" >&5 8791 echo "$as_me: WARNING: sys/filio.h: section \"Present But Cannot Be Compiled\"" >&2;} 8792 { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&5 8793 echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;} 8794 { echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5 8795 echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;} 8796 8797 ;; 8798 esac 8799 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 8800 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 8801 if test "${ac_cv_header_sys_filio_h+set}" = set; then 8802 echo $ECHO_N "(cached) $ECHO_C" >&6 8803 else 8804 ac_cv_header_sys_filio_h=$ac_header_preproc 8805 fi 8806 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 8807 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 8808 8809 fi 8810 if test $ac_cv_header_sys_filio_h = yes; then 8811 cat >>confdefs.h <<\_ACEOF 8812 #define PJ_HAS_SYS_FILIO_H 1 8813 _ACEOF 8814 8815 fi 8816 8817 8818 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 8819 { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 8820 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 8821 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 8822 echo $ECHO_N "(cached) $ECHO_C" >&6 8823 fi 8824 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 8825 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 8826 else 8827 # Is the header compilable? 8828 { echo "$as_me:$LINENO: checking sys/sockio.h usability" >&5 8829 echo $ECHO_N "checking sys/sockio.h usability... $ECHO_C" >&6; } 8830 cat >conftest.$ac_ext <<_ACEOF 8831 /* confdefs.h. */ 8832 _ACEOF 8833 cat confdefs.h >>conftest.$ac_ext 8834 cat >>conftest.$ac_ext <<_ACEOF 8835 /* end confdefs.h. */ 8836 $ac_includes_default 8837 #include <sys/sockio.h> 8838 _ACEOF 8839 rm -f conftest.$ac_objext 8840 if { (ac_try="$ac_compile" 8841 case "(($ac_try" in 8842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8843 *) ac_try_echo=$ac_try;; 8844 esac 8845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8846 (eval "$ac_compile") 2>conftest.er1 8847 ac_status=$? 8848 grep -v '^ *+' conftest.er1 >conftest.err 8849 rm -f conftest.er1 8850 cat conftest.err >&5 8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8852 (exit $ac_status); } && { 8853 test -z "$ac_c_werror_flag" || 8854 test ! -s conftest.err 8855 } && test -s conftest.$ac_objext; then 8856 ac_header_compiler=yes 8857 else 8858 echo "$as_me: failed program was:" >&5 8859 sed 's/^/| /' conftest.$ac_ext >&5 8860 8861 ac_header_compiler=no 8862 fi 8863 8864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8865 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8866 echo "${ECHO_T}$ac_header_compiler" >&6; } 8867 8868 # Is the header present? 8869 { echo "$as_me:$LINENO: checking sys/sockio.h presence" >&5 8870 echo $ECHO_N "checking sys/sockio.h presence... $ECHO_C" >&6; } 8871 cat >conftest.$ac_ext <<_ACEOF 8872 /* confdefs.h. */ 8873 _ACEOF 8874 cat confdefs.h >>conftest.$ac_ext 8875 cat >>conftest.$ac_ext <<_ACEOF 8876 /* end confdefs.h. */ 8877 #include <sys/sockio.h> 8878 _ACEOF 8879 if { (ac_try="$ac_cpp conftest.$ac_ext" 8880 case "(($ac_try" in 8881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8882 *) ac_try_echo=$ac_try;; 8883 esac 8884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8885 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8886 ac_status=$? 8887 grep -v '^ *+' conftest.er1 >conftest.err 8888 rm -f conftest.er1 8889 cat conftest.err >&5 8890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8891 (exit $ac_status); } >/dev/null && { 8892 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8893 test ! -s conftest.err 8894 }; then 8895 ac_header_preproc=yes 8896 else 8897 echo "$as_me: failed program was:" >&5 8898 sed 's/^/| /' conftest.$ac_ext >&5 8899 8900 ac_header_preproc=no 8901 fi 8902 8903 rm -f conftest.err conftest.$ac_ext 8904 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8905 echo "${ECHO_T}$ac_header_preproc" >&6; } 8906 8907 # So? What about this header? 8908 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8909 yes:no: ) 8910 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&5 8911 echo "$as_me: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8912 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the compiler's result" >&5 8913 echo "$as_me: WARNING: sys/sockio.h: proceeding with the compiler's result" >&2;} 8914 ac_header_preproc=yes 8915 ;; 8916 no:yes:* ) 8917 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: present but cannot be compiled" >&5 8918 echo "$as_me: WARNING: sys/sockio.h: present but cannot be compiled" >&2;} 8919 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: check for missing prerequisite headers?" >&5 8920 echo "$as_me: WARNING: sys/sockio.h: check for missing prerequisite headers?" >&2;} 8921 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: see the Autoconf documentation" >&5 8922 echo "$as_me: WARNING: sys/sockio.h: see the Autoconf documentation" >&2;} 8923 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: section \"Present But Cannot Be Compiled\"" >&5 8924 echo "$as_me: WARNING: sys/sockio.h: section \"Present But Cannot Be Compiled\"" >&2;} 8925 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&5 8926 echo "$as_me: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&2;} 8927 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&5 8928 echo "$as_me: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&2;} 8929 8930 ;; 8931 esac 8932 { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 8933 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 8934 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 8935 echo $ECHO_N "(cached) $ECHO_C" >&6 8936 else 8937 ac_cv_header_sys_sockio_h=$ac_header_preproc 8938 fi 8939 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 8940 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 8941 8942 fi 8943 if test $ac_cv_header_sys_sockio_h = yes; then 8944 cat >>confdefs.h <<\_ACEOF 8945 #define PJ_HAS_SYS_SOCKIO_H 1 8946 _ACEOF 8947 8948 fi 8949 8950 8951 if test "${ac_cv_header_time_h+set}" = set; then 8952 { echo "$as_me:$LINENO: checking for time.h" >&5 8953 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 8954 if test "${ac_cv_header_time_h+set}" = set; then 8955 echo $ECHO_N "(cached) $ECHO_C" >&6 8956 fi 8957 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 8958 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 8959 else 8960 # Is the header compilable? 8961 { echo "$as_me:$LINENO: checking time.h usability" >&5 8962 echo $ECHO_N "checking time.h usability... $ECHO_C" >&6; } 8963 cat >conftest.$ac_ext <<_ACEOF 8964 /* confdefs.h. */ 8965 _ACEOF 8966 cat confdefs.h >>conftest.$ac_ext 8967 cat >>conftest.$ac_ext <<_ACEOF 8968 /* end confdefs.h. */ 8969 $ac_includes_default 8970 #include <time.h> 8971 _ACEOF 8972 rm -f conftest.$ac_objext 8973 if { (ac_try="$ac_compile" 8974 case "(($ac_try" in 8975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8976 *) ac_try_echo=$ac_try;; 8977 esac 8978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8979 (eval "$ac_compile") 2>conftest.er1 8980 ac_status=$? 8981 grep -v '^ *+' conftest.er1 >conftest.err 8982 rm -f conftest.er1 8983 cat conftest.err >&5 8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8985 (exit $ac_status); } && { 8986 test -z "$ac_c_werror_flag" || 8987 test ! -s conftest.err 8988 } && test -s conftest.$ac_objext; then 8989 ac_header_compiler=yes 8990 else 8991 echo "$as_me: failed program was:" >&5 8992 sed 's/^/| /' conftest.$ac_ext >&5 8993 8994 ac_header_compiler=no 8995 fi 8996 8997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8998 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8999 echo "${ECHO_T}$ac_header_compiler" >&6; } 9000 9001 # Is the header present? 9002 { echo "$as_me:$LINENO: checking time.h presence" >&5 9003 echo $ECHO_N "checking time.h presence... $ECHO_C" >&6; } 9004 cat >conftest.$ac_ext <<_ACEOF 9005 /* confdefs.h. */ 9006 _ACEOF 9007 cat confdefs.h >>conftest.$ac_ext 9008 cat >>conftest.$ac_ext <<_ACEOF 9009 /* end confdefs.h. */ 9010 #include <time.h> 9011 _ACEOF 9012 if { (ac_try="$ac_cpp conftest.$ac_ext" 9013 case "(($ac_try" in 9014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9015 *) ac_try_echo=$ac_try;; 9016 esac 9017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9019 ac_status=$? 9020 grep -v '^ *+' conftest.er1 >conftest.err 9021 rm -f conftest.er1 9022 cat conftest.err >&5 9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9024 (exit $ac_status); } >/dev/null && { 9025 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9026 test ! -s conftest.err 9027 }; then 9028 ac_header_preproc=yes 9029 else 9030 echo "$as_me: failed program was:" >&5 9031 sed 's/^/| /' conftest.$ac_ext >&5 9032 9033 ac_header_preproc=no 9034 fi 9035 9036 rm -f conftest.err conftest.$ac_ext 9037 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9038 echo "${ECHO_T}$ac_header_preproc" >&6; } 9039 9040 # So? What about this header? 9041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9042 yes:no: ) 9043 { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 9044 echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9045 { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 9046 echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 9047 ac_header_preproc=yes 9048 ;; 9049 no:yes:* ) 9050 { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 9051 echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 9052 { echo "$as_me:$LINENO: WARNING: time.h: check for missing prerequisite headers?" >&5 9053 echo "$as_me: WARNING: time.h: check for missing prerequisite headers?" >&2;} 9054 { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 9055 echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 9056 { echo "$as_me:$LINENO: WARNING: time.h: section \"Present But Cannot Be Compiled\"" >&5 9057 echo "$as_me: WARNING: time.h: section \"Present But Cannot Be Compiled\"" >&2;} 9058 { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 9059 echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 9060 { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 9061 echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 9062 9063 ;; 9064 esac 9065 { echo "$as_me:$LINENO: checking for time.h" >&5 9066 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 9067 if test "${ac_cv_header_time_h+set}" = set; then 9068 echo $ECHO_N "(cached) $ECHO_C" >&6 9069 else 9070 ac_cv_header_time_h=$ac_header_preproc 9071 fi 9072 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 9073 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 9074 9075 fi 9076 if test $ac_cv_header_time_h = yes; then 9077 cat >>confdefs.h <<\_ACEOF 9078 #define PJ_HAS_TIME_H 1 9079 _ACEOF 9080 9081 fi 9082 9083 9084 if test "${ac_cv_header_unistd_h+set}" = set; then 9085 { echo "$as_me:$LINENO: checking for unistd.h" >&5 9086 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 9087 if test "${ac_cv_header_unistd_h+set}" = set; then 9088 echo $ECHO_N "(cached) $ECHO_C" >&6 9089 fi 9090 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 9091 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 9092 else 9093 # Is the header compilable? 9094 { echo "$as_me:$LINENO: checking unistd.h usability" >&5 9095 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6; } 9096 cat >conftest.$ac_ext <<_ACEOF 9097 /* confdefs.h. */ 9098 _ACEOF 9099 cat confdefs.h >>conftest.$ac_ext 9100 cat >>conftest.$ac_ext <<_ACEOF 9101 /* end confdefs.h. */ 9102 $ac_includes_default 9103 #include <unistd.h> 9104 _ACEOF 9105 rm -f conftest.$ac_objext 9106 if { (ac_try="$ac_compile" 9107 case "(($ac_try" in 9108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9109 *) ac_try_echo=$ac_try;; 9110 esac 9111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9112 (eval "$ac_compile") 2>conftest.er1 9113 ac_status=$? 9114 grep -v '^ *+' conftest.er1 >conftest.err 9115 rm -f conftest.er1 9116 cat conftest.err >&5 9117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9118 (exit $ac_status); } && { 9119 test -z "$ac_c_werror_flag" || 9120 test ! -s conftest.err 9121 } && test -s conftest.$ac_objext; then 9122 ac_header_compiler=yes 9123 else 9124 echo "$as_me: failed program was:" >&5 9125 sed 's/^/| /' conftest.$ac_ext >&5 9126 9127 ac_header_compiler=no 9128 fi 9129 9130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9131 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9132 echo "${ECHO_T}$ac_header_compiler" >&6; } 9133 9134 # Is the header present? 9135 { echo "$as_me:$LINENO: checking unistd.h presence" >&5 9136 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6; } 9137 cat >conftest.$ac_ext <<_ACEOF 9138 /* confdefs.h. */ 9139 _ACEOF 9140 cat confdefs.h >>conftest.$ac_ext 9141 cat >>conftest.$ac_ext <<_ACEOF 9142 /* end confdefs.h. */ 9143 #include <unistd.h> 9144 _ACEOF 9145 if { (ac_try="$ac_cpp conftest.$ac_ext" 9146 case "(($ac_try" in 9147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9148 *) ac_try_echo=$ac_try;; 9149 esac 9150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9151 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9152 ac_status=$? 9153 grep -v '^ *+' conftest.er1 >conftest.err 9154 rm -f conftest.er1 9155 cat conftest.err >&5 9156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9157 (exit $ac_status); } >/dev/null && { 9158 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9159 test ! -s conftest.err 9160 }; then 9161 ac_header_preproc=yes 9162 else 9163 echo "$as_me: failed program was:" >&5 9164 sed 's/^/| /' conftest.$ac_ext >&5 9165 9166 ac_header_preproc=no 9167 fi 9168 9169 rm -f conftest.err conftest.$ac_ext 9170 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9171 echo "${ECHO_T}$ac_header_preproc" >&6; } 9172 9173 # So? What about this header? 9174 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9175 yes:no: ) 9176 { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 9177 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9178 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 9179 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 9180 ac_header_preproc=yes 9181 ;; 9182 no:yes:* ) 9183 { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 9184 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 9185 { echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5 9186 echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;} 9187 { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 9188 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 9189 { echo "$as_me:$LINENO: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&5 9190 echo "$as_me: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&2;} 9191 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 9192 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 9193 { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 9194 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 9195 9196 ;; 9197 esac 9198 { echo "$as_me:$LINENO: checking for unistd.h" >&5 9199 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 9200 if test "${ac_cv_header_unistd_h+set}" = set; then 9201 echo $ECHO_N "(cached) $ECHO_C" >&6 9202 else 9203 ac_cv_header_unistd_h=$ac_header_preproc 9204 fi 9205 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 9206 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 9207 9208 fi 9209 if test $ac_cv_header_unistd_h = yes; then 9210 cat >>confdefs.h <<\_ACEOF 9211 #define PJ_HAS_UNISTD_H 1 9212 _ACEOF 9213 9214 fi 9215 9216 9217 if test "${ac_cv_header_winsock_h+set}" = set; then 9218 { echo "$as_me:$LINENO: checking for winsock.h" >&5 9219 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 9220 if test "${ac_cv_header_winsock_h+set}" = set; then 9221 echo $ECHO_N "(cached) $ECHO_C" >&6 9222 fi 9223 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 9224 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 9225 else 9226 # Is the header compilable? 9227 { echo "$as_me:$LINENO: checking winsock.h usability" >&5 9228 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6; } 9229 cat >conftest.$ac_ext <<_ACEOF 9230 /* confdefs.h. */ 9231 _ACEOF 9232 cat confdefs.h >>conftest.$ac_ext 9233 cat >>conftest.$ac_ext <<_ACEOF 9234 /* end confdefs.h. */ 9235 $ac_includes_default 9236 #include <winsock.h> 9237 _ACEOF 9238 rm -f conftest.$ac_objext 9239 if { (ac_try="$ac_compile" 9240 case "(($ac_try" in 9241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9242 *) ac_try_echo=$ac_try;; 9243 esac 9244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9245 (eval "$ac_compile") 2>conftest.er1 9246 ac_status=$? 9247 grep -v '^ *+' conftest.er1 >conftest.err 9248 rm -f conftest.er1 9249 cat conftest.err >&5 9250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9251 (exit $ac_status); } && { 9252 test -z "$ac_c_werror_flag" || 9253 test ! -s conftest.err 9254 } && test -s conftest.$ac_objext; then 9255 ac_header_compiler=yes 9256 else 9257 echo "$as_me: failed program was:" >&5 9258 sed 's/^/| /' conftest.$ac_ext >&5 9259 9260 ac_header_compiler=no 9261 fi 9262 9263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9264 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9265 echo "${ECHO_T}$ac_header_compiler" >&6; } 9266 9267 # Is the header present? 9268 { echo "$as_me:$LINENO: checking winsock.h presence" >&5 9269 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6; } 9270 cat >conftest.$ac_ext <<_ACEOF 9271 /* confdefs.h. */ 9272 _ACEOF 9273 cat confdefs.h >>conftest.$ac_ext 9274 cat >>conftest.$ac_ext <<_ACEOF 9275 /* end confdefs.h. */ 9276 #include <winsock.h> 9277 _ACEOF 9278 if { (ac_try="$ac_cpp conftest.$ac_ext" 9279 case "(($ac_try" in 9280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9281 *) ac_try_echo=$ac_try;; 9282 esac 9283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9284 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9285 ac_status=$? 9286 grep -v '^ *+' conftest.er1 >conftest.err 9287 rm -f conftest.er1 9288 cat conftest.err >&5 9289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9290 (exit $ac_status); } >/dev/null && { 9291 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9292 test ! -s conftest.err 9293 }; then 9294 ac_header_preproc=yes 9295 else 9296 echo "$as_me: failed program was:" >&5 9297 sed 's/^/| /' conftest.$ac_ext >&5 9298 9299 ac_header_preproc=no 9300 fi 9301 9302 rm -f conftest.err conftest.$ac_ext 9303 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9304 echo "${ECHO_T}$ac_header_preproc" >&6; } 9305 9306 # So? What about this header? 9307 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9308 yes:no: ) 9309 { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 9310 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9311 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 9312 echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 9313 ac_header_preproc=yes 9314 ;; 9315 no:yes:* ) 9316 { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 9317 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 9318 { echo "$as_me:$LINENO: WARNING: winsock.h: check for missing prerequisite headers?" >&5 9319 echo "$as_me: WARNING: winsock.h: check for missing prerequisite headers?" >&2;} 9320 { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 9321 echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 9322 { echo "$as_me:$LINENO: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&5 9323 echo "$as_me: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&2;} 9324 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 9325 echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 9326 { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 9327 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 9328 9329 ;; 9330 esac 9331 { echo "$as_me:$LINENO: checking for winsock.h" >&5 9332 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 9333 if test "${ac_cv_header_winsock_h+set}" = set; then 9334 echo $ECHO_N "(cached) $ECHO_C" >&6 9335 else 9336 ac_cv_header_winsock_h=$ac_header_preproc 9337 fi 9338 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 9339 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 9340 9341 fi 9342 if test $ac_cv_header_winsock_h = yes; then 9343 cat >>confdefs.h <<\_ACEOF 9344 #define PJ_HAS_WINSOCK_H 1 9345 _ACEOF 9346 9347 fi 9348 9349 9350 if test "${ac_cv_header_winsock2_h+set}" = set; then 9351 { echo "$as_me:$LINENO: checking for winsock2.h" >&5 9352 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 9353 if test "${ac_cv_header_winsock2_h+set}" = set; then 9354 echo $ECHO_N "(cached) $ECHO_C" >&6 9355 fi 9356 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 9357 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 9358 else 9359 # Is the header compilable? 9360 { echo "$as_me:$LINENO: checking winsock2.h usability" >&5 9361 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6; } 9362 cat >conftest.$ac_ext <<_ACEOF 9363 /* confdefs.h. */ 9364 _ACEOF 9365 cat confdefs.h >>conftest.$ac_ext 9366 cat >>conftest.$ac_ext <<_ACEOF 9367 /* end confdefs.h. */ 9368 $ac_includes_default 9369 #include <winsock2.h> 9370 _ACEOF 9371 rm -f conftest.$ac_objext 9372 if { (ac_try="$ac_compile" 9373 case "(($ac_try" in 9374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9375 *) ac_try_echo=$ac_try;; 9376 esac 9377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9378 (eval "$ac_compile") 2>conftest.er1 9379 ac_status=$? 9380 grep -v '^ *+' conftest.er1 >conftest.err 9381 rm -f conftest.er1 9382 cat conftest.err >&5 9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9384 (exit $ac_status); } && { 9385 test -z "$ac_c_werror_flag" || 9386 test ! -s conftest.err 9387 } && test -s conftest.$ac_objext; then 9388 ac_header_compiler=yes 9389 else 9390 echo "$as_me: failed program was:" >&5 9391 sed 's/^/| /' conftest.$ac_ext >&5 9392 9393 ac_header_compiler=no 9394 fi 9395 9396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9397 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9398 echo "${ECHO_T}$ac_header_compiler" >&6; } 9399 9400 # Is the header present? 9401 { echo "$as_me:$LINENO: checking winsock2.h presence" >&5 9402 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6; } 9403 cat >conftest.$ac_ext <<_ACEOF 9404 /* confdefs.h. */ 9405 _ACEOF 9406 cat confdefs.h >>conftest.$ac_ext 9407 cat >>conftest.$ac_ext <<_ACEOF 9408 /* end confdefs.h. */ 9409 #include <winsock2.h> 9410 _ACEOF 9411 if { (ac_try="$ac_cpp conftest.$ac_ext" 9412 case "(($ac_try" in 9413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9414 *) ac_try_echo=$ac_try;; 9415 esac 9416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9417 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9418 ac_status=$? 9419 grep -v '^ *+' conftest.er1 >conftest.err 9420 rm -f conftest.er1 9421 cat conftest.err >&5 9422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9423 (exit $ac_status); } >/dev/null && { 9424 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9425 test ! -s conftest.err 9426 }; then 9427 ac_header_preproc=yes 9428 else 9429 echo "$as_me: failed program was:" >&5 9430 sed 's/^/| /' conftest.$ac_ext >&5 9431 9432 ac_header_preproc=no 9433 fi 9434 9435 rm -f conftest.err conftest.$ac_ext 9436 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9437 echo "${ECHO_T}$ac_header_preproc" >&6; } 9438 9439 # So? What about this header? 9440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9441 yes:no: ) 9442 { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 9443 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9444 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 9445 echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 9446 ac_header_preproc=yes 9447 ;; 9448 no:yes:* ) 9449 { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 9450 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 9451 { echo "$as_me:$LINENO: WARNING: winsock2.h: check for missing prerequisite headers?" >&5 9452 echo "$as_me: WARNING: winsock2.h: check for missing prerequisite headers?" >&2;} 9453 { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 9454 echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 9455 { echo "$as_me:$LINENO: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&5 9456 echo "$as_me: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&2;} 9457 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 9458 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 9459 { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 9460 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 9461 9462 ;; 9463 esac 9464 { echo "$as_me:$LINENO: checking for winsock2.h" >&5 9465 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 9466 if test "${ac_cv_header_winsock2_h+set}" = set; then 9467 echo $ECHO_N "(cached) $ECHO_C" >&6 9468 else 9469 ac_cv_header_winsock2_h=$ac_header_preproc 9470 fi 9471 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 9472 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 9473 9474 fi 9475 if test $ac_cv_header_winsock2_h = yes; then 9476 cat >>confdefs.h <<\_ACEOF 9477 #define PJ_HAS_WINSOCK2_H 1 9478 _ACEOF 9479 9480 fi 9481 9482 9483 { echo "$as_me:$LINENO: checking for mswsock.h" >&5 9484 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6; } 9485 if test "${ac_cv_header_mswsock_h+set}" = set; then 9486 echo $ECHO_N "(cached) $ECHO_C" >&6 9487 else 9488 cat >conftest.$ac_ext <<_ACEOF 9489 /* confdefs.h. */ 9490 _ACEOF 9491 cat confdefs.h >>conftest.$ac_ext 9492 cat >>conftest.$ac_ext <<_ACEOF 9493 /* end confdefs.h. */ 9494 #if PJ_HAS_WINSOCK2_H 4941 9495 # include <winsock2.h> 4942 9496 #elif PJ_HAS_WINSOCK_H … … 4944 9498 #endif 4945 9499 4946 " 4947 if test "x$ac_cv_header_mswsock_h" = x""yes; then : 4948 $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 4949 4950 fi 4951 4952 4953 ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 4954 if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 4955 $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 4956 4957 fi 4958 4959 4960 ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 4961 if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 9500 9501 #include <mswsock.h> 9502 _ACEOF 9503 rm -f conftest.$ac_objext 9504 if { (ac_try="$ac_compile" 9505 case "(($ac_try" in 9506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9507 *) ac_try_echo=$ac_try;; 9508 esac 9509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9510 (eval "$ac_compile") 2>conftest.er1 9511 ac_status=$? 9512 grep -v '^ *+' conftest.er1 >conftest.err 9513 rm -f conftest.er1 9514 cat conftest.err >&5 9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9516 (exit $ac_status); } && { 9517 test -z "$ac_c_werror_flag" || 9518 test ! -s conftest.err 9519 } && test -s conftest.$ac_objext; then 9520 ac_cv_header_mswsock_h=yes 9521 else 9522 echo "$as_me: failed program was:" >&5 9523 sed 's/^/| /' conftest.$ac_ext >&5 9524 9525 ac_cv_header_mswsock_h=no 9526 fi 9527 9528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9529 fi 9530 { echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 9531 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6; } 9532 if test $ac_cv_header_mswsock_h = yes; then 9533 cat >>confdefs.h <<\_ACEOF 9534 #define PJ_HAS_MSWSOCK_H 1 9535 _ACEOF 9536 9537 fi 9538 9539 9540 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9541 { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 9542 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 9543 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9544 echo $ECHO_N "(cached) $ECHO_C" >&6 9545 fi 9546 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 9547 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 9548 else 9549 # Is the header compilable? 9550 { echo "$as_me:$LINENO: checking ws2tcpip.h usability" >&5 9551 echo $ECHO_N "checking ws2tcpip.h usability... $ECHO_C" >&6; } 9552 cat >conftest.$ac_ext <<_ACEOF 9553 /* confdefs.h. */ 9554 _ACEOF 9555 cat confdefs.h >>conftest.$ac_ext 9556 cat >>conftest.$ac_ext <<_ACEOF 9557 /* end confdefs.h. */ 9558 $ac_includes_default 9559 #include <ws2tcpip.h> 9560 _ACEOF 9561 rm -f conftest.$ac_objext 9562 if { (ac_try="$ac_compile" 9563 case "(($ac_try" in 9564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9565 *) ac_try_echo=$ac_try;; 9566 esac 9567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9568 (eval "$ac_compile") 2>conftest.er1 9569 ac_status=$? 9570 grep -v '^ *+' conftest.er1 >conftest.err 9571 rm -f conftest.er1 9572 cat conftest.err >&5 9573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9574 (exit $ac_status); } && { 9575 test -z "$ac_c_werror_flag" || 9576 test ! -s conftest.err 9577 } && test -s conftest.$ac_objext; then 9578 ac_header_compiler=yes 9579 else 9580 echo "$as_me: failed program was:" >&5 9581 sed 's/^/| /' conftest.$ac_ext >&5 9582 9583 ac_header_compiler=no 9584 fi 9585 9586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9587 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9588 echo "${ECHO_T}$ac_header_compiler" >&6; } 9589 9590 # Is the header present? 9591 { echo "$as_me:$LINENO: checking ws2tcpip.h presence" >&5 9592 echo $ECHO_N "checking ws2tcpip.h presence... $ECHO_C" >&6; } 9593 cat >conftest.$ac_ext <<_ACEOF 9594 /* confdefs.h. */ 9595 _ACEOF 9596 cat confdefs.h >>conftest.$ac_ext 9597 cat >>conftest.$ac_ext <<_ACEOF 9598 /* end confdefs.h. */ 9599 #include <ws2tcpip.h> 9600 _ACEOF 9601 if { (ac_try="$ac_cpp conftest.$ac_ext" 9602 case "(($ac_try" in 9603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9604 *) ac_try_echo=$ac_try;; 9605 esac 9606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9608 ac_status=$? 9609 grep -v '^ *+' conftest.er1 >conftest.err 9610 rm -f conftest.er1 9611 cat conftest.err >&5 9612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9613 (exit $ac_status); } >/dev/null && { 9614 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9615 test ! -s conftest.err 9616 }; then 9617 ac_header_preproc=yes 9618 else 9619 echo "$as_me: failed program was:" >&5 9620 sed 's/^/| /' conftest.$ac_ext >&5 9621 9622 ac_header_preproc=no 9623 fi 9624 9625 rm -f conftest.err conftest.$ac_ext 9626 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9627 echo "${ECHO_T}$ac_header_preproc" >&6; } 9628 9629 # So? What about this header? 9630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9631 yes:no: ) 9632 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&5 9633 echo "$as_me: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9634 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&5 9635 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&2;} 9636 ac_header_preproc=yes 9637 ;; 9638 no:yes:* ) 9639 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: present but cannot be compiled" >&5 9640 echo "$as_me: WARNING: ws2tcpip.h: present but cannot be compiled" >&2;} 9641 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: check for missing prerequisite headers?" >&5 9642 echo "$as_me: WARNING: ws2tcpip.h: check for missing prerequisite headers?" >&2;} 9643 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: see the Autoconf documentation" >&5 9644 echo "$as_me: WARNING: ws2tcpip.h: see the Autoconf documentation" >&2;} 9645 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: section \"Present But Cannot Be Compiled\"" >&5 9646 echo "$as_me: WARNING: ws2tcpip.h: section \"Present But Cannot Be Compiled\"" >&2;} 9647 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&5 9648 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&2;} 9649 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&5 9650 echo "$as_me: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&2;} 9651 9652 ;; 9653 esac 9654 { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 9655 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 9656 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9657 echo $ECHO_N "(cached) $ECHO_C" >&6 9658 else 9659 ac_cv_header_ws2tcpip_h=$ac_header_preproc 9660 fi 9661 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 9662 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 9663 9664 fi 9665 if test $ac_cv_header_ws2tcpip_h = yes; then 9666 cat >>confdefs.h <<\_ACEOF 9667 #define PJ_HAS_WS2TCPIP_H 1 9668 _ACEOF 9669 9670 fi 9671 9672 9673 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 9674 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 9675 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 9676 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 9677 echo $ECHO_N "(cached) $ECHO_C" >&6 9678 fi 9679 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 9680 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 9681 else 9682 # Is the header compilable? 9683 { echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5 9684 echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6; } 9685 cat >conftest.$ac_ext <<_ACEOF 9686 /* confdefs.h. */ 9687 _ACEOF 9688 cat confdefs.h >>conftest.$ac_ext 9689 cat >>conftest.$ac_ext <<_ACEOF 9690 /* end confdefs.h. */ 9691 $ac_includes_default 9692 #include <uuid/uuid.h> 9693 _ACEOF 9694 rm -f conftest.$ac_objext 9695 if { (ac_try="$ac_compile" 9696 case "(($ac_try" in 9697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9698 *) ac_try_echo=$ac_try;; 9699 esac 9700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9701 (eval "$ac_compile") 2>conftest.er1 9702 ac_status=$? 9703 grep -v '^ *+' conftest.er1 >conftest.err 9704 rm -f conftest.er1 9705 cat conftest.err >&5 9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9707 (exit $ac_status); } && { 9708 test -z "$ac_c_werror_flag" || 9709 test ! -s conftest.err 9710 } && test -s conftest.$ac_objext; then 9711 ac_header_compiler=yes 9712 else 9713 echo "$as_me: failed program was:" >&5 9714 sed 's/^/| /' conftest.$ac_ext >&5 9715 9716 ac_header_compiler=no 9717 fi 9718 9719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9720 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9721 echo "${ECHO_T}$ac_header_compiler" >&6; } 9722 9723 # Is the header present? 9724 { echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5 9725 echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6; } 9726 cat >conftest.$ac_ext <<_ACEOF 9727 /* confdefs.h. */ 9728 _ACEOF 9729 cat confdefs.h >>conftest.$ac_ext 9730 cat >>conftest.$ac_ext <<_ACEOF 9731 /* end confdefs.h. */ 9732 #include <uuid/uuid.h> 9733 _ACEOF 9734 if { (ac_try="$ac_cpp conftest.$ac_ext" 9735 case "(($ac_try" in 9736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9737 *) ac_try_echo=$ac_try;; 9738 esac 9739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9741 ac_status=$? 9742 grep -v '^ *+' conftest.er1 >conftest.err 9743 rm -f conftest.er1 9744 cat conftest.err >&5 9745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9746 (exit $ac_status); } >/dev/null && { 9747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9748 test ! -s conftest.err 9749 }; then 9750 ac_header_preproc=yes 9751 else 9752 echo "$as_me: failed program was:" >&5 9753 sed 's/^/| /' conftest.$ac_ext >&5 9754 9755 ac_header_preproc=no 9756 fi 9757 9758 rm -f conftest.err conftest.$ac_ext 9759 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9760 echo "${ECHO_T}$ac_header_preproc" >&6; } 9761 9762 # So? What about this header? 9763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9764 yes:no: ) 9765 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5 9766 echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9767 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5 9768 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;} 9769 ac_header_preproc=yes 9770 ;; 9771 no:yes:* ) 9772 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5 9773 echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;} 9774 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: check for missing prerequisite headers?" >&5 9775 echo "$as_me: WARNING: uuid/uuid.h: check for missing prerequisite headers?" >&2;} 9776 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5 9777 echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;} 9778 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: section \"Present But Cannot Be Compiled\"" >&5 9779 echo "$as_me: WARNING: uuid/uuid.h: section \"Present But Cannot Be Compiled\"" >&2;} 9780 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5 9781 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;} 9782 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5 9783 echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;} 9784 9785 ;; 9786 esac 9787 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 9788 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 9789 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 9790 echo $ECHO_N "(cached) $ECHO_C" >&6 9791 else 9792 ac_cv_header_uuid_uuid_h=$ac_header_preproc 9793 fi 9794 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 9795 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 9796 9797 fi 9798 if test $ac_cv_header_uuid_uuid_h = yes; then 4962 9799 ac_has_uuid_h=1 4963 9800 fi 4964 9801 4965 9802 4966 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H 9803 { echo "$as_me:$LINENO: checking for net/if.h" >&5 9804 echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6; } 9805 if test "${ac_cv_header_net_if_h+set}" = set; then 9806 echo $ECHO_N "(cached) $ECHO_C" >&6 9807 else 9808 cat >conftest.$ac_ext <<_ACEOF 9809 /* confdefs.h. */ 9810 _ACEOF 9811 cat confdefs.h >>conftest.$ac_ext 9812 cat >>conftest.$ac_ext <<_ACEOF 9813 /* end confdefs.h. */ 9814 #if PJ_HAS_SYS_TYPES_H 4967 9815 # include <sys/types.h> 4968 9816 #endif … … 4972 9820 #endif 4973 9821 4974 " 4975 if test "x$ac_cv_header_net_if_h" = x""yes; then : 4976 $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 4977 4978 fi 4979 4980 4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 4982 $as_echo "Setting PJ_OS_NAME to $target" >&6; } 9822 9823 #include <net/if.h> 9824 _ACEOF 9825 rm -f conftest.$ac_objext 9826 if { (ac_try="$ac_compile" 9827 case "(($ac_try" in 9828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9829 *) ac_try_echo=$ac_try;; 9830 esac 9831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9832 (eval "$ac_compile") 2>conftest.er1 9833 ac_status=$? 9834 grep -v '^ *+' conftest.er1 >conftest.err 9835 rm -f conftest.er1 9836 cat conftest.err >&5 9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9838 (exit $ac_status); } && { 9839 test -z "$ac_c_werror_flag" || 9840 test ! -s conftest.err 9841 } && test -s conftest.$ac_objext; then 9842 ac_cv_header_net_if_h=yes 9843 else 9844 echo "$as_me: failed program was:" >&5 9845 sed 's/^/| /' conftest.$ac_ext >&5 9846 9847 ac_cv_header_net_if_h=no 9848 fi 9849 9850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9851 fi 9852 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 9853 echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; } 9854 if test $ac_cv_header_net_if_h = yes; then 9855 cat >>confdefs.h <<\_ACEOF 9856 #define PJ_HAS_NET_IF_H 1 9857 _ACEOF 9858 9859 fi 9860 9861 9862 { echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 9863 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6; } 4983 9864 cat >>confdefs.h <<_ACEOF 4984 9865 #define PJ_OS_NAME "$target" … … 4986 9867 4987 9868 4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 4989 $as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 4990 $as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h 4991 4992 4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 4994 $as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 4995 $as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h 4996 4997 4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 4999 $as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } 5000 $as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h 5001 5002 5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 5004 $as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 5005 $as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h 5006 5007 5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 5009 $as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 5010 $as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h 5011 5012 5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 5014 $as_echo_n "checking if inet_aton() is available... " >&6; } 5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9869 { echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 9870 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 9871 cat >>confdefs.h <<\_ACEOF 9872 #define PJ_HAS_ERRNO_VAR 1 9873 _ACEOF 9874 9875 9876 { echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 9877 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 9878 cat >>confdefs.h <<\_ACEOF 9879 #define PJ_HAS_HIGH_RES_TIMER 1 9880 _ACEOF 9881 9882 9883 { echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 9884 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6; } 9885 cat >>confdefs.h <<\_ACEOF 9886 #define PJ_HAS_MALLOC 1 9887 _ACEOF 9888 9889 9890 { echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 9891 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 9892 cat >>confdefs.h <<\_ACEOF 9893 #define PJ_NATIVE_STRING_IS_UNICODE 0 9894 _ACEOF 9895 9896 9897 { echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 9898 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 9899 cat >>confdefs.h <<\_ACEOF 9900 #define PJ_ATOMIC_VALUE_TYPE long 9901 _ACEOF 9902 9903 9904 { echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 9905 echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6; } 9906 cat >conftest.$ac_ext <<_ACEOF 9907 /* confdefs.h. */ 9908 _ACEOF 9909 cat confdefs.h >>conftest.$ac_ext 9910 cat >>conftest.$ac_ext <<_ACEOF 5016 9911 /* end confdefs.h. */ 5017 9912 #include <sys/types.h> … … 5026 9921 } 5027 9922 _ACEOF 5028 if ac_fn_c_try_compile "$LINENO"; then : 5029 $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h 5030 5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5032 $as_echo "yes" >&6; } 5033 else 5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5035 $as_echo "no" >&6; } 5036 fi 9923 rm -f conftest.$ac_objext 9924 if { (ac_try="$ac_compile" 9925 case "(($ac_try" in 9926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9927 *) ac_try_echo=$ac_try;; 9928 esac 9929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9930 (eval "$ac_compile") 2>conftest.er1 9931 ac_status=$? 9932 grep -v '^ *+' conftest.er1 >conftest.err 9933 rm -f conftest.er1 9934 cat conftest.err >&5 9935 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9936 (exit $ac_status); } && { 9937 test -z "$ac_c_werror_flag" || 9938 test ! -s conftest.err 9939 } && test -s conftest.$ac_objext; then 9940 cat >>confdefs.h <<\_ACEOF 9941 #define PJ_SOCK_HAS_INET_ATON 1 9942 _ACEOF 9943 9944 { echo "$as_me:$LINENO: result: yes" >&5 9945 echo "${ECHO_T}yes" >&6; } 9946 else 9947 echo "$as_me: failed program was:" >&5 9948 sed 's/^/| /' conftest.$ac_ext >&5 9949 9950 { echo "$as_me:$LINENO: result: no" >&5 9951 echo "${ECHO_T}no" >&6; } 9952 fi 9953 5037 9954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5038 9955 5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 5040 $as_echo_n "checking if inet_pton() is available... " >&6; } 5041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9956 { echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 9957 echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6; } 9958 cat >conftest.$ac_ext <<_ACEOF 9959 /* confdefs.h. */ 9960 _ACEOF 9961 cat confdefs.h >>conftest.$ac_ext 9962 cat >>conftest.$ac_ext <<_ACEOF 5042 9963 /* end confdefs.h. */ 5043 9964 #include <sys/types.h> … … 5052 9973 } 5053 9974 _ACEOF 5054 if ac_fn_c_try_compile "$LINENO"; then : 5055 $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h 5056 5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5058 $as_echo "yes" >&6; } 5059 else 5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5061 $as_echo "no" >&6; } 5062 fi 9975 rm -f conftest.$ac_objext 9976 if { (ac_try="$ac_compile" 9977 case "(($ac_try" in 9978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9979 *) ac_try_echo=$ac_try;; 9980 esac 9981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9982 (eval "$ac_compile") 2>conftest.er1 9983 ac_status=$? 9984 grep -v '^ *+' conftest.er1 >conftest.err 9985 rm -f conftest.er1 9986 cat conftest.err >&5 9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9988 (exit $ac_status); } && { 9989 test -z "$ac_c_werror_flag" || 9990 test ! -s conftest.err 9991 } && test -s conftest.$ac_objext; then 9992 cat >>confdefs.h <<\_ACEOF 9993 #define PJ_SOCK_HAS_INET_PTON 1 9994 _ACEOF 9995 9996 { echo "$as_me:$LINENO: result: yes" >&5 9997 echo "${ECHO_T}yes" >&6; } 9998 else 9999 echo "$as_me: failed program was:" >&5 10000 sed 's/^/| /' conftest.$ac_ext >&5 10001 10002 { echo "$as_me:$LINENO: result: no" >&5 10003 echo "${ECHO_T}no" >&6; } 10004 fi 10005 5063 10006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5064 10007 5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 5066 $as_echo_n "checking if inet_ntop() is available... " >&6; } 5067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10008 { echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 10009 echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6; } 10010 cat >conftest.$ac_ext <<_ACEOF 10011 /* confdefs.h. */ 10012 _ACEOF 10013 cat confdefs.h >>conftest.$ac_ext 10014 cat >>conftest.$ac_ext <<_ACEOF 5068 10015 /* end confdefs.h. */ 5069 10016 #include <sys/types.h> … … 5078 10025 } 5079 10026 _ACEOF 5080 if ac_fn_c_try_compile "$LINENO"; then : 5081 $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h 5082 5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5084 $as_echo "yes" >&6; } 5085 else 5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5087 $as_echo "no" >&6; } 5088 fi 10027 rm -f conftest.$ac_objext 10028 if { (ac_try="$ac_compile" 10029 case "(($ac_try" in 10030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10031 *) ac_try_echo=$ac_try;; 10032 esac 10033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10034 (eval "$ac_compile") 2>conftest.er1 10035 ac_status=$? 10036 grep -v '^ *+' conftest.er1 >conftest.err 10037 rm -f conftest.er1 10038 cat conftest.err >&5 10039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10040 (exit $ac_status); } && { 10041 test -z "$ac_c_werror_flag" || 10042 test ! -s conftest.err 10043 } && test -s conftest.$ac_objext; then 10044 cat >>confdefs.h <<\_ACEOF 10045 #define PJ_SOCK_HAS_INET_NTOP 1 10046 _ACEOF 10047 10048 { echo "$as_me:$LINENO: result: yes" >&5 10049 echo "${ECHO_T}yes" >&6; } 10050 else 10051 echo "$as_me: failed program was:" >&5 10052 sed 's/^/| /' conftest.$ac_ext >&5 10053 10054 { echo "$as_me:$LINENO: result: no" >&5 10055 echo "${ECHO_T}no" >&6; } 10056 fi 10057 5089 10058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5090 10059 5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 5092 $as_echo_n "checking if getaddrinfo() is available... " >&6; } 5093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10060 { echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 10061 echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6; } 10062 cat >conftest.$ac_ext <<_ACEOF 10063 /* confdefs.h. */ 10064 _ACEOF 10065 cat confdefs.h >>conftest.$ac_ext 10066 cat >>conftest.$ac_ext <<_ACEOF 5094 10067 /* end confdefs.h. */ 5095 10068 #include <sys/types.h> … … 5104 10077 } 5105 10078 _ACEOF 5106 if ac_fn_c_try_compile "$LINENO"; then : 5107 $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h 5108 5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5110 $as_echo "yes" >&6; } 5111 else 5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5113 $as_echo "no" >&6; } 5114 fi 10079 rm -f conftest.$ac_objext 10080 if { (ac_try="$ac_compile" 10081 case "(($ac_try" in 10082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10083 *) ac_try_echo=$ac_try;; 10084 esac 10085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10086 (eval "$ac_compile") 2>conftest.er1 10087 ac_status=$? 10088 grep -v '^ *+' conftest.er1 >conftest.err 10089 rm -f conftest.er1 10090 cat conftest.err >&5 10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10092 (exit $ac_status); } && { 10093 test -z "$ac_c_werror_flag" || 10094 test ! -s conftest.err 10095 } && test -s conftest.$ac_objext; then 10096 cat >>confdefs.h <<\_ACEOF 10097 #define PJ_SOCK_HAS_GETADDRINFO 1 10098 _ACEOF 10099 10100 { echo "$as_me:$LINENO: result: yes" >&5 10101 echo "${ECHO_T}yes" >&6; } 10102 else 10103 echo "$as_me: failed program was:" >&5 10104 sed 's/^/| /' conftest.$ac_ext >&5 10105 10106 { echo "$as_me:$LINENO: result: no" >&5 10107 echo "${ECHO_T}no" >&6; } 10108 fi 10109 5115 10110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5116 10111 5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 5118 $as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } 5119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10112 { echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 10113 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6; } 10114 cat >conftest.$ac_ext <<_ACEOF 10115 /* confdefs.h. */ 10116 _ACEOF 10117 cat confdefs.h >>conftest.$ac_ext 10118 cat >>conftest.$ac_ext <<_ACEOF 5120 10119 /* end confdefs.h. */ 5121 10120 #include <sys/types.h> … … 5131 10130 } 5132 10131 _ACEOF 5133 if ac_fn_c_try_compile "$LINENO"; then : 5134 $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h 5135 5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5137 $as_echo "yes" >&6; } 5138 else 5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5140 $as_echo "no" >&6; } 5141 fi 10132 rm -f conftest.$ac_objext 10133 if { (ac_try="$ac_compile" 10134 case "(($ac_try" in 10135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10136 *) ac_try_echo=$ac_try;; 10137 esac 10138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10139 (eval "$ac_compile") 2>conftest.er1 10140 ac_status=$? 10141 grep -v '^ *+' conftest.er1 >conftest.err 10142 rm -f conftest.er1 10143 cat conftest.err >&5 10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10145 (exit $ac_status); } && { 10146 test -z "$ac_c_werror_flag" || 10147 test ! -s conftest.err 10148 } && test -s conftest.$ac_objext; then 10149 cat >>confdefs.h <<\_ACEOF 10150 #define PJ_SOCKADDR_HAS_LEN 1 10151 _ACEOF 10152 10153 { echo "$as_me:$LINENO: result: yes" >&5 10154 echo "${ECHO_T}yes" >&6; } 10155 else 10156 echo "$as_me: failed program was:" >&5 10157 sed 's/^/| /' conftest.$ac_ext >&5 10158 10159 { echo "$as_me:$LINENO: result: no" >&5 10160 echo "${ECHO_T}no" >&6; } 10161 fi 10162 5142 10163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5143 10164 5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 5145 $as_echo_n "checking if socklen_t is available... " >&6; } 5146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10165 { echo "$as_me:$LINENO: checking if socklen_t is available" >&5 10166 echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6; } 10167 cat >conftest.$ac_ext <<_ACEOF 10168 /* confdefs.h. */ 10169 _ACEOF 10170 cat confdefs.h >>conftest.$ac_ext 10171 cat >>conftest.$ac_ext <<_ACEOF 5147 10172 /* end confdefs.h. */ 5148 10173 #include <sys/types.h> … … 5156 10181 } 5157 10182 _ACEOF 5158 if ac_fn_c_try_compile "$LINENO"; then : 5159 $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h 5160 5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5162 $as_echo "yes" >&6; } 5163 else 5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5165 $as_echo "no" >&6; } 5166 fi 10183 rm -f conftest.$ac_objext 10184 if { (ac_try="$ac_compile" 10185 case "(($ac_try" in 10186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10187 *) ac_try_echo=$ac_try;; 10188 esac 10189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10190 (eval "$ac_compile") 2>conftest.er1 10191 ac_status=$? 10192 grep -v '^ *+' conftest.er1 >conftest.err 10193 rm -f conftest.er1 10194 cat conftest.err >&5 10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10196 (exit $ac_status); } && { 10197 test -z "$ac_c_werror_flag" || 10198 test ! -s conftest.err 10199 } && test -s conftest.$ac_objext; then 10200 cat >>confdefs.h <<\_ACEOF 10201 #define PJ_HAS_SOCKLEN_T 1 10202 _ACEOF 10203 10204 { echo "$as_me:$LINENO: result: yes" >&5 10205 echo "${ECHO_T}yes" >&6; } 10206 else 10207 echo "$as_me: failed program was:" >&5 10208 sed 's/^/| /' conftest.$ac_ext >&5 10209 10210 { echo "$as_me:$LINENO: result: no" >&5 10211 echo "${ECHO_T}no" >&6; } 10212 fi 10213 5167 10214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5168 10215 5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&55170 $as_echo_n "checking if SO_ERROR is available..." >&6; }10216 { echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 10217 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6; } 5171 10218 case $target in 5172 10219 *mingw* | *cygw* | *win32* | *w32* ) 5173 $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 5174 5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5176 $as_echo "yes" >&6; } 10220 cat >>confdefs.h <<\_ACEOF 10221 #define PJ_HAS_SO_ERROR 1 10222 _ACEOF 10223 10224 { echo "$as_me:$LINENO: result: yes" >&5 10225 echo "${ECHO_T}yes" >&6; } 5177 10226 ;; 5178 10227 *) 5179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10228 cat >conftest.$ac_ext <<_ACEOF 10229 /* confdefs.h. */ 10230 _ACEOF 10231 cat confdefs.h >>conftest.$ac_ext 10232 cat >>conftest.$ac_ext <<_ACEOF 5180 10233 /* end confdefs.h. */ 5181 10234 #include <sys/types.h> … … 5191 10244 } 5192 10245 _ACEOF 5193 if ac_fn_c_try_compile "$LINENO"; then : 5194 $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 5195 5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5197 $as_echo "yes" >&6; } 5198 else 5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5200 $as_echo "no" >&6; } 5201 fi 10246 rm -f conftest.$ac_objext 10247 if { (ac_try="$ac_compile" 10248 case "(($ac_try" in 10249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10250 *) ac_try_echo=$ac_try;; 10251 esac 10252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10253 (eval "$ac_compile") 2>conftest.er1 10254 ac_status=$? 10255 grep -v '^ *+' conftest.er1 >conftest.err 10256 rm -f conftest.er1 10257 cat conftest.err >&5 10258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10259 (exit $ac_status); } && { 10260 test -z "$ac_c_werror_flag" || 10261 test ! -s conftest.err 10262 } && test -s conftest.$ac_objext; then 10263 cat >>confdefs.h <<\_ACEOF 10264 #define PJ_HAS_SO_ERROR 1 10265 _ACEOF 10266 10267 { echo "$as_me:$LINENO: result: yes" >&5 10268 echo "${ECHO_T}yes" >&6; } 10269 else 10270 echo "$as_me: failed program was:" >&5 10271 sed 's/^/| /' conftest.$ac_ext >&5 10272 10273 { echo "$as_me:$LINENO: result: no" >&5 10274 echo "${ECHO_T}no" >&6; } 10275 fi 10276 5202 10277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5203 10278 ;; … … 5205 10280 5206 10281 5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 5208 $as_echo_n "checking if pthread_rwlock_t is available... " >&6; } 5209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10282 { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 10283 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6; } 10284 cat >conftest.$ac_ext <<_ACEOF 10285 /* confdefs.h. */ 10286 _ACEOF 10287 cat confdefs.h >>conftest.$ac_ext 10288 cat >>conftest.$ac_ext <<_ACEOF 5210 10289 /* end confdefs.h. */ 5211 10290 #include <pthread.h> … … 5218 10297 } 5219 10298 _ACEOF 5220 if ac_fn_c_try_compile "$LINENO"; then : 5221 $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 10299 rm -f conftest.$ac_objext 10300 if { (ac_try="$ac_compile" 10301 case "(($ac_try" in 10302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10303 *) ac_try_echo=$ac_try;; 10304 esac 10305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10306 (eval "$ac_compile") 2>conftest.er1 10307 ac_status=$? 10308 grep -v '^ *+' conftest.er1 >conftest.err 10309 rm -f conftest.er1 10310 cat conftest.err >&5 10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10312 (exit $ac_status); } && { 10313 test -z "$ac_c_werror_flag" || 10314 test ! -s conftest.err 10315 } && test -s conftest.$ac_objext; then 10316 cat >>confdefs.h <<\_ACEOF 10317 #define PJ_EMULATE_RWMUTEX 0 10318 _ACEOF 5222 10319 5223 10320 ac_rwmutex="yes" 5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5225 $as_echo "yes" >&6; } 5226 else 5227 $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 10321 { echo "$as_me:$LINENO: result: yes" >&5 10322 echo "${ECHO_T}yes" >&6; } 10323 else 10324 echo "$as_me: failed program was:" >&5 10325 sed 's/^/| /' conftest.$ac_ext >&5 10326 10327 cat >>confdefs.h <<\_ACEOF 10328 #define PJ_EMULATE_RWMUTEX 1 10329 _ACEOF 5228 10330 5229 10331 ac_rwmutex="no" 5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5231 $as_echo "no" >&6; } 5232 fi 10332 { echo "$as_me:$LINENO: result: no" >&5 10333 echo "${ECHO_T}no" >&6; } 10334 fi 10335 5233 10336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5234 10337 5235 10338 if test "$ac_rwmutex" = "no"; then 5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 5237 $as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } 5238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10339 { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 10340 echo $ECHO_N "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... $ECHO_C" >&6; } 10341 cat >conftest.$ac_ext <<_ACEOF 10342 /* confdefs.h. */ 10343 _ACEOF 10344 cat confdefs.h >>conftest.$ac_ext 10345 cat >>conftest.$ac_ext <<_ACEOF 5239 10346 /* end confdefs.h. */ 5240 10347 #define _POSIX_READER_WRITER_LOCKS … … 5248 10355 } 5249 10356 _ACEOF 5250 if ac_fn_c_try_compile "$LINENO"; then : 5251 $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 10357 rm -f conftest.$ac_objext 10358 if { (ac_try="$ac_compile" 10359 case "(($ac_try" in 10360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10361 *) ac_try_echo=$ac_try;; 10362 esac 10363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10364 (eval "$ac_compile") 2>conftest.er1 10365 ac_status=$? 10366 grep -v '^ *+' conftest.er1 >conftest.err 10367 rm -f conftest.er1 10368 cat conftest.err >&5 10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10370 (exit $ac_status); } && { 10371 test -z "$ac_c_werror_flag" || 10372 test ! -s conftest.err 10373 } && test -s conftest.$ac_objext; then 10374 cat >>confdefs.h <<\_ACEOF 10375 #define PJ_EMULATE_RWMUTEX 0 10376 _ACEOF 5252 10377 5253 10378 CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5255 $as_echo "yes" >&6; } 5256 else 5257 $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 5258 5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5260 $as_echo "no" >&6; } 5261 fi 10379 { echo "$as_me:$LINENO: result: yes" >&5 10380 echo "${ECHO_T}yes" >&6; } 10381 else 10382 echo "$as_me: failed program was:" >&5 10383 sed 's/^/| /' conftest.$ac_ext >&5 10384 10385 cat >>confdefs.h <<\_ACEOF 10386 #define PJ_EMULATE_RWMUTEX 1 10387 _ACEOF 10388 10389 { echo "$as_me:$LINENO: result: no" >&5 10390 echo "${ECHO_T}no" >&6; } 10391 fi 10392 5262 10393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5263 10394 fi 5264 10395 5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 5266 $as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } 5267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10396 { echo "$as_me:$LINENO: checking if pthread_mutexattr_settype() is available" >&5 10397 echo $ECHO_N "checking if pthread_mutexattr_settype() is available... $ECHO_C" >&6; } 10398 cat >conftest.$ac_ext <<_ACEOF 10399 /* confdefs.h. */ 10400 _ACEOF 10401 cat confdefs.h >>conftest.$ac_ext 10402 cat >>conftest.$ac_ext <<_ACEOF 5268 10403 /* end confdefs.h. */ 5269 10404 #include <pthread.h> … … 5276 10411 } 5277 10412 _ACEOF 5278 if ac_fn_c_try_compile "$LINENO"; then : 5279 $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h 5280 5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5282 $as_echo "yes" >&6; } 5283 else 5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5285 $as_echo "no" >&6; } 5286 fi 10413 rm -f conftest.$ac_objext 10414 if { (ac_try="$ac_compile" 10415 case "(($ac_try" in 10416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10417 *) ac_try_echo=$ac_try;; 10418 esac 10419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10420 (eval "$ac_compile") 2>conftest.er1 10421 ac_status=$? 10422 grep -v '^ *+' conftest.er1 >conftest.err 10423 rm -f conftest.er1 10424 cat conftest.err >&5 10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10426 (exit $ac_status); } && { 10427 test -z "$ac_c_werror_flag" || 10428 test ! -s conftest.err 10429 } && test -s conftest.$ac_objext; then 10430 cat >>confdefs.h <<\_ACEOF 10431 #define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1 10432 _ACEOF 10433 10434 { echo "$as_me:$LINENO: result: yes" >&5 10435 echo "${ECHO_T}yes" >&6; } 10436 else 10437 echo "$as_me: failed program was:" >&5 10438 sed 's/^/| /' conftest.$ac_ext >&5 10439 10440 { echo "$as_me:$LINENO: result: no" >&5 10441 echo "${ECHO_T}no" >&6; } 10442 fi 10443 5287 10444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5288 10445 5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 5290 $as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } 5291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10446 { echo "$as_me:$LINENO: checking if pthread_mutexattr_t has recursive member" >&5 10447 echo $ECHO_N "checking if pthread_mutexattr_t has recursive member... $ECHO_C" >&6; } 10448 cat >conftest.$ac_ext <<_ACEOF 10449 /* confdefs.h. */ 10450 _ACEOF 10451 cat confdefs.h >>conftest.$ac_ext 10452 cat >>conftest.$ac_ext <<_ACEOF 5292 10453 /* end confdefs.h. */ 5293 10454 #include <pthread.h> … … 5301 10462 } 5302 10463 _ACEOF 5303 if ac_fn_c_try_compile "$LINENO"; then : 5304 $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h 5305 5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5307 $as_echo "yes" >&6; } 5308 else 5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5310 $as_echo "no" >&6; } 5311 fi 10464 rm -f conftest.$ac_objext 10465 if { (ac_try="$ac_compile" 10466 case "(($ac_try" in 10467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10468 *) ac_try_echo=$ac_try;; 10469 esac 10470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10471 (eval "$ac_compile") 2>conftest.er1 10472 ac_status=$? 10473 grep -v '^ *+' conftest.er1 >conftest.err 10474 rm -f conftest.er1 10475 cat conftest.err >&5 10476 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10477 (exit $ac_status); } && { 10478 test -z "$ac_c_werror_flag" || 10479 test ! -s conftest.err 10480 } && test -s conftest.$ac_objext; then 10481 cat >>confdefs.h <<\_ACEOF 10482 #define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1 10483 _ACEOF 10484 10485 { echo "$as_me:$LINENO: result: yes" >&5 10486 echo "${ECHO_T}yes" >&6; } 10487 else 10488 echo "$as_me: failed program was:" >&5 10489 sed 's/^/| /' conftest.$ac_ext >&5 10490 10491 { echo "$as_me:$LINENO: result: no" >&5 10492 echo "${ECHO_T}no" >&6; } 10493 fi 10494 5312 10495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5313 10496 5314 10497 5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&55316 $as_echo_n "checking ioqueue backend..." >&6; }10498 { echo "$as_me:$LINENO: checking ioqueue backend" >&5 10499 echo $ECHO_N "checking ioqueue backend... $ECHO_C" >&6; } 5317 10500 # Check whether --enable-epoll was given. 5318 if test "${enable_epoll+set}" = set; then :10501 if test "${enable_epoll+set}" = set; then 5319 10502 enableval=$enable_epoll; 5320 10503 ac_os_objs=ioqueue_epoll.o 5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&55322 $as_echo "/dev/epoll" >&6; }10504 { echo "$as_me:$LINENO: result: /dev/epoll" >&5 10505 echo "${ECHO_T}/dev/epoll" >&6; } 5323 10506 5324 10507 else 5325 10508 5326 10509 ac_os_objs=ioqueue_select.o 5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&55328 $as_echo "select()" >&6; }10510 { echo "$as_me:$LINENO: result: select()" >&5 10511 echo "${ECHO_T}select()" >&6; } 5329 10512 5330 10513 fi … … 5354 10537 5355 10538 # Check whether --with-external-speex was given. 5356 if test "${with_external_speex+set}" = set; then :10539 if test "${with_external_speex+set}" = set; then 5357 10540 withval=$with_external_speex; 5358 10541 if test "x$with_external_speex" != "xno"; then 5359 10542 # Test Speex installation 5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external Speex devkit is installed" >&5 5361 $as_echo_n "checking if external Speex devkit is installed... " >&6; } 5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10543 { echo "$as_me:$LINENO: checking if external Speex devkit is installed" >&5 10544 echo $ECHO_N "checking if external Speex devkit is installed... $ECHO_C" >&6; } 10545 cat >conftest.$ac_ext <<_ACEOF 10546 /* confdefs.h. */ 10547 _ACEOF 10548 cat confdefs.h >>conftest.$ac_ext 10549 cat >>conftest.$ac_ext <<_ACEOF 5363 10550 /* end confdefs.h. */ 5364 10551 #include <speex/speex.h> … … 5373 10560 } 5374 10561 _ACEOF 5375 if ac_fn_c_try_compile "$LINENO"; then : 5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5377 $as_echo "yes!!" >&6; } 5378 $as_echo "#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1" >>confdefs.h 10562 rm -f conftest.$ac_objext 10563 if { (ac_try="$ac_compile" 10564 case "(($ac_try" in 10565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10566 *) ac_try_echo=$ac_try;; 10567 esac 10568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10569 (eval "$ac_compile") 2>conftest.er1 10570 ac_status=$? 10571 grep -v '^ *+' conftest.er1 >conftest.err 10572 rm -f conftest.er1 10573 cat conftest.err >&5 10574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10575 (exit $ac_status); } && { 10576 test -z "$ac_c_werror_flag" || 10577 test ! -s conftest.err 10578 } && test -s conftest.$ac_objext; then 10579 { echo "$as_me:$LINENO: result: yes!!" >&5 10580 echo "${ECHO_T}yes!!" >&6; } 10581 cat >>confdefs.h <<\_ACEOF 10582 #define PJMEDIA_EXTERNAL_SPEEX_CODEC 1 10583 _ACEOF 5379 10584 5380 10585 ac_external_speex="1" 5381 10586 5382 10587 else 5383 as_fn_error "Unable to use external Speex library. If Speex development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 5384 fi 10588 echo "$as_me: failed program was:" >&5 10589 sed 's/^/| /' conftest.$ac_ext >&5 10590 10591 { { echo "$as_me:$LINENO: error: Unable to use external Speex library. If Speex development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&5 10592 echo "$as_me: error: Unable to use external Speex library. If Speex development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&2;} 10593 { (exit 1); exit 1; }; } 10594 fi 10595 5385 10596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5386 10597 fi … … 5394 10605 5395 10606 # Check whether --with-external-gsm was given. 5396 if test "${with_external_gsm+set}" = set; then :10607 if test "${with_external_gsm+set}" = set; then 5397 10608 withval=$with_external_gsm; 5398 10609 if test "x$with_external_gsm" != "xno"; then 5399 10610 # Test GSM library installation 5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm/gsm.h" >&5 5401 $as_echo_n "checking if external GSM devkit is installed as gsm/gsm.h... " >&6; } 5402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10611 { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm/gsm.h" >&5 10612 echo $ECHO_N "checking if external GSM devkit is installed as gsm/gsm.h... $ECHO_C" >&6; } 10613 cat >conftest.$ac_ext <<_ACEOF 10614 /* confdefs.h. */ 10615 _ACEOF 10616 cat confdefs.h >>conftest.$ac_ext 10617 cat >>conftest.$ac_ext <<_ACEOF 5403 10618 /* end confdefs.h. */ 5404 10619 #include <gsm/gsm.h> … … 5411 10626 } 5412 10627 _ACEOF 5413 if ac_fn_c_try_compile "$LINENO"; then : 5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5415 $as_echo "yes!!" >&6; } 5416 $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 5417 5418 $as_echo "#define PJMEDIA_EXTERNAL_GSM_GSM_H 1" >>confdefs.h 10628 rm -f conftest.$ac_objext 10629 if { (ac_try="$ac_compile" 10630 case "(($ac_try" in 10631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10632 *) ac_try_echo=$ac_try;; 10633 esac 10634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10635 (eval "$ac_compile") 2>conftest.er1 10636 ac_status=$? 10637 grep -v '^ *+' conftest.er1 >conftest.err 10638 rm -f conftest.er1 10639 cat conftest.err >&5 10640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10641 (exit $ac_status); } && { 10642 test -z "$ac_c_werror_flag" || 10643 test ! -s conftest.err 10644 } && test -s conftest.$ac_objext; then 10645 { echo "$as_me:$LINENO: result: yes!!" >&5 10646 echo "${ECHO_T}yes!!" >&6; } 10647 cat >>confdefs.h <<\_ACEOF 10648 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 10649 _ACEOF 10650 10651 cat >>confdefs.h <<\_ACEOF 10652 #define PJMEDIA_EXTERNAL_GSM_GSM_H 1 10653 _ACEOF 5419 10654 5420 10655 ac_external_gsm="1" 5421 10656 5422 10657 else 5423 5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5425 $as_echo "no" >&6; } 5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm.h" >&5 5427 $as_echo_n "checking if external GSM devkit is installed as gsm.h... " >&6; } 5428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10658 echo "$as_me: failed program was:" >&5 10659 sed 's/^/| /' conftest.$ac_ext >&5 10660 10661 10662 { echo "$as_me:$LINENO: result: no" >&5 10663 echo "${ECHO_T}no" >&6; } 10664 { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm.h" >&5 10665 echo $ECHO_N "checking if external GSM devkit is installed as gsm.h... $ECHO_C" >&6; } 10666 cat >conftest.$ac_ext <<_ACEOF 10667 /* confdefs.h. */ 10668 _ACEOF 10669 cat confdefs.h >>conftest.$ac_ext 10670 cat >>conftest.$ac_ext <<_ACEOF 5429 10671 /* end confdefs.h. */ 5430 10672 #include <gsm.h> … … 5437 10679 } 5438 10680 _ACEOF 5439 if ac_fn_c_try_compile "$LINENO"; then : 5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5441 $as_echo "yes!!" >&6; } 5442 $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 5443 5444 $as_echo "#define PJMEDIA_EXTERNAL_GSM_H 1" >>confdefs.h 10681 rm -f conftest.$ac_objext 10682 if { (ac_try="$ac_compile" 10683 case "(($ac_try" in 10684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10685 *) ac_try_echo=$ac_try;; 10686 esac 10687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10688 (eval "$ac_compile") 2>conftest.er1 10689 ac_status=$? 10690 grep -v '^ *+' conftest.er1 >conftest.err 10691 rm -f conftest.er1 10692 cat conftest.err >&5 10693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10694 (exit $ac_status); } && { 10695 test -z "$ac_c_werror_flag" || 10696 test ! -s conftest.err 10697 } && test -s conftest.$ac_objext; then 10698 { echo "$as_me:$LINENO: result: yes!!" >&5 10699 echo "${ECHO_T}yes!!" >&6; } 10700 cat >>confdefs.h <<\_ACEOF 10701 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 10702 _ACEOF 10703 10704 cat >>confdefs.h <<\_ACEOF 10705 #define PJMEDIA_EXTERNAL_GSM_H 1 10706 _ACEOF 5445 10707 5446 10708 ac_external_gsm="1" 5447 10709 5448 10710 else 5449 as_fn_error "Unable to use external GSM library. If GSM development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 5450 5451 5452 fi 10711 echo "$as_me: failed program was:" >&5 10712 sed 's/^/| /' conftest.$ac_ext >&5 10713 10714 { { echo "$as_me:$LINENO: error: Unable to use external GSM library. If GSM development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&5 10715 echo "$as_me: error: Unable to use external GSM library. If GSM development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&2;} 10716 { (exit 1); exit 1; }; } 10717 10718 10719 fi 10720 5453 10721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5454 10722 5455 10723 5456 10724 fi 10725 5457 10726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5458 10727 fi … … 5466 10735 5467 10736 # Check whether --enable-sound was given. 5468 if test "${enable_sound+set}" = set; then :10737 if test "${enable_sound+set}" = set; then 5469 10738 enableval=$enable_sound; if test "$enable_sound" = "no"; then 5470 10739 ac_pjmedia_snd=null 5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&55472 $as_echo "Checking if sound is disabled... yes" >&6; }10740 { echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&5 10741 echo "${ECHO_T}Checking if sound is disabled... yes" >&6; } 5473 10742 fi 5474 10743 … … 5480 10749 5481 10750 # Check whether --with-external-pa was given. 5482 if test "${with_external_pa+set}" = set; then :10751 if test "${with_external_pa+set}" = set; then 5483 10752 withval=$with_external_pa; 5484 10753 if test "x$with_external_pa" != "xno"; then 5485 10754 # Test PortAudio installation 5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external PortAudio devkit is installed" >&5 5487 $as_echo_n "checking if external PortAudio devkit is installed... " >&6; } 5488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10755 { echo "$as_me:$LINENO: checking if external PortAudio devkit is installed" >&5 10756 echo $ECHO_N "checking if external PortAudio devkit is installed... $ECHO_C" >&6; } 10757 cat >conftest.$ac_ext <<_ACEOF 10758 /* confdefs.h. */ 10759 _ACEOF 10760 cat confdefs.h >>conftest.$ac_ext 10761 cat >>conftest.$ac_ext <<_ACEOF 5489 10762 /* end confdefs.h. */ 5490 10763 #include <portaudio.h> … … 5498 10771 } 5499 10772 _ACEOF 5500 if ac_fn_c_try_compile "$LINENO"; then : 5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5502 $as_echo "yes!!" >&6; } 10773 rm -f conftest.$ac_objext 10774 if { (ac_try="$ac_compile" 10775 case "(($ac_try" in 10776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10777 *) ac_try_echo=$ac_try;; 10778 esac 10779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10780 (eval "$ac_compile") 2>conftest.er1 10781 ac_status=$? 10782 grep -v '^ *+' conftest.er1 >conftest.err 10783 rm -f conftest.er1 10784 cat conftest.err >&5 10785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10786 (exit $ac_status); } && { 10787 test -z "$ac_c_werror_flag" || 10788 test ! -s conftest.err 10789 } && test -s conftest.$ac_objext; then 10790 { echo "$as_me:$LINENO: result: yes!!" >&5 10791 echo "${ECHO_T}yes!!" >&6; } 5503 10792 ac_external_pa="1" 5504 10793 5505 10794 else 5506 as_fn_error "Unable to use PortAudio. If PortAudio development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" "$LINENO" 5 5507 fi 10795 echo "$as_me: failed program was:" >&5 10796 sed 's/^/| /' conftest.$ac_ext >&5 10797 10798 { { echo "$as_me:$LINENO: error: Unable to use PortAudio. If PortAudio development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&5 10799 echo "$as_me: error: Unable to use PortAudio. If PortAudio development files are not available in the default locations, use CFLAGS and LDFLAGS env var to set the include/lib paths" >&2;} 10800 { (exit 1); exit 1; }; } 10801 fi 10802 5508 10803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5509 10804 fi … … 5514 10809 5515 10810 5516 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 5517 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 10811 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 10812 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 10813 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 10814 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 10815 echo $ECHO_N "(cached) $ECHO_C" >&6 10816 fi 10817 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 10818 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 10819 else 10820 # Is the header compilable? 10821 { echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5 10822 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; } 10823 cat >conftest.$ac_ext <<_ACEOF 10824 /* confdefs.h. */ 10825 _ACEOF 10826 cat confdefs.h >>conftest.$ac_ext 10827 cat >>conftest.$ac_ext <<_ACEOF 10828 /* end confdefs.h. */ 10829 $ac_includes_default 10830 #include <sys/soundcard.h> 10831 _ACEOF 10832 rm -f conftest.$ac_objext 10833 if { (ac_try="$ac_compile" 10834 case "(($ac_try" in 10835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10836 *) ac_try_echo=$ac_try;; 10837 esac 10838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10839 (eval "$ac_compile") 2>conftest.er1 10840 ac_status=$? 10841 grep -v '^ *+' conftest.er1 >conftest.err 10842 rm -f conftest.er1 10843 cat conftest.err >&5 10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10845 (exit $ac_status); } && { 10846 test -z "$ac_c_werror_flag" || 10847 test ! -s conftest.err 10848 } && test -s conftest.$ac_objext; then 10849 ac_header_compiler=yes 10850 else 10851 echo "$as_me: failed program was:" >&5 10852 sed 's/^/| /' conftest.$ac_ext >&5 10853 10854 ac_header_compiler=no 10855 fi 10856 10857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10858 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10859 echo "${ECHO_T}$ac_header_compiler" >&6; } 10860 10861 # Is the header present? 10862 { echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5 10863 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; } 10864 cat >conftest.$ac_ext <<_ACEOF 10865 /* confdefs.h. */ 10866 _ACEOF 10867 cat confdefs.h >>conftest.$ac_ext 10868 cat >>conftest.$ac_ext <<_ACEOF 10869 /* end confdefs.h. */ 10870 #include <sys/soundcard.h> 10871 _ACEOF 10872 if { (ac_try="$ac_cpp conftest.$ac_ext" 10873 case "(($ac_try" in 10874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10875 *) ac_try_echo=$ac_try;; 10876 esac 10877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10878 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10879 ac_status=$? 10880 grep -v '^ *+' conftest.er1 >conftest.err 10881 rm -f conftest.er1 10882 cat conftest.err >&5 10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10884 (exit $ac_status); } >/dev/null && { 10885 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10886 test ! -s conftest.err 10887 }; then 10888 ac_header_preproc=yes 10889 else 10890 echo "$as_me: failed program was:" >&5 10891 sed 's/^/| /' conftest.$ac_ext >&5 10892 10893 ac_header_preproc=no 10894 fi 10895 10896 rm -f conftest.err conftest.$ac_ext 10897 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10898 echo "${ECHO_T}$ac_header_preproc" >&6; } 10899 10900 # So? What about this header? 10901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10902 yes:no: ) 10903 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 10904 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10905 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5 10906 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;} 10907 ac_header_preproc=yes 10908 ;; 10909 no:yes:* ) 10910 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5 10911 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;} 10912 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5 10913 echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;} 10914 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5 10915 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;} 10916 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 10917 echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 10918 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5 10919 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;} 10920 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 10921 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} 10922 10923 ;; 10924 esac 10925 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 10926 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 10927 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 10928 echo $ECHO_N "(cached) $ECHO_C" >&6 10929 else 10930 ac_cv_header_sys_soundcard_h=$ac_header_preproc 10931 fi 10932 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 10933 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 10934 10935 fi 10936 if test $ac_cv_header_sys_soundcard_h = yes; then 5518 10937 ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 5519 10938 fi 5520 10939 5521 10940 5522 ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 5523 if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 10941 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 10942 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 10943 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 10944 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 10945 echo $ECHO_N "(cached) $ECHO_C" >&6 10946 fi 10947 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 10948 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 10949 else 10950 # Is the header compilable? 10951 { echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5 10952 echo $ECHO_N "checking linux/soundcard.h usability... $ECHO_C" >&6; } 10953 cat >conftest.$ac_ext <<_ACEOF 10954 /* confdefs.h. */ 10955 _ACEOF 10956 cat confdefs.h >>conftest.$ac_ext 10957 cat >>conftest.$ac_ext <<_ACEOF 10958 /* end confdefs.h. */ 10959 $ac_includes_default 10960 #include <linux/soundcard.h> 10961 _ACEOF 10962 rm -f conftest.$ac_objext 10963 if { (ac_try="$ac_compile" 10964 case "(($ac_try" in 10965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10966 *) ac_try_echo=$ac_try;; 10967 esac 10968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10969 (eval "$ac_compile") 2>conftest.er1 10970 ac_status=$? 10971 grep -v '^ *+' conftest.er1 >conftest.err 10972 rm -f conftest.er1 10973 cat conftest.err >&5 10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10975 (exit $ac_status); } && { 10976 test -z "$ac_c_werror_flag" || 10977 test ! -s conftest.err 10978 } && test -s conftest.$ac_objext; then 10979 ac_header_compiler=yes 10980 else 10981 echo "$as_me: failed program was:" >&5 10982 sed 's/^/| /' conftest.$ac_ext >&5 10983 10984 ac_header_compiler=no 10985 fi 10986 10987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10988 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10989 echo "${ECHO_T}$ac_header_compiler" >&6; } 10990 10991 # Is the header present? 10992 { echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5 10993 echo $ECHO_N "checking linux/soundcard.h presence... $ECHO_C" >&6; } 10994 cat >conftest.$ac_ext <<_ACEOF 10995 /* confdefs.h. */ 10996 _ACEOF 10997 cat confdefs.h >>conftest.$ac_ext 10998 cat >>conftest.$ac_ext <<_ACEOF 10999 /* end confdefs.h. */ 11000 #include <linux/soundcard.h> 11001 _ACEOF 11002 if { (ac_try="$ac_cpp conftest.$ac_ext" 11003 case "(($ac_try" in 11004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11005 *) ac_try_echo=$ac_try;; 11006 esac 11007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11008 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11009 ac_status=$? 11010 grep -v '^ *+' conftest.er1 >conftest.err 11011 rm -f conftest.er1 11012 cat conftest.err >&5 11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11014 (exit $ac_status); } >/dev/null && { 11015 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11016 test ! -s conftest.err 11017 }; then 11018 ac_header_preproc=yes 11019 else 11020 echo "$as_me: failed program was:" >&5 11021 sed 's/^/| /' conftest.$ac_ext >&5 11022 11023 ac_header_preproc=no 11024 fi 11025 11026 rm -f conftest.err conftest.$ac_ext 11027 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11028 echo "${ECHO_T}$ac_header_preproc" >&6; } 11029 11030 # So? What about this header? 11031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11032 yes:no: ) 11033 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 11034 echo "$as_me: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11035 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&5 11036 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&2;} 11037 ac_header_preproc=yes 11038 ;; 11039 no:yes:* ) 11040 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: present but cannot be compiled" >&5 11041 echo "$as_me: WARNING: linux/soundcard.h: present but cannot be compiled" >&2;} 11042 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: check for missing prerequisite headers?" >&5 11043 echo "$as_me: WARNING: linux/soundcard.h: check for missing prerequisite headers?" >&2;} 11044 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: see the Autoconf documentation" >&5 11045 echo "$as_me: WARNING: linux/soundcard.h: see the Autoconf documentation" >&2;} 11046 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 11047 echo "$as_me: WARNING: linux/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 11048 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&5 11049 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&2;} 11050 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 11051 echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} 11052 11053 ;; 11054 esac 11055 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 11056 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 11057 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 11058 echo $ECHO_N "(cached) $ECHO_C" >&6 11059 else 11060 ac_cv_header_linux_soundcard_h=$ac_header_preproc 11061 fi 11062 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 11063 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 11064 11065 fi 11066 if test $ac_cv_header_linux_soundcard_h = yes; then 5524 11067 ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 5525 11068 fi 5526 11069 5527 11070 5528 ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 5529 if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 11071 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 11072 { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 11073 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 11074 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 11075 echo $ECHO_N "(cached) $ECHO_C" >&6 11076 fi 11077 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 11078 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 11079 else 11080 # Is the header compilable? 11081 { echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&5 11082 echo $ECHO_N "checking machine/soundcard.h usability... $ECHO_C" >&6; } 11083 cat >conftest.$ac_ext <<_ACEOF 11084 /* confdefs.h. */ 11085 _ACEOF 11086 cat confdefs.h >>conftest.$ac_ext 11087 cat >>conftest.$ac_ext <<_ACEOF 11088 /* end confdefs.h. */ 11089 $ac_includes_default 11090 #include <machine/soundcard.h> 11091 _ACEOF 11092 rm -f conftest.$ac_objext 11093 if { (ac_try="$ac_compile" 11094 case "(($ac_try" in 11095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11096 *) ac_try_echo=$ac_try;; 11097 esac 11098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11099 (eval "$ac_compile") 2>conftest.er1 11100 ac_status=$? 11101 grep -v '^ *+' conftest.er1 >conftest.err 11102 rm -f conftest.er1 11103 cat conftest.err >&5 11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11105 (exit $ac_status); } && { 11106 test -z "$ac_c_werror_flag" || 11107 test ! -s conftest.err 11108 } && test -s conftest.$ac_objext; then 11109 ac_header_compiler=yes 11110 else 11111 echo "$as_me: failed program was:" >&5 11112 sed 's/^/| /' conftest.$ac_ext >&5 11113 11114 ac_header_compiler=no 11115 fi 11116 11117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11118 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11119 echo "${ECHO_T}$ac_header_compiler" >&6; } 11120 11121 # Is the header present? 11122 { echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&5 11123 echo $ECHO_N "checking machine/soundcard.h presence... $ECHO_C" >&6; } 11124 cat >conftest.$ac_ext <<_ACEOF 11125 /* confdefs.h. */ 11126 _ACEOF 11127 cat confdefs.h >>conftest.$ac_ext 11128 cat >>conftest.$ac_ext <<_ACEOF 11129 /* end confdefs.h. */ 11130 #include <machine/soundcard.h> 11131 _ACEOF 11132 if { (ac_try="$ac_cpp conftest.$ac_ext" 11133 case "(($ac_try" in 11134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11135 *) ac_try_echo=$ac_try;; 11136 esac 11137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11138 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11139 ac_status=$? 11140 grep -v '^ *+' conftest.er1 >conftest.err 11141 rm -f conftest.er1 11142 cat conftest.err >&5 11143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11144 (exit $ac_status); } >/dev/null && { 11145 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11146 test ! -s conftest.err 11147 }; then 11148 ac_header_preproc=yes 11149 else 11150 echo "$as_me: failed program was:" >&5 11151 sed 's/^/| /' conftest.$ac_ext >&5 11152 11153 ac_header_preproc=no 11154 fi 11155 11156 rm -f conftest.err conftest.$ac_ext 11157 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11158 echo "${ECHO_T}$ac_header_preproc" >&6; } 11159 11160 # So? What about this header? 11161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11162 yes:no: ) 11163 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 11164 echo "$as_me: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11165 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&5 11166 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&2;} 11167 ac_header_preproc=yes 11168 ;; 11169 no:yes:* ) 11170 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: present but cannot be compiled" >&5 11171 echo "$as_me: WARNING: machine/soundcard.h: present but cannot be compiled" >&2;} 11172 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: check for missing prerequisite headers?" >&5 11173 echo "$as_me: WARNING: machine/soundcard.h: check for missing prerequisite headers?" >&2;} 11174 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: see the Autoconf documentation" >&5 11175 echo "$as_me: WARNING: machine/soundcard.h: see the Autoconf documentation" >&2;} 11176 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 11177 echo "$as_me: WARNING: machine/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 11178 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&5 11179 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&2;} 11180 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&5 11181 echo "$as_me: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&2;} 11182 11183 ;; 11184 esac 11185 { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 11186 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 11187 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 11188 echo $ECHO_N "(cached) $ECHO_C" >&6 11189 else 11190 ac_cv_header_machine_soundcard_h=$ac_header_preproc 11191 fi 11192 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 11193 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 11194 11195 fi 11196 if test $ac_cv_header_machine_soundcard_h = yes; then 5530 11197 ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 5531 11198 fi … … 5545 11212 arm-apple-darwin*) 5546 11213 LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork" 5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&55548 $as_echo "Checking sound device backend... AudioUnit" >&6; }11214 { echo "$as_me:$LINENO: result: Checking sound device backend... AudioUnit" >&5 11215 echo "${ECHO_T}Checking sound device backend... AudioUnit" >&6; } 5549 11216 ;; 5550 11217 *darwin*) … … 5554 11221 #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 5555 11222 ac_pjmedia_snd=pa_old_darwinos 5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&55557 $as_echo "Checking sound device backend... old coreaudio" >&6; }11223 { echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&5 11224 echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6; } 5558 11225 else 5559 11226 ac_pjmedia_snd=pa_darwinos 5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&55561 $as_echo "Checking sound device backend... coreaudio" >&6; }11227 { echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 11228 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6; } 5562 11229 fi 5563 11230 ;; 5564 11231 *cygwin* | *mingw*) 5565 11232 ac_pjmedia_snd=pa_win32 5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&55567 $as_echo "Checking sound device backend... win32 sound" >&6; }11233 { echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 11234 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6; } 5568 11235 ;; 5569 11236 *rtems*) 5570 11237 ac_pjmedia_snd=null 5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&55572 $as_echo "Checking sound device backend... null sound" >&6; }11238 { echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 11239 echo "${ECHO_T}Checking sound device backend... null sound" >&6; } 5573 11240 ;; 5574 11241 *) 5575 11242 ac_pjmedia_snd=pa_unix 5576 ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 5577 if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 11243 if test "${ac_cv_header_alsa_version_h+set}" = set; then 11244 { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 11245 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 11246 if test "${ac_cv_header_alsa_version_h+set}" = set; then 11247 echo $ECHO_N "(cached) $ECHO_C" >&6 11248 fi 11249 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 11250 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 11251 else 11252 # Is the header compilable? 11253 { echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 11254 echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6; } 11255 cat >conftest.$ac_ext <<_ACEOF 11256 /* confdefs.h. */ 11257 _ACEOF 11258 cat confdefs.h >>conftest.$ac_ext 11259 cat >>conftest.$ac_ext <<_ACEOF 11260 /* end confdefs.h. */ 11261 $ac_includes_default 11262 #include <alsa/version.h> 11263 _ACEOF 11264 rm -f conftest.$ac_objext 11265 if { (ac_try="$ac_compile" 11266 case "(($ac_try" in 11267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11268 *) ac_try_echo=$ac_try;; 11269 esac 11270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11271 (eval "$ac_compile") 2>conftest.er1 11272 ac_status=$? 11273 grep -v '^ *+' conftest.er1 >conftest.err 11274 rm -f conftest.er1 11275 cat conftest.err >&5 11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11277 (exit $ac_status); } && { 11278 test -z "$ac_c_werror_flag" || 11279 test ! -s conftest.err 11280 } && test -s conftest.$ac_objext; then 11281 ac_header_compiler=yes 11282 else 11283 echo "$as_me: failed program was:" >&5 11284 sed 's/^/| /' conftest.$ac_ext >&5 11285 11286 ac_header_compiler=no 11287 fi 11288 11289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11290 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11291 echo "${ECHO_T}$ac_header_compiler" >&6; } 11292 11293 # Is the header present? 11294 { echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 11295 echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6; } 11296 cat >conftest.$ac_ext <<_ACEOF 11297 /* confdefs.h. */ 11298 _ACEOF 11299 cat confdefs.h >>conftest.$ac_ext 11300 cat >>conftest.$ac_ext <<_ACEOF 11301 /* end confdefs.h. */ 11302 #include <alsa/version.h> 11303 _ACEOF 11304 if { (ac_try="$ac_cpp conftest.$ac_ext" 11305 case "(($ac_try" in 11306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11307 *) ac_try_echo=$ac_try;; 11308 esac 11309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11310 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11311 ac_status=$? 11312 grep -v '^ *+' conftest.er1 >conftest.err 11313 rm -f conftest.er1 11314 cat conftest.err >&5 11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11316 (exit $ac_status); } >/dev/null && { 11317 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11318 test ! -s conftest.err 11319 }; then 11320 ac_header_preproc=yes 11321 else 11322 echo "$as_me: failed program was:" >&5 11323 sed 's/^/| /' conftest.$ac_ext >&5 11324 11325 ac_header_preproc=no 11326 fi 11327 11328 rm -f conftest.err conftest.$ac_ext 11329 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11330 echo "${ECHO_T}$ac_header_preproc" >&6; } 11331 11332 # So? What about this header? 11333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11334 yes:no: ) 11335 { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 11336 echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11337 { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 11338 echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 11339 ac_header_preproc=yes 11340 ;; 11341 no:yes:* ) 11342 { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 11343 echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 11344 { echo "$as_me:$LINENO: WARNING: alsa/version.h: check for missing prerequisite headers?" >&5 11345 echo "$as_me: WARNING: alsa/version.h: check for missing prerequisite headers?" >&2;} 11346 { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 11347 echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 11348 { echo "$as_me:$LINENO: WARNING: alsa/version.h: section \"Present But Cannot Be Compiled\"" >&5 11349 echo "$as_me: WARNING: alsa/version.h: section \"Present But Cannot Be Compiled\"" >&2;} 11350 { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 11351 echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 11352 { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 11353 echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 11354 11355 ;; 11356 esac 11357 { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 11358 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 11359 if test "${ac_cv_header_alsa_version_h+set}" = set; then 11360 echo $ECHO_N "(cached) $ECHO_C" >&6 11361 else 11362 ac_cv_header_alsa_version_h=$ac_header_preproc 11363 fi 11364 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 11365 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 11366 11367 fi 11368 if test $ac_cv_header_alsa_version_h = yes; then 5578 11369 ac_pa_use_alsa=1 5579 11370 … … 5586 11377 5587 11378 5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&55589 $as_echo "Checking sound device backend... unix" >&6; }11379 { echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 11380 echo "${ECHO_T}Checking sound device backend... unix" >&6; } 5590 11381 5591 11382 ac_pa_use_oss=1 5592 11383 5593 11384 # Check whether --enable-oss was given. 5594 if test "${enable_oss+set}" = set; then :11385 if test "${enable_oss+set}" = set; then 5595 11386 enableval=$enable_oss; 5596 11387 if test "$enable_oss" = "no"; then 5597 11388 ac_pa_use_oss=0 5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&55599 $as_echo "Checking if OSS audio is disabled... yes" >&6; }11389 { echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&5 11390 echo "${ECHO_T}Checking if OSS audio is disabled... yes" >&6; } 5600 11391 fi 5601 11392 … … 5606 11397 fi 5607 11398 11399 11400 if test "$enable_video" = "no"; then 11401 true; 11402 else 11403 case $target in 11404 arm-apple-darwin*) 11405 ac_pjmedia_video=iphone_os 11406 11407 ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" 11408 LIBS="$LIBS -framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 11409 { echo "$as_me:$LINENO: result: Checking video device backend... AVFoundation" >&5 11410 echo "${ECHO_T}Checking video device backend... AVFoundation" >&6; } 11411 ;; 11412 *darwin*) 11413 ac_pjmedia_video=mac_os 11414 11415 11416 SAVED_LIBS="$LIBS" 11417 LIBS="-framework QTKit" 11418 cat >conftest.$ac_ext <<_ACEOF 11419 /* confdefs.h. */ 11420 _ACEOF 11421 cat confdefs.h >>conftest.$ac_ext 11422 cat >>conftest.$ac_ext <<_ACEOF 11423 /* end confdefs.h. */ 11424 11425 int 11426 main () 11427 { 11428 11429 ; 11430 return 0; 11431 } 11432 _ACEOF 11433 rm -f conftest.$ac_objext conftest$ac_exeext 11434 if { (ac_try="$ac_link" 11435 case "(($ac_try" in 11436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11437 *) ac_try_echo=$ac_try;; 11438 esac 11439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11440 (eval "$ac_link") 2>conftest.er1 11441 ac_status=$? 11442 grep -v '^ *+' conftest.er1 >conftest.err 11443 rm -f conftest.er1 11444 cat conftest.err >&5 11445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11446 (exit $ac_status); } && { 11447 test -z "$ac_c_werror_flag" || 11448 test ! -s conftest.err 11449 } && test -s conftest$ac_exeext && 11450 $as_test_x conftest$ac_exeext; then 11451 ac_pjmedia_video_has_qt=yes 11452 else 11453 echo "$as_me: failed program was:" >&5 11454 sed 's/^/| /' conftest.$ac_ext >&5 11455 11456 ac_pjmedia_video_has_qt=no 11457 fi 11458 11459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11460 conftest$ac_exeext conftest.$ac_ext 11461 LIBS="$SAVED_LIBS" 11462 if test "$ac_pjmedia_video_has_qt" = "yes"; then 11463 ac_qt_cflags="-DPJMEDIA_VIDEO_DEV_HAS_QT=1" 11464 LIBS="$LIBS -framework QTKit -framework Foundation -framework AppKit -framework QuartzCore" 11465 { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... yes" >&5 11466 echo "${ECHO_T}Checking if QTKit framework is available... yes" >&6; } 11467 else 11468 { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... no" >&5 11469 echo "${ECHO_T}Checking if QTKit framework is available... no" >&6; } 11470 fi 11471 ;; 11472 esac 11473 fi 11474 5608 11475 # Check whether --enable-ext_sound was given. 5609 if test "${enable_ext_sound+set}" = set; then :11476 if test "${enable_ext_sound+set}" = set; then 5610 11477 enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 5611 11478 ac_pjmedia_snd=external 5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&55613 $as_echo "Checking if external sound is set... yes" >&6; }11479 { echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&5 11480 echo "${ECHO_T}Checking if external sound is set... yes" >&6; } 5614 11481 fi 5615 11482 … … 5619 11486 5620 11487 # Check whether --enable-small-filter was given. 5621 if test "${enable_small_filter+set}" = set; then :11488 if test "${enable_small_filter+set}" = set; then 5622 11489 enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 5623 11490 ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&55625 $as_echo "Checking if small filter is disabled... yes" >&6; }11491 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 11492 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6; } 5626 11493 fi 5627 11494 else 5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&55629 $as_echo "Checking if small filter is disabled... no" >&6; }11495 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 11496 echo "${ECHO_T}Checking if small filter is disabled... no" >&6; } 5630 11497 fi 5631 11498 … … 5633 11500 5634 11501 # Check whether --enable-large-filter was given. 5635 if test "${enable_large_filter+set}" = set; then :11502 if test "${enable_large_filter+set}" = set; then 5636 11503 enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 5637 11504 ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&55639 $as_echo "Checking if large filter is disabled... yes" >&6; }11505 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 11506 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6; } 5640 11507 fi 5641 11508 else 5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&55643 $as_echo "Checking if large filter is disabled... no" >&6; }11509 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 11510 echo "${ECHO_T}Checking if large filter is disabled... no" >&6; } 5644 11511 fi 5645 11512 … … 5647 11514 5648 11515 # Check whether --enable-speex-aec was given. 5649 if test "${enable_speex_aec+set}" = set; then :11516 if test "${enable_speex_aec+set}" = set; then 5650 11517 enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 5651 11518 ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&55653 $as_echo "Checking if Speex AEC is disabled...yes" >&6; }11519 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 11520 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6; } 5654 11521 fi 5655 11522 else 5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&55657 $as_echo "Checking if Speex AEC is disabled...no" >&6; }11523 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 11524 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6; } 5658 11525 fi 5659 11526 … … 5661 11528 5662 11529 # Check whether --enable-g711-codec was given. 5663 if test "${enable_g711_codec+set}" = set; then :11530 if test "${enable_g711_codec+set}" = set; then 5664 11531 enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 5665 11532 ac_no_g711_codec=1 5666 $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h 5667 5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 5669 $as_echo "Checking if G.711 codec is disabled...yes" >&6; } 11533 cat >>confdefs.h <<\_ACEOF 11534 #define PJMEDIA_HAS_G711_CODEC 0 11535 _ACEOF 11536 11537 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 11538 echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6; } 5670 11539 fi 5671 11540 else 5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&55673 $as_echo "Checking if G.711 codec is disabled...no" >&6; }11541 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 11542 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6; } 5674 11543 fi 5675 11544 … … 5678 11547 5679 11548 # Check whether --enable-l16-codec was given. 5680 if test "${enable_l16_codec+set}" = set; then :11549 if test "${enable_l16_codec+set}" = set; then 5681 11550 enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 5682 11551 ac_no_l16_codec=1 5683 $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h 5684 5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 5686 $as_echo "Checking if L16 codecs are disabled...yes" >&6; } 11552 cat >>confdefs.h <<\_ACEOF 11553 #define PJMEDIA_HAS_L16_CODEC 0 11554 _ACEOF 11555 11556 { echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 11557 echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6; } 5687 11558 fi 5688 11559 else 5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&55690 $as_echo "Checking if L16 codec is disabled...no" >&6; }11560 { echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&5 11561 echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6; } 5691 11562 fi 5692 11563 … … 5695 11566 5696 11567 # Check whether --enable-gsm-codec was given. 5697 if test "${enable_gsm_codec+set}" = set; then :11568 if test "${enable_gsm_codec+set}" = set; then 5698 11569 enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 5699 11570 ac_no_gsm_codec=1 5700 $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h 5701 5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 5703 $as_echo "Checking if GSM codec is disabled...yes" >&6; } 11571 cat >>confdefs.h <<\_ACEOF 11572 #define PJMEDIA_HAS_GSM_CODEC 0 11573 _ACEOF 11574 11575 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 11576 echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6; } 5704 11577 fi 5705 11578 else 5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&55707 $as_echo "Checking if GSM codec is disabled...no" >&6; }11579 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 11580 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6; } 5708 11581 fi 5709 11582 … … 5711 11584 5712 11585 # Check whether --enable-g722-codec was given. 5713 if test "${enable_g722_codec+set}" = set; then :11586 if test "${enable_g722_codec+set}" = set; then 5714 11587 enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 5715 11588 ac_no_g722_codec=1 5716 $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h 5717 5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 5719 $as_echo "Checking if G.722 codec is disabled...yes" >&6; } 11589 cat >>confdefs.h <<\_ACEOF 11590 #define PJMEDIA_HAS_G722_CODEC 0 11591 _ACEOF 11592 11593 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 11594 echo "${ECHO_T}Checking if G.722 codec is disabled...yes" >&6; } 5720 11595 fi 5721 11596 else 5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&55723 $as_echo "Checking if G.722 codec is disabled...no" >&6; }11597 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&5 11598 echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6; } 5724 11599 fi 5725 11600 … … 5727 11602 5728 11603 # Check whether --enable-g7221-codec was given. 5729 if test "${enable_g7221_codec+set}" = set; then :11604 if test "${enable_g7221_codec+set}" = set; then 5730 11605 enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then 5731 11606 ac_no_g7221_codec=1 5732 $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h 5733 5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 5735 $as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } 11607 cat >>confdefs.h <<\_ACEOF 11608 #define PJMEDIA_HAS_G7221_CODEC 0 11609 _ACEOF 11610 11611 { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...yes" >&5 11612 echo "${ECHO_T}Checking if G.722.1 codec is disabled...yes" >&6; } 5736 11613 fi 5737 11614 else 5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&55739 $as_echo "Checking if G.722.1 codec is disabled...no" >&6; }11615 { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...no" >&5 11616 echo "${ECHO_T}Checking if G.722.1 codec is disabled...no" >&6; } 5740 11617 fi 5741 11618 … … 5743 11620 5744 11621 # Check whether --enable-speex-codec was given. 5745 if test "${enable_speex_codec+set}" = set; then :11622 if test "${enable_speex_codec+set}" = set; then 5746 11623 enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 5747 11624 ac_no_speex_codec=1 5748 $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h 5749 5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 5751 $as_echo "Checking if Speex codec is disabled...yes" >&6; } 11625 cat >>confdefs.h <<\_ACEOF 11626 #define PJMEDIA_HAS_SPEEX_CODEC 0 11627 _ACEOF 11628 11629 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 11630 echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6; } 5752 11631 fi 5753 11632 else 5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&55755 $as_echo "Checking if Speex codec is disabled...no" >&6; }11633 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 11634 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6; } 5756 11635 fi 5757 11636 … … 5759 11638 5760 11639 # Check whether --enable-ilbc-codec was given. 5761 if test "${enable_ilbc_codec+set}" = set; then :11640 if test "${enable_ilbc_codec+set}" = set; then 5762 11641 enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 5763 11642 ac_no_ilbc_codec=1 5764 $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h 5765 5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 5767 $as_echo "Checking if iLBC codec is disabled...yes" >&6; } 11643 cat >>confdefs.h <<\_ACEOF 11644 #define PJMEDIA_HAS_ILBC_CODEC 0 11645 _ACEOF 11646 11647 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 11648 echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6; } 5768 11649 fi 5769 11650 else 5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&55771 $as_echo "Checking if iLBC codec is disabled...no" >&6; }11651 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 11652 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6; } 5772 11653 fi 5773 11654 5774 11655 5775 11656 # Check whether --enable-libsamplerate was given. 5776 if test "${enable_libsamplerate+set}" = set; then : 5777 enableval=$enable_libsamplerate; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 5778 $as_echo_n "checking for src_new in -lsamplerate... " >&6; } 5779 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 5780 $as_echo_n "(cached) " >&6 11657 if test "${enable_libsamplerate+set}" = set; then 11658 enableval=$enable_libsamplerate; 11659 { echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 11660 echo $ECHO_N "checking for src_new in -lsamplerate... $ECHO_C" >&6; } 11661 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then 11662 echo $ECHO_N "(cached) $ECHO_C" >&6 5781 11663 else 5782 11664 ac_check_lib_save_LIBS=$LIBS 5783 11665 LIBS="-lsamplerate $LIBS" 5784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11666 cat >conftest.$ac_ext <<_ACEOF 11667 /* confdefs.h. */ 11668 _ACEOF 11669 cat confdefs.h >>conftest.$ac_ext 11670 cat >>conftest.$ac_ext <<_ACEOF 5785 11671 /* end confdefs.h. */ 5786 11672 … … 5800 11686 } 5801 11687 _ACEOF 5802 if ac_fn_c_try_link "$LINENO"; then : 11688 rm -f conftest.$ac_objext conftest$ac_exeext 11689 if { (ac_try="$ac_link" 11690 case "(($ac_try" in 11691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11692 *) ac_try_echo=$ac_try;; 11693 esac 11694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11695 (eval "$ac_link") 2>conftest.er1 11696 ac_status=$? 11697 grep -v '^ *+' conftest.er1 >conftest.err 11698 rm -f conftest.er1 11699 cat conftest.err >&5 11700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11701 (exit $ac_status); } && { 11702 test -z "$ac_c_werror_flag" || 11703 test ! -s conftest.err 11704 } && test -s conftest$ac_exeext && 11705 $as_test_x conftest$ac_exeext; then 5803 11706 ac_cv_lib_samplerate_src_new=yes 5804 11707 else 5805 ac_cv_lib_samplerate_src_new=no 5806 fi 5807 rm -f core conftest.err conftest.$ac_objext \ 5808 conftest$ac_exeext conftest.$ac_ext 11708 echo "$as_me: failed program was:" >&5 11709 sed 's/^/| /' conftest.$ac_ext >&5 11710 11711 ac_cv_lib_samplerate_src_new=no 11712 fi 11713 11714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11715 conftest$ac_exeext conftest.$ac_ext 5809 11716 LIBS=$ac_check_lib_save_LIBS 5810 11717 fi 5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&55812 $as_echo "$ac_cv_lib_samplerate_src_new" >&6; }5813 if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then :11718 { echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&5 11719 echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6; } 11720 if test $ac_cv_lib_samplerate_src_new = yes; then 5814 11721 cat >>confdefs.h <<_ACEOF 5815 11722 #define HAVE_LIBSAMPLERATE 1 … … 5821 11728 5822 11729 else 5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&55824 $as_echo "Skipping libsamplerate detection" >&6; }11730 { echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&5 11731 echo "${ECHO_T}Skipping libsamplerate detection" >&6; } 5825 11732 5826 11733 fi … … 5828 11735 5829 11736 # Check whether --enable-sdl was given. 5830 if test "${enable_sdl+set}" = set; then :11737 if test "${enable_sdl+set}" = set; then 5831 11738 enableval=$enable_sdl; 5832 11739 if test "$enable_sdl" = "no"; then 5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SDL is disabled... yes" >&55834 $as_echo "Checking if SDL is disabled... yes" >&6; }11740 { echo "$as_me:$LINENO: result: Checking if SDL is disabled... yes" >&5 11741 echo "${ECHO_T}Checking if SDL is disabled... yes" >&6; } 5835 11742 fi 5836 11743 5837 11744 else 5838 11745 5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDL availability.." >&55840 $as_echo_n "checking SDL availability....." >&6; }11746 { echo "$as_me:$LINENO: checking SDL availability.." >&5 11747 echo $ECHO_N "checking SDL availability..... $ECHO_C" >&6; } 5841 11748 if sdl-config --version; then 5842 11749 … … 5853 11760 5854 11761 # Check whether --enable-ffmpeg was given. 5855 if test "${enable_ffmpeg+set}" = set; then :11762 if test "${enable_ffmpeg+set}" = set; then 5856 11763 enableval=$enable_ffmpeg; 5857 11764 ac_has_ffmpeg=0 5858 11765 5859 11766 if test "$enable_ffmpeg" = "no"; then 5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if ffmpeg is disabled... yes" >&55861 $as_echo "Checking if ffmpeg is disabled... yes" >&6; }11767 { echo "$as_me:$LINENO: result: Checking if ffmpeg is disabled... yes" >&5 11768 echo "${ECHO_T}Checking if ffmpeg is disabled... yes" >&6; } 5862 11769 fi 5863 11770 … … 5867 11774 5868 11775 5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avdevice_version in -lavdevice" >&55870 $as_echo_n "checking for avdevice_version in -lavdevice..." >&6; }5871 if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then :5872 $as_echo_n "(cached)" >&611776 { echo "$as_me:$LINENO: checking for avdevice_version in -lavdevice" >&5 11777 echo $ECHO_N "checking for avdevice_version in -lavdevice... $ECHO_C" >&6; } 11778 if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then 11779 echo $ECHO_N "(cached) $ECHO_C" >&6 5873 11780 else 5874 11781 ac_check_lib_save_LIBS=$LIBS 5875 11782 LIBS="-lavdevice $LIBS" 5876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11783 cat >conftest.$ac_ext <<_ACEOF 11784 /* confdefs.h. */ 11785 _ACEOF 11786 cat confdefs.h >>conftest.$ac_ext 11787 cat >>conftest.$ac_ext <<_ACEOF 5877 11788 /* end confdefs.h. */ 5878 11789 … … 5892 11803 } 5893 11804 _ACEOF 5894 if ac_fn_c_try_link "$LINENO"; then : 11805 rm -f conftest.$ac_objext conftest$ac_exeext 11806 if { (ac_try="$ac_link" 11807 case "(($ac_try" in 11808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11809 *) ac_try_echo=$ac_try;; 11810 esac 11811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11812 (eval "$ac_link") 2>conftest.er1 11813 ac_status=$? 11814 grep -v '^ *+' conftest.er1 >conftest.err 11815 rm -f conftest.er1 11816 cat conftest.err >&5 11817 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11818 (exit $ac_status); } && { 11819 test -z "$ac_c_werror_flag" || 11820 test ! -s conftest.err 11821 } && test -s conftest$ac_exeext && 11822 $as_test_x conftest$ac_exeext; then 5895 11823 ac_cv_lib_avdevice_avdevice_version=yes 5896 11824 else 5897 ac_cv_lib_avdevice_avdevice_version=no 5898 fi 5899 rm -f core conftest.err conftest.$ac_objext \ 5900 conftest$ac_exeext conftest.$ac_ext 11825 echo "$as_me: failed program was:" >&5 11826 sed 's/^/| /' conftest.$ac_ext >&5 11827 11828 ac_cv_lib_avdevice_avdevice_version=no 11829 fi 11830 11831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11832 conftest$ac_exeext conftest.$ac_ext 5901 11833 LIBS=$ac_check_lib_save_LIBS 5902 11834 fi 5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avdevice_avdevice_version" >&55904 $as_echo "$ac_cv_lib_avdevice_avdevice_version" >&6; }5905 if test "x$ac_cv_lib_avdevice_avdevice_version" = x""yes; then :11835 { echo "$as_me:$LINENO: result: $ac_cv_lib_avdevice_avdevice_version" >&5 11836 echo "${ECHO_T}$ac_cv_lib_avdevice_avdevice_version" >&6; } 11837 if test $ac_cv_lib_avdevice_avdevice_version = yes; then 5906 11838 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" 5907 11839 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavdevice" … … 5910 11842 fi 5911 11843 5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_register_all in -lavformat" >&55913 $as_echo_n "checking for av_register_all in -lavformat..." >&6; }5914 if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then :5915 $as_echo_n "(cached)" >&611844 { echo "$as_me:$LINENO: checking for av_register_all in -lavformat" >&5 11845 echo $ECHO_N "checking for av_register_all in -lavformat... $ECHO_C" >&6; } 11846 if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then 11847 echo $ECHO_N "(cached) $ECHO_C" >&6 5916 11848 else 5917 11849 ac_check_lib_save_LIBS=$LIBS 5918 11850 LIBS="-lavformat $LIBS" 5919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11851 cat >conftest.$ac_ext <<_ACEOF 11852 /* confdefs.h. */ 11853 _ACEOF 11854 cat confdefs.h >>conftest.$ac_ext 11855 cat >>conftest.$ac_ext <<_ACEOF 5920 11856 /* end confdefs.h. */ 5921 11857 … … 5935 11871 } 5936 11872 _ACEOF 5937 if ac_fn_c_try_link "$LINENO"; then : 11873 rm -f conftest.$ac_objext conftest$ac_exeext 11874 if { (ac_try="$ac_link" 11875 case "(($ac_try" in 11876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11877 *) ac_try_echo=$ac_try;; 11878 esac 11879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11880 (eval "$ac_link") 2>conftest.er1 11881 ac_status=$? 11882 grep -v '^ *+' conftest.er1 >conftest.err 11883 rm -f conftest.er1 11884 cat conftest.err >&5 11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11886 (exit $ac_status); } && { 11887 test -z "$ac_c_werror_flag" || 11888 test ! -s conftest.err 11889 } && test -s conftest$ac_exeext && 11890 $as_test_x conftest$ac_exeext; then 5938 11891 ac_cv_lib_avformat_av_register_all=yes 5939 11892 else 5940 ac_cv_lib_avformat_av_register_all=no 5941 fi 5942 rm -f core conftest.err conftest.$ac_objext \ 5943 conftest$ac_exeext conftest.$ac_ext 11893 echo "$as_me: failed program was:" >&5 11894 sed 's/^/| /' conftest.$ac_ext >&5 11895 11896 ac_cv_lib_avformat_av_register_all=no 11897 fi 11898 11899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11900 conftest$ac_exeext conftest.$ac_ext 5944 11901 LIBS=$ac_check_lib_save_LIBS 5945 11902 fi 5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_register_all" >&55947 $as_echo "$ac_cv_lib_avformat_av_register_all" >&6; }5948 if test "x$ac_cv_lib_avformat_av_register_all" = x""yes; then :11903 { echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_register_all" >&5 11904 echo "${ECHO_T}$ac_cv_lib_avformat_av_register_all" >&6; } 11905 if test $ac_cv_lib_avformat_av_register_all = yes; then 5949 11906 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" 5950 11907 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavformat" … … 5953 11910 fi 5954 11911 5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_init in -lavcodec" >&55956 $as_echo_n "checking for avcodec_init in -lavcodec..." >&6; }5957 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then :5958 $as_echo_n "(cached)" >&611912 { echo "$as_me:$LINENO: checking for avcodec_init in -lavcodec" >&5 11913 echo $ECHO_N "checking for avcodec_init in -lavcodec... $ECHO_C" >&6; } 11914 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then 11915 echo $ECHO_N "(cached) $ECHO_C" >&6 5959 11916 else 5960 11917 ac_check_lib_save_LIBS=$LIBS 5961 11918 LIBS="-lavcodec $LIBS" 5962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11919 cat >conftest.$ac_ext <<_ACEOF 11920 /* confdefs.h. */ 11921 _ACEOF 11922 cat confdefs.h >>conftest.$ac_ext 11923 cat >>conftest.$ac_ext <<_ACEOF 5963 11924 /* end confdefs.h. */ 5964 11925 … … 5978 11939 } 5979 11940 _ACEOF 5980 if ac_fn_c_try_link "$LINENO"; then : 11941 rm -f conftest.$ac_objext conftest$ac_exeext 11942 if { (ac_try="$ac_link" 11943 case "(($ac_try" in 11944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11945 *) ac_try_echo=$ac_try;; 11946 esac 11947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11948 (eval "$ac_link") 2>conftest.er1 11949 ac_status=$? 11950 grep -v '^ *+' conftest.er1 >conftest.err 11951 rm -f conftest.er1 11952 cat conftest.err >&5 11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11954 (exit $ac_status); } && { 11955 test -z "$ac_c_werror_flag" || 11956 test ! -s conftest.err 11957 } && test -s conftest$ac_exeext && 11958 $as_test_x conftest$ac_exeext; then 5981 11959 ac_cv_lib_avcodec_avcodec_init=yes 5982 11960 else 5983 ac_cv_lib_avcodec_avcodec_init=no 5984 fi 5985 rm -f core conftest.err conftest.$ac_objext \ 5986 conftest$ac_exeext conftest.$ac_ext 11961 echo "$as_me: failed program was:" >&5 11962 sed 's/^/| /' conftest.$ac_ext >&5 11963 11964 ac_cv_lib_avcodec_avcodec_init=no 11965 fi 11966 11967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11968 conftest$ac_exeext conftest.$ac_ext 5987 11969 LIBS=$ac_check_lib_save_LIBS 5988 11970 fi 5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_init" >&55990 $as_echo "$ac_cv_lib_avcodec_avcodec_init" >&6; }5991 if test "x$ac_cv_lib_avcodec_avcodec_init" = x""yes; then :11971 { echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_init" >&5 11972 echo "${ECHO_T}$ac_cv_lib_avcodec_avcodec_init" >&6; } 11973 if test $ac_cv_lib_avcodec_avcodec_init = yes; then 5992 11974 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" 5993 11975 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcodec" … … 5996 11978 fi 5997 11979 5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sws_scale in -lswscale" >&55999 $as_echo_n "checking for sws_scale in -lswscale..." >&6; }6000 if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then :6001 $as_echo_n "(cached)" >&611980 { echo "$as_me:$LINENO: checking for sws_scale in -lswscale" >&5 11981 echo $ECHO_N "checking for sws_scale in -lswscale... $ECHO_C" >&6; } 11982 if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then 11983 echo $ECHO_N "(cached) $ECHO_C" >&6 6002 11984 else 6003 11985 ac_check_lib_save_LIBS=$LIBS 6004 11986 LIBS="-lswscale $LIBS" 6005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11987 cat >conftest.$ac_ext <<_ACEOF 11988 /* confdefs.h. */ 11989 _ACEOF 11990 cat confdefs.h >>conftest.$ac_ext 11991 cat >>conftest.$ac_ext <<_ACEOF 6006 11992 /* end confdefs.h. */ 6007 11993 … … 6021 12007 } 6022 12008 _ACEOF 6023 if ac_fn_c_try_link "$LINENO"; then : 12009 rm -f conftest.$ac_objext conftest$ac_exeext 12010 if { (ac_try="$ac_link" 12011 case "(($ac_try" in 12012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12013 *) ac_try_echo=$ac_try;; 12014 esac 12015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12016 (eval "$ac_link") 2>conftest.er1 12017 ac_status=$? 12018 grep -v '^ *+' conftest.er1 >conftest.err 12019 rm -f conftest.er1 12020 cat conftest.err >&5 12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12022 (exit $ac_status); } && { 12023 test -z "$ac_c_werror_flag" || 12024 test ! -s conftest.err 12025 } && test -s conftest$ac_exeext && 12026 $as_test_x conftest$ac_exeext; then 6024 12027 ac_cv_lib_swscale_sws_scale=yes 6025 12028 else 6026 ac_cv_lib_swscale_sws_scale=no 6027 fi 6028 rm -f core conftest.err conftest.$ac_objext \ 6029 conftest$ac_exeext conftest.$ac_ext 12029 echo "$as_me: failed program was:" >&5 12030 sed 's/^/| /' conftest.$ac_ext >&5 12031 12032 ac_cv_lib_swscale_sws_scale=no 12033 fi 12034 12035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12036 conftest$ac_exeext conftest.$ac_ext 6030 12037 LIBS=$ac_check_lib_save_LIBS 6031 12038 fi 6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_sws_scale" >&56033 $as_echo "$ac_cv_lib_swscale_sws_scale" >&6; }6034 if test "x$ac_cv_lib_swscale_sws_scale" = x""yes; then :12039 { echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_sws_scale" >&5 12040 echo "${ECHO_T}$ac_cv_lib_swscale_sws_scale" >&6; } 12041 if test $ac_cv_lib_swscale_sws_scale = yes; then 6035 12042 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 6036 12043 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" … … 6039 12046 fi 6040 12047 6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_malloc in -lavutil" >&56042 $as_echo_n "checking for av_malloc in -lavutil..." >&6; }6043 if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then :6044 $as_echo_n "(cached)" >&612048 { echo "$as_me:$LINENO: checking for av_malloc in -lavutil" >&5 12049 echo $ECHO_N "checking for av_malloc in -lavutil... $ECHO_C" >&6; } 12050 if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then 12051 echo $ECHO_N "(cached) $ECHO_C" >&6 6045 12052 else 6046 12053 ac_check_lib_save_LIBS=$LIBS 6047 12054 LIBS="-lavutil $LIBS" 6048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12055 cat >conftest.$ac_ext <<_ACEOF 12056 /* confdefs.h. */ 12057 _ACEOF 12058 cat confdefs.h >>conftest.$ac_ext 12059 cat >>conftest.$ac_ext <<_ACEOF 6049 12060 /* end confdefs.h. */ 6050 12061 … … 6064 12075 } 6065 12076 _ACEOF 6066 if ac_fn_c_try_link "$LINENO"; then : 12077 rm -f conftest.$ac_objext conftest$ac_exeext 12078 if { (ac_try="$ac_link" 12079 case "(($ac_try" in 12080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12081 *) ac_try_echo=$ac_try;; 12082 esac 12083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12084 (eval "$ac_link") 2>conftest.er1 12085 ac_status=$? 12086 grep -v '^ *+' conftest.er1 >conftest.err 12087 rm -f conftest.er1 12088 cat conftest.err >&5 12089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12090 (exit $ac_status); } && { 12091 test -z "$ac_c_werror_flag" || 12092 test ! -s conftest.err 12093 } && test -s conftest$ac_exeext && 12094 $as_test_x conftest$ac_exeext; then 6067 12095 ac_cv_lib_avutil_av_malloc=yes 6068 12096 else 6069 ac_cv_lib_avutil_av_malloc=no 6070 fi 6071 rm -f core conftest.err conftest.$ac_objext \ 6072 conftest$ac_exeext conftest.$ac_ext 12097 echo "$as_me: failed program was:" >&5 12098 sed 's/^/| /' conftest.$ac_ext >&5 12099 12100 ac_cv_lib_avutil_av_malloc=no 12101 fi 12102 12103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12104 conftest$ac_exeext conftest.$ac_ext 6073 12105 LIBS=$ac_check_lib_save_LIBS 6074 12106 fi 6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_malloc" >&56076 $as_echo "$ac_cv_lib_avutil_av_malloc" >&6; }6077 if test "x$ac_cv_lib_avutil_av_malloc" = x""yes; then :12107 { echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_av_malloc" >&5 12108 echo "${ECHO_T}$ac_cv_lib_avutil_av_malloc" >&6; } 12109 if test $ac_cv_lib_avutil_av_malloc = yes; then 6078 12110 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" 6079 12111 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavutil" … … 6082 12114 fi 6083 12115 6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcore_version in -lavcore" >&56085 $as_echo_n "checking for avcore_version in -lavcore..." >&6; }6086 if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then :6087 $as_echo_n "(cached)" >&612116 { echo "$as_me:$LINENO: checking for avcore_version in -lavcore" >&5 12117 echo $ECHO_N "checking for avcore_version in -lavcore... $ECHO_C" >&6; } 12118 if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then 12119 echo $ECHO_N "(cached) $ECHO_C" >&6 6088 12120 else 6089 12121 ac_check_lib_save_LIBS=$LIBS 6090 12122 LIBS="-lavcore $LIBS" 6091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12123 cat >conftest.$ac_ext <<_ACEOF 12124 /* confdefs.h. */ 12125 _ACEOF 12126 cat confdefs.h >>conftest.$ac_ext 12127 cat >>conftest.$ac_ext <<_ACEOF 6092 12128 /* end confdefs.h. */ 6093 12129 … … 6107 12143 } 6108 12144 _ACEOF 6109 if ac_fn_c_try_link "$LINENO"; then : 12145 rm -f conftest.$ac_objext conftest$ac_exeext 12146 if { (ac_try="$ac_link" 12147 case "(($ac_try" in 12148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12149 *) ac_try_echo=$ac_try;; 12150 esac 12151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12152 (eval "$ac_link") 2>conftest.er1 12153 ac_status=$? 12154 grep -v '^ *+' conftest.er1 >conftest.err 12155 rm -f conftest.er1 12156 cat conftest.err >&5 12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12158 (exit $ac_status); } && { 12159 test -z "$ac_c_werror_flag" || 12160 test ! -s conftest.err 12161 } && test -s conftest$ac_exeext && 12162 $as_test_x conftest$ac_exeext; then 6110 12163 ac_cv_lib_avcore_avcore_version=yes 6111 12164 else 6112 ac_cv_lib_avcore_avcore_version=no 6113 fi 6114 rm -f core conftest.err conftest.$ac_objext \ 6115 conftest$ac_exeext conftest.$ac_ext 12165 echo "$as_me: failed program was:" >&5 12166 sed 's/^/| /' conftest.$ac_ext >&5 12167 12168 ac_cv_lib_avcore_avcore_version=no 12169 fi 12170 12171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12172 conftest$ac_exeext conftest.$ac_ext 6116 12173 LIBS=$ac_check_lib_save_LIBS 6117 12174 fi 6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcore_avcore_version" >&56119 $as_echo "$ac_cv_lib_avcore_avcore_version" >&6; }6120 if test "x$ac_cv_lib_avcore_avcore_version" = x""yes; then :12175 { echo "$as_me:$LINENO: result: $ac_cv_lib_avcore_avcore_version" >&5 12176 echo "${ECHO_T}$ac_cv_lib_avcore_avcore_version" >&6; } 12177 if test $ac_cv_lib_avcore_avcore_version = yes; then 6121 12178 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" 6122 12179 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcore" … … 6132 12189 6133 12190 # Check whether --enable-v4l2 was given. 6134 if test "${enable_v4l2+set}" = set; then :12191 if test "${enable_v4l2+set}" = set; then 6135 12192 enableval=$enable_v4l2; 6136 12193 if test "$enable_v4l2" = "no"; then 6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if V4L2 is disabled... yes" >&56138 $as_echo "Checking if V4L2 is disabled... yes" >&6; }12194 { echo "$as_me:$LINENO: result: Checking if V4L2 is disabled... yes" >&5 12195 echo "${ECHO_T}Checking if V4L2 is disabled... yes" >&6; } 6139 12196 fi 6140 12197 … … 6143 12200 6144 12201 6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for v4l2_open in -lv4l2" >&56146 $as_echo_n "checking for v4l2_open in -lv4l2..." >&6; }6147 if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then :6148 $as_echo_n "(cached)" >&612202 { echo "$as_me:$LINENO: checking for v4l2_open in -lv4l2" >&5 12203 echo $ECHO_N "checking for v4l2_open in -lv4l2... $ECHO_C" >&6; } 12204 if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then 12205 echo $ECHO_N "(cached) $ECHO_C" >&6 6149 12206 else 6150 12207 ac_check_lib_save_LIBS=$LIBS 6151 12208 LIBS="-lv4l2 $LIBS" 6152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12209 cat >conftest.$ac_ext <<_ACEOF 12210 /* confdefs.h. */ 12211 _ACEOF 12212 cat confdefs.h >>conftest.$ac_ext 12213 cat >>conftest.$ac_ext <<_ACEOF 6153 12214 /* end confdefs.h. */ 6154 12215 … … 6168 12229 } 6169 12230 _ACEOF 6170 if ac_fn_c_try_link "$LINENO"; then : 12231 rm -f conftest.$ac_objext conftest$ac_exeext 12232 if { (ac_try="$ac_link" 12233 case "(($ac_try" in 12234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12235 *) ac_try_echo=$ac_try;; 12236 esac 12237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12238 (eval "$ac_link") 2>conftest.er1 12239 ac_status=$? 12240 grep -v '^ *+' conftest.er1 >conftest.err 12241 rm -f conftest.er1 12242 cat conftest.err >&5 12243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12244 (exit $ac_status); } && { 12245 test -z "$ac_c_werror_flag" || 12246 test ! -s conftest.err 12247 } && test -s conftest$ac_exeext && 12248 $as_test_x conftest$ac_exeext; then 6171 12249 ac_cv_lib_v4l2_v4l2_open=yes 6172 12250 else 6173 ac_cv_lib_v4l2_v4l2_open=no 6174 fi 6175 rm -f core conftest.err conftest.$ac_objext \ 6176 conftest$ac_exeext conftest.$ac_ext 12251 echo "$as_me: failed program was:" >&5 12252 sed 's/^/| /' conftest.$ac_ext >&5 12253 12254 ac_cv_lib_v4l2_v4l2_open=no 12255 fi 12256 12257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12258 conftest$ac_exeext conftest.$ac_ext 6177 12259 LIBS=$ac_check_lib_save_LIBS 6178 12260 fi 6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_v4l2_v4l2_open" >&56180 $as_echo "$ac_cv_lib_v4l2_v4l2_open" >&6; }6181 if test "x$ac_cv_lib_v4l2_v4l2_open" = x""yes; then :12261 { echo "$as_me:$LINENO: result: $ac_cv_lib_v4l2_v4l2_open" >&5 12262 echo "${ECHO_T}$ac_cv_lib_v4l2_v4l2_open" >&6; } 12263 if test $ac_cv_lib_v4l2_v4l2_open = yes; then 6182 12264 ac_v4l2_cflags="-DPJMEDIA_VIDEO_DEV_HAS_V4L2=1" 6183 12265 ac_v4l2_ldflags="-lv4l2" … … 6192 12274 6193 12275 # Check whether --enable-ipp was given. 6194 if test "${enable_ipp+set}" = set; then :12276 if test "${enable_ipp+set}" = set; then 6195 12277 enableval=$enable_ipp; 6196 12278 else … … 6202 12284 6203 12285 # Check whether --with-ipp was given. 6204 if test "${with_ipp+set}" = set; then :12286 if test "${with_ipp+set}" = set; then 6205 12287 withval=$with_ipp; 6206 12288 else … … 6212 12294 6213 12295 # Check whether --with-ipp-samples was given. 6214 if test "${with_ipp_samples+set}" = set; then :12296 if test "${with_ipp_samples+set}" = set; then 6215 12297 withval=$with_ipp_samples; 6216 12298 else … … 6222 12304 6223 12305 # Check whether --with-ipp-arch was given. 6224 if test "${with_ipp_arch+set}" = set; then :12306 if test "${with_ipp_arch+set}" = set; then 6225 12307 withval=$with_ipp_arch; 6226 12308 else … … 6231 12313 6232 12314 if test "x$enable_ipp" != "xno"; then 6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&56234 $as_echo_n "checking Intel IPP location..." >&6; }12315 { echo "$as_me:$LINENO: checking Intel IPP location" >&5 12316 echo $ECHO_N "checking Intel IPP location... $ECHO_C" >&6; } 6235 12317 6236 12318 if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&56238 $as_echo "$with_ipp" >&6; }12319 { echo "$as_me:$LINENO: result: $with_ipp" >&5 12320 echo "${ECHO_T}$with_ipp" >&6; } 6239 12321 IPPROOT=$with_ipp 6240 12322 elif test "x$IPPROOT" = "x"; then 6241 12323 if test -d /opt/intel/ipp; then 6242 12324 IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&56244 $as_echo "autodetected in $IPPROOT" >&6; }12325 { echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&5 12326 echo "${ECHO_T}autodetected in $IPPROOT" >&6; } 6245 12327 fi 6246 12328 else 6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&56248 $as_echo "$IPPROOT" >&6; }12329 { echo "$as_me:$LINENO: result: $IPPROOT" >&5 12330 echo "${ECHO_T}$IPPROOT" >&6; } 6249 12331 fi 6250 12332 6251 12333 if test "x$with_ipp_arch" != "xno"; then 6252 12334 IPP_SUFFIX=$with_ipp_arch 6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to $IPP_SUFFIX" >&56254 $as_echo "IPP arch suffix is set to $IPP_SUFFIX" >&6; }12335 { echo "$as_me:$LINENO: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 12336 echo "${ECHO_T}IPP arch suffix is set to $IPP_SUFFIX" >&6; } 6255 12337 else 6256 12338 IPP_SUFFIX="" 6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to empty" >&56258 $as_echo "IPP arch suffix is set to empty" >&6; }12339 { echo "$as_me:$LINENO: result: IPP arch suffix is set to empty" >&5 12340 echo "${ECHO_T}IPP arch suffix is set to empty" >&6; } 6259 12341 fi 6260 12342 6261 12343 if test x$IPPROOT = x; then 6262 as_fn_error "the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" "$LINENO" 5 12344 { { echo "$as_me:$LINENO: error: the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" >&5 12345 echo "$as_me: error: the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" >&2;} 12346 { (exit 1); exit 1; }; } 6263 12347 elif test ! -d $IPPROOT; then 6264 as_fn_error "not found" "$LINENO" 5 12348 { { echo "$as_me:$LINENO: error: not found" >&5 12349 echo "$as_me: error: not found" >&2;} 12350 { (exit 1); exit 1; }; } 6265 12351 elif test ! -d $IPPROOT/include; then 6266 as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 12352 { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 12353 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 12354 { (exit 1); exit 1; }; } 6267 12355 else 6268 12356 # IPP directory looks okay. … … 6297 12385 6298 12386 6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 6300 $as_echo_n "checking Intel IPP usability... " >&6; } 6301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12387 { echo "$as_me:$LINENO: checking Intel IPP usability" >&5 12388 echo $ECHO_N "checking Intel IPP usability... $ECHO_C" >&6; } 12389 cat >conftest.$ac_ext <<_ACEOF 12390 /* confdefs.h. */ 12391 _ACEOF 12392 cat confdefs.h >>conftest.$ac_ext 12393 cat >>conftest.$ac_ext <<_ACEOF 6302 12394 /* end confdefs.h. */ 6303 12395 #include <ippcore.h> … … 6311 12403 } 6312 12404 _ACEOF 6313 if ac_fn_c_try_link "$LINENO"; then : 6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6315 $as_echo "ok" >&6; } 6316 else 6317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6319 { as_fn_set_status run with --help for more info 6320 as_fn_error "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 6321 See \`config.log' for more details." "$LINENO" 5; }; } 6322 fi 6323 rm -f core conftest.err conftest.$ac_objext \ 6324 conftest$ac_exeext conftest.$ac_ext 12405 rm -f conftest.$ac_objext conftest$ac_exeext 12406 if { (ac_try="$ac_link" 12407 case "(($ac_try" in 12408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12409 *) ac_try_echo=$ac_try;; 12410 esac 12411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12412 (eval "$ac_link") 2>conftest.er1 12413 ac_status=$? 12414 grep -v '^ *+' conftest.er1 >conftest.err 12415 rm -f conftest.er1 12416 cat conftest.err >&5 12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12418 (exit $ac_status); } && { 12419 test -z "$ac_c_werror_flag" || 12420 test ! -s conftest.err 12421 } && test -s conftest$ac_exeext && 12422 $as_test_x conftest$ac_exeext; then 12423 { echo "$as_me:$LINENO: result: ok" >&5 12424 echo "${ECHO_T}ok" >&6; } 12425 else 12426 echo "$as_me: failed program was:" >&5 12427 sed 's/^/| /' conftest.$ac_ext >&5 12428 12429 { { echo "$as_me:$LINENO: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 12430 See \`config.log' for more details." >&5 12431 echo "$as_me: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 12432 See \`config.log' for more details." >&2;} 12433 { (exit run with --help for more info); exit run with --help for more info; }; } 12434 fi 12435 12436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12437 conftest$ac_exeext conftest.$ac_ext 6325 12438 6326 12439 CFLAGS="$SAVED_CFLAGS" … … 6329 12442 fi 6330 12443 6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&56332 $as_echo_n "checking Intel IPP samples location..." >&6; }12444 { echo "$as_me:$LINENO: checking Intel IPP samples location" >&5 12445 echo $ECHO_N "checking Intel IPP samples location... $ECHO_C" >&6; } 6333 12446 6334 12447 if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&56336 $as_echo "$with_ipp_samples" >&6; }12448 { echo "$as_me:$LINENO: result: $with_ipp_samples" >&5 12449 echo "${ECHO_T}$with_ipp_samples" >&6; } 6337 12450 IPPSAMPLES=$with_ipp_samples 6338 12451 elif test "x$IPPSAMPLES" = "x"; then 6339 12452 if test -d /opt/intel/ipp-samples; then 6340 12453 IPPSAMPLES=/opt/intel/ipp-samples 6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&56342 $as_echo "autodetected in $IPPSAMPLES" >&6; }12454 { echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&5 12455 echo "${ECHO_T}autodetected in $IPPSAMPLES" >&6; } 6343 12456 fi 6344 12457 else 6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&56346 $as_echo "$IPPSAMPLES" >&6; }12458 { echo "$as_me:$LINENO: result: $IPPSAMPLES" >&5 12459 echo "${ECHO_T}$IPPSAMPLES" >&6; } 6347 12460 fi 6348 12461 6349 12462 if test x$IPPSAMPLES = x; then 6350 as_fn_error "the location is neither specified nor can be guessed. Please specify with IPPSAMPLES env var or with --with-ipp-samples option" "$LINENO" 5 12463 { { echo "$as_me:$LINENO: error: the location is neither specified nor can be guessed. Please specify with IPPSAMPLES env var or with --with-ipp-samples option" >&5 12464 echo "$as_me: error: the location is neither specified nor can be guessed. Please specify with IPPSAMPLES env var or with --with-ipp-samples option" >&2;} 12465 { (exit 1); exit 1; }; } 6351 12466 elif test ! -d $IPPSAMPLES; then 6352 as_fn_error "not found" "$LINENO" 5 12467 { { echo "$as_me:$LINENO: error: not found" >&5 12468 echo "$as_me: error: not found" >&2;} 12469 { (exit 1); exit 1; }; } 6353 12470 elif test ! -d $IPPSAMPLES/speech-codecs; then 6354 as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 12471 { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 12472 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 12473 { (exit 1); exit 1; }; } 6355 12474 else 6356 12475 # Remove trailing backslash … … 6358 12477 6359 12478 # Guess the libusc.a/libspeech.a build location 6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&56361 $as_echo_n "checking Intel IPP USC build location..." >&6; }12479 { echo "$as_me:$LINENO: checking Intel IPP USC build location" >&5 12480 echo $ECHO_N "checking Intel IPP USC build location... $ECHO_C" >&6; } 6362 12481 if test -d $IPPSAMPLES/speech-codecs/bin; then 6363 12482 IPPVER=5 … … 6372 12491 IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*icc*/lib | head -1` 6373 12492 else 6374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6376 as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 6377 See \`config.log' for more details." "$LINENO" 5; } 12493 { { echo "$as_me:$LINENO: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 12494 See \`config.log' for more details." >&5 12495 echo "$as_me: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 12496 See \`config.log' for more details." >&2;} 12497 { (exit 1); exit 1; }; } 6378 12498 fi 6379 12499 else 6380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6382 as_fn_error "unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 6383 See \`config.log' for more details." "$LINENO" 5; } 12500 { { echo "$as_me:$LINENO: error: unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 12501 See \`config.log' for more details." >&5 12502 echo "$as_me: error: unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 12503 See \`config.log' for more details." >&2;} 12504 { (exit 1); exit 1; }; } 6384 12505 fi 6385 12506 6386 12507 # Test the directory 6387 12508 if test ! -d $IPPSAMP_DIR; then 6388 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6390 as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 6391 See \`config.log' for more details." "$LINENO" 5; } 12509 { { echo "$as_me:$LINENO: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 12510 See \`config.log' for more details." >&5 12511 echo "$as_me: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 12512 See \`config.log' for more details." >&2;} 12513 { (exit 1); exit 1; }; } 6392 12514 exit 1; 6393 12515 fi … … 6400 12522 IPPSAMP_LDLIBS="-lspeech" 6401 12523 else 6402 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6404 as_fn_error "bug in this script: unsupported IPP version 6405 See \`config.log' for more details." "$LINENO" 5; } 12524 { { echo "$as_me:$LINENO: error: bug in this script: unsupported IPP version 12525 See \`config.log' for more details." >&5 12526 echo "$as_me: error: bug in this script: unsupported IPP version 12527 See \`config.log' for more details." >&2;} 12528 { (exit 1); exit 1; }; } 6406 12529 fi 6407 12530 6408 12531 if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then 6409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6411 as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 6412 See \`config.log' for more details." "$LINENO" 5; } 12532 { { echo "$as_me:$LINENO: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 12533 See \`config.log' for more details." >&5 12534 echo "$as_me: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 12535 See \`config.log' for more details." >&2;} 12536 { (exit 1); exit 1; }; } 6413 12537 fi 6414 12538 6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMP_DIR" >&56416 $as_echo "$IPPSAMP_DIR" >&6; }12539 { echo "$as_me:$LINENO: result: $IPPSAMP_DIR" >&5 12540 echo "${ECHO_T}$IPPSAMP_DIR" >&6; } 6417 12541 6418 12542 SAVED_CFLAGS="$CFLAGS" … … 6425 12549 LIBS="$IPPSAMP_LDLIBS $LIBS" 6426 12550 6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 6428 $as_echo_n "checking Intel IPP USC usability... " >&6; } 6429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12551 { echo "$as_me:$LINENO: checking Intel IPP USC usability" >&5 12552 echo $ECHO_N "checking Intel IPP USC usability... $ECHO_C" >&6; } 12553 cat >conftest.$ac_ext <<_ACEOF 12554 /* confdefs.h. */ 12555 _ACEOF 12556 cat confdefs.h >>conftest.$ac_ext 12557 cat >>conftest.$ac_ext <<_ACEOF 6430 12558 /* end confdefs.h. */ 6431 12559 #include <usc.h> … … 6439 12567 } 6440 12568 _ACEOF 6441 if ac_fn_c_try_link "$LINENO"; then : 6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6443 $as_echo "ok" >&6; } 6444 else 6445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6447 as_fn_error "failed 6448 See \`config.log' for more details." "$LINENO" 5; } 6449 fi 6450 rm -f core conftest.err conftest.$ac_objext \ 6451 conftest$ac_exeext conftest.$ac_ext 12569 rm -f conftest.$ac_objext conftest$ac_exeext 12570 if { (ac_try="$ac_link" 12571 case "(($ac_try" in 12572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12573 *) ac_try_echo=$ac_try;; 12574 esac 12575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12576 (eval "$ac_link") 2>conftest.er1 12577 ac_status=$? 12578 grep -v '^ *+' conftest.er1 >conftest.err 12579 rm -f conftest.er1 12580 cat conftest.err >&5 12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12582 (exit $ac_status); } && { 12583 test -z "$ac_c_werror_flag" || 12584 test ! -s conftest.err 12585 } && test -s conftest$ac_exeext && 12586 $as_test_x conftest$ac_exeext; then 12587 { echo "$as_me:$LINENO: result: ok" >&5 12588 echo "${ECHO_T}ok" >&6; } 12589 else 12590 echo "$as_me: failed program was:" >&5 12591 sed 's/^/| /' conftest.$ac_ext >&5 12592 12593 { { echo "$as_me:$LINENO: error: failed 12594 See \`config.log' for more details." >&5 12595 echo "$as_me: error: failed 12596 See \`config.log' for more details." >&2;} 12597 { (exit 1); exit 1; }; } 12598 fi 12599 12600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12601 conftest$ac_exeext conftest.$ac_ext 6452 12602 6453 12603 CFLAGS="$SAVED_CFLAGS" … … 6469 12619 export IPP_LIBS=$IPP_LIBS" 6470 12620 else 6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&56472 $as_echo "Skipping Intel IPP settings (not wanted)" >&6; }12621 { echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&5 12622 echo "${ECHO_T}Skipping Intel IPP settings (not wanted)" >&6; } 6473 12623 fi 6474 12624 … … 6477 12627 6478 12628 # Check whether --enable-ssl was given. 6479 if test "${enable_ssl+set}" = set; then :12629 if test "${enable_ssl+set}" = set; then 6480 12630 enableval=$enable_ssl; 6481 12631 if test "$enable_ssl" = "no"; then 6482 12632 ac_no_ssl=1 6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&56484 $as_echo "Checking if SSL support is disabled... yes" >&6; }12633 { echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&5 12634 echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6; } 6485 12635 fi 6486 12636 6487 12637 else 6488 12638 6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 6490 $as_echo "checking for OpenSSL installations.." >&6; } 6491 6492 6493 6494 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 6495 if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 12639 { echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 12640 echo "${ECHO_T}checking for OpenSSL installations.." >&6; } 12641 12642 12643 12644 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 12645 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 12646 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 12647 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 12648 echo $ECHO_N "(cached) $ECHO_C" >&6 12649 fi 12650 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 12651 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 12652 else 12653 # Is the header compilable? 12654 { echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 12655 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; } 12656 cat >conftest.$ac_ext <<_ACEOF 12657 /* confdefs.h. */ 12658 _ACEOF 12659 cat confdefs.h >>conftest.$ac_ext 12660 cat >>conftest.$ac_ext <<_ACEOF 12661 /* end confdefs.h. */ 12662 $ac_includes_default 12663 #include <openssl/ssl.h> 12664 _ACEOF 12665 rm -f conftest.$ac_objext 12666 if { (ac_try="$ac_compile" 12667 case "(($ac_try" in 12668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12669 *) ac_try_echo=$ac_try;; 12670 esac 12671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12672 (eval "$ac_compile") 2>conftest.er1 12673 ac_status=$? 12674 grep -v '^ *+' conftest.er1 >conftest.err 12675 rm -f conftest.er1 12676 cat conftest.err >&5 12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12678 (exit $ac_status); } && { 12679 test -z "$ac_c_werror_flag" || 12680 test ! -s conftest.err 12681 } && test -s conftest.$ac_objext; then 12682 ac_header_compiler=yes 12683 else 12684 echo "$as_me: failed program was:" >&5 12685 sed 's/^/| /' conftest.$ac_ext >&5 12686 12687 ac_header_compiler=no 12688 fi 12689 12690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12691 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12692 echo "${ECHO_T}$ac_header_compiler" >&6; } 12693 12694 # Is the header present? 12695 { echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 12696 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; } 12697 cat >conftest.$ac_ext <<_ACEOF 12698 /* confdefs.h. */ 12699 _ACEOF 12700 cat confdefs.h >>conftest.$ac_ext 12701 cat >>conftest.$ac_ext <<_ACEOF 12702 /* end confdefs.h. */ 12703 #include <openssl/ssl.h> 12704 _ACEOF 12705 if { (ac_try="$ac_cpp conftest.$ac_ext" 12706 case "(($ac_try" in 12707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12708 *) ac_try_echo=$ac_try;; 12709 esac 12710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12711 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12712 ac_status=$? 12713 grep -v '^ *+' conftest.er1 >conftest.err 12714 rm -f conftest.er1 12715 cat conftest.err >&5 12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12717 (exit $ac_status); } >/dev/null && { 12718 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 12719 test ! -s conftest.err 12720 }; then 12721 ac_header_preproc=yes 12722 else 12723 echo "$as_me: failed program was:" >&5 12724 sed 's/^/| /' conftest.$ac_ext >&5 12725 12726 ac_header_preproc=no 12727 fi 12728 12729 rm -f conftest.err conftest.$ac_ext 12730 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12731 echo "${ECHO_T}$ac_header_preproc" >&6; } 12732 12733 # So? What about this header? 12734 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 12735 yes:no: ) 12736 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 12737 echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 12738 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 12739 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 12740 ac_header_preproc=yes 12741 ;; 12742 no:yes:* ) 12743 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 12744 echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 12745 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&5 12746 echo "$as_me: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&2;} 12747 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 12748 echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 12749 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5 12750 echo "$as_me: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;} 12751 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 12752 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 12753 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 12754 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 12755 12756 ;; 12757 esac 12758 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 12759 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 12760 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 12761 echo $ECHO_N "(cached) $ECHO_C" >&6 12762 else 12763 ac_cv_header_openssl_ssl_h=$ac_header_preproc 12764 fi 12765 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 12766 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 12767 12768 fi 12769 if test $ac_cv_header_openssl_ssl_h = yes; then 6496 12770 openssl_h_present=1 6497 12771 fi 6498 12772 6499 12773 6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&56501 $as_echo_n "checking for ERR_load_BIO_strings in -lcrypto..." >&6; }6502 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then :6503 $as_echo_n "(cached)" >&612774 { echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&5 12775 echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6; } 12776 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 12777 echo $ECHO_N "(cached) $ECHO_C" >&6 6504 12778 else 6505 12779 ac_check_lib_save_LIBS=$LIBS 6506 12780 LIBS="-lcrypto $LIBS" 6507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12781 cat >conftest.$ac_ext <<_ACEOF 12782 /* confdefs.h. */ 12783 _ACEOF 12784 cat confdefs.h >>conftest.$ac_ext 12785 cat >>conftest.$ac_ext <<_ACEOF 6508 12786 /* end confdefs.h. */ 6509 12787 … … 6523 12801 } 6524 12802 _ACEOF 6525 if ac_fn_c_try_link "$LINENO"; then : 12803 rm -f conftest.$ac_objext conftest$ac_exeext 12804 if { (ac_try="$ac_link" 12805 case "(($ac_try" in 12806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12807 *) ac_try_echo=$ac_try;; 12808 esac 12809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12810 (eval "$ac_link") 2>conftest.er1 12811 ac_status=$? 12812 grep -v '^ *+' conftest.er1 >conftest.err 12813 rm -f conftest.er1 12814 cat conftest.err >&5 12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12816 (exit $ac_status); } && { 12817 test -z "$ac_c_werror_flag" || 12818 test ! -s conftest.err 12819 } && test -s conftest$ac_exeext && 12820 $as_test_x conftest$ac_exeext; then 6526 12821 ac_cv_lib_crypto_ERR_load_BIO_strings=yes 6527 12822 else 6528 ac_cv_lib_crypto_ERR_load_BIO_strings=no 6529 fi 6530 rm -f core conftest.err conftest.$ac_objext \ 6531 conftest$ac_exeext conftest.$ac_ext 12823 echo "$as_me: failed program was:" >&5 12824 sed 's/^/| /' conftest.$ac_ext >&5 12825 12826 ac_cv_lib_crypto_ERR_load_BIO_strings=no 12827 fi 12828 12829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12830 conftest$ac_exeext conftest.$ac_ext 6532 12831 LIBS=$ac_check_lib_save_LIBS 6533 12832 fi 6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&56535 $as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; }6536 if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then :12833 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 12834 echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 12835 if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then 6537 12836 libcrypto_present=1 && LIBS="$LIBS -lcrypto" 6538 12837 fi 6539 12838 6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&56541 $as_echo_n "checking for SSL_library_init in -lssl..." >&6; }6542 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then :6543 $as_echo_n "(cached)" >&612839 { echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 12840 echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6; } 12841 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 12842 echo $ECHO_N "(cached) $ECHO_C" >&6 6544 12843 else 6545 12844 ac_check_lib_save_LIBS=$LIBS 6546 12845 LIBS="-lssl $LIBS" 6547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12846 cat >conftest.$ac_ext <<_ACEOF 12847 /* confdefs.h. */ 12848 _ACEOF 12849 cat confdefs.h >>conftest.$ac_ext 12850 cat >>conftest.$ac_ext <<_ACEOF 6548 12851 /* end confdefs.h. */ 6549 12852 … … 6563 12866 } 6564 12867 _ACEOF 6565 if ac_fn_c_try_link "$LINENO"; then : 12868 rm -f conftest.$ac_objext conftest$ac_exeext 12869 if { (ac_try="$ac_link" 12870 case "(($ac_try" in 12871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12872 *) ac_try_echo=$ac_try;; 12873 esac 12874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12875 (eval "$ac_link") 2>conftest.er1 12876 ac_status=$? 12877 grep -v '^ *+' conftest.er1 >conftest.err 12878 rm -f conftest.er1 12879 cat conftest.err >&5 12880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12881 (exit $ac_status); } && { 12882 test -z "$ac_c_werror_flag" || 12883 test ! -s conftest.err 12884 } && test -s conftest$ac_exeext && 12885 $as_test_x conftest$ac_exeext; then 6566 12886 ac_cv_lib_ssl_SSL_library_init=yes 6567 12887 else 6568 ac_cv_lib_ssl_SSL_library_init=no 6569 fi 6570 rm -f core conftest.err conftest.$ac_objext \ 6571 conftest$ac_exeext conftest.$ac_ext 12888 echo "$as_me: failed program was:" >&5 12889 sed 's/^/| /' conftest.$ac_ext >&5 12890 12891 ac_cv_lib_ssl_SSL_library_init=no 12892 fi 12893 12894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12895 conftest$ac_exeext conftest.$ac_ext 6572 12896 LIBS=$ac_check_lib_save_LIBS 6573 12897 fi 6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&56575 $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; }6576 if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then :12898 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 12899 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6; } 12900 if test $ac_cv_lib_ssl_SSL_library_init = yes; then 6577 12901 libssl_present=1 && LIBS="$LIBS -lssl" 6578 12902 fi 6579 12903 6580 12904 if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&56582 $as_echo "OpenSSL library found, SSL support enabled" >&6; }12905 { echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&5 12906 echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6; } 6583 12907 # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 6584 12908 #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 6585 $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 12909 cat >>confdefs.h <<\_ACEOF 12910 #define PJ_HAS_SSL_SOCK 1 12911 _ACEOF 6586 12912 6587 12913 else 6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&56589 $as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; }12914 { echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 12915 echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6; } 6590 12916 fi 6591 12917 … … 6596 12922 6597 12923 6598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&56599 $as_echo_n "checking if select() needs correct nfds..." >&6; }12924 { echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 12925 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6; } 6600 12926 case $target in 6601 *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h 6602 6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6604 $as_echo "yes" >&6; } 12927 *rtems*) cat >>confdefs.h <<\_ACEOF 12928 #define PJ_SELECT_NEEDS_NFDS 1 12929 _ACEOF 12930 12931 { echo "$as_me:$LINENO: result: yes" >&5 12932 echo "${ECHO_T}yes" >&6; } 6605 12933 ;; 6606 *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h 6607 6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6609 $as_echo "no (default)" >&6; } 6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 6611 $as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } 12934 *) cat >>confdefs.h <<\_ACEOF 12935 #define PJ_SELECT_NEEDS_NFDS 0 12936 _ACEOF 12937 12938 { echo "$as_me:$LINENO: result: no (default)" >&5 12939 echo "${ECHO_T}no (default)" >&6; } 12940 { echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 12941 echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6; } 6612 12942 ;; 6613 12943 esac 6614 12944 6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&56616 $as_echo_n "checking if pj_thread_create() should enforce stack size..." >&6; }12945 { echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 12946 echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6; } 6617 12947 case $target in 6618 *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h 6619 6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6621 $as_echo "yes" >&6; } 12948 *rtems*) cat >>confdefs.h <<\_ACEOF 12949 #define PJ_THREAD_SET_STACK_SIZE 1 12950 _ACEOF 12951 12952 { echo "$as_me:$LINENO: result: yes" >&5 12953 echo "${ECHO_T}yes" >&6; } 6622 12954 ;; 6623 *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h 6624 6625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6626 $as_echo "no (default)" >&6; } 12955 *) cat >>confdefs.h <<\_ACEOF 12956 #define PJ_THREAD_SET_STACK_SIZE 0 12957 _ACEOF 12958 12959 { echo "$as_me:$LINENO: result: no (default)" >&5 12960 echo "${ECHO_T}no (default)" >&6; } 6627 12961 ;; 6628 12962 esac 6629 12963 6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&56631 $as_echo_n "checking if pj_thread_create() should allocate stack..." >&6; }12964 { echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 12965 echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6; } 6632 12966 case $target in 6633 *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h 6634 6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6636 $as_echo "yes" >&6; } 12967 *rtems*) cat >>confdefs.h <<\_ACEOF 12968 #define PJ_THREAD_ALLOCATE_STACK 1 12969 _ACEOF 12970 12971 { echo "$as_me:$LINENO: result: yes" >&5 12972 echo "${ECHO_T}yes" >&6; } 6637 12973 ;; 6638 *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h 6639 6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6641 $as_echo "no (default)" >&6; } 12974 *) cat >>confdefs.h <<\_ACEOF 12975 #define PJ_THREAD_ALLOCATE_STACK 0 12976 _ACEOF 12977 12978 { echo "$as_me:$LINENO: result: no (default)" >&5 12979 echo "${ECHO_T}no (default)" >&6; } 6642 12980 ;; 6643 12981 esac … … 6645 12983 case $target in 6646 12984 *mingw* | *cygw* | *win32* | *w32* ) 6647 $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 12985 cat >>confdefs.h <<\_ACEOF 12986 #define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 12987 _ACEOF 6648 12988 6649 12989 ;; 6650 *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h 6651 6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 6653 $as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 12990 *) cat >>confdefs.h <<\_ACEOF 12991 #define PJ_BLOCKING_ERROR_VAL EAGAIN 12992 _ACEOF 12993 12994 { echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 12995 echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 6654 12996 ;; 6655 12997 esac … … 6657 12999 case $target in 6658 13000 *mingw* | *cygw* | *win32* | *w32* ) 6659 $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 13001 cat >>confdefs.h <<\_ACEOF 13002 #define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 13003 _ACEOF 6660 13004 6661 13005 ;; 6662 *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h 6663 6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 6665 $as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 13006 *) cat >>confdefs.h <<\_ACEOF 13007 #define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 13008 _ACEOF 13009 13010 { echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 13011 echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 6666 13012 ;; 6667 13013 esac … … 6718 13064 *${as_nl}*) 6719 13065 case $ac_var in #( 6720 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&56721 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;13066 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 13067 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 6722 13068 esac 6723 13069 case $ac_var in #( 6724 13070 _ | IFS | as_nl) ;; #( 6725 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6726 *) { eval $ac_var=; unset $ac_var;} ;; 13071 *) $as_unset $ac_var ;; 6727 13072 esac ;; 6728 13073 esac … … 6732 13077 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6733 13078 *${as_nl}ac_space=\ *) 6734 # `set' does not quote correctly, so add quotes :double-quote6735 # substitution turns \\\\ into \\, and sed turns \\ into \ .13079 # `set' does not quote correctly, so add quotes (double-quote 13080 # substitution turns \\\\ into \\, and sed turns \\ into \). 6736 13081 sed -n \ 6737 13082 "s/'/'\\\\''/g; … … 6756 13101 if test -w "$cache_file"; then 6757 13102 test "x$cache_file" != "x/dev/null" && 6758 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&56759 $as_echo "$as_me: updating cache $cache_file" >&6;}13103 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 13104 echo "$as_me: updating cache $cache_file" >&6;} 6760 13105 cat confcache >$cache_file 6761 13106 else 6762 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&56763 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}13107 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 13108 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6764 13109 fi 6765 13110 fi … … 6777 13122 # 1. Remove the extension, and $U if already installed. 6778 13123 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6779 ac_i=` $as_echo "$ac_i" | sed "$ac_script"`13124 ac_i=`echo "$ac_i" | sed "$ac_script"` 6780 13125 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6781 13126 # will be set to the directory where LIBOBJS objects are built. 6782 a s_fn_append ac_libobjs "\${LIBOBJDIR}$ac_i\$U.$ac_objext"6783 a s_fn_append ac_ltlibobjs "\${LIBOBJDIR}$ac_i"'$U.lo'13127 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13128 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 6784 13129 done 6785 13130 LIBOBJS=$ac_libobjs … … 6789 13134 6790 13135 6791 6792 13136 : ${CONFIG_STATUS=./config.status} 6793 ac_write_fail=06794 13137 ac_clean_files_save=$ac_clean_files 6795 13138 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6796 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6797 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6798 as_write_fail=0 6799 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13139 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 13140 echo "$as_me: creating $CONFIG_STATUS" >&6;} 13141 cat >$CONFIG_STATUS <<_ACEOF 6800 13142 #! $SHELL 6801 13143 # Generated by $as_me. … … 6807 13149 ac_cs_recheck=false 6808 13150 ac_cs_silent=false 6809 6810 13151 SHELL=\${CONFIG_SHELL-$SHELL} 6811 export SHELL 6812 _ASEOF 6813 cat >>$CONFIG_STATUS <<\_A SEOF || as_write_fail=16814 ## -------------------- ##6815 ## M4sh Initialization. ##6816 ## -------------------- ##13152 _ACEOF 13153 13154 cat >>$CONFIG_STATUS <<\_ACEOF 13155 ## --------------------- ## 13156 ## M4sh Initialization. ## 13157 ## --------------------- ## 6817 13158 6818 13159 # Be more Bourne compatible 6819 13160 DUALCASE=1; export DUALCASE # for MKS sh 6820 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :13161 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6821 13162 emulate sh 6822 13163 NULLCMD=: 6823 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which13164 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 6824 13165 # is contrary to our usage. Disable this feature. 6825 13166 alias -g '${1+"$@"}'='"$@"' 6826 13167 setopt NO_GLOB_SUBST 6827 13168 else 6828 case `(set -o) 2>/dev/null` in #( 6829 *posix*) : 6830 set -o posix ;; #( 6831 *) : 6832 ;; 6833 esac 6834 fi 6835 6836 6837 as_nl=' 6838 ' 6839 export as_nl 6840 # Printing a long string crashes Solaris 7 /usr/bin/printf. 6841 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6842 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6843 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6844 # Prefer a ksh shell builtin over an external printf program on Solaris, 6845 # but without wasting forks for bash or zsh. 6846 if test -z "$BASH_VERSION$ZSH_VERSION" \ 6847 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6848 as_echo='print -r --' 6849 as_echo_n='print -rn --' 6850 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6851 as_echo='printf %s\n' 6852 as_echo_n='printf %s' 6853 else 6854 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6855 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6856 as_echo_n='/usr/ucb/echo -n' 6857 else 6858 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6859 as_echo_n_body='eval 6860 arg=$1; 6861 case $arg in #( 6862 *"$as_nl"*) 6863 expr "X$arg" : "X\\(.*\\)$as_nl"; 6864 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6865 esac; 6866 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6867 ' 6868 export as_echo_n_body 6869 as_echo_n='sh -c $as_echo_n_body as_echo' 6870 fi 6871 export as_echo_body 6872 as_echo='sh -c $as_echo_body as_echo' 6873 fi 13169 case `(set -o) 2>/dev/null` in 13170 *posix*) set -o posix ;; 13171 esac 13172 13173 fi 13174 13175 13176 13177 13178 # PATH needs CR 13179 # Avoid depending upon Character Ranges. 13180 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13181 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13182 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13183 as_cr_digits='0123456789' 13184 as_cr_alnum=$as_cr_Letters$as_cr_digits 6874 13185 6875 13186 # The user is always right. 6876 13187 if test "${PATH_SEPARATOR+set}" != set; then 6877 PATH_SEPARATOR=: 6878 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6879 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6880 PATH_SEPARATOR=';' 6881 } 13188 echo "#! /bin/sh" >conf$$.sh 13189 echo "exit 0" >>conf$$.sh 13190 chmod +x conf$$.sh 13191 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 13192 PATH_SEPARATOR=';' 13193 else 13194 PATH_SEPARATOR=: 13195 fi 13196 rm -f conf$$.sh 13197 fi 13198 13199 # Support unset when possible. 13200 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 13201 as_unset=unset 13202 else 13203 as_unset=false 6882 13204 fi 6883 13205 … … 6888 13210 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 6889 13211 # splitting by setting IFS to empty value.) 13212 as_nl=' 13213 ' 6890 13214 IFS=" "" $as_nl" 6891 13215 6892 13216 # Find who we are. Look in the path if we contain no directory separator. 6893 case $0 in #((13217 case $0 in 6894 13218 *[\\/]* ) as_myself=$0 ;; 6895 13219 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 6898 13222 IFS=$as_save_IFS 6899 13223 test -z "$as_dir" && as_dir=. 6900 6901 13224 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13225 done 6902 13226 IFS=$as_save_IFS 6903 13227 … … 6910 13234 fi 6911 13235 if test ! -f "$as_myself"; then 6912 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6913 exit 1 6914 fi 6915 6916 # Unset variables that we do not need and which cause bugs (e.g. in 6917 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6918 # suppresses any "Segmentation fault" message there. '((' could 6919 # trigger a bug in pdksh 5.2.14. 6920 for as_var in BASH_ENV ENV MAIL MAILPATH 6921 do eval test x\${$as_var+set} = xset \ 6922 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13236 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13237 { (exit 1); exit 1; } 13238 fi 13239 13240 # Work around bugs in pre-3.0 UWIN ksh. 13241 for as_var in ENV MAIL MAILPATH 13242 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6923 13243 done 6924 13244 PS1='$ ' … … 6927 13247 6928 13248 # NLS nuisances. 6929 LC_ALL=C 6930 export LC_ALL 6931 LANGUAGE=C 6932 export LANGUAGE 6933 6934 # CDPATH. 6935 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6936 6937 6938 # as_fn_error ERROR [LINENO LOG_FD] 6939 # --------------------------------- 6940 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6941 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6942 # script with status $?, using 1 if that was 0. 6943 as_fn_error () 6944 { 6945 as_status=$?; test $as_status -eq 0 && as_status=1 6946 if test "$3"; then 6947 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6948 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 13249 for as_var in \ 13250 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 13251 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 13252 LC_TELEPHONE LC_TIME 13253 do 13254 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 13255 eval $as_var=C; export $as_var 13256 else 13257 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6949 13258 fi 6950 $as_echo "$as_me: error: $1" >&2 6951 as_fn_exit $as_status 6952 } # as_fn_error 6953 6954 6955 # as_fn_set_status STATUS 6956 # ----------------------- 6957 # Set $? to STATUS, without forking. 6958 as_fn_set_status () 6959 { 6960 return $1 6961 } # as_fn_set_status 6962 6963 # as_fn_exit STATUS 6964 # ----------------- 6965 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6966 as_fn_exit () 6967 { 6968 set +e 6969 as_fn_set_status $1 6970 exit $1 6971 } # as_fn_exit 6972 6973 # as_fn_unset VAR 6974 # --------------- 6975 # Portably unset VAR. 6976 as_fn_unset () 6977 { 6978 { eval $1=; unset $1;} 6979 } 6980 as_unset=as_fn_unset 6981 # as_fn_append VAR VALUE 6982 # ---------------------- 6983 # Append the text in VALUE to the end of the definition contained in VAR. Take 6984 # advantage of any shell optimizations that allow amortized linear growth over 6985 # repeated appends, instead of the typical quadratic growth present in naive 6986 # implementations. 6987 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6988 eval 'as_fn_append () 6989 { 6990 eval $1+=\$2 6991 }' 6992 else 6993 as_fn_append () 6994 { 6995 eval $1=\$$1\$2 6996 } 6997 fi # as_fn_append 6998 6999 # as_fn_arith ARG... 7000 # ------------------ 7001 # Perform arithmetic evaluation on the ARGs, and store the result in the 7002 # global $as_val. Take advantage of shells that can avoid forks. The arguments 7003 # must be portable across $(()) and expr. 7004 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 7005 eval 'as_fn_arith () 7006 { 7007 as_val=$(( $* )) 7008 }' 7009 else 7010 as_fn_arith () 7011 { 7012 as_val=`expr "$@" || test $? -eq 1` 7013 } 7014 fi # as_fn_arith 7015 7016 13259 done 13260 13261 # Required to use basename. 7017 13262 if expr a : '\(a\)' >/dev/null 2>&1 && 7018 13263 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 7028 13273 fi 7029 13274 7030 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7031 as_dirname=dirname 7032 else 7033 as_dirname=false 7034 fi 7035 13275 13276 # Name of the executable. 7036 13277 as_me=`$as_basename -- "$0" || 7037 13278 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7038 13279 X"$0" : 'X\(//\)$' \| \ 7039 13280 X"$0" : 'X\(/\)' \| . 2>/dev/null || 7040 $as_echo X/"$0" |13281 echo X/"$0" | 7041 13282 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7042 13283 s//\1/ … … 7053 13294 s/.*/./; q'` 7054 13295 7055 # Avoid depending upon Character Ranges. 7056 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7057 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7058 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7059 as_cr_digits='0123456789' 7060 as_cr_alnum=$as_cr_Letters$as_cr_digits 13296 # CDPATH. 13297 $as_unset CDPATH 13298 13299 13300 13301 as_lineno_1=$LINENO 13302 as_lineno_2=$LINENO 13303 test "x$as_lineno_1" != "x$as_lineno_2" && 13304 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 13305 13306 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 13307 # uniformly replaced by the line number. The first 'sed' inserts a 13308 # line-number line after each line using $LINENO; the second 'sed' 13309 # does the real work. The second script uses 'N' to pair each 13310 # line-number line with the line containing $LINENO, and appends 13311 # trailing '-' during substitution so that $LINENO is not a special 13312 # case at line end. 13313 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 13314 # scripts with optimization help from Paolo Bonzini. Blame Lee 13315 # E. McMahon (1931-1989) for sed's syntax. :-) 13316 sed -n ' 13317 p 13318 /[$]LINENO/= 13319 ' <$as_myself | 13320 sed ' 13321 s/[$]LINENO.*/&-/ 13322 t lineno 13323 b 13324 :lineno 13325 N 13326 :loop 13327 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 13328 t loop 13329 s/-\n.*// 13330 ' >$as_me.lineno && 13331 chmod +x "$as_me.lineno" || 13332 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 13333 { (exit 1); exit 1; }; } 13334 13335 # Don't try to exec as it changes $[0], causing all sort of problems 13336 # (the dirname of $[0] is not the place where we might find the 13337 # original and so on. Autoconf is especially sensitive to this). 13338 . "./$as_me.lineno" 13339 # Exit status is that of the last command. 13340 exit 13341 } 13342 13343 13344 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13345 as_dirname=dirname 13346 else 13347 as_dirname=false 13348 fi 7061 13349 7062 13350 ECHO_C= ECHO_N= ECHO_T= 7063 case `echo -n x` in #(((((13351 case `echo -n x` in 7064 13352 -n*) 7065 case `echo 'x y\c'` in13353 case `echo 'x\c'` in 7066 13354 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7067 xy) ECHO_C='\c';; 7068 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7069 ECHO_T=' ';; 13355 *) ECHO_C='\c';; 7070 13356 esac;; 7071 13357 *) … … 7073 13359 esac 7074 13360 13361 if expr a : '\(a\)' >/dev/null 2>&1 && 13362 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13363 as_expr=expr 13364 else 13365 as_expr=false 13366 fi 13367 7075 13368 rm -f conf$$ conf$$.exe conf$$.file 7076 13369 if test -d conf$$.dir; then … … 7078 13371 else 7079 13372 rm -f conf$$.dir 7080 mkdir conf$$.dir 2>/dev/null 7081 fi 7082 if (echo >conf$$.file) 2>/dev/null; then 7083 if ln -s conf$$.file conf$$ 2>/dev/null; then 7084 as_ln_s='ln -s' 7085 # ... but there are two gotchas: 7086 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7087 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7088 # In both cases, we have to default to `cp -p'. 7089 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7090 as_ln_s='cp -p' 7091 elif ln conf$$.file conf$$ 2>/dev/null; then 7092 as_ln_s=ln 7093 else 13373 mkdir conf$$.dir 13374 fi 13375 echo >conf$$.file 13376 if ln -s conf$$.file conf$$ 2>/dev/null; then 13377 as_ln_s='ln -s' 13378 # ... but there are two gotchas: 13379 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13380 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13381 # In both cases, we have to default to `cp -p'. 13382 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7094 13383 as_ln_s='cp -p' 7095 fi 13384 elif ln conf$$.file conf$$ 2>/dev/null; then 13385 as_ln_s=ln 7096 13386 else 7097 13387 as_ln_s='cp -p' … … 7100 13390 rmdir conf$$.dir 2>/dev/null 7101 13391 7102 7103 # as_fn_mkdir_p 7104 # ------------- 7105 # Create "$as_dir" as a directory, including parents if necessary. 7106 as_fn_mkdir_p () 13392 if mkdir -p . 2>/dev/null; then 13393 as_mkdir_p=: 13394 else 13395 test -d ./-p && rmdir ./-p 13396 as_mkdir_p=false 13397 fi 13398 13399 if test -x / >/dev/null 2>&1; then 13400 as_test_x='test -x' 13401 else 13402 if ls -dL / >/dev/null 2>&1; then 13403 as_ls_L_option=L 13404 else 13405 as_ls_L_option= 13406 fi 13407 as_test_x=' 13408 eval sh -c '\'' 13409 if test -d "$1"; then 13410 test -d "$1/."; 13411 else 13412 case $1 in 13413 -*)set "./$1";; 13414 esac; 13415 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 13416 ???[sx]*):;;*)false;;esac;fi 13417 '\'' sh 13418 ' 13419 fi 13420 as_executable_p=$as_test_x 13421 13422 # Sed expression to map a string onto a valid CPP name. 13423 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13424 13425 # Sed expression to map a string onto a valid variable name. 13426 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13427 13428 13429 exec 6>&1 13430 13431 # Save the log message, to keep $[0] and so on meaningful, and to 13432 # report actual input values of CONFIG_FILES etc. instead of their 13433 # values after options handling. 13434 ac_log=" 13435 This file was extended by pjproject $as_me 1.x, which was 13436 generated by GNU Autoconf 2.61. Invocation command line was 13437 13438 CONFIG_FILES = $CONFIG_FILES 13439 CONFIG_HEADERS = $CONFIG_HEADERS 13440 CONFIG_LINKS = $CONFIG_LINKS 13441 CONFIG_COMMANDS = $CONFIG_COMMANDS 13442 $ $0 $@ 13443 13444 on `(hostname || uname -n) 2>/dev/null | sed 1q` 13445 " 13446 13447 _ACEOF 13448 13449 cat >>$CONFIG_STATUS <<_ACEOF 13450 # Files that config.status was made for. 13451 config_files="$ac_config_files" 13452 config_headers="$ac_config_headers" 13453 13454 _ACEOF 13455 13456 cat >>$CONFIG_STATUS <<\_ACEOF 13457 ac_cs_usage="\ 13458 \`$as_me' instantiates files from templates according to the 13459 current configuration. 13460 13461 Usage: $0 [OPTIONS] [FILE]... 13462 13463 -h, --help print this help, then exit 13464 -V, --version print version number and configuration settings, then exit 13465 -q, --quiet do not print progress messages 13466 -d, --debug don't remove temporary files 13467 --recheck update $as_me by reconfiguring in the same conditions 13468 --file=FILE[:TEMPLATE] 13469 instantiate the configuration file FILE 13470 --header=FILE[:TEMPLATE] 13471 instantiate the configuration header FILE 13472 13473 Configuration files: 13474 $config_files 13475 13476 Configuration headers: 13477 $config_headers 13478 13479 Report bugs to <bug-autoconf@gnu.org>." 13480 13481 _ACEOF 13482 cat >>$CONFIG_STATUS <<_ACEOF 13483 ac_cs_version="\\ 13484 pjproject config.status 1.x 13485 configured by $0, generated by GNU Autoconf 2.61, 13486 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 13487 13488 Copyright (C) 2006 Free Software Foundation, Inc. 13489 This config.status script is free software; the Free Software Foundation 13490 gives unlimited permission to copy, distribute and modify it." 13491 13492 ac_pwd='$ac_pwd' 13493 srcdir='$srcdir' 13494 _ACEOF 13495 13496 cat >>$CONFIG_STATUS <<\_ACEOF 13497 # If no file are specified by the user, then we need to provide default 13498 # value. By we need to know if files were specified by the user. 13499 ac_need_defaults=: 13500 while test $# != 0 13501 do 13502 case $1 in 13503 --*=*) 13504 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13505 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13506 ac_shift=: 13507 ;; 13508 *) 13509 ac_option=$1 13510 ac_optarg=$2 13511 ac_shift=shift 13512 ;; 13513 esac 13514 13515 case $ac_option in 13516 # Handling of the options. 13517 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13518 ac_cs_recheck=: ;; 13519 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13520 echo "$ac_cs_version"; exit ;; 13521 --debug | --debu | --deb | --de | --d | -d ) 13522 debug=: ;; 13523 --file | --fil | --fi | --f ) 13524 $ac_shift 13525 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 13526 ac_need_defaults=false;; 13527 --header | --heade | --head | --hea ) 13528 $ac_shift 13529 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 13530 ac_need_defaults=false;; 13531 --he | --h) 13532 # Conflict between --help and --header 13533 { echo "$as_me: error: ambiguous option: $1 13534 Try \`$0 --help' for more information." >&2 13535 { (exit 1); exit 1; }; };; 13536 --help | --hel | -h ) 13537 echo "$ac_cs_usage"; exit ;; 13538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13539 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13540 ac_cs_silent=: ;; 13541 13542 # This is an error. 13543 -*) { echo "$as_me: error: unrecognized option: $1 13544 Try \`$0 --help' for more information." >&2 13545 { (exit 1); exit 1; }; } ;; 13546 13547 *) ac_config_targets="$ac_config_targets $1" 13548 ac_need_defaults=false ;; 13549 13550 esac 13551 shift 13552 done 13553 13554 ac_configure_extra_args= 13555 13556 if $ac_cs_silent; then 13557 exec 6>/dev/null 13558 ac_configure_extra_args="$ac_configure_extra_args --silent" 13559 fi 13560 13561 _ACEOF 13562 cat >>$CONFIG_STATUS <<_ACEOF 13563 if \$ac_cs_recheck; then 13564 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 13565 CONFIG_SHELL=$SHELL 13566 export CONFIG_SHELL 13567 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13568 fi 13569 13570 _ACEOF 13571 cat >>$CONFIG_STATUS <<\_ACEOF 13572 exec 5>>config.log 7107 13573 { 7108 13574 echo 13575 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13576 ## Running $as_me. ## 13577 _ASBOX 13578 echo "$ac_log" 13579 } >&5 13580 13581 _ACEOF 13582 cat >>$CONFIG_STATUS <<_ACEOF 13583 _ACEOF 13584 13585 cat >>$CONFIG_STATUS <<\_ACEOF 13586 13587 # Handling of arguments. 13588 for ac_config_target in $ac_config_targets 13589 do 13590 case $ac_config_target in 13591 "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 13592 "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 13593 "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 13594 "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 13595 "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 13596 "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 13597 "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 13598 "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 13599 "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 13600 "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 13601 "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 13602 "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 13603 "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 13604 "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 13605 13606 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13607 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13608 { (exit 1); exit 1; }; };; 13609 esac 13610 done 13611 13612 13613 # If the user did not use the arguments to specify the items to instantiate, 13614 # then the envvar interface is used. Set only those that are not. 13615 # We use the long form for the default assignment because of an extremely 13616 # bizarre bug on SunOS 4.1.3. 13617 if $ac_need_defaults; then 13618 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13619 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13620 fi 13621 13622 # Have a temporary directory for convenience. Make it in the build tree 13623 # simply because there is no reason against having it here, and in addition, 13624 # creating and moving files from /tmp can sometimes cause problems. 13625 # Hook for its removal unless debugging. 13626 # Note that there is a small window in which the directory will not be cleaned: 13627 # after its creation but before its name has been assigned to `$tmp'. 13628 $debug || 13629 { 13630 tmp= 13631 trap 'exit_status=$? 13632 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 13633 ' 0 13634 trap '{ (exit 1); exit 1; }' 1 2 13 15 13635 } 13636 # Create a (secure) tmp directory for tmp files. 13637 13638 { 13639 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13640 test -n "$tmp" && test -d "$tmp" 13641 } || 13642 { 13643 tmp=./conf$$-$RANDOM 13644 (umask 077 && mkdir "$tmp") 13645 } || 13646 { 13647 echo "$me: cannot create a temporary directory in ." >&2 13648 { (exit 1); exit 1; } 13649 } 13650 13651 # 13652 # Set up the sed scripts for CONFIG_FILES section. 13653 # 13654 13655 # No need to generate the scripts if there are no CONFIG_FILES. 13656 # This happens for instance when ./config.status config.h 13657 if test -n "$CONFIG_FILES"; then 13658 13659 _ACEOF 13660 13661 13662 13663 ac_delim='%!_!# ' 13664 for ac_last_try in false false false false false :; do 13665 cat >conf$$subs.sed <<_ACEOF 13666 SHELL!$SHELL$ac_delim 13667 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 13668 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 13669 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 13670 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 13671 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 13672 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 13673 exec_prefix!$exec_prefix$ac_delim 13674 prefix!$prefix$ac_delim 13675 program_transform_name!$program_transform_name$ac_delim 13676 bindir!$bindir$ac_delim 13677 sbindir!$sbindir$ac_delim 13678 libexecdir!$libexecdir$ac_delim 13679 datarootdir!$datarootdir$ac_delim 13680 datadir!$datadir$ac_delim 13681 sysconfdir!$sysconfdir$ac_delim 13682 sharedstatedir!$sharedstatedir$ac_delim 13683 localstatedir!$localstatedir$ac_delim 13684 includedir!$includedir$ac_delim 13685 oldincludedir!$oldincludedir$ac_delim 13686 docdir!$docdir$ac_delim 13687 infodir!$infodir$ac_delim 13688 htmldir!$htmldir$ac_delim 13689 dvidir!$dvidir$ac_delim 13690 pdfdir!$pdfdir$ac_delim 13691 psdir!$psdir$ac_delim 13692 libdir!$libdir$ac_delim 13693 localedir!$localedir$ac_delim 13694 mandir!$mandir$ac_delim 13695 DEFS!$DEFS$ac_delim 13696 ECHO_C!$ECHO_C$ac_delim 13697 ECHO_N!$ECHO_N$ac_delim 13698 ECHO_T!$ECHO_T$ac_delim 13699 LIBS!$LIBS$ac_delim 13700 build_alias!$build_alias$ac_delim 13701 host_alias!$host_alias$ac_delim 13702 target_alias!$target_alias$ac_delim 13703 build!$build$ac_delim 13704 build_cpu!$build_cpu$ac_delim 13705 build_vendor!$build_vendor$ac_delim 13706 build_os!$build_os$ac_delim 13707 host!$host$ac_delim 13708 host_cpu!$host_cpu$ac_delim 13709 host_vendor!$host_vendor$ac_delim 13710 host_os!$host_os$ac_delim 13711 target!$target$ac_delim 13712 target_cpu!$target_cpu$ac_delim 13713 target_vendor!$target_vendor$ac_delim 13714 target_os!$target_os$ac_delim 13715 CC!$CC$ac_delim 13716 CFLAGS!$CFLAGS$ac_delim 13717 LDFLAGS!$LDFLAGS$ac_delim 13718 CPPFLAGS!$CPPFLAGS$ac_delim 13719 ac_ct_CC!$ac_ct_CC$ac_delim 13720 EXEEXT!$EXEEXT$ac_delim 13721 OBJEXT!$OBJEXT$ac_delim 13722 CXX!$CXX$ac_delim 13723 CXXFLAGS!$CXXFLAGS$ac_delim 13724 ac_ct_CXX!$ac_ct_CXX$ac_delim 13725 AR!$AR$ac_delim 13726 LD!$LD$ac_delim 13727 LDOUT!$LDOUT$ac_delim 13728 RANLIB!$RANLIB$ac_delim 13729 LIBEXT!$LIBEXT$ac_delim 13730 LIBEXT2!$LIBEXT2$ac_delim 13731 CC_OUT!$CC_OUT$ac_delim 13732 CC_INC!$CC_INC$ac_delim 13733 CC_DEF!$CC_DEF$ac_delim 13734 CC_OPTIMIZE!$CC_OPTIMIZE$ac_delim 13735 CC_CFLAGS!$CC_CFLAGS$ac_delim 13736 ac_pjdir!$ac_pjdir$ac_delim 13737 ac_build_mak_vars!$ac_build_mak_vars$ac_delim 13738 CPP!$CPP$ac_delim 13739 GREP!$GREP$ac_delim 13740 EGREP!$EGREP$ac_delim 13741 ac_os_objs!$ac_os_objs$ac_delim 13742 ac_external_speex!$ac_external_speex$ac_delim 13743 ac_external_gsm!$ac_external_gsm$ac_delim 13744 ac_pjmedia_snd!$ac_pjmedia_snd$ac_delim 13745 ac_external_pa!$ac_external_pa$ac_delim 13746 ac_pa_cflags!$ac_pa_cflags$ac_delim 13747 ac_pa_use_alsa!$ac_pa_use_alsa$ac_delim 13748 ac_pa_use_oss!$ac_pa_use_oss$ac_delim 13749 ac_pjmedia_video!$ac_pjmedia_video$ac_delim 13750 ac_ios_cflags!$ac_ios_cflags$ac_delim 13751 ac_pjmedia_video_has_qt!$ac_pjmedia_video_has_qt$ac_delim 13752 ac_qt_cflags!$ac_qt_cflags$ac_delim 13753 ac_no_small_filter!$ac_no_small_filter$ac_delim 13754 ac_no_large_filter!$ac_no_large_filter$ac_delim 13755 ac_no_speex_aec!$ac_no_speex_aec$ac_delim 13756 ac_no_g711_codec!$ac_no_g711_codec$ac_delim 13757 ac_no_l16_codec!$ac_no_l16_codec$ac_delim 13758 ac_no_gsm_codec!$ac_no_gsm_codec$ac_delim 13759 ac_no_g722_codec!$ac_no_g722_codec$ac_delim 13760 ac_no_g7221_codec!$ac_no_g7221_codec$ac_delim 13761 ac_no_speex_codec!$ac_no_speex_codec$ac_delim 13762 ac_no_ilbc_codec!$ac_no_ilbc_codec$ac_delim 13763 _ACEOF 13764 13765 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 13766 break 13767 elif $ac_last_try; then 13768 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13769 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13770 { (exit 1); exit 1; }; } 13771 else 13772 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13773 fi 13774 done 13775 13776 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 13777 if test -n "$ac_eof"; then 13778 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 13779 ac_eof=`expr $ac_eof + 1` 13780 fi 13781 13782 cat >>$CONFIG_STATUS <<_ACEOF 13783 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 13784 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13785 _ACEOF 13786 sed ' 13787 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 13788 s/^/s,@/; s/!/@,|#_!!_#|/ 13789 :n 13790 t n 13791 s/'"$ac_delim"'$/,g/; t 13792 s/$/\\/; p 13793 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 13794 ' >>$CONFIG_STATUS <conf$$subs.sed 13795 rm -f conf$$subs.sed 13796 cat >>$CONFIG_STATUS <<_ACEOF 13797 CEOF$ac_eof 13798 _ACEOF 13799 13800 13801 ac_delim='%!_!# ' 13802 for ac_last_try in false false false false false :; do 13803 cat >conf$$subs.sed <<_ACEOF 13804 ac_sdl_cflags!$ac_sdl_cflags$ac_delim 13805 ac_sdl_ldflags!$ac_sdl_ldflags$ac_delim 13806 ac_has_ffmpeg!$ac_has_ffmpeg$ac_delim 13807 ac_ffmpeg_cflags!$ac_ffmpeg_cflags$ac_delim 13808 ac_ffmpeg_ldflags!$ac_ffmpeg_ldflags$ac_delim 13809 ac_v4l2_cflags!$ac_v4l2_cflags$ac_delim 13810 ac_v4l2_ldflags!$ac_v4l2_ldflags$ac_delim 13811 ac_no_ssl!$ac_no_ssl$ac_delim 13812 openssl_h_present!$openssl_h_present$ac_delim 13813 libssl_present!$libssl_present$ac_delim 13814 libcrypto_present!$libcrypto_present$ac_delim 13815 ac_cross_compile!$ac_cross_compile$ac_delim 13816 ac_linux_poll!$ac_linux_poll$ac_delim 13817 ac_host!$ac_host$ac_delim 13818 ac_main_obj!$ac_main_obj$ac_delim 13819 LIBOBJS!$LIBOBJS$ac_delim 13820 LTLIBOBJS!$LTLIBOBJS$ac_delim 13821 _ACEOF 13822 13823 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then 13824 break 13825 elif $ac_last_try; then 13826 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13827 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13828 { (exit 1); exit 1; }; } 13829 else 13830 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13831 fi 13832 done 13833 13834 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 13835 if test -n "$ac_eof"; then 13836 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 13837 ac_eof=`expr $ac_eof + 1` 13838 fi 13839 13840 cat >>$CONFIG_STATUS <<_ACEOF 13841 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 13842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 13843 _ACEOF 13844 sed ' 13845 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 13846 s/^/s,@/; s/!/@,|#_!!_#|/ 13847 :n 13848 t n 13849 s/'"$ac_delim"'$/,g/; t 13850 s/$/\\/; p 13851 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 13852 ' >>$CONFIG_STATUS <conf$$subs.sed 13853 rm -f conf$$subs.sed 13854 cat >>$CONFIG_STATUS <<_ACEOF 13855 :end 13856 s/|#_!!_#|//g 13857 CEOF$ac_eof 13858 _ACEOF 13859 13860 13861 # VPATH may cause trouble with some makes, so we remove $(srcdir), 13862 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 13863 # trailing colons and then remove the whole line if VPATH becomes empty 13864 # (actually we leave an empty line to preserve line numbers). 13865 if test "x$srcdir" = x.; then 13866 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 13867 s/:*\$(srcdir):*/:/ 13868 s/:*\${srcdir}:*/:/ 13869 s/:*@srcdir@:*/:/ 13870 s/^\([^=]*=[ ]*\):*/\1/ 13871 s/:*$// 13872 s/^[^=]*=[ ]*$// 13873 }' 13874 fi 13875 13876 cat >>$CONFIG_STATUS <<\_ACEOF 13877 fi # test -n "$CONFIG_FILES" 13878 13879 13880 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 13881 do 13882 case $ac_tag in 13883 :[FHLC]) ac_mode=$ac_tag; continue;; 13884 esac 13885 case $ac_mode$ac_tag in 13886 :[FHL]*:*);; 13887 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 13888 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 13889 { (exit 1); exit 1; }; };; 13890 :[FH]-) ac_tag=-:-;; 13891 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13892 esac 13893 ac_save_IFS=$IFS 13894 IFS=: 13895 set x $ac_tag 13896 IFS=$ac_save_IFS 13897 shift 13898 ac_file=$1 13899 shift 13900 13901 case $ac_mode in 13902 :L) ac_source=$1;; 13903 :[FH]) 13904 ac_file_inputs= 13905 for ac_f 13906 do 13907 case $ac_f in 13908 -) ac_f="$tmp/stdin";; 13909 *) # Look for the file first in the build tree, then in the source tree 13910 # (if the path is not absolute). The absolute path cannot be DOS-style, 13911 # because $ac_f cannot contain `:'. 13912 test -f "$ac_f" || 13913 case $ac_f in 13914 [\\/$]*) false;; 13915 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13916 esac || 13917 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 13918 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 13919 { (exit 1); exit 1; }; };; 13920 esac 13921 ac_file_inputs="$ac_file_inputs $ac_f" 13922 done 13923 13924 # Let's still pretend it is `configure' which instantiates (i.e., don't 13925 # use $as_me), people would be surprised to read: 13926 # /* config.h. Generated by config.status. */ 13927 configure_input="Generated from "`IFS=: 13928 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 13929 if test x"$ac_file" != x-; then 13930 configure_input="$ac_file. $configure_input" 13931 { echo "$as_me:$LINENO: creating $ac_file" >&5 13932 echo "$as_me: creating $ac_file" >&6;} 13933 fi 13934 13935 case $ac_tag in 13936 *:-:* | *:-) cat >"$tmp/stdin";; 13937 esac 13938 ;; 13939 esac 13940 13941 ac_dir=`$as_dirname -- "$ac_file" || 13942 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13943 X"$ac_file" : 'X\(//\)[^/]' \| \ 13944 X"$ac_file" : 'X\(//\)$' \| \ 13945 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13946 echo X"$ac_file" | 13947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13948 s//\1/ 13949 q 13950 } 13951 /^X\(\/\/\)[^/].*/{ 13952 s//\1/ 13953 q 13954 } 13955 /^X\(\/\/\)$/{ 13956 s//\1/ 13957 q 13958 } 13959 /^X\(\/\).*/{ 13960 s//\1/ 13961 q 13962 } 13963 s/.*/./; q'` 13964 { as_dir="$ac_dir" 7109 13965 case $as_dir in #( 7110 13966 -*) as_dir=./$as_dir;; 7111 13967 esac 7112 test -d "$as_dir" || eval $as_mkdir_p|| {13968 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 7113 13969 as_dirs= 7114 13970 while :; do 7115 13971 case $as_dir in #( 7116 *\'*) as_qdir=` $as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(13972 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 7117 13973 *) as_qdir=$as_dir;; 7118 13974 esac … … 7123 13979 X"$as_dir" : 'X\(//\)$' \| \ 7124 13980 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7125 $as_echo X"$as_dir" |13981 echo X"$as_dir" | 7126 13982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7127 13983 s//\1/ … … 7144 14000 done 7145 14001 test -z "$as_dirs" || eval "mkdir $as_dirs" 7146 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 7147 7148 7149 } # as_fn_mkdir_p 7150 if mkdir -p . 2>/dev/null; then 7151 as_mkdir_p='mkdir -p "$as_dir"' 7152 else 7153 test -d ./-p && rmdir ./-p 7154 as_mkdir_p=false 7155 fi 7156 7157 if test -x / >/dev/null 2>&1; then 7158 as_test_x='test -x' 7159 else 7160 if ls -dL / >/dev/null 2>&1; then 7161 as_ls_L_option=L 7162 else 7163 as_ls_L_option= 7164 fi 7165 as_test_x=' 7166 eval sh -c '\'' 7167 if test -d "$1"; then 7168 test -d "$1/."; 7169 else 7170 case $1 in #( 7171 -*)set "./$1";; 7172 esac; 7173 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 7174 ???[sx]*):;;*)false;;esac;fi 7175 '\'' sh 7176 ' 7177 fi 7178 as_executable_p=$as_test_x 7179 7180 # Sed expression to map a string onto a valid CPP name. 7181 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7182 7183 # Sed expression to map a string onto a valid variable name. 7184 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7185 7186 7187 exec 6>&1 7188 ## ----------------------------------- ## 7189 ## Main body of $CONFIG_STATUS script. ## 7190 ## ----------------------------------- ## 7191 _ASEOF 7192 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7193 7194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7195 # Save the log message, to keep $0 and so on meaningful, and to 7196 # report actual input values of CONFIG_FILES etc. instead of their 7197 # values after options handling. 7198 ac_log=" 7199 This file was extended by pjproject $as_me 1.x, which was 7200 generated by GNU Autoconf 2.65. Invocation command line was 7201 7202 CONFIG_FILES = $CONFIG_FILES 7203 CONFIG_HEADERS = $CONFIG_HEADERS 7204 CONFIG_LINKS = $CONFIG_LINKS 7205 CONFIG_COMMANDS = $CONFIG_COMMANDS 7206 $ $0 $@ 7207 7208 on `(hostname || uname -n) 2>/dev/null | sed 1q` 7209 " 7210 7211 _ACEOF 7212 7213 case $ac_config_files in *" 7214 "*) set x $ac_config_files; shift; ac_config_files=$*;; 7215 esac 7216 7217 case $ac_config_headers in *" 7218 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7219 esac 7220 7221 7222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7223 # Files that config.status was made for. 7224 config_files="$ac_config_files" 7225 config_headers="$ac_config_headers" 7226 7227 _ACEOF 7228 7229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7230 ac_cs_usage="\ 7231 \`$as_me' instantiates files and other configuration actions 7232 from templates according to the current configuration. Unless the files 7233 and actions are specified as TAGs, all are instantiated by default. 7234 7235 Usage: $0 [OPTION]... [TAG]... 7236 7237 -h, --help print this help, then exit 7238 -V, --version print version number and configuration settings, then exit 7239 --config print configuration, then exit 7240 -q, --quiet, --silent 7241 do not print progress messages 7242 -d, --debug don't remove temporary files 7243 --recheck update $as_me by reconfiguring in the same conditions 7244 --file=FILE[:TEMPLATE] 7245 instantiate the configuration file FILE 7246 --header=FILE[:TEMPLATE] 7247 instantiate the configuration header FILE 7248 7249 Configuration files: 7250 $config_files 7251 7252 Configuration headers: 7253 $config_headers 7254 7255 Report bugs to the package provider." 7256 7257 _ACEOF 7258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7259 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7260 ac_cs_version="\\ 7261 pjproject config.status 1.x 7262 configured by $0, generated by GNU Autoconf 2.65, 7263 with options \\"\$ac_cs_config\\" 7264 7265 Copyright (C) 2009 Free Software Foundation, Inc. 7266 This config.status script is free software; the Free Software Foundation 7267 gives unlimited permission to copy, distribute and modify it." 7268 7269 ac_pwd='$ac_pwd' 7270 srcdir='$srcdir' 7271 test -n "\$AWK" || AWK=awk 7272 _ACEOF 7273 7274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7275 # The default lists apply if the user does not specify any file. 7276 ac_need_defaults=: 7277 while test $# != 0 7278 do 7279 case $1 in 7280 --*=*) 7281 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7282 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7283 ac_shift=: 7284 ;; 7285 *) 7286 ac_option=$1 7287 ac_optarg=$2 7288 ac_shift=shift 7289 ;; 7290 esac 7291 7292 case $ac_option in 7293 # Handling of the options. 7294 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7295 ac_cs_recheck=: ;; 7296 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7297 $as_echo "$ac_cs_version"; exit ;; 7298 --config | --confi | --conf | --con | --co | --c ) 7299 $as_echo "$ac_cs_config"; exit ;; 7300 --debug | --debu | --deb | --de | --d | -d ) 7301 debug=: ;; 7302 --file | --fil | --fi | --f ) 7303 $ac_shift 7304 case $ac_optarg in 7305 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7306 esac 7307 as_fn_append CONFIG_FILES " '$ac_optarg'" 7308 ac_need_defaults=false;; 7309 --header | --heade | --head | --hea ) 7310 $ac_shift 7311 case $ac_optarg in 7312 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7313 esac 7314 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7315 ac_need_defaults=false;; 7316 --he | --h) 7317 # Conflict between --help and --header 7318 as_fn_error "ambiguous option: \`$1' 7319 Try \`$0 --help' for more information.";; 7320 --help | --hel | -h ) 7321 $as_echo "$ac_cs_usage"; exit ;; 7322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7323 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7324 ac_cs_silent=: ;; 7325 7326 # This is an error. 7327 -*) as_fn_error "unrecognized option: \`$1' 7328 Try \`$0 --help' for more information." ;; 7329 7330 *) as_fn_append ac_config_targets " $1" 7331 ac_need_defaults=false ;; 7332 7333 esac 7334 shift 7335 done 7336 7337 ac_configure_extra_args= 7338 7339 if $ac_cs_silent; then 7340 exec 6>/dev/null 7341 ac_configure_extra_args="$ac_configure_extra_args --silent" 7342 fi 7343 7344 _ACEOF 7345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7346 if \$ac_cs_recheck; then 7347 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7348 shift 7349 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7350 CONFIG_SHELL='$SHELL' 7351 export CONFIG_SHELL 7352 exec "\$@" 7353 fi 7354 7355 _ACEOF 7356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7357 exec 5>>config.log 7358 { 7359 echo 7360 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7361 ## Running $as_me. ## 7362 _ASBOX 7363 $as_echo "$ac_log" 7364 } >&5 7365 7366 _ACEOF 7367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7368 _ACEOF 7369 7370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7371 7372 # Handling of arguments. 7373 for ac_config_target in $ac_config_targets 7374 do 7375 case $ac_config_target in 7376 "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 7377 "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 7378 "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 7379 "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 7380 "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 7381 "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 7382 "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 7383 "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 7384 "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 7385 "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 7386 "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 7387 "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 7388 "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 7389 "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 7390 7391 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7392 esac 7393 done 7394 7395 7396 # If the user did not use the arguments to specify the items to instantiate, 7397 # then the envvar interface is used. Set only those that are not. 7398 # We use the long form for the default assignment because of an extremely 7399 # bizarre bug on SunOS 4.1.3. 7400 if $ac_need_defaults; then 7401 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7402 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7403 fi 7404 7405 # Have a temporary directory for convenience. Make it in the build tree 7406 # simply because there is no reason against having it here, and in addition, 7407 # creating and moving files from /tmp can sometimes cause problems. 7408 # Hook for its removal unless debugging. 7409 # Note that there is a small window in which the directory will not be cleaned: 7410 # after its creation but before its name has been assigned to `$tmp'. 7411 $debug || 7412 { 7413 tmp= 7414 trap 'exit_status=$? 7415 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7416 ' 0 7417 trap 'as_fn_exit 1' 1 2 13 15 7418 } 7419 # Create a (secure) tmp directory for tmp files. 7420 7421 { 7422 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7423 test -n "$tmp" && test -d "$tmp" 7424 } || 7425 { 7426 tmp=./conf$$-$RANDOM 7427 (umask 077 && mkdir "$tmp") 7428 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 7429 7430 # Set up the scripts for CONFIG_FILES section. 7431 # No need to generate them if there are no CONFIG_FILES. 7432 # This happens for instance with `./config.status config.h'. 7433 if test -n "$CONFIG_FILES"; then 7434 7435 7436 ac_cr=`echo X | tr X '\015'` 7437 # On cygwin, bash can eat \r inside `` if the user requested igncr. 7438 # But we know of no other shell where ac_cr would be empty at this 7439 # point, so we can use a bashism as a fallback. 7440 if test "x$ac_cr" = x; then 7441 eval ac_cr=\$\'\\r\' 7442 fi 7443 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7444 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7445 ac_cs_awk_cr='\r' 7446 else 7447 ac_cs_awk_cr=$ac_cr 7448 fi 7449 7450 echo 'BEGIN {' >"$tmp/subs1.awk" && 7451 _ACEOF 7452 7453 7454 { 7455 echo "cat >conf$$subs.awk <<_ACEOF" && 7456 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7457 echo "_ACEOF" 7458 } >conf$$subs.sh || 7459 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7460 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 7461 ac_delim='%!_!# ' 7462 for ac_last_try in false false false false false :; do 7463 . ./conf$$subs.sh || 7464 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7465 7466 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7467 if test $ac_delim_n = $ac_delim_num; then 7468 break 7469 elif $ac_last_try; then 7470 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7471 else 7472 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7473 fi 7474 done 7475 rm -f conf$$subs.sh 7476 7477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7478 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 7479 _ACEOF 7480 sed -n ' 7481 h 7482 s/^/S["/; s/!.*/"]=/ 7483 p 7484 g 7485 s/^[^!]*!// 7486 :repl 7487 t repl 7488 s/'"$ac_delim"'$// 7489 t delim 7490 :nl 7491 h 7492 s/\(.\{148\}\)..*/\1/ 7493 t more1 7494 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7495 p 7496 n 7497 b repl 7498 :more1 7499 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7500 p 7501 g 7502 s/.\{148\}// 7503 t nl 7504 :delim 7505 h 7506 s/\(.\{148\}\)..*/\1/ 7507 t more2 7508 s/["\\]/\\&/g; s/^/"/; s/$/"/ 7509 p 7510 b 7511 :more2 7512 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7513 p 7514 g 7515 s/.\{148\}// 7516 t delim 7517 ' <conf$$subs.awk | sed ' 7518 /^[^""]/{ 7519 N 7520 s/\n// 7521 } 7522 ' >>$CONFIG_STATUS || ac_write_fail=1 7523 rm -f conf$$subs.awk 7524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7525 _ACAWK 7526 cat >>"\$tmp/subs1.awk" <<_ACAWK && 7527 for (key in S) S_is_set[key] = 1 7528 FS = "" 7529 7530 } 7531 { 7532 line = $ 0 7533 nfields = split(line, field, "@") 7534 substed = 0 7535 len = length(field[1]) 7536 for (i = 2; i < nfields; i++) { 7537 key = field[i] 7538 keylen = length(key) 7539 if (S_is_set[key]) { 7540 value = S[key] 7541 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7542 len += length(value) + length(field[++i]) 7543 substed = 1 7544 } else 7545 len += 1 + keylen 7546 } 7547 7548 print line 7549 } 7550 7551 _ACAWK 7552 _ACEOF 7553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7554 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7555 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7556 else 7557 cat 7558 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 7559 || as_fn_error "could not setup config files machinery" "$LINENO" 5 7560 _ACEOF 7561 7562 # VPATH may cause trouble with some makes, so we remove $(srcdir), 7563 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7564 # trailing colons and then remove the whole line if VPATH becomes empty 7565 # (actually we leave an empty line to preserve line numbers). 7566 if test "x$srcdir" = x.; then 7567 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7568 s/:*\$(srcdir):*/:/ 7569 s/:*\${srcdir}:*/:/ 7570 s/:*@srcdir@:*/:/ 7571 s/^\([^=]*=[ ]*\):*/\1/ 7572 s/:*$// 7573 s/^[^=]*=[ ]*$// 7574 }' 7575 fi 7576 7577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7578 fi # test -n "$CONFIG_FILES" 7579 7580 # Set up the scripts for CONFIG_HEADERS section. 7581 # No need to generate them if there are no CONFIG_HEADERS. 7582 # This happens for instance with `./config.status Makefile'. 7583 if test -n "$CONFIG_HEADERS"; then 7584 cat >"$tmp/defines.awk" <<\_ACAWK || 7585 BEGIN { 7586 _ACEOF 7587 7588 # Transform confdefs.h into an awk script `defines.awk', embedded as 7589 # here-document in config.status, that substitutes the proper values into 7590 # config.h.in to produce config.h. 7591 7592 # Create a delimiter string that does not exist in confdefs.h, to ease 7593 # handling of long lines. 7594 ac_delim='%!_!# ' 7595 for ac_last_try in false false :; do 7596 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 7597 if test -z "$ac_t"; then 7598 break 7599 elif $ac_last_try; then 7600 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 7601 else 7602 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7603 fi 7604 done 7605 7606 # For the awk script, D is an array of macro values keyed by name, 7607 # likewise P contains macro parameters if any. Preserve backslash 7608 # newline sequences. 7609 7610 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7611 sed -n ' 7612 s/.\{148\}/&'"$ac_delim"'/g 7613 t rset 7614 :rset 7615 s/^[ ]*#[ ]*define[ ][ ]*/ / 7616 t def 7617 d 7618 :def 7619 s/\\$// 7620 t bsnl 7621 s/["\\]/\\&/g 7622 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7623 D["\1"]=" \3"/p 7624 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7625 d 7626 :bsnl 7627 s/["\\]/\\&/g 7628 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7629 D["\1"]=" \3\\\\\\n"\\/p 7630 t cont 7631 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7632 t cont 7633 d 7634 :cont 7635 n 7636 s/.\{148\}/&'"$ac_delim"'/g 7637 t clear 7638 :clear 7639 s/\\$// 7640 t bsnlc 7641 s/["\\]/\\&/g; s/^/"/; s/$/"/p 7642 d 7643 :bsnlc 7644 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7645 b cont 7646 ' <confdefs.h | sed ' 7647 s/'"$ac_delim"'/"\\\ 7648 "/g' >>$CONFIG_STATUS || ac_write_fail=1 7649 7650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7651 for (key in D) D_is_set[key] = 1 7652 FS = "" 7653 } 7654 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7655 line = \$ 0 7656 split(line, arg, " ") 7657 if (arg[1] == "#") { 7658 defundef = arg[2] 7659 mac1 = arg[3] 7660 } else { 7661 defundef = substr(arg[1], 2) 7662 mac1 = arg[2] 7663 } 7664 split(mac1, mac2, "(") #) 7665 macro = mac2[1] 7666 prefix = substr(line, 1, index(line, defundef) - 1) 7667 if (D_is_set[macro]) { 7668 # Preserve the white space surrounding the "#". 7669 print prefix "define", macro P[macro] D[macro] 7670 next 7671 } else { 7672 # Replace #undef with comments. This is necessary, for example, 7673 # in the case of _POSIX_SOURCE, which is predefined and required 7674 # on some systems where configure will not decide to define it. 7675 if (defundef == "undef") { 7676 print "/*", prefix defundef, macro, "*/" 7677 next 7678 } 7679 } 7680 } 7681 { print } 7682 _ACAWK 7683 _ACEOF 7684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7685 as_fn_error "could not setup config headers machinery" "$LINENO" 5 7686 fi # test -n "$CONFIG_HEADERS" 7687 7688 7689 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 7690 shift 7691 for ac_tag 7692 do 7693 case $ac_tag in 7694 :[FHLC]) ac_mode=$ac_tag; continue;; 7695 esac 7696 case $ac_mode$ac_tag in 7697 :[FHL]*:*);; 7698 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 7699 :[FH]-) ac_tag=-:-;; 7700 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7701 esac 7702 ac_save_IFS=$IFS 7703 IFS=: 7704 set x $ac_tag 7705 IFS=$ac_save_IFS 7706 shift 7707 ac_file=$1 7708 shift 7709 7710 case $ac_mode in 7711 :L) ac_source=$1;; 7712 :[FH]) 7713 ac_file_inputs= 7714 for ac_f 7715 do 7716 case $ac_f in 7717 -) ac_f="$tmp/stdin";; 7718 *) # Look for the file first in the build tree, then in the source tree 7719 # (if the path is not absolute). The absolute path cannot be DOS-style, 7720 # because $ac_f cannot contain `:'. 7721 test -f "$ac_f" || 7722 case $ac_f in 7723 [\\/$]*) false;; 7724 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7725 esac || 7726 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7727 esac 7728 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7729 as_fn_append ac_file_inputs " '$ac_f'" 7730 done 7731 7732 # Let's still pretend it is `configure' which instantiates (i.e., don't 7733 # use $as_me), people would be surprised to read: 7734 # /* config.h. Generated by config.status. */ 7735 configure_input='Generated from '` 7736 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7737 `' by configure.' 7738 if test x"$ac_file" != x-; then 7739 configure_input="$ac_file. $configure_input" 7740 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7741 $as_echo "$as_me: creating $ac_file" >&6;} 7742 fi 7743 # Neutralize special characters interpreted by sed in replacement strings. 7744 case $configure_input in #( 7745 *\&* | *\|* | *\\* ) 7746 ac_sed_conf_input=`$as_echo "$configure_input" | 7747 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7748 *) ac_sed_conf_input=$configure_input;; 7749 esac 7750 7751 case $ac_tag in 7752 *:-:* | *:-) cat >"$tmp/stdin" \ 7753 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 7754 esac 7755 ;; 7756 esac 7757 7758 ac_dir=`$as_dirname -- "$ac_file" || 7759 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7760 X"$ac_file" : 'X\(//\)[^/]' \| \ 7761 X"$ac_file" : 'X\(//\)$' \| \ 7762 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7763 $as_echo X"$ac_file" | 7764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7765 s//\1/ 7766 q 7767 } 7768 /^X\(\/\/\)[^/].*/{ 7769 s//\1/ 7770 q 7771 } 7772 /^X\(\/\/\)$/{ 7773 s//\1/ 7774 q 7775 } 7776 /^X\(\/\).*/{ 7777 s//\1/ 7778 q 7779 } 7780 s/.*/./; q'` 7781 as_dir="$ac_dir"; as_fn_mkdir_p 14002 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 14003 echo "$as_me: error: cannot create directory $as_dir" >&2;} 14004 { (exit 1); exit 1; }; }; } 7782 14005 ac_builddir=. 7783 14006 … … 7785 14008 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7786 14009 *) 7787 ac_dir_suffix=/` $as_echo "$ac_dir" | sed 's|^\.[\\/]||'`14010 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 7788 14011 # A ".." for each directory in $ac_dir_suffix. 7789 ac_top_builddir_sub=` $as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`14012 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 7790 14013 case $ac_top_builddir_sub in 7791 14014 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 7823 14046 _ACEOF 7824 14047 7825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=114048 cat >>$CONFIG_STATUS <<\_ACEOF 7826 14049 # If the template does not know about datarootdir, expand it. 7827 14050 # FIXME: This hack should be removed a few years after 2.60. 7828 14051 ac_datarootdir_hack=; ac_datarootdir_seen= 7829 ac_sed_dataroot=' 7830 /datarootdir/ {14052 14053 case `sed -n '/datarootdir/ { 7831 14054 p 7832 14055 q … … 7836 14059 /@infodir@/p 7837 14060 /@localedir@/p 7838 /@mandir@/p '7839 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in14061 /@mandir@/p 14062 ' $ac_file_inputs` in 7840 14063 *datarootdir*) ac_datarootdir_seen=yes;; 7841 14064 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&57843 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}7844 _ACEOF 7845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=114065 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14066 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14067 _ACEOF 14068 cat >>$CONFIG_STATUS <<_ACEOF 7846 14069 ac_datarootdir_hack=' 7847 14070 s&@datadir@&$datadir&g … … 7850 14073 s&@localedir@&$localedir&g 7851 14074 s&@mandir@&$mandir&g 7852 s&\\\${datarootdir}&$datarootdir&g' ;;14075 s&\\\${datarootdir}&$datarootdir&g' ;; 7853 14076 esac 7854 14077 _ACEOF … … 7857 14080 # Shell code in configure.ac might set extrasub. 7858 14081 # FIXME: do we really want to maintain this feature? 7859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=17860 ac_sed_extra="$ac_vpsub14082 cat >>$CONFIG_STATUS <<_ACEOF 14083 sed "$ac_vpsub 7861 14084 $extrasub 7862 14085 _ACEOF 7863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=114086 cat >>$CONFIG_STATUS <<\_ACEOF 7864 14087 :t 7865 14088 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7866 s |@configure_input@|$ac_sed_conf_input|;t t14089 s&@configure_input@&$configure_input&;t t 7867 14090 s&@top_builddir@&$ac_top_builddir_sub&;t t 7868 s&@top_build_prefix@&$ac_top_build_prefix&;t t7869 14091 s&@srcdir@&$ac_srcdir&;t t 7870 14092 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 7875 14097 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7876 14098 $ac_datarootdir_hack 7877 " 7878 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 7879 || as_fn_error "could not create $ac_file" "$LINENO" 5 14099 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 7880 14100 7881 14101 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7882 14102 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 7883 14103 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 7884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'14104 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7885 14105 which seems to be undefined. Please make sure it is defined." >&5 7886 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'14106 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7887 14107 which seems to be undefined. Please make sure it is defined." >&2;} 7888 14108 7889 14109 rm -f "$tmp/stdin" 7890 14110 case $ac_file in 7891 -) cat "$tmp/out" && rm -f "$tmp/out";; 7892 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 7893 esac \ 7894 || as_fn_error "could not create $ac_file" "$LINENO" 5 14111 -) cat "$tmp/out"; rm -f "$tmp/out";; 14112 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 14113 esac 7895 14114 ;; 7896 14115 :H) … … 7898 14117 # CONFIG_HEADER 7899 14118 # 14119 _ACEOF 14120 14121 # Transform confdefs.h into a sed script `conftest.defines', that 14122 # substitutes the proper values into config.h.in to produce config.h. 14123 rm -f conftest.defines conftest.tail 14124 # First, append a space to every undef/define line, to ease matching. 14125 echo 's/$/ /' >conftest.defines 14126 # Then, protect against being on the right side of a sed subst, or in 14127 # an unquoted here document, in config.status. If some macros were 14128 # called several times there might be several #defines for the same 14129 # symbol, which is useless. But do not sort them, since the last 14130 # AC_DEFINE must be honored. 14131 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14132 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 14133 # NAME is the cpp macro being defined, VALUE is the value it is being given. 14134 # PARAMS is the parameter list in the macro definition--in most cases, it's 14135 # just an empty string. 14136 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 14137 ac_dB='\\)[ (].*,\\1define\\2' 14138 ac_dC=' ' 14139 ac_dD=' ,' 14140 14141 uniq confdefs.h | 14142 sed -n ' 14143 t rset 14144 :rset 14145 s/^[ ]*#[ ]*define[ ][ ]*// 14146 t ok 14147 d 14148 :ok 14149 s/[\\&,]/\\&/g 14150 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 14151 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 14152 ' >>conftest.defines 14153 14154 # Remove the space that was appended to ease matching. 14155 # Then replace #undef with comments. This is necessary, for 14156 # example, in the case of _POSIX_SOURCE, which is predefined and required 14157 # on some systems where configure will not decide to define it. 14158 # (The regexp can be short, since the line contains either #define or #undef.) 14159 echo 's/ $// 14160 s,^[ #]*u.*,/* & */,' >>conftest.defines 14161 14162 # Break up conftest.defines: 14163 ac_max_sed_lines=50 14164 14165 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 14166 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 14167 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 14168 # et cetera. 14169 ac_in='$ac_file_inputs' 14170 ac_out='"$tmp/out1"' 14171 ac_nxt='"$tmp/out2"' 14172 14173 while : 14174 do 14175 # Write a here document: 14176 cat >>$CONFIG_STATUS <<_ACEOF 14177 # First, check the format of the line: 14178 cat >"\$tmp/defines.sed" <<\\CEOF 14179 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 14180 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 14181 b 14182 :def 14183 _ACEOF 14184 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 14185 echo 'CEOF 14186 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 14187 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 14188 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 14189 grep . conftest.tail >/dev/null || break 14190 rm -f conftest.defines 14191 mv conftest.tail conftest.defines 14192 done 14193 rm -f conftest.defines conftest.tail 14194 14195 echo "ac_result=$ac_in" >>$CONFIG_STATUS 14196 cat >>$CONFIG_STATUS <<\_ACEOF 7900 14197 if test x"$ac_file" != x-; then 7901 { 7902 $as_echo "/* $configure_input */" \ 7903 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 7904 } >"$tmp/config.h" \ 7905 || as_fn_error "could not create $ac_file" "$LINENO" 5 7906 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 7907 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7908 $as_echo "$as_me: $ac_file is unchanged" >&6;} 14198 echo "/* $configure_input */" >"$tmp/config.h" 14199 cat "$ac_result" >>"$tmp/config.h" 14200 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 14201 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 14202 echo "$as_me: $ac_file is unchanged" >&6;} 7909 14203 else 7910 rm -f "$ac_file" 7911 mv "$tmp/config.h" "$ac_file" \ 7912 || as_fn_error "could not create $ac_file" "$LINENO" 5 14204 rm -f $ac_file 14205 mv "$tmp/config.h" $ac_file 7913 14206 fi 7914 14207 else 7915 $as_echo "/* $configure_input */" \ 7916 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 7917 || as_fn_error "could not create -" "$LINENO" 5 14208 echo "/* $configure_input */" 14209 cat "$ac_result" 7918 14210 fi 14211 rm -f "$tmp/out12" 7919 14212 ;; 7920 14213 … … 7925 14218 7926 14219 7927 as_fn_exit 0 7928 _ACEOF 14220 { (exit 0); exit 0; } 14221 _ACEOF 14222 chmod +x $CONFIG_STATUS 7929 14223 ac_clean_files=$ac_clean_files_save 7930 7931 test $ac_write_fail = 0 ||7932 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 57933 14224 7934 14225 … … 7951 14242 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7952 14243 # would make configure fail if this is the last instruction. 7953 $ac_cs_success || as_fn_exit $? 7954 fi 7955 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7957 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7958 fi 7959 7960 7961 7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 14244 $ac_cs_success || { (exit 1); exit 1; } 14245 fi 14246 14247 14248 14249 { echo "$as_me:$LINENO: result: 7963 14250 7964 14251 Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h. … … 7970 14257 The next step now is to run 'make dep' and 'make'. 7971 14258 " >&5 7972 $as_echo " 14259 echo "${ECHO_T} 7973 14260 7974 14261 Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h.
Note: See TracChangeset
for help on using the changeset viewer.