Changeset 3517
- Timestamp:
- Apr 11, 2011 2:43:04 AM (14 years ago)
- Location:
- pjproject/branches/projects/2.0-dev
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev
- Property svn:mergeinfo changed
/pjproject/trunk (added) merged: 3417,3464
- Property svn:mergeinfo changed
-
pjproject/branches/projects/2.0-dev/aconfigure
r3499 r3517 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.61 for pjproject 1.x. 3 # Generated by GNU Autoconf 2.65 for pjproject 1.x. 4 # 4 5 # 5 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 8 # Inc. 9 # 10 # 7 11 # This configure script is free software; the Free Software Foundation 8 12 # gives unlimited permission to copy, distribute and modify it. 9 ## -------------------- -##10 ## M4sh Initialization. 11 ## -------------------- -##13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 12 16 13 17 # Be more Bourne compatible 14 18 DUALCASE=1; export DUALCASE # for MKS sh 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16 20 emulate sh 17 21 NULLCMD=: 18 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19 23 # is contrary to our usage. Disable this feature. 20 24 alias -g '${1+"$@"}'='"$@"' 21 25 setopt NO_GLOB_SUBST 22 26 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 25 32 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 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 39 73 40 74 # The user is always right. 41 75 if test "${PATH_SEPARATOR+set}" != set; then 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 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 } 58 81 fi 59 82 … … 64 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 88 # splitting by setting IFS to empty value.) 66 as_nl='67 '68 89 IFS=" "" $as_nl" 69 90 70 91 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 92 case $0 in #(( 72 93 *[\\/]* ) as_myself=$0 ;; 73 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 76 97 IFS=$as_save_IFS 77 98 test -z "$as_dir" && as_dir=. 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break79 done99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 80 101 IFS=$as_save_IFS 81 102 … … 88 109 fi 89 110 if test ! -f "$as_myself"; then 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 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 || : 97 122 done 98 123 PS1='$ ' … … 101 126 102 127 # NLS nuisances. 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 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 107 186 do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 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 205 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." 110 230 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 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." 112 235 fi 113 done 114 115 # Required to use basename. 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 116 375 if expr a : '\(a\)' >/dev/null 2>&1 && 117 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 127 386 fi 128 387 129 130 # Name of the executable. 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 131 394 as_me=`$as_basename -- "$0" || 132 395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 396 X"$0" : 'X\(//\)$' \| \ 134 397 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" |398 $as_echo X/"$0" | 136 399 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 400 s//\1/ … … 148 411 s/.*/./; q'` 149 412 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. :-) 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. :-) 438 426 sed -n ' 439 427 p … … 452 440 ' >$as_me.lineno && 453 441 chmod +x "$as_me.lineno" || 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 { (exit 1); exit 1; }; } 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 456 443 457 444 # Don't try to exec as it changes $[0], causing all sort of problems … … 463 450 } 464 451 465 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then467 as_dirname=dirname468 else469 as_dirname=false470 fi471 472 452 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 453 case `echo -n x` in #((((( 474 454 -n*) 475 case `echo 'x \c'` in455 case `echo 'xy\c'` in 476 456 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 457 xy) ECHO_C='\c';; 458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459 ECHO_T=' ';; 478 460 esac;; 479 461 *) … … 481 463 esac 482 464 483 if expr a : '\(a\)' >/dev/null 2>&1 &&484 test "X`expr 00001 : '.*\(...\)'`" = X001; then485 as_expr=expr486 else487 as_expr=false488 fi489 490 465 rm -f conf$$ conf$$.exe conf$$.file 491 466 if test -d conf$$.dir; then … … 493 468 else 494 469 rm -f conf$$.dir 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 || 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 505 484 as_ln_s='cp -p' 506 elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 485 fi 508 486 else 509 487 as_ln_s='cp -p' … … 513 491 514 492 if mkdir -p . 2>/dev/null; then 515 as_mkdir_p= :493 as_mkdir_p='mkdir -p "$as_dir"' 516 494 else 517 495 test -d ./-p && rmdir ./-p … … 530 508 eval sh -c '\'' 531 509 if test -d "$1"; then 532 510 test -d "$1/."; 533 511 else 534 case $1 in 535 512 case $1 in #( 513 -*)set "./$1";; 536 514 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 538 516 ???[sx]*):;;*)false;;esac;fi 539 517 '\'' sh … … 549 527 550 528 551 552 exec 7<&0 </dev/null6>&1529 test -n "$DJDIR" || exec 7<&0 </dev/null 530 exec 6>&1 553 531 554 532 # Name of the host. … … 568 546 MFLAGS= 569 547 MAKEFLAGS= 570 SHELL=${CONFIG_SHELL-/bin/sh}571 548 572 549 # Identity of this package. … … 576 553 PACKAGE_STRING='pjproject 1.x' 577 554 PACKAGE_BUGREPORT='' 555 PACKAGE_URL='' 578 556 579 557 # Factoring default headers for most tests. … … 613 591 #endif" 614 592 615 ac_subst_vars='SHELL 593 ac_subst_vars='LTLIBOBJS 594 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_qt_cflags 621 ac_pjmedia_video_has_qt 622 ac_ios_cflags 623 ac_pjmedia_video 624 ac_pa_use_oss 625 ac_pa_use_alsa 626 ac_pa_cflags 627 ac_external_pa 628 ac_pjmedia_snd 629 ac_external_gsm 630 ac_external_speex 631 ac_os_objs 632 EGREP 633 GREP 634 CPP 635 ac_build_mak_vars 636 ac_pjdir 637 CC_CFLAGS 638 CC_OPTIMIZE 639 CC_DEF 640 CC_INC 641 CC_OUT 642 LIBEXT2 643 LIBEXT 644 RANLIB 645 LDOUT 646 LD 647 AR 648 ac_ct_CXX 649 CXXFLAGS 650 CXX 651 OBJEXT 652 EXEEXT 653 ac_ct_CC 654 CPPFLAGS 655 LDFLAGS 656 CFLAGS 657 CC 658 target_os 659 target_vendor 660 target_cpu 661 target 662 host_os 663 host_vendor 664 host_cpu 665 host 666 build_os 667 build_vendor 668 build_cpu 669 build 670 target_alias 671 host_alias 672 build_alias 673 LIBS 674 ECHO_T 675 ECHO_N 676 ECHO_C 677 DEFS 678 mandir 679 localedir 680 libdir 681 psdir 682 pdfdir 683 dvidir 684 htmldir 685 infodir 686 docdir 687 oldincludedir 688 includedir 689 localstatedir 690 sharedstatedir 691 sysconfdir 692 datadir 693 datarootdir 694 libexecdir 695 sbindir 696 bindir 697 program_transform_name 698 prefix 699 exec_prefix 700 PACKAGE_URL 701 PACKAGE_BUGREPORT 702 PACKAGE_STRING 703 PACKAGE_VERSION 704 PACKAGE_TARNAME 705 PACKAGE_NAME 616 706 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 727 LIBOBJS 728 LTLIBOBJS' 707 SHELL' 729 708 ac_subst_files='' 709 ac_user_opts=' 710 enable_option_checking 711 enable_floating_point 712 enable_epoll 713 with_external_speex 714 with_external_gsm 715 enable_sound 716 with_external_pa 717 enable_oss 718 enable_ext_sound 719 enable_small_filter 720 enable_large_filter 721 enable_speex_aec 722 enable_g711_codec 723 enable_l16_codec 724 enable_gsm_codec 725 enable_g722_codec 726 enable_g7221_codec 727 enable_speex_codec 728 enable_ilbc_codec 729 enable_libsamplerate 730 enable_sdl 731 enable_ffmpeg 732 enable_v4l2 733 enable_ipp 734 with_ipp 735 with_ipp_samples 736 with_ipp_arch 737 enable_ssl 738 ' 730 739 ac_precious_vars='build_alias 731 740 host_alias … … 745 754 ac_init_help= 746 755 ac_init_version=false 756 ac_unrecognized_opts= 757 ac_unrecognized_sep= 747 758 # The variables have the same names as the options, with 748 759 # dashes changed to underlines. … … 843 854 844 855 -disable-* | --disable-*) 845 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`856 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 846 857 # Reject names that are not valid shell variable names. 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 ;; 858 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 859 as_fn_error "invalid feature name: $ac_useropt" 860 ac_useropt_orig=$ac_useropt 861 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 862 case $ac_user_opts in 863 *" 864 "enable_$ac_useropt" 865 "*) ;; 866 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 867 ac_unrecognized_sep=', ';; 868 esac 869 eval enable_$ac_useropt=no ;; 852 870 853 871 -docdir | --docdir | --docdi | --doc | --do) … … 862 880 863 881 -enable-* | --enable-*) 864 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`882 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 865 883 # Reject names that are not valid shell variable names. 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 ;; 884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 885 as_fn_error "invalid feature name: $ac_useropt" 886 ac_useropt_orig=$ac_useropt 887 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 888 case $ac_user_opts in 889 *" 890 "enable_$ac_useropt" 891 "*) ;; 892 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 893 ac_unrecognized_sep=', ';; 894 esac 895 eval enable_$ac_useropt=\$ac_optarg ;; 871 896 872 897 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1059 1084 1060 1085 -with-* | --with-*) 1061 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1086 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1062 1087 # Reject names that are not valid shell variable names. 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 ;; 1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1089 as_fn_error "invalid package name: $ac_useropt" 1090 ac_useropt_orig=$ac_useropt 1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1092 case $ac_user_opts in 1093 *" 1094 "with_$ac_useropt" 1095 "*) ;; 1096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1097 ac_unrecognized_sep=', ';; 1098 esac 1099 eval with_$ac_useropt=\$ac_optarg ;; 1068 1100 1069 1101 -without-* | --without-*) 1070 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1102 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1071 1103 # Reject names that are not valid shell variable names. 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 ;; 1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1105 as_fn_error "invalid package name: $ac_useropt" 1106 ac_useropt_orig=$ac_useropt 1107 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1108 case $ac_user_opts in 1109 *" 1110 "with_$ac_useropt" 1111 "*) ;; 1112 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1113 ac_unrecognized_sep=', ';; 1114 esac 1115 eval with_$ac_useropt=no ;; 1077 1116 1078 1117 --x) … … 1094 1133 x_libraries=$ac_optarg ;; 1095 1134 1096 -*) { echo "$as_me: error: unrecognized option: $ac_option 1097 Try \`$0 --help' for more information." >&2 1098 { (exit 1); exit 1; }; } 1135 -*) as_fn_error "unrecognized option: \`$ac_option' 1136 Try \`$0 --help' for more information." 1099 1137 ;; 1100 1138 … … 1102 1140 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1103 1141 # Reject names that are not valid shell variable names. 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 case $ac_envvar in #( 1143 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1144 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1145 esac 1107 1146 eval $ac_envvar=\$ac_optarg 1108 1147 export $ac_envvar ;; … … 1110 1149 *) 1111 1150 # FIXME: should be removed in autoconf 3.0. 1112 echo "$as_me: WARNING: you should use --build, --host, --target" >&21151 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1113 1152 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1114 echo "$as_me: WARNING: invalid host type: $ac_option" >&21153 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1115 1154 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1116 1155 ;; … … 1121 1160 if test -n "$ac_prev"; then 1122 1161 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 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. 1162 as_fn_error "missing argument to $ac_option" 1163 fi 1164 1165 if test -n "$ac_unrecognized_opts"; then 1166 case $enable_option_checking in 1167 no) ;; 1168 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1169 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1170 esac 1171 fi 1172 1173 # Check all directory arguments for consistency. 1128 1174 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1129 1175 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1132 1178 do 1133 1179 eval ac_val=\$$ac_var 1180 # Remove trailing slashes. 1181 case $ac_val in 1182 */ ) 1183 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1184 eval $ac_var=\$ac_val;; 1185 esac 1186 # Be sure to have absolute directory names. 1134 1187 case $ac_val in 1135 1188 [\\/$]* | ?:[\\/]* ) continue;; 1136 1189 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1137 1190 esac 1138 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1139 { (exit 1); exit 1; }; } 1191 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1140 1192 done 1141 1193 … … 1151 1203 if test "x$build_alias" = x; then 1152 1204 cross_compiling=maybe 1153 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1205 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1154 1206 If a cross compiler is detected then cross compile mode will be used." >&2 1155 1207 elif test "x$build_alias" != "x$host_alias"; then … … 1167 1219 ac_ls_di=`ls -di .` && 1168 1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1169 { echo "$as_me: error: Working directory cannot be determined" >&2 1170 { (exit 1); exit 1; }; } 1221 as_fn_error "working directory cannot be determined" 1171 1222 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1172 { echo "$as_me: error: pwd does not report name of working directory" >&2 1173 { (exit 1); exit 1; }; } 1223 as_fn_error "pwd does not report name of working directory" 1174 1224 1175 1225 … … 1178 1228 ac_srcdir_defaulted=yes 1179 1229 # Try the directory containing this script, then the parent directory. 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" |1230 ac_confdir=`$as_dirname -- "$as_myself" || 1231 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1232 X"$as_myself" : 'X\(//\)[^/]' \| \ 1233 X"$as_myself" : 'X\(//\)$' \| \ 1234 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1235 $as_echo X"$as_myself" | 1186 1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1187 1237 s//\1/ … … 1210 1260 if test ! -r "$srcdir/$ac_unique_file"; then 1211 1261 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1212 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1213 { (exit 1); exit 1; }; } 1262 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1214 1263 fi 1215 1264 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1216 1265 ac_abs_confdir=`( 1217 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1218 { (exit 1); exit 1; }; } 1266 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1219 1267 pwd)` 1220 1268 # When building in place, set srcdir=. … … 1264 1312 Installation directories: 1265 1313 --prefix=PREFIX install architecture-independent files in PREFIX 1266 1314 [$ac_default_prefix] 1267 1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1268 1316 [PREFIX] 1269 1317 1270 1318 By default, \`make install' will install all the files in … … 1276 1324 1277 1325 Fine tuning of the installation directories: 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]1326 --bindir=DIR user executables [EPREFIX/bin] 1327 --sbindir=DIR system admin executables [EPREFIX/sbin] 1328 --libexecdir=DIR program executables [EPREFIX/libexec] 1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1332 --libdir=DIR object code libraries [EPREFIX/lib] 1333 --includedir=DIR C header files [PREFIX/include] 1334 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1337 --infodir=DIR info documentation [DATAROOTDIR/info] 1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1339 --mandir=DIR man documentation [DATAROOTDIR/man] 1340 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1341 --htmldir=DIR html documentation [DOCDIR] 1342 --dvidir=DIR dvi documentation [DOCDIR] 1343 --pdfdir=DIR pdf documentation [DOCDIR] 1344 --psdir=DIR ps documentation [DOCDIR] 1297 1345 _ACEOF 1298 1346 … … 1313 1361 1314 1362 Optional Features: 1363 --disable-option-checking ignore unrecognized --enable/--with options 1315 1364 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1316 1365 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1372 1421 nonstandard directory <lib dir> 1373 1422 LIBS libraries to pass to the linker, e.g. -l<library> 1374 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1423 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1375 1424 you have headers in a nonstandard directory <include dir> 1376 1425 CXX C++ compiler command … … 1381 1430 it to find libraries and programs with nonstandard names/locations. 1382 1431 1432 Report bugs to the package provider. 1383 1433 _ACEOF 1384 1434 ac_status=$? … … 1388 1438 # If there are subdirs, report their specific --help. 1389 1439 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1390 test -d "$ac_dir" || continue 1440 test -d "$ac_dir" || 1441 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1442 continue 1391 1443 ac_builddir=. 1392 1444 … … 1394 1446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1395 1447 *) 1396 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1448 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1397 1449 # A ".." for each directory in $ac_dir_suffix. 1398 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1450 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1399 1451 case $ac_top_builddir_sub in 1400 1452 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1432 1484 $SHELL "$ac_srcdir/configure" --help=recursive 1433 1485 else 1434 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21486 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1435 1487 fi || ac_status=$? 1436 1488 cd "$ac_pwd" || { ac_status=$?; break; } … … 1442 1494 cat <<\_ACEOF 1443 1495 pjproject configure 1.x 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. 1496 generated by GNU Autoconf 2.65 1497 1498 Copyright (C) 2009 Free Software Foundation, Inc. 1448 1499 This configure script is free software; the Free Software Foundation 1449 1500 gives unlimited permission to copy, distribute and modify it. … … 1451 1502 exit 1452 1503 fi 1504 1505 ## ------------------------ ## 1506 ## Autoconf initialization. ## 1507 ## ------------------------ ## 1508 1509 # ac_fn_c_try_compile LINENO 1510 # -------------------------- 1511 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1512 ac_fn_c_try_compile () 1513 { 1514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1515 rm -f conftest.$ac_objext 1516 if { { ac_try="$ac_compile" 1517 case "(($ac_try" in 1518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1519 *) ac_try_echo=$ac_try;; 1520 esac 1521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1522 $as_echo "$ac_try_echo"; } >&5 1523 (eval "$ac_compile") 2>conftest.err 1524 ac_status=$? 1525 if test -s conftest.err; then 1526 grep -v '^ *+' conftest.err >conftest.er1 1527 cat conftest.er1 >&5 1528 mv -f conftest.er1 conftest.err 1529 fi 1530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1531 test $ac_status = 0; } && { 1532 test -z "$ac_c_werror_flag" || 1533 test ! -s conftest.err 1534 } && test -s conftest.$ac_objext; then : 1535 ac_retval=0 1536 else 1537 $as_echo "$as_me: failed program was:" >&5 1538 sed 's/^/| /' conftest.$ac_ext >&5 1539 1540 ac_retval=1 1541 fi 1542 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1543 as_fn_set_status $ac_retval 1544 1545 } # ac_fn_c_try_compile 1546 1547 # ac_fn_cxx_try_compile LINENO 1548 # ---------------------------- 1549 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1550 ac_fn_cxx_try_compile () 1551 { 1552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1553 rm -f conftest.$ac_objext 1554 if { { ac_try="$ac_compile" 1555 case "(($ac_try" in 1556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1557 *) ac_try_echo=$ac_try;; 1558 esac 1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1560 $as_echo "$ac_try_echo"; } >&5 1561 (eval "$ac_compile") 2>conftest.err 1562 ac_status=$? 1563 if test -s conftest.err; then 1564 grep -v '^ *+' conftest.err >conftest.er1 1565 cat conftest.er1 >&5 1566 mv -f conftest.er1 conftest.err 1567 fi 1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1569 test $ac_status = 0; } && { 1570 test -z "$ac_cxx_werror_flag" || 1571 test ! -s conftest.err 1572 } && test -s conftest.$ac_objext; then : 1573 ac_retval=0 1574 else 1575 $as_echo "$as_me: failed program was:" >&5 1576 sed 's/^/| /' conftest.$ac_ext >&5 1577 1578 ac_retval=1 1579 fi 1580 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1581 as_fn_set_status $ac_retval 1582 1583 } # ac_fn_cxx_try_compile 1584 1585 # ac_fn_c_try_link LINENO 1586 # ----------------------- 1587 # Try to link conftest.$ac_ext, and return whether this succeeded. 1588 ac_fn_c_try_link () 1589 { 1590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1591 rm -f conftest.$ac_objext conftest$ac_exeext 1592 if { { ac_try="$ac_link" 1593 case "(($ac_try" in 1594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1595 *) ac_try_echo=$ac_try;; 1596 esac 1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1598 $as_echo "$ac_try_echo"; } >&5 1599 (eval "$ac_link") 2>conftest.err 1600 ac_status=$? 1601 if test -s conftest.err; then 1602 grep -v '^ *+' conftest.err >conftest.er1 1603 cat conftest.er1 >&5 1604 mv -f conftest.er1 conftest.err 1605 fi 1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1607 test $ac_status = 0; } && { 1608 test -z "$ac_c_werror_flag" || 1609 test ! -s conftest.err 1610 } && test -s conftest$ac_exeext && { 1611 test "$cross_compiling" = yes || 1612 $as_test_x conftest$ac_exeext 1613 }; then : 1614 ac_retval=0 1615 else 1616 $as_echo "$as_me: failed program was:" >&5 1617 sed 's/^/| /' conftest.$ac_ext >&5 1618 1619 ac_retval=1 1620 fi 1621 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1622 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1623 # interfere with the next link command; also delete a directory that is 1624 # left behind by Apple's compiler. We do this before executing the actions. 1625 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1626 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1627 as_fn_set_status $ac_retval 1628 1629 } # ac_fn_c_try_link 1630 1631 # ac_fn_c_try_run LINENO 1632 # ---------------------- 1633 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1634 # that executables *can* be run. 1635 ac_fn_c_try_run () 1636 { 1637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1638 if { { ac_try="$ac_link" 1639 case "(($ac_try" in 1640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1641 *) ac_try_echo=$ac_try;; 1642 esac 1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1644 $as_echo "$ac_try_echo"; } >&5 1645 (eval "$ac_link") 2>&5 1646 ac_status=$? 1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1648 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1649 { { case "(($ac_try" in 1650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1651 *) ac_try_echo=$ac_try;; 1652 esac 1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1654 $as_echo "$ac_try_echo"; } >&5 1655 (eval "$ac_try") 2>&5 1656 ac_status=$? 1657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1658 test $ac_status = 0; }; }; then : 1659 ac_retval=0 1660 else 1661 $as_echo "$as_me: program exited with status $ac_status" >&5 1662 $as_echo "$as_me: failed program was:" >&5 1663 sed 's/^/| /' conftest.$ac_ext >&5 1664 1665 ac_retval=$ac_status 1666 fi 1667 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1668 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1669 as_fn_set_status $ac_retval 1670 1671 } # ac_fn_c_try_run 1672 1673 # ac_fn_c_try_cpp LINENO 1674 # ---------------------- 1675 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1676 ac_fn_c_try_cpp () 1677 { 1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1679 if { { ac_try="$ac_cpp conftest.$ac_ext" 1680 case "(($ac_try" in 1681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1682 *) ac_try_echo=$ac_try;; 1683 esac 1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1685 $as_echo "$ac_try_echo"; } >&5 1686 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1687 ac_status=$? 1688 if test -s conftest.err; then 1689 grep -v '^ *+' conftest.err >conftest.er1 1690 cat conftest.er1 >&5 1691 mv -f conftest.er1 conftest.err 1692 fi 1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1694 test $ac_status = 0; } >/dev/null && { 1695 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1696 test ! -s conftest.err 1697 }; then : 1698 ac_retval=0 1699 else 1700 $as_echo "$as_me: failed program was:" >&5 1701 sed 's/^/| /' conftest.$ac_ext >&5 1702 1703 ac_retval=1 1704 fi 1705 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1706 as_fn_set_status $ac_retval 1707 1708 } # ac_fn_c_try_cpp 1709 1710 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1711 # ------------------------------------------------------- 1712 # Tests whether HEADER exists and can be compiled using the include files in 1713 # INCLUDES, setting the cache variable VAR accordingly. 1714 ac_fn_c_check_header_compile () 1715 { 1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1718 $as_echo_n "checking for $2... " >&6; } 1719 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1720 $as_echo_n "(cached) " >&6 1721 else 1722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1723 /* end confdefs.h. */ 1724 $4 1725 #include <$2> 1726 _ACEOF 1727 if ac_fn_c_try_compile "$LINENO"; then : 1728 eval "$3=yes" 1729 else 1730 eval "$3=no" 1731 fi 1732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1733 fi 1734 eval ac_res=\$$3 1735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1736 $as_echo "$ac_res" >&6; } 1737 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1738 1739 } # ac_fn_c_check_header_compile 1740 1741 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1742 # ------------------------------------------------------- 1743 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1744 # the include files in INCLUDES and setting the cache variable VAR 1745 # accordingly. 1746 ac_fn_c_check_header_mongrel () 1747 { 1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1749 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1751 $as_echo_n "checking for $2... " >&6; } 1752 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1753 $as_echo_n "(cached) " >&6 1754 fi 1755 eval ac_res=\$$3 1756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1757 $as_echo "$ac_res" >&6; } 1758 else 1759 # Is the header compilable? 1760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1761 $as_echo_n "checking $2 usability... " >&6; } 1762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1763 /* end confdefs.h. */ 1764 $4 1765 #include <$2> 1766 _ACEOF 1767 if ac_fn_c_try_compile "$LINENO"; then : 1768 ac_header_compiler=yes 1769 else 1770 ac_header_compiler=no 1771 fi 1772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1774 $as_echo "$ac_header_compiler" >&6; } 1775 1776 # Is the header present? 1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1778 $as_echo_n "checking $2 presence... " >&6; } 1779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1780 /* end confdefs.h. */ 1781 #include <$2> 1782 _ACEOF 1783 if ac_fn_c_try_cpp "$LINENO"; then : 1784 ac_header_preproc=yes 1785 else 1786 ac_header_preproc=no 1787 fi 1788 rm -f conftest.err conftest.$ac_ext 1789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1790 $as_echo "$ac_header_preproc" >&6; } 1791 1792 # So? What about this header? 1793 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1794 yes:no: ) 1795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1796 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1798 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1799 ;; 1800 no:yes:* ) 1801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1802 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1804 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1806 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1808 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1810 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1811 ;; 1812 esac 1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1814 $as_echo_n "checking for $2... " >&6; } 1815 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1816 $as_echo_n "(cached) " >&6 1817 else 1818 eval "$3=\$ac_header_compiler" 1819 fi 1820 eval ac_res=\$$3 1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1822 $as_echo "$ac_res" >&6; } 1823 fi 1824 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1825 1826 } # ac_fn_c_check_header_mongrel 1827 1828 # ac_fn_c_check_func LINENO FUNC VAR 1829 # ---------------------------------- 1830 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1831 ac_fn_c_check_func () 1832 { 1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1835 $as_echo_n "checking for $2... " >&6; } 1836 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1837 $as_echo_n "(cached) " >&6 1838 else 1839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1840 /* end confdefs.h. */ 1841 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1842 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1843 #define $2 innocuous_$2 1844 1845 /* System header to define __stub macros and hopefully few prototypes, 1846 which can conflict with char $2 (); below. 1847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1848 <limits.h> exists even on freestanding compilers. */ 1849 1850 #ifdef __STDC__ 1851 # include <limits.h> 1852 #else 1853 # include <assert.h> 1854 #endif 1855 1856 #undef $2 1857 1858 /* Override any GCC internal prototype to avoid an error. 1859 Use char because int might match the return type of a GCC 1860 builtin and then its argument prototype would still apply. */ 1861 #ifdef __cplusplus 1862 extern "C" 1863 #endif 1864 char $2 (); 1865 /* The GNU C library defines this for functions which it implements 1866 to always fail with ENOSYS. Some functions are actually named 1867 something starting with __ and the normal name is an alias. */ 1868 #if defined __stub_$2 || defined __stub___$2 1869 choke me 1870 #endif 1871 1872 int 1873 main () 1874 { 1875 return $2 (); 1876 ; 1877 return 0; 1878 } 1879 _ACEOF 1880 if ac_fn_c_try_link "$LINENO"; then : 1881 eval "$3=yes" 1882 else 1883 eval "$3=no" 1884 fi 1885 rm -f core conftest.err conftest.$ac_objext \ 1886 conftest$ac_exeext conftest.$ac_ext 1887 fi 1888 eval ac_res=\$$3 1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1890 $as_echo "$ac_res" >&6; } 1891 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1892 1893 } # ac_fn_c_check_func 1453 1894 cat >config.log <<_ACEOF 1454 1895 This file contains any messages produced by compilers while … … 1456 1897 1457 1898 It was created by pjproject $as_me 1.x, which was 1458 generated by GNU Autoconf 2.6 1. Invocation command line was1899 generated by GNU Autoconf 2.65. Invocation command line was 1459 1900 1460 1901 $ $0 $@ … … 1492 1933 IFS=$as_save_IFS 1493 1934 test -z "$as_dir" && as_dir=. 1494 echo "PATH: $as_dir"1495 done1935 $as_echo "PATH: $as_dir" 1936 done 1496 1937 IFS=$as_save_IFS 1497 1938 … … 1527 1968 continue ;; 1528 1969 *\'*) 1529 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1970 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1530 1971 esac 1531 1972 case $ac_pass in 1532 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1973 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1533 1974 2) 1534 a c_configure_args1="$ac_configure_args1'$ac_arg'"1975 as_fn_append ac_configure_args1 " '$ac_arg'" 1535 1976 if test $ac_must_keep_next = true; then 1536 1977 ac_must_keep_next=false # Got value, back to normal. … … 1548 1989 esac 1549 1990 fi 1550 a c_configure_args="$ac_configure_args'$ac_arg'"1991 as_fn_append ac_configure_args " '$ac_arg'" 1551 1992 ;; 1552 1993 esac 1553 1994 done 1554 1995 done 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;}1996 { ac_configure_args0=; unset ac_configure_args0;} 1997 { ac_configure_args1=; unset ac_configure_args1;} 1557 1998 1558 1999 # When interrupted or exit'd, cleanup temporary files, and complete … … 1579 2020 *${as_nl}*) 1580 2021 case $ac_var in #( 1581 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51582 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2022 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2023 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1583 2024 esac 1584 2025 case $ac_var in #( 1585 2026 _ | IFS | as_nl) ;; #( 1586 *) $as_unset $ac_var ;; 2027 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2028 *) { eval $ac_var=; unset $ac_var;} ;; 1587 2029 esac ;; 1588 2030 esac … … 1613 2055 eval ac_val=\$$ac_var 1614 2056 case $ac_val in 1615 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2057 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1616 2058 esac 1617 echo "$ac_var='\''$ac_val'\''"2059 $as_echo "$ac_var='\''$ac_val'\''" 1618 2060 done | sort 1619 2061 echo … … 1630 2072 eval ac_val=\$$ac_var 1631 2073 case $ac_val in 1632 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2074 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1633 2075 esac 1634 echo "$ac_var='\''$ac_val'\''"2076 $as_echo "$ac_var='\''$ac_val'\''" 1635 2077 done | sort 1636 2078 echo … … 1648 2090 fi 1649 2091 test "$ac_signal" != 0 && 1650 echo "$as_me: caught signal $ac_signal"1651 echo "$as_me: exit $exit_status"2092 $as_echo "$as_me: caught signal $ac_signal" 2093 $as_echo "$as_me: exit $exit_status" 1652 2094 } >&5 1653 2095 rm -f core *.core core.conftest.* && … … 1656 2098 ' 0 1657 2099 for ac_signal in 1 2 13 15; do 1658 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2100 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1659 2101 done 1660 2102 ac_signal=0 … … 1663 2105 rm -f -r conftest* confdefs.h 1664 2106 2107 $as_echo "/* confdefs.h */" > confdefs.h 2108 1665 2109 # Predefined preprocessor variables. 1666 2110 … … 1669 2113 _ACEOF 1670 2114 1671 1672 2115 cat >>confdefs.h <<_ACEOF 1673 2116 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1674 2117 _ACEOF 1675 2118 1676 1677 2119 cat >>confdefs.h <<_ACEOF 1678 2120 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1679 2121 _ACEOF 1680 2122 1681 1682 2123 cat >>confdefs.h <<_ACEOF 1683 2124 #define PACKAGE_STRING "$PACKAGE_STRING" 1684 2125 _ACEOF 1685 2126 1686 1687 2127 cat >>confdefs.h <<_ACEOF 1688 2128 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1689 2129 _ACEOF 1690 2130 2131 cat >>confdefs.h <<_ACEOF 2132 #define PACKAGE_URL "$PACKAGE_URL" 2133 _ACEOF 2134 1691 2135 1692 2136 # Let the site file select an alternate cache file if it wants to. 1693 # Prefer explicitly selected file to automatically selected ones. 2137 # Prefer an explicitly selected file to automatically selected ones. 2138 ac_site_file1=NONE 2139 ac_site_file2=NONE 1694 2140 if test -n "$CONFIG_SITE"; then 1695 set x "$CONFIG_SITE"2141 ac_site_file1=$CONFIG_SITE 1696 2142 elif test "x$prefix" != xNONE; then 1697 set x "$prefix/share/config.site" "$prefix/etc/config.site"1698 else1699 set x "$ac_default_prefix/share/config.site" \ 1700 "$ac_default_prefix/etc/config.site" 1701 fi 1702 shift 1703 for ac_site_file 2143 ac_site_file1=$prefix/share/config.site 2144 ac_site_file2=$prefix/etc/config.site 2145 else 2146 ac_site_file1=$ac_default_prefix/share/config.site 2147 ac_site_file2=$ac_default_prefix/etc/config.site 2148 fi 2149 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1704 2150 do 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 test "x$ac_site_file" = xNONE && continue 2152 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2153 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2154 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1708 2155 sed 's/^/| /' "$ac_site_file" >&5 1709 2156 . "$ac_site_file" … … 1712 2159 1713 2160 if test -r "$cache_file"; then 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"; then1717 { echo "$as_me:$LINENO: loading cache $cache_file" >&51718 echo "$as_me: loading cache $cache_file" >&6;}2161 # Some versions of bash will fail to source /dev/null (special files 2162 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2163 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2164 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2165 $as_echo "$as_me: loading cache $cache_file" >&6;} 1719 2166 case $cache_file in 1720 2167 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1723 2170 fi 1724 2171 else 1725 { echo "$as_me:$LINENO: creating cache $cache_file" >&51726 echo "$as_me: creating cache $cache_file" >&6;}2172 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2173 $as_echo "$as_me: creating cache $cache_file" >&6;} 1727 2174 >$cache_file 1728 2175 fi … … 1738 2185 case $ac_old_set,$ac_new_set in 1739 2186 set,) 1740 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51741 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2187 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2188 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1742 2189 ac_cache_corrupted=: ;; 1743 2190 ,set) 1744 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51745 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2192 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1746 2193 ac_cache_corrupted=: ;; 1747 2194 ,);; 1748 2195 *) 1749 2196 if test "x$ac_old_val" != "x$ac_new_val"; then 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=: 2197 # differences in whitespace do not lead to failure. 2198 ac_old_val_w=`echo x $ac_old_val` 2199 ac_new_val_w=`echo x $ac_new_val` 2200 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2201 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2202 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2203 ac_cache_corrupted=: 2204 else 2205 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2206 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2207 eval $ac_var=\$ac_old_val 2208 fi 2209 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2210 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2211 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2212 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1757 2213 fi;; 1758 2214 esac … … 1760 2216 if test "$ac_new_set" = set; then 1761 2217 case $ac_new_val in 1762 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2218 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1763 2219 *) ac_arg=$ac_var=$ac_new_val ;; 1764 2220 esac 1765 2221 case " $ac_configure_args " in 1766 2222 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1767 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2223 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1768 2224 esac 1769 2225 fi 1770 2226 done 1771 2227 if $ac_cache_corrupted; then 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 2228 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2231 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2232 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2233 fi 2234 ## -------------------- ## 2235 ## Main body of script. ## 2236 ## -------------------- ## 1802 2237 1803 2238 ac_ext=c … … 1813 2248 ac_aux_dir= 1814 2249 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 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 2250 for ac_t in install-sh install.sh shtool; do 2251 if test -f "$ac_dir/$ac_t"; then 2252 ac_aux_dir=$ac_dir 2253 ac_install_sh="$ac_aux_dir/$ac_t -c" 2254 break 2 2255 fi 2256 done 1828 2257 done 1829 2258 if test -z "$ac_aux_dir"; then 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; }; } 2259 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1833 2260 fi 1834 2261 … … 1844 2271 # Make sure we can run config.sub. 1845 2272 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 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 2273 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2274 2275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2276 $as_echo_n "checking build system type... " >&6; } 2277 if test "${ac_cv_build+set}" = set; then : 2278 $as_echo_n "(cached) " >&6 1854 2279 else 1855 2280 ac_build_alias=$build_alias … … 1857 2282 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1858 2283 test "x$ac_build_alias" = x && 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; }; } 2284 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1862 2285 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 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; } 2286 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2287 2288 fi 2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2290 $as_echo "$ac_cv_build" >&6; } 1870 2291 case $ac_cv_build in 1871 2292 *-*-*) ;; 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; }; };; 2293 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1875 2294 esac 1876 2295 build=$ac_cv_build … … 1888 2307 1889 2308 1890 { echo "$as_me:$LINENO: checking host system type" >&51891 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" >&62309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2310 $as_echo_n "checking host system type... " >&6; } 2311 if test "${ac_cv_host+set}" = set; then : 2312 $as_echo_n "(cached) " >&6 1894 2313 else 1895 2314 if test "x$host_alias" = x; then … … 1897 2316 else 1898 2317 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 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; } 2318 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2319 fi 2320 2321 fi 2322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2323 $as_echo "$ac_cv_host" >&6; } 1907 2324 case $ac_cv_host in 1908 2325 *-*-*) ;; 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; }; };; 2326 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1912 2327 esac 1913 2328 host=$ac_cv_host … … 1925 2340 1926 2341 1927 { echo "$as_me:$LINENO: checking target system type" >&51928 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" >&62342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2343 $as_echo_n "checking target system type... " >&6; } 2344 if test "${ac_cv_target+set}" = set; then : 2345 $as_echo_n "(cached) " >&6 1931 2346 else 1932 2347 if test "x$target_alias" = x; then … … 1934 2349 else 1935 2350 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 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; } 2351 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2352 fi 2353 2354 fi 2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2356 $as_echo "$ac_cv_target" >&6; } 1944 2357 case $ac_cv_target in 1945 2358 *-*-*) ;; 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; }; };; 2359 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 1949 2360 esac 1950 2361 target=$ac_cv_target … … 1990 2401 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1991 2402 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1992 { echo "$as_me:$LINENO: checking for $ac_word" >&51993 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" >&62403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2404 $as_echo_n "checking for $ac_word... " >&6; } 2405 if test "${ac_cv_prog_CC+set}" = set; then : 2406 $as_echo_n "(cached) " >&6 1996 2407 else 1997 2408 if test -n "$CC"; then … … 2003 2414 IFS=$as_save_IFS 2004 2415 test -z "$as_dir" && as_dir=. 2005 for ac_exec_ext in '' $ac_executable_extensions; do2416 for ac_exec_ext in '' $ac_executable_extensions; do 2006 2417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2007 2418 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2009 2420 break 2 2010 2421 fi 2011 2422 done 2012 done2423 done 2013 2424 IFS=$as_save_IFS 2014 2425 … … 2017 2428 CC=$ac_cv_prog_CC 2018 2429 if test -n "$CC"; then 2019 { echo "$as_me:$LINENO: result: $CC" >&52020 echo "${ECHO_T}$CC" >&6; }2021 else 2022 { echo "$as_me:$LINENO: result: no" >&52023 echo "${ECHO_T}no" >&6; }2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2431 $as_echo "$CC" >&6; } 2432 else 2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2434 $as_echo "no" >&6; } 2024 2435 fi 2025 2436 … … 2030 2441 # Extract the first word of "gcc", so it can be a program name with args. 2031 2442 set dummy gcc; ac_word=$2 2032 { echo "$as_me:$LINENO: checking for $ac_word" >&52033 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" >&62443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2444 $as_echo_n "checking for $ac_word... " >&6; } 2445 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2446 $as_echo_n "(cached) " >&6 2036 2447 else 2037 2448 if test -n "$ac_ct_CC"; then … … 2043 2454 IFS=$as_save_IFS 2044 2455 test -z "$as_dir" && as_dir=. 2045 for ac_exec_ext in '' $ac_executable_extensions; do2456 for ac_exec_ext in '' $ac_executable_extensions; do 2046 2457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2047 2458 ac_cv_prog_ac_ct_CC="gcc" 2048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2049 2460 break 2 2050 2461 fi 2051 2462 done 2052 done2463 done 2053 2464 IFS=$as_save_IFS 2054 2465 … … 2057 2468 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2058 2469 if test -n "$ac_ct_CC"; then 2059 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52060 echo "${ECHO_T}$ac_ct_CC" >&6; }2061 else 2062 { echo "$as_me:$LINENO: result: no" >&52063 echo "${ECHO_T}no" >&6; }2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2471 $as_echo "$ac_ct_CC" >&6; } 2472 else 2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2474 $as_echo "no" >&6; } 2064 2475 fi 2065 2476 … … 2069 2480 case $cross_compiling:$ac_tool_warned in 2070 2481 yes:) 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;} 2482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2077 2484 ac_tool_warned=yes ;; 2078 2485 esac … … 2087 2494 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2088 2495 set dummy ${ac_tool_prefix}cc; ac_word=$2 2089 { echo "$as_me:$LINENO: checking for $ac_word" >&52090 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" >&62496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2497 $as_echo_n "checking for $ac_word... " >&6; } 2498 if test "${ac_cv_prog_CC+set}" = set; then : 2499 $as_echo_n "(cached) " >&6 2093 2500 else 2094 2501 if test -n "$CC"; then … … 2100 2507 IFS=$as_save_IFS 2101 2508 test -z "$as_dir" && as_dir=. 2102 for ac_exec_ext in '' $ac_executable_extensions; do2509 for ac_exec_ext in '' $ac_executable_extensions; do 2103 2510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2104 2511 ac_cv_prog_CC="${ac_tool_prefix}cc" 2105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2106 2513 break 2 2107 2514 fi 2108 2515 done 2109 done2516 done 2110 2517 IFS=$as_save_IFS 2111 2518 … … 2114 2521 CC=$ac_cv_prog_CC 2115 2522 if test -n "$CC"; then 2116 { echo "$as_me:$LINENO: result: $CC" >&52117 echo "${ECHO_T}$CC" >&6; }2118 else 2119 { echo "$as_me:$LINENO: result: no" >&52120 echo "${ECHO_T}no" >&6; }2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2524 $as_echo "$CC" >&6; } 2525 else 2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2527 $as_echo "no" >&6; } 2121 2528 fi 2122 2529 … … 2127 2534 # Extract the first word of "cc", so it can be a program name with args. 2128 2535 set dummy cc; ac_word=$2 2129 { echo "$as_me:$LINENO: checking for $ac_word" >&52130 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" >&62536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2537 $as_echo_n "checking for $ac_word... " >&6; } 2538 if test "${ac_cv_prog_CC+set}" = set; then : 2539 $as_echo_n "(cached) " >&6 2133 2540 else 2134 2541 if test -n "$CC"; then … … 2141 2548 IFS=$as_save_IFS 2142 2549 test -z "$as_dir" && as_dir=. 2143 for ac_exec_ext in '' $ac_executable_extensions; do2550 for ac_exec_ext in '' $ac_executable_extensions; do 2144 2551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2145 2552 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2148 2555 fi 2149 2556 ac_cv_prog_CC="cc" 2150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2151 2558 break 2 2152 2559 fi 2153 2560 done 2154 done2561 done 2155 2562 IFS=$as_save_IFS 2156 2563 … … 2171 2578 CC=$ac_cv_prog_CC 2172 2579 if test -n "$CC"; then 2173 { echo "$as_me:$LINENO: result: $CC" >&52174 echo "${ECHO_T}$CC" >&6; }2175 else 2176 { echo "$as_me:$LINENO: result: no" >&52177 echo "${ECHO_T}no" >&6; }2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2581 $as_echo "$CC" >&6; } 2582 else 2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2584 $as_echo "no" >&6; } 2178 2585 fi 2179 2586 … … 2186 2593 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2187 2594 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2188 { echo "$as_me:$LINENO: checking for $ac_word" >&52189 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" >&62595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2596 $as_echo_n "checking for $ac_word... " >&6; } 2597 if test "${ac_cv_prog_CC+set}" = set; then : 2598 $as_echo_n "(cached) " >&6 2192 2599 else 2193 2600 if test -n "$CC"; then … … 2199 2606 IFS=$as_save_IFS 2200 2607 test -z "$as_dir" && as_dir=. 2201 for ac_exec_ext in '' $ac_executable_extensions; do2608 for ac_exec_ext in '' $ac_executable_extensions; do 2202 2609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2203 2610 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2205 2612 break 2 2206 2613 fi 2207 2614 done 2208 done2615 done 2209 2616 IFS=$as_save_IFS 2210 2617 … … 2213 2620 CC=$ac_cv_prog_CC 2214 2621 if test -n "$CC"; then 2215 { echo "$as_me:$LINENO: result: $CC" >&52216 echo "${ECHO_T}$CC" >&6; }2217 else 2218 { echo "$as_me:$LINENO: result: no" >&52219 echo "${ECHO_T}no" >&6; }2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2623 $as_echo "$CC" >&6; } 2624 else 2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2626 $as_echo "no" >&6; } 2220 2627 fi 2221 2628 … … 2230 2637 # Extract the first word of "$ac_prog", so it can be a program name with args. 2231 2638 set dummy $ac_prog; ac_word=$2 2232 { echo "$as_me:$LINENO: checking for $ac_word" >&52233 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" >&62639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2640 $as_echo_n "checking for $ac_word... " >&6; } 2641 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2642 $as_echo_n "(cached) " >&6 2236 2643 else 2237 2644 if test -n "$ac_ct_CC"; then … … 2243 2650 IFS=$as_save_IFS 2244 2651 test -z "$as_dir" && as_dir=. 2245 for ac_exec_ext in '' $ac_executable_extensions; do2652 for ac_exec_ext in '' $ac_executable_extensions; do 2246 2653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2247 2654 ac_cv_prog_ac_ct_CC="$ac_prog" 2248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2249 2656 break 2 2250 2657 fi 2251 2658 done 2252 done2659 done 2253 2660 IFS=$as_save_IFS 2254 2661 … … 2257 2664 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2258 2665 if test -n "$ac_ct_CC"; then 2259 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52260 echo "${ECHO_T}$ac_ct_CC" >&6; }2261 else 2262 { echo "$as_me:$LINENO: result: no" >&52263 echo "${ECHO_T}no" >&6; }2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2667 $as_echo "$ac_ct_CC" >&6; } 2668 else 2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2670 $as_echo "no" >&6; } 2264 2671 fi 2265 2672 … … 2273 2680 case $cross_compiling:$ac_tool_warned in 2274 2681 yes:) 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;} 2682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2281 2684 ac_tool_warned=yes ;; 2282 2685 esac … … 2288 2691 2289 2692 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 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2695 as_fn_error "no acceptable C compiler found in \$PATH 2696 See \`config.log' for more details." "$LINENO" 5; } 2295 2697 2296 2698 # Provide some information about the compiler. 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" 2699 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2700 set X $ac_compile 2701 ac_compiler=$2 2702 for ac_option in --version -v -V -qversion; do 2703 { { ac_try="$ac_compiler $ac_option >&5" 2300 2704 case "(($ac_try" in 2301 2705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2302 2706 *) ac_try_echo=$ac_try;; 2303 2707 esac 2304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2305 (eval "$ac_compiler --version >&5") 2>&5 2708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2709 $as_echo "$ac_try_echo"; } >&5 2710 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2306 2711 ac_status=$? 2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2308 (exit $ac_status); } 2309 { (ac_try="$ac_compiler -v >&5" 2712 if test -s conftest.err; then 2713 sed '10a\ 2714 ... rest of stderr output deleted ... 2715 10q' conftest.err >conftest.er1 2716 cat conftest.er1 >&5 2717 fi 2718 rm -f conftest.er1 conftest.err 2719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2720 test $ac_status = 0; } 2721 done 2722 2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2724 /* end confdefs.h. */ 2725 2726 int 2727 main () 2728 { 2729 2730 ; 2731 return 0; 2732 } 2733 _ACEOF 2734 ac_clean_files_save=$ac_clean_files 2735 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2736 # Try to create an executable without -o first, disregard a.out. 2737 # It will help us diagnose broken compilers, and finding out an intuition 2738 # of exeext. 2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2740 $as_echo_n "checking whether the C compiler works... " >&6; } 2741 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2742 2743 # The possible output files: 2744 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2745 2746 ac_rmfiles= 2747 for ac_file in $ac_files 2748 do 2749 case $ac_file in 2750 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2751 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2752 esac 2753 done 2754 rm -f $ac_rmfiles 2755 2756 if { { ac_try="$ac_link_default" 2310 2757 case "(($ac_try" in 2311 2758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2312 2759 *) ac_try_echo=$ac_try;; 2313 2760 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 2335 /* end confdefs.h. */ 2336 2337 int 2338 main () 2339 { 2340 2341 ; 2342 return 0; 2343 } 2344 _ACEOF 2345 ac_clean_files_save=$ac_clean_files 2346 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2347 # Try to create an executable without -o first, disregard a.out. 2348 # It will help us diagnose broken compilers, and finding out an intuition 2349 # of exeext. 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. 2362 ac_rmfiles= 2363 for ac_file in $ac_files 2364 do 2365 case $ac_file in 2366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2367 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2368 esac 2369 done 2370 rm -f $ac_rmfiles 2371 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 2761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2762 $as_echo "$ac_try_echo"; } >&5 2378 2763 (eval "$ac_link_default") 2>&5 2379 2764 ac_status=$? 2380 echo "$as_me:$LINENO: \$? = $ac_status" >&52381 (exit $ac_status); }; then2765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2766 test $ac_status = 0; }; then : 2382 2767 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2383 2768 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2389 2774 test -f "$ac_file" || continue 2390 2775 case $ac_file in 2391 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )2776 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2392 2777 ;; 2393 2778 [ab].out ) … … 2396 2781 break;; 2397 2782 *.* ) 2398 2783 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2399 2784 then :; else 2400 2785 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2415 2800 ac_file='' 2416 2801 fi 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 if test -z "$ac_file"; then : 2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2804 $as_echo "no" >&6; } 2805 $as_echo "$as_me: failed program was:" >&5 2422 2806 sed 's/^/| /' conftest.$ac_ext >&5 2423 2807 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 2808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2810 { as_fn_set_status 77 2811 as_fn_error "C compiler cannot create executables 2812 See \`config.log' for more details." "$LINENO" 5; }; } 2813 else 2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2815 $as_echo "yes" >&6; } 2816 fi 2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2818 $as_echo_n "checking for C compiler default output file name... " >&6; } 2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2820 $as_echo "$ac_file" >&6; } 2431 2821 ac_exeext=$ac_cv_exeext 2432 2822 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 2823 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2469 2824 ac_clean_files=$ac_clean_files_save 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" 2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2826 $as_echo_n "checking for suffix of executables... " >&6; } 2827 if { { ac_try="$ac_link" 2480 2828 case "(($ac_try" in 2481 2829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2482 2830 *) ac_try_echo=$ac_try;; 2483 2831 esac 2484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2833 $as_echo "$ac_try_echo"; } >&5 2485 2834 (eval "$ac_link") 2>&5 2486 2835 ac_status=$? 2487 echo "$as_me:$LINENO: \$? = $ac_status" >&52488 (exit $ac_status); }; then2836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2837 test $ac_status = 0; }; then : 2489 2838 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2490 2839 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2494 2843 test -f "$ac_file" || continue 2495 2844 case $ac_file in 2496 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;2845 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2497 2846 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2498 2847 break;; … … 2501 2850 done 2502 2851 else 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; } 2852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2854 as_fn_error "cannot compute suffix of executables: cannot compile and link 2855 See \`config.log' for more details." "$LINENO" 5; } 2856 fi 2857 rm -f conftest conftest$ac_cv_exeext 2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2859 $as_echo "$ac_cv_exeext" >&6; } 2513 2860 2514 2861 rm -f conftest.$ac_ext 2515 2862 EXEEXT=$ac_cv_exeext 2516 2863 ac_exeext=$EXEEXT 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 2864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2527 2865 /* end confdefs.h. */ 2528 2866 #include <stdio.h> 2529 2867 int 2530 2868 main () 2531 2869 { 2870 FILE *f = fopen ("conftest.out", "w"); 2871 return ferror (f) || fclose (f) != 0; 2532 2872 2533 2873 ; … … 2535 2875 } 2536 2876 _ACEOF 2537 rm -f conftest.o conftest.obj 2538 if { (ac_try="$ac_compile" 2877 ac_clean_files="$ac_clean_files conftest.out" 2878 # Check that the compiler produces executables we can run. If not, either 2879 # the compiler is broken, or we cross compile. 2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2881 $as_echo_n "checking whether we are cross compiling... " >&6; } 2882 if test "$cross_compiling" != yes; then 2883 { { ac_try="$ac_link" 2539 2884 case "(($ac_try" in 2540 2885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2541 2886 *) ac_try_echo=$ac_try;; 2542 2887 esac 2543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2889 $as_echo "$ac_try_echo"; } >&5 2890 (eval "$ac_link") 2>&5 2891 ac_status=$? 2892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2893 test $ac_status = 0; } 2894 if { ac_try='./conftest$ac_cv_exeext' 2895 { { case "(($ac_try" in 2896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2897 *) ac_try_echo=$ac_try;; 2898 esac 2899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2900 $as_echo "$ac_try_echo"; } >&5 2901 (eval "$ac_try") 2>&5 2902 ac_status=$? 2903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2904 test $ac_status = 0; }; }; then 2905 cross_compiling=no 2906 else 2907 if test "$cross_compiling" = maybe; then 2908 cross_compiling=yes 2909 else 2910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2912 as_fn_error "cannot run C compiled programs. 2913 If you meant to cross compile, use \`--host'. 2914 See \`config.log' for more details." "$LINENO" 5; } 2915 fi 2916 fi 2917 fi 2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2919 $as_echo "$cross_compiling" >&6; } 2920 2921 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2922 ac_clean_files=$ac_clean_files_save 2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2924 $as_echo_n "checking for suffix of object files... " >&6; } 2925 if test "${ac_cv_objext+set}" = set; then : 2926 $as_echo_n "(cached) " >&6 2927 else 2928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2929 /* end confdefs.h. */ 2930 2931 int 2932 main () 2933 { 2934 2935 ; 2936 return 0; 2937 } 2938 _ACEOF 2939 rm -f conftest.o conftest.obj 2940 if { { ac_try="$ac_compile" 2941 case "(($ac_try" in 2942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2943 *) ac_try_echo=$ac_try;; 2944 esac 2945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2946 $as_echo "$ac_try_echo"; } >&5 2544 2947 (eval "$ac_compile") 2>&5 2545 2948 ac_status=$? 2546 echo "$as_me:$LINENO: \$? = $ac_status" >&52547 (exit $ac_status); }; then2949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2950 test $ac_status = 0; }; then : 2548 2951 for ac_file in conftest.o conftest.obj conftest.*; do 2549 2952 test -f "$ac_file" || continue; 2550 2953 case $ac_file in 2551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;2954 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2552 2955 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2553 2956 break;; … … 2555 2958 done 2556 2959 else 2557 echo "$as_me: failed program was:" >&52960 $as_echo "$as_me: failed program was:" >&5 2558 2961 sed 's/^/| /' conftest.$ac_ext >&5 2559 2962 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 2963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2965 as_fn_error "cannot compute suffix of object files: cannot compile 2966 See \`config.log' for more details." "$LINENO" 5; } 2967 fi 2567 2968 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2568 2969 fi 2569 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52570 echo "${ECHO_T}$ac_cv_objext" >&6; }2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2971 $as_echo "$ac_cv_objext" >&6; } 2571 2972 OBJEXT=$ac_cv_objext 2572 2973 ac_objext=$OBJEXT 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 2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2975 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2976 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2977 $as_echo_n "(cached) " >&6 2978 else 2979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2583 2980 /* end confdefs.h. */ 2584 2981 … … 2594 2991 } 2595 2992 _ACEOF 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 2993 if ac_fn_c_try_compile "$LINENO"; then : 2613 2994 ac_compiler_gnu=yes 2614 2995 else 2615 echo "$as_me: failed program was:" >&5 2616 sed 's/^/| /' conftest.$ac_ext >&5 2617 2618 ac_compiler_gnu=no 2619 fi 2620 2996 ac_compiler_gnu=no 2997 fi 2621 2998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2622 2999 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2623 3000 2624 3001 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` 3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3003 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3004 if test $ac_compiler_gnu = yes; then 3005 GCC=yes 3006 else 3007 GCC= 3008 fi 2628 3009 ac_test_CFLAGS=${CFLAGS+set} 2629 3010 ac_save_CFLAGS=$CFLAGS 2630 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52631 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" >&63011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3012 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3013 if test "${ac_cv_prog_cc_g+set}" = set; then : 3014 $as_echo_n "(cached) " >&6 2634 3015 else 2635 3016 ac_save_c_werror_flag=$ac_c_werror_flag … … 2637 3018 ac_cv_prog_cc_g=no 2638 3019 CFLAGS="-g" 2639 cat >conftest.$ac_ext <<_ACEOF 2640 /* confdefs.h. */ 2641 _ACEOF 2642 cat confdefs.h >>conftest.$ac_ext 2643 cat >>conftest.$ac_ext <<_ACEOF 3020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2644 3021 /* end confdefs.h. */ 2645 3022 … … 2652 3029 } 2653 3030 _ACEOF 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 3031 if ac_fn_c_try_compile "$LINENO"; then : 2671 3032 ac_cv_prog_cc_g=yes 2672 3033 else 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 3034 CFLAGS="" 3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2682 3036 /* end confdefs.h. */ 2683 3037 … … 2690 3044 } 2691 3045 _ACEOF 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 if ac_fn_c_try_compile "$LINENO"; then : 3047 3048 else 3049 ac_c_werror_flag=$ac_save_c_werror_flag 2715 3050 CFLAGS="-g" 2716 cat >conftest.$ac_ext <<_ACEOF 2717 /* confdefs.h. */ 2718 _ACEOF 2719 cat confdefs.h >>conftest.$ac_ext 2720 cat >>conftest.$ac_ext <<_ACEOF 3051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2721 3052 /* end confdefs.h. */ 2722 3053 … … 2729 3060 } 2730 3061 _ACEOF 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 3062 if ac_fn_c_try_compile "$LINENO"; then : 2748 3063 ac_cv_prog_cc_g=yes 2749 else 2750 echo "$as_me: failed program was:" >&5 2751 sed 's/^/| /' conftest.$ac_ext >&5 2752 2753 2754 fi 2755 3064 fi 2756 3065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2757 3066 fi 2758 2759 3067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2760 3068 fi 2761 2762 3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2763 3070 ac_c_werror_flag=$ac_save_c_werror_flag 2764 3071 fi 2765 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52766 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3073 $as_echo "$ac_cv_prog_cc_g" >&6; } 2767 3074 if test "$ac_test_CFLAGS" = set; then 2768 3075 CFLAGS=$ac_save_CFLAGS … … 2780 3087 fi 2781 3088 fi 2782 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52783 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" >&63089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3090 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3091 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3092 $as_echo_n "(cached) " >&6 2786 3093 else 2787 3094 ac_cv_prog_cc_c89=no 2788 3095 ac_save_CC=$CC 2789 cat >conftest.$ac_ext <<_ACEOF 2790 /* confdefs.h. */ 2791 _ACEOF 2792 cat confdefs.h >>conftest.$ac_ext 2793 cat >>conftest.$ac_ext <<_ACEOF 3096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2794 3097 /* end confdefs.h. */ 2795 3098 #include <stdarg.h> … … 2848 3151 do 2849 3152 CC="$ac_save_CC $ac_arg" 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 3153 if ac_fn_c_try_compile "$LINENO"; then : 2867 3154 ac_cv_prog_cc_c89=$ac_arg 2868 else 2869 echo "$as_me: failed program was:" >&5 2870 sed 's/^/| /' conftest.$ac_ext >&5 2871 2872 2873 fi 2874 3155 fi 2875 3156 rm -f core conftest.err conftest.$ac_objext 2876 3157 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2883 3164 case "x$ac_cv_prog_cc_c89" in 2884 3165 x) 2885 { echo "$as_me:$LINENO: result: none needed" >&52886 echo "${ECHO_T}none needed" >&6; } ;;3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3167 $as_echo "none needed" >&6; } ;; 2887 3168 xno) 2888 { echo "$as_me:$LINENO: result: unsupported" >&52889 echo "${ECHO_T}unsupported" >&6; } ;;3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3170 $as_echo "unsupported" >&6; } ;; 2890 3171 *) 2891 3172 CC="$CC $ac_cv_prog_cc_c89" 2892 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52893 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3174 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2894 3175 esac 2895 3176 if test "x$ac_cv_prog_cc_c89" != xno; then : 3177 3178 fi 2896 3179 2897 3180 ac_ext=c … … 2915 3198 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2916 3199 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2917 { echo "$as_me:$LINENO: checking for $ac_word" >&52918 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" >&63200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3201 $as_echo_n "checking for $ac_word... " >&6; } 3202 if test "${ac_cv_prog_CXX+set}" = set; then : 3203 $as_echo_n "(cached) " >&6 2921 3204 else 2922 3205 if test -n "$CXX"; then … … 2928 3211 IFS=$as_save_IFS 2929 3212 test -z "$as_dir" && as_dir=. 2930 for ac_exec_ext in '' $ac_executable_extensions; do3213 for ac_exec_ext in '' $ac_executable_extensions; do 2931 3214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2932 3215 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2934 3217 break 2 2935 3218 fi 2936 3219 done 2937 done3220 done 2938 3221 IFS=$as_save_IFS 2939 3222 … … 2942 3225 CXX=$ac_cv_prog_CXX 2943 3226 if test -n "$CXX"; then 2944 { echo "$as_me:$LINENO: result: $CXX" >&52945 echo "${ECHO_T}$CXX" >&6; }2946 else 2947 { echo "$as_me:$LINENO: result: no" >&52948 echo "${ECHO_T}no" >&6; }3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3228 $as_echo "$CXX" >&6; } 3229 else 3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3231 $as_echo "no" >&6; } 2949 3232 fi 2950 3233 … … 2959 3242 # Extract the first word of "$ac_prog", so it can be a program name with args. 2960 3243 set dummy $ac_prog; ac_word=$2 2961 { echo "$as_me:$LINENO: checking for $ac_word" >&52962 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" >&63244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3245 $as_echo_n "checking for $ac_word... " >&6; } 3246 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3247 $as_echo_n "(cached) " >&6 2965 3248 else 2966 3249 if test -n "$ac_ct_CXX"; then … … 2972 3255 IFS=$as_save_IFS 2973 3256 test -z "$as_dir" && as_dir=. 2974 for ac_exec_ext in '' $ac_executable_extensions; do3257 for ac_exec_ext in '' $ac_executable_extensions; do 2975 3258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2976 3259 ac_cv_prog_ac_ct_CXX="$ac_prog" 2977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2978 3261 break 2 2979 3262 fi 2980 3263 done 2981 done3264 done 2982 3265 IFS=$as_save_IFS 2983 3266 … … 2986 3269 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2987 3270 if test -n "$ac_ct_CXX"; then 2988 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&52989 echo "${ECHO_T}$ac_ct_CXX" >&6; }2990 else 2991 { echo "$as_me:$LINENO: result: no" >&52992 echo "${ECHO_T}no" >&6; }3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3272 $as_echo "$ac_ct_CXX" >&6; } 3273 else 3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3275 $as_echo "no" >&6; } 2993 3276 fi 2994 3277 … … 3002 3285 case $cross_compiling:$ac_tool_warned in 3003 3286 yes:) 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;} 3287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3010 3289 ac_tool_warned=yes ;; 3011 3290 esac … … 3017 3296 fi 3018 3297 # Provide some information about the compiler. 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" 3298 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3299 set X $ac_compile 3300 ac_compiler=$2 3301 for ac_option in --version -v -V -qversion; do 3302 { { ac_try="$ac_compiler $ac_option >&5" 3022 3303 case "(($ac_try" in 3023 3304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3024 3305 *) ac_try_echo=$ac_try;; 3025 3306 esac 3026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3027 (eval "$ac_compiler --version >&5") 2>&5 3307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3308 $as_echo "$ac_try_echo"; } >&5 3309 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3028 3310 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 3311 if test -s conftest.err; then 3312 sed '10a\ 3313 ... rest of stderr output deleted ... 3314 10q' conftest.err >conftest.er1 3315 cat conftest.er1 >&5 3316 fi 3317 rm -f conftest.er1 conftest.err 3318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3319 test $ac_status = 0; } 3320 done 3321 3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3323 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3324 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3325 $as_echo_n "(cached) " >&6 3326 else 3327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3062 3328 /* end confdefs.h. */ 3063 3329 … … 3073 3339 } 3074 3340 _ACEOF 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 3341 if ac_fn_cxx_try_compile "$LINENO"; then : 3092 3342 ac_compiler_gnu=yes 3093 3343 else 3094 echo "$as_me: failed program was:" >&5 3095 sed 's/^/| /' conftest.$ac_ext >&5 3096 3097 ac_compiler_gnu=no 3098 fi 3099 3344 ac_compiler_gnu=no 3345 fi 3100 3346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3101 3347 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3102 3348 3103 3349 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` 3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3351 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3352 if test $ac_compiler_gnu = yes; then 3353 GXX=yes 3354 else 3355 GXX= 3356 fi 3107 3357 ac_test_CXXFLAGS=${CXXFLAGS+set} 3108 3358 ac_save_CXXFLAGS=$CXXFLAGS 3109 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53110 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" >&63359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3360 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3361 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3362 $as_echo_n "(cached) " >&6 3113 3363 else 3114 3364 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3116 3366 ac_cv_prog_cxx_g=no 3117 3367 CXXFLAGS="-g" 3118 cat >conftest.$ac_ext <<_ACEOF 3119 /* confdefs.h. */ 3120 _ACEOF 3121 cat confdefs.h >>conftest.$ac_ext 3122 cat >>conftest.$ac_ext <<_ACEOF 3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3123 3369 /* end confdefs.h. */ 3124 3370 … … 3131 3377 } 3132 3378 _ACEOF 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 3379 if ac_fn_cxx_try_compile "$LINENO"; then : 3150 3380 ac_cv_prog_cxx_g=yes 3151 3381 else 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 3382 CXXFLAGS="" 3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3161 3384 /* end confdefs.h. */ 3162 3385 … … 3169 3392 } 3170 3393 _ACEOF 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 if ac_fn_cxx_try_compile "$LINENO"; then : 3395 3396 else 3397 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3194 3398 CXXFLAGS="-g" 3195 cat >conftest.$ac_ext <<_ACEOF 3196 /* confdefs.h. */ 3197 _ACEOF 3198 cat confdefs.h >>conftest.$ac_ext 3199 cat >>conftest.$ac_ext <<_ACEOF 3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3200 3400 /* end confdefs.h. */ 3201 3401 … … 3208 3408 } 3209 3409 _ACEOF 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 3410 if ac_fn_cxx_try_compile "$LINENO"; then : 3227 3411 ac_cv_prog_cxx_g=yes 3228 else 3229 echo "$as_me: failed program was:" >&5 3230 sed 's/^/| /' conftest.$ac_ext >&5 3231 3232 3233 fi 3234 3412 fi 3235 3413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3236 3414 fi 3237 3238 3415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3239 3416 fi 3240 3241 3417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3242 3418 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3243 3419 fi 3244 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53245 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3421 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3246 3422 if test "$ac_test_CXXFLAGS" = set; then 3247 3423 CXXFLAGS=$ac_save_CXXFLAGS … … 3321 3497 3322 3498 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3500 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3501 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 3502 $as_echo_n "(cached) " >&6 3328 3503 else 3329 3504 ac_check_lib_save_LIBS=$LIBS 3330 3505 LIBS="-lpthread $LIBS" 3331 cat >conftest.$ac_ext <<_ACEOF 3332 /* confdefs.h. */ 3333 _ACEOF 3334 cat confdefs.h >>conftest.$ac_ext 3335 cat >>conftest.$ac_ext <<_ACEOF 3506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3336 3507 /* end confdefs.h. */ 3337 3508 … … 3351 3522 } 3352 3523 _ACEOF 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 3524 if ac_fn_c_try_link "$LINENO"; then : 3371 3525 ac_cv_lib_pthread_pthread_create=yes 3372 3526 else 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 ac_cv_lib_pthread_pthread_create=no 3528 fi 3529 rm -f core conftest.err conftest.$ac_objext \ 3530 conftest$ac_exeext conftest.$ac_ext 3381 3531 LIBS=$ac_check_lib_save_LIBS 3382 3532 fi 3383 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&53384 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }3385 if test $ac_cv_lib_pthread_pthread_create = yes; then3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 3534 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 3535 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 3386 3536 cat >>confdefs.h <<_ACEOF 3387 3537 #define HAVE_LIBPTHREAD 1 … … 3392 3542 fi 3393 3543 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 3545 $as_echo_n "checking for puts in -lwsock32... " >&6; } 3546 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 3547 $as_echo_n "(cached) " >&6 3399 3548 else 3400 3549 ac_check_lib_save_LIBS=$LIBS 3401 3550 LIBS="-lwsock32 $LIBS" 3402 cat >conftest.$ac_ext <<_ACEOF 3403 /* confdefs.h. */ 3404 _ACEOF 3405 cat confdefs.h >>conftest.$ac_ext 3406 cat >>conftest.$ac_ext <<_ACEOF 3551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3407 3552 /* end confdefs.h. */ 3408 3553 … … 3422 3567 } 3423 3568 _ACEOF 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 3569 if ac_fn_c_try_link "$LINENO"; then : 3442 3570 ac_cv_lib_wsock32_puts=yes 3443 3571 else 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 ac_cv_lib_wsock32_puts=no 3573 fi 3574 rm -f core conftest.err conftest.$ac_objext \ 3575 conftest$ac_exeext conftest.$ac_ext 3452 3576 LIBS=$ac_check_lib_save_LIBS 3453 3577 fi 3454 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&53455 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; }3456 if test $ac_cv_lib_wsock32_puts = yes; then3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 3579 $as_echo "$ac_cv_lib_wsock32_puts" >&6; } 3580 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 3457 3581 cat >>confdefs.h <<_ACEOF 3458 3582 #define HAVE_LIBWSOCK32 1 … … 3463 3587 fi 3464 3588 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 3590 $as_echo_n "checking for puts in -lws2_32... " >&6; } 3591 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 3592 $as_echo_n "(cached) " >&6 3470 3593 else 3471 3594 ac_check_lib_save_LIBS=$LIBS 3472 3595 LIBS="-lws2_32 $LIBS" 3473 cat >conftest.$ac_ext <<_ACEOF 3474 /* confdefs.h. */ 3475 _ACEOF 3476 cat confdefs.h >>conftest.$ac_ext 3477 cat >>conftest.$ac_ext <<_ACEOF 3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3478 3597 /* end confdefs.h. */ 3479 3598 … … 3493 3612 } 3494 3613 _ACEOF 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 3614 if ac_fn_c_try_link "$LINENO"; then : 3513 3615 ac_cv_lib_ws2_32_puts=yes 3514 3616 else 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 ac_cv_lib_ws2_32_puts=no 3618 fi 3619 rm -f core conftest.err conftest.$ac_objext \ 3620 conftest$ac_exeext conftest.$ac_ext 3523 3621 LIBS=$ac_check_lib_save_LIBS 3524 3622 fi 3525 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&53526 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; }3527 if test $ac_cv_lib_ws2_32_puts = yes; then3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 3624 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 3625 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 3528 3626 cat >>confdefs.h <<_ACEOF 3529 3627 #define HAVE_LIBWS2_32 1 … … 3534 3632 fi 3535 3633 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 3635 $as_echo_n "checking for puts in -lole32... " >&6; } 3636 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 3637 $as_echo_n "(cached) " >&6 3541 3638 else 3542 3639 ac_check_lib_save_LIBS=$LIBS 3543 3640 LIBS="-lole32 $LIBS" 3544 cat >conftest.$ac_ext <<_ACEOF 3545 /* confdefs.h. */ 3546 _ACEOF 3547 cat confdefs.h >>conftest.$ac_ext 3548 cat >>conftest.$ac_ext <<_ACEOF 3641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3549 3642 /* end confdefs.h. */ 3550 3643 … … 3564 3657 } 3565 3658 _ACEOF 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 3659 if ac_fn_c_try_link "$LINENO"; then : 3584 3660 ac_cv_lib_ole32_puts=yes 3585 3661 else 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 ac_cv_lib_ole32_puts=no 3663 fi 3664 rm -f core conftest.err conftest.$ac_objext \ 3665 conftest$ac_exeext conftest.$ac_ext 3594 3666 LIBS=$ac_check_lib_save_LIBS 3595 3667 fi 3596 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&53597 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; }3598 if test $ac_cv_lib_ole32_puts = yes; then3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 3669 $as_echo "$ac_cv_lib_ole32_puts" >&6; } 3670 if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 3599 3671 cat >>confdefs.h <<_ACEOF 3600 3672 #define HAVE_LIBOLE32 1 … … 3605 3677 fi 3606 3678 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 3680 $as_echo_n "checking for puts in -lwinmm... " >&6; } 3681 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 3682 $as_echo_n "(cached) " >&6 3612 3683 else 3613 3684 ac_check_lib_save_LIBS=$LIBS 3614 3685 LIBS="-lwinmm $LIBS" 3615 cat >conftest.$ac_ext <<_ACEOF 3616 /* confdefs.h. */ 3617 _ACEOF 3618 cat confdefs.h >>conftest.$ac_ext 3619 cat >>conftest.$ac_ext <<_ACEOF 3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3620 3687 /* end confdefs.h. */ 3621 3688 … … 3635 3702 } 3636 3703 _ACEOF 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 3704 if ac_fn_c_try_link "$LINENO"; then : 3655 3705 ac_cv_lib_winmm_puts=yes 3656 3706 else 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 ac_cv_lib_winmm_puts=no 3708 fi 3709 rm -f core conftest.err conftest.$ac_objext \ 3710 conftest$ac_exeext conftest.$ac_ext 3665 3711 LIBS=$ac_check_lib_save_LIBS 3666 3712 fi 3667 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&53668 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; }3669 if test $ac_cv_lib_winmm_puts = yes; then3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 3714 $as_echo "$ac_cv_lib_winmm_puts" >&6; } 3715 if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 3670 3716 cat >>confdefs.h <<_ACEOF 3671 3717 #define HAVE_LIBWINMM 1 … … 3676 3722 fi 3677 3723 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 3725 $as_echo_n "checking for puts in -lsocket... " >&6; } 3726 if test "${ac_cv_lib_socket_puts+set}" = set; then : 3727 $as_echo_n "(cached) " >&6 3683 3728 else 3684 3729 ac_check_lib_save_LIBS=$LIBS 3685 3730 LIBS="-lsocket $LIBS" 3686 cat >conftest.$ac_ext <<_ACEOF 3687 /* confdefs.h. */ 3688 _ACEOF 3689 cat confdefs.h >>conftest.$ac_ext 3690 cat >>conftest.$ac_ext <<_ACEOF 3731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3691 3732 /* end confdefs.h. */ 3692 3733 … … 3706 3747 } 3707 3748 _ACEOF 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 3749 if ac_fn_c_try_link "$LINENO"; then : 3726 3750 ac_cv_lib_socket_puts=yes 3727 3751 else 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 ac_cv_lib_socket_puts=no 3753 fi 3754 rm -f core conftest.err conftest.$ac_objext \ 3755 conftest$ac_exeext conftest.$ac_ext 3736 3756 LIBS=$ac_check_lib_save_LIBS 3737 3757 fi 3738 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&53739 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; }3740 if test $ac_cv_lib_socket_puts = yes; then3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 3759 $as_echo "$ac_cv_lib_socket_puts" >&6; } 3760 if test "x$ac_cv_lib_socket_puts" = x""yes; then : 3741 3761 cat >>confdefs.h <<_ACEOF 3742 3762 #define HAVE_LIBSOCKET 1 … … 3747 3767 fi 3748 3768 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 3770 $as_echo_n "checking for puts in -lrt... " >&6; } 3771 if test "${ac_cv_lib_rt_puts+set}" = set; then : 3772 $as_echo_n "(cached) " >&6 3754 3773 else 3755 3774 ac_check_lib_save_LIBS=$LIBS 3756 3775 LIBS="-lrt $LIBS" 3757 cat >conftest.$ac_ext <<_ACEOF 3758 /* confdefs.h. */ 3759 _ACEOF 3760 cat confdefs.h >>conftest.$ac_ext 3761 cat >>conftest.$ac_ext <<_ACEOF 3776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3762 3777 /* end confdefs.h. */ 3763 3778 … … 3777 3792 } 3778 3793 _ACEOF 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 3794 if ac_fn_c_try_link "$LINENO"; then : 3797 3795 ac_cv_lib_rt_puts=yes 3798 3796 else 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 ac_cv_lib_rt_puts=no 3798 fi 3799 rm -f core conftest.err conftest.$ac_objext \ 3800 conftest$ac_exeext conftest.$ac_ext 3807 3801 LIBS=$ac_check_lib_save_LIBS 3808 3802 fi 3809 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&53810 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; }3811 if test $ac_cv_lib_rt_puts = yes; then3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 3804 $as_echo "$ac_cv_lib_rt_puts" >&6; } 3805 if test "x$ac_cv_lib_rt_puts" = x""yes; then : 3812 3806 cat >>confdefs.h <<_ACEOF 3813 3807 #define HAVE_LIBRT 1 … … 3818 3812 fi 3819 3813 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 3815 $as_echo_n "checking for puts in -lnsl... " >&6; } 3816 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 3817 $as_echo_n "(cached) " >&6 3825 3818 else 3826 3819 ac_check_lib_save_LIBS=$LIBS 3827 3820 LIBS="-lnsl $LIBS" 3828 cat >conftest.$ac_ext <<_ACEOF 3829 /* confdefs.h. */ 3830 _ACEOF 3831 cat confdefs.h >>conftest.$ac_ext 3832 cat >>conftest.$ac_ext <<_ACEOF 3821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3833 3822 /* end confdefs.h. */ 3834 3823 … … 3848 3837 } 3849 3838 _ACEOF 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 3839 if ac_fn_c_try_link "$LINENO"; then : 3868 3840 ac_cv_lib_nsl_puts=yes 3869 3841 else 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 ac_cv_lib_nsl_puts=no 3843 fi 3844 rm -f core conftest.err conftest.$ac_objext \ 3845 conftest$ac_exeext conftest.$ac_ext 3878 3846 LIBS=$ac_check_lib_save_LIBS 3879 3847 fi 3880 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&53881 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; }3882 if test $ac_cv_lib_nsl_puts = yes; then3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 3849 $as_echo "$ac_cv_lib_nsl_puts" >&6; } 3850 if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 3883 3851 cat >>confdefs.h <<_ACEOF 3884 3852 #define HAVE_LIBNSL 1 … … 3889 3857 fi 3890 3858 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3860 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3861 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3862 $as_echo_n "(cached) " >&6 3896 3863 else 3897 3864 ac_check_lib_save_LIBS=$LIBS 3898 3865 LIBS="-luuid $LIBS" 3899 cat >conftest.$ac_ext <<_ACEOF 3900 /* confdefs.h. */ 3901 _ACEOF 3902 cat confdefs.h >>conftest.$ac_ext 3903 cat >>conftest.$ac_ext <<_ACEOF 3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3904 3867 /* end confdefs.h. */ 3905 3868 … … 3919 3882 } 3920 3883 _ACEOF 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 3884 if ac_fn_c_try_link "$LINENO"; then : 3939 3885 ac_cv_lib_uuid_uuid_generate=yes 3940 3886 else 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 ac_cv_lib_uuid_uuid_generate=no 3888 fi 3889 rm -f core conftest.err conftest.$ac_objext \ 3890 conftest$ac_exeext conftest.$ac_ext 3949 3891 LIBS=$ac_check_lib_save_LIBS 3950 3892 fi 3951 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53952 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }3953 if test $ac_cv_lib_uuid_uuid_generate = yes; then3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3894 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3895 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 3954 3896 cat >>confdefs.h <<_ACEOF 3955 3897 #define HAVE_LIBUUID 1 … … 3960 3902 fi 3961 3903 3962 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53963 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" >&63904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3905 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3906 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3907 $as_echo_n "(cached) " >&6 3966 3908 else 3967 3909 ac_check_lib_save_LIBS=$LIBS 3968 3910 LIBS="-luuid $LIBS" 3969 cat >conftest.$ac_ext <<_ACEOF 3970 /* confdefs.h. */ 3971 _ACEOF 3972 cat confdefs.h >>conftest.$ac_ext 3973 cat >>conftest.$ac_ext <<_ACEOF 3911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3974 3912 /* end confdefs.h. */ 3975 3913 … … 3989 3927 } 3990 3928 _ACEOF 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 3929 if ac_fn_c_try_link "$LINENO"; then : 4009 3930 ac_cv_lib_uuid_uuid_generate=yes 4010 3931 else 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 ac_cv_lib_uuid_uuid_generate=no 3933 fi 3934 rm -f core conftest.err conftest.$ac_objext \ 3935 conftest$ac_exeext conftest.$ac_ext 4019 3936 LIBS=$ac_check_lib_save_LIBS 4020 3937 fi 4021 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&54022 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }4023 if test $ac_cv_lib_uuid_uuid_generate = yes; then3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3939 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3940 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 4024 3941 ac_has_uuid_lib=1 4025 3942 fi 4026 3943 4027 3944 4028 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&54029 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; }3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 3946 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 4030 3947 cat >>confdefs.h <<_ACEOF 4031 3948 #define PJ_M_NAME "$target_cpu" … … 4033 3950 4034 3951 4035 { echo "$as_me:$LINENO: checking memory alignment" >&54036 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; }3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 3953 $as_echo_n "checking memory alignment... " >&6; } 4037 3954 case $target in 4038 3955 sparc64-* | ia64-* | x86_64-* ) 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 $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 3957 3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 3959 $as_echo "8 bytes" >&6; } 4045 3960 ;; 4046 3961 * ) 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 $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 3963 3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 3965 $as_echo "4 bytes (default)" >&6; } 4053 3966 ;; 4054 3967 esac … … 4060 3973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4061 3974 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4062 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&54063 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3976 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4064 3977 # On Suns, sometimes $CPP names a directory. 4065 3978 if test -n "$CPP" && test -d "$CPP"; then … … 4067 3980 fi 4068 3981 if test -z "$CPP"; then 4069 if test "${ac_cv_prog_CPP+set}" = set; then 4070 echo $ECHO_N "(cached) $ECHO_C" >&63982 if test "${ac_cv_prog_CPP+set}" = set; then : 3983 $as_echo_n "(cached) " >&6 4071 3984 else 4072 3985 # Double quotes because CPP needs to be expanded … … 4082 3995 # On the NeXT, cc -E runs the code through the compiler's parser, 4083 3996 # not just through cpp. "Syntax error" is here to catch this case. 4084 cat >conftest.$ac_ext <<_ACEOF 4085 /* confdefs.h. */ 4086 _ACEOF 4087 cat confdefs.h >>conftest.$ac_ext 4088 cat >>conftest.$ac_ext <<_ACEOF 3997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4089 3998 /* end confdefs.h. */ 4090 3999 #ifdef __STDC__ … … 4095 4004 Syntax error 4096 4005 _ACEOF 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 4006 if ac_fn_c_try_cpp "$LINENO"; then : 4007 4008 else 4118 4009 # Broken: fails on valid input. 4119 4010 continue 4120 4011 fi 4121 4122 4012 rm -f conftest.err conftest.$ac_ext 4123 4013 4124 4014 # OK, works on sane cases. Now check whether nonexistent headers 4125 4015 # can be detected and how. 4126 cat >conftest.$ac_ext <<_ACEOF 4127 /* confdefs.h. */ 4128 _ACEOF 4129 cat confdefs.h >>conftest.$ac_ext 4130 cat >>conftest.$ac_ext <<_ACEOF 4016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4131 4017 /* end confdefs.h. */ 4132 4018 #include <ac_nonexistent.h> 4133 4019 _ACEOF 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 4020 if ac_fn_c_try_cpp "$LINENO"; then : 4150 4021 # Broken: success on invalid input. 4151 4022 continue 4152 4023 else 4153 echo "$as_me: failed program was:" >&54154 sed 's/^/| /' conftest.$ac_ext >&54155 4156 4024 # Passes both tests. 4157 4025 ac_preproc_ok=: 4158 4026 break 4159 4027 fi 4160 4161 4028 rm -f conftest.err conftest.$ac_ext 4162 4029 … … 4164 4031 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4165 4032 rm -f conftest.err conftest.$ac_ext 4166 if $ac_preproc_ok; then 4033 if $ac_preproc_ok; then : 4167 4034 break 4168 4035 fi … … 4176 4043 ac_cv_prog_CPP=$CPP 4177 4044 fi 4178 { echo "$as_me:$LINENO: result: $CPP" >&54179 echo "${ECHO_T}$CPP" >&6; }4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4046 $as_echo "$CPP" >&6; } 4180 4047 ac_preproc_ok=false 4181 4048 for ac_c_preproc_warn_flag in '' yes … … 4187 4054 # On the NeXT, cc -E runs the code through the compiler's parser, 4188 4055 # not just through cpp. "Syntax error" is here to catch this case. 4189 cat >conftest.$ac_ext <<_ACEOF 4190 /* confdefs.h. */ 4191 _ACEOF 4192 cat confdefs.h >>conftest.$ac_ext 4193 cat >>conftest.$ac_ext <<_ACEOF 4056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4194 4057 /* end confdefs.h. */ 4195 4058 #ifdef __STDC__ … … 4200 4063 Syntax error 4201 4064 _ACEOF 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 4065 if ac_fn_c_try_cpp "$LINENO"; then : 4066 4067 else 4223 4068 # Broken: fails on valid input. 4224 4069 continue 4225 4070 fi 4226 4227 4071 rm -f conftest.err conftest.$ac_ext 4228 4072 4229 4073 # OK, works on sane cases. Now check whether nonexistent headers 4230 4074 # can be detected and how. 4231 cat >conftest.$ac_ext <<_ACEOF 4232 /* confdefs.h. */ 4233 _ACEOF 4234 cat confdefs.h >>conftest.$ac_ext 4235 cat >>conftest.$ac_ext <<_ACEOF 4075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4236 4076 /* end confdefs.h. */ 4237 4077 #include <ac_nonexistent.h> 4238 4078 _ACEOF 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 4079 if ac_fn_c_try_cpp "$LINENO"; then : 4255 4080 # Broken: success on invalid input. 4256 4081 continue 4257 4082 else 4258 echo "$as_me: failed program was:" >&54259 sed 's/^/| /' conftest.$ac_ext >&54260 4261 4083 # Passes both tests. 4262 4084 ac_preproc_ok=: 4263 4085 break 4264 4086 fi 4265 4266 4087 rm -f conftest.err conftest.$ac_ext 4267 4088 … … 4269 4090 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4270 4091 rm -f conftest.err conftest.$ac_ext 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; }; } 4092 if $ac_preproc_ok; then : 4093 4094 else 4095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4097 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4098 See \`config.log' for more details." "$LINENO" 5; } 4279 4099 fi 4280 4100 … … 4286 4106 4287 4107 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 4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4109 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4110 if test "${ac_cv_path_GREP+set}" = set; then : 4111 $as_echo_n "(cached) " >&6 4112 else 4113 if test -z "$GREP"; then 4299 4114 ac_path_GREP_found=false 4300 # Loop through the user's path and test for each of PROGNAME-LIST4301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4115 # Loop through the user's path and test for each of PROGNAME-LIST 4116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4302 4117 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4303 4118 do 4304 4119 IFS=$as_save_IFS 4305 4120 test -z "$as_dir" && as_dir=. 4306 for ac_prog in grep ggrep; do4307 for ac_exec_ext in '' $ac_executable_extensions; do4308 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4309 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4310 4121 for ac_prog in grep ggrep; do 4122 for ac_exec_ext in '' $ac_executable_extensions; do 4123 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4124 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4125 # Check for GNU ac_path_GREP and select it if it is found. 4311 4126 # Check for GNU $ac_path_GREP 4312 4127 case `"$ac_path_GREP" --version 2>&1` in … … 4315 4130 *) 4316 4131 ac_count=0 4317 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4132 $as_echo_n 0123456789 >"conftest.in" 4318 4133 while : 4319 4134 do … … 4321 4136 mv "conftest.tmp" "conftest.in" 4322 4137 cp "conftest.in" "conftest.nl" 4323 echo 'GREP' >> "conftest.nl"4138 $as_echo 'GREP' >> "conftest.nl" 4324 4139 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4325 4140 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4326 a c_count=`expr $ac_count + 1`4141 as_fn_arith $ac_count + 1 && ac_count=$as_val 4327 4142 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4328 4143 # Best one so far, save it but keep looking for a better one … … 4336 4151 esac 4337 4152 4338 4339 $ac_path_GREP_found && break 34153 $ac_path_GREP_found && break 3 4154 done 4340 4155 done 4341 done 4342 4343 done 4156 done 4344 4157 IFS=$as_save_IFS 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 4158 if test -z "$ac_cv_path_GREP"; then 4159 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4160 fi 4356 4161 else 4357 4162 ac_cv_path_GREP=$GREP 4358 4163 fi 4359 4164 4360 4361 fi 4362 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4363 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4165 fi 4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4167 $as_echo "$ac_cv_path_GREP" >&6; } 4364 4168 GREP="$ac_cv_path_GREP" 4365 4169 4366 4170 4367 { echo "$as_me:$LINENO: checking for egrep" >&54368 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" >&64171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4172 $as_echo_n "checking for egrep... " >&6; } 4173 if test "${ac_cv_path_EGREP+set}" = set; then : 4174 $as_echo_n "(cached) " >&6 4371 4175 else 4372 4176 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4373 4177 then ac_cv_path_EGREP="$GREP -E" 4374 4178 else 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 4179 if test -z "$EGREP"; then 4381 4180 ac_path_EGREP_found=false 4382 # Loop through the user's path and test for each of PROGNAME-LIST4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4181 # Loop through the user's path and test for each of PROGNAME-LIST 4182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4384 4183 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4385 4184 do 4386 4185 IFS=$as_save_IFS 4387 4186 test -z "$as_dir" && as_dir=. 4388 for ac_prog in egrep; do4389 for ac_exec_ext in '' $ac_executable_extensions; do4390 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4391 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4392 4187 for ac_prog in egrep; do 4188 for ac_exec_ext in '' $ac_executable_extensions; do 4189 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4190 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4191 # Check for GNU ac_path_EGREP and select it if it is found. 4393 4192 # Check for GNU $ac_path_EGREP 4394 4193 case `"$ac_path_EGREP" --version 2>&1` in … … 4397 4196 *) 4398 4197 ac_count=0 4399 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4198 $as_echo_n 0123456789 >"conftest.in" 4400 4199 while : 4401 4200 do … … 4403 4202 mv "conftest.tmp" "conftest.in" 4404 4203 cp "conftest.in" "conftest.nl" 4405 echo 'EGREP' >> "conftest.nl"4204 $as_echo 'EGREP' >> "conftest.nl" 4406 4205 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4407 4206 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4408 a c_count=`expr $ac_count + 1`4207 as_fn_arith $ac_count + 1 && ac_count=$as_val 4409 4208 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4410 4209 # Best one so far, save it but keep looking for a better one … … 4418 4217 esac 4419 4218 4420 4421 $ac_path_EGREP_found && break 34219 $ac_path_EGREP_found && break 3 4220 done 4422 4221 done 4423 done 4424 4425 done 4222 done 4426 4223 IFS=$as_save_IFS 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 4224 if test -z "$ac_cv_path_EGREP"; then 4225 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4226 fi 4438 4227 else 4439 4228 ac_cv_path_EGREP=$EGREP 4440 4229 fi 4441 4230 4442 4443 4231 fi 4444 4232 fi 4445 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54446 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4234 $as_echo "$ac_cv_path_EGREP" >&6; } 4447 4235 EGREP="$ac_cv_path_EGREP" 4448 4236 4449 4237 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 4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4239 $as_echo_n "checking for ANSI C header files... " >&6; } 4240 if test "${ac_cv_header_stdc+set}" = set; then : 4241 $as_echo_n "(cached) " >&6 4242 else 4243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4460 4244 /* end confdefs.h. */ 4461 4245 #include <stdlib.h> … … 4472 4256 } 4473 4257 _ACEOF 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 4258 if ac_fn_c_try_compile "$LINENO"; then : 4491 4259 ac_cv_header_stdc=yes 4492 4260 else 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 4261 ac_cv_header_stdc=no 4262 fi 4499 4263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4500 4264 4501 4265 if test $ac_cv_header_stdc = yes; then 4502 4266 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4503 cat >conftest.$ac_ext <<_ACEOF 4504 /* confdefs.h. */ 4505 _ACEOF 4506 cat confdefs.h >>conftest.$ac_ext 4507 cat >>conftest.$ac_ext <<_ACEOF 4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4508 4268 /* end confdefs.h. */ 4509 4269 #include <string.h> … … 4511 4271 _ACEOF 4512 4272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4513 $EGREP "memchr" >/dev/null 2>&1; then 4514 : 4273 $EGREP "memchr" >/dev/null 2>&1; then : 4274 4515 4275 else 4516 4276 ac_cv_header_stdc=no 4517 4277 fi 4518 rm -f -rconftest*4278 rm -f conftest* 4519 4279 4520 4280 fi … … 4522 4282 if test $ac_cv_header_stdc = yes; then 4523 4283 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4524 cat >conftest.$ac_ext <<_ACEOF 4525 /* confdefs.h. */ 4526 _ACEOF 4527 cat confdefs.h >>conftest.$ac_ext 4528 cat >>conftest.$ac_ext <<_ACEOF 4284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4529 4285 /* end confdefs.h. */ 4530 4286 #include <stdlib.h> … … 4532 4288 _ACEOF 4533 4289 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4534 $EGREP "free" >/dev/null 2>&1; then 4535 : 4290 $EGREP "free" >/dev/null 2>&1; then : 4291 4536 4292 else 4537 4293 ac_cv_header_stdc=no 4538 4294 fi 4539 rm -f -rconftest*4295 rm -f conftest* 4540 4296 4541 4297 fi … … 4543 4299 if test $ac_cv_header_stdc = yes; then 4544 4300 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4545 if test "$cross_compiling" = yes; then 4301 if test "$cross_compiling" = yes; then : 4546 4302 : 4547 4303 else 4548 cat >conftest.$ac_ext <<_ACEOF 4549 /* confdefs.h. */ 4550 _ACEOF 4551 cat confdefs.h >>conftest.$ac_ext 4552 cat >>conftest.$ac_ext <<_ACEOF 4304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4553 4305 /* end confdefs.h. */ 4554 4306 #include <ctype.h> … … 4577 4329 } 4578 4330 _ACEOF 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; } 4331 if ac_fn_c_try_run "$LINENO"; then : 4332 4333 else 4334 ac_cv_header_stdc=no 4335 fi 4336 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4337 conftest.$ac_objext conftest.beam conftest.$ac_ext 4338 fi 4339 4340 fi 4341 fi 4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4343 $as_echo "$ac_cv_header_stdc" >&6; } 4616 4344 if test $ac_cv_header_stdc = yes; then 4617 4345 4618 cat >>confdefs.h <<\_ACEOF 4619 #define STDC_HEADERS 1 4620 _ACEOF 4346 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4621 4347 4622 4348 fi 4623 4349 4624 4350 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4351 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4635 4352 inttypes.h stdint.h unistd.h 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 4353 do : 4354 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4355 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4356 " 4357 eval as_val=\$$as_ac_Header 4358 if test "x$as_val" = x""yes; then : 4359 cat >>confdefs.h <<_ACEOF 4360 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4361 _ACEOF 4362 4363 fi 4364 4365 done 4366 4367 4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4369 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4370 if test "${ac_cv_c_bigendian+set}" = set; then : 4371 $as_echo_n "(cached) " >&6 4372 else 4373 ac_cv_c_bigendian=unknown 4374 # See if we're dealing with a universal compiler. 4375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4648 4376 /* 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 4377 #ifndef __APPLE_CC__ 4378 not a universal capable compiler 4379 #endif 4380 typedef int dummy; 4381 4382 _ACEOF 4383 if ac_fn_c_try_compile "$LINENO"; then : 4384 4385 # Check for potential -arch flags. It is not universal unless 4386 # there are at least two -arch flags with different values. 4387 ac_arch= 4388 ac_prev= 4389 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4390 if test -n "$ac_prev"; then 4391 case $ac_word in 4392 i?86 | x86_64 | ppc | ppc64) 4393 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4394 ac_arch=$ac_word 4395 else 4396 ac_cv_c_bigendian=universal 4397 break 4398 fi 4399 ;; 4400 esac 4401 ac_prev= 4402 elif test "x$ac_word" = "x-arch"; then 4403 ac_prev=arch 4404 fi 4405 done 4406 fi 4678 4407 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 4684 cat >>confdefs.h <<_ACEOF 4685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4686 _ACEOF 4687 4688 fi 4689 4690 done 4691 4692 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 4408 if test $ac_cv_c_bigendian = unknown; then 4409 # See if sys/param.h defines the BYTE_ORDER macro. 4410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4704 4411 /* end confdefs.h. */ 4705 4412 #include <sys/types.h> 4706 #include <sys/param.h>4413 #include <sys/param.h> 4707 4414 4708 4415 int 4709 4416 main () 4710 4417 { 4711 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4712 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4713 bogus endian macros 4714 #endif 4418 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4419 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4420 && LITTLE_ENDIAN) 4421 bogus endian macros 4422 #endif 4715 4423 4716 4424 ; … … 4718 4426 } 4719 4427 _ACEOF 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 4428 if ac_fn_c_try_compile "$LINENO"; then : 4737 4429 # It does; now see whether it defined to BIG_ENDIAN or not. 4738 cat >conftest.$ac_ext <<_ACEOF 4739 /* confdefs.h. */ 4740 _ACEOF 4741 cat confdefs.h >>conftest.$ac_ext 4742 cat >>conftest.$ac_ext <<_ACEOF 4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4743 4431 /* end confdefs.h. */ 4744 4432 #include <sys/types.h> 4745 #include <sys/param.h>4433 #include <sys/param.h> 4746 4434 4747 4435 int … … 4749 4437 { 4750 4438 #if BYTE_ORDER != BIG_ENDIAN 4751 not big endian4752 #endif4439 not big endian 4440 #endif 4753 4441 4754 4442 ; … … 4756 4444 } 4757 4445 _ACEOF 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 4446 if ac_fn_c_try_compile "$LINENO"; then : 4775 4447 ac_cv_c_bigendian=yes 4776 4448 else 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 4449 ac_cv_c_bigendian=no 4450 fi 4783 4451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 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 4452 fi 4453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4454 fi 4455 if test $ac_cv_c_bigendian = unknown; then 4456 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4797 4458 /* 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; } 4459 #include <limits.h> 4460 4804 4461 int 4805 4462 main () 4806 4463 { 4807 _ascii (); _ebcdic (); 4464 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4465 bogus endian macros 4466 #endif 4467 4808 4468 ; 4809 4469 return 0; 4810 4470 } 4811 4471 _ACEOF 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 4472 if ac_fn_c_try_compile "$LINENO"; then : 4473 # It does; now see whether it defined to _BIG_ENDIAN or not. 4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4475 /* end confdefs.h. */ 4476 #include <limits.h> 4477 4478 int 4479 main () 4480 { 4481 #ifndef _BIG_ENDIAN 4482 not big endian 4483 #endif 4484 4485 ; 4486 return 0; 4487 } 4488 _ACEOF 4489 if ac_fn_c_try_compile "$LINENO"; then : 4830 4490 ac_cv_c_bigendian=yes 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 4491 else 4492 ac_cv_c_bigendian=no 4493 fi 4847 4494 rm -f core conftest.err conftest.$ac_objext 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 4495 fi 4496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4497 fi 4498 if test $ac_cv_c_bigendian = unknown; then 4499 # Compile a test program. 4500 if test "$cross_compiling" = yes; then : 4501 # Try to guess by grepping values from an object file. 4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4503 /* end confdefs.h. */ 4504 short int ascii_mm[] = 4505 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4506 short int ascii_ii[] = 4507 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4508 int use_ascii (int i) { 4509 return ascii_mm[i] + ascii_ii[i]; 4510 } 4511 short int ebcdic_ii[] = 4512 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4513 short int ebcdic_mm[] = 4514 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4515 int use_ebcdic (int i) { 4516 return ebcdic_mm[i] + ebcdic_ii[i]; 4517 } 4518 extern int foo; 4519 4520 int 4521 main () 4522 { 4523 return use_ascii (foo) == use_ebcdic (foo); 4524 ; 4525 return 0; 4526 } 4527 _ACEOF 4528 if ac_fn_c_try_compile "$LINENO"; then : 4529 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4530 ac_cv_c_bigendian=yes 4531 fi 4532 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4533 if test "$ac_cv_c_bigendian" = unknown; then 4534 ac_cv_c_bigendian=no 4535 else 4536 # finding both strings is unlikely to happen, but who knows? 4537 ac_cv_c_bigendian=unknown 4538 fi 4539 fi 4540 fi 4541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4542 else 4543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4854 4544 /* end confdefs.h. */ 4855 4545 $ac_includes_default … … 4858 4548 { 4859 4549 4860 /* Are we little or big endian? From Harbison&Steele. */4861 union4862 {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;4550 /* Are we little or big endian? From Harbison&Steele. */ 4551 union 4552 { 4553 long int l; 4554 char c[sizeof (long int)]; 4555 } u; 4556 u.l = 1; 4557 return u.c[sizeof (long int) - 1] == 1; 4868 4558 4869 4559 ; … … 4871 4561 } 4872 4562 _ACEOF 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 4563 if ac_fn_c_try_run "$LINENO"; then : 4893 4564 ac_cv_c_bigendian=no 4894 4565 else 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 4566 ac_cv_c_bigendian=yes 4567 fi 4568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4569 conftest.$ac_objext conftest.beam conftest.$ac_ext 4570 fi 4571 4572 fi 4573 fi 4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4575 $as_echo "$ac_cv_c_bigendian" >&6; } 4576 case $ac_cv_c_bigendian in #( 4577 yes) 4578 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4579 ;; #( 4580 no) 4581 ;; #( 4582 universal) 4583 4584 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4585 4586 ;; #( 4587 *) 4588 as_fn_error "unknown endianness 4589 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4590 esac 4928 4591 4929 4592 4930 4593 case $target in 4931 4594 *mingw* | *cygw* | *win32* | *w32* ) 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 4595 $as_echo "#define PJ_WIN32 1" >>confdefs.h 4596 4597 $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 4598 4599 $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 4943 4600 4944 4601 ;; 4945 4602 *darwin*) 4946 cat >>confdefs.h <<\_ACEOF 4947 #define PJ_DARWINOS 1 4948 _ACEOF 4603 $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 4949 4604 4950 4605 ;; 4951 4606 *linux*) 4952 cat >>confdefs.h <<\_ACEOF 4953 #define PJ_LINUX 1 4954 _ACEOF 4607 $as_echo "#define PJ_LINUX 1" >>confdefs.h 4955 4608 4956 4609 ;; 4957 4610 *rtems*) 4958 cat >>confdefs.h <<\_ACEOF 4959 #define PJ_RTEMS 1 4960 _ACEOF 4611 $as_echo "#define PJ_RTEMS 1" >>confdefs.h 4961 4612 4962 4613 ;; 4963 4614 *sunos* | *solaris* ) 4964 cat >>confdefs.h <<\_ACEOF 4965 #define PJ_SUNOS 1 4966 _ACEOF 4615 $as_echo "#define PJ_SUNOS 1" >>confdefs.h 4967 4616 4968 4617 ;; … … 4975 4624 4976 4625 # Check whether --enable-floating-point was given. 4977 if test "${enable_floating_point+set}" = set; then 4626 if test "${enable_floating_point+set}" = set; then : 4978 4627 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 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 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 4629 4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 4631 $as_echo "Checking if floating point is disabled... yes" >&6; } 4985 4632 fi 4986 4633 else 4987 4634 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 4635 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 4636 4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 4638 $as_echo "Checking if floating point is disabled... no" >&6; } 4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 4640 $as_echo_n "checking for fmod in -lm... " >&6; } 4641 if test "${ac_cv_lib_m_fmod+set}" = set; then : 4642 $as_echo_n "(cached) " >&6 4999 4643 else 5000 4644 ac_check_lib_save_LIBS=$LIBS 5001 4645 LIBS="-lm $LIBS" 5002 cat >conftest.$ac_ext <<_ACEOF 5003 /* confdefs.h. */ 5004 _ACEOF 5005 cat confdefs.h >>conftest.$ac_ext 5006 cat >>conftest.$ac_ext <<_ACEOF 4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5007 4647 /* end confdefs.h. */ 5008 4648 … … 5022 4662 } 5023 4663 _ACEOF 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 4664 if ac_fn_c_try_link "$LINENO"; then : 5042 4665 ac_cv_lib_m_fmod=yes 5043 4666 else 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 ac_cv_lib_m_fmod=no 4668 fi 4669 rm -f core conftest.err conftest.$ac_objext \ 4670 conftest$ac_exeext conftest.$ac_ext 5052 4671 LIBS=$ac_check_lib_save_LIBS 5053 4672 fi 5054 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&55055 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; }5056 if test $ac_cv_lib_m_fmod = yes; then4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 4674 $as_echo "$ac_cv_lib_m_fmod" >&6; } 4675 if test "x$ac_cv_lib_m_fmod" = x""yes; then : 5057 4676 cat >>confdefs.h <<_ACEOF 5058 4677 #define HAVE_LIBM 1 … … 5068 4687 5069 4688 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 4689 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 4690 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 4691 $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 4692 4693 fi 4694 4695 4696 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 4697 if test "x$ac_cv_header_assert_h" = x""yes; then : 4698 $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 4699 4700 fi 4701 4702 4703 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 4704 if test "x$ac_cv_header_ctype_h" = x""yes; then : 4705 $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 5465 4706 5466 4707 fi … … 5470 4711 case $target in 5471 4712 *mingw* | *cygw* | *win32* | *w32* ) 5472 cat >>confdefs.h <<\_ACEOF 5473 #define PJ_HAS_ERRNO_H 0 5474 _ACEOF 4713 $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 5475 4714 5476 4715 ;; 5477 4716 *) 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 4717 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 4718 if test "x$ac_cv_header_errno_h" = x""yes; then : 4719 $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 5607 4720 5608 4721 fi … … 5612 4725 esac 5613 4726 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 4727 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 4728 if test "x$ac_cv_header_fcntl_h" = x""yes; then : 4729 $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 4730 4731 fi 4732 4733 4734 ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 4735 if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 4736 $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 4737 4738 fi 4739 4740 4741 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 4742 if test "x$ac_cv_header_malloc_h" = x""yes; then : 4743 $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 4744 4745 fi 4746 4747 4748 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 4749 if test "x$ac_cv_header_netdb_h" = x""yes; then : 4750 $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 4751 4752 fi 4753 4754 4755 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 4756 if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 4757 $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 4758 4759 fi 4760 4761 4762 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 4763 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 4764 $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 4765 4766 fi 4767 4768 4769 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H 6424 4770 # include <sys/types.h> 6425 4771 #endif … … 6431 4777 #endif 6432 4778 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 4779 " 4780 if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 4781 $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 4782 4783 fi 4784 4785 4786 ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 4787 if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 4788 $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 4789 4790 fi 4791 4792 4793 ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 4794 if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 4795 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 4796 if test "x$ac_cv_func_getifaddrs" = x""yes; then : 4797 $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 4798 4799 fi 4800 4801 fi 4802 4803 4804 ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 4805 if test "x$ac_cv_header_semaphore_h" = x""yes; then : 4806 $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 4807 4808 fi 4809 4810 4811 ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 4812 if test "x$ac_cv_header_setjmp_h" = x""yes; then : 4813 $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 4814 4815 fi 4816 4817 4818 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 4819 if test "x$ac_cv_header_stdarg_h" = x""yes; then : 4820 $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 4821 4822 fi 4823 4824 4825 ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 4826 if test "x$ac_cv_header_stddef_h" = x""yes; then : 4827 $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 4828 4829 fi 4830 4831 4832 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 4833 if test "x$ac_cv_header_stdio_h" = x""yes; then : 4834 $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 4835 4836 fi 4837 4838 4839 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 4840 if test "x$ac_cv_header_stdint_h" = x""yes; then : 4841 $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 4842 4843 fi 4844 4845 4846 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 4847 if test "x$ac_cv_header_stdlib_h" = x""yes; then : 4848 $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 4849 4850 fi 4851 4852 4853 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 4854 if test "x$ac_cv_header_string_h" = x""yes; then : 4855 $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 4856 4857 fi 4858 4859 4860 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 4861 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 4862 $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 4863 4864 fi 4865 4866 4867 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 4868 if test "x$ac_cv_header_sys_select_h" = x""yes; then : 4869 $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 4870 4871 fi 4872 4873 4874 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 4875 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 4876 $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 4877 4878 fi 4879 4880 4881 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 4882 if test "x$ac_cv_header_sys_time_h" = x""yes; then : 4883 $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 4884 4885 fi 4886 4887 4888 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 4889 if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 4890 $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 4891 4892 fi 4893 4894 4895 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 4896 if test "x$ac_cv_header_sys_types_h" = x""yes; then : 4897 $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 4898 4899 fi 4900 4901 4902 ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 4903 if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 4904 $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 4905 4906 fi 4907 4908 4909 ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 4910 if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 4911 $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 4912 4913 fi 4914 4915 4916 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 4917 if test "x$ac_cv_header_time_h" = x""yes; then : 4918 $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 4919 4920 fi 4921 4922 4923 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 4924 if test "x$ac_cv_header_unistd_h" = x""yes; then : 4925 $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 4926 4927 fi 4928 4929 4930 ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 4931 if test "x$ac_cv_header_winsock_h" = x""yes; then : 4932 $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 4933 4934 fi 4935 4936 4937 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 4938 if test "x$ac_cv_header_winsock2_h" = x""yes; then : 4939 $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 4940 4941 fi 4942 4943 4944 ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H 9495 4945 # include <winsock2.h> 9496 4946 #elif PJ_HAS_WINSOCK_H … … 9498 4948 #endif 9499 4949 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 4950 " 4951 if test "x$ac_cv_header_mswsock_h" = x""yes; then : 4952 $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 4953 4954 fi 4955 4956 4957 ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 4958 if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 4959 $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 4960 4961 fi 4962 4963 4964 ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 4965 if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 9799 4966 ac_has_uuid_h=1 9800 4967 fi 9801 4968 9802 4969 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 4970 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H 9815 4971 # include <sys/types.h> 9816 4972 #endif … … 9820 4976 #endif 9821 4977 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; } 4978 " 4979 if test "x$ac_cv_header_net_if_h" = x""yes; then : 4980 $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 4981 4982 fi 4983 4984 4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 4986 $as_echo "Setting PJ_OS_NAME to $target" >&6; } 9864 4987 cat >>confdefs.h <<_ACEOF 9865 4988 #define PJ_OS_NAME "$target" … … 9867 4990 9868 4991 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 4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 4993 $as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 4994 $as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h 4995 4996 4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 4998 $as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 4999 $as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h 5000 5001 5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 5003 $as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } 5004 $as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h 5005 5006 5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 5008 $as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 5009 $as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h 5010 5011 5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 5013 $as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 5014 $as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h 5015 5016 5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 5018 $as_echo_n "checking if inet_aton() is available... " >&6; } 5019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9911 5020 /* end confdefs.h. */ 9912 5021 #include <sys/types.h> … … 9921 5030 } 9922 5031 _ACEOF 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 5032 if ac_fn_c_try_compile "$LINENO"; then : 5033 $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h 5034 5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5036 $as_echo "yes" >&6; } 5037 else 5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5039 $as_echo "no" >&6; } 5040 fi 9954 5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9955 5042 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 5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 5044 $as_echo_n "checking if inet_pton() is available... " >&6; } 5045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9963 5046 /* end confdefs.h. */ 9964 5047 #include <sys/types.h> … … 9973 5056 } 9974 5057 _ACEOF 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 5058 if ac_fn_c_try_compile "$LINENO"; then : 5059 $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h 5060 5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5062 $as_echo "yes" >&6; } 5063 else 5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5065 $as_echo "no" >&6; } 5066 fi 10006 5067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10007 5068 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 5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 5070 $as_echo_n "checking if inet_ntop() is available... " >&6; } 5071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10015 5072 /* end confdefs.h. */ 10016 5073 #include <sys/types.h> … … 10025 5082 } 10026 5083 _ACEOF 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 5084 if ac_fn_c_try_compile "$LINENO"; then : 5085 $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h 5086 5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5088 $as_echo "yes" >&6; } 5089 else 5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5091 $as_echo "no" >&6; } 5092 fi 10058 5093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10059 5094 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 5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 5096 $as_echo_n "checking if getaddrinfo() is available... " >&6; } 5097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10067 5098 /* end confdefs.h. */ 10068 5099 #include <sys/types.h> … … 10077 5108 } 10078 5109 _ACEOF 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 5110 if ac_fn_c_try_compile "$LINENO"; then : 5111 $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h 5112 5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5114 $as_echo "yes" >&6; } 5115 else 5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5117 $as_echo "no" >&6; } 5118 fi 10110 5119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10111 5120 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 5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 5122 $as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } 5123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10119 5124 /* end confdefs.h. */ 10120 5125 #include <sys/types.h> … … 10130 5135 } 10131 5136 _ACEOF 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 5137 if ac_fn_c_try_compile "$LINENO"; then : 5138 $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h 5139 5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5141 $as_echo "yes" >&6; } 5142 else 5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5144 $as_echo "no" >&6; } 5145 fi 10163 5146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10164 5147 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 5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 5149 $as_echo_n "checking if socklen_t is available... " >&6; } 5150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10172 5151 /* end confdefs.h. */ 10173 5152 #include <sys/types.h> … … 10181 5160 } 10182 5161 _ACEOF 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 5162 if ac_fn_c_try_compile "$LINENO"; then : 5163 $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h 5164 5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5166 $as_echo "yes" >&6; } 5167 else 5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5169 $as_echo "no" >&6; } 5170 fi 10214 5171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10215 5172 10216 { echo "$as_me:$LINENO: checking if SO_ERROR is available" >&510217 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6; }5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&5 5174 $as_echo_n "checking if SO_ERROR is available... " >&6; } 10218 5175 case $target in 10219 5176 *mingw* | *cygw* | *win32* | *w32* ) 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 $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 5178 5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5180 $as_echo "yes" >&6; } 10226 5181 ;; 10227 5182 *) 10228 cat >conftest.$ac_ext <<_ACEOF 10229 /* confdefs.h. */ 10230 _ACEOF 10231 cat confdefs.h >>conftest.$ac_ext 10232 cat >>conftest.$ac_ext <<_ACEOF 5183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10233 5184 /* end confdefs.h. */ 10234 5185 #include <sys/types.h> … … 10244 5195 } 10245 5196 _ACEOF 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 5197 if ac_fn_c_try_compile "$LINENO"; then : 5198 $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 5199 5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5201 $as_echo "yes" >&6; } 5202 else 5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5204 $as_echo "no" >&6; } 5205 fi 10277 5206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10278 5207 ;; … … 10280 5209 10281 5210 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 5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 5212 $as_echo_n "checking if pthread_rwlock_t is available... " >&6; } 5213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10289 5214 /* end confdefs.h. */ 10290 5215 #include <pthread.h> … … 10297 5222 } 10298 5223 _ACEOF 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 5224 if ac_fn_c_try_compile "$LINENO"; then : 5225 $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 10319 5226 10320 5227 ac_rwmutex="yes" 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5229 $as_echo "yes" >&6; } 5230 else 5231 $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 10330 5232 10331 5233 ac_rwmutex="no" 10332 { echo "$as_me:$LINENO: result: no" >&5 10333 echo "${ECHO_T}no" >&6; } 10334 fi 10335 5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5235 $as_echo "no" >&6; } 5236 fi 10336 5237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10337 5238 10338 5239 if test "$ac_rwmutex" = "no"; then 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 5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 5241 $as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } 5242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10346 5243 /* end confdefs.h. */ 10347 5244 #define _POSIX_READER_WRITER_LOCKS … … 10355 5252 } 10356 5253 _ACEOF 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 5254 if ac_fn_c_try_compile "$LINENO"; then : 5255 $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 10377 5256 10378 5257 CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 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 5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5259 $as_echo "yes" >&6; } 5260 else 5261 $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 5262 5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5264 $as_echo "no" >&6; } 5265 fi 10393 5266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10394 5267 fi 10395 5268 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 5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 5270 $as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } 5271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10403 5272 /* end confdefs.h. */ 10404 5273 #include <pthread.h> … … 10411 5280 } 10412 5281 _ACEOF 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 5282 if ac_fn_c_try_compile "$LINENO"; then : 5283 $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h 5284 5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5286 $as_echo "yes" >&6; } 5287 else 5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5289 $as_echo "no" >&6; } 5290 fi 10444 5291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10445 5292 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 5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 5294 $as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } 5295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10453 5296 /* end confdefs.h. */ 10454 5297 #include <pthread.h> … … 10462 5305 } 10463 5306 _ACEOF 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 5307 if ac_fn_c_try_compile "$LINENO"; then : 5308 $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h 5309 5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5311 $as_echo "yes" >&6; } 5312 else 5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5314 $as_echo "no" >&6; } 5315 fi 10495 5316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10496 5317 10497 5318 10498 { echo "$as_me:$LINENO: checking ioqueue backend" >&510499 echo $ECHO_N "checking ioqueue backend... $ECHO_C" >&6; }5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&5 5320 $as_echo_n "checking ioqueue backend... " >&6; } 10500 5321 # Check whether --enable-epoll was given. 10501 if test "${enable_epoll+set}" = set; then 5322 if test "${enable_epoll+set}" = set; then : 10502 5323 enableval=$enable_epoll; 10503 5324 ac_os_objs=ioqueue_epoll.o 10504 { echo "$as_me:$LINENO: result: /dev/epoll" >&510505 echo "${ECHO_T}/dev/epoll" >&6; }5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&5 5326 $as_echo "/dev/epoll" >&6; } 10506 5327 10507 5328 else 10508 5329 10509 5330 ac_os_objs=ioqueue_select.o 10510 { echo "$as_me:$LINENO: result: select()" >&510511 echo "${ECHO_T}select()" >&6; }5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 5332 $as_echo "select()" >&6; } 10512 5333 10513 5334 fi … … 10537 5358 10538 5359 # Check whether --with-external-speex was given. 10539 if test "${with_external_speex+set}" = set; then 5360 if test "${with_external_speex+set}" = set; then : 10540 5361 withval=$with_external_speex; 10541 5362 if test "x$with_external_speex" != "xno"; then 10542 5363 # Test Speex installation 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 5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external Speex devkit is installed" >&5 5365 $as_echo_n "checking if external Speex devkit is installed... " >&6; } 5366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10550 5367 /* end confdefs.h. */ 10551 5368 #include <speex/speex.h> … … 10560 5377 } 10561 5378 _ACEOF 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 if ac_fn_c_try_compile "$LINENO"; then : 5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5381 $as_echo "yes!!" >&6; } 5382 $as_echo "#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1" >>confdefs.h 10584 5383 10585 5384 ac_external_speex="1" 10586 5385 10587 5386 else 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 5387 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 5388 fi 10596 5389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10597 5390 fi … … 10605 5398 10606 5399 # Check whether --with-external-gsm was given. 10607 if test "${with_external_gsm+set}" = set; then 5400 if test "${with_external_gsm+set}" = set; then : 10608 5401 withval=$with_external_gsm; 10609 5402 if test "x$with_external_gsm" != "xno"; then 10610 5403 # Test GSM library installation 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 5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm/gsm.h" >&5 5405 $as_echo_n "checking if external GSM devkit is installed as gsm/gsm.h... " >&6; } 5406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10618 5407 /* end confdefs.h. */ 10619 5408 #include <gsm/gsm.h> … … 10626 5415 } 10627 5416 _ACEOF 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 5417 if ac_fn_c_try_compile "$LINENO"; then : 5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5419 $as_echo "yes!!" >&6; } 5420 $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 5421 5422 $as_echo "#define PJMEDIA_EXTERNAL_GSM_GSM_H 1" >>confdefs.h 10654 5423 10655 5424 ac_external_gsm="1" 10656 5425 10657 5426 else 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 5427 5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5429 $as_echo "no" >&6; } 5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm.h" >&5 5431 $as_echo_n "checking if external GSM devkit is installed as gsm.h... " >&6; } 5432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10671 5433 /* end confdefs.h. */ 10672 5434 #include <gsm.h> … … 10679 5441 } 10680 5442 _ACEOF 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 5443 if ac_fn_c_try_compile "$LINENO"; then : 5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5445 $as_echo "yes!!" >&6; } 5446 $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 5447 5448 $as_echo "#define PJMEDIA_EXTERNAL_GSM_H 1" >>confdefs.h 10707 5449 10708 5450 ac_external_gsm="1" 10709 5451 10710 5452 else 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 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 5454 5455 5456 fi 10721 5457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10722 5458 10723 5459 10724 5460 fi 10725 10726 5461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10727 5462 fi … … 10735 5470 10736 5471 # Check whether --enable-sound was given. 10737 if test "${enable_sound+set}" = set; then 5472 if test "${enable_sound+set}" = set; then : 10738 5473 enableval=$enable_sound; if test "$enable_sound" = "no"; then 10739 5474 ac_pjmedia_snd=null 10740 { echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&510741 echo "${ECHO_T}Checking if sound is disabled... yes" >&6; }5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&5 5476 $as_echo "Checking if sound is disabled... yes" >&6; } 10742 5477 fi 10743 5478 … … 10749 5484 10750 5485 # Check whether --with-external-pa was given. 10751 if test "${with_external_pa+set}" = set; then 5486 if test "${with_external_pa+set}" = set; then : 10752 5487 withval=$with_external_pa; 10753 5488 if test "x$with_external_pa" != "xno"; then 10754 5489 # Test PortAudio installation 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 5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external PortAudio devkit is installed" >&5 5491 $as_echo_n "checking if external PortAudio devkit is installed... " >&6; } 5492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10762 5493 /* end confdefs.h. */ 10763 5494 #include <portaudio.h> … … 10771 5502 } 10772 5503 _ACEOF 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; } 5504 if ac_fn_c_try_compile "$LINENO"; then : 5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5506 $as_echo "yes!!" >&6; } 10792 5507 ac_external_pa="1" 10793 5508 10794 5509 else 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 5510 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 5511 fi 10803 5512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10804 5513 fi … … 10809 5518 10810 5519 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 5520 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 5521 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 10937 5522 ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 10938 5523 fi 10939 5524 10940 5525 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 5526 ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 5527 if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 11067 5528 ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 11068 5529 fi 11069 5530 11070 5531 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 5532 ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 5533 if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 11197 5534 ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 11198 5535 fi … … 11212 5549 arm-apple-darwin*) 11213 5550 LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork" 11214 { echo "$as_me:$LINENO: result: Checking sound device backend... AudioUnit" >&511215 echo "${ECHO_T}Checking sound device backend... AudioUnit" >&6; }5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5 5552 $as_echo "Checking sound device backend... AudioUnit" >&6; } 11216 5553 ;; 11217 5554 *darwin*) … … 11221 5558 #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 11222 5559 ac_pjmedia_snd=pa_old_darwinos 11223 { echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&511224 echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6; }5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&5 5561 $as_echo "Checking sound device backend... old coreaudio" >&6; } 11225 5562 else 11226 5563 ac_pjmedia_snd=pa_darwinos 11227 { echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&511228 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6; }5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&5 5565 $as_echo "Checking sound device backend... coreaudio" >&6; } 11229 5566 fi 11230 5567 ;; 11231 5568 *cygwin* | *mingw*) 11232 5569 ac_pjmedia_snd=pa_win32 11233 { echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&511234 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6; }5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&5 5571 $as_echo "Checking sound device backend... win32 sound" >&6; } 11235 5572 ;; 11236 5573 *rtems*) 11237 5574 ac_pjmedia_snd=null 11238 { echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&511239 echo "${ECHO_T}Checking sound device backend... null sound" >&6; }5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&5 5576 $as_echo "Checking sound device backend... null sound" >&6; } 11240 5577 ;; 11241 5578 *) 11242 5579 ac_pjmedia_snd=pa_unix 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 5580 ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 5581 if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 11369 5582 ac_pa_use_alsa=1 11370 5583 … … 11377 5590 11378 5591 11379 { echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&511380 echo "${ECHO_T}Checking sound device backend... unix" >&6; }5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&5 5593 $as_echo "Checking sound device backend... unix" >&6; } 11381 5594 11382 5595 ac_pa_use_oss=1 11383 5596 11384 5597 # Check whether --enable-oss was given. 11385 if test "${enable_oss+set}" = set; then 5598 if test "${enable_oss+set}" = set; then : 11386 5599 enableval=$enable_oss; 11387 5600 if test "$enable_oss" = "no"; then 11388 5601 ac_pa_use_oss=0 11389 { echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&511390 echo "${ECHO_T}Checking if OSS audio is disabled... yes" >&6; }5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&5 5603 $as_echo "Checking if OSS audio is disabled... yes" >&6; } 11391 5604 fi 11392 5605 … … 11407 5620 ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" 11408 5621 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" >&511410 echo "${ECHO_T}Checking video device backend... AVFoundation" >&6; }5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking video device backend... AVFoundation" >&5 5623 $as_echo "Checking video device backend... AVFoundation" >&6; } 11411 5624 ;; 11412 5625 *darwin*) … … 11416 5629 SAVED_LIBS="$LIBS" 11417 5630 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 5631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11423 5632 /* end confdefs.h. */ 11424 5633 … … 11431 5640 } 11432 5641 _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 5642 if ac_fn_c_try_link "$LINENO"; then : 11451 5643 ac_pjmedia_video_has_qt=yes 11452 5644 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 5645 ac_pjmedia_video_has_qt=no 5646 fi 5647 rm -f core conftest.err conftest.$ac_objext \ 5648 conftest$ac_exeext conftest.$ac_ext 11461 5649 LIBS="$SAVED_LIBS" 11462 5650 if test "$ac_pjmedia_video_has_qt" = "yes"; then 11463 5651 ac_qt_cflags="-DPJMEDIA_VIDEO_DEV_HAS_QT=1" 11464 5652 LIBS="$LIBS -framework QTKit -framework Foundation -framework AppKit -framework QuartzCore -framework OpenGL" 11465 { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... yes" >&511466 echo "${ECHO_T}Checking if QTKit framework is available... yes" >&6; }5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... yes" >&5 5654 $as_echo "Checking if QTKit framework is available... yes" >&6; } 11467 5655 else 11468 { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... no" >&511469 echo "${ECHO_T}Checking if QTKit framework is available... no" >&6; }5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... no" >&5 5657 $as_echo "Checking if QTKit framework is available... no" >&6; } 11470 5658 fi 11471 5659 ;; … … 11474 5662 11475 5663 # Check whether --enable-ext_sound was given. 11476 if test "${enable_ext_sound+set}" = set; then 5664 if test "${enable_ext_sound+set}" = set; then : 11477 5665 enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 11478 5666 ac_pjmedia_snd=external 11479 { echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&511480 echo "${ECHO_T}Checking if external sound is set... yes" >&6; }5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&5 5668 $as_echo "Checking if external sound is set... yes" >&6; } 11481 5669 fi 11482 5670 … … 11486 5674 11487 5675 # Check whether --enable-small-filter was given. 11488 if test "${enable_small_filter+set}" = set; then 5676 if test "${enable_small_filter+set}" = set; then : 11489 5677 enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 11490 5678 ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 11491 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&511492 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6; }5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&5 5680 $as_echo "Checking if small filter is disabled... yes" >&6; } 11493 5681 fi 11494 5682 else 11495 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&511496 echo "${ECHO_T}Checking if small filter is disabled... no" >&6; }5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&5 5684 $as_echo "Checking if small filter is disabled... no" >&6; } 11497 5685 fi 11498 5686 … … 11500 5688 11501 5689 # Check whether --enable-large-filter was given. 11502 if test "${enable_large_filter+set}" = set; then 5690 if test "${enable_large_filter+set}" = set; then : 11503 5691 enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 11504 5692 ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 11505 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&511506 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6; }5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&5 5694 $as_echo "Checking if large filter is disabled... yes" >&6; } 11507 5695 fi 11508 5696 else 11509 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&511510 echo "${ECHO_T}Checking if large filter is disabled... no" >&6; }5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&5 5698 $as_echo "Checking if large filter is disabled... no" >&6; } 11511 5699 fi 11512 5700 … … 11514 5702 11515 5703 # Check whether --enable-speex-aec was given. 11516 if test "${enable_speex_aec+set}" = set; then 5704 if test "${enable_speex_aec+set}" = set; then : 11517 5705 enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 11518 5706 ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 11519 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&511520 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6; }5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&5 5708 $as_echo "Checking if Speex AEC is disabled...yes" >&6; } 11521 5709 fi 11522 5710 else 11523 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&511524 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6; }5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&5 5712 $as_echo "Checking if Speex AEC is disabled...no" >&6; } 11525 5713 fi 11526 5714 … … 11528 5716 11529 5717 # Check whether --enable-g711-codec was given. 11530 if test "${enable_g711_codec+set}" = set; then 5718 if test "${enable_g711_codec+set}" = set; then : 11531 5719 enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 11532 5720 ac_no_g711_codec=1 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; } 5721 $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h 5722 5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 5724 $as_echo "Checking if G.711 codec is disabled...yes" >&6; } 11539 5725 fi 11540 5726 else 11541 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&511542 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6; }5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&5 5728 $as_echo "Checking if G.711 codec is disabled...no" >&6; } 11543 5729 fi 11544 5730 … … 11547 5733 11548 5734 # Check whether --enable-l16-codec was given. 11549 if test "${enable_l16_codec+set}" = set; then 5735 if test "${enable_l16_codec+set}" = set; then : 11550 5736 enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 11551 5737 ac_no_l16_codec=1 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; } 5738 $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h 5739 5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 5741 $as_echo "Checking if L16 codecs are disabled...yes" >&6; } 11558 5742 fi 11559 5743 else 11560 { echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&511561 echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6; }5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&5 5745 $as_echo "Checking if L16 codec is disabled...no" >&6; } 11562 5746 fi 11563 5747 … … 11566 5750 11567 5751 # Check whether --enable-gsm-codec was given. 11568 if test "${enable_gsm_codec+set}" = set; then 5752 if test "${enable_gsm_codec+set}" = set; then : 11569 5753 enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 11570 5754 ac_no_gsm_codec=1 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; } 5755 $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h 5756 5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 5758 $as_echo "Checking if GSM codec is disabled...yes" >&6; } 11577 5759 fi 11578 5760 else 11579 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&511580 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6; }5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&5 5762 $as_echo "Checking if GSM codec is disabled...no" >&6; } 11581 5763 fi 11582 5764 … … 11584 5766 11585 5767 # Check whether --enable-g722-codec was given. 11586 if test "${enable_g722_codec+set}" = set; then 5768 if test "${enable_g722_codec+set}" = set; then : 11587 5769 enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 11588 5770 ac_no_g722_codec=1 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; } 5771 $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h 5772 5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 5774 $as_echo "Checking if G.722 codec is disabled...yes" >&6; } 11595 5775 fi 11596 5776 else 11597 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&511598 echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6; }5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&5 5778 $as_echo "Checking if G.722 codec is disabled...no" >&6; } 11599 5779 fi 11600 5780 … … 11602 5782 11603 5783 # Check whether --enable-g7221-codec was given. 11604 if test "${enable_g7221_codec+set}" = set; then 5784 if test "${enable_g7221_codec+set}" = set; then : 11605 5785 enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then 11606 5786 ac_no_g7221_codec=1 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; } 5787 $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h 5788 5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 5790 $as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } 11613 5791 fi 11614 5792 else 11615 { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...no" >&511616 echo "${ECHO_T}Checking if G.722.1 codec is disabled...no" >&6; }5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&5 5794 $as_echo "Checking if G.722.1 codec is disabled...no" >&6; } 11617 5795 fi 11618 5796 … … 11620 5798 11621 5799 # Check whether --enable-speex-codec was given. 11622 if test "${enable_speex_codec+set}" = set; then 5800 if test "${enable_speex_codec+set}" = set; then : 11623 5801 enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 11624 5802 ac_no_speex_codec=1 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; } 5803 $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h 5804 5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 5806 $as_echo "Checking if Speex codec is disabled...yes" >&6; } 11631 5807 fi 11632 5808 else 11633 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&511634 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6; }5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&5 5810 $as_echo "Checking if Speex codec is disabled...no" >&6; } 11635 5811 fi 11636 5812 … … 11638 5814 11639 5815 # Check whether --enable-ilbc-codec was given. 11640 if test "${enable_ilbc_codec+set}" = set; then 5816 if test "${enable_ilbc_codec+set}" = set; then : 11641 5817 enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 11642 5818 ac_no_ilbc_codec=1 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; } 5819 $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h 5820 5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 5822 $as_echo "Checking if iLBC codec is disabled...yes" >&6; } 11649 5823 fi 11650 5824 else 11651 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&511652 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6; }5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&5 5826 $as_echo "Checking if iLBC codec is disabled...no" >&6; } 11653 5827 fi 11654 5828 11655 5829 11656 5830 # Check whether --enable-libsamplerate was given. 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 5831 if test "${enable_libsamplerate+set}" = set; then : 5832 enableval=$enable_libsamplerate; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 5833 $as_echo_n "checking for src_new in -lsamplerate... " >&6; } 5834 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 5835 $as_echo_n "(cached) " >&6 11663 5836 else 11664 5837 ac_check_lib_save_LIBS=$LIBS 11665 5838 LIBS="-lsamplerate $LIBS" 11666 cat >conftest.$ac_ext <<_ACEOF 11667 /* confdefs.h. */ 11668 _ACEOF 11669 cat confdefs.h >>conftest.$ac_ext 11670 cat >>conftest.$ac_ext <<_ACEOF 5839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11671 5840 /* end confdefs.h. */ 11672 5841 … … 11686 5855 } 11687 5856 _ACEOF 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 5857 if ac_fn_c_try_link "$LINENO"; then : 11706 5858 ac_cv_lib_samplerate_src_new=yes 11707 5859 else 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 5860 ac_cv_lib_samplerate_src_new=no 5861 fi 5862 rm -f core conftest.err conftest.$ac_objext \ 5863 conftest$ac_exeext conftest.$ac_ext 11716 5864 LIBS=$ac_check_lib_save_LIBS 11717 5865 fi 11718 { echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&511719 echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6; }11720 if test $ac_cv_lib_samplerate_src_new = yes; then5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 5867 $as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 5868 if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 11721 5869 cat >>confdefs.h <<_ACEOF 11722 5870 #define HAVE_LIBSAMPLERATE 1 … … 11728 5876 11729 5877 else 11730 { echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&511731 echo "${ECHO_T}Skipping libsamplerate detection" >&6; }5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&5 5879 $as_echo "Skipping libsamplerate detection" >&6; } 11732 5880 11733 5881 fi … … 11735 5883 11736 5884 # Check whether --enable-sdl was given. 11737 if test "${enable_sdl+set}" = set; then 5885 if test "${enable_sdl+set}" = set; then : 11738 5886 enableval=$enable_sdl; 11739 5887 if test "$enable_sdl" = "no"; then 11740 { echo "$as_me:$LINENO: result: Checking if SDL is disabled... yes" >&511741 echo "${ECHO_T}Checking if SDL is disabled... yes" >&6; }5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SDL is disabled... yes" >&5 5889 $as_echo "Checking if SDL is disabled... yes" >&6; } 11742 5890 fi 11743 5891 11744 5892 else 11745 5893 11746 { echo "$as_me:$LINENO: checking SDL availability.." >&511747 echo $ECHO_N "checking SDL availability..... $ECHO_C" >&6; }5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDL availability.." >&5 5895 $as_echo_n "checking SDL availability..... " >&6; } 11748 5896 if sdl-config --version; then 11749 5897 … … 11760 5908 11761 5909 # Check whether --enable-ffmpeg was given. 11762 if test "${enable_ffmpeg+set}" = set; then 5910 if test "${enable_ffmpeg+set}" = set; then : 11763 5911 enableval=$enable_ffmpeg; 11764 5912 ac_has_ffmpeg=0 11765 5913 11766 5914 if test "$enable_ffmpeg" = "no"; then 11767 { echo "$as_me:$LINENO: result: Checking if ffmpeg is disabled... yes" >&511768 echo "${ECHO_T}Checking if ffmpeg is disabled... yes" >&6; }5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if ffmpeg is disabled... yes" >&5 5916 $as_echo "Checking if ffmpeg is disabled... yes" >&6; } 11769 5917 fi 11770 5918 … … 11774 5922 11775 5923 11776 { echo "$as_me:$LINENO: checking for avdevice_version in -lavdevice" >&511777 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" >&65924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avdevice_version in -lavdevice" >&5 5925 $as_echo_n "checking for avdevice_version in -lavdevice... " >&6; } 5926 if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then : 5927 $as_echo_n "(cached) " >&6 11780 5928 else 11781 5929 ac_check_lib_save_LIBS=$LIBS 11782 5930 LIBS="-lavdevice $LIBS" 11783 cat >conftest.$ac_ext <<_ACEOF 11784 /* confdefs.h. */ 11785 _ACEOF 11786 cat confdefs.h >>conftest.$ac_ext 11787 cat >>conftest.$ac_ext <<_ACEOF 5931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11788 5932 /* end confdefs.h. */ 11789 5933 … … 11803 5947 } 11804 5948 _ACEOF 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 5949 if ac_fn_c_try_link "$LINENO"; then : 11823 5950 ac_cv_lib_avdevice_avdevice_version=yes 11824 5951 else 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 5952 ac_cv_lib_avdevice_avdevice_version=no 5953 fi 5954 rm -f core conftest.err conftest.$ac_objext \ 5955 conftest$ac_exeext conftest.$ac_ext 11833 5956 LIBS=$ac_check_lib_save_LIBS 11834 5957 fi 11835 { echo "$as_me:$LINENO: result: $ac_cv_lib_avdevice_avdevice_version" >&511836 echo "${ECHO_T}$ac_cv_lib_avdevice_avdevice_version" >&6; }11837 if test $ac_cv_lib_avdevice_avdevice_version = yes; then5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avdevice_avdevice_version" >&5 5959 $as_echo "$ac_cv_lib_avdevice_avdevice_version" >&6; } 5960 if test "x$ac_cv_lib_avdevice_avdevice_version" = x""yes; then : 11838 5961 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" 11839 5962 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavdevice" … … 11842 5965 fi 11843 5966 11844 { echo "$as_me:$LINENO: checking for av_register_all in -lavformat" >&511845 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" >&65967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_register_all in -lavformat" >&5 5968 $as_echo_n "checking for av_register_all in -lavformat... " >&6; } 5969 if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then : 5970 $as_echo_n "(cached) " >&6 11848 5971 else 11849 5972 ac_check_lib_save_LIBS=$LIBS 11850 5973 LIBS="-lavformat $LIBS" 11851 cat >conftest.$ac_ext <<_ACEOF 11852 /* confdefs.h. */ 11853 _ACEOF 11854 cat confdefs.h >>conftest.$ac_ext 11855 cat >>conftest.$ac_ext <<_ACEOF 5974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11856 5975 /* end confdefs.h. */ 11857 5976 … … 11871 5990 } 11872 5991 _ACEOF 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 5992 if ac_fn_c_try_link "$LINENO"; then : 11891 5993 ac_cv_lib_avformat_av_register_all=yes 11892 5994 else 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 5995 ac_cv_lib_avformat_av_register_all=no 5996 fi 5997 rm -f core conftest.err conftest.$ac_objext \ 5998 conftest$ac_exeext conftest.$ac_ext 11901 5999 LIBS=$ac_check_lib_save_LIBS 11902 6000 fi 11903 { echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_register_all" >&511904 echo "${ECHO_T}$ac_cv_lib_avformat_av_register_all" >&6; }11905 if test $ac_cv_lib_avformat_av_register_all = yes; then6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_register_all" >&5 6002 $as_echo "$ac_cv_lib_avformat_av_register_all" >&6; } 6003 if test "x$ac_cv_lib_avformat_av_register_all" = x""yes; then : 11906 6004 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" 11907 6005 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavformat" … … 11910 6008 fi 11911 6009 11912 { echo "$as_me:$LINENO: checking for avcodec_init in -lavcodec" >&511913 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" >&66010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_init in -lavcodec" >&5 6011 $as_echo_n "checking for avcodec_init in -lavcodec... " >&6; } 6012 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then : 6013 $as_echo_n "(cached) " >&6 11916 6014 else 11917 6015 ac_check_lib_save_LIBS=$LIBS 11918 6016 LIBS="-lavcodec $LIBS" 11919 cat >conftest.$ac_ext <<_ACEOF 11920 /* confdefs.h. */ 11921 _ACEOF 11922 cat confdefs.h >>conftest.$ac_ext 11923 cat >>conftest.$ac_ext <<_ACEOF 6017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11924 6018 /* end confdefs.h. */ 11925 6019 … … 11939 6033 } 11940 6034 _ACEOF 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 6035 if ac_fn_c_try_link "$LINENO"; then : 11959 6036 ac_cv_lib_avcodec_avcodec_init=yes 11960 6037 else 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 6038 ac_cv_lib_avcodec_avcodec_init=no 6039 fi 6040 rm -f core conftest.err conftest.$ac_objext \ 6041 conftest$ac_exeext conftest.$ac_ext 11969 6042 LIBS=$ac_check_lib_save_LIBS 11970 6043 fi 11971 { echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_init" >&511972 echo "${ECHO_T}$ac_cv_lib_avcodec_avcodec_init" >&6; }11973 if test $ac_cv_lib_avcodec_avcodec_init = yes; then6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_init" >&5 6045 $as_echo "$ac_cv_lib_avcodec_avcodec_init" >&6; } 6046 if test "x$ac_cv_lib_avcodec_avcodec_init" = x""yes; then : 11974 6047 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" 11975 6048 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcodec" … … 11978 6051 fi 11979 6052 11980 { echo "$as_me:$LINENO: checking for sws_scale in -lswscale" >&511981 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" >&66053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sws_scale in -lswscale" >&5 6054 $as_echo_n "checking for sws_scale in -lswscale... " >&6; } 6055 if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then : 6056 $as_echo_n "(cached) " >&6 11984 6057 else 11985 6058 ac_check_lib_save_LIBS=$LIBS 11986 6059 LIBS="-lswscale $LIBS" 11987 cat >conftest.$ac_ext <<_ACEOF 11988 /* confdefs.h. */ 11989 _ACEOF 11990 cat confdefs.h >>conftest.$ac_ext 11991 cat >>conftest.$ac_ext <<_ACEOF 6060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11992 6061 /* end confdefs.h. */ 11993 6062 … … 12007 6076 } 12008 6077 _ACEOF 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 6078 if ac_fn_c_try_link "$LINENO"; then : 12027 6079 ac_cv_lib_swscale_sws_scale=yes 12028 6080 else 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 6081 ac_cv_lib_swscale_sws_scale=no 6082 fi 6083 rm -f core conftest.err conftest.$ac_objext \ 6084 conftest$ac_exeext conftest.$ac_ext 12037 6085 LIBS=$ac_check_lib_save_LIBS 12038 6086 fi 12039 { echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_sws_scale" >&512040 echo "${ECHO_T}$ac_cv_lib_swscale_sws_scale" >&6; }12041 if test $ac_cv_lib_swscale_sws_scale = yes; then6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_sws_scale" >&5 6088 $as_echo "$ac_cv_lib_swscale_sws_scale" >&6; } 6089 if test "x$ac_cv_lib_swscale_sws_scale" = x""yes; then : 12042 6090 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 12043 6091 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" … … 12046 6094 fi 12047 6095 12048 { echo "$as_me:$LINENO: checking for av_malloc in -lavutil" >&512049 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" >&66096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_malloc in -lavutil" >&5 6097 $as_echo_n "checking for av_malloc in -lavutil... " >&6; } 6098 if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then : 6099 $as_echo_n "(cached) " >&6 12052 6100 else 12053 6101 ac_check_lib_save_LIBS=$LIBS 12054 6102 LIBS="-lavutil $LIBS" 12055 cat >conftest.$ac_ext <<_ACEOF 12056 /* confdefs.h. */ 12057 _ACEOF 12058 cat confdefs.h >>conftest.$ac_ext 12059 cat >>conftest.$ac_ext <<_ACEOF 6103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12060 6104 /* end confdefs.h. */ 12061 6105 … … 12075 6119 } 12076 6120 _ACEOF 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 6121 if ac_fn_c_try_link "$LINENO"; then : 12095 6122 ac_cv_lib_avutil_av_malloc=yes 12096 6123 else 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 6124 ac_cv_lib_avutil_av_malloc=no 6125 fi 6126 rm -f core conftest.err conftest.$ac_objext \ 6127 conftest$ac_exeext conftest.$ac_ext 12105 6128 LIBS=$ac_check_lib_save_LIBS 12106 6129 fi 12107 { echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_av_malloc" >&512108 echo "${ECHO_T}$ac_cv_lib_avutil_av_malloc" >&6; }12109 if test $ac_cv_lib_avutil_av_malloc = yes; then6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_malloc" >&5 6131 $as_echo "$ac_cv_lib_avutil_av_malloc" >&6; } 6132 if test "x$ac_cv_lib_avutil_av_malloc" = x""yes; then : 12110 6133 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" 12111 6134 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavutil" … … 12114 6137 fi 12115 6138 12116 { echo "$as_me:$LINENO: checking for avcore_version in -lavcore" >&512117 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" >&66139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcore_version in -lavcore" >&5 6140 $as_echo_n "checking for avcore_version in -lavcore... " >&6; } 6141 if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then : 6142 $as_echo_n "(cached) " >&6 12120 6143 else 12121 6144 ac_check_lib_save_LIBS=$LIBS 12122 6145 LIBS="-lavcore $LIBS" 12123 cat >conftest.$ac_ext <<_ACEOF 12124 /* confdefs.h. */ 12125 _ACEOF 12126 cat confdefs.h >>conftest.$ac_ext 12127 cat >>conftest.$ac_ext <<_ACEOF 6146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12128 6147 /* end confdefs.h. */ 12129 6148 … … 12143 6162 } 12144 6163 _ACEOF 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 6164 if ac_fn_c_try_link "$LINENO"; then : 12163 6165 ac_cv_lib_avcore_avcore_version=yes 12164 6166 else 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 6167 ac_cv_lib_avcore_avcore_version=no 6168 fi 6169 rm -f core conftest.err conftest.$ac_objext \ 6170 conftest$ac_exeext conftest.$ac_ext 12173 6171 LIBS=$ac_check_lib_save_LIBS 12174 6172 fi 12175 { echo "$as_me:$LINENO: result: $ac_cv_lib_avcore_avcore_version" >&512176 echo "${ECHO_T}$ac_cv_lib_avcore_avcore_version" >&6; }12177 if test $ac_cv_lib_avcore_avcore_version = yes; then6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcore_avcore_version" >&5 6174 $as_echo "$ac_cv_lib_avcore_avcore_version" >&6; } 6175 if test "x$ac_cv_lib_avcore_avcore_version" = x""yes; then : 12178 6176 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" 12179 6177 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcore" … … 12189 6187 12190 6188 # Check whether --enable-v4l2 was given. 12191 if test "${enable_v4l2+set}" = set; then 6189 if test "${enable_v4l2+set}" = set; then : 12192 6190 enableval=$enable_v4l2; 12193 6191 if test "$enable_v4l2" = "no"; then 12194 { echo "$as_me:$LINENO: result: Checking if V4L2 is disabled... yes" >&512195 echo "${ECHO_T}Checking if V4L2 is disabled... yes" >&6; }6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if V4L2 is disabled... yes" >&5 6193 $as_echo "Checking if V4L2 is disabled... yes" >&6; } 12196 6194 fi 12197 6195 … … 12200 6198 12201 6199 12202 { echo "$as_me:$LINENO: checking for v4l2_open in -lv4l2" >&512203 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" >&66200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for v4l2_open in -lv4l2" >&5 6201 $as_echo_n "checking for v4l2_open in -lv4l2... " >&6; } 6202 if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then : 6203 $as_echo_n "(cached) " >&6 12206 6204 else 12207 6205 ac_check_lib_save_LIBS=$LIBS 12208 6206 LIBS="-lv4l2 $LIBS" 12209 cat >conftest.$ac_ext <<_ACEOF 12210 /* confdefs.h. */ 12211 _ACEOF 12212 cat confdefs.h >>conftest.$ac_ext 12213 cat >>conftest.$ac_ext <<_ACEOF 6207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12214 6208 /* end confdefs.h. */ 12215 6209 … … 12229 6223 } 12230 6224 _ACEOF 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 6225 if ac_fn_c_try_link "$LINENO"; then : 12249 6226 ac_cv_lib_v4l2_v4l2_open=yes 12250 6227 else 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 6228 ac_cv_lib_v4l2_v4l2_open=no 6229 fi 6230 rm -f core conftest.err conftest.$ac_objext \ 6231 conftest$ac_exeext conftest.$ac_ext 12259 6232 LIBS=$ac_check_lib_save_LIBS 12260 6233 fi 12261 { echo "$as_me:$LINENO: result: $ac_cv_lib_v4l2_v4l2_open" >&512262 echo "${ECHO_T}$ac_cv_lib_v4l2_v4l2_open" >&6; }12263 if test $ac_cv_lib_v4l2_v4l2_open = yes; then6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_v4l2_v4l2_open" >&5 6235 $as_echo "$ac_cv_lib_v4l2_v4l2_open" >&6; } 6236 if test "x$ac_cv_lib_v4l2_v4l2_open" = x""yes; then : 12264 6237 ac_v4l2_cflags="-DPJMEDIA_VIDEO_DEV_HAS_V4L2=1" 12265 6238 ac_v4l2_ldflags="-lv4l2" … … 12274 6247 12275 6248 # Check whether --enable-ipp was given. 12276 if test "${enable_ipp+set}" = set; then 6249 if test "${enable_ipp+set}" = set; then : 12277 6250 enableval=$enable_ipp; 12278 6251 else … … 12284 6257 12285 6258 # Check whether --with-ipp was given. 12286 if test "${with_ipp+set}" = set; then 6259 if test "${with_ipp+set}" = set; then : 12287 6260 withval=$with_ipp; 12288 6261 else … … 12294 6267 12295 6268 # Check whether --with-ipp-samples was given. 12296 if test "${with_ipp_samples+set}" = set; then 6269 if test "${with_ipp_samples+set}" = set; then : 12297 6270 withval=$with_ipp_samples; 12298 6271 else … … 12304 6277 12305 6278 # Check whether --with-ipp-arch was given. 12306 if test "${with_ipp_arch+set}" = set; then 6279 if test "${with_ipp_arch+set}" = set; then : 12307 6280 withval=$with_ipp_arch; 12308 6281 else … … 12313 6286 12314 6287 if test "x$enable_ipp" != "xno"; then 12315 { echo "$as_me:$LINENO: checking Intel IPP location" >&512316 echo $ECHO_N "checking Intel IPP location... $ECHO_C" >&6; }6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&5 6289 $as_echo_n "checking Intel IPP location... " >&6; } 12317 6290 12318 6291 if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 12319 { echo "$as_me:$LINENO: result: $with_ipp" >&512320 echo "${ECHO_T}$with_ipp" >&6; }6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&5 6293 $as_echo "$with_ipp" >&6; } 12321 6294 IPPROOT=$with_ipp 12322 6295 elif test "x$IPPROOT" = "x"; then 12323 6296 if test -d /opt/intel/ipp; then 12324 6297 IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 12325 { echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&512326 echo "${ECHO_T}autodetected in $IPPROOT" >&6; }6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&5 6299 $as_echo "autodetected in $IPPROOT" >&6; } 12327 6300 fi 12328 6301 else 12329 { echo "$as_me:$LINENO: result: $IPPROOT" >&512330 echo "${ECHO_T}$IPPROOT" >&6; }6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&5 6303 $as_echo "$IPPROOT" >&6; } 12331 6304 fi 12332 6305 12333 6306 if test "x$with_ipp_arch" != "xno"; then 12334 6307 IPP_SUFFIX=$with_ipp_arch 12335 { echo "$as_me:$LINENO: result: IPP arch suffix is set to $IPP_SUFFIX" >&512336 echo "${ECHO_T}IPP arch suffix is set to $IPP_SUFFIX" >&6; }6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 6309 $as_echo "IPP arch suffix is set to $IPP_SUFFIX" >&6; } 12337 6310 else 12338 6311 IPP_SUFFIX="" 12339 { echo "$as_me:$LINENO: result: IPP arch suffix is set to empty" >&512340 echo "${ECHO_T}IPP arch suffix is set to empty" >&6; }6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to empty" >&5 6313 $as_echo "IPP arch suffix is set to empty" >&6; } 12341 6314 fi 12342 6315 12343 6316 if test x$IPPROOT = x; then 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; }; } 6317 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 12347 6318 elif test ! -d $IPPROOT; then 12348 { { echo "$as_me:$LINENO: error: not found" >&5 12349 echo "$as_me: error: not found" >&2;} 12350 { (exit 1); exit 1; }; } 6319 as_fn_error "not found" "$LINENO" 5 12351 6320 elif test ! -d $IPPROOT/include; then 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; }; } 6321 as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 12355 6322 else 12356 6323 # IPP directory looks okay. … … 12363 6330 12364 6331 IPP_CFLAGS="-I$IPPROOT/include" 12365 IPP_LIBS="-lippsc${IPP_SUFFIX} -lipps${IPP_SUFFIX} -lippsr${IPP_SUFFIX} -lippcore${IPP_SUFFIX}" 12366 6332 IPP_LIBS="-lippsc${IPP_SUFFIX} -lipps${IPP_SUFFIX} -lippcore${IPP_SUFFIX}" 6333 6334 # 12367 6335 # Some differences between Mac OS X and Linux 12368 6336 case $target in … … 12371 6339 ;; 12372 6340 *) 12373 IPP_LDFLAGS="-L$IPPROOT/sharedlib" 12374 IPP_LIBS="$IPP_LIBS -lguide" 6341 # Find out where the libraries live. 6342 IPP7_ARCH="" 6343 if test -d $IPPROOT/lib/intel64; then 6344 IPP7_ARCH="intel64" 6345 elif test -d $IPPROOT/lib/ia32; then 6346 IPP7_ARCH="ia32" 6347 elif test -d $IPPROOT/lib/mic; then 6348 IPP7_ARCH="mic" 6349 fi 6350 6351 if test -z "$IPP7_ARCH"; then 6352 # IPP6 (and possibly below) 6353 IPP_LDFLAGS="-L$IPPROOT/sharedlib" 6354 IPP_LIBS="$IPP_LIBS -lippsr${IPP_SUFFIX} -lguide" 6355 else 6356 # IPP7 6357 if ! test -d $IPPROOT/../compiler; then 6358 as_fn_error "Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" "$LINENO" 5 6359 fi 6360 IPP_CFLAGS="$IPP_CFLAGS" 6361 IPP_LDFLAGS="-L$IPPROOT/lib/intel64 -L$IPPROOT/../compiler/lib/$IPP7_ARCH" 6362 IPP_LIBS="$IPP_LIBS -liomp5" 6363 fi 12375 6364 ;; 12376 6365 esac … … 12385 6374 12386 6375 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 6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 6377 $as_echo_n "checking Intel IPP usability... " >&6; } 6378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12394 6379 /* end confdefs.h. */ 12395 6380 #include <ippcore.h> … … 12403 6388 } 12404 6389 _ACEOF 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 6390 if ac_fn_c_try_link "$LINENO"; then : 6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6392 $as_echo "ok" >&6; } 6393 else 6394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6396 { as_fn_set_status run with --help for more info 6397 as_fn_error "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 6398 See \`config.log' for more details." "$LINENO" 5; }; } 6399 fi 6400 rm -f core conftest.err conftest.$ac_objext \ 6401 conftest$ac_exeext conftest.$ac_ext 12438 6402 12439 6403 CFLAGS="$SAVED_CFLAGS" … … 12442 6406 fi 12443 6407 12444 { echo "$as_me:$LINENO: checking Intel IPP samples location" >&512445 echo $ECHO_N "checking Intel IPP samples location... $ECHO_C" >&6; }6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&5 6409 $as_echo_n "checking Intel IPP samples location... " >&6; } 12446 6410 12447 6411 if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 12448 { echo "$as_me:$LINENO: result: $with_ipp_samples" >&512449 echo "${ECHO_T}$with_ipp_samples" >&6; }6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&5 6413 $as_echo "$with_ipp_samples" >&6; } 12450 6414 IPPSAMPLES=$with_ipp_samples 12451 6415 elif test "x$IPPSAMPLES" = "x"; then 12452 6416 if test -d /opt/intel/ipp-samples; then 12453 6417 IPPSAMPLES=/opt/intel/ipp-samples 12454 { echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&512455 echo "${ECHO_T}autodetected in $IPPSAMPLES" >&6; }6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&5 6419 $as_echo "autodetected in $IPPSAMPLES" >&6; } 12456 6420 fi 12457 6421 else 12458 { echo "$as_me:$LINENO: result: $IPPSAMPLES" >&512459 echo "${ECHO_T}$IPPSAMPLES" >&6; }6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&5 6423 $as_echo "$IPPSAMPLES" >&6; } 12460 6424 fi 12461 6425 12462 6426 if test x$IPPSAMPLES = x; then 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; }; } 6427 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 12466 6428 elif test ! -d $IPPSAMPLES; then 12467 { { echo "$as_me:$LINENO: error: not found" >&5 12468 echo "$as_me: error: not found" >&2;} 12469 { (exit 1); exit 1; }; } 6429 as_fn_error "not found" "$LINENO" 5 12470 6430 elif test ! -d $IPPSAMPLES/speech-codecs; then 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; }; } 6431 as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 12474 6432 else 12475 6433 # Remove trailing backslash … … 12477 6435 12478 6436 # Guess the libusc.a/libspeech.a build location 12479 { echo "$as_me:$LINENO: checking Intel IPP USC build location" >&512480 echo $ECHO_N "checking Intel IPP USC build location... $ECHO_C" >&6; }6437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&5 6438 $as_echo_n "checking Intel IPP USC build location... " >&6; } 12481 6439 if test -d $IPPSAMPLES/speech-codecs/bin; then 12482 6440 IPPVER=5 … … 12491 6449 IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*icc*/lib | head -1` 12492 6450 else 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; }; } 6451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6453 as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 6454 See \`config.log' for more details." "$LINENO" 5; } 12498 6455 fi 12499 6456 else 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; }; } 6457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6459 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? 6460 See \`config.log' for more details." "$LINENO" 5; } 12505 6461 fi 12506 6462 12507 6463 # Test the directory 12508 6464 if test ! -d $IPPSAMP_DIR; then 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; }; } 6465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6467 as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 6468 See \`config.log' for more details." "$LINENO" 5; } 12514 6469 exit 1; 12515 6470 fi … … 12522 6477 IPPSAMP_LDLIBS="-lspeech" 12523 6478 else 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; }; } 6479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6481 as_fn_error "bug in this script: unsupported IPP version 6482 See \`config.log' for more details." "$LINENO" 5; } 12529 6483 fi 12530 6484 12531 6485 if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then 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; }; } 6486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6488 as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 6489 See \`config.log' for more details." "$LINENO" 5; } 12537 6490 fi 12538 6491 12539 { echo "$as_me:$LINENO: result: $IPPSAMP_DIR" >&512540 echo "${ECHO_T}$IPPSAMP_DIR" >&6; }6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMP_DIR" >&5 6493 $as_echo "$IPPSAMP_DIR" >&6; } 12541 6494 12542 6495 SAVED_CFLAGS="$CFLAGS" … … 12549 6502 LIBS="$IPPSAMP_LDLIBS $LIBS" 12550 6503 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 6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 6505 $as_echo_n "checking Intel IPP USC usability... " >&6; } 6506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12558 6507 /* end confdefs.h. */ 12559 6508 #include <usc.h> … … 12567 6516 } 12568 6517 _ACEOF 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 6518 if ac_fn_c_try_link "$LINENO"; then : 6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6520 $as_echo "ok" >&6; } 6521 else 6522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6524 as_fn_error "failed 6525 See \`config.log' for more details." "$LINENO" 5; } 6526 fi 6527 rm -f core conftest.err conftest.$ac_objext \ 6528 conftest$ac_exeext conftest.$ac_ext 12602 6529 12603 6530 CFLAGS="$SAVED_CFLAGS" … … 12619 6546 export IPP_LIBS=$IPP_LIBS" 12620 6547 else 12621 { echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&512622 echo "${ECHO_T}Skipping Intel IPP settings (not wanted)" >&6; }6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&5 6549 $as_echo "Skipping Intel IPP settings (not wanted)" >&6; } 12623 6550 fi 12624 6551 … … 12627 6554 12628 6555 # Check whether --enable-ssl was given. 12629 if test "${enable_ssl+set}" = set; then 6556 if test "${enable_ssl+set}" = set; then : 12630 6557 enableval=$enable_ssl; 12631 6558 if test "$enable_ssl" = "no"; then 12632 6559 ac_no_ssl=1 12633 { echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&512634 echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6; }6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&5 6561 $as_echo "Checking if SSL support is disabled... yes" >&6; } 12635 6562 fi 12636 6563 12637 6564 else 12638 6565 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 6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 6567 $as_echo "checking for OpenSSL installations.." >&6; } 6568 6569 6570 6571 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 6572 if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 12770 6573 openssl_h_present=1 12771 6574 fi 12772 6575 12773 6576 12774 { echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&512775 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" >&66577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 6578 $as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 6579 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 6580 $as_echo_n "(cached) " >&6 12778 6581 else 12779 6582 ac_check_lib_save_LIBS=$LIBS 12780 6583 LIBS="-lcrypto $LIBS" 12781 cat >conftest.$ac_ext <<_ACEOF 12782 /* confdefs.h. */ 12783 _ACEOF 12784 cat confdefs.h >>conftest.$ac_ext 12785 cat >>conftest.$ac_ext <<_ACEOF 6584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12786 6585 /* end confdefs.h. */ 12787 6586 … … 12801 6600 } 12802 6601 _ACEOF 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 6602 if ac_fn_c_try_link "$LINENO"; then : 12821 6603 ac_cv_lib_crypto_ERR_load_BIO_strings=yes 12822 6604 else 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 6605 ac_cv_lib_crypto_ERR_load_BIO_strings=no 6606 fi 6607 rm -f core conftest.err conftest.$ac_objext \ 6608 conftest$ac_exeext conftest.$ac_ext 12831 6609 LIBS=$ac_check_lib_save_LIBS 12832 6610 fi 12833 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&512834 echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; }12835 if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 6612 $as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 6613 if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 12836 6614 libcrypto_present=1 && LIBS="$LIBS -lcrypto" 12837 6615 fi 12838 6616 12839 { echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&512840 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" >&66617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 6618 $as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 6619 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 6620 $as_echo_n "(cached) " >&6 12843 6621 else 12844 6622 ac_check_lib_save_LIBS=$LIBS 12845 6623 LIBS="-lssl $LIBS" 12846 cat >conftest.$ac_ext <<_ACEOF 12847 /* confdefs.h. */ 12848 _ACEOF 12849 cat confdefs.h >>conftest.$ac_ext 12850 cat >>conftest.$ac_ext <<_ACEOF 6624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12851 6625 /* end confdefs.h. */ 12852 6626 … … 12866 6640 } 12867 6641 _ACEOF 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 6642 if ac_fn_c_try_link "$LINENO"; then : 12886 6643 ac_cv_lib_ssl_SSL_library_init=yes 12887 6644 else 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 6645 ac_cv_lib_ssl_SSL_library_init=no 6646 fi 6647 rm -f core conftest.err conftest.$ac_objext \ 6648 conftest$ac_exeext conftest.$ac_ext 12896 6649 LIBS=$ac_check_lib_save_LIBS 12897 6650 fi 12898 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&512899 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6; }12900 if test $ac_cv_lib_ssl_SSL_library_init = yes; then6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 6652 $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 6653 if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 12901 6654 libssl_present=1 && LIBS="$LIBS -lssl" 12902 6655 fi 12903 6656 12904 6657 if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 12905 { echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&512906 echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6; }6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&5 6659 $as_echo "OpenSSL library found, SSL support enabled" >&6; } 12907 6660 # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 12908 6661 #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 12909 cat >>confdefs.h <<\_ACEOF 12910 #define PJ_HAS_SSL_SOCK 1 12911 _ACEOF 6662 $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 12912 6663 12913 6664 else 12914 { echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&512915 echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6; }6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 6666 $as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; } 12916 6667 fi 12917 6668 … … 12922 6673 12923 6674 12924 { echo "$as_me:$LINENO: checking if select() needs correct nfds" >&512925 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6; }6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&5 6676 $as_echo_n "checking if select() needs correct nfds... " >&6; } 12926 6677 case $target in 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; } 6678 *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h 6679 6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6681 $as_echo "yes" >&6; } 12933 6682 ;; 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; } 6683 *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h 6684 6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6686 $as_echo "no (default)" >&6; } 6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 6688 $as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } 12942 6689 ;; 12943 6690 esac 12944 6691 12945 { echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&512946 echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6; }6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&5 6693 $as_echo_n "checking if pj_thread_create() should enforce stack size... " >&6; } 12947 6694 case $target in 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; } 6695 *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h 6696 6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6698 $as_echo "yes" >&6; } 12954 6699 ;; 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; } 6700 *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h 6701 6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6703 $as_echo "no (default)" >&6; } 12961 6704 ;; 12962 6705 esac 12963 6706 12964 { echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&512965 echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6; }6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&5 6708 $as_echo_n "checking if pj_thread_create() should allocate stack... " >&6; } 12966 6709 case $target in 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; } 6710 *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h 6711 6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6713 $as_echo "yes" >&6; } 12973 6714 ;; 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; } 6715 *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h 6716 6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6718 $as_echo "no (default)" >&6; } 12980 6719 ;; 12981 6720 esac … … 12983 6722 case $target in 12984 6723 *mingw* | *cygw* | *win32* | *w32* ) 12985 cat >>confdefs.h <<\_ACEOF 12986 #define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 12987 _ACEOF 6724 $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 12988 6725 12989 6726 ;; 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; } 6727 *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h 6728 6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 6730 $as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 12996 6731 ;; 12997 6732 esac … … 12999 6734 case $target in 13000 6735 *mingw* | *cygw* | *win32* | *w32* ) 13001 cat >>confdefs.h <<\_ACEOF 13002 #define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 13003 _ACEOF 6736 $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 13004 6737 13005 6738 ;; 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; } 6739 *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h 6740 6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 6742 $as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 13012 6743 ;; 13013 6744 esac … … 13064 6795 *${as_nl}*) 13065 6796 case $ac_var in #( 13066 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&513067 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;6797 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6798 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13068 6799 esac 13069 6800 case $ac_var in #( 13070 6801 _ | IFS | as_nl) ;; #( 13071 *) $as_unset $ac_var ;; 6802 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6803 *) { eval $ac_var=; unset $ac_var;} ;; 13072 6804 esac ;; 13073 6805 esac … … 13077 6809 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13078 6810 *${as_nl}ac_space=\ *) 13079 # `set' does not quote correctly, so add quotes (double-quote13080 # substitution turns \\\\ into \\, and sed turns \\ into \ ).6811 # `set' does not quote correctly, so add quotes: double-quote 6812 # substitution turns \\\\ into \\, and sed turns \\ into \. 13081 6813 sed -n \ 13082 6814 "s/'/'\\\\''/g; … … 13101 6833 if test -w "$cache_file"; then 13102 6834 test "x$cache_file" != "x/dev/null" && 13103 { echo "$as_me:$LINENO: updating cache $cache_file" >&513104 echo "$as_me: updating cache $cache_file" >&6;}6835 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6836 $as_echo "$as_me: updating cache $cache_file" >&6;} 13105 6837 cat confcache >$cache_file 13106 6838 else 13107 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&513108 echo "$as_me: not updating unwritable cache $cache_file" >&6;}6839 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6840 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13109 6841 fi 13110 6842 fi … … 13122 6854 # 1. Remove the extension, and $U if already installed. 13123 6855 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13124 ac_i=` echo "$ac_i" | sed "$ac_script"`6856 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13125 6857 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13126 6858 # will be set to the directory where LIBOBJS objects are built. 13127 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"13128 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'6859 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6860 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13129 6861 done 13130 6862 LIBOBJS=$ac_libobjs … … 13134 6866 13135 6867 6868 13136 6869 : ${CONFIG_STATUS=./config.status} 6870 ac_write_fail=0 13137 6871 ac_clean_files_save=$ac_clean_files 13138 6872 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13139 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 13140 echo "$as_me: creating $CONFIG_STATUS" >&6;} 13141 cat >$CONFIG_STATUS <<_ACEOF 6873 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6874 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6875 as_write_fail=0 6876 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13142 6877 #! $SHELL 13143 6878 # Generated by $as_me. … … 13149 6884 ac_cs_recheck=false 13150 6885 ac_cs_silent=false 6886 13151 6887 SHELL=\${CONFIG_SHELL-$SHELL} 13152 _ACEOF 13153 13154 cat >>$CONFIG_STATUS <<\_A CEOF13155 ## -------------------- -##13156 ## M4sh Initialization. 13157 ## -------------------- -##6888 export SHELL 6889 _ASEOF 6890 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6891 ## -------------------- ## 6892 ## M4sh Initialization. ## 6893 ## -------------------- ## 13158 6894 13159 6895 # Be more Bourne compatible 13160 6896 DUALCASE=1; export DUALCASE # for MKS sh 13161 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6897 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13162 6898 emulate sh 13163 6899 NULLCMD=: 13164 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which6900 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13165 6901 # is contrary to our usage. Disable this feature. 13166 6902 alias -g '${1+"$@"}'='"$@"' 13167 6903 setopt NO_GLOB_SUBST 13168 6904 else 13169 case `(set -o) 2>/dev/null` in 13170 *posix*) set -o posix ;; 6905 case `(set -o) 2>/dev/null` in #( 6906 *posix*) : 6907 set -o posix ;; #( 6908 *) : 6909 ;; 13171 6910 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 6911 fi 6912 6913 6914 as_nl=' 6915 ' 6916 export as_nl 6917 # Printing a long string crashes Solaris 7 /usr/bin/printf. 6918 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6919 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6920 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6921 # Prefer a ksh shell builtin over an external printf program on Solaris, 6922 # but without wasting forks for bash or zsh. 6923 if test -z "$BASH_VERSION$ZSH_VERSION" \ 6924 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6925 as_echo='print -r --' 6926 as_echo_n='print -rn --' 6927 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6928 as_echo='printf %s\n' 6929 as_echo_n='printf %s' 6930 else 6931 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6932 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6933 as_echo_n='/usr/ucb/echo -n' 6934 else 6935 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6936 as_echo_n_body='eval 6937 arg=$1; 6938 case $arg in #( 6939 *"$as_nl"*) 6940 expr "X$arg" : "X\\(.*\\)$as_nl"; 6941 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6942 esac; 6943 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6944 ' 6945 export as_echo_n_body 6946 as_echo_n='sh -c $as_echo_n_body as_echo' 6947 fi 6948 export as_echo_body 6949 as_echo='sh -c $as_echo_body as_echo' 6950 fi 13185 6951 13186 6952 # The user is always right. 13187 6953 if test "${PATH_SEPARATOR+set}" != set; then 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 6954 PATH_SEPARATOR=: 6955 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6956 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6957 PATH_SEPARATOR=';' 6958 } 13204 6959 fi 13205 6960 … … 13210 6965 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 13211 6966 # splitting by setting IFS to empty value.) 13212 as_nl='13213 '13214 6967 IFS=" "" $as_nl" 13215 6968 13216 6969 # Find who we are. Look in the path if we contain no directory separator. 13217 case $0 in 6970 case $0 in #(( 13218 6971 *[\\/]* ) as_myself=$0 ;; 13219 6972 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 13222 6975 IFS=$as_save_IFS 13223 6976 test -z "$as_dir" && as_dir=. 13224 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break13225 done6977 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6978 done 13226 6979 IFS=$as_save_IFS 13227 6980 … … 13234 6987 fi 13235 6988 if test ! -f "$as_myself"; then 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 6989 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6990 exit 1 6991 fi 6992 6993 # Unset variables that we do not need and which cause bugs (e.g. in 6994 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6995 # suppresses any "Segmentation fault" message there. '((' could 6996 # trigger a bug in pdksh 5.2.14. 6997 for as_var in BASH_ENV ENV MAIL MAILPATH 6998 do eval test x\${$as_var+set} = xset \ 6999 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13243 7000 done 13244 7001 PS1='$ ' … … 13247 7004 13248 7005 # NLS nuisances. 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 7006 LC_ALL=C 7007 export LC_ALL 7008 LANGUAGE=C 7009 export LANGUAGE 7010 7011 # CDPATH. 7012 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 7013 7014 7015 # as_fn_error ERROR [LINENO LOG_FD] 7016 # --------------------------------- 7017 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 7018 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 7019 # script with status $?, using 1 if that was 0. 7020 as_fn_error () 7021 { 7022 as_status=$?; test $as_status -eq 0 && as_status=1 7023 if test "$3"; then 7024 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 7025 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 13258 7026 fi 13259 done 13260 13261 # Required to use basename. 7027 $as_echo "$as_me: error: $1" >&2 7028 as_fn_exit $as_status 7029 } # as_fn_error 7030 7031 7032 # as_fn_set_status STATUS 7033 # ----------------------- 7034 # Set $? to STATUS, without forking. 7035 as_fn_set_status () 7036 { 7037 return $1 7038 } # as_fn_set_status 7039 7040 # as_fn_exit STATUS 7041 # ----------------- 7042 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 7043 as_fn_exit () 7044 { 7045 set +e 7046 as_fn_set_status $1 7047 exit $1 7048 } # as_fn_exit 7049 7050 # as_fn_unset VAR 7051 # --------------- 7052 # Portably unset VAR. 7053 as_fn_unset () 7054 { 7055 { eval $1=; unset $1;} 7056 } 7057 as_unset=as_fn_unset 7058 # as_fn_append VAR VALUE 7059 # ---------------------- 7060 # Append the text in VALUE to the end of the definition contained in VAR. Take 7061 # advantage of any shell optimizations that allow amortized linear growth over 7062 # repeated appends, instead of the typical quadratic growth present in naive 7063 # implementations. 7064 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 7065 eval 'as_fn_append () 7066 { 7067 eval $1+=\$2 7068 }' 7069 else 7070 as_fn_append () 7071 { 7072 eval $1=\$$1\$2 7073 } 7074 fi # as_fn_append 7075 7076 # as_fn_arith ARG... 7077 # ------------------ 7078 # Perform arithmetic evaluation on the ARGs, and store the result in the 7079 # global $as_val. Take advantage of shells that can avoid forks. The arguments 7080 # must be portable across $(()) and expr. 7081 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 7082 eval 'as_fn_arith () 7083 { 7084 as_val=$(( $* )) 7085 }' 7086 else 7087 as_fn_arith () 7088 { 7089 as_val=`expr "$@" || test $? -eq 1` 7090 } 7091 fi # as_fn_arith 7092 7093 13262 7094 if expr a : '\(a\)' >/dev/null 2>&1 && 13263 7095 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 13273 7105 fi 13274 7106 13275 13276 # Name of the executable. 7107 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7108 as_dirname=dirname 7109 else 7110 as_dirname=false 7111 fi 7112 13277 7113 as_me=`$as_basename -- "$0" || 13278 7114 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13279 7115 X"$0" : 'X\(//\)$' \| \ 13280 7116 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13281 echo X/"$0" |7117 $as_echo X/"$0" | 13282 7118 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13283 7119 s//\1/ … … 13294 7130 s/.*/./; q'` 13295 7131 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 7132 # Avoid depending upon Character Ranges. 7133 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7134 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7135 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7136 as_cr_digits='0123456789' 7137 as_cr_alnum=$as_cr_Letters$as_cr_digits 13349 7138 13350 7139 ECHO_C= ECHO_N= ECHO_T= 13351 case `echo -n x` in 7140 case `echo -n x` in #((((( 13352 7141 -n*) 13353 case `echo 'x \c'` in7142 case `echo 'xy\c'` in 13354 7143 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13355 *) ECHO_C='\c';; 7144 xy) ECHO_C='\c';; 7145 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7146 ECHO_T=' ';; 13356 7147 esac;; 13357 7148 *) … … 13359 7150 esac 13360 7151 13361 if expr a : '\(a\)' >/dev/null 2>&1 &&13362 test "X`expr 00001 : '.*\(...\)'`" = X001; then13363 as_expr=expr13364 else13365 as_expr=false13366 fi13367 13368 7152 rm -f conf$$ conf$$.exe conf$$.file 13369 7153 if test -d conf$$.dir; then … … 13371 7155 else 13372 7156 rm -f conf$$.dir 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 || 7157 mkdir conf$$.dir 2>/dev/null 7158 fi 7159 if (echo >conf$$.file) 2>/dev/null; then 7160 if ln -s conf$$.file conf$$ 2>/dev/null; then 7161 as_ln_s='ln -s' 7162 # ... but there are two gotchas: 7163 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7164 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7165 # In both cases, we have to default to `cp -p'. 7166 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7167 as_ln_s='cp -p' 7168 elif ln conf$$.file conf$$ 2>/dev/null; then 7169 as_ln_s=ln 7170 else 13383 7171 as_ln_s='cp -p' 13384 elif ln conf$$.file conf$$ 2>/dev/null; then 13385 as_ln_s=ln 7172 fi 13386 7173 else 13387 7174 as_ln_s='cp -p' … … 13390 7177 rmdir conf$$.dir 2>/dev/null 13391 7178 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 13573 { 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" 7179 7180 # as_fn_mkdir_p 7181 # ------------- 7182 # Create "$as_dir" as a directory, including parents if necessary. 7183 as_fn_mkdir_p () 7184 { 7185 13965 7186 case $as_dir in #( 13966 7187 -*) as_dir=./$as_dir;; 13967 7188 esac 13968 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; }|| {7189 test -d "$as_dir" || eval $as_mkdir_p || { 13969 7190 as_dirs= 13970 7191 while :; do 13971 7192 case $as_dir in #( 13972 *\'*) as_qdir=` echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(7193 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13973 7194 *) as_qdir=$as_dir;; 13974 7195 esac … … 13979 7200 X"$as_dir" : 'X\(//\)$' \| \ 13980 7201 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13981 echo X"$as_dir" |7202 $as_echo X"$as_dir" | 13982 7203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13983 7204 s//\1/ … … 14000 7221 done 14001 7222 test -z "$as_dirs" || eval "mkdir $as_dirs" 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; }; }; } 7223 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 7224 7225 7226 } # as_fn_mkdir_p 7227 if mkdir -p . 2>/dev/null; then 7228 as_mkdir_p='mkdir -p "$as_dir"' 7229 else 7230 test -d ./-p && rmdir ./-p 7231 as_mkdir_p=false 7232 fi 7233 7234 if test -x / >/dev/null 2>&1; then 7235 as_test_x='test -x' 7236 else 7237 if ls -dL / >/dev/null 2>&1; then 7238 as_ls_L_option=L 7239 else 7240 as_ls_L_option= 7241 fi 7242 as_test_x=' 7243 eval sh -c '\'' 7244 if test -d "$1"; then 7245 test -d "$1/."; 7246 else 7247 case $1 in #( 7248 -*)set "./$1";; 7249 esac; 7250 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 7251 ???[sx]*):;;*)false;;esac;fi 7252 '\'' sh 7253 ' 7254 fi 7255 as_executable_p=$as_test_x 7256 7257 # Sed expression to map a string onto a valid CPP name. 7258 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7259 7260 # Sed expression to map a string onto a valid variable name. 7261 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7262 7263 7264 exec 6>&1 7265 ## ----------------------------------- ## 7266 ## Main body of $CONFIG_STATUS script. ## 7267 ## ----------------------------------- ## 7268 _ASEOF 7269 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7270 7271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7272 # Save the log message, to keep $0 and so on meaningful, and to 7273 # report actual input values of CONFIG_FILES etc. instead of their 7274 # values after options handling. 7275 ac_log=" 7276 This file was extended by pjproject $as_me 1.x, which was 7277 generated by GNU Autoconf 2.65. Invocation command line was 7278 7279 CONFIG_FILES = $CONFIG_FILES 7280 CONFIG_HEADERS = $CONFIG_HEADERS 7281 CONFIG_LINKS = $CONFIG_LINKS 7282 CONFIG_COMMANDS = $CONFIG_COMMANDS 7283 $ $0 $@ 7284 7285 on `(hostname || uname -n) 2>/dev/null | sed 1q` 7286 " 7287 7288 _ACEOF 7289 7290 case $ac_config_files in *" 7291 "*) set x $ac_config_files; shift; ac_config_files=$*;; 7292 esac 7293 7294 case $ac_config_headers in *" 7295 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7296 esac 7297 7298 7299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7300 # Files that config.status was made for. 7301 config_files="$ac_config_files" 7302 config_headers="$ac_config_headers" 7303 7304 _ACEOF 7305 7306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7307 ac_cs_usage="\ 7308 \`$as_me' instantiates files and other configuration actions 7309 from templates according to the current configuration. Unless the files 7310 and actions are specified as TAGs, all are instantiated by default. 7311 7312 Usage: $0 [OPTION]... [TAG]... 7313 7314 -h, --help print this help, then exit 7315 -V, --version print version number and configuration settings, then exit 7316 --config print configuration, then exit 7317 -q, --quiet, --silent 7318 do not print progress messages 7319 -d, --debug don't remove temporary files 7320 --recheck update $as_me by reconfiguring in the same conditions 7321 --file=FILE[:TEMPLATE] 7322 instantiate the configuration file FILE 7323 --header=FILE[:TEMPLATE] 7324 instantiate the configuration header FILE 7325 7326 Configuration files: 7327 $config_files 7328 7329 Configuration headers: 7330 $config_headers 7331 7332 Report bugs to the package provider." 7333 7334 _ACEOF 7335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7336 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7337 ac_cs_version="\\ 7338 pjproject config.status 1.x 7339 configured by $0, generated by GNU Autoconf 2.65, 7340 with options \\"\$ac_cs_config\\" 7341 7342 Copyright (C) 2009 Free Software Foundation, Inc. 7343 This config.status script is free software; the Free Software Foundation 7344 gives unlimited permission to copy, distribute and modify it." 7345 7346 ac_pwd='$ac_pwd' 7347 srcdir='$srcdir' 7348 test -n "\$AWK" || AWK=awk 7349 _ACEOF 7350 7351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7352 # The default lists apply if the user does not specify any file. 7353 ac_need_defaults=: 7354 while test $# != 0 7355 do 7356 case $1 in 7357 --*=*) 7358 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7359 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7360 ac_shift=: 7361 ;; 7362 *) 7363 ac_option=$1 7364 ac_optarg=$2 7365 ac_shift=shift 7366 ;; 7367 esac 7368 7369 case $ac_option in 7370 # Handling of the options. 7371 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7372 ac_cs_recheck=: ;; 7373 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7374 $as_echo "$ac_cs_version"; exit ;; 7375 --config | --confi | --conf | --con | --co | --c ) 7376 $as_echo "$ac_cs_config"; exit ;; 7377 --debug | --debu | --deb | --de | --d | -d ) 7378 debug=: ;; 7379 --file | --fil | --fi | --f ) 7380 $ac_shift 7381 case $ac_optarg in 7382 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7383 esac 7384 as_fn_append CONFIG_FILES " '$ac_optarg'" 7385 ac_need_defaults=false;; 7386 --header | --heade | --head | --hea ) 7387 $ac_shift 7388 case $ac_optarg in 7389 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7390 esac 7391 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7392 ac_need_defaults=false;; 7393 --he | --h) 7394 # Conflict between --help and --header 7395 as_fn_error "ambiguous option: \`$1' 7396 Try \`$0 --help' for more information.";; 7397 --help | --hel | -h ) 7398 $as_echo "$ac_cs_usage"; exit ;; 7399 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7400 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7401 ac_cs_silent=: ;; 7402 7403 # This is an error. 7404 -*) as_fn_error "unrecognized option: \`$1' 7405 Try \`$0 --help' for more information." ;; 7406 7407 *) as_fn_append ac_config_targets " $1" 7408 ac_need_defaults=false ;; 7409 7410 esac 7411 shift 7412 done 7413 7414 ac_configure_extra_args= 7415 7416 if $ac_cs_silent; then 7417 exec 6>/dev/null 7418 ac_configure_extra_args="$ac_configure_extra_args --silent" 7419 fi 7420 7421 _ACEOF 7422 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7423 if \$ac_cs_recheck; then 7424 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7425 shift 7426 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7427 CONFIG_SHELL='$SHELL' 7428 export CONFIG_SHELL 7429 exec "\$@" 7430 fi 7431 7432 _ACEOF 7433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7434 exec 5>>config.log 7435 { 7436 echo 7437 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7438 ## Running $as_me. ## 7439 _ASBOX 7440 $as_echo "$ac_log" 7441 } >&5 7442 7443 _ACEOF 7444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7445 _ACEOF 7446 7447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7448 7449 # Handling of arguments. 7450 for ac_config_target in $ac_config_targets 7451 do 7452 case $ac_config_target in 7453 "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 7454 "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 7455 "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 7456 "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 7457 "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 7458 "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 7459 "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 7460 "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 7461 "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 7462 "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 7463 "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 7464 "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 7465 "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 7466 "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 7467 7468 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7469 esac 7470 done 7471 7472 7473 # If the user did not use the arguments to specify the items to instantiate, 7474 # then the envvar interface is used. Set only those that are not. 7475 # We use the long form for the default assignment because of an extremely 7476 # bizarre bug on SunOS 4.1.3. 7477 if $ac_need_defaults; then 7478 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7479 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7480 fi 7481 7482 # Have a temporary directory for convenience. Make it in the build tree 7483 # simply because there is no reason against having it here, and in addition, 7484 # creating and moving files from /tmp can sometimes cause problems. 7485 # Hook for its removal unless debugging. 7486 # Note that there is a small window in which the directory will not be cleaned: 7487 # after its creation but before its name has been assigned to `$tmp'. 7488 $debug || 7489 { 7490 tmp= 7491 trap 'exit_status=$? 7492 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7493 ' 0 7494 trap 'as_fn_exit 1' 1 2 13 15 7495 } 7496 # Create a (secure) tmp directory for tmp files. 7497 7498 { 7499 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7500 test -n "$tmp" && test -d "$tmp" 7501 } || 7502 { 7503 tmp=./conf$$-$RANDOM 7504 (umask 077 && mkdir "$tmp") 7505 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 7506 7507 # Set up the scripts for CONFIG_FILES section. 7508 # No need to generate them if there are no CONFIG_FILES. 7509 # This happens for instance with `./config.status config.h'. 7510 if test -n "$CONFIG_FILES"; then 7511 7512 7513 ac_cr=`echo X | tr X '\015'` 7514 # On cygwin, bash can eat \r inside `` if the user requested igncr. 7515 # But we know of no other shell where ac_cr would be empty at this 7516 # point, so we can use a bashism as a fallback. 7517 if test "x$ac_cr" = x; then 7518 eval ac_cr=\$\'\\r\' 7519 fi 7520 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7521 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7522 ac_cs_awk_cr='\r' 7523 else 7524 ac_cs_awk_cr=$ac_cr 7525 fi 7526 7527 echo 'BEGIN {' >"$tmp/subs1.awk" && 7528 _ACEOF 7529 7530 7531 { 7532 echo "cat >conf$$subs.awk <<_ACEOF" && 7533 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7534 echo "_ACEOF" 7535 } >conf$$subs.sh || 7536 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7537 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 7538 ac_delim='%!_!# ' 7539 for ac_last_try in false false false false false :; do 7540 . ./conf$$subs.sh || 7541 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7542 7543 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7544 if test $ac_delim_n = $ac_delim_num; then 7545 break 7546 elif $ac_last_try; then 7547 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7548 else 7549 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7550 fi 7551 done 7552 rm -f conf$$subs.sh 7553 7554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7555 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 7556 _ACEOF 7557 sed -n ' 7558 h 7559 s/^/S["/; s/!.*/"]=/ 7560 p 7561 g 7562 s/^[^!]*!// 7563 :repl 7564 t repl 7565 s/'"$ac_delim"'$// 7566 t delim 7567 :nl 7568 h 7569 s/\(.\{148\}\)..*/\1/ 7570 t more1 7571 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7572 p 7573 n 7574 b repl 7575 :more1 7576 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7577 p 7578 g 7579 s/.\{148\}// 7580 t nl 7581 :delim 7582 h 7583 s/\(.\{148\}\)..*/\1/ 7584 t more2 7585 s/["\\]/\\&/g; s/^/"/; s/$/"/ 7586 p 7587 b 7588 :more2 7589 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7590 p 7591 g 7592 s/.\{148\}// 7593 t delim 7594 ' <conf$$subs.awk | sed ' 7595 /^[^""]/{ 7596 N 7597 s/\n// 7598 } 7599 ' >>$CONFIG_STATUS || ac_write_fail=1 7600 rm -f conf$$subs.awk 7601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7602 _ACAWK 7603 cat >>"\$tmp/subs1.awk" <<_ACAWK && 7604 for (key in S) S_is_set[key] = 1 7605 FS = "" 7606 7607 } 7608 { 7609 line = $ 0 7610 nfields = split(line, field, "@") 7611 substed = 0 7612 len = length(field[1]) 7613 for (i = 2; i < nfields; i++) { 7614 key = field[i] 7615 keylen = length(key) 7616 if (S_is_set[key]) { 7617 value = S[key] 7618 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7619 len += length(value) + length(field[++i]) 7620 substed = 1 7621 } else 7622 len += 1 + keylen 7623 } 7624 7625 print line 7626 } 7627 7628 _ACAWK 7629 _ACEOF 7630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7631 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7632 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7633 else 7634 cat 7635 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 7636 || as_fn_error "could not setup config files machinery" "$LINENO" 5 7637 _ACEOF 7638 7639 # VPATH may cause trouble with some makes, so we remove $(srcdir), 7640 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7641 # trailing colons and then remove the whole line if VPATH becomes empty 7642 # (actually we leave an empty line to preserve line numbers). 7643 if test "x$srcdir" = x.; then 7644 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7645 s/:*\$(srcdir):*/:/ 7646 s/:*\${srcdir}:*/:/ 7647 s/:*@srcdir@:*/:/ 7648 s/^\([^=]*=[ ]*\):*/\1/ 7649 s/:*$// 7650 s/^[^=]*=[ ]*$// 7651 }' 7652 fi 7653 7654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7655 fi # test -n "$CONFIG_FILES" 7656 7657 # Set up the scripts for CONFIG_HEADERS section. 7658 # No need to generate them if there are no CONFIG_HEADERS. 7659 # This happens for instance with `./config.status Makefile'. 7660 if test -n "$CONFIG_HEADERS"; then 7661 cat >"$tmp/defines.awk" <<\_ACAWK || 7662 BEGIN { 7663 _ACEOF 7664 7665 # Transform confdefs.h into an awk script `defines.awk', embedded as 7666 # here-document in config.status, that substitutes the proper values into 7667 # config.h.in to produce config.h. 7668 7669 # Create a delimiter string that does not exist in confdefs.h, to ease 7670 # handling of long lines. 7671 ac_delim='%!_!# ' 7672 for ac_last_try in false false :; do 7673 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 7674 if test -z "$ac_t"; then 7675 break 7676 elif $ac_last_try; then 7677 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 7678 else 7679 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7680 fi 7681 done 7682 7683 # For the awk script, D is an array of macro values keyed by name, 7684 # likewise P contains macro parameters if any. Preserve backslash 7685 # newline sequences. 7686 7687 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7688 sed -n ' 7689 s/.\{148\}/&'"$ac_delim"'/g 7690 t rset 7691 :rset 7692 s/^[ ]*#[ ]*define[ ][ ]*/ / 7693 t def 7694 d 7695 :def 7696 s/\\$// 7697 t bsnl 7698 s/["\\]/\\&/g 7699 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7700 D["\1"]=" \3"/p 7701 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7702 d 7703 :bsnl 7704 s/["\\]/\\&/g 7705 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7706 D["\1"]=" \3\\\\\\n"\\/p 7707 t cont 7708 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7709 t cont 7710 d 7711 :cont 7712 n 7713 s/.\{148\}/&'"$ac_delim"'/g 7714 t clear 7715 :clear 7716 s/\\$// 7717 t bsnlc 7718 s/["\\]/\\&/g; s/^/"/; s/$/"/p 7719 d 7720 :bsnlc 7721 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7722 b cont 7723 ' <confdefs.h | sed ' 7724 s/'"$ac_delim"'/"\\\ 7725 "/g' >>$CONFIG_STATUS || ac_write_fail=1 7726 7727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7728 for (key in D) D_is_set[key] = 1 7729 FS = "" 7730 } 7731 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7732 line = \$ 0 7733 split(line, arg, " ") 7734 if (arg[1] == "#") { 7735 defundef = arg[2] 7736 mac1 = arg[3] 7737 } else { 7738 defundef = substr(arg[1], 2) 7739 mac1 = arg[2] 7740 } 7741 split(mac1, mac2, "(") #) 7742 macro = mac2[1] 7743 prefix = substr(line, 1, index(line, defundef) - 1) 7744 if (D_is_set[macro]) { 7745 # Preserve the white space surrounding the "#". 7746 print prefix "define", macro P[macro] D[macro] 7747 next 7748 } else { 7749 # Replace #undef with comments. This is necessary, for example, 7750 # in the case of _POSIX_SOURCE, which is predefined and required 7751 # on some systems where configure will not decide to define it. 7752 if (defundef == "undef") { 7753 print "/*", prefix defundef, macro, "*/" 7754 next 7755 } 7756 } 7757 } 7758 { print } 7759 _ACAWK 7760 _ACEOF 7761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7762 as_fn_error "could not setup config headers machinery" "$LINENO" 5 7763 fi # test -n "$CONFIG_HEADERS" 7764 7765 7766 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 7767 shift 7768 for ac_tag 7769 do 7770 case $ac_tag in 7771 :[FHLC]) ac_mode=$ac_tag; continue;; 7772 esac 7773 case $ac_mode$ac_tag in 7774 :[FHL]*:*);; 7775 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 7776 :[FH]-) ac_tag=-:-;; 7777 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7778 esac 7779 ac_save_IFS=$IFS 7780 IFS=: 7781 set x $ac_tag 7782 IFS=$ac_save_IFS 7783 shift 7784 ac_file=$1 7785 shift 7786 7787 case $ac_mode in 7788 :L) ac_source=$1;; 7789 :[FH]) 7790 ac_file_inputs= 7791 for ac_f 7792 do 7793 case $ac_f in 7794 -) ac_f="$tmp/stdin";; 7795 *) # Look for the file first in the build tree, then in the source tree 7796 # (if the path is not absolute). The absolute path cannot be DOS-style, 7797 # because $ac_f cannot contain `:'. 7798 test -f "$ac_f" || 7799 case $ac_f in 7800 [\\/$]*) false;; 7801 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7802 esac || 7803 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7804 esac 7805 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7806 as_fn_append ac_file_inputs " '$ac_f'" 7807 done 7808 7809 # Let's still pretend it is `configure' which instantiates (i.e., don't 7810 # use $as_me), people would be surprised to read: 7811 # /* config.h. Generated by config.status. */ 7812 configure_input='Generated from '` 7813 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7814 `' by configure.' 7815 if test x"$ac_file" != x-; then 7816 configure_input="$ac_file. $configure_input" 7817 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7818 $as_echo "$as_me: creating $ac_file" >&6;} 7819 fi 7820 # Neutralize special characters interpreted by sed in replacement strings. 7821 case $configure_input in #( 7822 *\&* | *\|* | *\\* ) 7823 ac_sed_conf_input=`$as_echo "$configure_input" | 7824 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7825 *) ac_sed_conf_input=$configure_input;; 7826 esac 7827 7828 case $ac_tag in 7829 *:-:* | *:-) cat >"$tmp/stdin" \ 7830 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 7831 esac 7832 ;; 7833 esac 7834 7835 ac_dir=`$as_dirname -- "$ac_file" || 7836 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7837 X"$ac_file" : 'X\(//\)[^/]' \| \ 7838 X"$ac_file" : 'X\(//\)$' \| \ 7839 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7840 $as_echo X"$ac_file" | 7841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7842 s//\1/ 7843 q 7844 } 7845 /^X\(\/\/\)[^/].*/{ 7846 s//\1/ 7847 q 7848 } 7849 /^X\(\/\/\)$/{ 7850 s//\1/ 7851 q 7852 } 7853 /^X\(\/\).*/{ 7854 s//\1/ 7855 q 7856 } 7857 s/.*/./; q'` 7858 as_dir="$ac_dir"; as_fn_mkdir_p 14005 7859 ac_builddir=. 14006 7860 … … 14008 7862 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14009 7863 *) 14010 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`7864 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14011 7865 # A ".." for each directory in $ac_dir_suffix. 14012 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`7866 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14013 7867 case $ac_top_builddir_sub in 14014 7868 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 14046 7900 _ACEOF 14047 7901 14048 cat >>$CONFIG_STATUS <<\_ACEOF 7902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14049 7903 # If the template does not know about datarootdir, expand it. 14050 7904 # FIXME: This hack should be removed a few years after 2.60. 14051 7905 ac_datarootdir_hack=; ac_datarootdir_seen= 14052 14053 case `sed -n '/datarootdir/ {7906 ac_sed_dataroot=' 7907 /datarootdir/ { 14054 7908 p 14055 7909 q … … 14059 7913 /@infodir@/p 14060 7914 /@localedir@/p 14061 /@mandir@/p 14062 ' $ac_file_inputs` in7915 /@mandir@/p' 7916 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14063 7917 *datarootdir*) ac_datarootdir_seen=yes;; 14064 7918 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14065 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&514066 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}14067 _ACEOF 14068 cat >>$CONFIG_STATUS <<_ACEOF 7919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7920 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7921 _ACEOF 7922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14069 7923 ac_datarootdir_hack=' 14070 7924 s&@datadir@&$datadir&g … … 14073 7927 s&@localedir@&$localedir&g 14074 7928 s&@mandir@&$mandir&g 14075 7929 s&\\\${datarootdir}&$datarootdir&g' ;; 14076 7930 esac 14077 7931 _ACEOF … … 14080 7934 # Shell code in configure.ac might set extrasub. 14081 7935 # FIXME: do we really want to maintain this feature? 14082 cat >>$CONFIG_STATUS <<_ACEOF 14083 sed"$ac_vpsub7936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7937 ac_sed_extra="$ac_vpsub 14084 7938 $extrasub 14085 7939 _ACEOF 14086 cat >>$CONFIG_STATUS <<\_ACEOF 7940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14087 7941 :t 14088 7942 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14089 s &@configure_input@&$configure_input&;t t7943 s|@configure_input@|$ac_sed_conf_input|;t t 14090 7944 s&@top_builddir@&$ac_top_builddir_sub&;t t 7945 s&@top_build_prefix@&$ac_top_build_prefix&;t t 14091 7946 s&@srcdir@&$ac_srcdir&;t t 14092 7947 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 14097 7952 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14098 7953 $ac_datarootdir_hack 14099 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 7954 " 7955 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 7956 || as_fn_error "could not create $ac_file" "$LINENO" 5 14100 7957 14101 7958 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14102 7959 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 14103 7960 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 14104 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'7961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14105 7962 which seems to be undefined. Please make sure it is defined." >&5 14106 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'7963 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14107 7964 which seems to be undefined. Please make sure it is defined." >&2;} 14108 7965 14109 7966 rm -f "$tmp/stdin" 14110 7967 case $ac_file in 14111 -) cat "$tmp/out"; rm -f "$tmp/out";; 14112 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 14113 esac 7968 -) cat "$tmp/out" && rm -f "$tmp/out";; 7969 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 7970 esac \ 7971 || as_fn_error "could not create $ac_file" "$LINENO" 5 14114 7972 ;; 14115 7973 :H) … … 14117 7975 # CONFIG_HEADER 14118 7976 # 14119 _ACEOF14120 14121 # Transform confdefs.h into a sed script `conftest.defines', that14122 # substitutes the proper values into config.h.in to produce config.h.14123 rm -f conftest.defines conftest.tail14124 # First, append a space to every undef/define line, to ease matching.14125 echo 's/$/ /' >conftest.defines14126 # Then, protect against being on the right side of a sed subst, or in14127 # an unquoted here document, in config.status. If some macros were14128 # called several times there might be several #defines for the same14129 # symbol, which is useless. But do not sort them, since the last14130 # 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", where14133 # 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's14135 # 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 rset14144 :rset14145 s/^[ ]*#[ ]*define[ ][ ]*//14146 t ok14147 d14148 :ok14149 s/[\\&,]/\\&/g14150 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p14151 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p14152 ' >>conftest.defines14153 14154 # Remove the space that was appended to ease matching.14155 # Then replace #undef with comments. This is necessary, for14156 # example, in the case of _POSIX_SOURCE, which is predefined and required14157 # 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.defines14161 14162 # Break up conftest.defines:14163 ac_max_sed_lines=5014164 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 do14175 # Write a here document:14176 cat >>$CONFIG_STATUS <<_ACEOF14177 # First, check the format of the line:14178 cat >"\$tmp/defines.sed" <<\\CEOF14179 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def14180 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def14181 b14182 :def14183 _ACEOF14184 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS14185 echo 'CEOF14186 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS14187 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in14188 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail14189 grep . conftest.tail >/dev/null || break14190 rm -f conftest.defines14191 mv conftest.tail conftest.defines14192 done14193 rm -f conftest.defines conftest.tail14194 14195 echo "ac_result=$ac_in" >>$CONFIG_STATUS14196 cat >>$CONFIG_STATUS <<\_ACEOF14197 7977 if test x"$ac_file" != x-; then 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;} 7978 { 7979 $as_echo "/* $configure_input */" \ 7980 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 7981 } >"$tmp/config.h" \ 7982 || as_fn_error "could not create $ac_file" "$LINENO" 5 7983 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 7984 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7985 $as_echo "$as_me: $ac_file is unchanged" >&6;} 14203 7986 else 14204 rm -f $ac_file 14205 mv "$tmp/config.h" $ac_file 7987 rm -f "$ac_file" 7988 mv "$tmp/config.h" "$ac_file" \ 7989 || as_fn_error "could not create $ac_file" "$LINENO" 5 14206 7990 fi 14207 7991 else 14208 echo "/* $configure_input */" 14209 cat "$ac_result" 7992 $as_echo "/* $configure_input */" \ 7993 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 7994 || as_fn_error "could not create -" "$LINENO" 5 14210 7995 fi 14211 rm -f "$tmp/out12"14212 7996 ;; 14213 7997 … … 14218 8002 14219 8003 14220 { (exit 0); exit 0; } 14221 _ACEOF 14222 chmod +x $CONFIG_STATUS 8004 as_fn_exit 0 8005 _ACEOF 14223 8006 ac_clean_files=$ac_clean_files_save 8007 8008 test $ac_write_fail = 0 || 8009 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 14224 8010 14225 8011 … … 14242 8028 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14243 8029 # would make configure fail if this is the last instruction. 14244 $ac_cs_success || { (exit 1); exit 1; } 14245 fi 14246 14247 14248 14249 { echo "$as_me:$LINENO: result: 8030 $ac_cs_success || as_fn_exit $? 8031 fi 8032 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8034 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8035 fi 8036 8037 8038 8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 14250 8040 14251 8041 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. … … 14257 8047 The next step now is to run 'make dep' and 'make'. 14258 8048 " >&5 14259 echo "${ECHO_T} 8049 $as_echo " 14260 8050 14261 8051 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. -
pjproject/branches/projects/2.0-dev/aconfigure.ac
r3499 r3517 919 919 920 920 IPP_CFLAGS="-I$IPPROOT/include" 921 IPP_LIBS="-lippsc${IPP_SUFFIX} -lipps${IPP_SUFFIX} -lippsr${IPP_SUFFIX} -lippcore${IPP_SUFFIX}" 922 921 IPP_LIBS="-lippsc${IPP_SUFFIX} -lipps${IPP_SUFFIX} -lippcore${IPP_SUFFIX}" 922 923 # 923 924 # Some differences between Mac OS X and Linux 924 925 case $target in … … 927 928 ;; 928 929 *) 929 IPP_LDFLAGS="-L$IPPROOT/sharedlib" 930 IPP_LIBS="$IPP_LIBS -lguide" 930 # Find out where the libraries live. 931 IPP7_ARCH="" 932 if test -d $IPPROOT/lib/intel64; then 933 IPP7_ARCH="intel64" 934 elif test -d $IPPROOT/lib/ia32; then 935 IPP7_ARCH="ia32" 936 elif test -d $IPPROOT/lib/mic; then 937 IPP7_ARCH="mic" 938 fi 939 940 if test -z "$IPP7_ARCH"; then 941 # IPP6 (and possibly below) 942 IPP_LDFLAGS="-L$IPPROOT/sharedlib" 943 IPP_LIBS="$IPP_LIBS -lippsr${IPP_SUFFIX} -lguide" 944 else 945 # IPP7 946 if ! test -d $IPPROOT/../compiler; then 947 AC_MSG_ERROR([Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly]) 948 fi 949 IPP_CFLAGS="$IPP_CFLAGS" 950 IPP_LDFLAGS="-L$IPPROOT/lib/intel64 -L$IPPROOT/../compiler/lib/$IPP7_ARCH" 951 IPP_LIBS="$IPP_LIBS -liomp5" 952 fi 931 953 ;; 932 954 esac -
pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-codec/ipp_codecs.c
r3288 r3517 1619 1619 # pragma comment( lib, "ipps.lib") 1620 1620 # pragma comment( lib, "ippsc.lib") 1621 # pragma comment( lib, "ippsr.lib") 1621 # if defined(IPP_VERSION_MAJOR) && IPP_VERSION_MAJOR<=6 1622 # pragma comment( lib, "ippsr.lib") 1623 # endif 1622 1624 //# pragma comment( lib, "ippcorel.lib") 1623 1625 //# pragma comment( lib, "ippsemerged.lib")
Note: See TracChangeset
for help on using the changeset viewer.