- Timestamp:
- Aug 9, 2011 4:31:41 AM (13 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r3672 r3691 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.65 for pjproject 1.x. 4 # 3 # Generated by GNU Autoconf 2.61 for pjproject 1.x. 5 4 # 6 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 8 # Inc. 9 # 10 # 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 11 7 # This configure script is free software; the Free Software Foundation 12 8 # gives unlimited permission to copy, distribute and modify it. 13 ## -------------------- ##14 ## M4sh Initialization. ##15 ## -------------------- ##9 ## --------------------- ## 10 ## M4sh Initialization. ## 11 ## --------------------- ## 16 12 17 13 # Be more Bourne compatible 18 14 DUALCASE=1; export DUALCASE # for MKS sh 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 20 16 emulate sh 21 17 NULLCMD=: 22 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 23 19 # is contrary to our usage. Disable this feature. 24 20 alias -g '${1+"$@"}'='"$@"' 25 21 setopt NO_GLOB_SUBST 26 22 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 33 # Avoid depending upon Character Ranges. 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37 as_cr_digits='0123456789' 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 73 39 74 40 # The user is always right. 75 41 if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 42 echo "#! /bin/sh" >conf$$.sh 43 echo "exit 0" >>conf$$.sh 44 chmod +x conf$$.sh 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46 PATH_SEPARATOR=';' 47 else 48 PATH_SEPARATOR=: 49 fi 50 rm -f conf$$.sh 51 fi 52 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 81 58 fi 82 59 … … 87 64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 65 # splitting by setting IFS to empty value.) 66 as_nl=' 67 ' 89 68 IFS=" "" $as_nl" 90 69 91 70 # Find who we are. Look in the path if we contain no directory separator. 92 case $0 in #((71 case $0 in 93 72 *[\\/]* ) as_myself=$0 ;; 94 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 97 76 IFS=$as_save_IFS 98 77 test -z "$as_dir" && as_dir=. 99 100 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 79 done 101 80 IFS=$as_save_IFS 102 81 … … 109 88 fi 110 89 if test ! -f "$as_myself"; then 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113 fi 114 115 # Unset variables that we do not need and which cause bugs (e.g. in 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117 # suppresses any "Segmentation fault" message there. '((' could 118 # trigger a bug in pdksh 5.2.14. 119 for as_var in BASH_ENV ENV MAIL MAILPATH 120 do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 122 97 done 123 98 PS1='$ ' … … 126 101 127 102 # NLS nuisances. 128 LC_ALL=C 129 export LC_ALL 130 LANGUAGE=C 131 export LANGUAGE 132 133 # CDPATH. 134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 139 NULLCMD=: 140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141 # is contrary to our usage. Disable this feature. 142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 143 setopt NO_GLOB_SUBST 144 else 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150 esac 151 fi 152 " 153 as_required="as_fn_return () { (exit \$1); } 154 as_fn_success () { as_fn_return 0; } 155 as_fn_failure () { as_fn_return 1; } 156 as_fn_ret_success () { return 0; } 157 as_fn_ret_failure () { return 1; } 158 159 exitcode=0 160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165 166 else 167 exitcode=1; echo positional parameters were not saved. 168 fi 169 test x\$exitcode = x0 || exit 1" 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174 test \$(( 1 + 1 )) = 2 || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177 else 178 as_have_required=no 179 fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182 else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184 as_found=false 185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 186 107 do 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200 fi 201 fi 202 done;; 203 esac 204 as_found=false 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 112 fi 205 113 done 206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209 fi; } 210 IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222 fi 223 224 if test x$as_have_required = xno; then : 225 $as_echo "$0: This script requires a shell more modern than all" 226 $as_echo "$0: the shells that I found on your system." 227 if test x${ZSH_VERSION+set} = xset ; then 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 230 else 231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 232 $0: including any error possibly output before this 233 $0: message. Then install a modern shell, or manually run 234 $0: the script under such a shell if you do have one." 235 fi 236 exit 1 237 fi 238 fi 239 fi 240 SHELL=${CONFIG_SHELL-/bin/sh} 241 export SHELL 242 # Unset more variables known to interfere with behavior of common tools. 243 CLICOLOR_FORCE= GREP_OPTIONS= 244 unset CLICOLOR_FORCE GREP_OPTIONS 245 246 ## --------------------- ## 247 ## M4sh Shell Functions. ## 248 ## --------------------- ## 249 # as_fn_unset VAR 250 # --------------- 251 # Portably unset VAR. 252 as_fn_unset () 253 { 254 { eval $1=; unset $1;} 255 } 256 as_unset=as_fn_unset 257 258 # as_fn_set_status STATUS 259 # ----------------------- 260 # Set $? to STATUS, without forking. 261 as_fn_set_status () 262 { 263 return $1 264 } # as_fn_set_status 265 266 # as_fn_exit STATUS 267 # ----------------- 268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 269 as_fn_exit () 270 { 271 set +e 272 as_fn_set_status $1 273 exit $1 274 } # as_fn_exit 275 276 # as_fn_mkdir_p 277 # ------------- 278 # Create "$as_dir" as a directory, including parents if necessary. 279 as_fn_mkdir_p () 280 { 281 282 case $as_dir in #( 283 -*) as_dir=./$as_dir;; 284 esac 285 test -d "$as_dir" || eval $as_mkdir_p || { 286 as_dirs= 287 while :; do 288 case $as_dir in #( 289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 290 *) as_qdir=$as_dir;; 291 esac 292 as_dirs="'$as_qdir' $as_dirs" 293 as_dir=`$as_dirname -- "$as_dir" || 294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 295 X"$as_dir" : 'X\(//\)[^/]' \| \ 296 X"$as_dir" : 'X\(//\)$' \| \ 297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 298 $as_echo X"$as_dir" | 299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 300 s//\1/ 301 q 302 } 303 /^X\(\/\/\)[^/].*/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\).*/{ 312 s//\1/ 313 q 314 } 315 s/.*/./; q'` 316 test -d "$as_dir" && break 317 done 318 test -z "$as_dirs" || eval "mkdir $as_dirs" 319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 320 321 322 } # as_fn_mkdir_p 323 # as_fn_append VAR VALUE 324 # ---------------------- 325 # Append the text in VALUE to the end of the definition contained in VAR. Take 326 # advantage of any shell optimizations that allow amortized linear growth over 327 # repeated appends, instead of the typical quadratic growth present in naive 328 # implementations. 329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 330 eval 'as_fn_append () 331 { 332 eval $1+=\$2 333 }' 334 else 335 as_fn_append () 336 { 337 eval $1=\$$1\$2 338 } 339 fi # as_fn_append 340 341 # as_fn_arith ARG... 342 # ------------------ 343 # Perform arithmetic evaluation on the ARGs, and store the result in the 344 # global $as_val. Take advantage of shells that can avoid forks. The arguments 345 # must be portable across $(()) and expr. 346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 347 eval 'as_fn_arith () 348 { 349 as_val=$(( $* )) 350 }' 351 else 352 as_fn_arith () 353 { 354 as_val=`expr "$@" || test $? -eq 1` 355 } 356 fi # as_fn_arith 357 358 359 # as_fn_error ERROR [LINENO LOG_FD] 360 # --------------------------------- 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363 # script with status $?, using 1 if that was 0. 364 as_fn_error () 365 { 366 as_status=$?; test $as_status -eq 0 && as_status=1 367 if test "$3"; then 368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 370 fi 371 $as_echo "$as_me: error: $1" >&2 372 as_fn_exit $as_status 373 } # as_fn_error 374 114 115 # Required to use basename. 375 116 if expr a : '\(a\)' >/dev/null 2>&1 && 376 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 386 127 fi 387 128 388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 389 as_dirname=dirname 390 else 391 as_dirname=false 392 fi 393 129 130 # Name of the executable. 394 131 as_me=`$as_basename -- "$0" || 395 132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 396 133 X"$0" : 'X\(//\)$' \| \ 397 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 398 $as_echo X/"$0" |135 echo X/"$0" | 399 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 400 137 s//\1/ … … 411 148 s/.*/./; q'` 412 149 413 # Avoid depending upon Character Ranges. 414 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 417 as_cr_digits='0123456789' 418 as_cr_alnum=$as_cr_Letters$as_cr_digits 419 420 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223 do 224 IFS=$as_save_IFS 225 test -z "$as_dir" && as_dir=. 226 case $as_dir in 227 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 328 as_lineno_1=$LINENO 329 as_lineno_2=$LINENO 330 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 426 438 sed -n ' 427 439 p … … 440 452 ' >$as_me.lineno && 441 453 chmod +x "$as_me.lineno" || 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 { (exit 1); exit 1; }; } 443 456 444 457 # Don't try to exec as it changes $[0], causing all sort of problems … … 450 463 } 451 464 465 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468 else 469 as_dirname=false 470 fi 471 452 472 ECHO_C= ECHO_N= ECHO_T= 453 case `echo -n x` in #(((((473 case `echo -n x` in 454 474 -n*) 455 case `echo 'x y\c'` in475 case `echo 'x\c'` in 456 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 457 xy) ECHO_C='\c';; 458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459 ECHO_T=' ';; 477 *) ECHO_C='\c';; 460 478 esac;; 461 479 *) … … 463 481 esac 464 482 483 if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 485 as_expr=expr 486 else 487 as_expr=false 488 fi 489 465 490 rm -f conf$$ conf$$.exe conf$$.file 466 491 if test -d conf$$.dir; then … … 468 493 else 469 494 rm -f conf$$.dir 470 mkdir conf$$.dir 2>/dev/null 471 fi 472 if (echo >conf$$.file) 2>/dev/null; then 473 if ln -s conf$$.file conf$$ 2>/dev/null; then 474 as_ln_s='ln -s' 475 # ... but there are two gotchas: 476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 478 # In both cases, we have to default to `cp -p'. 479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 480 as_ln_s='cp -p' 481 elif ln conf$$.file conf$$ 2>/dev/null; then 482 as_ln_s=ln 483 else 495 mkdir conf$$.dir 496 fi 497 echo >conf$$.file 498 if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 484 505 as_ln_s='cp -p' 485 fi 506 elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 486 508 else 487 509 as_ln_s='cp -p' … … 491 513 492 514 if mkdir -p . 2>/dev/null; then 493 as_mkdir_p= 'mkdir -p "$as_dir"'515 as_mkdir_p=: 494 516 else 495 517 test -d ./-p && rmdir ./-p … … 508 530 eval sh -c '\'' 509 531 if test -d "$1"; then 510 532 test -d "$1/."; 511 533 else 512 case $1 in #(513 534 case $1 in 535 -*)set "./$1";; 514 536 esac; 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 516 538 ???[sx]*):;;*)false;;esac;fi 517 539 '\'' sh … … 527 549 528 550 529 test -n "$DJDIR" || exec 7<&0 </dev/null 530 exec 6>&1551 552 exec 7<&0 </dev/null 6>&1 531 553 532 554 # Name of the host. … … 546 568 MFLAGS= 547 569 MAKEFLAGS= 570 SHELL=${CONFIG_SHELL-/bin/sh} 548 571 549 572 # Identity of this package. … … 553 576 PACKAGE_STRING='pjproject 1.x' 554 577 PACKAGE_BUGREPORT='' 555 PACKAGE_URL=''556 578 557 579 # Factoring default headers for most tests. … … 591 613 #endif" 592 614 593 ac_subst_vars='LTLIBOBJS 615 ac_subst_vars='SHELL 616 PATH_SEPARATOR 617 PACKAGE_NAME 618 PACKAGE_TARNAME 619 PACKAGE_VERSION 620 PACKAGE_STRING 621 PACKAGE_BUGREPORT 622 exec_prefix 623 prefix 624 program_transform_name 625 bindir 626 sbindir 627 libexecdir 628 datarootdir 629 datadir 630 sysconfdir 631 sharedstatedir 632 localstatedir 633 includedir 634 oldincludedir 635 docdir 636 infodir 637 htmldir 638 dvidir 639 pdfdir 640 psdir 641 libdir 642 localedir 643 mandir 644 DEFS 645 ECHO_C 646 ECHO_N 647 ECHO_T 648 LIBS 649 build_alias 650 host_alias 651 target_alias 652 build 653 build_cpu 654 build_vendor 655 build_os 656 host 657 host_cpu 658 host_vendor 659 host_os 660 target 661 target_cpu 662 target_vendor 663 target_os 664 CC 665 CFLAGS 666 LDFLAGS 667 CPPFLAGS 668 ac_ct_CC 669 EXEEXT 670 OBJEXT 671 CXX 672 CXXFLAGS 673 ac_ct_CXX 674 AR 675 LD 676 LDOUT 677 RANLIB 678 LIBEXT 679 LIBEXT2 680 CC_OUT 681 CC_INC 682 CC_DEF 683 CC_OPTIMIZE 684 CC_CFLAGS 685 ac_pjdir 686 ac_build_mak_vars 687 CPP 688 GREP 689 EGREP 690 ac_os_objs 691 ac_external_speex 692 ac_external_gsm 693 ac_pjmedia_snd 694 ac_external_pa 695 ac_pa_cflags 696 ac_pa_use_alsa 697 ac_pa_use_oss 698 ac_pjmedia_video 699 ac_ios_cflags 700 ac_pjmedia_video_has_qt 701 ac_qt_cflags 702 ac_no_small_filter 703 ac_no_large_filter 704 ac_no_speex_aec 705 ac_no_g711_codec 706 ac_no_l16_codec 707 ac_no_gsm_codec 708 ac_no_g722_codec 709 ac_no_g7221_codec 710 ac_no_speex_codec 711 ac_no_ilbc_codec 712 ac_sdl_cflags 713 ac_sdl_ldflags 714 ac_has_ffmpeg 715 ac_ffmpeg_cflags 716 ac_ffmpeg_ldflags 717 ac_v4l2_cflags 718 ac_v4l2_ldflags 719 ac_no_ssl 720 openssl_h_present 721 libssl_present 722 libcrypto_present 723 ac_cross_compile 724 ac_linux_poll 725 ac_host 726 ac_main_obj 594 727 LIBOBJS 595 ac_main_obj 596 ac_host 597 ac_linux_poll 598 ac_cross_compile 599 libcrypto_present 600 libssl_present 601 openssl_h_present 602 ac_no_ssl 603 ac_v4l2_ldflags 604 ac_v4l2_cflags 605 ac_ffmpeg_ldflags 606 ac_ffmpeg_cflags 607 ac_has_ffmpeg 608 ac_sdl_ldflags 609 ac_sdl_cflags 610 ac_no_ilbc_codec 611 ac_no_speex_codec 612 ac_no_g7221_codec 613 ac_no_g722_codec 614 ac_no_gsm_codec 615 ac_no_l16_codec 616 ac_no_g711_codec 617 ac_no_speex_aec 618 ac_no_large_filter 619 ac_no_small_filter 620 ac_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 706 PATH_SEPARATOR 707 SHELL' 728 LTLIBOBJS' 708 729 ac_subst_files='' 709 ac_user_opts='710 enable_option_checking711 enable_floating_point712 enable_epoll713 with_external_speex714 with_external_gsm715 enable_sound716 with_external_pa717 enable_oss718 enable_ext_sound719 enable_small_filter720 enable_large_filter721 enable_speex_aec722 enable_g711_codec723 enable_l16_codec724 enable_gsm_codec725 enable_g722_codec726 enable_g7221_codec727 enable_speex_codec728 enable_ilbc_codec729 enable_libsamplerate730 with_sdl731 enable_sdl732 enable_ffmpeg733 with_ffmpeg734 enable_v4l2735 enable_ipp736 with_ipp737 with_ipp_samples738 with_ipp_arch739 enable_ssl740 '741 730 ac_precious_vars='build_alias 742 731 host_alias … … 756 745 ac_init_help= 757 746 ac_init_version=false 758 ac_unrecognized_opts=759 ac_unrecognized_sep=760 747 # The variables have the same names as the options, with 761 748 # dashes changed to underlines. … … 856 843 857 844 -disable-* | --disable-*) 858 ac_ useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`845 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 859 846 # Reject names that are not valid shell variable names. 860 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 861 as_fn_error "invalid feature name: $ac_useropt" 862 ac_useropt_orig=$ac_useropt 863 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 864 case $ac_user_opts in 865 *" 866 "enable_$ac_useropt" 867 "*) ;; 868 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 869 ac_unrecognized_sep=', ';; 870 esac 871 eval enable_$ac_useropt=no ;; 847 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 848 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 849 { (exit 1); exit 1; }; } 850 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 851 eval enable_$ac_feature=no ;; 872 852 873 853 -docdir | --docdir | --docdi | --doc | --do) … … 882 862 883 863 -enable-* | --enable-*) 884 ac_ useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`864 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 885 865 # Reject names that are not valid shell variable names. 886 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 887 as_fn_error "invalid feature name: $ac_useropt" 888 ac_useropt_orig=$ac_useropt 889 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 890 case $ac_user_opts in 891 *" 892 "enable_$ac_useropt" 893 "*) ;; 894 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 895 ac_unrecognized_sep=', ';; 896 esac 897 eval enable_$ac_useropt=\$ac_optarg ;; 866 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 867 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 868 { (exit 1); exit 1; }; } 869 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 870 eval enable_$ac_feature=\$ac_optarg ;; 898 871 899 872 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1086 1059 1087 1060 -with-* | --with-*) 1088 ac_ useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1061 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1089 1062 # Reject names that are not valid shell variable names. 1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1091 as_fn_error "invalid package name: $ac_useropt" 1092 ac_useropt_orig=$ac_useropt 1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1094 case $ac_user_opts in 1095 *" 1096 "with_$ac_useropt" 1097 "*) ;; 1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1099 ac_unrecognized_sep=', ';; 1100 esac 1101 eval with_$ac_useropt=\$ac_optarg ;; 1063 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1064 { echo "$as_me: error: invalid package name: $ac_package" >&2 1065 { (exit 1); exit 1; }; } 1066 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1067 eval with_$ac_package=\$ac_optarg ;; 1102 1068 1103 1069 -without-* | --without-*) 1104 ac_ useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`1070 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1105 1071 # Reject names that are not valid shell variable names. 1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1107 as_fn_error "invalid package name: $ac_useropt" 1108 ac_useropt_orig=$ac_useropt 1109 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1110 case $ac_user_opts in 1111 *" 1112 "with_$ac_useropt" 1113 "*) ;; 1114 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1115 ac_unrecognized_sep=', ';; 1116 esac 1117 eval with_$ac_useropt=no ;; 1072 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1073 { echo "$as_me: error: invalid package name: $ac_package" >&2 1074 { (exit 1); exit 1; }; } 1075 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1076 eval with_$ac_package=no ;; 1118 1077 1119 1078 --x) … … 1135 1094 x_libraries=$ac_optarg ;; 1136 1095 1137 -*) as_fn_error "unrecognized option: \`$ac_option' 1138 Try \`$0 --help' for more information." 1096 -*) { echo "$as_me: error: unrecognized option: $ac_option 1097 Try \`$0 --help' for more information." >&2 1098 { (exit 1); exit 1; }; } 1139 1099 ;; 1140 1100 … … 1142 1102 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1143 1103 # Reject names that are not valid shell variable names. 1144 case $ac_envvar in #( 1145 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1146 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1147 esac 1104 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1105 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1106 { (exit 1); exit 1; }; } 1148 1107 eval $ac_envvar=\$ac_optarg 1149 1108 export $ac_envvar ;; … … 1151 1110 *) 1152 1111 # FIXME: should be removed in autoconf 3.0. 1153 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&21112 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1154 1113 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1155 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&21114 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1156 1115 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1157 1116 ;; … … 1162 1121 if test -n "$ac_prev"; then 1163 1122 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1164 as_fn_error "missing argument to $ac_option" 1165 fi 1166 1167 if test -n "$ac_unrecognized_opts"; then 1168 case $enable_option_checking in 1169 no) ;; 1170 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1171 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1172 esac 1173 fi 1174 1175 # Check all directory arguments for consistency. 1123 { echo "$as_me: error: missing argument to $ac_option" >&2 1124 { (exit 1); exit 1; }; } 1125 fi 1126 1127 # Be sure to have absolute directory names. 1176 1128 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1177 1129 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1180 1132 do 1181 1133 eval ac_val=\$$ac_var 1182 # Remove trailing slashes.1183 case $ac_val in1184 */ )1185 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`1186 eval $ac_var=\$ac_val;;1187 esac1188 # Be sure to have absolute directory names.1189 1134 case $ac_val in 1190 1135 [\\/$]* | ?:[\\/]* ) continue;; 1191 1136 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1192 1137 esac 1193 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1138 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1139 { (exit 1); exit 1; }; } 1194 1140 done 1195 1141 … … 1205 1151 if test "x$build_alias" = x; then 1206 1152 cross_compiling=maybe 1207 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1153 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1208 1154 If a cross compiler is detected then cross compile mode will be used." >&2 1209 1155 elif test "x$build_alias" != "x$host_alias"; then … … 1221 1167 ac_ls_di=`ls -di .` && 1222 1168 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1223 as_fn_error "working directory cannot be determined" 1169 { echo "$as_me: error: Working directory cannot be determined" >&2 1170 { (exit 1); exit 1; }; } 1224 1171 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1225 as_fn_error "pwd does not report name of working directory" 1172 { echo "$as_me: error: pwd does not report name of working directory" >&2 1173 { (exit 1); exit 1; }; } 1226 1174 1227 1175 … … 1230 1178 ac_srcdir_defaulted=yes 1231 1179 # Try the directory containing this script, then the parent directory. 1232 ac_confdir=`$as_dirname -- "$ as_myself" ||1233 $as_expr X"$ as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1234 X"$ as_myself" : 'X\(//\)[^/]' \| \1235 X"$ as_myself" : 'X\(//\)$' \| \1236 X"$ as_myself" : 'X\(/\)' \| . 2>/dev/null ||1237 $as_echo X"$as_myself" |1180 ac_confdir=`$as_dirname -- "$0" || 1181 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1182 X"$0" : 'X\(//\)[^/]' \| \ 1183 X"$0" : 'X\(//\)$' \| \ 1184 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1185 echo X"$0" | 1238 1186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1239 1187 s//\1/ … … 1262 1210 if test ! -r "$srcdir/$ac_unique_file"; then 1263 1211 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1264 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1212 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1213 { (exit 1); exit 1; }; } 1265 1214 fi 1266 1215 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1267 1216 ac_abs_confdir=`( 1268 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1217 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1218 { (exit 1); exit 1; }; } 1269 1219 pwd)` 1270 1220 # When building in place, set srcdir=. … … 1314 1264 Installation directories: 1315 1265 --prefix=PREFIX install architecture-independent files in PREFIX 1316 1266 [$ac_default_prefix] 1317 1267 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1318 1268 [PREFIX] 1319 1269 1320 1270 By default, \`make install' will install all the files in … … 1326 1276 1327 1277 Fine tuning of the installation directories: 1328 --bindir=DIR 1329 --sbindir=DIR 1330 --libexecdir=DIR 1331 --sysconfdir=DIR 1332 --sharedstatedir=DIR 1333 --localstatedir=DIR 1334 --libdir=DIR 1335 --includedir=DIR 1336 --oldincludedir=DIR 1337 --datarootdir=DIR 1338 --datadir=DIR 1339 --infodir=DIR 1340 --localedir=DIR 1341 --mandir=DIR 1342 --docdir=DIR 1343 --htmldir=DIR 1344 --dvidir=DIR 1345 --pdfdir=DIR 1346 --psdir=DIR 1278 --bindir=DIR user executables [EPREFIX/bin] 1279 --sbindir=DIR system admin executables [EPREFIX/sbin] 1280 --libexecdir=DIR program executables [EPREFIX/libexec] 1281 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1282 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1283 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1284 --libdir=DIR object code libraries [EPREFIX/lib] 1285 --includedir=DIR C header files [PREFIX/include] 1286 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1287 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1288 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1289 --infodir=DIR info documentation [DATAROOTDIR/info] 1290 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1291 --mandir=DIR man documentation [DATAROOTDIR/man] 1292 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1293 --htmldir=DIR html documentation [DOCDIR] 1294 --dvidir=DIR dvi documentation [DOCDIR] 1295 --pdfdir=DIR pdf documentation [DOCDIR] 1296 --psdir=DIR ps documentation [DOCDIR] 1347 1297 _ACEOF 1348 1298 … … 1363 1313 1364 1314 Optional Features: 1365 --disable-option-checking ignore unrecognized --enable/--with options1366 1315 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1367 1316 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1425 1374 nonstandard directory <lib dir> 1426 1375 LIBS libraries to pass to the linker, e.g. -l<library> 1427 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1376 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1428 1377 you have headers in a nonstandard directory <include dir> 1429 1378 CXX C++ compiler command … … 1434 1383 it to find libraries and programs with nonstandard names/locations. 1435 1384 1436 Report bugs to the package provider.1437 1385 _ACEOF 1438 1386 ac_status=$? … … 1442 1390 # If there are subdirs, report their specific --help. 1443 1391 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1444 test -d "$ac_dir" || 1445 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1446 continue 1392 test -d "$ac_dir" || continue 1447 1393 ac_builddir=. 1448 1394 … … 1450 1396 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1451 1397 *) 1452 ac_dir_suffix=/` $as_echo "$ac_dir" | sed 's|^\.[\\/]||'`1398 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1453 1399 # A ".." for each directory in $ac_dir_suffix. 1454 ac_top_builddir_sub=` $as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`1400 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1455 1401 case $ac_top_builddir_sub in 1456 1402 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1488 1434 $SHELL "$ac_srcdir/configure" --help=recursive 1489 1435 else 1490 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21436 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1491 1437 fi || ac_status=$? 1492 1438 cd "$ac_pwd" || { ac_status=$?; break; } … … 1498 1444 cat <<\_ACEOF 1499 1445 pjproject configure 1.x 1500 generated by GNU Autoconf 2.65 1501 1502 Copyright (C) 2009 Free Software Foundation, Inc. 1446 generated by GNU Autoconf 2.61 1447 1448 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1449 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1503 1450 This configure script is free software; the Free Software Foundation 1504 1451 gives unlimited permission to copy, distribute and modify it. … … 1506 1453 exit 1507 1454 fi 1508 1509 ## ------------------------ ##1510 ## Autoconf initialization. ##1511 ## ------------------------ ##1512 1513 # ac_fn_c_try_compile LINENO1514 # --------------------------1515 # Try to compile conftest.$ac_ext, and return whether this succeeded.1516 ac_fn_c_try_compile ()1517 {1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1519 rm -f conftest.$ac_objext1520 if { { ac_try="$ac_compile"1521 case "(($ac_try" in1522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1523 *) ac_try_echo=$ac_try;;1524 esac1525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1526 $as_echo "$ac_try_echo"; } >&51527 (eval "$ac_compile") 2>conftest.err1528 ac_status=$?1529 if test -s conftest.err; then1530 grep -v '^ *+' conftest.err >conftest.er11531 cat conftest.er1 >&51532 mv -f conftest.er1 conftest.err1533 fi1534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51535 test $ac_status = 0; } && {1536 test -z "$ac_c_werror_flag" ||1537 test ! -s conftest.err1538 } && test -s conftest.$ac_objext; then :1539 ac_retval=01540 else1541 $as_echo "$as_me: failed program was:" >&51542 sed 's/^/| /' conftest.$ac_ext >&51543 1544 ac_retval=11545 fi1546 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1547 as_fn_set_status $ac_retval1548 1549 } # ac_fn_c_try_compile1550 1551 # ac_fn_cxx_try_compile LINENO1552 # ----------------------------1553 # Try to compile conftest.$ac_ext, and return whether this succeeded.1554 ac_fn_cxx_try_compile ()1555 {1556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1557 rm -f conftest.$ac_objext1558 if { { ac_try="$ac_compile"1559 case "(($ac_try" in1560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1561 *) ac_try_echo=$ac_try;;1562 esac1563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1564 $as_echo "$ac_try_echo"; } >&51565 (eval "$ac_compile") 2>conftest.err1566 ac_status=$?1567 if test -s conftest.err; then1568 grep -v '^ *+' conftest.err >conftest.er11569 cat conftest.er1 >&51570 mv -f conftest.er1 conftest.err1571 fi1572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51573 test $ac_status = 0; } && {1574 test -z "$ac_cxx_werror_flag" ||1575 test ! -s conftest.err1576 } && test -s conftest.$ac_objext; then :1577 ac_retval=01578 else1579 $as_echo "$as_me: failed program was:" >&51580 sed 's/^/| /' conftest.$ac_ext >&51581 1582 ac_retval=11583 fi1584 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1585 as_fn_set_status $ac_retval1586 1587 } # ac_fn_cxx_try_compile1588 1589 # ac_fn_c_try_link LINENO1590 # -----------------------1591 # Try to link conftest.$ac_ext, and return whether this succeeded.1592 ac_fn_c_try_link ()1593 {1594 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1595 rm -f conftest.$ac_objext conftest$ac_exeext1596 if { { ac_try="$ac_link"1597 case "(($ac_try" in1598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1599 *) ac_try_echo=$ac_try;;1600 esac1601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1602 $as_echo "$ac_try_echo"; } >&51603 (eval "$ac_link") 2>conftest.err1604 ac_status=$?1605 if test -s conftest.err; then1606 grep -v '^ *+' conftest.err >conftest.er11607 cat conftest.er1 >&51608 mv -f conftest.er1 conftest.err1609 fi1610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51611 test $ac_status = 0; } && {1612 test -z "$ac_c_werror_flag" ||1613 test ! -s conftest.err1614 } && test -s conftest$ac_exeext && {1615 test "$cross_compiling" = yes ||1616 $as_test_x conftest$ac_exeext1617 }; then :1618 ac_retval=01619 else1620 $as_echo "$as_me: failed program was:" >&51621 sed 's/^/| /' conftest.$ac_ext >&51622 1623 ac_retval=11624 fi1625 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1626 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1627 # interfere with the next link command; also delete a directory that is1628 # left behind by Apple's compiler. We do this before executing the actions.1629 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1630 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1631 as_fn_set_status $ac_retval1632 1633 } # ac_fn_c_try_link1634 1635 # ac_fn_c_try_run LINENO1636 # ----------------------1637 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1638 # that executables *can* be run.1639 ac_fn_c_try_run ()1640 {1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1642 if { { ac_try="$ac_link"1643 case "(($ac_try" in1644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1645 *) ac_try_echo=$ac_try;;1646 esac1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1648 $as_echo "$ac_try_echo"; } >&51649 (eval "$ac_link") 2>&51650 ac_status=$?1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51652 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1653 { { case "(($ac_try" in1654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1655 *) ac_try_echo=$ac_try;;1656 esac1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1658 $as_echo "$ac_try_echo"; } >&51659 (eval "$ac_try") 2>&51660 ac_status=$?1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51662 test $ac_status = 0; }; }; then :1663 ac_retval=01664 else1665 $as_echo "$as_me: program exited with status $ac_status" >&51666 $as_echo "$as_me: failed program was:" >&51667 sed 's/^/| /' conftest.$ac_ext >&51668 1669 ac_retval=$ac_status1670 fi1671 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1672 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1673 as_fn_set_status $ac_retval1674 1675 } # ac_fn_c_try_run1676 1677 # ac_fn_c_try_cpp LINENO1678 # ----------------------1679 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1680 ac_fn_c_try_cpp ()1681 {1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1683 if { { ac_try="$ac_cpp conftest.$ac_ext"1684 case "(($ac_try" in1685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1686 *) ac_try_echo=$ac_try;;1687 esac1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1689 $as_echo "$ac_try_echo"; } >&51690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1691 ac_status=$?1692 if test -s conftest.err; then1693 grep -v '^ *+' conftest.err >conftest.er11694 cat conftest.er1 >&51695 mv -f conftest.er1 conftest.err1696 fi1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51698 test $ac_status = 0; } >/dev/null && {1699 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1700 test ! -s conftest.err1701 }; then :1702 ac_retval=01703 else1704 $as_echo "$as_me: failed program was:" >&51705 sed 's/^/| /' conftest.$ac_ext >&51706 1707 ac_retval=11708 fi1709 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1710 as_fn_set_status $ac_retval1711 1712 } # ac_fn_c_try_cpp1713 1714 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1715 # -------------------------------------------------------1716 # Tests whether HEADER exists and can be compiled using the include files in1717 # INCLUDES, setting the cache variable VAR accordingly.1718 ac_fn_c_check_header_compile ()1719 {1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51722 $as_echo_n "checking for $2... " >&6; }1723 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1724 $as_echo_n "(cached) " >&61725 else1726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1727 /* end confdefs.h. */1728 $41729 #include <$2>1730 _ACEOF1731 if ac_fn_c_try_compile "$LINENO"; then :1732 eval "$3=yes"1733 else1734 eval "$3=no"1735 fi1736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1737 fi1738 eval ac_res=\$$31739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51740 $as_echo "$ac_res" >&6; }1741 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1742 1743 } # ac_fn_c_check_header_compile1744 1745 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES1746 # -------------------------------------------------------1747 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1748 # the include files in INCLUDES and setting the cache variable VAR1749 # accordingly.1750 ac_fn_c_check_header_mongrel ()1751 {1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1753 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51755 $as_echo_n "checking for $2... " >&6; }1756 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1757 $as_echo_n "(cached) " >&61758 fi1759 eval ac_res=\$$31760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51761 $as_echo "$ac_res" >&6; }1762 else1763 # Is the header compilable?1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51765 $as_echo_n "checking $2 usability... " >&6; }1766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1767 /* end confdefs.h. */1768 $41769 #include <$2>1770 _ACEOF1771 if ac_fn_c_try_compile "$LINENO"; then :1772 ac_header_compiler=yes1773 else1774 ac_header_compiler=no1775 fi1776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51778 $as_echo "$ac_header_compiler" >&6; }1779 1780 # Is the header present?1781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51782 $as_echo_n "checking $2 presence... " >&6; }1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1784 /* end confdefs.h. */1785 #include <$2>1786 _ACEOF1787 if ac_fn_c_try_cpp "$LINENO"; then :1788 ac_header_preproc=yes1789 else1790 ac_header_preproc=no1791 fi1792 rm -f conftest.err conftest.$ac_ext1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&51794 $as_echo "$ac_header_preproc" >&6; }1795 1796 # So? What about this header?1797 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((1798 yes:no: )1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&51800 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}1801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51802 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1803 ;;1804 no:yes:* )1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&51806 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}1807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&51808 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}1809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&51810 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}1811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&51812 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}1813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51814 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1815 ;;1816 esac1817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51818 $as_echo_n "checking for $2... " >&6; }1819 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1820 $as_echo_n "(cached) " >&61821 else1822 eval "$3=\$ac_header_compiler"1823 fi1824 eval ac_res=\$$31825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51826 $as_echo "$ac_res" >&6; }1827 fi1828 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1829 1830 } # ac_fn_c_check_header_mongrel1831 1832 # ac_fn_c_check_func LINENO FUNC VAR1833 # ----------------------------------1834 # Tests whether FUNC exists, setting the cache variable VAR accordingly1835 ac_fn_c_check_func ()1836 {1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51839 $as_echo_n "checking for $2... " >&6; }1840 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1841 $as_echo_n "(cached) " >&61842 else1843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1844 /* end confdefs.h. */1845 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.1846 For example, HP-UX 11i <limits.h> declares gettimeofday. */1847 #define $2 innocuous_$21848 1849 /* System header to define __stub macros and hopefully few prototypes,1850 which can conflict with char $2 (); below.1851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1852 <limits.h> exists even on freestanding compilers. */1853 1854 #ifdef __STDC__1855 # include <limits.h>1856 #else1857 # include <assert.h>1858 #endif1859 1860 #undef $21861 1862 /* Override any GCC internal prototype to avoid an error.1863 Use char because int might match the return type of a GCC1864 builtin and then its argument prototype would still apply. */1865 #ifdef __cplusplus1866 extern "C"1867 #endif1868 char $2 ();1869 /* The GNU C library defines this for functions which it implements1870 to always fail with ENOSYS. Some functions are actually named1871 something starting with __ and the normal name is an alias. */1872 #if defined __stub_$2 || defined __stub___$21873 choke me1874 #endif1875 1876 int1877 main ()1878 {1879 return $2 ();1880 ;1881 return 0;1882 }1883 _ACEOF1884 if ac_fn_c_try_link "$LINENO"; then :1885 eval "$3=yes"1886 else1887 eval "$3=no"1888 fi1889 rm -f core conftest.err conftest.$ac_objext \1890 conftest$ac_exeext conftest.$ac_ext1891 fi1892 eval ac_res=\$$31893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51894 $as_echo "$ac_res" >&6; }1895 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1896 1897 } # ac_fn_c_check_func1898 1455 cat >config.log <<_ACEOF 1899 1456 This file contains any messages produced by compilers while … … 1901 1458 1902 1459 It was created by pjproject $as_me 1.x, which was 1903 generated by GNU Autoconf 2.6 5. Invocation command line was1460 generated by GNU Autoconf 2.61. Invocation command line was 1904 1461 1905 1462 $ $0 $@ … … 1937 1494 IFS=$as_save_IFS 1938 1495 test -z "$as_dir" && as_dir=. 1939 $as_echo "PATH: $as_dir"1940 1496 echo "PATH: $as_dir" 1497 done 1941 1498 IFS=$as_save_IFS 1942 1499 … … 1972 1529 continue ;; 1973 1530 *\'*) 1974 ac_arg=` $as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1531 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1975 1532 esac 1976 1533 case $ac_pass in 1977 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1534 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1978 1535 2) 1979 a s_fn_append ac_configure_args1 "'$ac_arg'"1536 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1980 1537 if test $ac_must_keep_next = true; then 1981 1538 ac_must_keep_next=false # Got value, back to normal. … … 1993 1550 esac 1994 1551 fi 1995 a s_fn_append ac_configure_args "'$ac_arg'"1552 ac_configure_args="$ac_configure_args '$ac_arg'" 1996 1553 ;; 1997 1554 esac 1998 1555 done 1999 1556 done 2000 { ac_configure_args0=; unset ac_configure_args0;}2001 { ac_configure_args1=; unset ac_configure_args1;}1557 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1558 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2002 1559 2003 1560 # When interrupted or exit'd, cleanup temporary files, and complete … … 2024 1581 *${as_nl}*) 2025 1582 case $ac_var in #( 2026 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&52027 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;1583 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1584 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 2028 1585 esac 2029 1586 case $ac_var in #( 2030 1587 _ | IFS | as_nl) ;; #( 2031 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2032 *) { eval $ac_var=; unset $ac_var;} ;; 1588 *) $as_unset $ac_var ;; 2033 1589 esac ;; 2034 1590 esac … … 2059 1615 eval ac_val=\$$ac_var 2060 1616 case $ac_val in 2061 *\'\''*) ac_val=` $as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1617 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2062 1618 esac 2063 $as_echo "$ac_var='\''$ac_val'\''"1619 echo "$ac_var='\''$ac_val'\''" 2064 1620 done | sort 2065 1621 echo … … 2076 1632 eval ac_val=\$$ac_var 2077 1633 case $ac_val in 2078 *\'\''*) ac_val=` $as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1634 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2079 1635 esac 2080 $as_echo "$ac_var='\''$ac_val'\''"1636 echo "$ac_var='\''$ac_val'\''" 2081 1637 done | sort 2082 1638 echo … … 2094 1650 fi 2095 1651 test "$ac_signal" != 0 && 2096 $as_echo "$as_me: caught signal $ac_signal"2097 $as_echo "$as_me: exit $exit_status"1652 echo "$as_me: caught signal $ac_signal" 1653 echo "$as_me: exit $exit_status" 2098 1654 } >&5 2099 1655 rm -f core *.core core.conftest.* && … … 2102 1658 ' 0 2103 1659 for ac_signal in 1 2 13 15; do 2104 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1660 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2105 1661 done 2106 1662 ac_signal=0 … … 2109 1665 rm -f -r conftest* confdefs.h 2110 1666 2111 $as_echo "/* confdefs.h */" > confdefs.h2112 2113 1667 # Predefined preprocessor variables. 2114 1668 … … 2117 1671 _ACEOF 2118 1672 1673 2119 1674 cat >>confdefs.h <<_ACEOF 2120 1675 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2121 1676 _ACEOF 2122 1677 1678 2123 1679 cat >>confdefs.h <<_ACEOF 2124 1680 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2125 1681 _ACEOF 2126 1682 1683 2127 1684 cat >>confdefs.h <<_ACEOF 2128 1685 #define PACKAGE_STRING "$PACKAGE_STRING" 2129 1686 _ACEOF 2130 1687 1688 2131 1689 cat >>confdefs.h <<_ACEOF 2132 1690 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2133 1691 _ACEOF 2134 1692 2135 cat >>confdefs.h <<_ACEOF2136 #define PACKAGE_URL "$PACKAGE_URL"2137 _ACEOF2138 2139 1693 2140 1694 # Let the site file select an alternate cache file if it wants to. 2141 # Prefer an explicitly selected file to automatically selected ones. 2142 ac_site_file1=NONE 2143 ac_site_file2=NONE 1695 # Prefer explicitly selected file to automatically selected ones. 2144 1696 if test -n "$CONFIG_SITE"; then 2145 ac_site_file1=$CONFIG_SITE1697 set x "$CONFIG_SITE" 2146 1698 elif test "x$prefix" != xNONE; then 2147 ac_site_file1=$prefix/share/config.site2148 ac_site_file2=$prefix/etc/config.site2149 else 2150 ac_site_file1=$ac_default_prefix/share/config.site 2151 ac_site_file2=$ac_default_prefix/etc/config.site 2152 fi 2153 for ac_site_file in "$ac_site_file1" "$ac_site_file2"1699 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1700 else 1701 set x "$ac_default_prefix/share/config.site" \ 1702 "$ac_default_prefix/etc/config.site" 1703 fi 1704 shift 1705 for ac_site_file 2154 1706 do 2155 test "x$ac_site_file" = xNONE && continue 2156 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2157 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2158 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1707 if test -r "$ac_site_file"; then 1708 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1709 echo "$as_me: loading site script $ac_site_file" >&6;} 2159 1710 sed 's/^/| /' "$ac_site_file" >&5 2160 1711 . "$ac_site_file" … … 2163 1714 2164 1715 if test -r "$cache_file"; then 2165 # Some versions of bash will fail to source /dev/null (special files2166 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2167 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2168 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&52169 $as_echo "$as_me: loading cache $cache_file" >&6;}1716 # Some versions of bash will fail to source /dev/null (special 1717 # files actually), so we avoid doing that. 1718 if test -f "$cache_file"; then 1719 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1720 echo "$as_me: loading cache $cache_file" >&6;} 2170 1721 case $cache_file in 2171 1722 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 2174 1725 fi 2175 1726 else 2176 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&52177 $as_echo "$as_me: creating cache $cache_file" >&6;}1727 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1728 echo "$as_me: creating cache $cache_file" >&6;} 2178 1729 >$cache_file 2179 1730 fi … … 2189 1740 case $ac_old_set,$ac_new_set in 2190 1741 set,) 2191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52192 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1742 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1743 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2193 1744 ac_cache_corrupted=: ;; 2194 1745 ,set) 2195 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&52196 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1746 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1747 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2197 1748 ac_cache_corrupted=: ;; 2198 1749 ,);; 2199 1750 *) 2200 1751 if test "x$ac_old_val" != "x$ac_new_val"; then 2201 # differences in whitespace do not lead to failure. 2202 ac_old_val_w=`echo x $ac_old_val` 2203 ac_new_val_w=`echo x $ac_new_val` 2204 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2206 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2207 ac_cache_corrupted=: 2208 else 2209 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2210 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2211 eval $ac_var=\$ac_old_val 2212 fi 2213 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2214 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2215 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2216 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1752 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1753 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1754 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1755 echo "$as_me: former value: $ac_old_val" >&2;} 1756 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1757 echo "$as_me: current value: $ac_new_val" >&2;} 1758 ac_cache_corrupted=: 2217 1759 fi;; 2218 1760 esac … … 2220 1762 if test "$ac_new_set" = set; then 2221 1763 case $ac_new_val in 2222 *\'*) ac_arg=$ac_var=` $as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;1764 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2223 1765 *) ac_arg=$ac_var=$ac_new_val ;; 2224 1766 esac 2225 1767 case " $ac_configure_args " in 2226 1768 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2227 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1769 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2228 1770 esac 2229 1771 fi 2230 1772 done 2231 1773 if $ac_cache_corrupted; then 2232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2235 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2236 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2237 fi 2238 ## -------------------- ## 2239 ## Main body of script. ## 2240 ## -------------------- ## 1774 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1775 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1776 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1777 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1778 { (exit 1); exit 1; }; } 1779 fi 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 2241 1804 2242 1805 ac_ext=c … … 2252 1815 ac_aux_dir= 2253 1816 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2254 for ac_t in install-sh install.sh shtool; do 2255 if test -f "$ac_dir/$ac_t"; then 2256 ac_aux_dir=$ac_dir 2257 ac_install_sh="$ac_aux_dir/$ac_t -c" 2258 break 2 2259 fi 2260 done 1817 if test -f "$ac_dir/install-sh"; then 1818 ac_aux_dir=$ac_dir 1819 ac_install_sh="$ac_aux_dir/install-sh -c" 1820 break 1821 elif test -f "$ac_dir/install.sh"; then 1822 ac_aux_dir=$ac_dir 1823 ac_install_sh="$ac_aux_dir/install.sh -c" 1824 break 1825 elif test -f "$ac_dir/shtool"; then 1826 ac_aux_dir=$ac_dir 1827 ac_install_sh="$ac_aux_dir/shtool install -c" 1828 break 1829 fi 2261 1830 done 2262 1831 if test -z "$ac_aux_dir"; then 2263 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1832 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1833 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1834 { (exit 1); exit 1; }; } 2264 1835 fi 2265 1836 … … 2275 1846 # Make sure we can run config.sub. 2276 1847 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2277 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2278 2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2280 $as_echo_n "checking build system type... " >&6; } 2281 if test "${ac_cv_build+set}" = set; then : 2282 $as_echo_n "(cached) " >&6 1848 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1849 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1850 { (exit 1); exit 1; }; } 1851 1852 { echo "$as_me:$LINENO: checking build system type" >&5 1853 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1854 if test "${ac_cv_build+set}" = set; then 1855 echo $ECHO_N "(cached) $ECHO_C" >&6 2283 1856 else 2284 1857 ac_build_alias=$build_alias … … 2286 1859 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2287 1860 test "x$ac_build_alias" = x && 2288 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1861 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1862 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1863 { (exit 1); exit 1; }; } 2289 1864 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2290 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2291 2292 fi 2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2294 $as_echo "$ac_cv_build" >&6; } 1865 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1866 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1867 { (exit 1); exit 1; }; } 1868 1869 fi 1870 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1871 echo "${ECHO_T}$ac_cv_build" >&6; } 2295 1872 case $ac_cv_build in 2296 1873 *-*-*) ;; 2297 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1874 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1875 echo "$as_me: error: invalid value of canonical build" >&2;} 1876 { (exit 1); exit 1; }; };; 2298 1877 esac 2299 1878 build=$ac_cv_build … … 2311 1890 2312 1891 2313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&52314 $as_echo_n "checking host system type..." >&6; }2315 if test "${ac_cv_host+set}" = set; then :2316 $as_echo_n "(cached)" >&61892 { echo "$as_me:$LINENO: checking host system type" >&5 1893 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1894 if test "${ac_cv_host+set}" = set; then 1895 echo $ECHO_N "(cached) $ECHO_C" >&6 2317 1896 else 2318 1897 if test "x$host_alias" = x; then … … 2320 1899 else 2321 1900 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2322 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2323 fi 2324 2325 fi 2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2327 $as_echo "$ac_cv_host" >&6; } 1901 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1902 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1903 { (exit 1); exit 1; }; } 1904 fi 1905 1906 fi 1907 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1908 echo "${ECHO_T}$ac_cv_host" >&6; } 2328 1909 case $ac_cv_host in 2329 1910 *-*-*) ;; 2330 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1911 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1912 echo "$as_me: error: invalid value of canonical host" >&2;} 1913 { (exit 1); exit 1; }; };; 2331 1914 esac 2332 1915 host=$ac_cv_host … … 2344 1927 2345 1928 2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&52347 $as_echo_n "checking target system type..." >&6; }2348 if test "${ac_cv_target+set}" = set; then :2349 $as_echo_n "(cached)" >&61929 { echo "$as_me:$LINENO: checking target system type" >&5 1930 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 1931 if test "${ac_cv_target+set}" = set; then 1932 echo $ECHO_N "(cached) $ECHO_C" >&6 2350 1933 else 2351 1934 if test "x$target_alias" = x; then … … 2353 1936 else 2354 1937 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2355 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2356 fi 2357 2358 fi 2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2360 $as_echo "$ac_cv_target" >&6; } 1938 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1939 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1940 { (exit 1); exit 1; }; } 1941 fi 1942 1943 fi 1944 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1945 echo "${ECHO_T}$ac_cv_target" >&6; } 2361 1946 case $ac_cv_target in 2362 1947 *-*-*) ;; 2363 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 1948 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1949 echo "$as_me: error: invalid value of canonical target" >&2;} 1950 { (exit 1); exit 1; }; };; 2364 1951 esac 2365 1952 target=$ac_cv_target … … 2405 1992 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2406 1993 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52408 $as_echo_n "checking for $ac_word..." >&6; }2409 if test "${ac_cv_prog_CC+set}" = set; then :2410 $as_echo_n "(cached)" >&61994 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1996 if test "${ac_cv_prog_CC+set}" = set; then 1997 echo $ECHO_N "(cached) $ECHO_C" >&6 2411 1998 else 2412 1999 if test -n "$CC"; then … … 2418 2005 IFS=$as_save_IFS 2419 2006 test -z "$as_dir" && as_dir=. 2420 2007 for ac_exec_ext in '' $ac_executable_extensions; do 2421 2008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2422 2009 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2424 2011 break 2 2425 2012 fi 2426 2013 done 2427 2014 done 2428 2015 IFS=$as_save_IFS 2429 2016 … … 2432 2019 CC=$ac_cv_prog_CC 2433 2020 if test -n "$CC"; then 2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52435 $as_echo "$CC" >&6; }2436 else 2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52438 $as_echo "no" >&6; }2021 { echo "$as_me:$LINENO: result: $CC" >&5 2022 echo "${ECHO_T}$CC" >&6; } 2023 else 2024 { echo "$as_me:$LINENO: result: no" >&5 2025 echo "${ECHO_T}no" >&6; } 2439 2026 fi 2440 2027 … … 2445 2032 # Extract the first word of "gcc", so it can be a program name with args. 2446 2033 set dummy gcc; ac_word=$2 2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52448 $as_echo_n "checking for $ac_word..." >&6; }2449 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2450 $as_echo_n "(cached)" >&62034 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2036 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2037 echo $ECHO_N "(cached) $ECHO_C" >&6 2451 2038 else 2452 2039 if test -n "$ac_ct_CC"; then … … 2458 2045 IFS=$as_save_IFS 2459 2046 test -z "$as_dir" && as_dir=. 2460 2047 for ac_exec_ext in '' $ac_executable_extensions; do 2461 2048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2462 2049 ac_cv_prog_ac_ct_CC="gcc" 2463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2464 2051 break 2 2465 2052 fi 2466 2053 done 2467 2054 done 2468 2055 IFS=$as_save_IFS 2469 2056 … … 2472 2059 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2473 2060 if test -n "$ac_ct_CC"; then 2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&52475 $as_echo "$ac_ct_CC" >&6; }2476 else 2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52478 $as_echo "no" >&6; }2061 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2062 echo "${ECHO_T}$ac_ct_CC" >&6; } 2063 else 2064 { echo "$as_me:$LINENO: result: no" >&5 2065 echo "${ECHO_T}no" >&6; } 2479 2066 fi 2480 2067 … … 2484 2071 case $cross_compiling:$ac_tool_warned in 2485 2072 yes:) 2486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2073 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2074 whose name does not start with the host triplet. If you think this 2075 configuration is useful to you, please write to autoconf@gnu.org." >&5 2076 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2077 whose name does not start with the host triplet. If you think this 2078 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2488 2079 ac_tool_warned=yes ;; 2489 2080 esac … … 2498 2089 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2499 2090 set dummy ${ac_tool_prefix}cc; ac_word=$2 2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52501 $as_echo_n "checking for $ac_word..." >&6; }2502 if test "${ac_cv_prog_CC+set}" = set; then :2503 $as_echo_n "(cached)" >&62091 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2093 if test "${ac_cv_prog_CC+set}" = set; then 2094 echo $ECHO_N "(cached) $ECHO_C" >&6 2504 2095 else 2505 2096 if test -n "$CC"; then … … 2511 2102 IFS=$as_save_IFS 2512 2103 test -z "$as_dir" && as_dir=. 2513 2104 for ac_exec_ext in '' $ac_executable_extensions; do 2514 2105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2515 2106 ac_cv_prog_CC="${ac_tool_prefix}cc" 2516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2517 2108 break 2 2518 2109 fi 2519 2110 done 2520 2111 done 2521 2112 IFS=$as_save_IFS 2522 2113 … … 2525 2116 CC=$ac_cv_prog_CC 2526 2117 if test -n "$CC"; then 2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52528 $as_echo "$CC" >&6; }2529 else 2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52531 $as_echo "no" >&6; }2118 { echo "$as_me:$LINENO: result: $CC" >&5 2119 echo "${ECHO_T}$CC" >&6; } 2120 else 2121 { echo "$as_me:$LINENO: result: no" >&5 2122 echo "${ECHO_T}no" >&6; } 2532 2123 fi 2533 2124 … … 2538 2129 # Extract the first word of "cc", so it can be a program name with args. 2539 2130 set dummy cc; ac_word=$2 2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52541 $as_echo_n "checking for $ac_word..." >&6; }2542 if test "${ac_cv_prog_CC+set}" = set; then :2543 $as_echo_n "(cached)" >&62131 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2133 if test "${ac_cv_prog_CC+set}" = set; then 2134 echo $ECHO_N "(cached) $ECHO_C" >&6 2544 2135 else 2545 2136 if test -n "$CC"; then … … 2552 2143 IFS=$as_save_IFS 2553 2144 test -z "$as_dir" && as_dir=. 2554 2145 for ac_exec_ext in '' $ac_executable_extensions; do 2555 2146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2556 2147 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2559 2150 fi 2560 2151 ac_cv_prog_CC="cc" 2561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2562 2153 break 2 2563 2154 fi 2564 2155 done 2565 2156 done 2566 2157 IFS=$as_save_IFS 2567 2158 … … 2582 2173 CC=$ac_cv_prog_CC 2583 2174 if test -n "$CC"; then 2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52585 $as_echo "$CC" >&6; }2586 else 2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52588 $as_echo "no" >&6; }2175 { echo "$as_me:$LINENO: result: $CC" >&5 2176 echo "${ECHO_T}$CC" >&6; } 2177 else 2178 { echo "$as_me:$LINENO: result: no" >&5 2179 echo "${ECHO_T}no" >&6; } 2589 2180 fi 2590 2181 … … 2597 2188 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2598 2189 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52600 $as_echo_n "checking for $ac_word..." >&6; }2601 if test "${ac_cv_prog_CC+set}" = set; then :2602 $as_echo_n "(cached)" >&62190 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2192 if test "${ac_cv_prog_CC+set}" = set; then 2193 echo $ECHO_N "(cached) $ECHO_C" >&6 2603 2194 else 2604 2195 if test -n "$CC"; then … … 2610 2201 IFS=$as_save_IFS 2611 2202 test -z "$as_dir" && as_dir=. 2612 2203 for ac_exec_ext in '' $ac_executable_extensions; do 2613 2204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2614 2205 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2616 2207 break 2 2617 2208 fi 2618 2209 done 2619 2210 done 2620 2211 IFS=$as_save_IFS 2621 2212 … … 2624 2215 CC=$ac_cv_prog_CC 2625 2216 if test -n "$CC"; then 2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52627 $as_echo "$CC" >&6; }2628 else 2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52630 $as_echo "no" >&6; }2217 { echo "$as_me:$LINENO: result: $CC" >&5 2218 echo "${ECHO_T}$CC" >&6; } 2219 else 2220 { echo "$as_me:$LINENO: result: no" >&5 2221 echo "${ECHO_T}no" >&6; } 2631 2222 fi 2632 2223 … … 2641 2232 # Extract the first word of "$ac_prog", so it can be a program name with args. 2642 2233 set dummy $ac_prog; ac_word=$2 2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52644 $as_echo_n "checking for $ac_word..." >&6; }2645 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2646 $as_echo_n "(cached)" >&62234 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2236 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2237 echo $ECHO_N "(cached) $ECHO_C" >&6 2647 2238 else 2648 2239 if test -n "$ac_ct_CC"; then … … 2654 2245 IFS=$as_save_IFS 2655 2246 test -z "$as_dir" && as_dir=. 2656 2247 for ac_exec_ext in '' $ac_executable_extensions; do 2657 2248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2658 2249 ac_cv_prog_ac_ct_CC="$ac_prog" 2659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2660 2251 break 2 2661 2252 fi 2662 2253 done 2663 2254 done 2664 2255 IFS=$as_save_IFS 2665 2256 … … 2668 2259 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2669 2260 if test -n "$ac_ct_CC"; then 2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&52671 $as_echo "$ac_ct_CC" >&6; }2672 else 2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52674 $as_echo "no" >&6; }2261 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2262 echo "${ECHO_T}$ac_ct_CC" >&6; } 2263 else 2264 { echo "$as_me:$LINENO: result: no" >&5 2265 echo "${ECHO_T}no" >&6; } 2675 2266 fi 2676 2267 … … 2684 2275 case $cross_compiling:$ac_tool_warned in 2685 2276 yes:) 2686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2277 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2278 whose name does not start with the host triplet. If you think this 2279 configuration is useful to you, please write to autoconf@gnu.org." >&5 2280 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2281 whose name does not start with the host triplet. If you think this 2282 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2688 2283 ac_tool_warned=yes ;; 2689 2284 esac … … 2695 2290 2696 2291 2697 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2699 as_fn_error "no acceptable C compiler found in \$PATH 2700 See \`config.log' for more details." "$LINENO" 5; } 2292 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2293 See \`config.log' for more details." >&5 2294 echo "$as_me: error: no acceptable C compiler found in \$PATH 2295 See \`config.log' for more details." >&2;} 2296 { (exit 1); exit 1; }; } 2701 2297 2702 2298 # Provide some information about the compiler. 2703 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2704 set X $ac_compile 2705 ac_compiler=$2 2706 for ac_option in --version -v -V -qversion; do 2707 { { ac_try="$ac_compiler $ac_option >&5" 2708 case "(($ac_try" in 2709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2710 *) ac_try_echo=$ac_try;; 2711 esac 2712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2713 $as_echo "$ac_try_echo"; } >&5 2714 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2715 ac_status=$? 2716 if test -s conftest.err; then 2717 sed '10a\ 2718 ... rest of stderr output deleted ... 2719 10q' conftest.err >conftest.er1 2720 cat conftest.er1 >&5 2721 fi 2722 rm -f conftest.er1 conftest.err 2723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2724 test $ac_status = 0; } 2725 done 2726 2727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2299 echo "$as_me:$LINENO: checking for C compiler version" >&5 2300 ac_compiler=`set X $ac_compile; echo $2` 2301 { (ac_try="$ac_compiler --version >&5" 2302 case "(($ac_try" in 2303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2304 *) ac_try_echo=$ac_try;; 2305 esac 2306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2307 (eval "$ac_compiler --version >&5") 2>&5 2308 ac_status=$? 2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2310 (exit $ac_status); } 2311 { (ac_try="$ac_compiler -v >&5" 2312 case "(($ac_try" in 2313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2314 *) ac_try_echo=$ac_try;; 2315 esac 2316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2317 (eval "$ac_compiler -v >&5") 2>&5 2318 ac_status=$? 2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2320 (exit $ac_status); } 2321 { (ac_try="$ac_compiler -V >&5" 2322 case "(($ac_try" in 2323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2324 *) ac_try_echo=$ac_try;; 2325 esac 2326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2327 (eval "$ac_compiler -V >&5") 2>&5 2328 ac_status=$? 2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2330 (exit $ac_status); } 2331 2332 cat >conftest.$ac_ext <<_ACEOF 2333 /* confdefs.h. */ 2334 _ACEOF 2335 cat confdefs.h >>conftest.$ac_ext 2336 cat >>conftest.$ac_ext <<_ACEOF 2728 2337 /* end confdefs.h. */ 2729 2338 … … 2737 2346 _ACEOF 2738 2347 ac_clean_files_save=$ac_clean_files 2739 ac_clean_files="$ac_clean_files a.out a. out.dSYM a.exe b.out"2348 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2740 2349 # Try to create an executable without -o first, disregard a.out. 2741 2350 # It will help us diagnose broken compilers, and finding out an intuition 2742 2351 # of exeext. 2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2744 $as_echo_n "checking whether the C compiler works... " >&6; } 2745 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2746 2747 # The possible output files: 2748 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2749 2352 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2353 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2354 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2355 # 2356 # List of possible output files, starting from the most likely. 2357 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2358 # only as a last resort. b.out is created by i960 compilers. 2359 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2360 # 2361 # The IRIX 6 linker writes into existing files which may not be 2362 # executable, retaining their permissions. Remove them first so a 2363 # subsequent execution test works. 2750 2364 ac_rmfiles= 2751 2365 for ac_file in $ac_files 2752 2366 do 2753 2367 case $ac_file in 2754 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj ) ;;2368 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2755 2369 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2756 2370 esac … … 2758 2372 rm -f $ac_rmfiles 2759 2373 2760 if { { ac_try="$ac_link_default" 2761 case "(($ac_try" in 2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2763 *) ac_try_echo=$ac_try;; 2764 esac 2765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2766 $as_echo "$ac_try_echo"; } >&5 2374 if { (ac_try="$ac_link_default" 2375 case "(($ac_try" in 2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2377 *) ac_try_echo=$ac_try;; 2378 esac 2379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2767 2380 (eval "$ac_link_default") 2>&5 2768 2381 ac_status=$? 2769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52770 test $ac_status = 0; }; then :2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2383 (exit $ac_status); }; then 2771 2384 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2772 2385 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2778 2391 test -f "$ac_file" || continue 2779 2392 case $ac_file in 2780 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj )2393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2781 2394 ;; 2782 2395 [ab].out ) … … 2785 2398 break;; 2786 2399 *.* ) 2787 2400 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2788 2401 then :; else 2789 2402 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2804 2417 ac_file='' 2805 2418 fi 2806 if test -z "$ac_file"; then : 2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2808 $as_echo "no" >&6; } 2809 $as_echo "$as_me: failed program was:" >&5 2419 2420 { echo "$as_me:$LINENO: result: $ac_file" >&5 2421 echo "${ECHO_T}$ac_file" >&6; } 2422 if test -z "$ac_file"; then 2423 echo "$as_me: failed program was:" >&5 2810 2424 sed 's/^/| /' conftest.$ac_ext >&5 2811 2425 2812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2814 { as_fn_set_status 77 2815 as_fn_error "C compiler cannot create executables 2816 See \`config.log' for more details." "$LINENO" 5; }; } 2817 else 2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2819 $as_echo "yes" >&6; } 2820 fi 2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2822 $as_echo_n "checking for C compiler default output file name... " >&6; } 2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2824 $as_echo "$ac_file" >&6; } 2426 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2427 See \`config.log' for more details." >&5 2428 echo "$as_me: error: C compiler cannot create executables 2429 See \`config.log' for more details." >&2;} 2430 { (exit 77); exit 77; }; } 2431 fi 2432 2825 2433 ac_exeext=$ac_cv_exeext 2826 2434 2827 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2435 # Check that the compiler produces executables we can run. If not, either 2436 # the compiler is broken, or we cross compile. 2437 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2438 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2439 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2440 # If not cross compiling, check that we can run a simple program. 2441 if test "$cross_compiling" != yes; then 2442 if { ac_try='./$ac_file' 2443 { (case "(($ac_try" in 2444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2445 *) ac_try_echo=$ac_try;; 2446 esac 2447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2448 (eval "$ac_try") 2>&5 2449 ac_status=$? 2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2451 (exit $ac_status); }; }; then 2452 cross_compiling=no 2453 else 2454 if test "$cross_compiling" = maybe; then 2455 cross_compiling=yes 2456 else 2457 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2458 If you meant to cross compile, use \`--host'. 2459 See \`config.log' for more details." >&5 2460 echo "$as_me: error: cannot run C compiled programs. 2461 If you meant to cross compile, use \`--host'. 2462 See \`config.log' for more details." >&2;} 2463 { (exit 1); exit 1; }; } 2464 fi 2465 fi 2466 fi 2467 { echo "$as_me:$LINENO: result: yes" >&5 2468 echo "${ECHO_T}yes" >&6; } 2469 2470 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2828 2471 ac_clean_files=$ac_clean_files_save 2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2830 $as_echo_n "checking for suffix of executables... " >&6; } 2831 if { { ac_try="$ac_link" 2832 case "(($ac_try" in 2833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2834 *) ac_try_echo=$ac_try;; 2835 esac 2836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2837 $as_echo "$ac_try_echo"; } >&5 2472 # Check that the compiler produces executables we can run. If not, either 2473 # the compiler is broken, or we cross compile. 2474 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2475 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2476 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2477 echo "${ECHO_T}$cross_compiling" >&6; } 2478 2479 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2480 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2481 if { (ac_try="$ac_link" 2482 case "(($ac_try" in 2483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2484 *) ac_try_echo=$ac_try;; 2485 esac 2486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2838 2487 (eval "$ac_link") 2>&5 2839 2488 ac_status=$? 2840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52841 test $ac_status = 0; }; then :2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2490 (exit $ac_status); }; then 2842 2491 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2843 2492 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2847 2496 test -f "$ac_file" || continue 2848 2497 case $ac_file in 2849 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj ) ;;2498 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2850 2499 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2851 2500 break;; … … 2854 2503 done 2855 2504 else 2856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2858 as_fn_error "cannot compute suffix of executables: cannot compile and link 2859 See \`config.log' for more details." "$LINENO" 5; } 2860 fi 2861 rm -f conftest conftest$ac_cv_exeext 2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2863 $as_echo "$ac_cv_exeext" >&6; } 2505 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2506 See \`config.log' for more details." >&5 2507 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2508 See \`config.log' for more details." >&2;} 2509 { (exit 1); exit 1; }; } 2510 fi 2511 2512 rm -f conftest$ac_cv_exeext 2513 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2514 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2864 2515 2865 2516 rm -f conftest.$ac_ext 2866 2517 EXEEXT=$ac_cv_exeext 2867 2518 ac_exeext=$EXEEXT 2868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2869 /* end confdefs.h. */ 2870 #include <stdio.h> 2519 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2520 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2521 if test "${ac_cv_objext+set}" = set; then 2522 echo $ECHO_N "(cached) $ECHO_C" >&6 2523 else 2524 cat >conftest.$ac_ext <<_ACEOF 2525 /* confdefs.h. */ 2526 _ACEOF 2527 cat confdefs.h >>conftest.$ac_ext 2528 cat >>conftest.$ac_ext <<_ACEOF 2529 /* end confdefs.h. */ 2530 2871 2531 int 2872 2532 main () 2873 2533 { 2874 FILE *f = fopen ("conftest.out", "w");2875 return ferror (f) || fclose (f) != 0;2876 2534 2877 2535 ; … … 2879 2537 } 2880 2538 _ACEOF 2881 ac_clean_files="$ac_clean_files conftest.out"2882 # Check that the compiler produces executables we can run. If not, either2883 # the compiler is broken, or we cross compile.2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&52885 $as_echo_n "checking whether we are cross compiling... " >&6; }2886 if test "$cross_compiling" != yes; then2887 { { ac_try="$ac_link"2888 case "(($ac_try" in2889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2890 *) ac_try_echo=$ac_try;;2891 esac2892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2893 $as_echo "$ac_try_echo"; } >&52894 (eval "$ac_link") 2>&52895 ac_status=$?2896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52897 test $ac_status = 0; }2898 if { ac_try='./conftest$ac_cv_exeext'2899 { { case "(($ac_try" in2900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2901 *) ac_try_echo=$ac_try;;2902 esac2903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2904 $as_echo "$ac_try_echo"; } >&52905 (eval "$ac_try") 2>&52906 ac_status=$?2907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52908 test $ac_status = 0; }; }; then2909 cross_compiling=no2910 else2911 if test "$cross_compiling" = maybe; then2912 cross_compiling=yes2913 else2914 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2916 as_fn_error "cannot run C compiled programs.2917 If you meant to cross compile, use \`--host'.2918 See \`config.log' for more details." "$LINENO" 5; }2919 fi2920 fi2921 fi2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&52923 $as_echo "$cross_compiling" >&6; }2924 2925 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out2926 ac_clean_files=$ac_clean_files_save2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&52928 $as_echo_n "checking for suffix of object files... " >&6; }2929 if test "${ac_cv_objext+set}" = set; then :2930 $as_echo_n "(cached) " >&62931 else2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2933 /* end confdefs.h. */2934 2935 int2936 main ()2937 {2938 2939 ;2940 return 0;2941 }2942 _ACEOF2943 2539 rm -f conftest.o conftest.obj 2944 if { { ac_try="$ac_compile" 2945 case "(($ac_try" in 2946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2947 *) ac_try_echo=$ac_try;; 2948 esac 2949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2950 $as_echo "$ac_try_echo"; } >&5 2540 if { (ac_try="$ac_compile" 2541 case "(($ac_try" in 2542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2543 *) ac_try_echo=$ac_try;; 2544 esac 2545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2951 2546 (eval "$ac_compile") 2>&5 2952 2547 ac_status=$? 2953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52954 test $ac_status = 0; }; then :2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2549 (exit $ac_status); }; then 2955 2550 for ac_file in conftest.o conftest.obj conftest.*; do 2956 2551 test -f "$ac_file" || continue; 2957 2552 case $ac_file in 2958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM) ;;2553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2959 2554 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2960 2555 break;; … … 2962 2557 done 2963 2558 else 2964 $as_echo "$as_me: failed program was:" >&52559 echo "$as_me: failed program was:" >&5 2965 2560 sed 's/^/| /' conftest.$ac_ext >&5 2966 2561 2967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2969 as_fn_error "cannot compute suffix of object files: cannot compile 2970 See \`config.log' for more details." "$LINENO" 5; } 2971 fi 2562 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2563 See \`config.log' for more details." >&5 2564 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2565 See \`config.log' for more details." >&2;} 2566 { (exit 1); exit 1; }; } 2567 fi 2568 2972 2569 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2973 2570 fi 2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&52975 $as_echo "$ac_cv_objext" >&6; }2571 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2572 echo "${ECHO_T}$ac_cv_objext" >&6; } 2976 2573 OBJEXT=$ac_cv_objext 2977 2574 ac_objext=$OBJEXT 2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2979 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2980 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2981 $as_echo_n "(cached) " >&6 2982 else 2983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2575 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2576 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2577 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2578 echo $ECHO_N "(cached) $ECHO_C" >&6 2579 else 2580 cat >conftest.$ac_ext <<_ACEOF 2581 /* confdefs.h. */ 2582 _ACEOF 2583 cat confdefs.h >>conftest.$ac_ext 2584 cat >>conftest.$ac_ext <<_ACEOF 2984 2585 /* end confdefs.h. */ 2985 2586 … … 2995 2596 } 2996 2597 _ACEOF 2997 if ac_fn_c_try_compile "$LINENO"; then : 2598 rm -f conftest.$ac_objext 2599 if { (ac_try="$ac_compile" 2600 case "(($ac_try" in 2601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2602 *) ac_try_echo=$ac_try;; 2603 esac 2604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2605 (eval "$ac_compile") 2>conftest.er1 2606 ac_status=$? 2607 grep -v '^ *+' conftest.er1 >conftest.err 2608 rm -f conftest.er1 2609 cat conftest.err >&5 2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2611 (exit $ac_status); } && { 2612 test -z "$ac_c_werror_flag" || 2613 test ! -s conftest.err 2614 } && test -s conftest.$ac_objext; then 2998 2615 ac_compiler_gnu=yes 2999 2616 else 3000 ac_compiler_gnu=no 3001 fi 2617 echo "$as_me: failed program was:" >&5 2618 sed 's/^/| /' conftest.$ac_ext >&5 2619 2620 ac_compiler_gnu=no 2621 fi 2622 3002 2623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3003 2624 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3004 2625 3005 2626 fi 3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3007 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3008 if test $ac_compiler_gnu = yes; then 3009 GCC=yes 3010 else 3011 GCC= 3012 fi 2627 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2628 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2629 GCC=`test $ac_compiler_gnu = yes && echo yes` 3013 2630 ac_test_CFLAGS=${CFLAGS+set} 3014 2631 ac_save_CFLAGS=$CFLAGS 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&53016 $as_echo_n "checking whether $CC accepts -g..." >&6; }3017 if test "${ac_cv_prog_cc_g+set}" = set; then :3018 $as_echo_n "(cached)" >&62632 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2633 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2634 if test "${ac_cv_prog_cc_g+set}" = set; then 2635 echo $ECHO_N "(cached) $ECHO_C" >&6 3019 2636 else 3020 2637 ac_save_c_werror_flag=$ac_c_werror_flag … … 3022 2639 ac_cv_prog_cc_g=no 3023 2640 CFLAGS="-g" 3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2641 cat >conftest.$ac_ext <<_ACEOF 2642 /* confdefs.h. */ 2643 _ACEOF 2644 cat confdefs.h >>conftest.$ac_ext 2645 cat >>conftest.$ac_ext <<_ACEOF 3025 2646 /* end confdefs.h. */ 3026 2647 … … 3033 2654 } 3034 2655 _ACEOF 3035 if ac_fn_c_try_compile "$LINENO"; then : 2656 rm -f conftest.$ac_objext 2657 if { (ac_try="$ac_compile" 2658 case "(($ac_try" in 2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2660 *) ac_try_echo=$ac_try;; 2661 esac 2662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2663 (eval "$ac_compile") 2>conftest.er1 2664 ac_status=$? 2665 grep -v '^ *+' conftest.er1 >conftest.err 2666 rm -f conftest.er1 2667 cat conftest.err >&5 2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2669 (exit $ac_status); } && { 2670 test -z "$ac_c_werror_flag" || 2671 test ! -s conftest.err 2672 } && test -s conftest.$ac_objext; then 3036 2673 ac_cv_prog_cc_g=yes 3037 2674 else 3038 CFLAGS="" 3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2675 echo "$as_me: failed program was:" >&5 2676 sed 's/^/| /' conftest.$ac_ext >&5 2677 2678 CFLAGS="" 2679 cat >conftest.$ac_ext <<_ACEOF 2680 /* confdefs.h. */ 2681 _ACEOF 2682 cat confdefs.h >>conftest.$ac_ext 2683 cat >>conftest.$ac_ext <<_ACEOF 3040 2684 /* end confdefs.h. */ 3041 2685 … … 3048 2692 } 3049 2693 _ACEOF 3050 if ac_fn_c_try_compile "$LINENO"; then : 3051 3052 else 3053 ac_c_werror_flag=$ac_save_c_werror_flag 2694 rm -f conftest.$ac_objext 2695 if { (ac_try="$ac_compile" 2696 case "(($ac_try" in 2697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2698 *) ac_try_echo=$ac_try;; 2699 esac 2700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2701 (eval "$ac_compile") 2>conftest.er1 2702 ac_status=$? 2703 grep -v '^ *+' conftest.er1 >conftest.err 2704 rm -f conftest.er1 2705 cat conftest.err >&5 2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2707 (exit $ac_status); } && { 2708 test -z "$ac_c_werror_flag" || 2709 test ! -s conftest.err 2710 } && test -s conftest.$ac_objext; then 2711 : 2712 else 2713 echo "$as_me: failed program was:" >&5 2714 sed 's/^/| /' conftest.$ac_ext >&5 2715 2716 ac_c_werror_flag=$ac_save_c_werror_flag 3054 2717 CFLAGS="-g" 3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2718 cat >conftest.$ac_ext <<_ACEOF 2719 /* confdefs.h. */ 2720 _ACEOF 2721 cat confdefs.h >>conftest.$ac_ext 2722 cat >>conftest.$ac_ext <<_ACEOF 3056 2723 /* end confdefs.h. */ 3057 2724 … … 3064 2731 } 3065 2732 _ACEOF 3066 if ac_fn_c_try_compile "$LINENO"; then : 2733 rm -f conftest.$ac_objext 2734 if { (ac_try="$ac_compile" 2735 case "(($ac_try" in 2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2737 *) ac_try_echo=$ac_try;; 2738 esac 2739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2740 (eval "$ac_compile") 2>conftest.er1 2741 ac_status=$? 2742 grep -v '^ *+' conftest.er1 >conftest.err 2743 rm -f conftest.er1 2744 cat conftest.err >&5 2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2746 (exit $ac_status); } && { 2747 test -z "$ac_c_werror_flag" || 2748 test ! -s conftest.err 2749 } && test -s conftest.$ac_objext; then 3067 2750 ac_cv_prog_cc_g=yes 3068 fi 2751 else 2752 echo "$as_me: failed program was:" >&5 2753 sed 's/^/| /' conftest.$ac_ext >&5 2754 2755 2756 fi 2757 3069 2758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3070 2759 fi 2760 3071 2761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3072 2762 fi 2763 3073 2764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3074 2765 ac_c_werror_flag=$ac_save_c_werror_flag 3075 2766 fi 3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&53077 $as_echo "$ac_cv_prog_cc_g" >&6; }2767 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2768 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3078 2769 if test "$ac_test_CFLAGS" = set; then 3079 2770 CFLAGS=$ac_save_CFLAGS … … 3091 2782 fi 3092 2783 fi 3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&53094 $as_echo_n "checking for $CC option to accept ISO C89..." >&6; }3095 if test "${ac_cv_prog_cc_c89+set}" = set; then :3096 $as_echo_n "(cached)" >&62784 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2785 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2786 if test "${ac_cv_prog_cc_c89+set}" = set; then 2787 echo $ECHO_N "(cached) $ECHO_C" >&6 3097 2788 else 3098 2789 ac_cv_prog_cc_c89=no 3099 2790 ac_save_CC=$CC 3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2791 cat >conftest.$ac_ext <<_ACEOF 2792 /* confdefs.h. */ 2793 _ACEOF 2794 cat confdefs.h >>conftest.$ac_ext 2795 cat >>conftest.$ac_ext <<_ACEOF 3101 2796 /* end confdefs.h. */ 3102 2797 #include <stdarg.h> … … 3155 2850 do 3156 2851 CC="$ac_save_CC $ac_arg" 3157 if ac_fn_c_try_compile "$LINENO"; then : 2852 rm -f conftest.$ac_objext 2853 if { (ac_try="$ac_compile" 2854 case "(($ac_try" in 2855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2856 *) ac_try_echo=$ac_try;; 2857 esac 2858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2859 (eval "$ac_compile") 2>conftest.er1 2860 ac_status=$? 2861 grep -v '^ *+' conftest.er1 >conftest.err 2862 rm -f conftest.er1 2863 cat conftest.err >&5 2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2865 (exit $ac_status); } && { 2866 test -z "$ac_c_werror_flag" || 2867 test ! -s conftest.err 2868 } && test -s conftest.$ac_objext; then 3158 2869 ac_cv_prog_cc_c89=$ac_arg 3159 fi 2870 else 2871 echo "$as_me: failed program was:" >&5 2872 sed 's/^/| /' conftest.$ac_ext >&5 2873 2874 2875 fi 2876 3160 2877 rm -f core conftest.err conftest.$ac_objext 3161 2878 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3168 2885 case "x$ac_cv_prog_cc_c89" in 3169 2886 x) 3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&53171 $as_echo "none needed" >&6; } ;;2887 { echo "$as_me:$LINENO: result: none needed" >&5 2888 echo "${ECHO_T}none needed" >&6; } ;; 3172 2889 xno) 3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&53174 $as_echo "unsupported" >&6; } ;;2890 { echo "$as_me:$LINENO: result: unsupported" >&5 2891 echo "${ECHO_T}unsupported" >&6; } ;; 3175 2892 *) 3176 2893 CC="$CC $ac_cv_prog_cc_c89" 3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3178 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3179 esac 3180 if test "x$ac_cv_prog_cc_c89" != xno; then : 3181 3182 fi 2894 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2895 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2896 esac 2897 3183 2898 3184 2899 ac_ext=c … … 3202 2917 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3203 2918 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53205 $as_echo_n "checking for $ac_word..." >&6; }3206 if test "${ac_cv_prog_CXX+set}" = set; then :3207 $as_echo_n "(cached)" >&62919 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2921 if test "${ac_cv_prog_CXX+set}" = set; then 2922 echo $ECHO_N "(cached) $ECHO_C" >&6 3208 2923 else 3209 2924 if test -n "$CXX"; then … … 3215 2930 IFS=$as_save_IFS 3216 2931 test -z "$as_dir" && as_dir=. 3217 2932 for ac_exec_ext in '' $ac_executable_extensions; do 3218 2933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3219 2934 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3221 2936 break 2 3222 2937 fi 3223 2938 done 3224 2939 done 3225 2940 IFS=$as_save_IFS 3226 2941 … … 3229 2944 CXX=$ac_cv_prog_CXX 3230 2945 if test -n "$CXX"; then 3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&53232 $as_echo "$CXX" >&6; }3233 else 3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53235 $as_echo "no" >&6; }2946 { echo "$as_me:$LINENO: result: $CXX" >&5 2947 echo "${ECHO_T}$CXX" >&6; } 2948 else 2949 { echo "$as_me:$LINENO: result: no" >&5 2950 echo "${ECHO_T}no" >&6; } 3236 2951 fi 3237 2952 … … 3246 2961 # Extract the first word of "$ac_prog", so it can be a program name with args. 3247 2962 set dummy $ac_prog; ac_word=$2 3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53249 $as_echo_n "checking for $ac_word..." >&6; }3250 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :3251 $as_echo_n "(cached)" >&62963 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2965 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2966 echo $ECHO_N "(cached) $ECHO_C" >&6 3252 2967 else 3253 2968 if test -n "$ac_ct_CXX"; then … … 3259 2974 IFS=$as_save_IFS 3260 2975 test -z "$as_dir" && as_dir=. 3261 2976 for ac_exec_ext in '' $ac_executable_extensions; do 3262 2977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3263 2978 ac_cv_prog_ac_ct_CXX="$ac_prog" 3264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3265 2980 break 2 3266 2981 fi 3267 2982 done 3268 2983 done 3269 2984 IFS=$as_save_IFS 3270 2985 … … 3273 2988 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3274 2989 if test -n "$ac_ct_CXX"; then 3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&53276 $as_echo "$ac_ct_CXX" >&6; }3277 else 3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53279 $as_echo "no" >&6; }2990 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2991 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2992 else 2993 { echo "$as_me:$LINENO: result: no" >&5 2994 echo "${ECHO_T}no" >&6; } 3280 2995 fi 3281 2996 … … 3289 3004 case $cross_compiling:$ac_tool_warned in 3290 3005 yes:) 3291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3006 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3007 whose name does not start with the host triplet. If you think this 3008 configuration is useful to you, please write to autoconf@gnu.org." >&5 3009 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3010 whose name does not start with the host triplet. If you think this 3011 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3293 3012 ac_tool_warned=yes ;; 3294 3013 esac … … 3300 3019 fi 3301 3020 # Provide some information about the compiler. 3302 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3303 set X $ac_compile 3304 ac_compiler=$2 3305 for ac_option in --version -v -V -qversion; do 3306 { { ac_try="$ac_compiler $ac_option >&5" 3307 case "(($ac_try" in 3308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3309 *) ac_try_echo=$ac_try;; 3310 esac 3311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3312 $as_echo "$ac_try_echo"; } >&5 3313 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3314 ac_status=$? 3315 if test -s conftest.err; then 3316 sed '10a\ 3317 ... rest of stderr output deleted ... 3318 10q' conftest.err >conftest.er1 3319 cat conftest.er1 >&5 3320 fi 3321 rm -f conftest.er1 conftest.err 3322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3323 test $ac_status = 0; } 3324 done 3325 3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3327 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3328 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3329 $as_echo_n "(cached) " >&6 3330 else 3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3021 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3022 ac_compiler=`set X $ac_compile; echo $2` 3023 { (ac_try="$ac_compiler --version >&5" 3024 case "(($ac_try" in 3025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3026 *) ac_try_echo=$ac_try;; 3027 esac 3028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3029 (eval "$ac_compiler --version >&5") 2>&5 3030 ac_status=$? 3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3032 (exit $ac_status); } 3033 { (ac_try="$ac_compiler -v >&5" 3034 case "(($ac_try" in 3035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3036 *) ac_try_echo=$ac_try;; 3037 esac 3038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3039 (eval "$ac_compiler -v >&5") 2>&5 3040 ac_status=$? 3041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3042 (exit $ac_status); } 3043 { (ac_try="$ac_compiler -V >&5" 3044 case "(($ac_try" in 3045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3046 *) ac_try_echo=$ac_try;; 3047 esac 3048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3049 (eval "$ac_compiler -V >&5") 2>&5 3050 ac_status=$? 3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3052 (exit $ac_status); } 3053 3054 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3055 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3056 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3057 echo $ECHO_N "(cached) $ECHO_C" >&6 3058 else 3059 cat >conftest.$ac_ext <<_ACEOF 3060 /* confdefs.h. */ 3061 _ACEOF 3062 cat confdefs.h >>conftest.$ac_ext 3063 cat >>conftest.$ac_ext <<_ACEOF 3332 3064 /* end confdefs.h. */ 3333 3065 … … 3343 3075 } 3344 3076 _ACEOF 3345 if ac_fn_cxx_try_compile "$LINENO"; then : 3077 rm -f conftest.$ac_objext 3078 if { (ac_try="$ac_compile" 3079 case "(($ac_try" in 3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3081 *) ac_try_echo=$ac_try;; 3082 esac 3083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3084 (eval "$ac_compile") 2>conftest.er1 3085 ac_status=$? 3086 grep -v '^ *+' conftest.er1 >conftest.err 3087 rm -f conftest.er1 3088 cat conftest.err >&5 3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3090 (exit $ac_status); } && { 3091 test -z "$ac_cxx_werror_flag" || 3092 test ! -s conftest.err 3093 } && test -s conftest.$ac_objext; then 3346 3094 ac_compiler_gnu=yes 3347 3095 else 3348 ac_compiler_gnu=no 3349 fi 3096 echo "$as_me: failed program was:" >&5 3097 sed 's/^/| /' conftest.$ac_ext >&5 3098 3099 ac_compiler_gnu=no 3100 fi 3101 3350 3102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3351 3103 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3352 3104 3353 3105 fi 3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3355 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3356 if test $ac_compiler_gnu = yes; then 3357 GXX=yes 3358 else 3359 GXX= 3360 fi 3106 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3107 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3108 GXX=`test $ac_compiler_gnu = yes && echo yes` 3361 3109 ac_test_CXXFLAGS=${CXXFLAGS+set} 3362 3110 ac_save_CXXFLAGS=$CXXFLAGS 3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&53364 $as_echo_n "checking whether $CXX accepts -g..." >&6; }3365 if test "${ac_cv_prog_cxx_g+set}" = set; then :3366 $as_echo_n "(cached)" >&63111 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3112 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 3113 if test "${ac_cv_prog_cxx_g+set}" = set; then 3114 echo $ECHO_N "(cached) $ECHO_C" >&6 3367 3115 else 3368 3116 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3370 3118 ac_cv_prog_cxx_g=no 3371 3119 CXXFLAGS="-g" 3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3120 cat >conftest.$ac_ext <<_ACEOF 3121 /* confdefs.h. */ 3122 _ACEOF 3123 cat confdefs.h >>conftest.$ac_ext 3124 cat >>conftest.$ac_ext <<_ACEOF 3373 3125 /* end confdefs.h. */ 3374 3126 … … 3381 3133 } 3382 3134 _ACEOF 3383 if ac_fn_cxx_try_compile "$LINENO"; then : 3135 rm -f conftest.$ac_objext 3136 if { (ac_try="$ac_compile" 3137 case "(($ac_try" in 3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3139 *) ac_try_echo=$ac_try;; 3140 esac 3141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3142 (eval "$ac_compile") 2>conftest.er1 3143 ac_status=$? 3144 grep -v '^ *+' conftest.er1 >conftest.err 3145 rm -f conftest.er1 3146 cat conftest.err >&5 3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3148 (exit $ac_status); } && { 3149 test -z "$ac_cxx_werror_flag" || 3150 test ! -s conftest.err 3151 } && test -s conftest.$ac_objext; then 3384 3152 ac_cv_prog_cxx_g=yes 3385 3153 else 3386 CXXFLAGS="" 3387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3154 echo "$as_me: failed program was:" >&5 3155 sed 's/^/| /' conftest.$ac_ext >&5 3156 3157 CXXFLAGS="" 3158 cat >conftest.$ac_ext <<_ACEOF 3159 /* confdefs.h. */ 3160 _ACEOF 3161 cat confdefs.h >>conftest.$ac_ext 3162 cat >>conftest.$ac_ext <<_ACEOF 3388 3163 /* end confdefs.h. */ 3389 3164 … … 3396 3171 } 3397 3172 _ACEOF 3398 if ac_fn_cxx_try_compile "$LINENO"; then : 3399 3400 else 3401 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3173 rm -f conftest.$ac_objext 3174 if { (ac_try="$ac_compile" 3175 case "(($ac_try" in 3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3177 *) ac_try_echo=$ac_try;; 3178 esac 3179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3180 (eval "$ac_compile") 2>conftest.er1 3181 ac_status=$? 3182 grep -v '^ *+' conftest.er1 >conftest.err 3183 rm -f conftest.er1 3184 cat conftest.err >&5 3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3186 (exit $ac_status); } && { 3187 test -z "$ac_cxx_werror_flag" || 3188 test ! -s conftest.err 3189 } && test -s conftest.$ac_objext; then 3190 : 3191 else 3192 echo "$as_me: failed program was:" >&5 3193 sed 's/^/| /' conftest.$ac_ext >&5 3194 3195 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3402 3196 CXXFLAGS="-g" 3403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3197 cat >conftest.$ac_ext <<_ACEOF 3198 /* confdefs.h. */ 3199 _ACEOF 3200 cat confdefs.h >>conftest.$ac_ext 3201 cat >>conftest.$ac_ext <<_ACEOF 3404 3202 /* end confdefs.h. */ 3405 3203 … … 3412 3210 } 3413 3211 _ACEOF 3414 if ac_fn_cxx_try_compile "$LINENO"; then : 3212 rm -f conftest.$ac_objext 3213 if { (ac_try="$ac_compile" 3214 case "(($ac_try" in 3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3216 *) ac_try_echo=$ac_try;; 3217 esac 3218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3219 (eval "$ac_compile") 2>conftest.er1 3220 ac_status=$? 3221 grep -v '^ *+' conftest.er1 >conftest.err 3222 rm -f conftest.er1 3223 cat conftest.err >&5 3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3225 (exit $ac_status); } && { 3226 test -z "$ac_cxx_werror_flag" || 3227 test ! -s conftest.err 3228 } && test -s conftest.$ac_objext; then 3415 3229 ac_cv_prog_cxx_g=yes 3416 fi 3230 else 3231 echo "$as_me: failed program was:" >&5 3232 sed 's/^/| /' conftest.$ac_ext >&5 3233 3234 3235 fi 3236 3417 3237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3418 3238 fi 3239 3419 3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3420 3241 fi 3242 3421 3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3422 3244 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3423 3245 fi 3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&53425 $as_echo "$ac_cv_prog_cxx_g" >&6; }3246 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3247 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 3426 3248 if test "$ac_test_CXXFLAGS" = set; then 3427 3249 CXXFLAGS=$ac_save_CXXFLAGS … … 3501 3323 3502 3324 3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3504 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3505 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 3506 $as_echo_n "(cached) " >&6 3325 3326 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3327 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 3328 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 3329 echo $ECHO_N "(cached) $ECHO_C" >&6 3507 3330 else 3508 3331 ac_check_lib_save_LIBS=$LIBS 3509 3332 LIBS="-lpthread $LIBS" 3510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3333 cat >conftest.$ac_ext <<_ACEOF 3334 /* confdefs.h. */ 3335 _ACEOF 3336 cat confdefs.h >>conftest.$ac_ext 3337 cat >>conftest.$ac_ext <<_ACEOF 3511 3338 /* end confdefs.h. */ 3512 3339 … … 3526 3353 } 3527 3354 _ACEOF 3528 if ac_fn_c_try_link "$LINENO"; then : 3355 rm -f conftest.$ac_objext conftest$ac_exeext 3356 if { (ac_try="$ac_link" 3357 case "(($ac_try" in 3358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3359 *) ac_try_echo=$ac_try;; 3360 esac 3361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3362 (eval "$ac_link") 2>conftest.er1 3363 ac_status=$? 3364 grep -v '^ *+' conftest.er1 >conftest.err 3365 rm -f conftest.er1 3366 cat conftest.err >&5 3367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3368 (exit $ac_status); } && { 3369 test -z "$ac_c_werror_flag" || 3370 test ! -s conftest.err 3371 } && test -s conftest$ac_exeext && 3372 $as_test_x conftest$ac_exeext; then 3529 3373 ac_cv_lib_pthread_pthread_create=yes 3530 3374 else 3531 ac_cv_lib_pthread_pthread_create=no 3532 fi 3533 rm -f core conftest.err conftest.$ac_objext \ 3534 conftest$ac_exeext conftest.$ac_ext 3375 echo "$as_me: failed program was:" >&5 3376 sed 's/^/| /' conftest.$ac_ext >&5 3377 3378 ac_cv_lib_pthread_pthread_create=no 3379 fi 3380 3381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3382 conftest$ac_exeext conftest.$ac_ext 3535 3383 LIBS=$ac_check_lib_save_LIBS 3536 3384 fi 3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&53538 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }3539 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :3385 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 3386 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 3387 if test $ac_cv_lib_pthread_pthread_create = yes; then 3540 3388 cat >>confdefs.h <<_ACEOF 3541 3389 #define HAVE_LIBPTHREAD 1 … … 3546 3394 fi 3547 3395 3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 3549 $as_echo_n "checking for puts in -lwsock32... " >&6; } 3550 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 3551 $as_echo_n "(cached) " >&6 3396 3397 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3398 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 3399 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 3400 echo $ECHO_N "(cached) $ECHO_C" >&6 3552 3401 else 3553 3402 ac_check_lib_save_LIBS=$LIBS 3554 3403 LIBS="-lwsock32 $LIBS" 3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3404 cat >conftest.$ac_ext <<_ACEOF 3405 /* confdefs.h. */ 3406 _ACEOF 3407 cat confdefs.h >>conftest.$ac_ext 3408 cat >>conftest.$ac_ext <<_ACEOF 3556 3409 /* end confdefs.h. */ 3557 3410 … … 3571 3424 } 3572 3425 _ACEOF 3573 if ac_fn_c_try_link "$LINENO"; then : 3426 rm -f conftest.$ac_objext conftest$ac_exeext 3427 if { (ac_try="$ac_link" 3428 case "(($ac_try" in 3429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3430 *) ac_try_echo=$ac_try;; 3431 esac 3432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3433 (eval "$ac_link") 2>conftest.er1 3434 ac_status=$? 3435 grep -v '^ *+' conftest.er1 >conftest.err 3436 rm -f conftest.er1 3437 cat conftest.err >&5 3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3439 (exit $ac_status); } && { 3440 test -z "$ac_c_werror_flag" || 3441 test ! -s conftest.err 3442 } && test -s conftest$ac_exeext && 3443 $as_test_x conftest$ac_exeext; then 3574 3444 ac_cv_lib_wsock32_puts=yes 3575 3445 else 3576 ac_cv_lib_wsock32_puts=no 3577 fi 3578 rm -f core conftest.err conftest.$ac_objext \ 3579 conftest$ac_exeext conftest.$ac_ext 3446 echo "$as_me: failed program was:" >&5 3447 sed 's/^/| /' conftest.$ac_ext >&5 3448 3449 ac_cv_lib_wsock32_puts=no 3450 fi 3451 3452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3453 conftest$ac_exeext conftest.$ac_ext 3580 3454 LIBS=$ac_check_lib_save_LIBS 3581 3455 fi 3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&53583 $as_echo "$ac_cv_lib_wsock32_puts" >&6; }3584 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then :3456 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 3457 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 3458 if test $ac_cv_lib_wsock32_puts = yes; then 3585 3459 cat >>confdefs.h <<_ACEOF 3586 3460 #define HAVE_LIBWSOCK32 1 … … 3591 3465 fi 3592 3466 3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 3594 $as_echo_n "checking for puts in -lws2_32... " >&6; } 3595 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 3596 $as_echo_n "(cached) " >&6 3467 3468 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3469 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 3470 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 3471 echo $ECHO_N "(cached) $ECHO_C" >&6 3597 3472 else 3598 3473 ac_check_lib_save_LIBS=$LIBS 3599 3474 LIBS="-lws2_32 $LIBS" 3600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3475 cat >conftest.$ac_ext <<_ACEOF 3476 /* confdefs.h. */ 3477 _ACEOF 3478 cat confdefs.h >>conftest.$ac_ext 3479 cat >>conftest.$ac_ext <<_ACEOF 3601 3480 /* end confdefs.h. */ 3602 3481 … … 3616 3495 } 3617 3496 _ACEOF 3618 if ac_fn_c_try_link "$LINENO"; then : 3497 rm -f conftest.$ac_objext conftest$ac_exeext 3498 if { (ac_try="$ac_link" 3499 case "(($ac_try" in 3500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3501 *) ac_try_echo=$ac_try;; 3502 esac 3503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3504 (eval "$ac_link") 2>conftest.er1 3505 ac_status=$? 3506 grep -v '^ *+' conftest.er1 >conftest.err 3507 rm -f conftest.er1 3508 cat conftest.err >&5 3509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3510 (exit $ac_status); } && { 3511 test -z "$ac_c_werror_flag" || 3512 test ! -s conftest.err 3513 } && test -s conftest$ac_exeext && 3514 $as_test_x conftest$ac_exeext; then 3619 3515 ac_cv_lib_ws2_32_puts=yes 3620 3516 else 3621 ac_cv_lib_ws2_32_puts=no 3622 fi 3623 rm -f core conftest.err conftest.$ac_objext \ 3624 conftest$ac_exeext conftest.$ac_ext 3517 echo "$as_me: failed program was:" >&5 3518 sed 's/^/| /' conftest.$ac_ext >&5 3519 3520 ac_cv_lib_ws2_32_puts=no 3521 fi 3522 3523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3524 conftest$ac_exeext conftest.$ac_ext 3625 3525 LIBS=$ac_check_lib_save_LIBS 3626 3526 fi 3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&53628 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; }3629 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then :3527 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 3528 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 3529 if test $ac_cv_lib_ws2_32_puts = yes; then 3630 3530 cat >>confdefs.h <<_ACEOF 3631 3531 #define HAVE_LIBWS2_32 1 … … 3636 3536 fi 3637 3537 3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 3639 $as_echo_n "checking for puts in -lole32... " >&6; } 3640 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 3641 $as_echo_n "(cached) " >&6 3538 3539 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3540 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 3541 if test "${ac_cv_lib_ole32_puts+set}" = set; then 3542 echo $ECHO_N "(cached) $ECHO_C" >&6 3642 3543 else 3643 3544 ac_check_lib_save_LIBS=$LIBS 3644 3545 LIBS="-lole32 $LIBS" 3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3546 cat >conftest.$ac_ext <<_ACEOF 3547 /* confdefs.h. */ 3548 _ACEOF 3549 cat confdefs.h >>conftest.$ac_ext 3550 cat >>conftest.$ac_ext <<_ACEOF 3646 3551 /* end confdefs.h. */ 3647 3552 … … 3661 3566 } 3662 3567 _ACEOF 3663 if ac_fn_c_try_link "$LINENO"; then : 3568 rm -f conftest.$ac_objext conftest$ac_exeext 3569 if { (ac_try="$ac_link" 3570 case "(($ac_try" in 3571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3572 *) ac_try_echo=$ac_try;; 3573 esac 3574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3575 (eval "$ac_link") 2>conftest.er1 3576 ac_status=$? 3577 grep -v '^ *+' conftest.er1 >conftest.err 3578 rm -f conftest.er1 3579 cat conftest.err >&5 3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3581 (exit $ac_status); } && { 3582 test -z "$ac_c_werror_flag" || 3583 test ! -s conftest.err 3584 } && test -s conftest$ac_exeext && 3585 $as_test_x conftest$ac_exeext; then 3664 3586 ac_cv_lib_ole32_puts=yes 3665 3587 else 3666 ac_cv_lib_ole32_puts=no 3667 fi 3668 rm -f core conftest.err conftest.$ac_objext \ 3669 conftest$ac_exeext conftest.$ac_ext 3588 echo "$as_me: failed program was:" >&5 3589 sed 's/^/| /' conftest.$ac_ext >&5 3590 3591 ac_cv_lib_ole32_puts=no 3592 fi 3593 3594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3595 conftest$ac_exeext conftest.$ac_ext 3670 3596 LIBS=$ac_check_lib_save_LIBS 3671 3597 fi 3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&53673 $as_echo "$ac_cv_lib_ole32_puts" >&6; }3674 if test "x$ac_cv_lib_ole32_puts" = x""yes; then :3598 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 3599 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 3600 if test $ac_cv_lib_ole32_puts = yes; then 3675 3601 cat >>confdefs.h <<_ACEOF 3676 3602 #define HAVE_LIBOLE32 1 … … 3681 3607 fi 3682 3608 3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 3684 $as_echo_n "checking for puts in -lwinmm... " >&6; } 3685 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 3686 $as_echo_n "(cached) " >&6 3609 3610 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3611 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 3612 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3613 echo $ECHO_N "(cached) $ECHO_C" >&6 3687 3614 else 3688 3615 ac_check_lib_save_LIBS=$LIBS 3689 3616 LIBS="-lwinmm $LIBS" 3690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3617 cat >conftest.$ac_ext <<_ACEOF 3618 /* confdefs.h. */ 3619 _ACEOF 3620 cat confdefs.h >>conftest.$ac_ext 3621 cat >>conftest.$ac_ext <<_ACEOF 3691 3622 /* end confdefs.h. */ 3692 3623 … … 3706 3637 } 3707 3638 _ACEOF 3708 if ac_fn_c_try_link "$LINENO"; then : 3639 rm -f conftest.$ac_objext conftest$ac_exeext 3640 if { (ac_try="$ac_link" 3641 case "(($ac_try" in 3642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3643 *) ac_try_echo=$ac_try;; 3644 esac 3645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3646 (eval "$ac_link") 2>conftest.er1 3647 ac_status=$? 3648 grep -v '^ *+' conftest.er1 >conftest.err 3649 rm -f conftest.er1 3650 cat conftest.err >&5 3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3652 (exit $ac_status); } && { 3653 test -z "$ac_c_werror_flag" || 3654 test ! -s conftest.err 3655 } && test -s conftest$ac_exeext && 3656 $as_test_x conftest$ac_exeext; then 3709 3657 ac_cv_lib_winmm_puts=yes 3710 3658 else 3711 ac_cv_lib_winmm_puts=no 3712 fi 3713 rm -f core conftest.err conftest.$ac_objext \ 3714 conftest$ac_exeext conftest.$ac_ext 3659 echo "$as_me: failed program was:" >&5 3660 sed 's/^/| /' conftest.$ac_ext >&5 3661 3662 ac_cv_lib_winmm_puts=no 3663 fi 3664 3665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3666 conftest$ac_exeext conftest.$ac_ext 3715 3667 LIBS=$ac_check_lib_save_LIBS 3716 3668 fi 3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&53718 $as_echo "$ac_cv_lib_winmm_puts" >&6; }3719 if test "x$ac_cv_lib_winmm_puts" = x""yes; then :3669 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 3670 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 3671 if test $ac_cv_lib_winmm_puts = yes; then 3720 3672 cat >>confdefs.h <<_ACEOF 3721 3673 #define HAVE_LIBWINMM 1 … … 3726 3678 fi 3727 3679 3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 3729 $as_echo_n "checking for puts in -lsocket... " >&6; } 3730 if test "${ac_cv_lib_socket_puts+set}" = set; then : 3731 $as_echo_n "(cached) " >&6 3680 3681 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3682 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 3683 if test "${ac_cv_lib_socket_puts+set}" = set; then 3684 echo $ECHO_N "(cached) $ECHO_C" >&6 3732 3685 else 3733 3686 ac_check_lib_save_LIBS=$LIBS 3734 3687 LIBS="-lsocket $LIBS" 3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3688 cat >conftest.$ac_ext <<_ACEOF 3689 /* confdefs.h. */ 3690 _ACEOF 3691 cat confdefs.h >>conftest.$ac_ext 3692 cat >>conftest.$ac_ext <<_ACEOF 3736 3693 /* end confdefs.h. */ 3737 3694 … … 3751 3708 } 3752 3709 _ACEOF 3753 if ac_fn_c_try_link "$LINENO"; then : 3710 rm -f conftest.$ac_objext conftest$ac_exeext 3711 if { (ac_try="$ac_link" 3712 case "(($ac_try" in 3713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3714 *) ac_try_echo=$ac_try;; 3715 esac 3716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3717 (eval "$ac_link") 2>conftest.er1 3718 ac_status=$? 3719 grep -v '^ *+' conftest.er1 >conftest.err 3720 rm -f conftest.er1 3721 cat conftest.err >&5 3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3723 (exit $ac_status); } && { 3724 test -z "$ac_c_werror_flag" || 3725 test ! -s conftest.err 3726 } && test -s conftest$ac_exeext && 3727 $as_test_x conftest$ac_exeext; then 3754 3728 ac_cv_lib_socket_puts=yes 3755 3729 else 3756 ac_cv_lib_socket_puts=no 3757 fi 3758 rm -f core conftest.err conftest.$ac_objext \ 3759 conftest$ac_exeext conftest.$ac_ext 3730 echo "$as_me: failed program was:" >&5 3731 sed 's/^/| /' conftest.$ac_ext >&5 3732 3733 ac_cv_lib_socket_puts=no 3734 fi 3735 3736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3737 conftest$ac_exeext conftest.$ac_ext 3760 3738 LIBS=$ac_check_lib_save_LIBS 3761 3739 fi 3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&53763 $as_echo "$ac_cv_lib_socket_puts" >&6; }3764 if test "x$ac_cv_lib_socket_puts" = x""yes; then :3740 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 3741 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 3742 if test $ac_cv_lib_socket_puts = yes; then 3765 3743 cat >>confdefs.h <<_ACEOF 3766 3744 #define HAVE_LIBSOCKET 1 … … 3771 3749 fi 3772 3750 3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 3774 $as_echo_n "checking for puts in -lrt... " >&6; } 3775 if test "${ac_cv_lib_rt_puts+set}" = set; then : 3776 $as_echo_n "(cached) " >&6 3751 3752 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3753 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 3754 if test "${ac_cv_lib_rt_puts+set}" = set; then 3755 echo $ECHO_N "(cached) $ECHO_C" >&6 3777 3756 else 3778 3757 ac_check_lib_save_LIBS=$LIBS 3779 3758 LIBS="-lrt $LIBS" 3780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3759 cat >conftest.$ac_ext <<_ACEOF 3760 /* confdefs.h. */ 3761 _ACEOF 3762 cat confdefs.h >>conftest.$ac_ext 3763 cat >>conftest.$ac_ext <<_ACEOF 3781 3764 /* end confdefs.h. */ 3782 3765 … … 3796 3779 } 3797 3780 _ACEOF 3798 if ac_fn_c_try_link "$LINENO"; then : 3781 rm -f conftest.$ac_objext conftest$ac_exeext 3782 if { (ac_try="$ac_link" 3783 case "(($ac_try" in 3784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3785 *) ac_try_echo=$ac_try;; 3786 esac 3787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3788 (eval "$ac_link") 2>conftest.er1 3789 ac_status=$? 3790 grep -v '^ *+' conftest.er1 >conftest.err 3791 rm -f conftest.er1 3792 cat conftest.err >&5 3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3794 (exit $ac_status); } && { 3795 test -z "$ac_c_werror_flag" || 3796 test ! -s conftest.err 3797 } && test -s conftest$ac_exeext && 3798 $as_test_x conftest$ac_exeext; then 3799 3799 ac_cv_lib_rt_puts=yes 3800 3800 else 3801 ac_cv_lib_rt_puts=no 3802 fi 3803 rm -f core conftest.err conftest.$ac_objext \ 3804 conftest$ac_exeext conftest.$ac_ext 3801 echo "$as_me: failed program was:" >&5 3802 sed 's/^/| /' conftest.$ac_ext >&5 3803 3804 ac_cv_lib_rt_puts=no 3805 fi 3806 3807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3808 conftest$ac_exeext conftest.$ac_ext 3805 3809 LIBS=$ac_check_lib_save_LIBS 3806 3810 fi 3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&53808 $as_echo "$ac_cv_lib_rt_puts" >&6; }3809 if test "x$ac_cv_lib_rt_puts" = x""yes; then :3811 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 3812 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 3813 if test $ac_cv_lib_rt_puts = yes; then 3810 3814 cat >>confdefs.h <<_ACEOF 3811 3815 #define HAVE_LIBRT 1 … … 3816 3820 fi 3817 3821 3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 3819 $as_echo_n "checking for puts in -lnsl... " >&6; } 3820 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 3821 $as_echo_n "(cached) " >&6 3822 3823 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3824 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 3825 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3826 echo $ECHO_N "(cached) $ECHO_C" >&6 3822 3827 else 3823 3828 ac_check_lib_save_LIBS=$LIBS 3824 3829 LIBS="-lnsl $LIBS" 3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3830 cat >conftest.$ac_ext <<_ACEOF 3831 /* confdefs.h. */ 3832 _ACEOF 3833 cat confdefs.h >>conftest.$ac_ext 3834 cat >>conftest.$ac_ext <<_ACEOF 3826 3835 /* end confdefs.h. */ 3827 3836 … … 3841 3850 } 3842 3851 _ACEOF 3843 if ac_fn_c_try_link "$LINENO"; then : 3852 rm -f conftest.$ac_objext conftest$ac_exeext 3853 if { (ac_try="$ac_link" 3854 case "(($ac_try" in 3855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3856 *) ac_try_echo=$ac_try;; 3857 esac 3858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3859 (eval "$ac_link") 2>conftest.er1 3860 ac_status=$? 3861 grep -v '^ *+' conftest.er1 >conftest.err 3862 rm -f conftest.er1 3863 cat conftest.err >&5 3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3865 (exit $ac_status); } && { 3866 test -z "$ac_c_werror_flag" || 3867 test ! -s conftest.err 3868 } && test -s conftest$ac_exeext && 3869 $as_test_x conftest$ac_exeext; then 3844 3870 ac_cv_lib_nsl_puts=yes 3845 3871 else 3846 ac_cv_lib_nsl_puts=no 3847 fi 3848 rm -f core conftest.err conftest.$ac_objext \ 3849 conftest$ac_exeext conftest.$ac_ext 3872 echo "$as_me: failed program was:" >&5 3873 sed 's/^/| /' conftest.$ac_ext >&5 3874 3875 ac_cv_lib_nsl_puts=no 3876 fi 3877 3878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3879 conftest$ac_exeext conftest.$ac_ext 3850 3880 LIBS=$ac_check_lib_save_LIBS 3851 3881 fi 3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&53853 $as_echo "$ac_cv_lib_nsl_puts" >&6; }3854 if test "x$ac_cv_lib_nsl_puts" = x""yes; then :3882 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 3883 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 3884 if test $ac_cv_lib_nsl_puts = yes; then 3855 3885 cat >>confdefs.h <<_ACEOF 3856 3886 #define HAVE_LIBNSL 1 … … 3861 3891 fi 3862 3892 3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3864 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3865 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3866 $as_echo_n "(cached) " >&6 3893 3894 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3895 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3896 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3897 echo $ECHO_N "(cached) $ECHO_C" >&6 3867 3898 else 3868 3899 ac_check_lib_save_LIBS=$LIBS 3869 3900 LIBS="-luuid $LIBS" 3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3901 cat >conftest.$ac_ext <<_ACEOF 3902 /* confdefs.h. */ 3903 _ACEOF 3904 cat confdefs.h >>conftest.$ac_ext 3905 cat >>conftest.$ac_ext <<_ACEOF 3871 3906 /* end confdefs.h. */ 3872 3907 … … 3886 3921 } 3887 3922 _ACEOF 3888 if ac_fn_c_try_link "$LINENO"; then : 3923 rm -f conftest.$ac_objext conftest$ac_exeext 3924 if { (ac_try="$ac_link" 3925 case "(($ac_try" in 3926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3927 *) ac_try_echo=$ac_try;; 3928 esac 3929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3930 (eval "$ac_link") 2>conftest.er1 3931 ac_status=$? 3932 grep -v '^ *+' conftest.er1 >conftest.err 3933 rm -f conftest.er1 3934 cat conftest.err >&5 3935 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3936 (exit $ac_status); } && { 3937 test -z "$ac_c_werror_flag" || 3938 test ! -s conftest.err 3939 } && test -s conftest$ac_exeext && 3940 $as_test_x conftest$ac_exeext; then 3889 3941 ac_cv_lib_uuid_uuid_generate=yes 3890 3942 else 3891 ac_cv_lib_uuid_uuid_generate=no 3892 fi 3893 rm -f core conftest.err conftest.$ac_objext \ 3894 conftest$ac_exeext conftest.$ac_ext 3943 echo "$as_me: failed program was:" >&5 3944 sed 's/^/| /' conftest.$ac_ext >&5 3945 3946 ac_cv_lib_uuid_uuid_generate=no 3947 fi 3948 3949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3950 conftest$ac_exeext conftest.$ac_ext 3895 3951 LIBS=$ac_check_lib_save_LIBS 3896 3952 fi 3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&53898 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }3899 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then :3953 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3954 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 3955 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3900 3956 cat >>confdefs.h <<_ACEOF 3901 3957 #define HAVE_LIBUUID 1 … … 3906 3962 fi 3907 3963 3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&53909 $as_echo_n "checking for uuid_generate in -luuid..." >&6; }3910 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then :3911 $as_echo_n "(cached)" >&63964 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3965 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3966 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3967 echo $ECHO_N "(cached) $ECHO_C" >&6 3912 3968 else 3913 3969 ac_check_lib_save_LIBS=$LIBS 3914 3970 LIBS="-luuid $LIBS" 3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3971 cat >conftest.$ac_ext <<_ACEOF 3972 /* confdefs.h. */ 3973 _ACEOF 3974 cat confdefs.h >>conftest.$ac_ext 3975 cat >>conftest.$ac_ext <<_ACEOF 3916 3976 /* end confdefs.h. */ 3917 3977 … … 3931 3991 } 3932 3992 _ACEOF 3933 if ac_fn_c_try_link "$LINENO"; then : 3993 rm -f conftest.$ac_objext conftest$ac_exeext 3994 if { (ac_try="$ac_link" 3995 case "(($ac_try" in 3996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3997 *) ac_try_echo=$ac_try;; 3998 esac 3999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4000 (eval "$ac_link") 2>conftest.er1 4001 ac_status=$? 4002 grep -v '^ *+' conftest.er1 >conftest.err 4003 rm -f conftest.er1 4004 cat conftest.err >&5 4005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4006 (exit $ac_status); } && { 4007 test -z "$ac_c_werror_flag" || 4008 test ! -s conftest.err 4009 } && test -s conftest$ac_exeext && 4010 $as_test_x conftest$ac_exeext; then 3934 4011 ac_cv_lib_uuid_uuid_generate=yes 3935 4012 else 3936 ac_cv_lib_uuid_uuid_generate=no 3937 fi 3938 rm -f core conftest.err conftest.$ac_objext \ 3939 conftest$ac_exeext conftest.$ac_ext 4013 echo "$as_me: failed program was:" >&5 4014 sed 's/^/| /' conftest.$ac_ext >&5 4015 4016 ac_cv_lib_uuid_uuid_generate=no 4017 fi 4018 4019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4020 conftest$ac_exeext conftest.$ac_ext 3940 4021 LIBS=$ac_check_lib_save_LIBS 3941 4022 fi 3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&53943 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }3944 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then :4023 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 4024 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 4025 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3945 4026 ac_has_uuid_lib=1 3946 4027 fi 3947 4028 3948 4029 3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&53950 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; }4030 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 4031 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 3951 4032 cat >>confdefs.h <<_ACEOF 3952 4033 #define PJ_M_NAME "$target_cpu" … … 3954 4035 3955 4036 3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&53957 $as_echo_n "checking memory alignment..." >&6; }4037 { echo "$as_me:$LINENO: checking memory alignment" >&5 4038 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 3958 4039 case $target in 3959 4040 sparc64-* | ia64-* | x86_64-* ) 3960 $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 3961 3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 3963 $as_echo "8 bytes" >&6; } 4041 cat >>confdefs.h <<\_ACEOF 4042 #define PJ_POOL_ALIGNMENT 8 4043 _ACEOF 4044 4045 { echo "$as_me:$LINENO: result: 8 bytes" >&5 4046 echo "${ECHO_T}8 bytes" >&6; } 3964 4047 ;; 3965 4048 * ) 3966 $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 3967 3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 3969 $as_echo "4 bytes (default)" >&6; } 4049 cat >>confdefs.h <<\_ACEOF 4050 #define PJ_POOL_ALIGNMENT 4 4051 _ACEOF 4052 4053 { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 4054 echo "${ECHO_T}4 bytes (default)" >&6; } 3970 4055 ;; 3971 4056 esac … … 3977 4062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3978 4063 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&53980 $as_echo_n "checking how to run the C preprocessor..." >&6; }4064 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4065 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3981 4066 # On Suns, sometimes $CPP names a directory. 3982 4067 if test -n "$CPP" && test -d "$CPP"; then … … 3984 4069 fi 3985 4070 if test -z "$CPP"; then 3986 if test "${ac_cv_prog_CPP+set}" = set; then :3987 $as_echo_n "(cached)" >&64071 if test "${ac_cv_prog_CPP+set}" = set; then 4072 echo $ECHO_N "(cached) $ECHO_C" >&6 3988 4073 else 3989 4074 # Double quotes because CPP needs to be expanded … … 3999 4084 # On the NeXT, cc -E runs the code through the compiler's parser, 4000 4085 # not just through cpp. "Syntax error" is here to catch this case. 4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4086 cat >conftest.$ac_ext <<_ACEOF 4087 /* confdefs.h. */ 4088 _ACEOF 4089 cat confdefs.h >>conftest.$ac_ext 4090 cat >>conftest.$ac_ext <<_ACEOF 4002 4091 /* end confdefs.h. */ 4003 4092 #ifdef __STDC__ … … 4008 4097 Syntax error 4009 4098 _ACEOF 4010 if ac_fn_c_try_cpp "$LINENO"; then : 4011 4012 else 4099 if { (ac_try="$ac_cpp conftest.$ac_ext" 4100 case "(($ac_try" in 4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4102 *) ac_try_echo=$ac_try;; 4103 esac 4104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4105 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4106 ac_status=$? 4107 grep -v '^ *+' conftest.er1 >conftest.err 4108 rm -f conftest.er1 4109 cat conftest.err >&5 4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4111 (exit $ac_status); } >/dev/null && { 4112 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4113 test ! -s conftest.err 4114 }; then 4115 : 4116 else 4117 echo "$as_me: failed program was:" >&5 4118 sed 's/^/| /' conftest.$ac_ext >&5 4119 4013 4120 # Broken: fails on valid input. 4014 4121 continue 4015 4122 fi 4123 4016 4124 rm -f conftest.err conftest.$ac_ext 4017 4125 4018 4126 # OK, works on sane cases. Now check whether nonexistent headers 4019 4127 # can be detected and how. 4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4128 cat >conftest.$ac_ext <<_ACEOF 4129 /* confdefs.h. */ 4130 _ACEOF 4131 cat confdefs.h >>conftest.$ac_ext 4132 cat >>conftest.$ac_ext <<_ACEOF 4021 4133 /* end confdefs.h. */ 4022 4134 #include <ac_nonexistent.h> 4023 4135 _ACEOF 4024 if ac_fn_c_try_cpp "$LINENO"; then : 4136 if { (ac_try="$ac_cpp conftest.$ac_ext" 4137 case "(($ac_try" in 4138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4139 *) ac_try_echo=$ac_try;; 4140 esac 4141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4142 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4143 ac_status=$? 4144 grep -v '^ *+' conftest.er1 >conftest.err 4145 rm -f conftest.er1 4146 cat conftest.err >&5 4147 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4148 (exit $ac_status); } >/dev/null && { 4149 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4150 test ! -s conftest.err 4151 }; then 4025 4152 # Broken: success on invalid input. 4026 4153 continue 4027 4154 else 4155 echo "$as_me: failed program was:" >&5 4156 sed 's/^/| /' conftest.$ac_ext >&5 4157 4028 4158 # Passes both tests. 4029 4159 ac_preproc_ok=: 4030 4160 break 4031 4161 fi 4162 4032 4163 rm -f conftest.err conftest.$ac_ext 4033 4164 … … 4035 4166 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4036 4167 rm -f conftest.err conftest.$ac_ext 4037 if $ac_preproc_ok; then :4168 if $ac_preproc_ok; then 4038 4169 break 4039 4170 fi … … 4047 4178 ac_cv_prog_CPP=$CPP 4048 4179 fi 4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&54050 $as_echo "$CPP" >&6; }4180 { echo "$as_me:$LINENO: result: $CPP" >&5 4181 echo "${ECHO_T}$CPP" >&6; } 4051 4182 ac_preproc_ok=false 4052 4183 for ac_c_preproc_warn_flag in '' yes … … 4058 4189 # On the NeXT, cc -E runs the code through the compiler's parser, 4059 4190 # not just through cpp. "Syntax error" is here to catch this case. 4060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4191 cat >conftest.$ac_ext <<_ACEOF 4192 /* confdefs.h. */ 4193 _ACEOF 4194 cat confdefs.h >>conftest.$ac_ext 4195 cat >>conftest.$ac_ext <<_ACEOF 4061 4196 /* end confdefs.h. */ 4062 4197 #ifdef __STDC__ … … 4067 4202 Syntax error 4068 4203 _ACEOF 4069 if ac_fn_c_try_cpp "$LINENO"; then : 4070 4071 else 4204 if { (ac_try="$ac_cpp conftest.$ac_ext" 4205 case "(($ac_try" in 4206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4207 *) ac_try_echo=$ac_try;; 4208 esac 4209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4210 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4211 ac_status=$? 4212 grep -v '^ *+' conftest.er1 >conftest.err 4213 rm -f conftest.er1 4214 cat conftest.err >&5 4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4216 (exit $ac_status); } >/dev/null && { 4217 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4218 test ! -s conftest.err 4219 }; then 4220 : 4221 else 4222 echo "$as_me: failed program was:" >&5 4223 sed 's/^/| /' conftest.$ac_ext >&5 4224 4072 4225 # Broken: fails on valid input. 4073 4226 continue 4074 4227 fi 4228 4075 4229 rm -f conftest.err conftest.$ac_ext 4076 4230 4077 4231 # OK, works on sane cases. Now check whether nonexistent headers 4078 4232 # can be detected and how. 4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4233 cat >conftest.$ac_ext <<_ACEOF 4234 /* confdefs.h. */ 4235 _ACEOF 4236 cat confdefs.h >>conftest.$ac_ext 4237 cat >>conftest.$ac_ext <<_ACEOF 4080 4238 /* end confdefs.h. */ 4081 4239 #include <ac_nonexistent.h> 4082 4240 _ACEOF 4083 if ac_fn_c_try_cpp "$LINENO"; then : 4241 if { (ac_try="$ac_cpp conftest.$ac_ext" 4242 case "(($ac_try" in 4243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4244 *) ac_try_echo=$ac_try;; 4245 esac 4246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4247 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4248 ac_status=$? 4249 grep -v '^ *+' conftest.er1 >conftest.err 4250 rm -f conftest.er1 4251 cat conftest.err >&5 4252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4253 (exit $ac_status); } >/dev/null && { 4254 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4255 test ! -s conftest.err 4256 }; then 4084 4257 # Broken: success on invalid input. 4085 4258 continue 4086 4259 else 4260 echo "$as_me: failed program was:" >&5 4261 sed 's/^/| /' conftest.$ac_ext >&5 4262 4087 4263 # Passes both tests. 4088 4264 ac_preproc_ok=: 4089 4265 break 4090 4266 fi 4267 4091 4268 rm -f conftest.err conftest.$ac_ext 4092 4269 … … 4094 4271 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4095 4272 rm -f conftest.err conftest.$ac_ext 4096 if $ac_preproc_ok; then : 4097 4098 else 4099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4101 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4102 See \`config.log' for more details." "$LINENO" 5; } 4273 if $ac_preproc_ok; then 4274 : 4275 else 4276 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4277 See \`config.log' for more details." >&5 4278 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4279 See \`config.log' for more details." >&2;} 4280 { (exit 1); exit 1; }; } 4103 4281 fi 4104 4282 … … 4110 4288 4111 4289 4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4113 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4114 if test "${ac_cv_path_GREP+set}" = set; then : 4115 $as_echo_n "(cached) " >&6 4116 else 4117 if test -z "$GREP"; then 4290 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4291 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4292 if test "${ac_cv_path_GREP+set}" = set; then 4293 echo $ECHO_N "(cached) $ECHO_C" >&6 4294 else 4295 # Extract the first word of "grep ggrep" to use in msg output 4296 if test -z "$GREP"; then 4297 set dummy grep ggrep; ac_prog_name=$2 4298 if test "${ac_cv_path_GREP+set}" = set; then 4299 echo $ECHO_N "(cached) $ECHO_C" >&6 4300 else 4118 4301 ac_path_GREP_found=false 4119 4120 4302 # Loop through the user's path and test for each of PROGNAME-LIST 4303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4121 4304 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4122 4305 do 4123 4306 IFS=$as_save_IFS 4124 4307 test -z "$as_dir" && as_dir=. 4125 4126 4127 4128 4129 # Check for GNU ac_path_GREP and select it if it is found.4308 for ac_prog in grep ggrep; do 4309 for ac_exec_ext in '' $ac_executable_extensions; do 4310 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4311 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4312 # Check for GNU ac_path_GREP and select it if it is found. 4130 4313 # Check for GNU $ac_path_GREP 4131 4314 case `"$ac_path_GREP" --version 2>&1` in … … 4134 4317 *) 4135 4318 ac_count=0 4136 $as_echo_n 0123456789>"conftest.in"4319 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4137 4320 while : 4138 4321 do … … 4140 4323 mv "conftest.tmp" "conftest.in" 4141 4324 cp "conftest.in" "conftest.nl" 4142 $as_echo 'GREP' >> "conftest.nl"4325 echo 'GREP' >> "conftest.nl" 4143 4326 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4144 4327 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4145 a s_fn_arith $ac_count + 1 && ac_count=$as_val4328 ac_count=`expr $ac_count + 1` 4146 4329 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4147 4330 # Best one so far, save it but keep looking for a better one … … 4155 4338 esac 4156 4339 4157 $ac_path_GREP_found && break 3 4158 done4340 4341 $ac_path_GREP_found && break 3 4159 4342 done 4160 done 4343 done 4344 4345 done 4161 4346 IFS=$as_save_IFS 4162 if test -z "$ac_cv_path_GREP"; then 4163 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4164 fi 4347 4348 4349 fi 4350 4351 GREP="$ac_cv_path_GREP" 4352 if test -z "$GREP"; then 4353 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4354 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4355 { (exit 1); exit 1; }; } 4356 fi 4357 4165 4358 else 4166 4359 ac_cv_path_GREP=$GREP 4167 4360 fi 4168 4361 4169 fi 4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4171 $as_echo "$ac_cv_path_GREP" >&6; } 4362 4363 fi 4364 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4365 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4172 4366 GREP="$ac_cv_path_GREP" 4173 4367 4174 4368 4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&54176 $as_echo_n "checking for egrep..." >&6; }4177 if test "${ac_cv_path_EGREP+set}" = set; then :4178 $as_echo_n "(cached)" >&64369 { echo "$as_me:$LINENO: checking for egrep" >&5 4370 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4371 if test "${ac_cv_path_EGREP+set}" = set; then 4372 echo $ECHO_N "(cached) $ECHO_C" >&6 4179 4373 else 4180 4374 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4181 4375 then ac_cv_path_EGREP="$GREP -E" 4182 4376 else 4183 if test -z "$EGREP"; then 4377 # Extract the first word of "egrep" to use in msg output 4378 if test -z "$EGREP"; then 4379 set dummy egrep; ac_prog_name=$2 4380 if test "${ac_cv_path_EGREP+set}" = set; then 4381 echo $ECHO_N "(cached) $ECHO_C" >&6 4382 else 4184 4383 ac_path_EGREP_found=false 4185 4186 4384 # Loop through the user's path and test for each of PROGNAME-LIST 4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4187 4386 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4188 4387 do 4189 4388 IFS=$as_save_IFS 4190 4389 test -z "$as_dir" && as_dir=. 4191 4192 4193 4194 4195 # Check for GNU ac_path_EGREP and select it if it is found.4390 for ac_prog in egrep; do 4391 for ac_exec_ext in '' $ac_executable_extensions; do 4392 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4393 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4394 # Check for GNU ac_path_EGREP and select it if it is found. 4196 4395 # Check for GNU $ac_path_EGREP 4197 4396 case `"$ac_path_EGREP" --version 2>&1` in … … 4200 4399 *) 4201 4400 ac_count=0 4202 $as_echo_n 0123456789>"conftest.in"4401 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4203 4402 while : 4204 4403 do … … 4206 4405 mv "conftest.tmp" "conftest.in" 4207 4406 cp "conftest.in" "conftest.nl" 4208 $as_echo 'EGREP' >> "conftest.nl"4407 echo 'EGREP' >> "conftest.nl" 4209 4408 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4210 4409 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4211 a s_fn_arith $ac_count + 1 && ac_count=$as_val4410 ac_count=`expr $ac_count + 1` 4212 4411 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4213 4412 # Best one so far, save it but keep looking for a better one … … 4221 4420 esac 4222 4421 4223 $ac_path_EGREP_found && break 3 4224 done4422 4423 $ac_path_EGREP_found && break 3 4225 4424 done 4226 done 4425 done 4426 4427 done 4227 4428 IFS=$as_save_IFS 4228 if test -z "$ac_cv_path_EGREP"; then 4229 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4230 fi 4429 4430 4431 fi 4432 4433 EGREP="$ac_cv_path_EGREP" 4434 if test -z "$EGREP"; then 4435 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4436 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4437 { (exit 1); exit 1; }; } 4438 fi 4439 4231 4440 else 4232 4441 ac_cv_path_EGREP=$EGREP 4233 4442 fi 4234 4443 4444 4235 4445 fi 4236 4446 fi 4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&54238 $as_echo "$ac_cv_path_EGREP" >&6; }4447 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4448 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4239 4449 EGREP="$ac_cv_path_EGREP" 4240 4450 4241 4451 4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4243 $as_echo_n "checking for ANSI C header files... " >&6; } 4244 if test "${ac_cv_header_stdc+set}" = set; then : 4245 $as_echo_n "(cached) " >&6 4246 else 4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4452 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4453 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4454 if test "${ac_cv_header_stdc+set}" = set; then 4455 echo $ECHO_N "(cached) $ECHO_C" >&6 4456 else 4457 cat >conftest.$ac_ext <<_ACEOF 4458 /* confdefs.h. */ 4459 _ACEOF 4460 cat confdefs.h >>conftest.$ac_ext 4461 cat >>conftest.$ac_ext <<_ACEOF 4248 4462 /* end confdefs.h. */ 4249 4463 #include <stdlib.h> … … 4260 4474 } 4261 4475 _ACEOF 4262 if ac_fn_c_try_compile "$LINENO"; then : 4476 rm -f conftest.$ac_objext 4477 if { (ac_try="$ac_compile" 4478 case "(($ac_try" in 4479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4480 *) ac_try_echo=$ac_try;; 4481 esac 4482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4483 (eval "$ac_compile") 2>conftest.er1 4484 ac_status=$? 4485 grep -v '^ *+' conftest.er1 >conftest.err 4486 rm -f conftest.er1 4487 cat conftest.err >&5 4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4489 (exit $ac_status); } && { 4490 test -z "$ac_c_werror_flag" || 4491 test ! -s conftest.err 4492 } && test -s conftest.$ac_objext; then 4263 4493 ac_cv_header_stdc=yes 4264 4494 else 4265 ac_cv_header_stdc=no 4266 fi 4495 echo "$as_me: failed program was:" >&5 4496 sed 's/^/| /' conftest.$ac_ext >&5 4497 4498 ac_cv_header_stdc=no 4499 fi 4500 4267 4501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4268 4502 4269 4503 if test $ac_cv_header_stdc = yes; then 4270 4504 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4505 cat >conftest.$ac_ext <<_ACEOF 4506 /* confdefs.h. */ 4507 _ACEOF 4508 cat confdefs.h >>conftest.$ac_ext 4509 cat >>conftest.$ac_ext <<_ACEOF 4272 4510 /* end confdefs.h. */ 4273 4511 #include <string.h> … … 4275 4513 _ACEOF 4276 4514 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4277 $EGREP "memchr" >/dev/null 2>&1; then :4278 4515 $EGREP "memchr" >/dev/null 2>&1; then 4516 : 4279 4517 else 4280 4518 ac_cv_header_stdc=no 4281 4519 fi 4282 rm -f conftest*4520 rm -f -r conftest* 4283 4521 4284 4522 fi … … 4286 4524 if test $ac_cv_header_stdc = yes; then 4287 4525 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4526 cat >conftest.$ac_ext <<_ACEOF 4527 /* confdefs.h. */ 4528 _ACEOF 4529 cat confdefs.h >>conftest.$ac_ext 4530 cat >>conftest.$ac_ext <<_ACEOF 4289 4531 /* end confdefs.h. */ 4290 4532 #include <stdlib.h> … … 4292 4534 _ACEOF 4293 4535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4294 $EGREP "free" >/dev/null 2>&1; then :4295 4536 $EGREP "free" >/dev/null 2>&1; then 4537 : 4296 4538 else 4297 4539 ac_cv_header_stdc=no 4298 4540 fi 4299 rm -f conftest*4541 rm -f -r conftest* 4300 4542 4301 4543 fi … … 4303 4545 if test $ac_cv_header_stdc = yes; then 4304 4546 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4305 if test "$cross_compiling" = yes; then :4547 if test "$cross_compiling" = yes; then 4306 4548 : 4307 4549 else 4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4550 cat >conftest.$ac_ext <<_ACEOF 4551 /* confdefs.h. */ 4552 _ACEOF 4553 cat confdefs.h >>conftest.$ac_ext 4554 cat >>conftest.$ac_ext <<_ACEOF 4309 4555 /* end confdefs.h. */ 4310 4556 #include <ctype.h> … … 4333 4579 } 4334 4580 _ACEOF 4335 if ac_fn_c_try_run "$LINENO"; then : 4336 4337 else 4338 ac_cv_header_stdc=no 4339 fi 4340 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4341 conftest.$ac_objext conftest.beam conftest.$ac_ext 4342 fi 4343 4344 fi 4345 fi 4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4347 $as_echo "$ac_cv_header_stdc" >&6; } 4581 rm -f conftest$ac_exeext 4582 if { (ac_try="$ac_link" 4583 case "(($ac_try" in 4584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4585 *) ac_try_echo=$ac_try;; 4586 esac 4587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4588 (eval "$ac_link") 2>&5 4589 ac_status=$? 4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4591 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4592 { (case "(($ac_try" in 4593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4594 *) ac_try_echo=$ac_try;; 4595 esac 4596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4597 (eval "$ac_try") 2>&5 4598 ac_status=$? 4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4600 (exit $ac_status); }; }; then 4601 : 4602 else 4603 echo "$as_me: program exited with status $ac_status" >&5 4604 echo "$as_me: failed program was:" >&5 4605 sed 's/^/| /' conftest.$ac_ext >&5 4606 4607 ( exit $ac_status ) 4608 ac_cv_header_stdc=no 4609 fi 4610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4611 fi 4612 4613 4614 fi 4615 fi 4616 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4617 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4348 4618 if test $ac_cv_header_stdc = yes; then 4349 4619 4350 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4620 cat >>confdefs.h <<\_ACEOF 4621 #define STDC_HEADERS 1 4622 _ACEOF 4351 4623 4352 4624 fi 4353 4625 4354 4626 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4627 4628 4629 4630 4631 4632 4633 4634 4635 4355 4636 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4356 4637 inttypes.h stdint.h unistd.h 4357 do : 4358 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4359 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4360 " 4361 eval as_val=\$$as_ac_Header 4362 if test "x$as_val" = x""yes; then : 4638 do 4639 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4640 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4642 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4643 echo $ECHO_N "(cached) $ECHO_C" >&6 4644 else 4645 cat >conftest.$ac_ext <<_ACEOF 4646 /* confdefs.h. */ 4647 _ACEOF 4648 cat confdefs.h >>conftest.$ac_ext 4649 cat >>conftest.$ac_ext <<_ACEOF 4650 /* end confdefs.h. */ 4651 $ac_includes_default 4652 4653 #include <$ac_header> 4654 _ACEOF 4655 rm -f conftest.$ac_objext 4656 if { (ac_try="$ac_compile" 4657 case "(($ac_try" in 4658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4659 *) ac_try_echo=$ac_try;; 4660 esac 4661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4662 (eval "$ac_compile") 2>conftest.er1 4663 ac_status=$? 4664 grep -v '^ *+' conftest.er1 >conftest.err 4665 rm -f conftest.er1 4666 cat conftest.err >&5 4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4668 (exit $ac_status); } && { 4669 test -z "$ac_c_werror_flag" || 4670 test ! -s conftest.err 4671 } && test -s conftest.$ac_objext; then 4672 eval "$as_ac_Header=yes" 4673 else 4674 echo "$as_me: failed program was:" >&5 4675 sed 's/^/| /' conftest.$ac_ext >&5 4676 4677 eval "$as_ac_Header=no" 4678 fi 4679 4680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4681 fi 4682 ac_res=`eval echo '${'$as_ac_Header'}'` 4683 { echo "$as_me:$LINENO: result: $ac_res" >&5 4684 echo "${ECHO_T}$ac_res" >&6; } 4685 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4363 4686 cat >>confdefs.h <<_ACEOF 4364 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 14687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4365 4688 _ACEOF 4366 4689 … … 4370 4693 4371 4694 4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4373 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4374 if test "${ac_cv_c_bigendian+set}" = set; then : 4375 $as_echo_n "(cached) " >&6 4376 else 4377 ac_cv_c_bigendian=unknown 4378 # See if we're dealing with a universal compiler. 4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4380 /* end confdefs.h. */ 4381 #ifndef __APPLE_CC__ 4382 not a universal capable compiler 4383 #endif 4384 typedef int dummy; 4385 4386 _ACEOF 4387 if ac_fn_c_try_compile "$LINENO"; then : 4388 4389 # Check for potential -arch flags. It is not universal unless 4390 # there are at least two -arch flags with different values. 4391 ac_arch= 4392 ac_prev= 4393 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4394 if test -n "$ac_prev"; then 4395 case $ac_word in 4396 i?86 | x86_64 | ppc | ppc64) 4397 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4398 ac_arch=$ac_word 4399 else 4400 ac_cv_c_bigendian=universal 4401 break 4402 fi 4403 ;; 4404 esac 4405 ac_prev= 4406 elif test "x$ac_word" = "x-arch"; then 4407 ac_prev=arch 4408 fi 4409 done 4410 fi 4411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4412 if test $ac_cv_c_bigendian = unknown; then 4413 # See if sys/param.h defines the BYTE_ORDER macro. 4414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4695 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4696 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4697 if test "${ac_cv_c_bigendian+set}" = set; then 4698 echo $ECHO_N "(cached) $ECHO_C" >&6 4699 else 4700 # See if sys/param.h defines the BYTE_ORDER macro. 4701 cat >conftest.$ac_ext <<_ACEOF 4702 /* confdefs.h. */ 4703 _ACEOF 4704 cat confdefs.h >>conftest.$ac_ext 4705 cat >>conftest.$ac_ext <<_ACEOF 4415 4706 /* end confdefs.h. */ 4416 4707 #include <sys/types.h> 4417 4708 #include <sys/param.h> 4418 4709 4419 4710 int 4420 4711 main () 4421 4712 { 4422 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4423 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4424 && LITTLE_ENDIAN) 4425 bogus endian macros 4426 #endif 4713 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4714 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4715 bogus endian macros 4716 #endif 4427 4717 4428 4718 ; … … 4430 4720 } 4431 4721 _ACEOF 4432 if ac_fn_c_try_compile "$LINENO"; then : 4722 rm -f conftest.$ac_objext 4723 if { (ac_try="$ac_compile" 4724 case "(($ac_try" in 4725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4726 *) ac_try_echo=$ac_try;; 4727 esac 4728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4729 (eval "$ac_compile") 2>conftest.er1 4730 ac_status=$? 4731 grep -v '^ *+' conftest.er1 >conftest.err 4732 rm -f conftest.er1 4733 cat conftest.err >&5 4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4735 (exit $ac_status); } && { 4736 test -z "$ac_c_werror_flag" || 4737 test ! -s conftest.err 4738 } && test -s conftest.$ac_objext; then 4433 4739 # It does; now see whether it defined to BIG_ENDIAN or not. 4434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4740 cat >conftest.$ac_ext <<_ACEOF 4741 /* confdefs.h. */ 4742 _ACEOF 4743 cat confdefs.h >>conftest.$ac_ext 4744 cat >>conftest.$ac_ext <<_ACEOF 4435 4745 /* end confdefs.h. */ 4436 4746 #include <sys/types.h> 4437 4747 #include <sys/param.h> 4438 4748 4439 4749 int … … 4441 4751 { 4442 4752 #if BYTE_ORDER != BIG_ENDIAN 4443 4444 4753 not big endian 4754 #endif 4445 4755 4446 4756 ; … … 4448 4758 } 4449 4759 _ACEOF 4450 if ac_fn_c_try_compile "$LINENO"; then : 4760 rm -f conftest.$ac_objext 4761 if { (ac_try="$ac_compile" 4762 case "(($ac_try" in 4763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4764 *) ac_try_echo=$ac_try;; 4765 esac 4766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4767 (eval "$ac_compile") 2>conftest.er1 4768 ac_status=$? 4769 grep -v '^ *+' conftest.er1 >conftest.err 4770 rm -f conftest.er1 4771 cat conftest.err >&5 4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4773 (exit $ac_status); } && { 4774 test -z "$ac_c_werror_flag" || 4775 test ! -s conftest.err 4776 } && test -s conftest.$ac_objext; then 4451 4777 ac_cv_c_bigendian=yes 4452 4778 else 4453 ac_cv_c_bigendian=no 4454 fi 4779 echo "$as_me: failed program was:" >&5 4780 sed 's/^/| /' conftest.$ac_ext >&5 4781 4782 ac_cv_c_bigendian=no 4783 fi 4784 4455 4785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4456 fi 4457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4458 fi 4459 if test $ac_cv_c_bigendian = unknown; then 4460 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4462 /* end confdefs.h. */ 4463 #include <limits.h> 4464 4786 else 4787 echo "$as_me: failed program was:" >&5 4788 sed 's/^/| /' conftest.$ac_ext >&5 4789 4790 # It does not; compile a test program. 4791 if test "$cross_compiling" = yes; then 4792 # try to guess the endianness by grepping values into an object file 4793 ac_cv_c_bigendian=unknown 4794 cat >conftest.$ac_ext <<_ACEOF 4795 /* confdefs.h. */ 4796 _ACEOF 4797 cat confdefs.h >>conftest.$ac_ext 4798 cat >>conftest.$ac_ext <<_ACEOF 4799 /* end confdefs.h. */ 4800 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4801 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4802 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 4803 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4804 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4805 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 4465 4806 int 4466 4807 main () 4467 4808 { 4468 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4469 bogus endian macros 4470 #endif 4471 4809 _ascii (); _ebcdic (); 4472 4810 ; 4473 4811 return 0; 4474 4812 } 4475 4813 _ACEOF 4476 if ac_fn_c_try_compile "$LINENO"; then : 4477 # It does; now see whether it defined to _BIG_ENDIAN or not. 4478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4479 /* end confdefs.h. */ 4480 #include <limits.h> 4481 4482 int 4483 main () 4484 { 4485 #ifndef _BIG_ENDIAN 4486 not big endian 4487 #endif 4488 4489 ;4490 return 0; 4491 } 4492 _ACEOF 4493 if ac_fn_c_try_compile "$LINENO"; then : 4814 rm -f conftest.$ac_objext 4815 if { (ac_try="$ac_compile" 4816 case "(($ac_try" in 4817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4818 *) ac_try_echo=$ac_try;; 4819 esac 4820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4821 (eval "$ac_compile") 2>conftest.er1 4822 ac_status=$? 4823 grep -v '^ *+' conftest.er1 >conftest.err 4824 rm -f conftest.er1 4825 cat conftest.err >&5 4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4827 (exit $ac_status); } && { 4828 test -z "$ac_c_werror_flag" || 4829 test ! -s conftest.err 4830 } && test -s conftest.$ac_objext; then 4831 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4494 4832 ac_cv_c_bigendian=yes 4495 else 4496 ac_cv_c_bigendian=no 4497 fi 4833 fi 4834 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4835 if test "$ac_cv_c_bigendian" = unknown; then 4836 ac_cv_c_bigendian=no 4837 else 4838 # finding both strings is unlikely to happen, but who knows? 4839 ac_cv_c_bigendian=unknown 4840 fi 4841 fi 4842 else 4843 echo "$as_me: failed program was:" >&5 4844 sed 's/^/| /' conftest.$ac_ext >&5 4845 4846 4847 fi 4848 4498 4849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4499 fi 4500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4501 fi 4502 if test $ac_cv_c_bigendian = unknown; then 4503 # Compile a test program. 4504 if test "$cross_compiling" = yes; then : 4505 # Try to guess by grepping values from an object file. 4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4507 /* end confdefs.h. */ 4508 short int ascii_mm[] = 4509 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4510 short int ascii_ii[] = 4511 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4512 int use_ascii (int i) { 4513 return ascii_mm[i] + ascii_ii[i]; 4514 } 4515 short int ebcdic_ii[] = 4516 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4517 short int ebcdic_mm[] = 4518 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4519 int use_ebcdic (int i) { 4520 return ebcdic_mm[i] + ebcdic_ii[i]; 4521 } 4522 extern int foo; 4523 4524 int 4525 main () 4526 { 4527 return use_ascii (foo) == use_ebcdic (foo); 4528 ; 4529 return 0; 4530 } 4531 _ACEOF 4532 if ac_fn_c_try_compile "$LINENO"; then : 4533 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4534 ac_cv_c_bigendian=yes 4535 fi 4536 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4537 if test "$ac_cv_c_bigendian" = unknown; then 4538 ac_cv_c_bigendian=no 4539 else 4540 # finding both strings is unlikely to happen, but who knows? 4541 ac_cv_c_bigendian=unknown 4542 fi 4543 fi 4544 fi 4545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4546 else 4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4850 else 4851 cat >conftest.$ac_ext <<_ACEOF 4852 /* confdefs.h. */ 4853 _ACEOF 4854 cat confdefs.h >>conftest.$ac_ext 4855 cat >>conftest.$ac_ext <<_ACEOF 4548 4856 /* end confdefs.h. */ 4549 4857 $ac_includes_default … … 4552 4860 { 4553 4861 4554 4555 4556 4557 4558 4559 4560 4561 4862 /* Are we little or big endian? From Harbison&Steele. */ 4863 union 4864 { 4865 long int l; 4866 char c[sizeof (long int)]; 4867 } u; 4868 u.l = 1; 4869 return u.c[sizeof (long int) - 1] == 1; 4562 4870 4563 4871 ; … … 4565 4873 } 4566 4874 _ACEOF 4567 if ac_fn_c_try_run "$LINENO"; then : 4875 rm -f conftest$ac_exeext 4876 if { (ac_try="$ac_link" 4877 case "(($ac_try" in 4878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4879 *) ac_try_echo=$ac_try;; 4880 esac 4881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4882 (eval "$ac_link") 2>&5 4883 ac_status=$? 4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4885 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4886 { (case "(($ac_try" in 4887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4888 *) ac_try_echo=$ac_try;; 4889 esac 4890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4891 (eval "$ac_try") 2>&5 4892 ac_status=$? 4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4894 (exit $ac_status); }; }; then 4568 4895 ac_cv_c_bigendian=no 4569 4896 else 4570 ac_cv_c_bigendian=yes 4571 fi 4572 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4573 conftest.$ac_objext conftest.beam conftest.$ac_ext 4574 fi 4575 4576 fi 4577 fi 4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4579 $as_echo "$ac_cv_c_bigendian" >&6; } 4580 case $ac_cv_c_bigendian in #( 4581 yes) 4582 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4583 ;; #( 4584 no) 4585 ;; #( 4586 universal) 4587 4588 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4589 4590 ;; #( 4591 *) 4592 as_fn_error "unknown endianness 4593 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4594 esac 4897 echo "$as_me: program exited with status $ac_status" >&5 4898 echo "$as_me: failed program was:" >&5 4899 sed 's/^/| /' conftest.$ac_ext >&5 4900 4901 ( exit $ac_status ) 4902 ac_cv_c_bigendian=yes 4903 fi 4904 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4905 fi 4906 4907 4908 fi 4909 4910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4911 fi 4912 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4913 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4914 case $ac_cv_c_bigendian in 4915 yes) 4916 4917 cat >>confdefs.h <<\_ACEOF 4918 #define WORDS_BIGENDIAN 1 4919 _ACEOF 4920 ;; 4921 no) 4922 ;; 4923 *) 4924 { { echo "$as_me:$LINENO: error: unknown endianness 4925 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4926 echo "$as_me: error: unknown endianness 4927 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4928 { (exit 1); exit 1; }; } ;; 4929 esac 4595 4930 4596 4931 4597 4932 case $target in 4598 4933 *mingw* | *cygw* | *win32* | *w32* ) 4599 $as_echo "#define PJ_WIN32 1" >>confdefs.h 4600 4601 $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 4602 4603 $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 4934 cat >>confdefs.h <<\_ACEOF 4935 #define PJ_WIN32 1 4936 _ACEOF 4937 4938 cat >>confdefs.h <<\_ACEOF 4939 #define PJ_WIN32_WINNT 0x0400 4940 _ACEOF 4941 4942 cat >>confdefs.h <<\_ACEOF 4943 #define WIN32_LEAN_AND_MEAN 1 4944 _ACEOF 4604 4945 4605 4946 ;; 4606 4947 *darwin*) 4607 $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 4948 cat >>confdefs.h <<\_ACEOF 4949 #define PJ_DARWINOS 1 4950 _ACEOF 4608 4951 4609 4952 ;; 4610 4953 *linux*) 4611 $as_echo "#define PJ_LINUX 1" >>confdefs.h 4954 cat >>confdefs.h <<\_ACEOF 4955 #define PJ_LINUX 1 4956 _ACEOF 4612 4957 4613 4958 ;; 4614 4959 *rtems*) 4615 $as_echo "#define PJ_RTEMS 1" >>confdefs.h 4960 cat >>confdefs.h <<\_ACEOF 4961 #define PJ_RTEMS 1 4962 _ACEOF 4616 4963 4617 4964 ;; 4618 4965 *sunos* | *solaris* ) 4619 $as_echo "#define PJ_SUNOS 1" >>confdefs.h 4966 cat >>confdefs.h <<\_ACEOF 4967 #define PJ_SUNOS 1 4968 _ACEOF 4620 4969 4621 4970 ;; … … 4628 4977 4629 4978 # Check whether --enable-floating-point was given. 4630 if test "${enable_floating_point+set}" = set; then :4979 if test "${enable_floating_point+set}" = set; then 4631 4980 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 4632 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 4633 4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 4635 $as_echo "Checking if floating point is disabled... yes" >&6; } 4981 cat >>confdefs.h <<\_ACEOF 4982 #define PJ_HAS_FLOATING_POINT 0 4983 _ACEOF 4984 4985 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 4986 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 4636 4987 fi 4637 4988 else 4638 4989 4639 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 4640 4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 4642 $as_echo "Checking if floating point is disabled... no" >&6; } 4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 4644 $as_echo_n "checking for fmod in -lm... " >&6; } 4645 if test "${ac_cv_lib_m_fmod+set}" = set; then : 4646 $as_echo_n "(cached) " >&6 4990 cat >>confdefs.h <<\_ACEOF 4991 #define PJ_HAS_FLOATING_POINT 1 4992 _ACEOF 4993 4994 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 4995 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 4996 4997 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 4998 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 4999 if test "${ac_cv_lib_m_fmod+set}" = set; then 5000 echo $ECHO_N "(cached) $ECHO_C" >&6 4647 5001 else 4648 5002 ac_check_lib_save_LIBS=$LIBS 4649 5003 LIBS="-lm $LIBS" 4650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5004 cat >conftest.$ac_ext <<_ACEOF 5005 /* confdefs.h. */ 5006 _ACEOF 5007 cat confdefs.h >>conftest.$ac_ext 5008 cat >>conftest.$ac_ext <<_ACEOF 4651 5009 /* end confdefs.h. */ 4652 5010 … … 4666 5024 } 4667 5025 _ACEOF 4668 if ac_fn_c_try_link "$LINENO"; then : 5026 rm -f conftest.$ac_objext conftest$ac_exeext 5027 if { (ac_try="$ac_link" 5028 case "(($ac_try" in 5029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5030 *) ac_try_echo=$ac_try;; 5031 esac 5032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5033 (eval "$ac_link") 2>conftest.er1 5034 ac_status=$? 5035 grep -v '^ *+' conftest.er1 >conftest.err 5036 rm -f conftest.er1 5037 cat conftest.err >&5 5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5039 (exit $ac_status); } && { 5040 test -z "$ac_c_werror_flag" || 5041 test ! -s conftest.err 5042 } && test -s conftest$ac_exeext && 5043 $as_test_x conftest$ac_exeext; then 4669 5044 ac_cv_lib_m_fmod=yes 4670 5045 else 4671 ac_cv_lib_m_fmod=no 4672 fi 4673 rm -f core conftest.err conftest.$ac_objext \ 4674 conftest$ac_exeext conftest.$ac_ext 5046 echo "$as_me: failed program was:" >&5 5047 sed 's/^/| /' conftest.$ac_ext >&5 5048 5049 ac_cv_lib_m_fmod=no 5050 fi 5051 5052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5053 conftest$ac_exeext conftest.$ac_ext 4675 5054 LIBS=$ac_check_lib_save_LIBS 4676 5055 fi 4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&54678 $as_echo "$ac_cv_lib_m_fmod" >&6; }4679 if test "x$ac_cv_lib_m_fmod" = x""yes; then :5056 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 5057 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 5058 if test $ac_cv_lib_m_fmod = yes; then 4680 5059 cat >>confdefs.h <<_ACEOF 4681 5060 #define HAVE_LIBM 1 … … 4691 5070 4692 5071 4693 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 4694 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 4695 $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 4696 4697 fi 4698 4699 4700 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 4701 if test "x$ac_cv_header_assert_h" = x""yes; then : 4702 $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 4703 4704 fi 4705 4706 4707 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 4708 if test "x$ac_cv_header_ctype_h" = x""yes; then : 4709 $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 5072 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5073 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5074 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5075 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5076 echo $ECHO_N "(cached) $ECHO_C" >&6 5077 fi 5078 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5079 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5080 else 5081 # Is the header compilable? 5082 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 5083 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 5084 cat >conftest.$ac_ext <<_ACEOF 5085 /* confdefs.h. */ 5086 _ACEOF 5087 cat confdefs.h >>conftest.$ac_ext 5088 cat >>conftest.$ac_ext <<_ACEOF 5089 /* end confdefs.h. */ 5090 $ac_includes_default 5091 #include <arpa/inet.h> 5092 _ACEOF 5093 rm -f conftest.$ac_objext 5094 if { (ac_try="$ac_compile" 5095 case "(($ac_try" in 5096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5097 *) ac_try_echo=$ac_try;; 5098 esac 5099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5100 (eval "$ac_compile") 2>conftest.er1 5101 ac_status=$? 5102 grep -v '^ *+' conftest.er1 >conftest.err 5103 rm -f conftest.er1 5104 cat conftest.err >&5 5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5106 (exit $ac_status); } && { 5107 test -z "$ac_c_werror_flag" || 5108 test ! -s conftest.err 5109 } && test -s conftest.$ac_objext; then 5110 ac_header_compiler=yes 5111 else 5112 echo "$as_me: failed program was:" >&5 5113 sed 's/^/| /' conftest.$ac_ext >&5 5114 5115 ac_header_compiler=no 5116 fi 5117 5118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5119 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5120 echo "${ECHO_T}$ac_header_compiler" >&6; } 5121 5122 # Is the header present? 5123 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 5124 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 5125 cat >conftest.$ac_ext <<_ACEOF 5126 /* confdefs.h. */ 5127 _ACEOF 5128 cat confdefs.h >>conftest.$ac_ext 5129 cat >>conftest.$ac_ext <<_ACEOF 5130 /* end confdefs.h. */ 5131 #include <arpa/inet.h> 5132 _ACEOF 5133 if { (ac_try="$ac_cpp conftest.$ac_ext" 5134 case "(($ac_try" in 5135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5136 *) ac_try_echo=$ac_try;; 5137 esac 5138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5139 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5140 ac_status=$? 5141 grep -v '^ *+' conftest.er1 >conftest.err 5142 rm -f conftest.er1 5143 cat conftest.err >&5 5144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5145 (exit $ac_status); } >/dev/null && { 5146 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5147 test ! -s conftest.err 5148 }; then 5149 ac_header_preproc=yes 5150 else 5151 echo "$as_me: failed program was:" >&5 5152 sed 's/^/| /' conftest.$ac_ext >&5 5153 5154 ac_header_preproc=no 5155 fi 5156 5157 rm -f conftest.err conftest.$ac_ext 5158 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5159 echo "${ECHO_T}$ac_header_preproc" >&6; } 5160 5161 # So? What about this header? 5162 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5163 yes:no: ) 5164 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 5165 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5166 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 5167 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 5168 ac_header_preproc=yes 5169 ;; 5170 no:yes:* ) 5171 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 5172 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 5173 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 5174 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 5175 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 5176 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 5177 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 5178 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 5179 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 5180 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 5181 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 5182 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 5183 5184 ;; 5185 esac 5186 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5187 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5188 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5189 echo $ECHO_N "(cached) $ECHO_C" >&6 5190 else 5191 ac_cv_header_arpa_inet_h=$ac_header_preproc 5192 fi 5193 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5194 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5195 5196 fi 5197 if test $ac_cv_header_arpa_inet_h = yes; then 5198 cat >>confdefs.h <<\_ACEOF 5199 #define PJ_HAS_ARPA_INET_H 1 5200 _ACEOF 5201 5202 fi 5203 5204 5205 if test "${ac_cv_header_assert_h+set}" = set; then 5206 { echo "$as_me:$LINENO: checking for assert.h" >&5 5207 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5208 if test "${ac_cv_header_assert_h+set}" = set; then 5209 echo $ECHO_N "(cached) $ECHO_C" >&6 5210 fi 5211 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5212 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5213 else 5214 # Is the header compilable? 5215 { echo "$as_me:$LINENO: checking assert.h usability" >&5 5216 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 5217 cat >conftest.$ac_ext <<_ACEOF 5218 /* confdefs.h. */ 5219 _ACEOF 5220 cat confdefs.h >>conftest.$ac_ext 5221 cat >>conftest.$ac_ext <<_ACEOF 5222 /* end confdefs.h. */ 5223 $ac_includes_default 5224 #include <assert.h> 5225 _ACEOF 5226 rm -f conftest.$ac_objext 5227 if { (ac_try="$ac_compile" 5228 case "(($ac_try" in 5229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5230 *) ac_try_echo=$ac_try;; 5231 esac 5232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5233 (eval "$ac_compile") 2>conftest.er1 5234 ac_status=$? 5235 grep -v '^ *+' conftest.er1 >conftest.err 5236 rm -f conftest.er1 5237 cat conftest.err >&5 5238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5239 (exit $ac_status); } && { 5240 test -z "$ac_c_werror_flag" || 5241 test ! -s conftest.err 5242 } && test -s conftest.$ac_objext; then 5243 ac_header_compiler=yes 5244 else 5245 echo "$as_me: failed program was:" >&5 5246 sed 's/^/| /' conftest.$ac_ext >&5 5247 5248 ac_header_compiler=no 5249 fi 5250 5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5252 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5253 echo "${ECHO_T}$ac_header_compiler" >&6; } 5254 5255 # Is the header present? 5256 { echo "$as_me:$LINENO: checking assert.h presence" >&5 5257 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 5258 cat >conftest.$ac_ext <<_ACEOF 5259 /* confdefs.h. */ 5260 _ACEOF 5261 cat confdefs.h >>conftest.$ac_ext 5262 cat >>conftest.$ac_ext <<_ACEOF 5263 /* end confdefs.h. */ 5264 #include <assert.h> 5265 _ACEOF 5266 if { (ac_try="$ac_cpp conftest.$ac_ext" 5267 case "(($ac_try" in 5268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5269 *) ac_try_echo=$ac_try;; 5270 esac 5271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5272 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5273 ac_status=$? 5274 grep -v '^ *+' conftest.er1 >conftest.err 5275 rm -f conftest.er1 5276 cat conftest.err >&5 5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5278 (exit $ac_status); } >/dev/null && { 5279 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5280 test ! -s conftest.err 5281 }; then 5282 ac_header_preproc=yes 5283 else 5284 echo "$as_me: failed program was:" >&5 5285 sed 's/^/| /' conftest.$ac_ext >&5 5286 5287 ac_header_preproc=no 5288 fi 5289 5290 rm -f conftest.err conftest.$ac_ext 5291 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5292 echo "${ECHO_T}$ac_header_preproc" >&6; } 5293 5294 # So? What about this header? 5295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5296 yes:no: ) 5297 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 5298 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5299 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 5300 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 5301 ac_header_preproc=yes 5302 ;; 5303 no:yes:* ) 5304 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 5305 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 5306 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5 5307 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;} 5308 { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 5309 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 5310 { echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5 5311 echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;} 5312 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 5313 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 5314 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 5315 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 5316 5317 ;; 5318 esac 5319 { echo "$as_me:$LINENO: checking for assert.h" >&5 5320 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5321 if test "${ac_cv_header_assert_h+set}" = set; then 5322 echo $ECHO_N "(cached) $ECHO_C" >&6 5323 else 5324 ac_cv_header_assert_h=$ac_header_preproc 5325 fi 5326 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5327 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5328 5329 fi 5330 if test $ac_cv_header_assert_h = yes; then 5331 cat >>confdefs.h <<\_ACEOF 5332 #define PJ_HAS_ASSERT_H 1 5333 _ACEOF 5334 5335 fi 5336 5337 5338 if test "${ac_cv_header_ctype_h+set}" = set; then 5339 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5340 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5341 if test "${ac_cv_header_ctype_h+set}" = set; then 5342 echo $ECHO_N "(cached) $ECHO_C" >&6 5343 fi 5344 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5345 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5346 else 5347 # Is the header compilable? 5348 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 5349 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 5350 cat >conftest.$ac_ext <<_ACEOF 5351 /* confdefs.h. */ 5352 _ACEOF 5353 cat confdefs.h >>conftest.$ac_ext 5354 cat >>conftest.$ac_ext <<_ACEOF 5355 /* end confdefs.h. */ 5356 $ac_includes_default 5357 #include <ctype.h> 5358 _ACEOF 5359 rm -f conftest.$ac_objext 5360 if { (ac_try="$ac_compile" 5361 case "(($ac_try" in 5362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5363 *) ac_try_echo=$ac_try;; 5364 esac 5365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5366 (eval "$ac_compile") 2>conftest.er1 5367 ac_status=$? 5368 grep -v '^ *+' conftest.er1 >conftest.err 5369 rm -f conftest.er1 5370 cat conftest.err >&5 5371 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5372 (exit $ac_status); } && { 5373 test -z "$ac_c_werror_flag" || 5374 test ! -s conftest.err 5375 } && test -s conftest.$ac_objext; then 5376 ac_header_compiler=yes 5377 else 5378 echo "$as_me: failed program was:" >&5 5379 sed 's/^/| /' conftest.$ac_ext >&5 5380 5381 ac_header_compiler=no 5382 fi 5383 5384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5385 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5386 echo "${ECHO_T}$ac_header_compiler" >&6; } 5387 5388 # Is the header present? 5389 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 5390 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 5391 cat >conftest.$ac_ext <<_ACEOF 5392 /* confdefs.h. */ 5393 _ACEOF 5394 cat confdefs.h >>conftest.$ac_ext 5395 cat >>conftest.$ac_ext <<_ACEOF 5396 /* end confdefs.h. */ 5397 #include <ctype.h> 5398 _ACEOF 5399 if { (ac_try="$ac_cpp conftest.$ac_ext" 5400 case "(($ac_try" in 5401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5402 *) ac_try_echo=$ac_try;; 5403 esac 5404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5406 ac_status=$? 5407 grep -v '^ *+' conftest.er1 >conftest.err 5408 rm -f conftest.er1 5409 cat conftest.err >&5 5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5411 (exit $ac_status); } >/dev/null && { 5412 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5413 test ! -s conftest.err 5414 }; then 5415 ac_header_preproc=yes 5416 else 5417 echo "$as_me: failed program was:" >&5 5418 sed 's/^/| /' conftest.$ac_ext >&5 5419 5420 ac_header_preproc=no 5421 fi 5422 5423 rm -f conftest.err conftest.$ac_ext 5424 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5425 echo "${ECHO_T}$ac_header_preproc" >&6; } 5426 5427 # So? What about this header? 5428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5429 yes:no: ) 5430 { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 5431 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5432 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 5433 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 5434 ac_header_preproc=yes 5435 ;; 5436 no:yes:* ) 5437 { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 5438 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 5439 { echo "$as_me:$LINENO: WARNING: ctype.h: check for missing prerequisite headers?" >&5 5440 echo "$as_me: WARNING: ctype.h: check for missing prerequisite headers?" >&2;} 5441 { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 5442 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 5443 { echo "$as_me:$LINENO: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&5 5444 echo "$as_me: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&2;} 5445 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 5446 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 5447 { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 5448 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 5449 5450 ;; 5451 esac 5452 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5453 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5454 if test "${ac_cv_header_ctype_h+set}" = set; then 5455 echo $ECHO_N "(cached) $ECHO_C" >&6 5456 else 5457 ac_cv_header_ctype_h=$ac_header_preproc 5458 fi 5459 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5460 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5461 5462 fi 5463 if test $ac_cv_header_ctype_h = yes; then 5464 cat >>confdefs.h <<\_ACEOF 5465 #define PJ_HAS_CTYPE_H 1 5466 _ACEOF 4710 5467 4711 5468 fi … … 4715 5472 case $target in 4716 5473 *mingw* | *cygw* | *win32* | *w32* ) 4717 $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 5474 cat >>confdefs.h <<\_ACEOF 5475 #define PJ_HAS_ERRNO_H 0 5476 _ACEOF 4718 5477 4719 5478 ;; 4720 5479 *) 4721 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 4722 if test "x$ac_cv_header_errno_h" = x""yes; then : 4723 $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 5480 if test "${ac_cv_header_errno_h+set}" = set; then 5481 { echo "$as_me:$LINENO: checking for errno.h" >&5 5482 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 5483 if test "${ac_cv_header_errno_h+set}" = set; then 5484 echo $ECHO_N "(cached) $ECHO_C" >&6 5485 fi 5486 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5487 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 5488 else 5489 # Is the header compilable? 5490 { echo "$as_me:$LINENO: checking errno.h usability" >&5 5491 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 5492 cat >conftest.$ac_ext <<_ACEOF 5493 /* confdefs.h. */ 5494 _ACEOF 5495 cat confdefs.h >>conftest.$ac_ext 5496 cat >>conftest.$ac_ext <<_ACEOF 5497 /* end confdefs.h. */ 5498 $ac_includes_default 5499 #include <errno.h> 5500 _ACEOF 5501 rm -f conftest.$ac_objext 5502 if { (ac_try="$ac_compile" 5503 case "(($ac_try" in 5504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5505 *) ac_try_echo=$ac_try;; 5506 esac 5507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5508 (eval "$ac_compile") 2>conftest.er1 5509 ac_status=$? 5510 grep -v '^ *+' conftest.er1 >conftest.err 5511 rm -f conftest.er1 5512 cat conftest.err >&5 5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5514 (exit $ac_status); } && { 5515 test -z "$ac_c_werror_flag" || 5516 test ! -s conftest.err 5517 } && test -s conftest.$ac_objext; then 5518 ac_header_compiler=yes 5519 else 5520 echo "$as_me: failed program was:" >&5 5521 sed 's/^/| /' conftest.$ac_ext >&5 5522 5523 ac_header_compiler=no 5524 fi 5525 5526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5527 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5528 echo "${ECHO_T}$ac_header_compiler" >&6; } 5529 5530 # Is the header present? 5531 { echo "$as_me:$LINENO: checking errno.h presence" >&5 5532 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; } 5533 cat >conftest.$ac_ext <<_ACEOF 5534 /* confdefs.h. */ 5535 _ACEOF 5536 cat confdefs.h >>conftest.$ac_ext 5537 cat >>conftest.$ac_ext <<_ACEOF 5538 /* end confdefs.h. */ 5539 #include <errno.h> 5540 _ACEOF 5541 if { (ac_try="$ac_cpp conftest.$ac_ext" 5542 case "(($ac_try" in 5543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5544 *) ac_try_echo=$ac_try;; 5545 esac 5546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5547 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5548 ac_status=$? 5549 grep -v '^ *+' conftest.er1 >conftest.err 5550 rm -f conftest.er1 5551 cat conftest.err >&5 5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5553 (exit $ac_status); } >/dev/null && { 5554 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5555 test ! -s conftest.err 5556 }; then 5557 ac_header_preproc=yes 5558 else 5559 echo "$as_me: failed program was:" >&5 5560 sed 's/^/| /' conftest.$ac_ext >&5 5561 5562 ac_header_preproc=no 5563 fi 5564 5565 rm -f conftest.err conftest.$ac_ext 5566 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5567 echo "${ECHO_T}$ac_header_preproc" >&6; } 5568 5569 # So? What about this header? 5570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5571 yes:no: ) 5572 { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 5573 echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5574 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 5575 echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 5576 ac_header_preproc=yes 5577 ;; 5578 no:yes:* ) 5579 { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 5580 echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 5581 { echo "$as_me:$LINENO: WARNING: errno.h: check for missing prerequisite headers?" >&5 5582 echo "$as_me: WARNING: errno.h: check for missing prerequisite headers?" >&2;} 5583 { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 5584 echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 5585 { echo "$as_me:$LINENO: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&5 5586 echo "$as_me: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&2;} 5587 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 5588 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 5589 { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 5590 echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 5591 5592 ;; 5593 esac 5594 { echo "$as_me:$LINENO: checking for errno.h" >&5 5595 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 5596 if test "${ac_cv_header_errno_h+set}" = set; then 5597 echo $ECHO_N "(cached) $ECHO_C" >&6 5598 else 5599 ac_cv_header_errno_h=$ac_header_preproc 5600 fi 5601 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5602 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 5603 5604 fi 5605 if test $ac_cv_header_errno_h = yes; then 5606 cat >>confdefs.h <<\_ACEOF 5607 #define PJ_HAS_ERRNO_H 1 5608 _ACEOF 4724 5609 4725 5610 fi … … 4729 5614 esac 4730 5615 4731 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 4732 if test "x$ac_cv_header_fcntl_h" = x""yes; then : 4733 $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 4734 4735 fi 4736 4737 4738 ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 4739 if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 4740 $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 4741 4742 fi 4743 4744 4745 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 4746 if test "x$ac_cv_header_limits_h" = x""yes; then : 4747 $as_echo "#define PJ_HAS_LIMITS_H 1" >>confdefs.h 4748 4749 fi 4750 4751 4752 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 4753 if test "x$ac_cv_header_malloc_h" = x""yes; then : 4754 $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 4755 4756 fi 4757 4758 4759 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 4760 if test "x$ac_cv_header_netdb_h" = x""yes; then : 4761 $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 4762 4763 fi 4764 4765 4766 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 4767 if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 4768 $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 4769 4770 fi 4771 4772 4773 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 4774 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 4775 $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 4776 4777 fi 4778 4779 4780 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H 5616 if test "${ac_cv_header_fcntl_h+set}" = set; then 5617 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 5618 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 5619 if test "${ac_cv_header_fcntl_h+set}" = set; then 5620 echo $ECHO_N "(cached) $ECHO_C" >&6 5621 fi 5622 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 5623 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 5624 else 5625 # Is the header compilable? 5626 { echo "$as_me:$LINENO: checking fcntl.h usability" >&5 5627 echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6; } 5628 cat >conftest.$ac_ext <<_ACEOF 5629 /* confdefs.h. */ 5630 _ACEOF 5631 cat confdefs.h >>conftest.$ac_ext 5632 cat >>conftest.$ac_ext <<_ACEOF 5633 /* end confdefs.h. */ 5634 $ac_includes_default 5635 #include <fcntl.h> 5636 _ACEOF 5637 rm -f conftest.$ac_objext 5638 if { (ac_try="$ac_compile" 5639 case "(($ac_try" in 5640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5641 *) ac_try_echo=$ac_try;; 5642 esac 5643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5644 (eval "$ac_compile") 2>conftest.er1 5645 ac_status=$? 5646 grep -v '^ *+' conftest.er1 >conftest.err 5647 rm -f conftest.er1 5648 cat conftest.err >&5 5649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5650 (exit $ac_status); } && { 5651 test -z "$ac_c_werror_flag" || 5652 test ! -s conftest.err 5653 } && test -s conftest.$ac_objext; then 5654 ac_header_compiler=yes 5655 else 5656 echo "$as_me: failed program was:" >&5 5657 sed 's/^/| /' conftest.$ac_ext >&5 5658 5659 ac_header_compiler=no 5660 fi 5661 5662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5663 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5664 echo "${ECHO_T}$ac_header_compiler" >&6; } 5665 5666 # Is the header present? 5667 { echo "$as_me:$LINENO: checking fcntl.h presence" >&5 5668 echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6; } 5669 cat >conftest.$ac_ext <<_ACEOF 5670 /* confdefs.h. */ 5671 _ACEOF 5672 cat confdefs.h >>conftest.$ac_ext 5673 cat >>conftest.$ac_ext <<_ACEOF 5674 /* end confdefs.h. */ 5675 #include <fcntl.h> 5676 _ACEOF 5677 if { (ac_try="$ac_cpp conftest.$ac_ext" 5678 case "(($ac_try" in 5679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5680 *) ac_try_echo=$ac_try;; 5681 esac 5682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5684 ac_status=$? 5685 grep -v '^ *+' conftest.er1 >conftest.err 5686 rm -f conftest.er1 5687 cat conftest.err >&5 5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5689 (exit $ac_status); } >/dev/null && { 5690 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5691 test ! -s conftest.err 5692 }; then 5693 ac_header_preproc=yes 5694 else 5695 echo "$as_me: failed program was:" >&5 5696 sed 's/^/| /' conftest.$ac_ext >&5 5697 5698 ac_header_preproc=no 5699 fi 5700 5701 rm -f conftest.err conftest.$ac_ext 5702 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5703 echo "${ECHO_T}$ac_header_preproc" >&6; } 5704 5705 # So? What about this header? 5706 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5707 yes:no: ) 5708 { echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 5709 echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5710 { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 5711 echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 5712 ac_header_preproc=yes 5713 ;; 5714 no:yes:* ) 5715 { echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 5716 echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 5717 { echo "$as_me:$LINENO: WARNING: fcntl.h: check for missing prerequisite headers?" >&5 5718 echo "$as_me: WARNING: fcntl.h: check for missing prerequisite headers?" >&2;} 5719 { echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 5720 echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 5721 { echo "$as_me:$LINENO: WARNING: fcntl.h: section \"Present But Cannot Be Compiled\"" >&5 5722 echo "$as_me: WARNING: fcntl.h: section \"Present But Cannot Be Compiled\"" >&2;} 5723 { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 5724 echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 5725 { echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 5726 echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 5727 5728 ;; 5729 esac 5730 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 5731 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 5732 if test "${ac_cv_header_fcntl_h+set}" = set; then 5733 echo $ECHO_N "(cached) $ECHO_C" >&6 5734 else 5735 ac_cv_header_fcntl_h=$ac_header_preproc 5736 fi 5737 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 5738 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 5739 5740 fi 5741 if test $ac_cv_header_fcntl_h = yes; then 5742 cat >>confdefs.h <<\_ACEOF 5743 #define PJ_HAS_FCNTL_H 1 5744 _ACEOF 5745 5746 fi 5747 5748 5749 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5750 { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 5751 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 5752 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5753 echo $ECHO_N "(cached) $ECHO_C" >&6 5754 fi 5755 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 5756 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 5757 else 5758 # Is the header compilable? 5759 { echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 5760 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6; } 5761 cat >conftest.$ac_ext <<_ACEOF 5762 /* confdefs.h. */ 5763 _ACEOF 5764 cat confdefs.h >>conftest.$ac_ext 5765 cat >>conftest.$ac_ext <<_ACEOF 5766 /* end confdefs.h. */ 5767 $ac_includes_default 5768 #include <linux/socket.h> 5769 _ACEOF 5770 rm -f conftest.$ac_objext 5771 if { (ac_try="$ac_compile" 5772 case "(($ac_try" in 5773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5774 *) ac_try_echo=$ac_try;; 5775 esac 5776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5777 (eval "$ac_compile") 2>conftest.er1 5778 ac_status=$? 5779 grep -v '^ *+' conftest.er1 >conftest.err 5780 rm -f conftest.er1 5781 cat conftest.err >&5 5782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5783 (exit $ac_status); } && { 5784 test -z "$ac_c_werror_flag" || 5785 test ! -s conftest.err 5786 } && test -s conftest.$ac_objext; then 5787 ac_header_compiler=yes 5788 else 5789 echo "$as_me: failed program was:" >&5 5790 sed 's/^/| /' conftest.$ac_ext >&5 5791 5792 ac_header_compiler=no 5793 fi 5794 5795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5796 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5797 echo "${ECHO_T}$ac_header_compiler" >&6; } 5798 5799 # Is the header present? 5800 { echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 5801 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6; } 5802 cat >conftest.$ac_ext <<_ACEOF 5803 /* confdefs.h. */ 5804 _ACEOF 5805 cat confdefs.h >>conftest.$ac_ext 5806 cat >>conftest.$ac_ext <<_ACEOF 5807 /* end confdefs.h. */ 5808 #include <linux/socket.h> 5809 _ACEOF 5810 if { (ac_try="$ac_cpp conftest.$ac_ext" 5811 case "(($ac_try" in 5812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5813 *) ac_try_echo=$ac_try;; 5814 esac 5815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5816 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5817 ac_status=$? 5818 grep -v '^ *+' conftest.er1 >conftest.err 5819 rm -f conftest.er1 5820 cat conftest.err >&5 5821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5822 (exit $ac_status); } >/dev/null && { 5823 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5824 test ! -s conftest.err 5825 }; then 5826 ac_header_preproc=yes 5827 else 5828 echo "$as_me: failed program was:" >&5 5829 sed 's/^/| /' conftest.$ac_ext >&5 5830 5831 ac_header_preproc=no 5832 fi 5833 5834 rm -f conftest.err conftest.$ac_ext 5835 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5836 echo "${ECHO_T}$ac_header_preproc" >&6; } 5837 5838 # So? What about this header? 5839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5840 yes:no: ) 5841 { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 5842 echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5843 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 5844 echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 5845 ac_header_preproc=yes 5846 ;; 5847 no:yes:* ) 5848 { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 5849 echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 5850 { echo "$as_me:$LINENO: WARNING: linux/socket.h: check for missing prerequisite headers?" >&5 5851 echo "$as_me: WARNING: linux/socket.h: check for missing prerequisite headers?" >&2;} 5852 { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 5853 echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 5854 { echo "$as_me:$LINENO: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&5 5855 echo "$as_me: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&2;} 5856 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 5857 echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 5858 { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 5859 echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 5860 5861 ;; 5862 esac 5863 { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 5864 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 5865 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5866 echo $ECHO_N "(cached) $ECHO_C" >&6 5867 else 5868 ac_cv_header_linux_socket_h=$ac_header_preproc 5869 fi 5870 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 5871 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 5872 5873 fi 5874 if test $ac_cv_header_linux_socket_h = yes; then 5875 cat >>confdefs.h <<\_ACEOF 5876 #define PJ_HAS_LINUX_SOCKET_H 1 5877 _ACEOF 5878 5879 fi 5880 5881 5882 if test "${ac_cv_header_limits_h+set}" = set; then 5883 { echo "$as_me:$LINENO: checking for limits.h" >&5 5884 echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; } 5885 if test "${ac_cv_header_limits_h+set}" = set; then 5886 echo $ECHO_N "(cached) $ECHO_C" >&6 5887 fi 5888 { echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 5889 echo "${ECHO_T}$ac_cv_header_limits_h" >&6; } 5890 else 5891 # Is the header compilable? 5892 { echo "$as_me:$LINENO: checking limits.h usability" >&5 5893 echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6; } 5894 cat >conftest.$ac_ext <<_ACEOF 5895 /* confdefs.h. */ 5896 _ACEOF 5897 cat confdefs.h >>conftest.$ac_ext 5898 cat >>conftest.$ac_ext <<_ACEOF 5899 /* end confdefs.h. */ 5900 $ac_includes_default 5901 #include <limits.h> 5902 _ACEOF 5903 rm -f conftest.$ac_objext 5904 if { (ac_try="$ac_compile" 5905 case "(($ac_try" in 5906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5907 *) ac_try_echo=$ac_try;; 5908 esac 5909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5910 (eval "$ac_compile") 2>conftest.er1 5911 ac_status=$? 5912 grep -v '^ *+' conftest.er1 >conftest.err 5913 rm -f conftest.er1 5914 cat conftest.err >&5 5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5916 (exit $ac_status); } && { 5917 test -z "$ac_c_werror_flag" || 5918 test ! -s conftest.err 5919 } && test -s conftest.$ac_objext; then 5920 ac_header_compiler=yes 5921 else 5922 echo "$as_me: failed program was:" >&5 5923 sed 's/^/| /' conftest.$ac_ext >&5 5924 5925 ac_header_compiler=no 5926 fi 5927 5928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5929 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5930 echo "${ECHO_T}$ac_header_compiler" >&6; } 5931 5932 # Is the header present? 5933 { echo "$as_me:$LINENO: checking limits.h presence" >&5 5934 echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6; } 5935 cat >conftest.$ac_ext <<_ACEOF 5936 /* confdefs.h. */ 5937 _ACEOF 5938 cat confdefs.h >>conftest.$ac_ext 5939 cat >>conftest.$ac_ext <<_ACEOF 5940 /* end confdefs.h. */ 5941 #include <limits.h> 5942 _ACEOF 5943 if { (ac_try="$ac_cpp conftest.$ac_ext" 5944 case "(($ac_try" in 5945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5946 *) ac_try_echo=$ac_try;; 5947 esac 5948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5950 ac_status=$? 5951 grep -v '^ *+' conftest.er1 >conftest.err 5952 rm -f conftest.er1 5953 cat conftest.err >&5 5954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5955 (exit $ac_status); } >/dev/null && { 5956 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5957 test ! -s conftest.err 5958 }; then 5959 ac_header_preproc=yes 5960 else 5961 echo "$as_me: failed program was:" >&5 5962 sed 's/^/| /' conftest.$ac_ext >&5 5963 5964 ac_header_preproc=no 5965 fi 5966 5967 rm -f conftest.err conftest.$ac_ext 5968 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5969 echo "${ECHO_T}$ac_header_preproc" >&6; } 5970 5971 # So? What about this header? 5972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5973 yes:no: ) 5974 { echo "$as_me:$LINENO: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&5 5975 echo "$as_me: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5976 { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the compiler's result" >&5 5977 echo "$as_me: WARNING: limits.h: proceeding with the compiler's result" >&2;} 5978 ac_header_preproc=yes 5979 ;; 5980 no:yes:* ) 5981 { echo "$as_me:$LINENO: WARNING: limits.h: present but cannot be compiled" >&5 5982 echo "$as_me: WARNING: limits.h: present but cannot be compiled" >&2;} 5983 { echo "$as_me:$LINENO: WARNING: limits.h: check for missing prerequisite headers?" >&5 5984 echo "$as_me: WARNING: limits.h: check for missing prerequisite headers?" >&2;} 5985 { echo "$as_me:$LINENO: WARNING: limits.h: see the Autoconf documentation" >&5 5986 echo "$as_me: WARNING: limits.h: see the Autoconf documentation" >&2;} 5987 { echo "$as_me:$LINENO: WARNING: limits.h: section \"Present But Cannot Be Compiled\"" >&5 5988 echo "$as_me: WARNING: limits.h: section \"Present But Cannot Be Compiled\"" >&2;} 5989 { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the preprocessor's result" >&5 5990 echo "$as_me: WARNING: limits.h: proceeding with the preprocessor's result" >&2;} 5991 { echo "$as_me:$LINENO: WARNING: limits.h: in the future, the compiler will take precedence" >&5 5992 echo "$as_me: WARNING: limits.h: in the future, the compiler will take precedence" >&2;} 5993 5994 ;; 5995 esac 5996 { echo "$as_me:$LINENO: checking for limits.h" >&5 5997 echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; } 5998 if test "${ac_cv_header_limits_h+set}" = set; then 5999 echo $ECHO_N "(cached) $ECHO_C" >&6 6000 else 6001 ac_cv_header_limits_h=$ac_header_preproc 6002 fi 6003 { echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 6004 echo "${ECHO_T}$ac_cv_header_limits_h" >&6; } 6005 6006 fi 6007 if test $ac_cv_header_limits_h = yes; then 6008 cat >>confdefs.h <<\_ACEOF 6009 #define PJ_HAS_LIMITS_H 1 6010 _ACEOF 6011 6012 fi 6013 6014 6015 if test "${ac_cv_header_malloc_h+set}" = set; then 6016 { echo "$as_me:$LINENO: checking for malloc.h" >&5 6017 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 6018 if test "${ac_cv_header_malloc_h+set}" = set; then 6019 echo $ECHO_N "(cached) $ECHO_C" >&6 6020 fi 6021 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 6022 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 6023 else 6024 # Is the header compilable? 6025 { echo "$as_me:$LINENO: checking malloc.h usability" >&5 6026 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6; } 6027 cat >conftest.$ac_ext <<_ACEOF 6028 /* confdefs.h. */ 6029 _ACEOF 6030 cat confdefs.h >>conftest.$ac_ext 6031 cat >>conftest.$ac_ext <<_ACEOF 6032 /* end confdefs.h. */ 6033 $ac_includes_default 6034 #include <malloc.h> 6035 _ACEOF 6036 rm -f conftest.$ac_objext 6037 if { (ac_try="$ac_compile" 6038 case "(($ac_try" in 6039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6040 *) ac_try_echo=$ac_try;; 6041 esac 6042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6043 (eval "$ac_compile") 2>conftest.er1 6044 ac_status=$? 6045 grep -v '^ *+' conftest.er1 >conftest.err 6046 rm -f conftest.er1 6047 cat conftest.err >&5 6048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6049 (exit $ac_status); } && { 6050 test -z "$ac_c_werror_flag" || 6051 test ! -s conftest.err 6052 } && test -s conftest.$ac_objext; then 6053 ac_header_compiler=yes 6054 else 6055 echo "$as_me: failed program was:" >&5 6056 sed 's/^/| /' conftest.$ac_ext >&5 6057 6058 ac_header_compiler=no 6059 fi 6060 6061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6062 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6063 echo "${ECHO_T}$ac_header_compiler" >&6; } 6064 6065 # Is the header present? 6066 { echo "$as_me:$LINENO: checking malloc.h presence" >&5 6067 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6; } 6068 cat >conftest.$ac_ext <<_ACEOF 6069 /* confdefs.h. */ 6070 _ACEOF 6071 cat confdefs.h >>conftest.$ac_ext 6072 cat >>conftest.$ac_ext <<_ACEOF 6073 /* end confdefs.h. */ 6074 #include <malloc.h> 6075 _ACEOF 6076 if { (ac_try="$ac_cpp conftest.$ac_ext" 6077 case "(($ac_try" in 6078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6079 *) ac_try_echo=$ac_try;; 6080 esac 6081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6083 ac_status=$? 6084 grep -v '^ *+' conftest.er1 >conftest.err 6085 rm -f conftest.er1 6086 cat conftest.err >&5 6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6088 (exit $ac_status); } >/dev/null && { 6089 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6090 test ! -s conftest.err 6091 }; then 6092 ac_header_preproc=yes 6093 else 6094 echo "$as_me: failed program was:" >&5 6095 sed 's/^/| /' conftest.$ac_ext >&5 6096 6097 ac_header_preproc=no 6098 fi 6099 6100 rm -f conftest.err conftest.$ac_ext 6101 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6102 echo "${ECHO_T}$ac_header_preproc" >&6; } 6103 6104 # So? What about this header? 6105 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6106 yes:no: ) 6107 { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 6108 echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6109 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 6110 echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 6111 ac_header_preproc=yes 6112 ;; 6113 no:yes:* ) 6114 { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 6115 echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 6116 { echo "$as_me:$LINENO: WARNING: malloc.h: check for missing prerequisite headers?" >&5 6117 echo "$as_me: WARNING: malloc.h: check for missing prerequisite headers?" >&2;} 6118 { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 6119 echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 6120 { echo "$as_me:$LINENO: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&5 6121 echo "$as_me: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} 6122 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 6123 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 6124 { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 6125 echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 6126 6127 ;; 6128 esac 6129 { echo "$as_me:$LINENO: checking for malloc.h" >&5 6130 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 6131 if test "${ac_cv_header_malloc_h+set}" = set; then 6132 echo $ECHO_N "(cached) $ECHO_C" >&6 6133 else 6134 ac_cv_header_malloc_h=$ac_header_preproc 6135 fi 6136 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 6137 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 6138 6139 fi 6140 if test $ac_cv_header_malloc_h = yes; then 6141 cat >>confdefs.h <<\_ACEOF 6142 #define PJ_HAS_MALLOC_H 1 6143 _ACEOF 6144 6145 fi 6146 6147 6148 if test "${ac_cv_header_netdb_h+set}" = set; then 6149 { echo "$as_me:$LINENO: checking for netdb.h" >&5 6150 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 6151 if test "${ac_cv_header_netdb_h+set}" = set; then 6152 echo $ECHO_N "(cached) $ECHO_C" >&6 6153 fi 6154 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 6155 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 6156 else 6157 # Is the header compilable? 6158 { echo "$as_me:$LINENO: checking netdb.h usability" >&5 6159 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6; } 6160 cat >conftest.$ac_ext <<_ACEOF 6161 /* confdefs.h. */ 6162 _ACEOF 6163 cat confdefs.h >>conftest.$ac_ext 6164 cat >>conftest.$ac_ext <<_ACEOF 6165 /* end confdefs.h. */ 6166 $ac_includes_default 6167 #include <netdb.h> 6168 _ACEOF 6169 rm -f conftest.$ac_objext 6170 if { (ac_try="$ac_compile" 6171 case "(($ac_try" in 6172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6173 *) ac_try_echo=$ac_try;; 6174 esac 6175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6176 (eval "$ac_compile") 2>conftest.er1 6177 ac_status=$? 6178 grep -v '^ *+' conftest.er1 >conftest.err 6179 rm -f conftest.er1 6180 cat conftest.err >&5 6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6182 (exit $ac_status); } && { 6183 test -z "$ac_c_werror_flag" || 6184 test ! -s conftest.err 6185 } && test -s conftest.$ac_objext; then 6186 ac_header_compiler=yes 6187 else 6188 echo "$as_me: failed program was:" >&5 6189 sed 's/^/| /' conftest.$ac_ext >&5 6190 6191 ac_header_compiler=no 6192 fi 6193 6194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6195 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6196 echo "${ECHO_T}$ac_header_compiler" >&6; } 6197 6198 # Is the header present? 6199 { echo "$as_me:$LINENO: checking netdb.h presence" >&5 6200 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6; } 6201 cat >conftest.$ac_ext <<_ACEOF 6202 /* confdefs.h. */ 6203 _ACEOF 6204 cat confdefs.h >>conftest.$ac_ext 6205 cat >>conftest.$ac_ext <<_ACEOF 6206 /* end confdefs.h. */ 6207 #include <netdb.h> 6208 _ACEOF 6209 if { (ac_try="$ac_cpp conftest.$ac_ext" 6210 case "(($ac_try" in 6211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6212 *) ac_try_echo=$ac_try;; 6213 esac 6214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6215 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6216 ac_status=$? 6217 grep -v '^ *+' conftest.er1 >conftest.err 6218 rm -f conftest.er1 6219 cat conftest.err >&5 6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6221 (exit $ac_status); } >/dev/null && { 6222 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6223 test ! -s conftest.err 6224 }; then 6225 ac_header_preproc=yes 6226 else 6227 echo "$as_me: failed program was:" >&5 6228 sed 's/^/| /' conftest.$ac_ext >&5 6229 6230 ac_header_preproc=no 6231 fi 6232 6233 rm -f conftest.err conftest.$ac_ext 6234 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6235 echo "${ECHO_T}$ac_header_preproc" >&6; } 6236 6237 # So? What about this header? 6238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6239 yes:no: ) 6240 { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 6241 echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6242 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 6243 echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 6244 ac_header_preproc=yes 6245 ;; 6246 no:yes:* ) 6247 { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 6248 echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 6249 { echo "$as_me:$LINENO: WARNING: netdb.h: check for missing prerequisite headers?" >&5 6250 echo "$as_me: WARNING: netdb.h: check for missing prerequisite headers?" >&2;} 6251 { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 6252 echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 6253 { echo "$as_me:$LINENO: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&5 6254 echo "$as_me: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&2;} 6255 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 6256 echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 6257 { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 6258 echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 6259 6260 ;; 6261 esac 6262 { echo "$as_me:$LINENO: checking for netdb.h" >&5 6263 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 6264 if test "${ac_cv_header_netdb_h+set}" = set; then 6265 echo $ECHO_N "(cached) $ECHO_C" >&6 6266 else 6267 ac_cv_header_netdb_h=$ac_header_preproc 6268 fi 6269 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 6270 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 6271 6272 fi 6273 if test $ac_cv_header_netdb_h = yes; then 6274 cat >>confdefs.h <<\_ACEOF 6275 #define PJ_HAS_NETDB_H 1 6276 _ACEOF 6277 6278 fi 6279 6280 6281 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6282 { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 6283 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 6284 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6285 echo $ECHO_N "(cached) $ECHO_C" >&6 6286 fi 6287 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 6288 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 6289 else 6290 # Is the header compilable? 6291 { echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 6292 echo $ECHO_N "checking netinet/in_systm.h usability... $ECHO_C" >&6; } 6293 cat >conftest.$ac_ext <<_ACEOF 6294 /* confdefs.h. */ 6295 _ACEOF 6296 cat confdefs.h >>conftest.$ac_ext 6297 cat >>conftest.$ac_ext <<_ACEOF 6298 /* end confdefs.h. */ 6299 $ac_includes_default 6300 #include <netinet/in_systm.h> 6301 _ACEOF 6302 rm -f conftest.$ac_objext 6303 if { (ac_try="$ac_compile" 6304 case "(($ac_try" in 6305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6306 *) ac_try_echo=$ac_try;; 6307 esac 6308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6309 (eval "$ac_compile") 2>conftest.er1 6310 ac_status=$? 6311 grep -v '^ *+' conftest.er1 >conftest.err 6312 rm -f conftest.er1 6313 cat conftest.err >&5 6314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6315 (exit $ac_status); } && { 6316 test -z "$ac_c_werror_flag" || 6317 test ! -s conftest.err 6318 } && test -s conftest.$ac_objext; then 6319 ac_header_compiler=yes 6320 else 6321 echo "$as_me: failed program was:" >&5 6322 sed 's/^/| /' conftest.$ac_ext >&5 6323 6324 ac_header_compiler=no 6325 fi 6326 6327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6328 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6329 echo "${ECHO_T}$ac_header_compiler" >&6; } 6330 6331 # Is the header present? 6332 { echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 6333 echo $ECHO_N "checking netinet/in_systm.h presence... $ECHO_C" >&6; } 6334 cat >conftest.$ac_ext <<_ACEOF 6335 /* confdefs.h. */ 6336 _ACEOF 6337 cat confdefs.h >>conftest.$ac_ext 6338 cat >>conftest.$ac_ext <<_ACEOF 6339 /* end confdefs.h. */ 6340 #include <netinet/in_systm.h> 6341 _ACEOF 6342 if { (ac_try="$ac_cpp conftest.$ac_ext" 6343 case "(($ac_try" in 6344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6345 *) ac_try_echo=$ac_try;; 6346 esac 6347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6348 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6349 ac_status=$? 6350 grep -v '^ *+' conftest.er1 >conftest.err 6351 rm -f conftest.er1 6352 cat conftest.err >&5 6353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6354 (exit $ac_status); } >/dev/null && { 6355 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6356 test ! -s conftest.err 6357 }; then 6358 ac_header_preproc=yes 6359 else 6360 echo "$as_me: failed program was:" >&5 6361 sed 's/^/| /' conftest.$ac_ext >&5 6362 6363 ac_header_preproc=no 6364 fi 6365 6366 rm -f conftest.err conftest.$ac_ext 6367 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6368 echo "${ECHO_T}$ac_header_preproc" >&6; } 6369 6370 # So? What about this header? 6371 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6372 yes:no: ) 6373 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&5 6374 echo "$as_me: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6375 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&5 6376 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&2;} 6377 ac_header_preproc=yes 6378 ;; 6379 no:yes:* ) 6380 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: present but cannot be compiled" >&5 6381 echo "$as_me: WARNING: netinet/in_systm.h: present but cannot be compiled" >&2;} 6382 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: check for missing prerequisite headers?" >&5 6383 echo "$as_me: WARNING: netinet/in_systm.h: check for missing prerequisite headers?" >&2;} 6384 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&5 6385 echo "$as_me: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&2;} 6386 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: section \"Present But Cannot Be Compiled\"" >&5 6387 echo "$as_me: WARNING: netinet/in_systm.h: section \"Present But Cannot Be Compiled\"" >&2;} 6388 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&5 6389 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&2;} 6390 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 6391 echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 6392 6393 ;; 6394 esac 6395 { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 6396 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 6397 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6398 echo $ECHO_N "(cached) $ECHO_C" >&6 6399 else 6400 ac_cv_header_netinet_in_systm_h=$ac_header_preproc 6401 fi 6402 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 6403 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 6404 6405 fi 6406 if test $ac_cv_header_netinet_in_systm_h = yes; then 6407 cat >>confdefs.h <<\_ACEOF 6408 #define PJ_HAS_NETINET_IN_SYSTM_H 1 6409 _ACEOF 6410 6411 fi 6412 6413 6414 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6415 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 6416 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 6417 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6418 echo $ECHO_N "(cached) $ECHO_C" >&6 6419 fi 6420 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 6421 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 6422 else 6423 # Is the header compilable? 6424 { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 6425 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } 6426 cat >conftest.$ac_ext <<_ACEOF 6427 /* confdefs.h. */ 6428 _ACEOF 6429 cat confdefs.h >>conftest.$ac_ext 6430 cat >>conftest.$ac_ext <<_ACEOF 6431 /* end confdefs.h. */ 6432 $ac_includes_default 6433 #include <netinet/in.h> 6434 _ACEOF 6435 rm -f conftest.$ac_objext 6436 if { (ac_try="$ac_compile" 6437 case "(($ac_try" in 6438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6439 *) ac_try_echo=$ac_try;; 6440 esac 6441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6442 (eval "$ac_compile") 2>conftest.er1 6443 ac_status=$? 6444 grep -v '^ *+' conftest.er1 >conftest.err 6445 rm -f conftest.er1 6446 cat conftest.err >&5 6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6448 (exit $ac_status); } && { 6449 test -z "$ac_c_werror_flag" || 6450 test ! -s conftest.err 6451 } && test -s conftest.$ac_objext; then 6452 ac_header_compiler=yes 6453 else 6454 echo "$as_me: failed program was:" >&5 6455 sed 's/^/| /' conftest.$ac_ext >&5 6456 6457 ac_header_compiler=no 6458 fi 6459 6460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6461 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6462 echo "${ECHO_T}$ac_header_compiler" >&6; } 6463 6464 # Is the header present? 6465 { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 6466 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } 6467 cat >conftest.$ac_ext <<_ACEOF 6468 /* confdefs.h. */ 6469 _ACEOF 6470 cat confdefs.h >>conftest.$ac_ext 6471 cat >>conftest.$ac_ext <<_ACEOF 6472 /* end confdefs.h. */ 6473 #include <netinet/in.h> 6474 _ACEOF 6475 if { (ac_try="$ac_cpp conftest.$ac_ext" 6476 case "(($ac_try" in 6477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6478 *) ac_try_echo=$ac_try;; 6479 esac 6480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6481 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6482 ac_status=$? 6483 grep -v '^ *+' conftest.er1 >conftest.err 6484 rm -f conftest.er1 6485 cat conftest.err >&5 6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6487 (exit $ac_status); } >/dev/null && { 6488 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6489 test ! -s conftest.err 6490 }; then 6491 ac_header_preproc=yes 6492 else 6493 echo "$as_me: failed program was:" >&5 6494 sed 's/^/| /' conftest.$ac_ext >&5 6495 6496 ac_header_preproc=no 6497 fi 6498 6499 rm -f conftest.err conftest.$ac_ext 6500 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6501 echo "${ECHO_T}$ac_header_preproc" >&6; } 6502 6503 # So? What about this header? 6504 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6505 yes:no: ) 6506 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 6507 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6508 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 6509 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 6510 ac_header_preproc=yes 6511 ;; 6512 no:yes:* ) 6513 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 6514 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 6515 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 6516 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} 6517 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 6518 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 6519 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 6520 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} 6521 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 6522 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 6523 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 6524 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 6525 6526 ;; 6527 esac 6528 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 6529 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 6530 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6531 echo $ECHO_N "(cached) $ECHO_C" >&6 6532 else 6533 ac_cv_header_netinet_in_h=$ac_header_preproc 6534 fi 6535 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 6536 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 6537 6538 fi 6539 if test $ac_cv_header_netinet_in_h = yes; then 6540 cat >>confdefs.h <<\_ACEOF 6541 #define PJ_HAS_NETINET_IN_H 1 6542 _ACEOF 6543 6544 fi 6545 6546 6547 { echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 6548 echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6; } 6549 if test "${ac_cv_header_netinet_ip_h+set}" = set; then 6550 echo $ECHO_N "(cached) $ECHO_C" >&6 6551 else 6552 cat >conftest.$ac_ext <<_ACEOF 6553 /* confdefs.h. */ 6554 _ACEOF 6555 cat confdefs.h >>conftest.$ac_ext 6556 cat >>conftest.$ac_ext <<_ACEOF 6557 /* end confdefs.h. */ 6558 #if PJ_HAS_SYS_TYPES_H 4781 6559 # include <sys/types.h> 4782 6560 #endif … … 4788 6566 #endif 4789 6567 4790 " 4791 if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 4792 $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 4793 4794 fi 4795 4796 4797 ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 4798 if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 4799 $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 4800 4801 fi 4802 4803 4804 ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 4805 if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 4806 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 4807 if test "x$ac_cv_func_getifaddrs" = x""yes; then : 4808 $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 4809 4810 fi 4811 4812 fi 4813 4814 4815 ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 4816 if test "x$ac_cv_header_semaphore_h" = x""yes; then : 4817 $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 4818 4819 fi 4820 4821 4822 ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 4823 if test "x$ac_cv_header_setjmp_h" = x""yes; then : 4824 $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 4825 4826 fi 4827 4828 4829 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 4830 if test "x$ac_cv_header_stdarg_h" = x""yes; then : 4831 $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 4832 4833 fi 4834 4835 4836 ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 4837 if test "x$ac_cv_header_stddef_h" = x""yes; then : 4838 $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 4839 4840 fi 4841 4842 4843 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 4844 if test "x$ac_cv_header_stdio_h" = x""yes; then : 4845 $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 4846 4847 fi 4848 4849 4850 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 4851 if test "x$ac_cv_header_stdint_h" = x""yes; then : 4852 $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 4853 4854 fi 4855 4856 4857 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 4858 if test "x$ac_cv_header_stdlib_h" = x""yes; then : 4859 $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 4860 4861 fi 4862 4863 4864 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 4865 if test "x$ac_cv_header_string_h" = x""yes; then : 4866 $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 4867 4868 fi 4869 4870 4871 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 4872 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 4873 $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 4874 4875 fi 4876 4877 4878 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 4879 if test "x$ac_cv_header_sys_select_h" = x""yes; then : 4880 $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 4881 4882 fi 4883 4884 4885 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 4886 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 4887 $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 4888 4889 fi 4890 4891 4892 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 4893 if test "x$ac_cv_header_sys_time_h" = x""yes; then : 4894 $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 4895 4896 fi 4897 4898 4899 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 4900 if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 4901 $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 4902 4903 fi 4904 4905 4906 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 4907 if test "x$ac_cv_header_sys_types_h" = x""yes; then : 4908 $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 4909 4910 fi 4911 4912 4913 ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 4914 if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 4915 $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 4916 4917 fi 4918 4919 4920 ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 4921 if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 4922 $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 4923 4924 fi 4925 4926 4927 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" 4928 if test "x$ac_cv_header_sys_utsname_h" = x""yes; then : 4929 $as_echo "#define PJ_HAS_SYS_UTSNAME_H 1" >>confdefs.h 4930 4931 fi 4932 4933 4934 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 4935 if test "x$ac_cv_header_time_h" = x""yes; then : 4936 $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 4937 4938 fi 4939 4940 4941 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 4942 if test "x$ac_cv_header_unistd_h" = x""yes; then : 4943 $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 4944 4945 fi 4946 4947 4948 ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 4949 if test "x$ac_cv_header_winsock_h" = x""yes; then : 4950 $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 4951 4952 fi 4953 4954 4955 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 4956 if test "x$ac_cv_header_winsock2_h" = x""yes; then : 4957 $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 4958 4959 fi 4960 4961 4962 ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H 6568 6569 #include <netinet/ip.h> 6570 _ACEOF 6571 rm -f conftest.$ac_objext 6572 if { (ac_try="$ac_compile" 6573 case "(($ac_try" in 6574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6575 *) ac_try_echo=$ac_try;; 6576 esac 6577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6578 (eval "$ac_compile") 2>conftest.er1 6579 ac_status=$? 6580 grep -v '^ *+' conftest.er1 >conftest.err 6581 rm -f conftest.er1 6582 cat conftest.err >&5 6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6584 (exit $ac_status); } && { 6585 test -z "$ac_c_werror_flag" || 6586 test ! -s conftest.err 6587 } && test -s conftest.$ac_objext; then 6588 ac_cv_header_netinet_ip_h=yes 6589 else 6590 echo "$as_me: failed program was:" >&5 6591 sed 's/^/| /' conftest.$ac_ext >&5 6592 6593 ac_cv_header_netinet_ip_h=no 6594 fi 6595 6596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6597 fi 6598 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 6599 echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6; } 6600 if test $ac_cv_header_netinet_ip_h = yes; then 6601 cat >>confdefs.h <<\_ACEOF 6602 #define PJ_HAS_NETINET_IP_H 1 6603 _ACEOF 6604 6605 fi 6606 6607 6608 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6609 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 6610 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 6611 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6612 echo $ECHO_N "(cached) $ECHO_C" >&6 6613 fi 6614 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 6615 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 6616 else 6617 # Is the header compilable? 6618 { echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5 6619 echo $ECHO_N "checking netinet/tcp.h usability... $ECHO_C" >&6; } 6620 cat >conftest.$ac_ext <<_ACEOF 6621 /* confdefs.h. */ 6622 _ACEOF 6623 cat confdefs.h >>conftest.$ac_ext 6624 cat >>conftest.$ac_ext <<_ACEOF 6625 /* end confdefs.h. */ 6626 $ac_includes_default 6627 #include <netinet/tcp.h> 6628 _ACEOF 6629 rm -f conftest.$ac_objext 6630 if { (ac_try="$ac_compile" 6631 case "(($ac_try" in 6632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6633 *) ac_try_echo=$ac_try;; 6634 esac 6635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6636 (eval "$ac_compile") 2>conftest.er1 6637 ac_status=$? 6638 grep -v '^ *+' conftest.er1 >conftest.err 6639 rm -f conftest.er1 6640 cat conftest.err >&5 6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6642 (exit $ac_status); } && { 6643 test -z "$ac_c_werror_flag" || 6644 test ! -s conftest.err 6645 } && test -s conftest.$ac_objext; then 6646 ac_header_compiler=yes 6647 else 6648 echo "$as_me: failed program was:" >&5 6649 sed 's/^/| /' conftest.$ac_ext >&5 6650 6651 ac_header_compiler=no 6652 fi 6653 6654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6655 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6656 echo "${ECHO_T}$ac_header_compiler" >&6; } 6657 6658 # Is the header present? 6659 { echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5 6660 echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; } 6661 cat >conftest.$ac_ext <<_ACEOF 6662 /* confdefs.h. */ 6663 _ACEOF 6664 cat confdefs.h >>conftest.$ac_ext 6665 cat >>conftest.$ac_ext <<_ACEOF 6666 /* end confdefs.h. */ 6667 #include <netinet/tcp.h> 6668 _ACEOF 6669 if { (ac_try="$ac_cpp conftest.$ac_ext" 6670 case "(($ac_try" in 6671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6672 *) ac_try_echo=$ac_try;; 6673 esac 6674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6675 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6676 ac_status=$? 6677 grep -v '^ *+' conftest.er1 >conftest.err 6678 rm -f conftest.er1 6679 cat conftest.err >&5 6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6681 (exit $ac_status); } >/dev/null && { 6682 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6683 test ! -s conftest.err 6684 }; then 6685 ac_header_preproc=yes 6686 else 6687 echo "$as_me: failed program was:" >&5 6688 sed 's/^/| /' conftest.$ac_ext >&5 6689 6690 ac_header_preproc=no 6691 fi 6692 6693 rm -f conftest.err conftest.$ac_ext 6694 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6695 echo "${ECHO_T}$ac_header_preproc" >&6; } 6696 6697 # So? What about this header? 6698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6699 yes:no: ) 6700 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5 6701 echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6702 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&5 6703 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&2;} 6704 ac_header_preproc=yes 6705 ;; 6706 no:yes:* ) 6707 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5 6708 echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;} 6709 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&5 6710 echo "$as_me: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&2;} 6711 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5 6712 echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;} 6713 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&5 6714 echo "$as_me: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&2;} 6715 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&5 6716 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&2;} 6717 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5 6718 echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;} 6719 6720 ;; 6721 esac 6722 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 6723 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 6724 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6725 echo $ECHO_N "(cached) $ECHO_C" >&6 6726 else 6727 ac_cv_header_netinet_tcp_h=$ac_header_preproc 6728 fi 6729 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 6730 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 6731 6732 fi 6733 if test $ac_cv_header_netinet_tcp_h = yes; then 6734 cat >>confdefs.h <<\_ACEOF 6735 #define PJ_HAS_NETINET_TCP_H 1 6736 _ACEOF 6737 6738 fi 6739 6740 6741 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6742 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 6743 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 6744 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6745 echo $ECHO_N "(cached) $ECHO_C" >&6 6746 fi 6747 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 6748 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 6749 else 6750 # Is the header compilable? 6751 { echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 6752 echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6; } 6753 cat >conftest.$ac_ext <<_ACEOF 6754 /* confdefs.h. */ 6755 _ACEOF 6756 cat confdefs.h >>conftest.$ac_ext 6757 cat >>conftest.$ac_ext <<_ACEOF 6758 /* end confdefs.h. */ 6759 $ac_includes_default 6760 #include <ifaddrs.h> 6761 _ACEOF 6762 rm -f conftest.$ac_objext 6763 if { (ac_try="$ac_compile" 6764 case "(($ac_try" in 6765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6766 *) ac_try_echo=$ac_try;; 6767 esac 6768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6769 (eval "$ac_compile") 2>conftest.er1 6770 ac_status=$? 6771 grep -v '^ *+' conftest.er1 >conftest.err 6772 rm -f conftest.er1 6773 cat conftest.err >&5 6774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6775 (exit $ac_status); } && { 6776 test -z "$ac_c_werror_flag" || 6777 test ! -s conftest.err 6778 } && test -s conftest.$ac_objext; then 6779 ac_header_compiler=yes 6780 else 6781 echo "$as_me: failed program was:" >&5 6782 sed 's/^/| /' conftest.$ac_ext >&5 6783 6784 ac_header_compiler=no 6785 fi 6786 6787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6788 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6789 echo "${ECHO_T}$ac_header_compiler" >&6; } 6790 6791 # Is the header present? 6792 { echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 6793 echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6; } 6794 cat >conftest.$ac_ext <<_ACEOF 6795 /* confdefs.h. */ 6796 _ACEOF 6797 cat confdefs.h >>conftest.$ac_ext 6798 cat >>conftest.$ac_ext <<_ACEOF 6799 /* end confdefs.h. */ 6800 #include <ifaddrs.h> 6801 _ACEOF 6802 if { (ac_try="$ac_cpp conftest.$ac_ext" 6803 case "(($ac_try" in 6804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6805 *) ac_try_echo=$ac_try;; 6806 esac 6807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6808 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6809 ac_status=$? 6810 grep -v '^ *+' conftest.er1 >conftest.err 6811 rm -f conftest.er1 6812 cat conftest.err >&5 6813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6814 (exit $ac_status); } >/dev/null && { 6815 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6816 test ! -s conftest.err 6817 }; then 6818 ac_header_preproc=yes 6819 else 6820 echo "$as_me: failed program was:" >&5 6821 sed 's/^/| /' conftest.$ac_ext >&5 6822 6823 ac_header_preproc=no 6824 fi 6825 6826 rm -f conftest.err conftest.$ac_ext 6827 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6828 echo "${ECHO_T}$ac_header_preproc" >&6; } 6829 6830 # So? What about this header? 6831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6832 yes:no: ) 6833 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 6834 echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6835 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5 6836 echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;} 6837 ac_header_preproc=yes 6838 ;; 6839 no:yes:* ) 6840 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 6841 echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;} 6842 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&5 6843 echo "$as_me: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&2;} 6844 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5 6845 echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;} 6846 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: section \"Present But Cannot Be Compiled\"" >&5 6847 echo "$as_me: WARNING: ifaddrs.h: section \"Present But Cannot Be Compiled\"" >&2;} 6848 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 6849 echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;} 6850 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 6851 echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 6852 6853 ;; 6854 esac 6855 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 6856 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 6857 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6858 echo $ECHO_N "(cached) $ECHO_C" >&6 6859 else 6860 ac_cv_header_ifaddrs_h=$ac_header_preproc 6861 fi 6862 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 6863 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 6864 6865 fi 6866 if test $ac_cv_header_ifaddrs_h = yes; then 6867 { echo "$as_me:$LINENO: checking for getifaddrs" >&5 6868 echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6; } 6869 if test "${ac_cv_func_getifaddrs+set}" = set; then 6870 echo $ECHO_N "(cached) $ECHO_C" >&6 6871 else 6872 cat >conftest.$ac_ext <<_ACEOF 6873 /* confdefs.h. */ 6874 _ACEOF 6875 cat confdefs.h >>conftest.$ac_ext 6876 cat >>conftest.$ac_ext <<_ACEOF 6877 /* end confdefs.h. */ 6878 /* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs. 6879 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6880 #define getifaddrs innocuous_getifaddrs 6881 6882 /* System header to define __stub macros and hopefully few prototypes, 6883 which can conflict with char getifaddrs (); below. 6884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6885 <limits.h> exists even on freestanding compilers. */ 6886 6887 #ifdef __STDC__ 6888 # include <limits.h> 6889 #else 6890 # include <assert.h> 6891 #endif 6892 6893 #undef getifaddrs 6894 6895 /* Override any GCC internal prototype to avoid an error. 6896 Use char because int might match the return type of a GCC 6897 builtin and then its argument prototype would still apply. */ 6898 #ifdef __cplusplus 6899 extern "C" 6900 #endif 6901 char getifaddrs (); 6902 /* The GNU C library defines this for functions which it implements 6903 to always fail with ENOSYS. Some functions are actually named 6904 something starting with __ and the normal name is an alias. */ 6905 #if defined __stub_getifaddrs || defined __stub___getifaddrs 6906 choke me 6907 #endif 6908 6909 int 6910 main () 6911 { 6912 return getifaddrs (); 6913 ; 6914 return 0; 6915 } 6916 _ACEOF 6917 rm -f conftest.$ac_objext conftest$ac_exeext 6918 if { (ac_try="$ac_link" 6919 case "(($ac_try" in 6920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6921 *) ac_try_echo=$ac_try;; 6922 esac 6923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6924 (eval "$ac_link") 2>conftest.er1 6925 ac_status=$? 6926 grep -v '^ *+' conftest.er1 >conftest.err 6927 rm -f conftest.er1 6928 cat conftest.err >&5 6929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6930 (exit $ac_status); } && { 6931 test -z "$ac_c_werror_flag" || 6932 test ! -s conftest.err 6933 } && test -s conftest$ac_exeext && 6934 $as_test_x conftest$ac_exeext; then 6935 ac_cv_func_getifaddrs=yes 6936 else 6937 echo "$as_me: failed program was:" >&5 6938 sed 's/^/| /' conftest.$ac_ext >&5 6939 6940 ac_cv_func_getifaddrs=no 6941 fi 6942 6943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6944 conftest$ac_exeext conftest.$ac_ext 6945 fi 6946 { echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5 6947 echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6; } 6948 if test $ac_cv_func_getifaddrs = yes; then 6949 cat >>confdefs.h <<\_ACEOF 6950 #define PJ_HAS_IFADDRS_H 1 6951 _ACEOF 6952 6953 fi 6954 6955 fi 6956 6957 6958 if test "${ac_cv_header_semaphore_h+set}" = set; then 6959 { echo "$as_me:$LINENO: checking for semaphore.h" >&5 6960 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 6961 if test "${ac_cv_header_semaphore_h+set}" = set; then 6962 echo $ECHO_N "(cached) $ECHO_C" >&6 6963 fi 6964 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 6965 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 6966 else 6967 # Is the header compilable? 6968 { echo "$as_me:$LINENO: checking semaphore.h usability" >&5 6969 echo $ECHO_N "checking semaphore.h usability... $ECHO_C" >&6; } 6970 cat >conftest.$ac_ext <<_ACEOF 6971 /* confdefs.h. */ 6972 _ACEOF 6973 cat confdefs.h >>conftest.$ac_ext 6974 cat >>conftest.$ac_ext <<_ACEOF 6975 /* end confdefs.h. */ 6976 $ac_includes_default 6977 #include <semaphore.h> 6978 _ACEOF 6979 rm -f conftest.$ac_objext 6980 if { (ac_try="$ac_compile" 6981 case "(($ac_try" in 6982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6983 *) ac_try_echo=$ac_try;; 6984 esac 6985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6986 (eval "$ac_compile") 2>conftest.er1 6987 ac_status=$? 6988 grep -v '^ *+' conftest.er1 >conftest.err 6989 rm -f conftest.er1 6990 cat conftest.err >&5 6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6992 (exit $ac_status); } && { 6993 test -z "$ac_c_werror_flag" || 6994 test ! -s conftest.err 6995 } && test -s conftest.$ac_objext; then 6996 ac_header_compiler=yes 6997 else 6998 echo "$as_me: failed program was:" >&5 6999 sed 's/^/| /' conftest.$ac_ext >&5 7000 7001 ac_header_compiler=no 7002 fi 7003 7004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7005 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7006 echo "${ECHO_T}$ac_header_compiler" >&6; } 7007 7008 # Is the header present? 7009 { echo "$as_me:$LINENO: checking semaphore.h presence" >&5 7010 echo $ECHO_N "checking semaphore.h presence... $ECHO_C" >&6; } 7011 cat >conftest.$ac_ext <<_ACEOF 7012 /* confdefs.h. */ 7013 _ACEOF 7014 cat confdefs.h >>conftest.$ac_ext 7015 cat >>conftest.$ac_ext <<_ACEOF 7016 /* end confdefs.h. */ 7017 #include <semaphore.h> 7018 _ACEOF 7019 if { (ac_try="$ac_cpp conftest.$ac_ext" 7020 case "(($ac_try" in 7021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7022 *) ac_try_echo=$ac_try;; 7023 esac 7024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7025 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7026 ac_status=$? 7027 grep -v '^ *+' conftest.er1 >conftest.err 7028 rm -f conftest.er1 7029 cat conftest.err >&5 7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7031 (exit $ac_status); } >/dev/null && { 7032 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7033 test ! -s conftest.err 7034 }; then 7035 ac_header_preproc=yes 7036 else 7037 echo "$as_me: failed program was:" >&5 7038 sed 's/^/| /' conftest.$ac_ext >&5 7039 7040 ac_header_preproc=no 7041 fi 7042 7043 rm -f conftest.err conftest.$ac_ext 7044 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7045 echo "${ECHO_T}$ac_header_preproc" >&6; } 7046 7047 # So? What about this header? 7048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7049 yes:no: ) 7050 { echo "$as_me:$LINENO: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&5 7051 echo "$as_me: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7052 { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the compiler's result" >&5 7053 echo "$as_me: WARNING: semaphore.h: proceeding with the compiler's result" >&2;} 7054 ac_header_preproc=yes 7055 ;; 7056 no:yes:* ) 7057 { echo "$as_me:$LINENO: WARNING: semaphore.h: present but cannot be compiled" >&5 7058 echo "$as_me: WARNING: semaphore.h: present but cannot be compiled" >&2;} 7059 { echo "$as_me:$LINENO: WARNING: semaphore.h: check for missing prerequisite headers?" >&5 7060 echo "$as_me: WARNING: semaphore.h: check for missing prerequisite headers?" >&2;} 7061 { echo "$as_me:$LINENO: WARNING: semaphore.h: see the Autoconf documentation" >&5 7062 echo "$as_me: WARNING: semaphore.h: see the Autoconf documentation" >&2;} 7063 { echo "$as_me:$LINENO: WARNING: semaphore.h: section \"Present But Cannot Be Compiled\"" >&5 7064 echo "$as_me: WARNING: semaphore.h: section \"Present But Cannot Be Compiled\"" >&2;} 7065 { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the preprocessor's result" >&5 7066 echo "$as_me: WARNING: semaphore.h: proceeding with the preprocessor's result" >&2;} 7067 { echo "$as_me:$LINENO: WARNING: semaphore.h: in the future, the compiler will take precedence" >&5 7068 echo "$as_me: WARNING: semaphore.h: in the future, the compiler will take precedence" >&2;} 7069 7070 ;; 7071 esac 7072 { echo "$as_me:$LINENO: checking for semaphore.h" >&5 7073 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 7074 if test "${ac_cv_header_semaphore_h+set}" = set; then 7075 echo $ECHO_N "(cached) $ECHO_C" >&6 7076 else 7077 ac_cv_header_semaphore_h=$ac_header_preproc 7078 fi 7079 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 7080 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 7081 7082 fi 7083 if test $ac_cv_header_semaphore_h = yes; then 7084 cat >>confdefs.h <<\_ACEOF 7085 #define PJ_HAS_SEMAPHORE_H 1 7086 _ACEOF 7087 7088 fi 7089 7090 7091 if test "${ac_cv_header_setjmp_h+set}" = set; then 7092 { echo "$as_me:$LINENO: checking for setjmp.h" >&5 7093 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 7094 if test "${ac_cv_header_setjmp_h+set}" = set; then 7095 echo $ECHO_N "(cached) $ECHO_C" >&6 7096 fi 7097 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 7098 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 7099 else 7100 # Is the header compilable? 7101 { echo "$as_me:$LINENO: checking setjmp.h usability" >&5 7102 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6; } 7103 cat >conftest.$ac_ext <<_ACEOF 7104 /* confdefs.h. */ 7105 _ACEOF 7106 cat confdefs.h >>conftest.$ac_ext 7107 cat >>conftest.$ac_ext <<_ACEOF 7108 /* end confdefs.h. */ 7109 $ac_includes_default 7110 #include <setjmp.h> 7111 _ACEOF 7112 rm -f conftest.$ac_objext 7113 if { (ac_try="$ac_compile" 7114 case "(($ac_try" in 7115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7116 *) ac_try_echo=$ac_try;; 7117 esac 7118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7119 (eval "$ac_compile") 2>conftest.er1 7120 ac_status=$? 7121 grep -v '^ *+' conftest.er1 >conftest.err 7122 rm -f conftest.er1 7123 cat conftest.err >&5 7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7125 (exit $ac_status); } && { 7126 test -z "$ac_c_werror_flag" || 7127 test ! -s conftest.err 7128 } && test -s conftest.$ac_objext; then 7129 ac_header_compiler=yes 7130 else 7131 echo "$as_me: failed program was:" >&5 7132 sed 's/^/| /' conftest.$ac_ext >&5 7133 7134 ac_header_compiler=no 7135 fi 7136 7137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7138 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7139 echo "${ECHO_T}$ac_header_compiler" >&6; } 7140 7141 # Is the header present? 7142 { echo "$as_me:$LINENO: checking setjmp.h presence" >&5 7143 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6; } 7144 cat >conftest.$ac_ext <<_ACEOF 7145 /* confdefs.h. */ 7146 _ACEOF 7147 cat confdefs.h >>conftest.$ac_ext 7148 cat >>conftest.$ac_ext <<_ACEOF 7149 /* end confdefs.h. */ 7150 #include <setjmp.h> 7151 _ACEOF 7152 if { (ac_try="$ac_cpp conftest.$ac_ext" 7153 case "(($ac_try" in 7154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7155 *) ac_try_echo=$ac_try;; 7156 esac 7157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7158 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7159 ac_status=$? 7160 grep -v '^ *+' conftest.er1 >conftest.err 7161 rm -f conftest.er1 7162 cat conftest.err >&5 7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7164 (exit $ac_status); } >/dev/null && { 7165 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7166 test ! -s conftest.err 7167 }; then 7168 ac_header_preproc=yes 7169 else 7170 echo "$as_me: failed program was:" >&5 7171 sed 's/^/| /' conftest.$ac_ext >&5 7172 7173 ac_header_preproc=no 7174 fi 7175 7176 rm -f conftest.err conftest.$ac_ext 7177 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7178 echo "${ECHO_T}$ac_header_preproc" >&6; } 7179 7180 # So? What about this header? 7181 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7182 yes:no: ) 7183 { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 7184 echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7185 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 7186 echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 7187 ac_header_preproc=yes 7188 ;; 7189 no:yes:* ) 7190 { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 7191 echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 7192 { echo "$as_me:$LINENO: WARNING: setjmp.h: check for missing prerequisite headers?" >&5 7193 echo "$as_me: WARNING: setjmp.h: check for missing prerequisite headers?" >&2;} 7194 { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 7195 echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 7196 { echo "$as_me:$LINENO: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&5 7197 echo "$as_me: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&2;} 7198 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 7199 echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 7200 { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 7201 echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 7202 7203 ;; 7204 esac 7205 { echo "$as_me:$LINENO: checking for setjmp.h" >&5 7206 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 7207 if test "${ac_cv_header_setjmp_h+set}" = set; then 7208 echo $ECHO_N "(cached) $ECHO_C" >&6 7209 else 7210 ac_cv_header_setjmp_h=$ac_header_preproc 7211 fi 7212 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 7213 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 7214 7215 fi 7216 if test $ac_cv_header_setjmp_h = yes; then 7217 cat >>confdefs.h <<\_ACEOF 7218 #define PJ_HAS_SETJMP_H 1 7219 _ACEOF 7220 7221 fi 7222 7223 7224 if test "${ac_cv_header_stdarg_h+set}" = set; then 7225 { echo "$as_me:$LINENO: checking for stdarg.h" >&5 7226 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 7227 if test "${ac_cv_header_stdarg_h+set}" = set; then 7228 echo $ECHO_N "(cached) $ECHO_C" >&6 7229 fi 7230 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 7231 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 7232 else 7233 # Is the header compilable? 7234 { echo "$as_me:$LINENO: checking stdarg.h usability" >&5 7235 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; } 7236 cat >conftest.$ac_ext <<_ACEOF 7237 /* confdefs.h. */ 7238 _ACEOF 7239 cat confdefs.h >>conftest.$ac_ext 7240 cat >>conftest.$ac_ext <<_ACEOF 7241 /* end confdefs.h. */ 7242 $ac_includes_default 7243 #include <stdarg.h> 7244 _ACEOF 7245 rm -f conftest.$ac_objext 7246 if { (ac_try="$ac_compile" 7247 case "(($ac_try" in 7248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7249 *) ac_try_echo=$ac_try;; 7250 esac 7251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7252 (eval "$ac_compile") 2>conftest.er1 7253 ac_status=$? 7254 grep -v '^ *+' conftest.er1 >conftest.err 7255 rm -f conftest.er1 7256 cat conftest.err >&5 7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7258 (exit $ac_status); } && { 7259 test -z "$ac_c_werror_flag" || 7260 test ! -s conftest.err 7261 } && test -s conftest.$ac_objext; then 7262 ac_header_compiler=yes 7263 else 7264 echo "$as_me: failed program was:" >&5 7265 sed 's/^/| /' conftest.$ac_ext >&5 7266 7267 ac_header_compiler=no 7268 fi 7269 7270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7271 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7272 echo "${ECHO_T}$ac_header_compiler" >&6; } 7273 7274 # Is the header present? 7275 { echo "$as_me:$LINENO: checking stdarg.h presence" >&5 7276 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; } 7277 cat >conftest.$ac_ext <<_ACEOF 7278 /* confdefs.h. */ 7279 _ACEOF 7280 cat confdefs.h >>conftest.$ac_ext 7281 cat >>conftest.$ac_ext <<_ACEOF 7282 /* end confdefs.h. */ 7283 #include <stdarg.h> 7284 _ACEOF 7285 if { (ac_try="$ac_cpp conftest.$ac_ext" 7286 case "(($ac_try" in 7287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7288 *) ac_try_echo=$ac_try;; 7289 esac 7290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7291 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7292 ac_status=$? 7293 grep -v '^ *+' conftest.er1 >conftest.err 7294 rm -f conftest.er1 7295 cat conftest.err >&5 7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7297 (exit $ac_status); } >/dev/null && { 7298 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7299 test ! -s conftest.err 7300 }; then 7301 ac_header_preproc=yes 7302 else 7303 echo "$as_me: failed program was:" >&5 7304 sed 's/^/| /' conftest.$ac_ext >&5 7305 7306 ac_header_preproc=no 7307 fi 7308 7309 rm -f conftest.err conftest.$ac_ext 7310 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7311 echo "${ECHO_T}$ac_header_preproc" >&6; } 7312 7313 # So? What about this header? 7314 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7315 yes:no: ) 7316 { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 7317 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7318 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 7319 echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 7320 ac_header_preproc=yes 7321 ;; 7322 no:yes:* ) 7323 { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 7324 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 7325 { echo "$as_me:$LINENO: WARNING: stdarg.h: check for missing prerequisite headers?" >&5 7326 echo "$as_me: WARNING: stdarg.h: check for missing prerequisite headers?" >&2;} 7327 { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 7328 echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 7329 { echo "$as_me:$LINENO: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&5 7330 echo "$as_me: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&2;} 7331 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 7332 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 7333 { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 7334 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 7335 7336 ;; 7337 esac 7338 { echo "$as_me:$LINENO: checking for stdarg.h" >&5 7339 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 7340 if test "${ac_cv_header_stdarg_h+set}" = set; then 7341 echo $ECHO_N "(cached) $ECHO_C" >&6 7342 else 7343 ac_cv_header_stdarg_h=$ac_header_preproc 7344 fi 7345 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 7346 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 7347 7348 fi 7349 if test $ac_cv_header_stdarg_h = yes; then 7350 cat >>confdefs.h <<\_ACEOF 7351 #define PJ_HAS_STDARG_H 1 7352 _ACEOF 7353 7354 fi 7355 7356 7357 if test "${ac_cv_header_stddef_h+set}" = set; then 7358 { echo "$as_me:$LINENO: checking for stddef.h" >&5 7359 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 7360 if test "${ac_cv_header_stddef_h+set}" = set; then 7361 echo $ECHO_N "(cached) $ECHO_C" >&6 7362 fi 7363 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 7364 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 7365 else 7366 # Is the header compilable? 7367 { echo "$as_me:$LINENO: checking stddef.h usability" >&5 7368 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6; } 7369 cat >conftest.$ac_ext <<_ACEOF 7370 /* confdefs.h. */ 7371 _ACEOF 7372 cat confdefs.h >>conftest.$ac_ext 7373 cat >>conftest.$ac_ext <<_ACEOF 7374 /* end confdefs.h. */ 7375 $ac_includes_default 7376 #include <stddef.h> 7377 _ACEOF 7378 rm -f conftest.$ac_objext 7379 if { (ac_try="$ac_compile" 7380 case "(($ac_try" in 7381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7382 *) ac_try_echo=$ac_try;; 7383 esac 7384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7385 (eval "$ac_compile") 2>conftest.er1 7386 ac_status=$? 7387 grep -v '^ *+' conftest.er1 >conftest.err 7388 rm -f conftest.er1 7389 cat conftest.err >&5 7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7391 (exit $ac_status); } && { 7392 test -z "$ac_c_werror_flag" || 7393 test ! -s conftest.err 7394 } && test -s conftest.$ac_objext; then 7395 ac_header_compiler=yes 7396 else 7397 echo "$as_me: failed program was:" >&5 7398 sed 's/^/| /' conftest.$ac_ext >&5 7399 7400 ac_header_compiler=no 7401 fi 7402 7403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7404 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7405 echo "${ECHO_T}$ac_header_compiler" >&6; } 7406 7407 # Is the header present? 7408 { echo "$as_me:$LINENO: checking stddef.h presence" >&5 7409 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6; } 7410 cat >conftest.$ac_ext <<_ACEOF 7411 /* confdefs.h. */ 7412 _ACEOF 7413 cat confdefs.h >>conftest.$ac_ext 7414 cat >>conftest.$ac_ext <<_ACEOF 7415 /* end confdefs.h. */ 7416 #include <stddef.h> 7417 _ACEOF 7418 if { (ac_try="$ac_cpp conftest.$ac_ext" 7419 case "(($ac_try" in 7420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7421 *) ac_try_echo=$ac_try;; 7422 esac 7423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7424 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7425 ac_status=$? 7426 grep -v '^ *+' conftest.er1 >conftest.err 7427 rm -f conftest.er1 7428 cat conftest.err >&5 7429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7430 (exit $ac_status); } >/dev/null && { 7431 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7432 test ! -s conftest.err 7433 }; then 7434 ac_header_preproc=yes 7435 else 7436 echo "$as_me: failed program was:" >&5 7437 sed 's/^/| /' conftest.$ac_ext >&5 7438 7439 ac_header_preproc=no 7440 fi 7441 7442 rm -f conftest.err conftest.$ac_ext 7443 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7444 echo "${ECHO_T}$ac_header_preproc" >&6; } 7445 7446 # So? What about this header? 7447 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7448 yes:no: ) 7449 { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 7450 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7451 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 7452 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 7453 ac_header_preproc=yes 7454 ;; 7455 no:yes:* ) 7456 { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 7457 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 7458 { echo "$as_me:$LINENO: WARNING: stddef.h: check for missing prerequisite headers?" >&5 7459 echo "$as_me: WARNING: stddef.h: check for missing prerequisite headers?" >&2;} 7460 { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 7461 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 7462 { echo "$as_me:$LINENO: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&5 7463 echo "$as_me: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&2;} 7464 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 7465 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 7466 { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 7467 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 7468 7469 ;; 7470 esac 7471 { echo "$as_me:$LINENO: checking for stddef.h" >&5 7472 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 7473 if test "${ac_cv_header_stddef_h+set}" = set; then 7474 echo $ECHO_N "(cached) $ECHO_C" >&6 7475 else 7476 ac_cv_header_stddef_h=$ac_header_preproc 7477 fi 7478 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 7479 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 7480 7481 fi 7482 if test $ac_cv_header_stddef_h = yes; then 7483 cat >>confdefs.h <<\_ACEOF 7484 #define PJ_HAS_STDDEF_H 1 7485 _ACEOF 7486 7487 fi 7488 7489 7490 if test "${ac_cv_header_stdio_h+set}" = set; then 7491 { echo "$as_me:$LINENO: checking for stdio.h" >&5 7492 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 7493 if test "${ac_cv_header_stdio_h+set}" = set; then 7494 echo $ECHO_N "(cached) $ECHO_C" >&6 7495 fi 7496 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 7497 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 7498 else 7499 # Is the header compilable? 7500 { echo "$as_me:$LINENO: checking stdio.h usability" >&5 7501 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6; } 7502 cat >conftest.$ac_ext <<_ACEOF 7503 /* confdefs.h. */ 7504 _ACEOF 7505 cat confdefs.h >>conftest.$ac_ext 7506 cat >>conftest.$ac_ext <<_ACEOF 7507 /* end confdefs.h. */ 7508 $ac_includes_default 7509 #include <stdio.h> 7510 _ACEOF 7511 rm -f conftest.$ac_objext 7512 if { (ac_try="$ac_compile" 7513 case "(($ac_try" in 7514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7515 *) ac_try_echo=$ac_try;; 7516 esac 7517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7518 (eval "$ac_compile") 2>conftest.er1 7519 ac_status=$? 7520 grep -v '^ *+' conftest.er1 >conftest.err 7521 rm -f conftest.er1 7522 cat conftest.err >&5 7523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7524 (exit $ac_status); } && { 7525 test -z "$ac_c_werror_flag" || 7526 test ! -s conftest.err 7527 } && test -s conftest.$ac_objext; then 7528 ac_header_compiler=yes 7529 else 7530 echo "$as_me: failed program was:" >&5 7531 sed 's/^/| /' conftest.$ac_ext >&5 7532 7533 ac_header_compiler=no 7534 fi 7535 7536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7537 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7538 echo "${ECHO_T}$ac_header_compiler" >&6; } 7539 7540 # Is the header present? 7541 { echo "$as_me:$LINENO: checking stdio.h presence" >&5 7542 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6; } 7543 cat >conftest.$ac_ext <<_ACEOF 7544 /* confdefs.h. */ 7545 _ACEOF 7546 cat confdefs.h >>conftest.$ac_ext 7547 cat >>conftest.$ac_ext <<_ACEOF 7548 /* end confdefs.h. */ 7549 #include <stdio.h> 7550 _ACEOF 7551 if { (ac_try="$ac_cpp conftest.$ac_ext" 7552 case "(($ac_try" in 7553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7554 *) ac_try_echo=$ac_try;; 7555 esac 7556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7558 ac_status=$? 7559 grep -v '^ *+' conftest.er1 >conftest.err 7560 rm -f conftest.er1 7561 cat conftest.err >&5 7562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7563 (exit $ac_status); } >/dev/null && { 7564 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7565 test ! -s conftest.err 7566 }; then 7567 ac_header_preproc=yes 7568 else 7569 echo "$as_me: failed program was:" >&5 7570 sed 's/^/| /' conftest.$ac_ext >&5 7571 7572 ac_header_preproc=no 7573 fi 7574 7575 rm -f conftest.err conftest.$ac_ext 7576 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7577 echo "${ECHO_T}$ac_header_preproc" >&6; } 7578 7579 # So? What about this header? 7580 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7581 yes:no: ) 7582 { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 7583 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7584 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 7585 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 7586 ac_header_preproc=yes 7587 ;; 7588 no:yes:* ) 7589 { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 7590 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 7591 { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5 7592 echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;} 7593 { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 7594 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 7595 { echo "$as_me:$LINENO: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&5 7596 echo "$as_me: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&2;} 7597 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 7598 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 7599 { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 7600 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 7601 7602 ;; 7603 esac 7604 { echo "$as_me:$LINENO: checking for stdio.h" >&5 7605 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 7606 if test "${ac_cv_header_stdio_h+set}" = set; then 7607 echo $ECHO_N "(cached) $ECHO_C" >&6 7608 else 7609 ac_cv_header_stdio_h=$ac_header_preproc 7610 fi 7611 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 7612 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 7613 7614 fi 7615 if test $ac_cv_header_stdio_h = yes; then 7616 cat >>confdefs.h <<\_ACEOF 7617 #define PJ_HAS_STDIO_H 1 7618 _ACEOF 7619 7620 fi 7621 7622 7623 if test "${ac_cv_header_stdint_h+set}" = set; then 7624 { echo "$as_me:$LINENO: checking for stdint.h" >&5 7625 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 7626 if test "${ac_cv_header_stdint_h+set}" = set; then 7627 echo $ECHO_N "(cached) $ECHO_C" >&6 7628 fi 7629 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 7630 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 7631 else 7632 # Is the header compilable? 7633 { echo "$as_me:$LINENO: checking stdint.h usability" >&5 7634 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6; } 7635 cat >conftest.$ac_ext <<_ACEOF 7636 /* confdefs.h. */ 7637 _ACEOF 7638 cat confdefs.h >>conftest.$ac_ext 7639 cat >>conftest.$ac_ext <<_ACEOF 7640 /* end confdefs.h. */ 7641 $ac_includes_default 7642 #include <stdint.h> 7643 _ACEOF 7644 rm -f conftest.$ac_objext 7645 if { (ac_try="$ac_compile" 7646 case "(($ac_try" in 7647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7648 *) ac_try_echo=$ac_try;; 7649 esac 7650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7651 (eval "$ac_compile") 2>conftest.er1 7652 ac_status=$? 7653 grep -v '^ *+' conftest.er1 >conftest.err 7654 rm -f conftest.er1 7655 cat conftest.err >&5 7656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7657 (exit $ac_status); } && { 7658 test -z "$ac_c_werror_flag" || 7659 test ! -s conftest.err 7660 } && test -s conftest.$ac_objext; then 7661 ac_header_compiler=yes 7662 else 7663 echo "$as_me: failed program was:" >&5 7664 sed 's/^/| /' conftest.$ac_ext >&5 7665 7666 ac_header_compiler=no 7667 fi 7668 7669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7670 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7671 echo "${ECHO_T}$ac_header_compiler" >&6; } 7672 7673 # Is the header present? 7674 { echo "$as_me:$LINENO: checking stdint.h presence" >&5 7675 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6; } 7676 cat >conftest.$ac_ext <<_ACEOF 7677 /* confdefs.h. */ 7678 _ACEOF 7679 cat confdefs.h >>conftest.$ac_ext 7680 cat >>conftest.$ac_ext <<_ACEOF 7681 /* end confdefs.h. */ 7682 #include <stdint.h> 7683 _ACEOF 7684 if { (ac_try="$ac_cpp conftest.$ac_ext" 7685 case "(($ac_try" in 7686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7687 *) ac_try_echo=$ac_try;; 7688 esac 7689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7691 ac_status=$? 7692 grep -v '^ *+' conftest.er1 >conftest.err 7693 rm -f conftest.er1 7694 cat conftest.err >&5 7695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7696 (exit $ac_status); } >/dev/null && { 7697 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7698 test ! -s conftest.err 7699 }; then 7700 ac_header_preproc=yes 7701 else 7702 echo "$as_me: failed program was:" >&5 7703 sed 's/^/| /' conftest.$ac_ext >&5 7704 7705 ac_header_preproc=no 7706 fi 7707 7708 rm -f conftest.err conftest.$ac_ext 7709 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7710 echo "${ECHO_T}$ac_header_preproc" >&6; } 7711 7712 # So? What about this header? 7713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7714 yes:no: ) 7715 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 7716 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7717 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 7718 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 7719 ac_header_preproc=yes 7720 ;; 7721 no:yes:* ) 7722 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 7723 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 7724 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5 7725 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;} 7726 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 7727 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 7728 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5 7729 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;} 7730 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 7731 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 7732 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 7733 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 7734 7735 ;; 7736 esac 7737 { echo "$as_me:$LINENO: checking for stdint.h" >&5 7738 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 7739 if test "${ac_cv_header_stdint_h+set}" = set; then 7740 echo $ECHO_N "(cached) $ECHO_C" >&6 7741 else 7742 ac_cv_header_stdint_h=$ac_header_preproc 7743 fi 7744 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 7745 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 7746 7747 fi 7748 if test $ac_cv_header_stdint_h = yes; then 7749 cat >>confdefs.h <<\_ACEOF 7750 #define PJ_HAS_STDINT_H 1 7751 _ACEOF 7752 7753 fi 7754 7755 7756 if test "${ac_cv_header_stdlib_h+set}" = set; then 7757 { echo "$as_me:$LINENO: checking for stdlib.h" >&5 7758 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 7759 if test "${ac_cv_header_stdlib_h+set}" = set; then 7760 echo $ECHO_N "(cached) $ECHO_C" >&6 7761 fi 7762 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 7763 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 7764 else 7765 # Is the header compilable? 7766 { echo "$as_me:$LINENO: checking stdlib.h usability" >&5 7767 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; } 7768 cat >conftest.$ac_ext <<_ACEOF 7769 /* confdefs.h. */ 7770 _ACEOF 7771 cat confdefs.h >>conftest.$ac_ext 7772 cat >>conftest.$ac_ext <<_ACEOF 7773 /* end confdefs.h. */ 7774 $ac_includes_default 7775 #include <stdlib.h> 7776 _ACEOF 7777 rm -f conftest.$ac_objext 7778 if { (ac_try="$ac_compile" 7779 case "(($ac_try" in 7780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7781 *) ac_try_echo=$ac_try;; 7782 esac 7783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7784 (eval "$ac_compile") 2>conftest.er1 7785 ac_status=$? 7786 grep -v '^ *+' conftest.er1 >conftest.err 7787 rm -f conftest.er1 7788 cat conftest.err >&5 7789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7790 (exit $ac_status); } && { 7791 test -z "$ac_c_werror_flag" || 7792 test ! -s conftest.err 7793 } && test -s conftest.$ac_objext; then 7794 ac_header_compiler=yes 7795 else 7796 echo "$as_me: failed program was:" >&5 7797 sed 's/^/| /' conftest.$ac_ext >&5 7798 7799 ac_header_compiler=no 7800 fi 7801 7802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7803 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7804 echo "${ECHO_T}$ac_header_compiler" >&6; } 7805 7806 # Is the header present? 7807 { echo "$as_me:$LINENO: checking stdlib.h presence" >&5 7808 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; } 7809 cat >conftest.$ac_ext <<_ACEOF 7810 /* confdefs.h. */ 7811 _ACEOF 7812 cat confdefs.h >>conftest.$ac_ext 7813 cat >>conftest.$ac_ext <<_ACEOF 7814 /* end confdefs.h. */ 7815 #include <stdlib.h> 7816 _ACEOF 7817 if { (ac_try="$ac_cpp conftest.$ac_ext" 7818 case "(($ac_try" in 7819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7820 *) ac_try_echo=$ac_try;; 7821 esac 7822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7823 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7824 ac_status=$? 7825 grep -v '^ *+' conftest.er1 >conftest.err 7826 rm -f conftest.er1 7827 cat conftest.err >&5 7828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7829 (exit $ac_status); } >/dev/null && { 7830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7831 test ! -s conftest.err 7832 }; then 7833 ac_header_preproc=yes 7834 else 7835 echo "$as_me: failed program was:" >&5 7836 sed 's/^/| /' conftest.$ac_ext >&5 7837 7838 ac_header_preproc=no 7839 fi 7840 7841 rm -f conftest.err conftest.$ac_ext 7842 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7843 echo "${ECHO_T}$ac_header_preproc" >&6; } 7844 7845 # So? What about this header? 7846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7847 yes:no: ) 7848 { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 7849 echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7850 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 7851 echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 7852 ac_header_preproc=yes 7853 ;; 7854 no:yes:* ) 7855 { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 7856 echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 7857 { echo "$as_me:$LINENO: WARNING: stdlib.h: check for missing prerequisite headers?" >&5 7858 echo "$as_me: WARNING: stdlib.h: check for missing prerequisite headers?" >&2;} 7859 { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 7860 echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 7861 { echo "$as_me:$LINENO: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&5 7862 echo "$as_me: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&2;} 7863 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 7864 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 7865 { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 7866 echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 7867 7868 ;; 7869 esac 7870 { echo "$as_me:$LINENO: checking for stdlib.h" >&5 7871 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 7872 if test "${ac_cv_header_stdlib_h+set}" = set; then 7873 echo $ECHO_N "(cached) $ECHO_C" >&6 7874 else 7875 ac_cv_header_stdlib_h=$ac_header_preproc 7876 fi 7877 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 7878 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 7879 7880 fi 7881 if test $ac_cv_header_stdlib_h = yes; then 7882 cat >>confdefs.h <<\_ACEOF 7883 #define PJ_HAS_STDLIB_H 1 7884 _ACEOF 7885 7886 fi 7887 7888 7889 if test "${ac_cv_header_string_h+set}" = set; then 7890 { echo "$as_me:$LINENO: checking for string.h" >&5 7891 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 7892 if test "${ac_cv_header_string_h+set}" = set; then 7893 echo $ECHO_N "(cached) $ECHO_C" >&6 7894 fi 7895 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 7896 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 7897 else 7898 # Is the header compilable? 7899 { echo "$as_me:$LINENO: checking string.h usability" >&5 7900 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6; } 7901 cat >conftest.$ac_ext <<_ACEOF 7902 /* confdefs.h. */ 7903 _ACEOF 7904 cat confdefs.h >>conftest.$ac_ext 7905 cat >>conftest.$ac_ext <<_ACEOF 7906 /* end confdefs.h. */ 7907 $ac_includes_default 7908 #include <string.h> 7909 _ACEOF 7910 rm -f conftest.$ac_objext 7911 if { (ac_try="$ac_compile" 7912 case "(($ac_try" in 7913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7914 *) ac_try_echo=$ac_try;; 7915 esac 7916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7917 (eval "$ac_compile") 2>conftest.er1 7918 ac_status=$? 7919 grep -v '^ *+' conftest.er1 >conftest.err 7920 rm -f conftest.er1 7921 cat conftest.err >&5 7922 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7923 (exit $ac_status); } && { 7924 test -z "$ac_c_werror_flag" || 7925 test ! -s conftest.err 7926 } && test -s conftest.$ac_objext; then 7927 ac_header_compiler=yes 7928 else 7929 echo "$as_me: failed program was:" >&5 7930 sed 's/^/| /' conftest.$ac_ext >&5 7931 7932 ac_header_compiler=no 7933 fi 7934 7935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7936 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7937 echo "${ECHO_T}$ac_header_compiler" >&6; } 7938 7939 # Is the header present? 7940 { echo "$as_me:$LINENO: checking string.h presence" >&5 7941 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6; } 7942 cat >conftest.$ac_ext <<_ACEOF 7943 /* confdefs.h. */ 7944 _ACEOF 7945 cat confdefs.h >>conftest.$ac_ext 7946 cat >>conftest.$ac_ext <<_ACEOF 7947 /* end confdefs.h. */ 7948 #include <string.h> 7949 _ACEOF 7950 if { (ac_try="$ac_cpp conftest.$ac_ext" 7951 case "(($ac_try" in 7952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7953 *) ac_try_echo=$ac_try;; 7954 esac 7955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7957 ac_status=$? 7958 grep -v '^ *+' conftest.er1 >conftest.err 7959 rm -f conftest.er1 7960 cat conftest.err >&5 7961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7962 (exit $ac_status); } >/dev/null && { 7963 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7964 test ! -s conftest.err 7965 }; then 7966 ac_header_preproc=yes 7967 else 7968 echo "$as_me: failed program was:" >&5 7969 sed 's/^/| /' conftest.$ac_ext >&5 7970 7971 ac_header_preproc=no 7972 fi 7973 7974 rm -f conftest.err conftest.$ac_ext 7975 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7976 echo "${ECHO_T}$ac_header_preproc" >&6; } 7977 7978 # So? What about this header? 7979 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7980 yes:no: ) 7981 { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 7982 echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7983 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 7984 echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 7985 ac_header_preproc=yes 7986 ;; 7987 no:yes:* ) 7988 { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 7989 echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 7990 { echo "$as_me:$LINENO: WARNING: string.h: check for missing prerequisite headers?" >&5 7991 echo "$as_me: WARNING: string.h: check for missing prerequisite headers?" >&2;} 7992 { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 7993 echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 7994 { echo "$as_me:$LINENO: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&5 7995 echo "$as_me: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&2;} 7996 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 7997 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 7998 { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 7999 echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 8000 8001 ;; 8002 esac 8003 { echo "$as_me:$LINENO: checking for string.h" >&5 8004 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 8005 if test "${ac_cv_header_string_h+set}" = set; then 8006 echo $ECHO_N "(cached) $ECHO_C" >&6 8007 else 8008 ac_cv_header_string_h=$ac_header_preproc 8009 fi 8010 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 8011 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 8012 8013 fi 8014 if test $ac_cv_header_string_h = yes; then 8015 cat >>confdefs.h <<\_ACEOF 8016 #define PJ_HAS_STRING_H 1 8017 _ACEOF 8018 8019 fi 8020 8021 8022 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 8023 { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 8024 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 8025 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 8026 echo $ECHO_N "(cached) $ECHO_C" >&6 8027 fi 8028 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 8029 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 8030 else 8031 # Is the header compilable? 8032 { echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 8033 echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6; } 8034 cat >conftest.$ac_ext <<_ACEOF 8035 /* confdefs.h. */ 8036 _ACEOF 8037 cat confdefs.h >>conftest.$ac_ext 8038 cat >>conftest.$ac_ext <<_ACEOF 8039 /* end confdefs.h. */ 8040 $ac_includes_default 8041 #include <sys/ioctl.h> 8042 _ACEOF 8043 rm -f conftest.$ac_objext 8044 if { (ac_try="$ac_compile" 8045 case "(($ac_try" in 8046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8047 *) ac_try_echo=$ac_try;; 8048 esac 8049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8050 (eval "$ac_compile") 2>conftest.er1 8051 ac_status=$? 8052 grep -v '^ *+' conftest.er1 >conftest.err 8053 rm -f conftest.er1 8054 cat conftest.err >&5 8055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8056 (exit $ac_status); } && { 8057 test -z "$ac_c_werror_flag" || 8058 test ! -s conftest.err 8059 } && test -s conftest.$ac_objext; then 8060 ac_header_compiler=yes 8061 else 8062 echo "$as_me: failed program was:" >&5 8063 sed 's/^/| /' conftest.$ac_ext >&5 8064 8065 ac_header_compiler=no 8066 fi 8067 8068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8069 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8070 echo "${ECHO_T}$ac_header_compiler" >&6; } 8071 8072 # Is the header present? 8073 { echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 8074 echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6; } 8075 cat >conftest.$ac_ext <<_ACEOF 8076 /* confdefs.h. */ 8077 _ACEOF 8078 cat confdefs.h >>conftest.$ac_ext 8079 cat >>conftest.$ac_ext <<_ACEOF 8080 /* end confdefs.h. */ 8081 #include <sys/ioctl.h> 8082 _ACEOF 8083 if { (ac_try="$ac_cpp conftest.$ac_ext" 8084 case "(($ac_try" in 8085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8086 *) ac_try_echo=$ac_try;; 8087 esac 8088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8089 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8090 ac_status=$? 8091 grep -v '^ *+' conftest.er1 >conftest.err 8092 rm -f conftest.er1 8093 cat conftest.err >&5 8094 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8095 (exit $ac_status); } >/dev/null && { 8096 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8097 test ! -s conftest.err 8098 }; then 8099 ac_header_preproc=yes 8100 else 8101 echo "$as_me: failed program was:" >&5 8102 sed 's/^/| /' conftest.$ac_ext >&5 8103 8104 ac_header_preproc=no 8105 fi 8106 8107 rm -f conftest.err conftest.$ac_ext 8108 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8109 echo "${ECHO_T}$ac_header_preproc" >&6; } 8110 8111 # So? What about this header? 8112 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8113 yes:no: ) 8114 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 8115 echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8116 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 8117 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 8118 ac_header_preproc=yes 8119 ;; 8120 no:yes:* ) 8121 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 8122 echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 8123 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&5 8124 echo "$as_me: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&2;} 8125 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 8126 echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 8127 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: section \"Present But Cannot Be Compiled\"" >&5 8128 echo "$as_me: WARNING: sys/ioctl.h: section \"Present But Cannot Be Compiled\"" >&2;} 8129 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 8130 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 8131 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 8132 echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 8133 8134 ;; 8135 esac 8136 { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 8137 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 8138 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 8139 echo $ECHO_N "(cached) $ECHO_C" >&6 8140 else 8141 ac_cv_header_sys_ioctl_h=$ac_header_preproc 8142 fi 8143 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 8144 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 8145 8146 fi 8147 if test $ac_cv_header_sys_ioctl_h = yes; then 8148 cat >>confdefs.h <<\_ACEOF 8149 #define PJ_HAS_SYS_IOCTL_H 1 8150 _ACEOF 8151 8152 fi 8153 8154 8155 if test "${ac_cv_header_sys_select_h+set}" = set; then 8156 { echo "$as_me:$LINENO: checking for sys/select.h" >&5 8157 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 8158 if test "${ac_cv_header_sys_select_h+set}" = set; then 8159 echo $ECHO_N "(cached) $ECHO_C" >&6 8160 fi 8161 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 8162 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 8163 else 8164 # Is the header compilable? 8165 { echo "$as_me:$LINENO: checking sys/select.h usability" >&5 8166 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6; } 8167 cat >conftest.$ac_ext <<_ACEOF 8168 /* confdefs.h. */ 8169 _ACEOF 8170 cat confdefs.h >>conftest.$ac_ext 8171 cat >>conftest.$ac_ext <<_ACEOF 8172 /* end confdefs.h. */ 8173 $ac_includes_default 8174 #include <sys/select.h> 8175 _ACEOF 8176 rm -f conftest.$ac_objext 8177 if { (ac_try="$ac_compile" 8178 case "(($ac_try" in 8179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8180 *) ac_try_echo=$ac_try;; 8181 esac 8182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8183 (eval "$ac_compile") 2>conftest.er1 8184 ac_status=$? 8185 grep -v '^ *+' conftest.er1 >conftest.err 8186 rm -f conftest.er1 8187 cat conftest.err >&5 8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8189 (exit $ac_status); } && { 8190 test -z "$ac_c_werror_flag" || 8191 test ! -s conftest.err 8192 } && test -s conftest.$ac_objext; then 8193 ac_header_compiler=yes 8194 else 8195 echo "$as_me: failed program was:" >&5 8196 sed 's/^/| /' conftest.$ac_ext >&5 8197 8198 ac_header_compiler=no 8199 fi 8200 8201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8202 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8203 echo "${ECHO_T}$ac_header_compiler" >&6; } 8204 8205 # Is the header present? 8206 { echo "$as_me:$LINENO: checking sys/select.h presence" >&5 8207 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6; } 8208 cat >conftest.$ac_ext <<_ACEOF 8209 /* confdefs.h. */ 8210 _ACEOF 8211 cat confdefs.h >>conftest.$ac_ext 8212 cat >>conftest.$ac_ext <<_ACEOF 8213 /* end confdefs.h. */ 8214 #include <sys/select.h> 8215 _ACEOF 8216 if { (ac_try="$ac_cpp conftest.$ac_ext" 8217 case "(($ac_try" in 8218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8219 *) ac_try_echo=$ac_try;; 8220 esac 8221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8222 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8223 ac_status=$? 8224 grep -v '^ *+' conftest.er1 >conftest.err 8225 rm -f conftest.er1 8226 cat conftest.err >&5 8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8228 (exit $ac_status); } >/dev/null && { 8229 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8230 test ! -s conftest.err 8231 }; then 8232 ac_header_preproc=yes 8233 else 8234 echo "$as_me: failed program was:" >&5 8235 sed 's/^/| /' conftest.$ac_ext >&5 8236 8237 ac_header_preproc=no 8238 fi 8239 8240 rm -f conftest.err conftest.$ac_ext 8241 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8242 echo "${ECHO_T}$ac_header_preproc" >&6; } 8243 8244 # So? What about this header? 8245 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8246 yes:no: ) 8247 { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 8248 echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8249 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 8250 echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 8251 ac_header_preproc=yes 8252 ;; 8253 no:yes:* ) 8254 { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 8255 echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 8256 { echo "$as_me:$LINENO: WARNING: sys/select.h: check for missing prerequisite headers?" >&5 8257 echo "$as_me: WARNING: sys/select.h: check for missing prerequisite headers?" >&2;} 8258 { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 8259 echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 8260 { echo "$as_me:$LINENO: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&5 8261 echo "$as_me: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&2;} 8262 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 8263 echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 8264 { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 8265 echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 8266 8267 ;; 8268 esac 8269 { echo "$as_me:$LINENO: checking for sys/select.h" >&5 8270 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 8271 if test "${ac_cv_header_sys_select_h+set}" = set; then 8272 echo $ECHO_N "(cached) $ECHO_C" >&6 8273 else 8274 ac_cv_header_sys_select_h=$ac_header_preproc 8275 fi 8276 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 8277 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 8278 8279 fi 8280 if test $ac_cv_header_sys_select_h = yes; then 8281 cat >>confdefs.h <<\_ACEOF 8282 #define PJ_HAS_SYS_SELECT_H 1 8283 _ACEOF 8284 8285 fi 8286 8287 8288 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8289 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 8290 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 8291 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8292 echo $ECHO_N "(cached) $ECHO_C" >&6 8293 fi 8294 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 8295 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 8296 else 8297 # Is the header compilable? 8298 { echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 8299 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; } 8300 cat >conftest.$ac_ext <<_ACEOF 8301 /* confdefs.h. */ 8302 _ACEOF 8303 cat confdefs.h >>conftest.$ac_ext 8304 cat >>conftest.$ac_ext <<_ACEOF 8305 /* end confdefs.h. */ 8306 $ac_includes_default 8307 #include <sys/socket.h> 8308 _ACEOF 8309 rm -f conftest.$ac_objext 8310 if { (ac_try="$ac_compile" 8311 case "(($ac_try" in 8312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8313 *) ac_try_echo=$ac_try;; 8314 esac 8315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8316 (eval "$ac_compile") 2>conftest.er1 8317 ac_status=$? 8318 grep -v '^ *+' conftest.er1 >conftest.err 8319 rm -f conftest.er1 8320 cat conftest.err >&5 8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8322 (exit $ac_status); } && { 8323 test -z "$ac_c_werror_flag" || 8324 test ! -s conftest.err 8325 } && test -s conftest.$ac_objext; then 8326 ac_header_compiler=yes 8327 else 8328 echo "$as_me: failed program was:" >&5 8329 sed 's/^/| /' conftest.$ac_ext >&5 8330 8331 ac_header_compiler=no 8332 fi 8333 8334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8335 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8336 echo "${ECHO_T}$ac_header_compiler" >&6; } 8337 8338 # Is the header present? 8339 { echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 8340 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; } 8341 cat >conftest.$ac_ext <<_ACEOF 8342 /* confdefs.h. */ 8343 _ACEOF 8344 cat confdefs.h >>conftest.$ac_ext 8345 cat >>conftest.$ac_ext <<_ACEOF 8346 /* end confdefs.h. */ 8347 #include <sys/socket.h> 8348 _ACEOF 8349 if { (ac_try="$ac_cpp conftest.$ac_ext" 8350 case "(($ac_try" in 8351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8352 *) ac_try_echo=$ac_try;; 8353 esac 8354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8355 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8356 ac_status=$? 8357 grep -v '^ *+' conftest.er1 >conftest.err 8358 rm -f conftest.er1 8359 cat conftest.err >&5 8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8361 (exit $ac_status); } >/dev/null && { 8362 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8363 test ! -s conftest.err 8364 }; then 8365 ac_header_preproc=yes 8366 else 8367 echo "$as_me: failed program was:" >&5 8368 sed 's/^/| /' conftest.$ac_ext >&5 8369 8370 ac_header_preproc=no 8371 fi 8372 8373 rm -f conftest.err conftest.$ac_ext 8374 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8375 echo "${ECHO_T}$ac_header_preproc" >&6; } 8376 8377 # So? What about this header? 8378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8379 yes:no: ) 8380 { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 8381 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8382 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 8383 echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 8384 ac_header_preproc=yes 8385 ;; 8386 no:yes:* ) 8387 { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 8388 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 8389 { echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5 8390 echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;} 8391 { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 8392 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 8393 { echo "$as_me:$LINENO: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&5 8394 echo "$as_me: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&2;} 8395 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 8396 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 8397 { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 8398 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 8399 8400 ;; 8401 esac 8402 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 8403 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 8404 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8405 echo $ECHO_N "(cached) $ECHO_C" >&6 8406 else 8407 ac_cv_header_sys_socket_h=$ac_header_preproc 8408 fi 8409 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 8410 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 8411 8412 fi 8413 if test $ac_cv_header_sys_socket_h = yes; then 8414 cat >>confdefs.h <<\_ACEOF 8415 #define PJ_HAS_SYS_SOCKET_H 1 8416 _ACEOF 8417 8418 fi 8419 8420 8421 if test "${ac_cv_header_sys_time_h+set}" = set; then 8422 { echo "$as_me:$LINENO: checking for sys/time.h" >&5 8423 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 8424 if test "${ac_cv_header_sys_time_h+set}" = set; then 8425 echo $ECHO_N "(cached) $ECHO_C" >&6 8426 fi 8427 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 8428 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 8429 else 8430 # Is the header compilable? 8431 { echo "$as_me:$LINENO: checking sys/time.h usability" >&5 8432 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6; } 8433 cat >conftest.$ac_ext <<_ACEOF 8434 /* confdefs.h. */ 8435 _ACEOF 8436 cat confdefs.h >>conftest.$ac_ext 8437 cat >>conftest.$ac_ext <<_ACEOF 8438 /* end confdefs.h. */ 8439 $ac_includes_default 8440 #include <sys/time.h> 8441 _ACEOF 8442 rm -f conftest.$ac_objext 8443 if { (ac_try="$ac_compile" 8444 case "(($ac_try" in 8445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8446 *) ac_try_echo=$ac_try;; 8447 esac 8448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8449 (eval "$ac_compile") 2>conftest.er1 8450 ac_status=$? 8451 grep -v '^ *+' conftest.er1 >conftest.err 8452 rm -f conftest.er1 8453 cat conftest.err >&5 8454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8455 (exit $ac_status); } && { 8456 test -z "$ac_c_werror_flag" || 8457 test ! -s conftest.err 8458 } && test -s conftest.$ac_objext; then 8459 ac_header_compiler=yes 8460 else 8461 echo "$as_me: failed program was:" >&5 8462 sed 's/^/| /' conftest.$ac_ext >&5 8463 8464 ac_header_compiler=no 8465 fi 8466 8467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8468 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8469 echo "${ECHO_T}$ac_header_compiler" >&6; } 8470 8471 # Is the header present? 8472 { echo "$as_me:$LINENO: checking sys/time.h presence" >&5 8473 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6; } 8474 cat >conftest.$ac_ext <<_ACEOF 8475 /* confdefs.h. */ 8476 _ACEOF 8477 cat confdefs.h >>conftest.$ac_ext 8478 cat >>conftest.$ac_ext <<_ACEOF 8479 /* end confdefs.h. */ 8480 #include <sys/time.h> 8481 _ACEOF 8482 if { (ac_try="$ac_cpp conftest.$ac_ext" 8483 case "(($ac_try" in 8484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8485 *) ac_try_echo=$ac_try;; 8486 esac 8487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8488 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8489 ac_status=$? 8490 grep -v '^ *+' conftest.er1 >conftest.err 8491 rm -f conftest.er1 8492 cat conftest.err >&5 8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8494 (exit $ac_status); } >/dev/null && { 8495 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8496 test ! -s conftest.err 8497 }; then 8498 ac_header_preproc=yes 8499 else 8500 echo "$as_me: failed program was:" >&5 8501 sed 's/^/| /' conftest.$ac_ext >&5 8502 8503 ac_header_preproc=no 8504 fi 8505 8506 rm -f conftest.err conftest.$ac_ext 8507 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8508 echo "${ECHO_T}$ac_header_preproc" >&6; } 8509 8510 # So? What about this header? 8511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8512 yes:no: ) 8513 { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 8514 echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8515 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 8516 echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 8517 ac_header_preproc=yes 8518 ;; 8519 no:yes:* ) 8520 { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 8521 echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 8522 { echo "$as_me:$LINENO: WARNING: sys/time.h: check for missing prerequisite headers?" >&5 8523 echo "$as_me: WARNING: sys/time.h: check for missing prerequisite headers?" >&2;} 8524 { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 8525 echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 8526 { echo "$as_me:$LINENO: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&5 8527 echo "$as_me: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&2;} 8528 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 8529 echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 8530 { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 8531 echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 8532 8533 ;; 8534 esac 8535 { echo "$as_me:$LINENO: checking for sys/time.h" >&5 8536 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 8537 if test "${ac_cv_header_sys_time_h+set}" = set; then 8538 echo $ECHO_N "(cached) $ECHO_C" >&6 8539 else 8540 ac_cv_header_sys_time_h=$ac_header_preproc 8541 fi 8542 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 8543 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 8544 8545 fi 8546 if test $ac_cv_header_sys_time_h = yes; then 8547 cat >>confdefs.h <<\_ACEOF 8548 #define PJ_HAS_SYS_TIME_H 1 8549 _ACEOF 8550 8551 fi 8552 8553 8554 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8555 { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 8556 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 8557 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8558 echo $ECHO_N "(cached) $ECHO_C" >&6 8559 fi 8560 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 8561 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 8562 else 8563 # Is the header compilable? 8564 { echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 8565 echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6; } 8566 cat >conftest.$ac_ext <<_ACEOF 8567 /* confdefs.h. */ 8568 _ACEOF 8569 cat confdefs.h >>conftest.$ac_ext 8570 cat >>conftest.$ac_ext <<_ACEOF 8571 /* end confdefs.h. */ 8572 $ac_includes_default 8573 #include <sys/timeb.h> 8574 _ACEOF 8575 rm -f conftest.$ac_objext 8576 if { (ac_try="$ac_compile" 8577 case "(($ac_try" in 8578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8579 *) ac_try_echo=$ac_try;; 8580 esac 8581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8582 (eval "$ac_compile") 2>conftest.er1 8583 ac_status=$? 8584 grep -v '^ *+' conftest.er1 >conftest.err 8585 rm -f conftest.er1 8586 cat conftest.err >&5 8587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8588 (exit $ac_status); } && { 8589 test -z "$ac_c_werror_flag" || 8590 test ! -s conftest.err 8591 } && test -s conftest.$ac_objext; then 8592 ac_header_compiler=yes 8593 else 8594 echo "$as_me: failed program was:" >&5 8595 sed 's/^/| /' conftest.$ac_ext >&5 8596 8597 ac_header_compiler=no 8598 fi 8599 8600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8601 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8602 echo "${ECHO_T}$ac_header_compiler" >&6; } 8603 8604 # Is the header present? 8605 { echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 8606 echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6; } 8607 cat >conftest.$ac_ext <<_ACEOF 8608 /* confdefs.h. */ 8609 _ACEOF 8610 cat confdefs.h >>conftest.$ac_ext 8611 cat >>conftest.$ac_ext <<_ACEOF 8612 /* end confdefs.h. */ 8613 #include <sys/timeb.h> 8614 _ACEOF 8615 if { (ac_try="$ac_cpp conftest.$ac_ext" 8616 case "(($ac_try" in 8617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8618 *) ac_try_echo=$ac_try;; 8619 esac 8620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8621 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8622 ac_status=$? 8623 grep -v '^ *+' conftest.er1 >conftest.err 8624 rm -f conftest.er1 8625 cat conftest.err >&5 8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8627 (exit $ac_status); } >/dev/null && { 8628 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8629 test ! -s conftest.err 8630 }; then 8631 ac_header_preproc=yes 8632 else 8633 echo "$as_me: failed program was:" >&5 8634 sed 's/^/| /' conftest.$ac_ext >&5 8635 8636 ac_header_preproc=no 8637 fi 8638 8639 rm -f conftest.err conftest.$ac_ext 8640 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8641 echo "${ECHO_T}$ac_header_preproc" >&6; } 8642 8643 # So? What about this header? 8644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8645 yes:no: ) 8646 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 8647 echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8648 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 8649 echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 8650 ac_header_preproc=yes 8651 ;; 8652 no:yes:* ) 8653 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 8654 echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 8655 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&5 8656 echo "$as_me: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&2;} 8657 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 8658 echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 8659 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: section \"Present But Cannot Be Compiled\"" >&5 8660 echo "$as_me: WARNING: sys/timeb.h: section \"Present But Cannot Be Compiled\"" >&2;} 8661 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 8662 echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 8663 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 8664 echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 8665 8666 ;; 8667 esac 8668 { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 8669 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 8670 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8671 echo $ECHO_N "(cached) $ECHO_C" >&6 8672 else 8673 ac_cv_header_sys_timeb_h=$ac_header_preproc 8674 fi 8675 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 8676 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 8677 8678 fi 8679 if test $ac_cv_header_sys_timeb_h = yes; then 8680 cat >>confdefs.h <<\_ACEOF 8681 #define PJ_HAS_SYS_TIMEB_H 1 8682 _ACEOF 8683 8684 fi 8685 8686 8687 if test "${ac_cv_header_sys_types_h+set}" = set; then 8688 { echo "$as_me:$LINENO: checking for sys/types.h" >&5 8689 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 8690 if test "${ac_cv_header_sys_types_h+set}" = set; then 8691 echo $ECHO_N "(cached) $ECHO_C" >&6 8692 fi 8693 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 8694 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 8695 else 8696 # Is the header compilable? 8697 { echo "$as_me:$LINENO: checking sys/types.h usability" >&5 8698 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6; } 8699 cat >conftest.$ac_ext <<_ACEOF 8700 /* confdefs.h. */ 8701 _ACEOF 8702 cat confdefs.h >>conftest.$ac_ext 8703 cat >>conftest.$ac_ext <<_ACEOF 8704 /* end confdefs.h. */ 8705 $ac_includes_default 8706 #include <sys/types.h> 8707 _ACEOF 8708 rm -f conftest.$ac_objext 8709 if { (ac_try="$ac_compile" 8710 case "(($ac_try" in 8711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8712 *) ac_try_echo=$ac_try;; 8713 esac 8714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8715 (eval "$ac_compile") 2>conftest.er1 8716 ac_status=$? 8717 grep -v '^ *+' conftest.er1 >conftest.err 8718 rm -f conftest.er1 8719 cat conftest.err >&5 8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8721 (exit $ac_status); } && { 8722 test -z "$ac_c_werror_flag" || 8723 test ! -s conftest.err 8724 } && test -s conftest.$ac_objext; then 8725 ac_header_compiler=yes 8726 else 8727 echo "$as_me: failed program was:" >&5 8728 sed 's/^/| /' conftest.$ac_ext >&5 8729 8730 ac_header_compiler=no 8731 fi 8732 8733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8734 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8735 echo "${ECHO_T}$ac_header_compiler" >&6; } 8736 8737 # Is the header present? 8738 { echo "$as_me:$LINENO: checking sys/types.h presence" >&5 8739 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6; } 8740 cat >conftest.$ac_ext <<_ACEOF 8741 /* confdefs.h. */ 8742 _ACEOF 8743 cat confdefs.h >>conftest.$ac_ext 8744 cat >>conftest.$ac_ext <<_ACEOF 8745 /* end confdefs.h. */ 8746 #include <sys/types.h> 8747 _ACEOF 8748 if { (ac_try="$ac_cpp conftest.$ac_ext" 8749 case "(($ac_try" in 8750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8751 *) ac_try_echo=$ac_try;; 8752 esac 8753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8754 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8755 ac_status=$? 8756 grep -v '^ *+' conftest.er1 >conftest.err 8757 rm -f conftest.er1 8758 cat conftest.err >&5 8759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8760 (exit $ac_status); } >/dev/null && { 8761 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8762 test ! -s conftest.err 8763 }; then 8764 ac_header_preproc=yes 8765 else 8766 echo "$as_me: failed program was:" >&5 8767 sed 's/^/| /' conftest.$ac_ext >&5 8768 8769 ac_header_preproc=no 8770 fi 8771 8772 rm -f conftest.err conftest.$ac_ext 8773 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8774 echo "${ECHO_T}$ac_header_preproc" >&6; } 8775 8776 # So? What about this header? 8777 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8778 yes:no: ) 8779 { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 8780 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8781 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 8782 echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 8783 ac_header_preproc=yes 8784 ;; 8785 no:yes:* ) 8786 { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 8787 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 8788 { echo "$as_me:$LINENO: WARNING: sys/types.h: check for missing prerequisite headers?" >&5 8789 echo "$as_me: WARNING: sys/types.h: check for missing prerequisite headers?" >&2;} 8790 { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 8791 echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 8792 { echo "$as_me:$LINENO: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&5 8793 echo "$as_me: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&2;} 8794 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 8795 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 8796 { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 8797 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 8798 8799 ;; 8800 esac 8801 { echo "$as_me:$LINENO: checking for sys/types.h" >&5 8802 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 8803 if test "${ac_cv_header_sys_types_h+set}" = set; then 8804 echo $ECHO_N "(cached) $ECHO_C" >&6 8805 else 8806 ac_cv_header_sys_types_h=$ac_header_preproc 8807 fi 8808 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 8809 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 8810 8811 fi 8812 if test $ac_cv_header_sys_types_h = yes; then 8813 cat >>confdefs.h <<\_ACEOF 8814 #define PJ_HAS_SYS_TYPES_H 1 8815 _ACEOF 8816 8817 fi 8818 8819 8820 if test "${ac_cv_header_sys_filio_h+set}" = set; then 8821 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 8822 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 8823 if test "${ac_cv_header_sys_filio_h+set}" = set; then 8824 echo $ECHO_N "(cached) $ECHO_C" >&6 8825 fi 8826 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 8827 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 8828 else 8829 # Is the header compilable? 8830 { echo "$as_me:$LINENO: checking sys/filio.h usability" >&5 8831 echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6; } 8832 cat >conftest.$ac_ext <<_ACEOF 8833 /* confdefs.h. */ 8834 _ACEOF 8835 cat confdefs.h >>conftest.$ac_ext 8836 cat >>conftest.$ac_ext <<_ACEOF 8837 /* end confdefs.h. */ 8838 $ac_includes_default 8839 #include <sys/filio.h> 8840 _ACEOF 8841 rm -f conftest.$ac_objext 8842 if { (ac_try="$ac_compile" 8843 case "(($ac_try" in 8844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8845 *) ac_try_echo=$ac_try;; 8846 esac 8847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8848 (eval "$ac_compile") 2>conftest.er1 8849 ac_status=$? 8850 grep -v '^ *+' conftest.er1 >conftest.err 8851 rm -f conftest.er1 8852 cat conftest.err >&5 8853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8854 (exit $ac_status); } && { 8855 test -z "$ac_c_werror_flag" || 8856 test ! -s conftest.err 8857 } && test -s conftest.$ac_objext; then 8858 ac_header_compiler=yes 8859 else 8860 echo "$as_me: failed program was:" >&5 8861 sed 's/^/| /' conftest.$ac_ext >&5 8862 8863 ac_header_compiler=no 8864 fi 8865 8866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8867 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8868 echo "${ECHO_T}$ac_header_compiler" >&6; } 8869 8870 # Is the header present? 8871 { echo "$as_me:$LINENO: checking sys/filio.h presence" >&5 8872 echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6; } 8873 cat >conftest.$ac_ext <<_ACEOF 8874 /* confdefs.h. */ 8875 _ACEOF 8876 cat confdefs.h >>conftest.$ac_ext 8877 cat >>conftest.$ac_ext <<_ACEOF 8878 /* end confdefs.h. */ 8879 #include <sys/filio.h> 8880 _ACEOF 8881 if { (ac_try="$ac_cpp conftest.$ac_ext" 8882 case "(($ac_try" in 8883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8884 *) ac_try_echo=$ac_try;; 8885 esac 8886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8887 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8888 ac_status=$? 8889 grep -v '^ *+' conftest.er1 >conftest.err 8890 rm -f conftest.er1 8891 cat conftest.err >&5 8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8893 (exit $ac_status); } >/dev/null && { 8894 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8895 test ! -s conftest.err 8896 }; then 8897 ac_header_preproc=yes 8898 else 8899 echo "$as_me: failed program was:" >&5 8900 sed 's/^/| /' conftest.$ac_ext >&5 8901 8902 ac_header_preproc=no 8903 fi 8904 8905 rm -f conftest.err conftest.$ac_ext 8906 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8907 echo "${ECHO_T}$ac_header_preproc" >&6; } 8908 8909 # So? What about this header? 8910 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8911 yes:no: ) 8912 { echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5 8913 echo "$as_me: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8914 { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the compiler's result" >&5 8915 echo "$as_me: WARNING: sys/filio.h: proceeding with the compiler's result" >&2;} 8916 ac_header_preproc=yes 8917 ;; 8918 no:yes:* ) 8919 { echo "$as_me:$LINENO: WARNING: sys/filio.h: present but cannot be compiled" >&5 8920 echo "$as_me: WARNING: sys/filio.h: present but cannot be compiled" >&2;} 8921 { echo "$as_me:$LINENO: WARNING: sys/filio.h: check for missing prerequisite headers?" >&5 8922 echo "$as_me: WARNING: sys/filio.h: check for missing prerequisite headers?" >&2;} 8923 { echo "$as_me:$LINENO: WARNING: sys/filio.h: see the Autoconf documentation" >&5 8924 echo "$as_me: WARNING: sys/filio.h: see the Autoconf documentation" >&2;} 8925 { echo "$as_me:$LINENO: WARNING: sys/filio.h: section \"Present But Cannot Be Compiled\"" >&5 8926 echo "$as_me: WARNING: sys/filio.h: section \"Present But Cannot Be Compiled\"" >&2;} 8927 { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&5 8928 echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;} 8929 { echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5 8930 echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;} 8931 8932 ;; 8933 esac 8934 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 8935 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 8936 if test "${ac_cv_header_sys_filio_h+set}" = set; then 8937 echo $ECHO_N "(cached) $ECHO_C" >&6 8938 else 8939 ac_cv_header_sys_filio_h=$ac_header_preproc 8940 fi 8941 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 8942 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 8943 8944 fi 8945 if test $ac_cv_header_sys_filio_h = yes; then 8946 cat >>confdefs.h <<\_ACEOF 8947 #define PJ_HAS_SYS_FILIO_H 1 8948 _ACEOF 8949 8950 fi 8951 8952 8953 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 8954 { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 8955 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 8956 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 8957 echo $ECHO_N "(cached) $ECHO_C" >&6 8958 fi 8959 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 8960 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 8961 else 8962 # Is the header compilable? 8963 { echo "$as_me:$LINENO: checking sys/sockio.h usability" >&5 8964 echo $ECHO_N "checking sys/sockio.h usability... $ECHO_C" >&6; } 8965 cat >conftest.$ac_ext <<_ACEOF 8966 /* confdefs.h. */ 8967 _ACEOF 8968 cat confdefs.h >>conftest.$ac_ext 8969 cat >>conftest.$ac_ext <<_ACEOF 8970 /* end confdefs.h. */ 8971 $ac_includes_default 8972 #include <sys/sockio.h> 8973 _ACEOF 8974 rm -f conftest.$ac_objext 8975 if { (ac_try="$ac_compile" 8976 case "(($ac_try" in 8977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8978 *) ac_try_echo=$ac_try;; 8979 esac 8980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8981 (eval "$ac_compile") 2>conftest.er1 8982 ac_status=$? 8983 grep -v '^ *+' conftest.er1 >conftest.err 8984 rm -f conftest.er1 8985 cat conftest.err >&5 8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8987 (exit $ac_status); } && { 8988 test -z "$ac_c_werror_flag" || 8989 test ! -s conftest.err 8990 } && test -s conftest.$ac_objext; then 8991 ac_header_compiler=yes 8992 else 8993 echo "$as_me: failed program was:" >&5 8994 sed 's/^/| /' conftest.$ac_ext >&5 8995 8996 ac_header_compiler=no 8997 fi 8998 8999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9000 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9001 echo "${ECHO_T}$ac_header_compiler" >&6; } 9002 9003 # Is the header present? 9004 { echo "$as_me:$LINENO: checking sys/sockio.h presence" >&5 9005 echo $ECHO_N "checking sys/sockio.h presence... $ECHO_C" >&6; } 9006 cat >conftest.$ac_ext <<_ACEOF 9007 /* confdefs.h. */ 9008 _ACEOF 9009 cat confdefs.h >>conftest.$ac_ext 9010 cat >>conftest.$ac_ext <<_ACEOF 9011 /* end confdefs.h. */ 9012 #include <sys/sockio.h> 9013 _ACEOF 9014 if { (ac_try="$ac_cpp conftest.$ac_ext" 9015 case "(($ac_try" in 9016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9017 *) ac_try_echo=$ac_try;; 9018 esac 9019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9020 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9021 ac_status=$? 9022 grep -v '^ *+' conftest.er1 >conftest.err 9023 rm -f conftest.er1 9024 cat conftest.err >&5 9025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9026 (exit $ac_status); } >/dev/null && { 9027 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9028 test ! -s conftest.err 9029 }; then 9030 ac_header_preproc=yes 9031 else 9032 echo "$as_me: failed program was:" >&5 9033 sed 's/^/| /' conftest.$ac_ext >&5 9034 9035 ac_header_preproc=no 9036 fi 9037 9038 rm -f conftest.err conftest.$ac_ext 9039 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9040 echo "${ECHO_T}$ac_header_preproc" >&6; } 9041 9042 # So? What about this header? 9043 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9044 yes:no: ) 9045 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&5 9046 echo "$as_me: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9047 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the compiler's result" >&5 9048 echo "$as_me: WARNING: sys/sockio.h: proceeding with the compiler's result" >&2;} 9049 ac_header_preproc=yes 9050 ;; 9051 no:yes:* ) 9052 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: present but cannot be compiled" >&5 9053 echo "$as_me: WARNING: sys/sockio.h: present but cannot be compiled" >&2;} 9054 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: check for missing prerequisite headers?" >&5 9055 echo "$as_me: WARNING: sys/sockio.h: check for missing prerequisite headers?" >&2;} 9056 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: see the Autoconf documentation" >&5 9057 echo "$as_me: WARNING: sys/sockio.h: see the Autoconf documentation" >&2;} 9058 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: section \"Present But Cannot Be Compiled\"" >&5 9059 echo "$as_me: WARNING: sys/sockio.h: section \"Present But Cannot Be Compiled\"" >&2;} 9060 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&5 9061 echo "$as_me: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&2;} 9062 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&5 9063 echo "$as_me: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&2;} 9064 9065 ;; 9066 esac 9067 { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 9068 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 9069 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 9070 echo $ECHO_N "(cached) $ECHO_C" >&6 9071 else 9072 ac_cv_header_sys_sockio_h=$ac_header_preproc 9073 fi 9074 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 9075 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 9076 9077 fi 9078 if test $ac_cv_header_sys_sockio_h = yes; then 9079 cat >>confdefs.h <<\_ACEOF 9080 #define PJ_HAS_SYS_SOCKIO_H 1 9081 _ACEOF 9082 9083 fi 9084 9085 9086 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 9087 { echo "$as_me:$LINENO: checking for sys/utsname.h" >&5 9088 echo $ECHO_N "checking for sys/utsname.h... $ECHO_C" >&6; } 9089 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 9090 echo $ECHO_N "(cached) $ECHO_C" >&6 9091 fi 9092 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_utsname_h" >&5 9093 echo "${ECHO_T}$ac_cv_header_sys_utsname_h" >&6; } 9094 else 9095 # Is the header compilable? 9096 { echo "$as_me:$LINENO: checking sys/utsname.h usability" >&5 9097 echo $ECHO_N "checking sys/utsname.h usability... $ECHO_C" >&6; } 9098 cat >conftest.$ac_ext <<_ACEOF 9099 /* confdefs.h. */ 9100 _ACEOF 9101 cat confdefs.h >>conftest.$ac_ext 9102 cat >>conftest.$ac_ext <<_ACEOF 9103 /* end confdefs.h. */ 9104 $ac_includes_default 9105 #include <sys/utsname.h> 9106 _ACEOF 9107 rm -f conftest.$ac_objext 9108 if { (ac_try="$ac_compile" 9109 case "(($ac_try" in 9110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9111 *) ac_try_echo=$ac_try;; 9112 esac 9113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9114 (eval "$ac_compile") 2>conftest.er1 9115 ac_status=$? 9116 grep -v '^ *+' conftest.er1 >conftest.err 9117 rm -f conftest.er1 9118 cat conftest.err >&5 9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9120 (exit $ac_status); } && { 9121 test -z "$ac_c_werror_flag" || 9122 test ! -s conftest.err 9123 } && test -s conftest.$ac_objext; then 9124 ac_header_compiler=yes 9125 else 9126 echo "$as_me: failed program was:" >&5 9127 sed 's/^/| /' conftest.$ac_ext >&5 9128 9129 ac_header_compiler=no 9130 fi 9131 9132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9133 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9134 echo "${ECHO_T}$ac_header_compiler" >&6; } 9135 9136 # Is the header present? 9137 { echo "$as_me:$LINENO: checking sys/utsname.h presence" >&5 9138 echo $ECHO_N "checking sys/utsname.h presence... $ECHO_C" >&6; } 9139 cat >conftest.$ac_ext <<_ACEOF 9140 /* confdefs.h. */ 9141 _ACEOF 9142 cat confdefs.h >>conftest.$ac_ext 9143 cat >>conftest.$ac_ext <<_ACEOF 9144 /* end confdefs.h. */ 9145 #include <sys/utsname.h> 9146 _ACEOF 9147 if { (ac_try="$ac_cpp conftest.$ac_ext" 9148 case "(($ac_try" in 9149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9150 *) ac_try_echo=$ac_try;; 9151 esac 9152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9154 ac_status=$? 9155 grep -v '^ *+' conftest.er1 >conftest.err 9156 rm -f conftest.er1 9157 cat conftest.err >&5 9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9159 (exit $ac_status); } >/dev/null && { 9160 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9161 test ! -s conftest.err 9162 }; then 9163 ac_header_preproc=yes 9164 else 9165 echo "$as_me: failed program was:" >&5 9166 sed 's/^/| /' conftest.$ac_ext >&5 9167 9168 ac_header_preproc=no 9169 fi 9170 9171 rm -f conftest.err conftest.$ac_ext 9172 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9173 echo "${ECHO_T}$ac_header_preproc" >&6; } 9174 9175 # So? What about this header? 9176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9177 yes:no: ) 9178 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: accepted by the compiler, rejected by the preprocessor!" >&5 9179 echo "$as_me: WARNING: sys/utsname.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9180 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: proceeding with the compiler's result" >&5 9181 echo "$as_me: WARNING: sys/utsname.h: proceeding with the compiler's result" >&2;} 9182 ac_header_preproc=yes 9183 ;; 9184 no:yes:* ) 9185 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: present but cannot be compiled" >&5 9186 echo "$as_me: WARNING: sys/utsname.h: present but cannot be compiled" >&2;} 9187 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: check for missing prerequisite headers?" >&5 9188 echo "$as_me: WARNING: sys/utsname.h: check for missing prerequisite headers?" >&2;} 9189 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: see the Autoconf documentation" >&5 9190 echo "$as_me: WARNING: sys/utsname.h: see the Autoconf documentation" >&2;} 9191 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: section \"Present But Cannot Be Compiled\"" >&5 9192 echo "$as_me: WARNING: sys/utsname.h: section \"Present But Cannot Be Compiled\"" >&2;} 9193 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: proceeding with the preprocessor's result" >&5 9194 echo "$as_me: WARNING: sys/utsname.h: proceeding with the preprocessor's result" >&2;} 9195 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: in the future, the compiler will take precedence" >&5 9196 echo "$as_me: WARNING: sys/utsname.h: in the future, the compiler will take precedence" >&2;} 9197 9198 ;; 9199 esac 9200 { echo "$as_me:$LINENO: checking for sys/utsname.h" >&5 9201 echo $ECHO_N "checking for sys/utsname.h... $ECHO_C" >&6; } 9202 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 9203 echo $ECHO_N "(cached) $ECHO_C" >&6 9204 else 9205 ac_cv_header_sys_utsname_h=$ac_header_preproc 9206 fi 9207 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_utsname_h" >&5 9208 echo "${ECHO_T}$ac_cv_header_sys_utsname_h" >&6; } 9209 9210 fi 9211 if test $ac_cv_header_sys_utsname_h = yes; then 9212 cat >>confdefs.h <<\_ACEOF 9213 #define PJ_HAS_SYS_UTSNAME_H 1 9214 _ACEOF 9215 9216 fi 9217 9218 9219 if test "${ac_cv_header_time_h+set}" = set; then 9220 { echo "$as_me:$LINENO: checking for time.h" >&5 9221 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 9222 if test "${ac_cv_header_time_h+set}" = set; then 9223 echo $ECHO_N "(cached) $ECHO_C" >&6 9224 fi 9225 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 9226 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 9227 else 9228 # Is the header compilable? 9229 { echo "$as_me:$LINENO: checking time.h usability" >&5 9230 echo $ECHO_N "checking time.h usability... $ECHO_C" >&6; } 9231 cat >conftest.$ac_ext <<_ACEOF 9232 /* confdefs.h. */ 9233 _ACEOF 9234 cat confdefs.h >>conftest.$ac_ext 9235 cat >>conftest.$ac_ext <<_ACEOF 9236 /* end confdefs.h. */ 9237 $ac_includes_default 9238 #include <time.h> 9239 _ACEOF 9240 rm -f conftest.$ac_objext 9241 if { (ac_try="$ac_compile" 9242 case "(($ac_try" in 9243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9244 *) ac_try_echo=$ac_try;; 9245 esac 9246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9247 (eval "$ac_compile") 2>conftest.er1 9248 ac_status=$? 9249 grep -v '^ *+' conftest.er1 >conftest.err 9250 rm -f conftest.er1 9251 cat conftest.err >&5 9252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9253 (exit $ac_status); } && { 9254 test -z "$ac_c_werror_flag" || 9255 test ! -s conftest.err 9256 } && test -s conftest.$ac_objext; then 9257 ac_header_compiler=yes 9258 else 9259 echo "$as_me: failed program was:" >&5 9260 sed 's/^/| /' conftest.$ac_ext >&5 9261 9262 ac_header_compiler=no 9263 fi 9264 9265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9266 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9267 echo "${ECHO_T}$ac_header_compiler" >&6; } 9268 9269 # Is the header present? 9270 { echo "$as_me:$LINENO: checking time.h presence" >&5 9271 echo $ECHO_N "checking time.h presence... $ECHO_C" >&6; } 9272 cat >conftest.$ac_ext <<_ACEOF 9273 /* confdefs.h. */ 9274 _ACEOF 9275 cat confdefs.h >>conftest.$ac_ext 9276 cat >>conftest.$ac_ext <<_ACEOF 9277 /* end confdefs.h. */ 9278 #include <time.h> 9279 _ACEOF 9280 if { (ac_try="$ac_cpp conftest.$ac_ext" 9281 case "(($ac_try" in 9282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9283 *) ac_try_echo=$ac_try;; 9284 esac 9285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9286 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9287 ac_status=$? 9288 grep -v '^ *+' conftest.er1 >conftest.err 9289 rm -f conftest.er1 9290 cat conftest.err >&5 9291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9292 (exit $ac_status); } >/dev/null && { 9293 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9294 test ! -s conftest.err 9295 }; then 9296 ac_header_preproc=yes 9297 else 9298 echo "$as_me: failed program was:" >&5 9299 sed 's/^/| /' conftest.$ac_ext >&5 9300 9301 ac_header_preproc=no 9302 fi 9303 9304 rm -f conftest.err conftest.$ac_ext 9305 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9306 echo "${ECHO_T}$ac_header_preproc" >&6; } 9307 9308 # So? What about this header? 9309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9310 yes:no: ) 9311 { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 9312 echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9313 { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 9314 echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 9315 ac_header_preproc=yes 9316 ;; 9317 no:yes:* ) 9318 { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 9319 echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 9320 { echo "$as_me:$LINENO: WARNING: time.h: check for missing prerequisite headers?" >&5 9321 echo "$as_me: WARNING: time.h: check for missing prerequisite headers?" >&2;} 9322 { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 9323 echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 9324 { echo "$as_me:$LINENO: WARNING: time.h: section \"Present But Cannot Be Compiled\"" >&5 9325 echo "$as_me: WARNING: time.h: section \"Present But Cannot Be Compiled\"" >&2;} 9326 { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 9327 echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 9328 { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 9329 echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 9330 9331 ;; 9332 esac 9333 { echo "$as_me:$LINENO: checking for time.h" >&5 9334 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 9335 if test "${ac_cv_header_time_h+set}" = set; then 9336 echo $ECHO_N "(cached) $ECHO_C" >&6 9337 else 9338 ac_cv_header_time_h=$ac_header_preproc 9339 fi 9340 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 9341 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 9342 9343 fi 9344 if test $ac_cv_header_time_h = yes; then 9345 cat >>confdefs.h <<\_ACEOF 9346 #define PJ_HAS_TIME_H 1 9347 _ACEOF 9348 9349 fi 9350 9351 9352 if test "${ac_cv_header_unistd_h+set}" = set; then 9353 { echo "$as_me:$LINENO: checking for unistd.h" >&5 9354 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 9355 if test "${ac_cv_header_unistd_h+set}" = set; then 9356 echo $ECHO_N "(cached) $ECHO_C" >&6 9357 fi 9358 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 9359 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 9360 else 9361 # Is the header compilable? 9362 { echo "$as_me:$LINENO: checking unistd.h usability" >&5 9363 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6; } 9364 cat >conftest.$ac_ext <<_ACEOF 9365 /* confdefs.h. */ 9366 _ACEOF 9367 cat confdefs.h >>conftest.$ac_ext 9368 cat >>conftest.$ac_ext <<_ACEOF 9369 /* end confdefs.h. */ 9370 $ac_includes_default 9371 #include <unistd.h> 9372 _ACEOF 9373 rm -f conftest.$ac_objext 9374 if { (ac_try="$ac_compile" 9375 case "(($ac_try" in 9376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9377 *) ac_try_echo=$ac_try;; 9378 esac 9379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9380 (eval "$ac_compile") 2>conftest.er1 9381 ac_status=$? 9382 grep -v '^ *+' conftest.er1 >conftest.err 9383 rm -f conftest.er1 9384 cat conftest.err >&5 9385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9386 (exit $ac_status); } && { 9387 test -z "$ac_c_werror_flag" || 9388 test ! -s conftest.err 9389 } && test -s conftest.$ac_objext; then 9390 ac_header_compiler=yes 9391 else 9392 echo "$as_me: failed program was:" >&5 9393 sed 's/^/| /' conftest.$ac_ext >&5 9394 9395 ac_header_compiler=no 9396 fi 9397 9398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9399 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9400 echo "${ECHO_T}$ac_header_compiler" >&6; } 9401 9402 # Is the header present? 9403 { echo "$as_me:$LINENO: checking unistd.h presence" >&5 9404 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6; } 9405 cat >conftest.$ac_ext <<_ACEOF 9406 /* confdefs.h. */ 9407 _ACEOF 9408 cat confdefs.h >>conftest.$ac_ext 9409 cat >>conftest.$ac_ext <<_ACEOF 9410 /* end confdefs.h. */ 9411 #include <unistd.h> 9412 _ACEOF 9413 if { (ac_try="$ac_cpp conftest.$ac_ext" 9414 case "(($ac_try" in 9415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9416 *) ac_try_echo=$ac_try;; 9417 esac 9418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9419 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9420 ac_status=$? 9421 grep -v '^ *+' conftest.er1 >conftest.err 9422 rm -f conftest.er1 9423 cat conftest.err >&5 9424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9425 (exit $ac_status); } >/dev/null && { 9426 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9427 test ! -s conftest.err 9428 }; then 9429 ac_header_preproc=yes 9430 else 9431 echo "$as_me: failed program was:" >&5 9432 sed 's/^/| /' conftest.$ac_ext >&5 9433 9434 ac_header_preproc=no 9435 fi 9436 9437 rm -f conftest.err conftest.$ac_ext 9438 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9439 echo "${ECHO_T}$ac_header_preproc" >&6; } 9440 9441 # So? What about this header? 9442 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9443 yes:no: ) 9444 { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 9445 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9446 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 9447 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 9448 ac_header_preproc=yes 9449 ;; 9450 no:yes:* ) 9451 { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 9452 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 9453 { echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5 9454 echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;} 9455 { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 9456 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 9457 { echo "$as_me:$LINENO: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&5 9458 echo "$as_me: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&2;} 9459 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 9460 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 9461 { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 9462 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 9463 9464 ;; 9465 esac 9466 { echo "$as_me:$LINENO: checking for unistd.h" >&5 9467 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 9468 if test "${ac_cv_header_unistd_h+set}" = set; then 9469 echo $ECHO_N "(cached) $ECHO_C" >&6 9470 else 9471 ac_cv_header_unistd_h=$ac_header_preproc 9472 fi 9473 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 9474 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 9475 9476 fi 9477 if test $ac_cv_header_unistd_h = yes; then 9478 cat >>confdefs.h <<\_ACEOF 9479 #define PJ_HAS_UNISTD_H 1 9480 _ACEOF 9481 9482 fi 9483 9484 9485 if test "${ac_cv_header_winsock_h+set}" = set; then 9486 { echo "$as_me:$LINENO: checking for winsock.h" >&5 9487 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 9488 if test "${ac_cv_header_winsock_h+set}" = set; then 9489 echo $ECHO_N "(cached) $ECHO_C" >&6 9490 fi 9491 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 9492 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 9493 else 9494 # Is the header compilable? 9495 { echo "$as_me:$LINENO: checking winsock.h usability" >&5 9496 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6; } 9497 cat >conftest.$ac_ext <<_ACEOF 9498 /* confdefs.h. */ 9499 _ACEOF 9500 cat confdefs.h >>conftest.$ac_ext 9501 cat >>conftest.$ac_ext <<_ACEOF 9502 /* end confdefs.h. */ 9503 $ac_includes_default 9504 #include <winsock.h> 9505 _ACEOF 9506 rm -f conftest.$ac_objext 9507 if { (ac_try="$ac_compile" 9508 case "(($ac_try" in 9509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9510 *) ac_try_echo=$ac_try;; 9511 esac 9512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9513 (eval "$ac_compile") 2>conftest.er1 9514 ac_status=$? 9515 grep -v '^ *+' conftest.er1 >conftest.err 9516 rm -f conftest.er1 9517 cat conftest.err >&5 9518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9519 (exit $ac_status); } && { 9520 test -z "$ac_c_werror_flag" || 9521 test ! -s conftest.err 9522 } && test -s conftest.$ac_objext; then 9523 ac_header_compiler=yes 9524 else 9525 echo "$as_me: failed program was:" >&5 9526 sed 's/^/| /' conftest.$ac_ext >&5 9527 9528 ac_header_compiler=no 9529 fi 9530 9531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9532 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9533 echo "${ECHO_T}$ac_header_compiler" >&6; } 9534 9535 # Is the header present? 9536 { echo "$as_me:$LINENO: checking winsock.h presence" >&5 9537 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6; } 9538 cat >conftest.$ac_ext <<_ACEOF 9539 /* confdefs.h. */ 9540 _ACEOF 9541 cat confdefs.h >>conftest.$ac_ext 9542 cat >>conftest.$ac_ext <<_ACEOF 9543 /* end confdefs.h. */ 9544 #include <winsock.h> 9545 _ACEOF 9546 if { (ac_try="$ac_cpp conftest.$ac_ext" 9547 case "(($ac_try" in 9548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9549 *) ac_try_echo=$ac_try;; 9550 esac 9551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9552 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9553 ac_status=$? 9554 grep -v '^ *+' conftest.er1 >conftest.err 9555 rm -f conftest.er1 9556 cat conftest.err >&5 9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9558 (exit $ac_status); } >/dev/null && { 9559 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9560 test ! -s conftest.err 9561 }; then 9562 ac_header_preproc=yes 9563 else 9564 echo "$as_me: failed program was:" >&5 9565 sed 's/^/| /' conftest.$ac_ext >&5 9566 9567 ac_header_preproc=no 9568 fi 9569 9570 rm -f conftest.err conftest.$ac_ext 9571 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9572 echo "${ECHO_T}$ac_header_preproc" >&6; } 9573 9574 # So? What about this header? 9575 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9576 yes:no: ) 9577 { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 9578 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9579 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 9580 echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 9581 ac_header_preproc=yes 9582 ;; 9583 no:yes:* ) 9584 { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 9585 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 9586 { echo "$as_me:$LINENO: WARNING: winsock.h: check for missing prerequisite headers?" >&5 9587 echo "$as_me: WARNING: winsock.h: check for missing prerequisite headers?" >&2;} 9588 { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 9589 echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 9590 { echo "$as_me:$LINENO: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&5 9591 echo "$as_me: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&2;} 9592 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 9593 echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 9594 { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 9595 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 9596 9597 ;; 9598 esac 9599 { echo "$as_me:$LINENO: checking for winsock.h" >&5 9600 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 9601 if test "${ac_cv_header_winsock_h+set}" = set; then 9602 echo $ECHO_N "(cached) $ECHO_C" >&6 9603 else 9604 ac_cv_header_winsock_h=$ac_header_preproc 9605 fi 9606 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 9607 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 9608 9609 fi 9610 if test $ac_cv_header_winsock_h = yes; then 9611 cat >>confdefs.h <<\_ACEOF 9612 #define PJ_HAS_WINSOCK_H 1 9613 _ACEOF 9614 9615 fi 9616 9617 9618 if test "${ac_cv_header_winsock2_h+set}" = set; then 9619 { echo "$as_me:$LINENO: checking for winsock2.h" >&5 9620 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 9621 if test "${ac_cv_header_winsock2_h+set}" = set; then 9622 echo $ECHO_N "(cached) $ECHO_C" >&6 9623 fi 9624 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 9625 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 9626 else 9627 # Is the header compilable? 9628 { echo "$as_me:$LINENO: checking winsock2.h usability" >&5 9629 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6; } 9630 cat >conftest.$ac_ext <<_ACEOF 9631 /* confdefs.h. */ 9632 _ACEOF 9633 cat confdefs.h >>conftest.$ac_ext 9634 cat >>conftest.$ac_ext <<_ACEOF 9635 /* end confdefs.h. */ 9636 $ac_includes_default 9637 #include <winsock2.h> 9638 _ACEOF 9639 rm -f conftest.$ac_objext 9640 if { (ac_try="$ac_compile" 9641 case "(($ac_try" in 9642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9643 *) ac_try_echo=$ac_try;; 9644 esac 9645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9646 (eval "$ac_compile") 2>conftest.er1 9647 ac_status=$? 9648 grep -v '^ *+' conftest.er1 >conftest.err 9649 rm -f conftest.er1 9650 cat conftest.err >&5 9651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9652 (exit $ac_status); } && { 9653 test -z "$ac_c_werror_flag" || 9654 test ! -s conftest.err 9655 } && test -s conftest.$ac_objext; then 9656 ac_header_compiler=yes 9657 else 9658 echo "$as_me: failed program was:" >&5 9659 sed 's/^/| /' conftest.$ac_ext >&5 9660 9661 ac_header_compiler=no 9662 fi 9663 9664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9665 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9666 echo "${ECHO_T}$ac_header_compiler" >&6; } 9667 9668 # Is the header present? 9669 { echo "$as_me:$LINENO: checking winsock2.h presence" >&5 9670 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6; } 9671 cat >conftest.$ac_ext <<_ACEOF 9672 /* confdefs.h. */ 9673 _ACEOF 9674 cat confdefs.h >>conftest.$ac_ext 9675 cat >>conftest.$ac_ext <<_ACEOF 9676 /* end confdefs.h. */ 9677 #include <winsock2.h> 9678 _ACEOF 9679 if { (ac_try="$ac_cpp conftest.$ac_ext" 9680 case "(($ac_try" in 9681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9682 *) ac_try_echo=$ac_try;; 9683 esac 9684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9686 ac_status=$? 9687 grep -v '^ *+' conftest.er1 >conftest.err 9688 rm -f conftest.er1 9689 cat conftest.err >&5 9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9691 (exit $ac_status); } >/dev/null && { 9692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9693 test ! -s conftest.err 9694 }; then 9695 ac_header_preproc=yes 9696 else 9697 echo "$as_me: failed program was:" >&5 9698 sed 's/^/| /' conftest.$ac_ext >&5 9699 9700 ac_header_preproc=no 9701 fi 9702 9703 rm -f conftest.err conftest.$ac_ext 9704 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9705 echo "${ECHO_T}$ac_header_preproc" >&6; } 9706 9707 # So? What about this header? 9708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9709 yes:no: ) 9710 { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 9711 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9712 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 9713 echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 9714 ac_header_preproc=yes 9715 ;; 9716 no:yes:* ) 9717 { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 9718 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 9719 { echo "$as_me:$LINENO: WARNING: winsock2.h: check for missing prerequisite headers?" >&5 9720 echo "$as_me: WARNING: winsock2.h: check for missing prerequisite headers?" >&2;} 9721 { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 9722 echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 9723 { echo "$as_me:$LINENO: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&5 9724 echo "$as_me: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&2;} 9725 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 9726 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 9727 { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 9728 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 9729 9730 ;; 9731 esac 9732 { echo "$as_me:$LINENO: checking for winsock2.h" >&5 9733 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 9734 if test "${ac_cv_header_winsock2_h+set}" = set; then 9735 echo $ECHO_N "(cached) $ECHO_C" >&6 9736 else 9737 ac_cv_header_winsock2_h=$ac_header_preproc 9738 fi 9739 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 9740 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 9741 9742 fi 9743 if test $ac_cv_header_winsock2_h = yes; then 9744 cat >>confdefs.h <<\_ACEOF 9745 #define PJ_HAS_WINSOCK2_H 1 9746 _ACEOF 9747 9748 fi 9749 9750 9751 { echo "$as_me:$LINENO: checking for mswsock.h" >&5 9752 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6; } 9753 if test "${ac_cv_header_mswsock_h+set}" = set; then 9754 echo $ECHO_N "(cached) $ECHO_C" >&6 9755 else 9756 cat >conftest.$ac_ext <<_ACEOF 9757 /* confdefs.h. */ 9758 _ACEOF 9759 cat confdefs.h >>conftest.$ac_ext 9760 cat >>conftest.$ac_ext <<_ACEOF 9761 /* end confdefs.h. */ 9762 #if PJ_HAS_WINSOCK2_H 4963 9763 # include <winsock2.h> 4964 9764 #elif PJ_HAS_WINSOCK_H … … 4966 9766 #endif 4967 9767 4968 " 4969 if test "x$ac_cv_header_mswsock_h" = x""yes; then : 4970 $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 4971 4972 fi 4973 4974 4975 ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 4976 if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 4977 $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 4978 4979 fi 4980 4981 4982 ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 4983 if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 9768 9769 #include <mswsock.h> 9770 _ACEOF 9771 rm -f conftest.$ac_objext 9772 if { (ac_try="$ac_compile" 9773 case "(($ac_try" in 9774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9775 *) ac_try_echo=$ac_try;; 9776 esac 9777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9778 (eval "$ac_compile") 2>conftest.er1 9779 ac_status=$? 9780 grep -v '^ *+' conftest.er1 >conftest.err 9781 rm -f conftest.er1 9782 cat conftest.err >&5 9783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9784 (exit $ac_status); } && { 9785 test -z "$ac_c_werror_flag" || 9786 test ! -s conftest.err 9787 } && test -s conftest.$ac_objext; then 9788 ac_cv_header_mswsock_h=yes 9789 else 9790 echo "$as_me: failed program was:" >&5 9791 sed 's/^/| /' conftest.$ac_ext >&5 9792 9793 ac_cv_header_mswsock_h=no 9794 fi 9795 9796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9797 fi 9798 { echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 9799 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6; } 9800 if test $ac_cv_header_mswsock_h = yes; then 9801 cat >>confdefs.h <<\_ACEOF 9802 #define PJ_HAS_MSWSOCK_H 1 9803 _ACEOF 9804 9805 fi 9806 9807 9808 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9809 { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 9810 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 9811 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9812 echo $ECHO_N "(cached) $ECHO_C" >&6 9813 fi 9814 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 9815 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 9816 else 9817 # Is the header compilable? 9818 { echo "$as_me:$LINENO: checking ws2tcpip.h usability" >&5 9819 echo $ECHO_N "checking ws2tcpip.h usability... $ECHO_C" >&6; } 9820 cat >conftest.$ac_ext <<_ACEOF 9821 /* confdefs.h. */ 9822 _ACEOF 9823 cat confdefs.h >>conftest.$ac_ext 9824 cat >>conftest.$ac_ext <<_ACEOF 9825 /* end confdefs.h. */ 9826 $ac_includes_default 9827 #include <ws2tcpip.h> 9828 _ACEOF 9829 rm -f conftest.$ac_objext 9830 if { (ac_try="$ac_compile" 9831 case "(($ac_try" in 9832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9833 *) ac_try_echo=$ac_try;; 9834 esac 9835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9836 (eval "$ac_compile") 2>conftest.er1 9837 ac_status=$? 9838 grep -v '^ *+' conftest.er1 >conftest.err 9839 rm -f conftest.er1 9840 cat conftest.err >&5 9841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9842 (exit $ac_status); } && { 9843 test -z "$ac_c_werror_flag" || 9844 test ! -s conftest.err 9845 } && test -s conftest.$ac_objext; then 9846 ac_header_compiler=yes 9847 else 9848 echo "$as_me: failed program was:" >&5 9849 sed 's/^/| /' conftest.$ac_ext >&5 9850 9851 ac_header_compiler=no 9852 fi 9853 9854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9855 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9856 echo "${ECHO_T}$ac_header_compiler" >&6; } 9857 9858 # Is the header present? 9859 { echo "$as_me:$LINENO: checking ws2tcpip.h presence" >&5 9860 echo $ECHO_N "checking ws2tcpip.h presence... $ECHO_C" >&6; } 9861 cat >conftest.$ac_ext <<_ACEOF 9862 /* confdefs.h. */ 9863 _ACEOF 9864 cat confdefs.h >>conftest.$ac_ext 9865 cat >>conftest.$ac_ext <<_ACEOF 9866 /* end confdefs.h. */ 9867 #include <ws2tcpip.h> 9868 _ACEOF 9869 if { (ac_try="$ac_cpp conftest.$ac_ext" 9870 case "(($ac_try" in 9871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9872 *) ac_try_echo=$ac_try;; 9873 esac 9874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9875 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9876 ac_status=$? 9877 grep -v '^ *+' conftest.er1 >conftest.err 9878 rm -f conftest.er1 9879 cat conftest.err >&5 9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9881 (exit $ac_status); } >/dev/null && { 9882 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9883 test ! -s conftest.err 9884 }; then 9885 ac_header_preproc=yes 9886 else 9887 echo "$as_me: failed program was:" >&5 9888 sed 's/^/| /' conftest.$ac_ext >&5 9889 9890 ac_header_preproc=no 9891 fi 9892 9893 rm -f conftest.err conftest.$ac_ext 9894 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9895 echo "${ECHO_T}$ac_header_preproc" >&6; } 9896 9897 # So? What about this header? 9898 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9899 yes:no: ) 9900 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&5 9901 echo "$as_me: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9902 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&5 9903 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&2;} 9904 ac_header_preproc=yes 9905 ;; 9906 no:yes:* ) 9907 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: present but cannot be compiled" >&5 9908 echo "$as_me: WARNING: ws2tcpip.h: present but cannot be compiled" >&2;} 9909 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: check for missing prerequisite headers?" >&5 9910 echo "$as_me: WARNING: ws2tcpip.h: check for missing prerequisite headers?" >&2;} 9911 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: see the Autoconf documentation" >&5 9912 echo "$as_me: WARNING: ws2tcpip.h: see the Autoconf documentation" >&2;} 9913 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: section \"Present But Cannot Be Compiled\"" >&5 9914 echo "$as_me: WARNING: ws2tcpip.h: section \"Present But Cannot Be Compiled\"" >&2;} 9915 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&5 9916 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&2;} 9917 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&5 9918 echo "$as_me: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&2;} 9919 9920 ;; 9921 esac 9922 { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 9923 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 9924 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9925 echo $ECHO_N "(cached) $ECHO_C" >&6 9926 else 9927 ac_cv_header_ws2tcpip_h=$ac_header_preproc 9928 fi 9929 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 9930 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 9931 9932 fi 9933 if test $ac_cv_header_ws2tcpip_h = yes; then 9934 cat >>confdefs.h <<\_ACEOF 9935 #define PJ_HAS_WS2TCPIP_H 1 9936 _ACEOF 9937 9938 fi 9939 9940 9941 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 9942 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 9943 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 9944 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 9945 echo $ECHO_N "(cached) $ECHO_C" >&6 9946 fi 9947 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 9948 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 9949 else 9950 # Is the header compilable? 9951 { echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5 9952 echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6; } 9953 cat >conftest.$ac_ext <<_ACEOF 9954 /* confdefs.h. */ 9955 _ACEOF 9956 cat confdefs.h >>conftest.$ac_ext 9957 cat >>conftest.$ac_ext <<_ACEOF 9958 /* end confdefs.h. */ 9959 $ac_includes_default 9960 #include <uuid/uuid.h> 9961 _ACEOF 9962 rm -f conftest.$ac_objext 9963 if { (ac_try="$ac_compile" 9964 case "(($ac_try" in 9965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9966 *) ac_try_echo=$ac_try;; 9967 esac 9968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9969 (eval "$ac_compile") 2>conftest.er1 9970 ac_status=$? 9971 grep -v '^ *+' conftest.er1 >conftest.err 9972 rm -f conftest.er1 9973 cat conftest.err >&5 9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9975 (exit $ac_status); } && { 9976 test -z "$ac_c_werror_flag" || 9977 test ! -s conftest.err 9978 } && test -s conftest.$ac_objext; then 9979 ac_header_compiler=yes 9980 else 9981 echo "$as_me: failed program was:" >&5 9982 sed 's/^/| /' conftest.$ac_ext >&5 9983 9984 ac_header_compiler=no 9985 fi 9986 9987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9988 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9989 echo "${ECHO_T}$ac_header_compiler" >&6; } 9990 9991 # Is the header present? 9992 { echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5 9993 echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6; } 9994 cat >conftest.$ac_ext <<_ACEOF 9995 /* confdefs.h. */ 9996 _ACEOF 9997 cat confdefs.h >>conftest.$ac_ext 9998 cat >>conftest.$ac_ext <<_ACEOF 9999 /* end confdefs.h. */ 10000 #include <uuid/uuid.h> 10001 _ACEOF 10002 if { (ac_try="$ac_cpp conftest.$ac_ext" 10003 case "(($ac_try" in 10004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10005 *) ac_try_echo=$ac_try;; 10006 esac 10007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10008 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10009 ac_status=$? 10010 grep -v '^ *+' conftest.er1 >conftest.err 10011 rm -f conftest.er1 10012 cat conftest.err >&5 10013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10014 (exit $ac_status); } >/dev/null && { 10015 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10016 test ! -s conftest.err 10017 }; then 10018 ac_header_preproc=yes 10019 else 10020 echo "$as_me: failed program was:" >&5 10021 sed 's/^/| /' conftest.$ac_ext >&5 10022 10023 ac_header_preproc=no 10024 fi 10025 10026 rm -f conftest.err conftest.$ac_ext 10027 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10028 echo "${ECHO_T}$ac_header_preproc" >&6; } 10029 10030 # So? What about this header? 10031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10032 yes:no: ) 10033 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5 10034 echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10035 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5 10036 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;} 10037 ac_header_preproc=yes 10038 ;; 10039 no:yes:* ) 10040 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5 10041 echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;} 10042 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: check for missing prerequisite headers?" >&5 10043 echo "$as_me: WARNING: uuid/uuid.h: check for missing prerequisite headers?" >&2;} 10044 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5 10045 echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;} 10046 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: section \"Present But Cannot Be Compiled\"" >&5 10047 echo "$as_me: WARNING: uuid/uuid.h: section \"Present But Cannot Be Compiled\"" >&2;} 10048 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5 10049 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;} 10050 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5 10051 echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;} 10052 10053 ;; 10054 esac 10055 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 10056 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 10057 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 10058 echo $ECHO_N "(cached) $ECHO_C" >&6 10059 else 10060 ac_cv_header_uuid_uuid_h=$ac_header_preproc 10061 fi 10062 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 10063 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 10064 10065 fi 10066 if test $ac_cv_header_uuid_uuid_h = yes; then 4984 10067 ac_has_uuid_h=1 4985 10068 fi 4986 10069 4987 10070 4988 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H 10071 { echo "$as_me:$LINENO: checking for net/if.h" >&5 10072 echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6; } 10073 if test "${ac_cv_header_net_if_h+set}" = set; then 10074 echo $ECHO_N "(cached) $ECHO_C" >&6 10075 else 10076 cat >conftest.$ac_ext <<_ACEOF 10077 /* confdefs.h. */ 10078 _ACEOF 10079 cat confdefs.h >>conftest.$ac_ext 10080 cat >>conftest.$ac_ext <<_ACEOF 10081 /* end confdefs.h. */ 10082 #if PJ_HAS_SYS_TYPES_H 4989 10083 # include <sys/types.h> 4990 10084 #endif … … 4994 10088 #endif 4995 10089 4996 " 4997 if test "x$ac_cv_header_net_if_h" = x""yes; then : 4998 $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 4999 5000 fi 5001 5002 5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 5004 $as_echo "Setting PJ_OS_NAME to $target" >&6; } 10090 10091 #include <net/if.h> 10092 _ACEOF 10093 rm -f conftest.$ac_objext 10094 if { (ac_try="$ac_compile" 10095 case "(($ac_try" in 10096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10097 *) ac_try_echo=$ac_try;; 10098 esac 10099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10100 (eval "$ac_compile") 2>conftest.er1 10101 ac_status=$? 10102 grep -v '^ *+' conftest.er1 >conftest.err 10103 rm -f conftest.er1 10104 cat conftest.err >&5 10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10106 (exit $ac_status); } && { 10107 test -z "$ac_c_werror_flag" || 10108 test ! -s conftest.err 10109 } && test -s conftest.$ac_objext; then 10110 ac_cv_header_net_if_h=yes 10111 else 10112 echo "$as_me: failed program was:" >&5 10113 sed 's/^/| /' conftest.$ac_ext >&5 10114 10115 ac_cv_header_net_if_h=no 10116 fi 10117 10118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10119 fi 10120 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 10121 echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; } 10122 if test $ac_cv_header_net_if_h = yes; then 10123 cat >>confdefs.h <<\_ACEOF 10124 #define PJ_HAS_NET_IF_H 1 10125 _ACEOF 10126 10127 fi 10128 10129 10130 { echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 10131 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6; } 5005 10132 cat >>confdefs.h <<_ACEOF 5006 10133 #define PJ_OS_NAME "$target" … … 5008 10135 5009 10136 5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 5011 $as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 5012 $as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h 5013 5014 5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 5016 $as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 5017 $as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h 5018 5019 5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 5021 $as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } 5022 $as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h 5023 5024 5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 5026 $as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 5027 $as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h 5028 5029 5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 5031 $as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 5032 $as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h 5033 5034 5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 5036 $as_echo_n "checking if inet_aton() is available... " >&6; } 5037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10137 { echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 10138 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 10139 cat >>confdefs.h <<\_ACEOF 10140 #define PJ_HAS_ERRNO_VAR 1 10141 _ACEOF 10142 10143 10144 { echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 10145 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 10146 cat >>confdefs.h <<\_ACEOF 10147 #define PJ_HAS_HIGH_RES_TIMER 1 10148 _ACEOF 10149 10150 10151 { echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 10152 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6; } 10153 cat >>confdefs.h <<\_ACEOF 10154 #define PJ_HAS_MALLOC 1 10155 _ACEOF 10156 10157 10158 { echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 10159 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 10160 cat >>confdefs.h <<\_ACEOF 10161 #define PJ_NATIVE_STRING_IS_UNICODE 0 10162 _ACEOF 10163 10164 10165 { echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 10166 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 10167 cat >>confdefs.h <<\_ACEOF 10168 #define PJ_ATOMIC_VALUE_TYPE long 10169 _ACEOF 10170 10171 10172 { echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 10173 echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6; } 10174 cat >conftest.$ac_ext <<_ACEOF 10175 /* confdefs.h. */ 10176 _ACEOF 10177 cat confdefs.h >>conftest.$ac_ext 10178 cat >>conftest.$ac_ext <<_ACEOF 5038 10179 /* end confdefs.h. */ 5039 10180 #include <sys/types.h> … … 5048 10189 } 5049 10190 _ACEOF 5050 if ac_fn_c_try_compile "$LINENO"; then : 5051 $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h 5052 5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5054 $as_echo "yes" >&6; } 5055 else 5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5057 $as_echo "no" >&6; } 5058 fi 10191 rm -f conftest.$ac_objext 10192 if { (ac_try="$ac_compile" 10193 case "(($ac_try" in 10194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10195 *) ac_try_echo=$ac_try;; 10196 esac 10197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10198 (eval "$ac_compile") 2>conftest.er1 10199 ac_status=$? 10200 grep -v '^ *+' conftest.er1 >conftest.err 10201 rm -f conftest.er1 10202 cat conftest.err >&5 10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10204 (exit $ac_status); } && { 10205 test -z "$ac_c_werror_flag" || 10206 test ! -s conftest.err 10207 } && test -s conftest.$ac_objext; then 10208 cat >>confdefs.h <<\_ACEOF 10209 #define PJ_SOCK_HAS_INET_ATON 1 10210 _ACEOF 10211 10212 { echo "$as_me:$LINENO: result: yes" >&5 10213 echo "${ECHO_T}yes" >&6; } 10214 else 10215 echo "$as_me: failed program was:" >&5 10216 sed 's/^/| /' conftest.$ac_ext >&5 10217 10218 { echo "$as_me:$LINENO: result: no" >&5 10219 echo "${ECHO_T}no" >&6; } 10220 fi 10221 5059 10222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5060 10223 5061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 5062 $as_echo_n "checking if inet_pton() is available... " >&6; } 5063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10224 { echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 10225 echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6; } 10226 cat >conftest.$ac_ext <<_ACEOF 10227 /* confdefs.h. */ 10228 _ACEOF 10229 cat confdefs.h >>conftest.$ac_ext 10230 cat >>conftest.$ac_ext <<_ACEOF 5064 10231 /* end confdefs.h. */ 5065 10232 #include <sys/types.h> … … 5074 10241 } 5075 10242 _ACEOF 5076 if ac_fn_c_try_compile "$LINENO"; then : 5077 $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h 5078 5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5080 $as_echo "yes" >&6; } 5081 else 5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5083 $as_echo "no" >&6; } 5084 fi 10243 rm -f conftest.$ac_objext 10244 if { (ac_try="$ac_compile" 10245 case "(($ac_try" in 10246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10247 *) ac_try_echo=$ac_try;; 10248 esac 10249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10250 (eval "$ac_compile") 2>conftest.er1 10251 ac_status=$? 10252 grep -v '^ *+' conftest.er1 >conftest.err 10253 rm -f conftest.er1 10254 cat conftest.err >&5 10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10256 (exit $ac_status); } && { 10257 test -z "$ac_c_werror_flag" || 10258 test ! -s conftest.err 10259 } && test -s conftest.$ac_objext; then 10260 cat >>confdefs.h <<\_ACEOF 10261 #define PJ_SOCK_HAS_INET_PTON 1 10262 _ACEOF 10263 10264 { echo "$as_me:$LINENO: result: yes" >&5 10265 echo "${ECHO_T}yes" >&6; } 10266 else 10267 echo "$as_me: failed program was:" >&5 10268 sed 's/^/| /' conftest.$ac_ext >&5 10269 10270 { echo "$as_me:$LINENO: result: no" >&5 10271 echo "${ECHO_T}no" >&6; } 10272 fi 10273 5085 10274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5086 10275 5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 5088 $as_echo_n "checking if inet_ntop() is available... " >&6; } 5089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10276 { echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 10277 echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6; } 10278 cat >conftest.$ac_ext <<_ACEOF 10279 /* confdefs.h. */ 10280 _ACEOF 10281 cat confdefs.h >>conftest.$ac_ext 10282 cat >>conftest.$ac_ext <<_ACEOF 5090 10283 /* end confdefs.h. */ 5091 10284 #include <sys/types.h> … … 5100 10293 } 5101 10294 _ACEOF 5102 if ac_fn_c_try_compile "$LINENO"; then : 5103 $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h 5104 5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5106 $as_echo "yes" >&6; } 5107 else 5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5109 $as_echo "no" >&6; } 5110 fi 10295 rm -f conftest.$ac_objext 10296 if { (ac_try="$ac_compile" 10297 case "(($ac_try" in 10298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10299 *) ac_try_echo=$ac_try;; 10300 esac 10301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10302 (eval "$ac_compile") 2>conftest.er1 10303 ac_status=$? 10304 grep -v '^ *+' conftest.er1 >conftest.err 10305 rm -f conftest.er1 10306 cat conftest.err >&5 10307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10308 (exit $ac_status); } && { 10309 test -z "$ac_c_werror_flag" || 10310 test ! -s conftest.err 10311 } && test -s conftest.$ac_objext; then 10312 cat >>confdefs.h <<\_ACEOF 10313 #define PJ_SOCK_HAS_INET_NTOP 1 10314 _ACEOF 10315 10316 { echo "$as_me:$LINENO: result: yes" >&5 10317 echo "${ECHO_T}yes" >&6; } 10318 else 10319 echo "$as_me: failed program was:" >&5 10320 sed 's/^/| /' conftest.$ac_ext >&5 10321 10322 { echo "$as_me:$LINENO: result: no" >&5 10323 echo "${ECHO_T}no" >&6; } 10324 fi 10325 5111 10326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5112 10327 5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 5114 $as_echo_n "checking if getaddrinfo() is available... " >&6; } 5115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10328 { echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 10329 echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6; } 10330 cat >conftest.$ac_ext <<_ACEOF 10331 /* confdefs.h. */ 10332 _ACEOF 10333 cat confdefs.h >>conftest.$ac_ext 10334 cat >>conftest.$ac_ext <<_ACEOF 5116 10335 /* end confdefs.h. */ 5117 10336 #include <sys/types.h> … … 5126 10345 } 5127 10346 _ACEOF 5128 if ac_fn_c_try_compile "$LINENO"; then : 5129 $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h 5130 5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5132 $as_echo "yes" >&6; } 5133 else 5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5135 $as_echo "no" >&6; } 5136 fi 10347 rm -f conftest.$ac_objext 10348 if { (ac_try="$ac_compile" 10349 case "(($ac_try" in 10350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10351 *) ac_try_echo=$ac_try;; 10352 esac 10353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10354 (eval "$ac_compile") 2>conftest.er1 10355 ac_status=$? 10356 grep -v '^ *+' conftest.er1 >conftest.err 10357 rm -f conftest.er1 10358 cat conftest.err >&5 10359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10360 (exit $ac_status); } && { 10361 test -z "$ac_c_werror_flag" || 10362 test ! -s conftest.err 10363 } && test -s conftest.$ac_objext; then 10364 cat >>confdefs.h <<\_ACEOF 10365 #define PJ_SOCK_HAS_GETADDRINFO 1 10366 _ACEOF 10367 10368 { echo "$as_me:$LINENO: result: yes" >&5 10369 echo "${ECHO_T}yes" >&6; } 10370 else 10371 echo "$as_me: failed program was:" >&5 10372 sed 's/^/| /' conftest.$ac_ext >&5 10373 10374 { echo "$as_me:$LINENO: result: no" >&5 10375 echo "${ECHO_T}no" >&6; } 10376 fi 10377 5137 10378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5138 10379 5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 5140 $as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } 5141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10380 { echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 10381 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6; } 10382 cat >conftest.$ac_ext <<_ACEOF 10383 /* confdefs.h. */ 10384 _ACEOF 10385 cat confdefs.h >>conftest.$ac_ext 10386 cat >>conftest.$ac_ext <<_ACEOF 5142 10387 /* end confdefs.h. */ 5143 10388 #include <sys/types.h> … … 5153 10398 } 5154 10399 _ACEOF 5155 if ac_fn_c_try_compile "$LINENO"; then : 5156 $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h 5157 5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5159 $as_echo "yes" >&6; } 5160 else 5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5162 $as_echo "no" >&6; } 5163 fi 10400 rm -f conftest.$ac_objext 10401 if { (ac_try="$ac_compile" 10402 case "(($ac_try" in 10403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10404 *) ac_try_echo=$ac_try;; 10405 esac 10406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10407 (eval "$ac_compile") 2>conftest.er1 10408 ac_status=$? 10409 grep -v '^ *+' conftest.er1 >conftest.err 10410 rm -f conftest.er1 10411 cat conftest.err >&5 10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10413 (exit $ac_status); } && { 10414 test -z "$ac_c_werror_flag" || 10415 test ! -s conftest.err 10416 } && test -s conftest.$ac_objext; then 10417 cat >>confdefs.h <<\_ACEOF 10418 #define PJ_SOCKADDR_HAS_LEN 1 10419 _ACEOF 10420 10421 { echo "$as_me:$LINENO: result: yes" >&5 10422 echo "${ECHO_T}yes" >&6; } 10423 else 10424 echo "$as_me: failed program was:" >&5 10425 sed 's/^/| /' conftest.$ac_ext >&5 10426 10427 { echo "$as_me:$LINENO: result: no" >&5 10428 echo "${ECHO_T}no" >&6; } 10429 fi 10430 5164 10431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5165 10432 5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 5167 $as_echo_n "checking if socklen_t is available... " >&6; } 5168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10433 { echo "$as_me:$LINENO: checking if socklen_t is available" >&5 10434 echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6; } 10435 cat >conftest.$ac_ext <<_ACEOF 10436 /* confdefs.h. */ 10437 _ACEOF 10438 cat confdefs.h >>conftest.$ac_ext 10439 cat >>conftest.$ac_ext <<_ACEOF 5169 10440 /* end confdefs.h. */ 5170 10441 #include <sys/types.h> … … 5178 10449 } 5179 10450 _ACEOF 5180 if ac_fn_c_try_compile "$LINENO"; then : 5181 $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h 5182 5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5184 $as_echo "yes" >&6; } 5185 else 5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5187 $as_echo "no" >&6; } 5188 fi 10451 rm -f conftest.$ac_objext 10452 if { (ac_try="$ac_compile" 10453 case "(($ac_try" in 10454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10455 *) ac_try_echo=$ac_try;; 10456 esac 10457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10458 (eval "$ac_compile") 2>conftest.er1 10459 ac_status=$? 10460 grep -v '^ *+' conftest.er1 >conftest.err 10461 rm -f conftest.er1 10462 cat conftest.err >&5 10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10464 (exit $ac_status); } && { 10465 test -z "$ac_c_werror_flag" || 10466 test ! -s conftest.err 10467 } && test -s conftest.$ac_objext; then 10468 cat >>confdefs.h <<\_ACEOF 10469 #define PJ_HAS_SOCKLEN_T 1 10470 _ACEOF 10471 10472 { echo "$as_me:$LINENO: result: yes" >&5 10473 echo "${ECHO_T}yes" >&6; } 10474 else 10475 echo "$as_me: failed program was:" >&5 10476 sed 's/^/| /' conftest.$ac_ext >&5 10477 10478 { echo "$as_me:$LINENO: result: no" >&5 10479 echo "${ECHO_T}no" >&6; } 10480 fi 10481 5189 10482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5190 10483 5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&55192 $as_echo_n "checking if SO_ERROR is available..." >&6; }10484 { echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 10485 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6; } 5193 10486 case $target in 5194 10487 *mingw* | *cygw* | *win32* | *w32* ) 5195 $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 5196 5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5198 $as_echo "yes" >&6; } 10488 cat >>confdefs.h <<\_ACEOF 10489 #define PJ_HAS_SO_ERROR 1 10490 _ACEOF 10491 10492 { echo "$as_me:$LINENO: result: yes" >&5 10493 echo "${ECHO_T}yes" >&6; } 5199 10494 ;; 5200 10495 *) 5201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10496 cat >conftest.$ac_ext <<_ACEOF 10497 /* confdefs.h. */ 10498 _ACEOF 10499 cat confdefs.h >>conftest.$ac_ext 10500 cat >>conftest.$ac_ext <<_ACEOF 5202 10501 /* end confdefs.h. */ 5203 10502 #include <sys/types.h> … … 5213 10512 } 5214 10513 _ACEOF 5215 if ac_fn_c_try_compile "$LINENO"; then : 5216 $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 5217 5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5219 $as_echo "yes" >&6; } 5220 else 5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5222 $as_echo "no" >&6; } 5223 fi 10514 rm -f conftest.$ac_objext 10515 if { (ac_try="$ac_compile" 10516 case "(($ac_try" in 10517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10518 *) ac_try_echo=$ac_try;; 10519 esac 10520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10521 (eval "$ac_compile") 2>conftest.er1 10522 ac_status=$? 10523 grep -v '^ *+' conftest.er1 >conftest.err 10524 rm -f conftest.er1 10525 cat conftest.err >&5 10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10527 (exit $ac_status); } && { 10528 test -z "$ac_c_werror_flag" || 10529 test ! -s conftest.err 10530 } && test -s conftest.$ac_objext; then 10531 cat >>confdefs.h <<\_ACEOF 10532 #define PJ_HAS_SO_ERROR 1 10533 _ACEOF 10534 10535 { echo "$as_me:$LINENO: result: yes" >&5 10536 echo "${ECHO_T}yes" >&6; } 10537 else 10538 echo "$as_me: failed program was:" >&5 10539 sed 's/^/| /' conftest.$ac_ext >&5 10540 10541 { echo "$as_me:$LINENO: result: no" >&5 10542 echo "${ECHO_T}no" >&6; } 10543 fi 10544 5224 10545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5225 10546 ;; … … 5227 10548 5228 10549 5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 5230 $as_echo_n "checking if pthread_rwlock_t is available... " >&6; } 5231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10550 { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 10551 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6; } 10552 cat >conftest.$ac_ext <<_ACEOF 10553 /* confdefs.h. */ 10554 _ACEOF 10555 cat confdefs.h >>conftest.$ac_ext 10556 cat >>conftest.$ac_ext <<_ACEOF 5232 10557 /* end confdefs.h. */ 5233 10558 #include <pthread.h> … … 5240 10565 } 5241 10566 _ACEOF 5242 if ac_fn_c_try_compile "$LINENO"; then : 5243 $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 10567 rm -f conftest.$ac_objext 10568 if { (ac_try="$ac_compile" 10569 case "(($ac_try" in 10570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10571 *) ac_try_echo=$ac_try;; 10572 esac 10573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10574 (eval "$ac_compile") 2>conftest.er1 10575 ac_status=$? 10576 grep -v '^ *+' conftest.er1 >conftest.err 10577 rm -f conftest.er1 10578 cat conftest.err >&5 10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10580 (exit $ac_status); } && { 10581 test -z "$ac_c_werror_flag" || 10582 test ! -s conftest.err 10583 } && test -s conftest.$ac_objext; then 10584 cat >>confdefs.h <<\_ACEOF 10585 #define PJ_EMULATE_RWMUTEX 0 10586 _ACEOF 5244 10587 5245 10588 ac_rwmutex="yes" 5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5247 $as_echo "yes" >&6; } 5248 else 5249 $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 10589 { echo "$as_me:$LINENO: result: yes" >&5 10590 echo "${ECHO_T}yes" >&6; } 10591 else 10592 echo "$as_me: failed program was:" >&5 10593 sed 's/^/| /' conftest.$ac_ext >&5 10594 10595 cat >>confdefs.h <<\_ACEOF 10596 #define PJ_EMULATE_RWMUTEX 1 10597 _ACEOF 5250 10598 5251 10599 ac_rwmutex="no" 5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5253 $as_echo "no" >&6; } 5254 fi 10600 { echo "$as_me:$LINENO: result: no" >&5 10601 echo "${ECHO_T}no" >&6; } 10602 fi 10603 5255 10604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5256 10605 5257 10606 if test "$ac_rwmutex" = "no"; then 5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 5259 $as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } 5260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10607 { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 10608 echo $ECHO_N "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... $ECHO_C" >&6; } 10609 cat >conftest.$ac_ext <<_ACEOF 10610 /* confdefs.h. */ 10611 _ACEOF 10612 cat confdefs.h >>conftest.$ac_ext 10613 cat >>conftest.$ac_ext <<_ACEOF 5261 10614 /* end confdefs.h. */ 5262 10615 #define _POSIX_READER_WRITER_LOCKS … … 5270 10623 } 5271 10624 _ACEOF 5272 if ac_fn_c_try_compile "$LINENO"; then : 5273 $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 10625 rm -f conftest.$ac_objext 10626 if { (ac_try="$ac_compile" 10627 case "(($ac_try" in 10628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10629 *) ac_try_echo=$ac_try;; 10630 esac 10631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10632 (eval "$ac_compile") 2>conftest.er1 10633 ac_status=$? 10634 grep -v '^ *+' conftest.er1 >conftest.err 10635 rm -f conftest.er1 10636 cat conftest.err >&5 10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10638 (exit $ac_status); } && { 10639 test -z "$ac_c_werror_flag" || 10640 test ! -s conftest.err 10641 } && test -s conftest.$ac_objext; then 10642 cat >>confdefs.h <<\_ACEOF 10643 #define PJ_EMULATE_RWMUTEX 0 10644 _ACEOF 5274 10645 5275 10646 CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5277 $as_echo "yes" >&6; } 5278 else 5279 $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 5280 5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5282 $as_echo "no" >&6; } 5283 fi 10647 { echo "$as_me:$LINENO: result: yes" >&5 10648 echo "${ECHO_T}yes" >&6; } 10649 else 10650 echo "$as_me: failed program was:" >&5 10651 sed 's/^/| /' conftest.$ac_ext >&5 10652 10653 cat >>confdefs.h <<\_ACEOF 10654 #define PJ_EMULATE_RWMUTEX 1 10655 _ACEOF 10656 10657 { echo "$as_me:$LINENO: result: no" >&5 10658 echo "${ECHO_T}no" >&6; } 10659 fi 10660 5284 10661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5285 10662 fi 5286 10663 5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 5288 $as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } 5289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10664 { echo "$as_me:$LINENO: checking if pthread_mutexattr_settype() is available" >&5 10665 echo $ECHO_N "checking if pthread_mutexattr_settype() is available... $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 5290 10671 /* end confdefs.h. */ 5291 10672 #include <pthread.h> … … 5298 10679 } 5299 10680 _ACEOF 5300 if ac_fn_c_try_compile "$LINENO"; then : 5301 $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h 5302 5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5304 $as_echo "yes" >&6; } 5305 else 5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5307 $as_echo "no" >&6; } 5308 fi 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 cat >>confdefs.h <<\_ACEOF 10699 #define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1 10700 _ACEOF 10701 10702 { echo "$as_me:$LINENO: result: yes" >&5 10703 echo "${ECHO_T}yes" >&6; } 10704 else 10705 echo "$as_me: failed program was:" >&5 10706 sed 's/^/| /' conftest.$ac_ext >&5 10707 10708 { echo "$as_me:$LINENO: result: no" >&5 10709 echo "${ECHO_T}no" >&6; } 10710 fi 10711 5309 10712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5310 10713 5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 5312 $as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } 5313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10714 { echo "$as_me:$LINENO: checking if pthread_mutexattr_t has recursive member" >&5 10715 echo $ECHO_N "checking if pthread_mutexattr_t has recursive member... $ECHO_C" >&6; } 10716 cat >conftest.$ac_ext <<_ACEOF 10717 /* confdefs.h. */ 10718 _ACEOF 10719 cat confdefs.h >>conftest.$ac_ext 10720 cat >>conftest.$ac_ext <<_ACEOF 5314 10721 /* end confdefs.h. */ 5315 10722 #include <pthread.h> … … 5323 10730 } 5324 10731 _ACEOF 5325 if ac_fn_c_try_compile "$LINENO"; then : 5326 $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h 5327 5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5329 $as_echo "yes" >&6; } 5330 else 5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5332 $as_echo "no" >&6; } 5333 fi 10732 rm -f conftest.$ac_objext 10733 if { (ac_try="$ac_compile" 10734 case "(($ac_try" in 10735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10736 *) ac_try_echo=$ac_try;; 10737 esac 10738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10739 (eval "$ac_compile") 2>conftest.er1 10740 ac_status=$? 10741 grep -v '^ *+' conftest.er1 >conftest.err 10742 rm -f conftest.er1 10743 cat conftest.err >&5 10744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10745 (exit $ac_status); } && { 10746 test -z "$ac_c_werror_flag" || 10747 test ! -s conftest.err 10748 } && test -s conftest.$ac_objext; then 10749 cat >>confdefs.h <<\_ACEOF 10750 #define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1 10751 _ACEOF 10752 10753 { echo "$as_me:$LINENO: result: yes" >&5 10754 echo "${ECHO_T}yes" >&6; } 10755 else 10756 echo "$as_me: failed program was:" >&5 10757 sed 's/^/| /' conftest.$ac_ext >&5 10758 10759 { echo "$as_me:$LINENO: result: no" >&5 10760 echo "${ECHO_T}no" >&6; } 10761 fi 10762 5334 10763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5335 10764 5336 10765 5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&55338 $as_echo_n "checking ioqueue backend..." >&6; }10766 { echo "$as_me:$LINENO: checking ioqueue backend" >&5 10767 echo $ECHO_N "checking ioqueue backend... $ECHO_C" >&6; } 5339 10768 # Check whether --enable-epoll was given. 5340 if test "${enable_epoll+set}" = set; then :10769 if test "${enable_epoll+set}" = set; then 5341 10770 enableval=$enable_epoll; 5342 10771 ac_os_objs=ioqueue_epoll.o 5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&55344 $as_echo "/dev/epoll" >&6; }10772 { echo "$as_me:$LINENO: result: /dev/epoll" >&5 10773 echo "${ECHO_T}/dev/epoll" >&6; } 5345 10774 5346 10775 else 5347 10776 5348 10777 ac_os_objs=ioqueue_select.o 5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&55350 $as_echo "select()" >&6; }10778 { echo "$as_me:$LINENO: result: select()" >&5 10779 echo "${ECHO_T}select()" >&6; } 5351 10780 5352 10781 fi … … 5385 10814 5386 10815 # Check whether --with-external-speex was given. 5387 if test "${with_external_speex+set}" = set; then :10816 if test "${with_external_speex+set}" = set; then 5388 10817 withval=$with_external_speex; 5389 10818 if test "x$with_external_speex" != "xno"; then 5390 10819 # Test Speex installation 5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external Speex devkit is installed" >&5 5392 $as_echo_n "checking if external Speex devkit is installed... " >&6; } 5393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10820 { echo "$as_me:$LINENO: checking if external Speex devkit is installed" >&5 10821 echo $ECHO_N "checking if external Speex devkit is installed... $ECHO_C" >&6; } 10822 cat >conftest.$ac_ext <<_ACEOF 10823 /* confdefs.h. */ 10824 _ACEOF 10825 cat confdefs.h >>conftest.$ac_ext 10826 cat >>conftest.$ac_ext <<_ACEOF 5394 10827 /* end confdefs.h. */ 5395 10828 #include <speex/speex.h> … … 5404 10837 } 5405 10838 _ACEOF 5406 if ac_fn_c_try_compile "$LINENO"; then : 5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5408 $as_echo "yes!!" >&6; } 5409 $as_echo "#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1" >>confdefs.h 10839 rm -f conftest.$ac_objext 10840 if { (ac_try="$ac_compile" 10841 case "(($ac_try" in 10842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10843 *) ac_try_echo=$ac_try;; 10844 esac 10845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10846 (eval "$ac_compile") 2>conftest.er1 10847 ac_status=$? 10848 grep -v '^ *+' conftest.er1 >conftest.err 10849 rm -f conftest.er1 10850 cat conftest.err >&5 10851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10852 (exit $ac_status); } && { 10853 test -z "$ac_c_werror_flag" || 10854 test ! -s conftest.err 10855 } && test -s conftest.$ac_objext; then 10856 { echo "$as_me:$LINENO: result: yes!!" >&5 10857 echo "${ECHO_T}yes!!" >&6; } 10858 cat >>confdefs.h <<\_ACEOF 10859 #define PJMEDIA_EXTERNAL_SPEEX_CODEC 1 10860 _ACEOF 5410 10861 5411 10862 ac_external_speex="1" 5412 10863 5413 10864 else 5414 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 5415 fi 10865 echo "$as_me: failed program was:" >&5 10866 sed 's/^/| /' conftest.$ac_ext >&5 10867 10868 { { 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 10869 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;} 10870 { (exit 1); exit 1; }; } 10871 fi 10872 5416 10873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5417 10874 fi … … 5425 10882 5426 10883 # Check whether --with-external-gsm was given. 5427 if test "${with_external_gsm+set}" = set; then :10884 if test "${with_external_gsm+set}" = set; then 5428 10885 withval=$with_external_gsm; 5429 10886 if test "x$with_external_gsm" != "xno"; then 5430 10887 # Test GSM library installation 5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm/gsm.h" >&5 5432 $as_echo_n "checking if external GSM devkit is installed as gsm/gsm.h... " >&6; } 5433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10888 { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm/gsm.h" >&5 10889 echo $ECHO_N "checking if external GSM devkit is installed as gsm/gsm.h... $ECHO_C" >&6; } 10890 cat >conftest.$ac_ext <<_ACEOF 10891 /* confdefs.h. */ 10892 _ACEOF 10893 cat confdefs.h >>conftest.$ac_ext 10894 cat >>conftest.$ac_ext <<_ACEOF 5434 10895 /* end confdefs.h. */ 5435 10896 #include <gsm/gsm.h> … … 5442 10903 } 5443 10904 _ACEOF 5444 if ac_fn_c_try_compile "$LINENO"; then : 5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5446 $as_echo "yes!!" >&6; } 5447 $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 5448 5449 $as_echo "#define PJMEDIA_EXTERNAL_GSM_GSM_H 1" >>confdefs.h 10905 rm -f conftest.$ac_objext 10906 if { (ac_try="$ac_compile" 10907 case "(($ac_try" in 10908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10909 *) ac_try_echo=$ac_try;; 10910 esac 10911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10912 (eval "$ac_compile") 2>conftest.er1 10913 ac_status=$? 10914 grep -v '^ *+' conftest.er1 >conftest.err 10915 rm -f conftest.er1 10916 cat conftest.err >&5 10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10918 (exit $ac_status); } && { 10919 test -z "$ac_c_werror_flag" || 10920 test ! -s conftest.err 10921 } && test -s conftest.$ac_objext; then 10922 { echo "$as_me:$LINENO: result: yes!!" >&5 10923 echo "${ECHO_T}yes!!" >&6; } 10924 cat >>confdefs.h <<\_ACEOF 10925 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 10926 _ACEOF 10927 10928 cat >>confdefs.h <<\_ACEOF 10929 #define PJMEDIA_EXTERNAL_GSM_GSM_H 1 10930 _ACEOF 5450 10931 5451 10932 ac_external_gsm="1" 5452 10933 5453 10934 else 5454 5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5456 $as_echo "no" >&6; } 5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm.h" >&5 5458 $as_echo_n "checking if external GSM devkit is installed as gsm.h... " >&6; } 5459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10935 echo "$as_me: failed program was:" >&5 10936 sed 's/^/| /' conftest.$ac_ext >&5 10937 10938 10939 { echo "$as_me:$LINENO: result: no" >&5 10940 echo "${ECHO_T}no" >&6; } 10941 { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm.h" >&5 10942 echo $ECHO_N "checking if external GSM devkit is installed as gsm.h... $ECHO_C" >&6; } 10943 cat >conftest.$ac_ext <<_ACEOF 10944 /* confdefs.h. */ 10945 _ACEOF 10946 cat confdefs.h >>conftest.$ac_ext 10947 cat >>conftest.$ac_ext <<_ACEOF 5460 10948 /* end confdefs.h. */ 5461 10949 #include <gsm.h> … … 5468 10956 } 5469 10957 _ACEOF 5470 if ac_fn_c_try_compile "$LINENO"; then : 5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5472 $as_echo "yes!!" >&6; } 5473 $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 5474 5475 $as_echo "#define PJMEDIA_EXTERNAL_GSM_H 1" >>confdefs.h 10958 rm -f conftest.$ac_objext 10959 if { (ac_try="$ac_compile" 10960 case "(($ac_try" in 10961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10962 *) ac_try_echo=$ac_try;; 10963 esac 10964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10965 (eval "$ac_compile") 2>conftest.er1 10966 ac_status=$? 10967 grep -v '^ *+' conftest.er1 >conftest.err 10968 rm -f conftest.er1 10969 cat conftest.err >&5 10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10971 (exit $ac_status); } && { 10972 test -z "$ac_c_werror_flag" || 10973 test ! -s conftest.err 10974 } && test -s conftest.$ac_objext; then 10975 { echo "$as_me:$LINENO: result: yes!!" >&5 10976 echo "${ECHO_T}yes!!" >&6; } 10977 cat >>confdefs.h <<\_ACEOF 10978 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 10979 _ACEOF 10980 10981 cat >>confdefs.h <<\_ACEOF 10982 #define PJMEDIA_EXTERNAL_GSM_H 1 10983 _ACEOF 5476 10984 5477 10985 ac_external_gsm="1" 5478 10986 5479 10987 else 5480 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 5481 5482 5483 fi 10988 echo "$as_me: failed program was:" >&5 10989 sed 's/^/| /' conftest.$ac_ext >&5 10990 10991 { { 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 10992 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;} 10993 { (exit 1); exit 1; }; } 10994 10995 10996 fi 10997 5484 10998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5485 10999 5486 11000 5487 11001 fi 11002 5488 11003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5489 11004 fi … … 5497 11012 5498 11013 # Check whether --enable-sound was given. 5499 if test "${enable_sound+set}" = set; then :11014 if test "${enable_sound+set}" = set; then 5500 11015 enableval=$enable_sound; if test "$enable_sound" = "no"; then 5501 11016 ac_pjmedia_snd=null 5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&55503 $as_echo "Checking if sound is disabled... yes" >&6; }11017 { echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&5 11018 echo "${ECHO_T}Checking if sound is disabled... yes" >&6; } 5504 11019 fi 5505 11020 … … 5511 11026 5512 11027 # Check whether --with-external-pa was given. 5513 if test "${with_external_pa+set}" = set; then :11028 if test "${with_external_pa+set}" = set; then 5514 11029 withval=$with_external_pa; 5515 11030 if test "x$with_external_pa" != "xno"; then 5516 11031 # Test PortAudio installation 5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external PortAudio devkit is installed" >&5 5518 $as_echo_n "checking if external PortAudio devkit is installed... " >&6; } 5519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11032 { echo "$as_me:$LINENO: checking if external PortAudio devkit is installed" >&5 11033 echo $ECHO_N "checking if external PortAudio devkit is installed... $ECHO_C" >&6; } 11034 cat >conftest.$ac_ext <<_ACEOF 11035 /* confdefs.h. */ 11036 _ACEOF 11037 cat confdefs.h >>conftest.$ac_ext 11038 cat >>conftest.$ac_ext <<_ACEOF 5520 11039 /* end confdefs.h. */ 5521 11040 #include <portaudio.h> … … 5529 11048 } 5530 11049 _ACEOF 5531 if ac_fn_c_try_compile "$LINENO"; then : 5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5533 $as_echo "yes!!" >&6; } 11050 rm -f conftest.$ac_objext 11051 if { (ac_try="$ac_compile" 11052 case "(($ac_try" in 11053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11054 *) ac_try_echo=$ac_try;; 11055 esac 11056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11057 (eval "$ac_compile") 2>conftest.er1 11058 ac_status=$? 11059 grep -v '^ *+' conftest.er1 >conftest.err 11060 rm -f conftest.er1 11061 cat conftest.err >&5 11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11063 (exit $ac_status); } && { 11064 test -z "$ac_c_werror_flag" || 11065 test ! -s conftest.err 11066 } && test -s conftest.$ac_objext; then 11067 { echo "$as_me:$LINENO: result: yes!!" >&5 11068 echo "${ECHO_T}yes!!" >&6; } 5534 11069 ac_external_pa="1" 5535 11070 5536 11071 else 5537 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 5538 fi 11072 echo "$as_me: failed program was:" >&5 11073 sed 's/^/| /' conftest.$ac_ext >&5 11074 11075 { { 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 11076 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;} 11077 { (exit 1); exit 1; }; } 11078 fi 11079 5539 11080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5540 11081 fi … … 5545 11086 5546 11087 5547 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 5548 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 11088 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 11089 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 11090 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 11091 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 11092 echo $ECHO_N "(cached) $ECHO_C" >&6 11093 fi 11094 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 11095 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 11096 else 11097 # Is the header compilable? 11098 { echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5 11099 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; } 11100 cat >conftest.$ac_ext <<_ACEOF 11101 /* confdefs.h. */ 11102 _ACEOF 11103 cat confdefs.h >>conftest.$ac_ext 11104 cat >>conftest.$ac_ext <<_ACEOF 11105 /* end confdefs.h. */ 11106 $ac_includes_default 11107 #include <sys/soundcard.h> 11108 _ACEOF 11109 rm -f conftest.$ac_objext 11110 if { (ac_try="$ac_compile" 11111 case "(($ac_try" in 11112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11113 *) ac_try_echo=$ac_try;; 11114 esac 11115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11116 (eval "$ac_compile") 2>conftest.er1 11117 ac_status=$? 11118 grep -v '^ *+' conftest.er1 >conftest.err 11119 rm -f conftest.er1 11120 cat conftest.err >&5 11121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11122 (exit $ac_status); } && { 11123 test -z "$ac_c_werror_flag" || 11124 test ! -s conftest.err 11125 } && test -s conftest.$ac_objext; then 11126 ac_header_compiler=yes 11127 else 11128 echo "$as_me: failed program was:" >&5 11129 sed 's/^/| /' conftest.$ac_ext >&5 11130 11131 ac_header_compiler=no 11132 fi 11133 11134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11135 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11136 echo "${ECHO_T}$ac_header_compiler" >&6; } 11137 11138 # Is the header present? 11139 { echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5 11140 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; } 11141 cat >conftest.$ac_ext <<_ACEOF 11142 /* confdefs.h. */ 11143 _ACEOF 11144 cat confdefs.h >>conftest.$ac_ext 11145 cat >>conftest.$ac_ext <<_ACEOF 11146 /* end confdefs.h. */ 11147 #include <sys/soundcard.h> 11148 _ACEOF 11149 if { (ac_try="$ac_cpp conftest.$ac_ext" 11150 case "(($ac_try" in 11151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11152 *) ac_try_echo=$ac_try;; 11153 esac 11154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11155 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11156 ac_status=$? 11157 grep -v '^ *+' conftest.er1 >conftest.err 11158 rm -f conftest.er1 11159 cat conftest.err >&5 11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11161 (exit $ac_status); } >/dev/null && { 11162 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11163 test ! -s conftest.err 11164 }; then 11165 ac_header_preproc=yes 11166 else 11167 echo "$as_me: failed program was:" >&5 11168 sed 's/^/| /' conftest.$ac_ext >&5 11169 11170 ac_header_preproc=no 11171 fi 11172 11173 rm -f conftest.err conftest.$ac_ext 11174 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11175 echo "${ECHO_T}$ac_header_preproc" >&6; } 11176 11177 # So? What about this header? 11178 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11179 yes:no: ) 11180 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 11181 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11182 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5 11183 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;} 11184 ac_header_preproc=yes 11185 ;; 11186 no:yes:* ) 11187 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5 11188 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;} 11189 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5 11190 echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;} 11191 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5 11192 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;} 11193 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 11194 echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 11195 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5 11196 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;} 11197 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 11198 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} 11199 11200 ;; 11201 esac 11202 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 11203 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 11204 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 11205 echo $ECHO_N "(cached) $ECHO_C" >&6 11206 else 11207 ac_cv_header_sys_soundcard_h=$ac_header_preproc 11208 fi 11209 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 11210 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 11211 11212 fi 11213 if test $ac_cv_header_sys_soundcard_h = yes; then 5549 11214 ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 5550 11215 fi 5551 11216 5552 11217 5553 ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 5554 if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 11218 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 11219 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 11220 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 11221 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 11222 echo $ECHO_N "(cached) $ECHO_C" >&6 11223 fi 11224 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 11225 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 11226 else 11227 # Is the header compilable? 11228 { echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5 11229 echo $ECHO_N "checking linux/soundcard.h usability... $ECHO_C" >&6; } 11230 cat >conftest.$ac_ext <<_ACEOF 11231 /* confdefs.h. */ 11232 _ACEOF 11233 cat confdefs.h >>conftest.$ac_ext 11234 cat >>conftest.$ac_ext <<_ACEOF 11235 /* end confdefs.h. */ 11236 $ac_includes_default 11237 #include <linux/soundcard.h> 11238 _ACEOF 11239 rm -f conftest.$ac_objext 11240 if { (ac_try="$ac_compile" 11241 case "(($ac_try" in 11242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11243 *) ac_try_echo=$ac_try;; 11244 esac 11245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11246 (eval "$ac_compile") 2>conftest.er1 11247 ac_status=$? 11248 grep -v '^ *+' conftest.er1 >conftest.err 11249 rm -f conftest.er1 11250 cat conftest.err >&5 11251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11252 (exit $ac_status); } && { 11253 test -z "$ac_c_werror_flag" || 11254 test ! -s conftest.err 11255 } && test -s conftest.$ac_objext; then 11256 ac_header_compiler=yes 11257 else 11258 echo "$as_me: failed program was:" >&5 11259 sed 's/^/| /' conftest.$ac_ext >&5 11260 11261 ac_header_compiler=no 11262 fi 11263 11264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11265 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11266 echo "${ECHO_T}$ac_header_compiler" >&6; } 11267 11268 # Is the header present? 11269 { echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5 11270 echo $ECHO_N "checking linux/soundcard.h presence... $ECHO_C" >&6; } 11271 cat >conftest.$ac_ext <<_ACEOF 11272 /* confdefs.h. */ 11273 _ACEOF 11274 cat confdefs.h >>conftest.$ac_ext 11275 cat >>conftest.$ac_ext <<_ACEOF 11276 /* end confdefs.h. */ 11277 #include <linux/soundcard.h> 11278 _ACEOF 11279 if { (ac_try="$ac_cpp conftest.$ac_ext" 11280 case "(($ac_try" in 11281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11282 *) ac_try_echo=$ac_try;; 11283 esac 11284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11285 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11286 ac_status=$? 11287 grep -v '^ *+' conftest.er1 >conftest.err 11288 rm -f conftest.er1 11289 cat conftest.err >&5 11290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11291 (exit $ac_status); } >/dev/null && { 11292 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11293 test ! -s conftest.err 11294 }; then 11295 ac_header_preproc=yes 11296 else 11297 echo "$as_me: failed program was:" >&5 11298 sed 's/^/| /' conftest.$ac_ext >&5 11299 11300 ac_header_preproc=no 11301 fi 11302 11303 rm -f conftest.err conftest.$ac_ext 11304 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11305 echo "${ECHO_T}$ac_header_preproc" >&6; } 11306 11307 # So? What about this header? 11308 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11309 yes:no: ) 11310 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 11311 echo "$as_me: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11312 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&5 11313 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&2;} 11314 ac_header_preproc=yes 11315 ;; 11316 no:yes:* ) 11317 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: present but cannot be compiled" >&5 11318 echo "$as_me: WARNING: linux/soundcard.h: present but cannot be compiled" >&2;} 11319 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: check for missing prerequisite headers?" >&5 11320 echo "$as_me: WARNING: linux/soundcard.h: check for missing prerequisite headers?" >&2;} 11321 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: see the Autoconf documentation" >&5 11322 echo "$as_me: WARNING: linux/soundcard.h: see the Autoconf documentation" >&2;} 11323 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 11324 echo "$as_me: WARNING: linux/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 11325 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&5 11326 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&2;} 11327 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 11328 echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} 11329 11330 ;; 11331 esac 11332 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 11333 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 11334 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 11335 echo $ECHO_N "(cached) $ECHO_C" >&6 11336 else 11337 ac_cv_header_linux_soundcard_h=$ac_header_preproc 11338 fi 11339 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 11340 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 11341 11342 fi 11343 if test $ac_cv_header_linux_soundcard_h = yes; then 5555 11344 ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 5556 11345 fi 5557 11346 5558 11347 5559 ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 5560 if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 11348 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 11349 { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 11350 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 11351 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 11352 echo $ECHO_N "(cached) $ECHO_C" >&6 11353 fi 11354 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 11355 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 11356 else 11357 # Is the header compilable? 11358 { echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&5 11359 echo $ECHO_N "checking machine/soundcard.h usability... $ECHO_C" >&6; } 11360 cat >conftest.$ac_ext <<_ACEOF 11361 /* confdefs.h. */ 11362 _ACEOF 11363 cat confdefs.h >>conftest.$ac_ext 11364 cat >>conftest.$ac_ext <<_ACEOF 11365 /* end confdefs.h. */ 11366 $ac_includes_default 11367 #include <machine/soundcard.h> 11368 _ACEOF 11369 rm -f conftest.$ac_objext 11370 if { (ac_try="$ac_compile" 11371 case "(($ac_try" in 11372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11373 *) ac_try_echo=$ac_try;; 11374 esac 11375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11376 (eval "$ac_compile") 2>conftest.er1 11377 ac_status=$? 11378 grep -v '^ *+' conftest.er1 >conftest.err 11379 rm -f conftest.er1 11380 cat conftest.err >&5 11381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11382 (exit $ac_status); } && { 11383 test -z "$ac_c_werror_flag" || 11384 test ! -s conftest.err 11385 } && test -s conftest.$ac_objext; then 11386 ac_header_compiler=yes 11387 else 11388 echo "$as_me: failed program was:" >&5 11389 sed 's/^/| /' conftest.$ac_ext >&5 11390 11391 ac_header_compiler=no 11392 fi 11393 11394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11395 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11396 echo "${ECHO_T}$ac_header_compiler" >&6; } 11397 11398 # Is the header present? 11399 { echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&5 11400 echo $ECHO_N "checking machine/soundcard.h presence... $ECHO_C" >&6; } 11401 cat >conftest.$ac_ext <<_ACEOF 11402 /* confdefs.h. */ 11403 _ACEOF 11404 cat confdefs.h >>conftest.$ac_ext 11405 cat >>conftest.$ac_ext <<_ACEOF 11406 /* end confdefs.h. */ 11407 #include <machine/soundcard.h> 11408 _ACEOF 11409 if { (ac_try="$ac_cpp conftest.$ac_ext" 11410 case "(($ac_try" in 11411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11412 *) ac_try_echo=$ac_try;; 11413 esac 11414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11415 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11416 ac_status=$? 11417 grep -v '^ *+' conftest.er1 >conftest.err 11418 rm -f conftest.er1 11419 cat conftest.err >&5 11420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11421 (exit $ac_status); } >/dev/null && { 11422 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11423 test ! -s conftest.err 11424 }; then 11425 ac_header_preproc=yes 11426 else 11427 echo "$as_me: failed program was:" >&5 11428 sed 's/^/| /' conftest.$ac_ext >&5 11429 11430 ac_header_preproc=no 11431 fi 11432 11433 rm -f conftest.err conftest.$ac_ext 11434 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11435 echo "${ECHO_T}$ac_header_preproc" >&6; } 11436 11437 # So? What about this header? 11438 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11439 yes:no: ) 11440 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 11441 echo "$as_me: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11442 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&5 11443 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&2;} 11444 ac_header_preproc=yes 11445 ;; 11446 no:yes:* ) 11447 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: present but cannot be compiled" >&5 11448 echo "$as_me: WARNING: machine/soundcard.h: present but cannot be compiled" >&2;} 11449 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: check for missing prerequisite headers?" >&5 11450 echo "$as_me: WARNING: machine/soundcard.h: check for missing prerequisite headers?" >&2;} 11451 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: see the Autoconf documentation" >&5 11452 echo "$as_me: WARNING: machine/soundcard.h: see the Autoconf documentation" >&2;} 11453 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 11454 echo "$as_me: WARNING: machine/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 11455 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&5 11456 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&2;} 11457 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&5 11458 echo "$as_me: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&2;} 11459 11460 ;; 11461 esac 11462 { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 11463 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 11464 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 11465 echo $ECHO_N "(cached) $ECHO_C" >&6 11466 else 11467 ac_cv_header_machine_soundcard_h=$ac_header_preproc 11468 fi 11469 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 11470 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 11471 11472 fi 11473 if test $ac_cv_header_machine_soundcard_h = yes; then 5561 11474 ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 5562 11475 fi … … 5576 11489 arm-apple-darwin*) 5577 11490 LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" 5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&55579 $as_echo "Checking sound device backend... AudioUnit" >&6; }11491 { echo "$as_me:$LINENO: result: Checking sound device backend... AudioUnit" >&5 11492 echo "${ECHO_T}Checking sound device backend... AudioUnit" >&6; } 5580 11493 ;; 5581 11494 *darwin*) … … 5585 11498 #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 5586 11499 ac_pjmedia_snd=pa_old_darwinos 5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&55588 $as_echo "Checking sound device backend... old coreaudio" >&6; }11500 { echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&5 11501 echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6; } 5589 11502 else 5590 11503 ac_pjmedia_snd=pa_darwinos 5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&55592 $as_echo "Checking sound device backend... coreaudio" >&6; }11504 { echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 11505 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6; } 5593 11506 fi 5594 11507 ;; 5595 11508 *cygwin* | *mingw*) 5596 11509 ac_pjmedia_snd=pa_win32 5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&55598 $as_echo "Checking sound device backend... win32 sound" >&6; }11510 { echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 11511 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6; } 5599 11512 ;; 5600 11513 *rtems*) 5601 11514 ac_pjmedia_snd=null 5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&55603 $as_echo "Checking sound device backend... null sound" >&6; }11515 { echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 11516 echo "${ECHO_T}Checking sound device backend... null sound" >&6; } 5604 11517 ;; 5605 11518 *) 5606 11519 ac_pjmedia_snd=pa_unix 5607 ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 5608 if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 11520 if test "${ac_cv_header_alsa_version_h+set}" = set; then 11521 { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 11522 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 11523 if test "${ac_cv_header_alsa_version_h+set}" = set; then 11524 echo $ECHO_N "(cached) $ECHO_C" >&6 11525 fi 11526 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 11527 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 11528 else 11529 # Is the header compilable? 11530 { echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 11531 echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6; } 11532 cat >conftest.$ac_ext <<_ACEOF 11533 /* confdefs.h. */ 11534 _ACEOF 11535 cat confdefs.h >>conftest.$ac_ext 11536 cat >>conftest.$ac_ext <<_ACEOF 11537 /* end confdefs.h. */ 11538 $ac_includes_default 11539 #include <alsa/version.h> 11540 _ACEOF 11541 rm -f conftest.$ac_objext 11542 if { (ac_try="$ac_compile" 11543 case "(($ac_try" in 11544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11545 *) ac_try_echo=$ac_try;; 11546 esac 11547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11548 (eval "$ac_compile") 2>conftest.er1 11549 ac_status=$? 11550 grep -v '^ *+' conftest.er1 >conftest.err 11551 rm -f conftest.er1 11552 cat conftest.err >&5 11553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11554 (exit $ac_status); } && { 11555 test -z "$ac_c_werror_flag" || 11556 test ! -s conftest.err 11557 } && test -s conftest.$ac_objext; then 11558 ac_header_compiler=yes 11559 else 11560 echo "$as_me: failed program was:" >&5 11561 sed 's/^/| /' conftest.$ac_ext >&5 11562 11563 ac_header_compiler=no 11564 fi 11565 11566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11567 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11568 echo "${ECHO_T}$ac_header_compiler" >&6; } 11569 11570 # Is the header present? 11571 { echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 11572 echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6; } 11573 cat >conftest.$ac_ext <<_ACEOF 11574 /* confdefs.h. */ 11575 _ACEOF 11576 cat confdefs.h >>conftest.$ac_ext 11577 cat >>conftest.$ac_ext <<_ACEOF 11578 /* end confdefs.h. */ 11579 #include <alsa/version.h> 11580 _ACEOF 11581 if { (ac_try="$ac_cpp conftest.$ac_ext" 11582 case "(($ac_try" in 11583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11584 *) ac_try_echo=$ac_try;; 11585 esac 11586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11588 ac_status=$? 11589 grep -v '^ *+' conftest.er1 >conftest.err 11590 rm -f conftest.er1 11591 cat conftest.err >&5 11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11593 (exit $ac_status); } >/dev/null && { 11594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11595 test ! -s conftest.err 11596 }; then 11597 ac_header_preproc=yes 11598 else 11599 echo "$as_me: failed program was:" >&5 11600 sed 's/^/| /' conftest.$ac_ext >&5 11601 11602 ac_header_preproc=no 11603 fi 11604 11605 rm -f conftest.err conftest.$ac_ext 11606 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11607 echo "${ECHO_T}$ac_header_preproc" >&6; } 11608 11609 # So? What about this header? 11610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11611 yes:no: ) 11612 { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 11613 echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11614 { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 11615 echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 11616 ac_header_preproc=yes 11617 ;; 11618 no:yes:* ) 11619 { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 11620 echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 11621 { echo "$as_me:$LINENO: WARNING: alsa/version.h: check for missing prerequisite headers?" >&5 11622 echo "$as_me: WARNING: alsa/version.h: check for missing prerequisite headers?" >&2;} 11623 { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 11624 echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 11625 { echo "$as_me:$LINENO: WARNING: alsa/version.h: section \"Present But Cannot Be Compiled\"" >&5 11626 echo "$as_me: WARNING: alsa/version.h: section \"Present But Cannot Be Compiled\"" >&2;} 11627 { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 11628 echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 11629 { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 11630 echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 11631 11632 ;; 11633 esac 11634 { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 11635 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 11636 if test "${ac_cv_header_alsa_version_h+set}" = set; then 11637 echo $ECHO_N "(cached) $ECHO_C" >&6 11638 else 11639 ac_cv_header_alsa_version_h=$ac_header_preproc 11640 fi 11641 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 11642 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 11643 11644 fi 11645 if test $ac_cv_header_alsa_version_h = yes; then 5609 11646 ac_pa_use_alsa=1 5610 11647 … … 5617 11654 5618 11655 5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&55620 $as_echo "Checking sound device backend... unix" >&6; }11656 { echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 11657 echo "${ECHO_T}Checking sound device backend... unix" >&6; } 5621 11658 5622 11659 ac_pa_use_oss=1 5623 11660 5624 11661 # Check whether --enable-oss was given. 5625 if test "${enable_oss+set}" = set; then :11662 if test "${enable_oss+set}" = set; then 5626 11663 enableval=$enable_oss; 5627 11664 if test "$enable_oss" = "no"; then 5628 11665 ac_pa_use_oss=0 5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&55630 $as_echo "Checking if OSS audio is disabled... yes" >&6; }11666 { echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&5 11667 echo "${ECHO_T}Checking if OSS audio is disabled... yes" >&6; } 5631 11668 fi 5632 11669 … … 5647 11684 ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" 5648 11685 LIBS="$LIBS -framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking video device backend... AVFoundation" >&55650 $as_echo "Checking video device backend... AVFoundation" >&6; }11686 { echo "$as_me:$LINENO: result: Checking video device backend... AVFoundation" >&5 11687 echo "${ECHO_T}Checking video device backend... AVFoundation" >&6; } 5651 11688 ;; 5652 11689 *darwin*) … … 5656 11693 SAVED_LIBS="$LIBS" 5657 11694 LIBS="-framework QTKit" 5658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11695 cat >conftest.$ac_ext <<_ACEOF 11696 /* confdefs.h. */ 11697 _ACEOF 11698 cat confdefs.h >>conftest.$ac_ext 11699 cat >>conftest.$ac_ext <<_ACEOF 5659 11700 /* end confdefs.h. */ 5660 11701 … … 5667 11708 } 5668 11709 _ACEOF 5669 if ac_fn_c_try_link "$LINENO"; then : 11710 rm -f conftest.$ac_objext conftest$ac_exeext 11711 if { (ac_try="$ac_link" 11712 case "(($ac_try" in 11713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11714 *) ac_try_echo=$ac_try;; 11715 esac 11716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11717 (eval "$ac_link") 2>conftest.er1 11718 ac_status=$? 11719 grep -v '^ *+' conftest.er1 >conftest.err 11720 rm -f conftest.er1 11721 cat conftest.err >&5 11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11723 (exit $ac_status); } && { 11724 test -z "$ac_c_werror_flag" || 11725 test ! -s conftest.err 11726 } && test -s conftest$ac_exeext && 11727 $as_test_x conftest$ac_exeext; then 5670 11728 ac_pjmedia_video_has_qt=yes 5671 11729 else 5672 ac_pjmedia_video_has_qt=no 5673 fi 5674 rm -f core conftest.err conftest.$ac_objext \ 5675 conftest$ac_exeext conftest.$ac_ext 11730 echo "$as_me: failed program was:" >&5 11731 sed 's/^/| /' conftest.$ac_ext >&5 11732 11733 ac_pjmedia_video_has_qt=no 11734 fi 11735 11736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11737 conftest$ac_exeext conftest.$ac_ext 5676 11738 LIBS="$SAVED_LIBS" 5677 11739 if test "$ac_pjmedia_video_has_qt" = "yes"; then 5678 11740 ac_qt_cflags="-DPJMEDIA_VIDEO_DEV_HAS_QT=1" 5679 11741 LIBS="$LIBS -framework QTKit -framework Foundation -framework AppKit -framework QuartzCore -framework OpenGL" 5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... yes" >&55681 $as_echo "Checking if QTKit framework is available... yes" >&6; }11742 { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... yes" >&5 11743 echo "${ECHO_T}Checking if QTKit framework is available... yes" >&6; } 5682 11744 else 5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... no" >&55684 $as_echo "Checking if QTKit framework is available... no" >&6; }11745 { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... no" >&5 11746 echo "${ECHO_T}Checking if QTKit framework is available... no" >&6; } 5685 11747 fi 5686 11748 ;; … … 5689 11751 5690 11752 # Check whether --enable-ext_sound was given. 5691 if test "${enable_ext_sound+set}" = set; then :11753 if test "${enable_ext_sound+set}" = set; then 5692 11754 enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 5693 11755 ac_pjmedia_snd=external 5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&55695 $as_echo "Checking if external sound is set... yes" >&6; }11756 { echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&5 11757 echo "${ECHO_T}Checking if external sound is set... yes" >&6; } 5696 11758 fi 5697 11759 … … 5701 11763 5702 11764 # Check whether --enable-small-filter was given. 5703 if test "${enable_small_filter+set}" = set; then :11765 if test "${enable_small_filter+set}" = set; then 5704 11766 enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 5705 11767 ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&55707 $as_echo "Checking if small filter is disabled... yes" >&6; }11768 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 11769 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6; } 5708 11770 fi 5709 11771 else 5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&55711 $as_echo "Checking if small filter is disabled... no" >&6; }11772 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 11773 echo "${ECHO_T}Checking if small filter is disabled... no" >&6; } 5712 11774 fi 5713 11775 … … 5715 11777 5716 11778 # Check whether --enable-large-filter was given. 5717 if test "${enable_large_filter+set}" = set; then :11779 if test "${enable_large_filter+set}" = set; then 5718 11780 enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 5719 11781 ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&55721 $as_echo "Checking if large filter is disabled... yes" >&6; }11782 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 11783 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6; } 5722 11784 fi 5723 11785 else 5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&55725 $as_echo "Checking if large filter is disabled... no" >&6; }11786 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 11787 echo "${ECHO_T}Checking if large filter is disabled... no" >&6; } 5726 11788 fi 5727 11789 … … 5729 11791 5730 11792 # Check whether --enable-speex-aec was given. 5731 if test "${enable_speex_aec+set}" = set; then :11793 if test "${enable_speex_aec+set}" = set; then 5732 11794 enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 5733 11795 ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&55735 $as_echo "Checking if Speex AEC is disabled...yes" >&6; }11796 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 11797 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6; } 5736 11798 fi 5737 11799 else 5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&55739 $as_echo "Checking if Speex AEC is disabled...no" >&6; }11800 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 11801 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6; } 5740 11802 fi 5741 11803 … … 5743 11805 5744 11806 # Check whether --enable-g711-codec was given. 5745 if test "${enable_g711_codec+set}" = set; then :11807 if test "${enable_g711_codec+set}" = set; then 5746 11808 enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 5747 11809 ac_no_g711_codec=1 5748 $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h 5749 5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 5751 $as_echo "Checking if G.711 codec is disabled...yes" >&6; } 11810 cat >>confdefs.h <<\_ACEOF 11811 #define PJMEDIA_HAS_G711_CODEC 0 11812 _ACEOF 11813 11814 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 11815 echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6; } 5752 11816 fi 5753 11817 else 5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&55755 $as_echo "Checking if G.711 codec is disabled...no" >&6; }11818 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 11819 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6; } 5756 11820 fi 5757 11821 … … 5760 11824 5761 11825 # Check whether --enable-l16-codec was given. 5762 if test "${enable_l16_codec+set}" = set; then :11826 if test "${enable_l16_codec+set}" = set; then 5763 11827 enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 5764 11828 ac_no_l16_codec=1 5765 $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h 5766 5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 5768 $as_echo "Checking if L16 codecs are disabled...yes" >&6; } 11829 cat >>confdefs.h <<\_ACEOF 11830 #define PJMEDIA_HAS_L16_CODEC 0 11831 _ACEOF 11832 11833 { echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 11834 echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6; } 5769 11835 fi 5770 11836 else 5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&55772 $as_echo "Checking if L16 codec is disabled...no" >&6; }11837 { echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&5 11838 echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6; } 5773 11839 fi 5774 11840 … … 5777 11843 5778 11844 # Check whether --enable-gsm-codec was given. 5779 if test "${enable_gsm_codec+set}" = set; then :11845 if test "${enable_gsm_codec+set}" = set; then 5780 11846 enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 5781 11847 ac_no_gsm_codec=1 5782 $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h 5783 5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 5785 $as_echo "Checking if GSM codec is disabled...yes" >&6; } 11848 cat >>confdefs.h <<\_ACEOF 11849 #define PJMEDIA_HAS_GSM_CODEC 0 11850 _ACEOF 11851 11852 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 11853 echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6; } 5786 11854 fi 5787 11855 else 5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&55789 $as_echo "Checking if GSM codec is disabled...no" >&6; }11856 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 11857 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6; } 5790 11858 fi 5791 11859 … … 5793 11861 5794 11862 # Check whether --enable-g722-codec was given. 5795 if test "${enable_g722_codec+set}" = set; then :11863 if test "${enable_g722_codec+set}" = set; then 5796 11864 enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 5797 11865 ac_no_g722_codec=1 5798 $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h 5799 5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 5801 $as_echo "Checking if G.722 codec is disabled...yes" >&6; } 11866 cat >>confdefs.h <<\_ACEOF 11867 #define PJMEDIA_HAS_G722_CODEC 0 11868 _ACEOF 11869 11870 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 11871 echo "${ECHO_T}Checking if G.722 codec is disabled...yes" >&6; } 5802 11872 fi 5803 11873 else 5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&55805 $as_echo "Checking if G.722 codec is disabled...no" >&6; }11874 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&5 11875 echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6; } 5806 11876 fi 5807 11877 … … 5809 11879 5810 11880 # Check whether --enable-g7221-codec was given. 5811 if test "${enable_g7221_codec+set}" = set; then :11881 if test "${enable_g7221_codec+set}" = set; then 5812 11882 enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then 5813 11883 ac_no_g7221_codec=1 5814 $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h 5815 5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 5817 $as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } 11884 cat >>confdefs.h <<\_ACEOF 11885 #define PJMEDIA_HAS_G7221_CODEC 0 11886 _ACEOF 11887 11888 { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...yes" >&5 11889 echo "${ECHO_T}Checking if G.722.1 codec is disabled...yes" >&6; } 5818 11890 fi 5819 11891 else 5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&55821 $as_echo "Checking if G.722.1 codec is disabled...no" >&6; }11892 { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...no" >&5 11893 echo "${ECHO_T}Checking if G.722.1 codec is disabled...no" >&6; } 5822 11894 fi 5823 11895 … … 5825 11897 5826 11898 # Check whether --enable-speex-codec was given. 5827 if test "${enable_speex_codec+set}" = set; then :11899 if test "${enable_speex_codec+set}" = set; then 5828 11900 enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 5829 11901 ac_no_speex_codec=1 5830 $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h 5831 5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 5833 $as_echo "Checking if Speex codec is disabled...yes" >&6; } 11902 cat >>confdefs.h <<\_ACEOF 11903 #define PJMEDIA_HAS_SPEEX_CODEC 0 11904 _ACEOF 11905 11906 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 11907 echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6; } 5834 11908 fi 5835 11909 else 5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&55837 $as_echo "Checking if Speex codec is disabled...no" >&6; }11910 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 11911 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6; } 5838 11912 fi 5839 11913 … … 5841 11915 5842 11916 # Check whether --enable-ilbc-codec was given. 5843 if test "${enable_ilbc_codec+set}" = set; then :11917 if test "${enable_ilbc_codec+set}" = set; then 5844 11918 enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 5845 11919 ac_no_ilbc_codec=1 5846 $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h 5847 5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 5849 $as_echo "Checking if iLBC codec is disabled...yes" >&6; } 11920 cat >>confdefs.h <<\_ACEOF 11921 #define PJMEDIA_HAS_ILBC_CODEC 0 11922 _ACEOF 11923 11924 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 11925 echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6; } 5850 11926 fi 5851 11927 else 5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&55853 $as_echo "Checking if iLBC codec is disabled...no" >&6; }11928 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 11929 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6; } 5854 11930 fi 5855 11931 5856 11932 5857 11933 # Check whether --enable-libsamplerate was given. 5858 if test "${enable_libsamplerate+set}" = set; then : 5859 enableval=$enable_libsamplerate; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 5860 $as_echo_n "checking for src_new in -lsamplerate... " >&6; } 5861 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 5862 $as_echo_n "(cached) " >&6 11934 if test "${enable_libsamplerate+set}" = set; then 11935 enableval=$enable_libsamplerate; 11936 { echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 11937 echo $ECHO_N "checking for src_new in -lsamplerate... $ECHO_C" >&6; } 11938 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then 11939 echo $ECHO_N "(cached) $ECHO_C" >&6 5863 11940 else 5864 11941 ac_check_lib_save_LIBS=$LIBS 5865 11942 LIBS="-lsamplerate $LIBS" 5866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11943 cat >conftest.$ac_ext <<_ACEOF 11944 /* confdefs.h. */ 11945 _ACEOF 11946 cat confdefs.h >>conftest.$ac_ext 11947 cat >>conftest.$ac_ext <<_ACEOF 5867 11948 /* end confdefs.h. */ 5868 11949 … … 5882 11963 } 5883 11964 _ACEOF 5884 if ac_fn_c_try_link "$LINENO"; then : 11965 rm -f conftest.$ac_objext conftest$ac_exeext 11966 if { (ac_try="$ac_link" 11967 case "(($ac_try" in 11968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11969 *) ac_try_echo=$ac_try;; 11970 esac 11971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11972 (eval "$ac_link") 2>conftest.er1 11973 ac_status=$? 11974 grep -v '^ *+' conftest.er1 >conftest.err 11975 rm -f conftest.er1 11976 cat conftest.err >&5 11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11978 (exit $ac_status); } && { 11979 test -z "$ac_c_werror_flag" || 11980 test ! -s conftest.err 11981 } && test -s conftest$ac_exeext && 11982 $as_test_x conftest$ac_exeext; then 5885 11983 ac_cv_lib_samplerate_src_new=yes 5886 11984 else 5887 ac_cv_lib_samplerate_src_new=no 5888 fi 5889 rm -f core conftest.err conftest.$ac_objext \ 5890 conftest$ac_exeext conftest.$ac_ext 11985 echo "$as_me: failed program was:" >&5 11986 sed 's/^/| /' conftest.$ac_ext >&5 11987 11988 ac_cv_lib_samplerate_src_new=no 11989 fi 11990 11991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11992 conftest$ac_exeext conftest.$ac_ext 5891 11993 LIBS=$ac_check_lib_save_LIBS 5892 11994 fi 5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&55894 $as_echo "$ac_cv_lib_samplerate_src_new" >&6; }5895 if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then :11995 { echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&5 11996 echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6; } 11997 if test $ac_cv_lib_samplerate_src_new = yes; then 5896 11998 cat >>confdefs.h <<_ACEOF 5897 11999 #define HAVE_LIBSAMPLERATE 1 … … 5903 12005 5904 12006 else 5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&55906 $as_echo "Skipping libsamplerate detection" >&6; }12007 { echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&5 12008 echo "${ECHO_T}Skipping libsamplerate detection" >&6; } 5907 12009 5908 12010 fi … … 5911 12013 5912 12014 # Check whether --with-sdl was given. 5913 if test "${with_sdl+set}" = set; then :12015 if test "${with_sdl+set}" = set; then 5914 12016 withval=$with_sdl; 5915 12017 else … … 5920 12022 5921 12023 # Check whether --enable-sdl was given. 5922 if test "${enable_sdl+set}" = set; then :12024 if test "${enable_sdl+set}" = set; then 5923 12025 enableval=$enable_sdl; 5924 12026 if test "$enable_sdl" = "no"; then 5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SDL is disabled... yes" >&55926 $as_echo "Checking if SDL is disabled... yes" >&6; }12027 { echo "$as_me:$LINENO: result: Checking if SDL is disabled... yes" >&5 12028 echo "${ECHO_T}Checking if SDL is disabled... yes" >&6; } 5927 12029 fi 5928 12030 … … 5932 12034 if test "x$with_sdl" != "xno" -a "x$with_sdl" != "x"; then 5933 12035 SDL_CONFIG=$with_sdl/bin/sdl-config 5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using SDL prefix... $with_sdl" >&55935 $as_echo "Using SDL prefix... $with_sdl" >&6; }12036 { echo "$as_me:$LINENO: result: Using SDL prefix... $with_sdl" >&5 12037 echo "${ECHO_T}Using SDL prefix... $with_sdl" >&6; } 5936 12038 fi 5937 12039 5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDL availability.." >&55939 $as_echo_n "checking SDL availability....." >&6; }12040 { echo "$as_me:$LINENO: checking SDL availability.." >&5 12041 echo $ECHO_N "checking SDL availability..... $ECHO_C" >&6; } 5940 12042 if $SDL_CONFIG --version; then 5941 12043 … … 5952 12054 5953 12055 # Check whether --enable-ffmpeg was given. 5954 if test "${enable_ffmpeg+set}" = set; then :12056 if test "${enable_ffmpeg+set}" = set; then 5955 12057 enableval=$enable_ffmpeg; 5956 12058 ac_has_ffmpeg=0 5957 12059 5958 12060 if test "$enable_ffmpeg" = "no"; then 5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if ffmpeg is disabled... yes" >&55960 $as_echo "Checking if ffmpeg is disabled... yes" >&6; }12061 { echo "$as_me:$LINENO: result: Checking if ffmpeg is disabled... yes" >&5 12062 echo "${ECHO_T}Checking if ffmpeg is disabled... yes" >&6; } 5961 12063 fi 5962 12064 … … 5969 12071 if test "x$with_ffmpeg" != "xno" -a "x$with_ffmpeg" != "x"; then 5970 12072 FFMPEG_PREFIX=$with_ffmpeg 5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using ffmpeg prefix... $FFMPEG_PREFIX" >&55972 $as_echo "Using ffmpeg prefix... $FFMPEG_PREFIX" >&6; }12073 { echo "$as_me:$LINENO: result: Using ffmpeg prefix... $FFMPEG_PREFIX" >&5 12074 echo "${ECHO_T}Using ffmpeg prefix... $FFMPEG_PREFIX" >&6; } 5973 12075 LIBS="-L$FFMPEG_PREFIX/lib $LIBS" 5974 12076 LDFLAGS="-L$FFMPEG_PREFIX/lib $LDFLAGS" … … 5976 12078 fi 5977 12079 5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avdevice_version in -lavdevice" >&55979 $as_echo_n "checking for avdevice_version in -lavdevice..." >&6; }5980 if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then :5981 $as_echo_n "(cached)" >&612080 { echo "$as_me:$LINENO: checking for avdevice_version in -lavdevice" >&5 12081 echo $ECHO_N "checking for avdevice_version in -lavdevice... $ECHO_C" >&6; } 12082 if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then 12083 echo $ECHO_N "(cached) $ECHO_C" >&6 5982 12084 else 5983 12085 ac_check_lib_save_LIBS=$LIBS 5984 12086 LIBS="-lavdevice $LIBS" 5985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12087 cat >conftest.$ac_ext <<_ACEOF 12088 /* confdefs.h. */ 12089 _ACEOF 12090 cat confdefs.h >>conftest.$ac_ext 12091 cat >>conftest.$ac_ext <<_ACEOF 5986 12092 /* end confdefs.h. */ 5987 12093 … … 6001 12107 } 6002 12108 _ACEOF 6003 if ac_fn_c_try_link "$LINENO"; then : 12109 rm -f conftest.$ac_objext conftest$ac_exeext 12110 if { (ac_try="$ac_link" 12111 case "(($ac_try" in 12112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12113 *) ac_try_echo=$ac_try;; 12114 esac 12115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12116 (eval "$ac_link") 2>conftest.er1 12117 ac_status=$? 12118 grep -v '^ *+' conftest.er1 >conftest.err 12119 rm -f conftest.er1 12120 cat conftest.err >&5 12121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12122 (exit $ac_status); } && { 12123 test -z "$ac_c_werror_flag" || 12124 test ! -s conftest.err 12125 } && test -s conftest$ac_exeext && 12126 $as_test_x conftest$ac_exeext; then 6004 12127 ac_cv_lib_avdevice_avdevice_version=yes 6005 12128 else 6006 ac_cv_lib_avdevice_avdevice_version=no 6007 fi 6008 rm -f core conftest.err conftest.$ac_objext \ 6009 conftest$ac_exeext conftest.$ac_ext 12129 echo "$as_me: failed program was:" >&5 12130 sed 's/^/| /' conftest.$ac_ext >&5 12131 12132 ac_cv_lib_avdevice_avdevice_version=no 12133 fi 12134 12135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12136 conftest$ac_exeext conftest.$ac_ext 6010 12137 LIBS=$ac_check_lib_save_LIBS 6011 12138 fi 6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avdevice_avdevice_version" >&56013 $as_echo "$ac_cv_lib_avdevice_avdevice_version" >&6; }6014 if test "x$ac_cv_lib_avdevice_avdevice_version" = x""yes; then :12139 { echo "$as_me:$LINENO: result: $ac_cv_lib_avdevice_avdevice_version" >&5 12140 echo "${ECHO_T}$ac_cv_lib_avdevice_avdevice_version" >&6; } 12141 if test $ac_cv_lib_avdevice_avdevice_version = yes; then 6015 12142 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" 6016 12143 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavdevice" … … 6019 12146 fi 6020 12147 6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_register_all in -lavformat" >&56022 $as_echo_n "checking for av_register_all in -lavformat..." >&6; }6023 if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then :6024 $as_echo_n "(cached)" >&612148 { echo "$as_me:$LINENO: checking for av_register_all in -lavformat" >&5 12149 echo $ECHO_N "checking for av_register_all in -lavformat... $ECHO_C" >&6; } 12150 if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then 12151 echo $ECHO_N "(cached) $ECHO_C" >&6 6025 12152 else 6026 12153 ac_check_lib_save_LIBS=$LIBS 6027 LIBS="-lavformat $LIBS" 6028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12154 LIBS="-lavformat -lavcodec -lavutil 12155 $LIBS" 12156 cat >conftest.$ac_ext <<_ACEOF 12157 /* confdefs.h. */ 12158 _ACEOF 12159 cat confdefs.h >>conftest.$ac_ext 12160 cat >>conftest.$ac_ext <<_ACEOF 6029 12161 /* end confdefs.h. */ 6030 12162 … … 6044 12176 } 6045 12177 _ACEOF 6046 if ac_fn_c_try_link "$LINENO"; then : 12178 rm -f conftest.$ac_objext conftest$ac_exeext 12179 if { (ac_try="$ac_link" 12180 case "(($ac_try" in 12181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12182 *) ac_try_echo=$ac_try;; 12183 esac 12184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12185 (eval "$ac_link") 2>conftest.er1 12186 ac_status=$? 12187 grep -v '^ *+' conftest.er1 >conftest.err 12188 rm -f conftest.er1 12189 cat conftest.err >&5 12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12191 (exit $ac_status); } && { 12192 test -z "$ac_c_werror_flag" || 12193 test ! -s conftest.err 12194 } && test -s conftest$ac_exeext && 12195 $as_test_x conftest$ac_exeext; then 6047 12196 ac_cv_lib_avformat_av_register_all=yes 6048 12197 else 6049 ac_cv_lib_avformat_av_register_all=no 6050 fi 6051 rm -f core conftest.err conftest.$ac_objext \ 6052 conftest$ac_exeext conftest.$ac_ext 12198 echo "$as_me: failed program was:" >&5 12199 sed 's/^/| /' conftest.$ac_ext >&5 12200 12201 ac_cv_lib_avformat_av_register_all=no 12202 fi 12203 12204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12205 conftest$ac_exeext conftest.$ac_ext 6053 12206 LIBS=$ac_check_lib_save_LIBS 6054 12207 fi 6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_register_all" >&56056 $as_echo "$ac_cv_lib_avformat_av_register_all" >&6; }6057 if test "x$ac_cv_lib_avformat_av_register_all" = x""yes; then :12208 { echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_register_all" >&5 12209 echo "${ECHO_T}$ac_cv_lib_avformat_av_register_all" >&6; } 12210 if test $ac_cv_lib_avformat_av_register_all = yes; then 6058 12211 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" 6059 12212 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavformat" 6060 12213 6061 6062 fi 6063 6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_init in -lavcodec" >&5 6065 $as_echo_n "checking for avcodec_init in -lavcodec... " >&6; } 6066 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then : 6067 $as_echo_n "(cached) " >&6 12214 fi 12215 12216 { echo "$as_me:$LINENO: checking for avcodec_init in -lavcodec" >&5 12217 echo $ECHO_N "checking for avcodec_init in -lavcodec... $ECHO_C" >&6; } 12218 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then 12219 echo $ECHO_N "(cached) $ECHO_C" >&6 6068 12220 else 6069 12221 ac_check_lib_save_LIBS=$LIBS 6070 LIBS="-lavcodec $LIBS" 6071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12222 LIBS="-lavcodec -lavutil 12223 $LIBS" 12224 cat >conftest.$ac_ext <<_ACEOF 12225 /* confdefs.h. */ 12226 _ACEOF 12227 cat confdefs.h >>conftest.$ac_ext 12228 cat >>conftest.$ac_ext <<_ACEOF 6072 12229 /* end confdefs.h. */ 6073 12230 … … 6087 12244 } 6088 12245 _ACEOF 6089 if ac_fn_c_try_link "$LINENO"; then : 12246 rm -f conftest.$ac_objext conftest$ac_exeext 12247 if { (ac_try="$ac_link" 12248 case "(($ac_try" in 12249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12250 *) ac_try_echo=$ac_try;; 12251 esac 12252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12253 (eval "$ac_link") 2>conftest.er1 12254 ac_status=$? 12255 grep -v '^ *+' conftest.er1 >conftest.err 12256 rm -f conftest.er1 12257 cat conftest.err >&5 12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12259 (exit $ac_status); } && { 12260 test -z "$ac_c_werror_flag" || 12261 test ! -s conftest.err 12262 } && test -s conftest$ac_exeext && 12263 $as_test_x conftest$ac_exeext; then 6090 12264 ac_cv_lib_avcodec_avcodec_init=yes 6091 12265 else 6092 ac_cv_lib_avcodec_avcodec_init=no 6093 fi 6094 rm -f core conftest.err conftest.$ac_objext \ 6095 conftest$ac_exeext conftest.$ac_ext 12266 echo "$as_me: failed program was:" >&5 12267 sed 's/^/| /' conftest.$ac_ext >&5 12268 12269 ac_cv_lib_avcodec_avcodec_init=no 12270 fi 12271 12272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12273 conftest$ac_exeext conftest.$ac_ext 6096 12274 LIBS=$ac_check_lib_save_LIBS 6097 12275 fi 6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_init" >&56099 $as_echo "$ac_cv_lib_avcodec_avcodec_init" >&6; }6100 if test "x$ac_cv_lib_avcodec_avcodec_init" = x""yes; then :12276 { echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_init" >&5 12277 echo "${ECHO_T}$ac_cv_lib_avcodec_avcodec_init" >&6; } 12278 if test $ac_cv_lib_avcodec_avcodec_init = yes; then 6101 12279 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" 6102 12280 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcodec" 6103 12281 6104 6105 fi 6106 6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sws_scale in -lswscale" >&5 6108 $as_echo_n "checking for sws_scale in -lswscale... " >&6; } 6109 if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then : 6110 $as_echo_n "(cached) " >&6 12282 fi 12283 12284 { echo "$as_me:$LINENO: checking for sws_scale in -lswscale" >&5 12285 echo $ECHO_N "checking for sws_scale in -lswscale... $ECHO_C" >&6; } 12286 if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then 12287 echo $ECHO_N "(cached) $ECHO_C" >&6 6111 12288 else 6112 12289 ac_check_lib_save_LIBS=$LIBS 6113 LIBS="-lswscale $LIBS" 6114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12290 LIBS="-lswscale -lavutil 12291 $LIBS" 12292 cat >conftest.$ac_ext <<_ACEOF 12293 /* confdefs.h. */ 12294 _ACEOF 12295 cat confdefs.h >>conftest.$ac_ext 12296 cat >>conftest.$ac_ext <<_ACEOF 6115 12297 /* end confdefs.h. */ 6116 12298 … … 6130 12312 } 6131 12313 _ACEOF 6132 if ac_fn_c_try_link "$LINENO"; then : 12314 rm -f conftest.$ac_objext conftest$ac_exeext 12315 if { (ac_try="$ac_link" 12316 case "(($ac_try" in 12317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12318 *) ac_try_echo=$ac_try;; 12319 esac 12320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12321 (eval "$ac_link") 2>conftest.er1 12322 ac_status=$? 12323 grep -v '^ *+' conftest.er1 >conftest.err 12324 rm -f conftest.er1 12325 cat conftest.err >&5 12326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12327 (exit $ac_status); } && { 12328 test -z "$ac_c_werror_flag" || 12329 test ! -s conftest.err 12330 } && test -s conftest$ac_exeext && 12331 $as_test_x conftest$ac_exeext; then 6133 12332 ac_cv_lib_swscale_sws_scale=yes 6134 12333 else 6135 ac_cv_lib_swscale_sws_scale=no 6136 fi 6137 rm -f core conftest.err conftest.$ac_objext \ 6138 conftest$ac_exeext conftest.$ac_ext 12334 echo "$as_me: failed program was:" >&5 12335 sed 's/^/| /' conftest.$ac_ext >&5 12336 12337 ac_cv_lib_swscale_sws_scale=no 12338 fi 12339 12340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12341 conftest$ac_exeext conftest.$ac_ext 6139 12342 LIBS=$ac_check_lib_save_LIBS 6140 12343 fi 6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_sws_scale" >&56142 $as_echo "$ac_cv_lib_swscale_sws_scale" >&6; }6143 if test "x$ac_cv_lib_swscale_sws_scale" = x""yes; then :12344 { echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_sws_scale" >&5 12345 echo "${ECHO_T}$ac_cv_lib_swscale_sws_scale" >&6; } 12346 if test $ac_cv_lib_swscale_sws_scale = yes; then 6144 12347 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 6145 12348 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" 6146 12349 6147 6148 fi 6149 6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_malloc in -lavutil" >&5 6151 $as_echo_n "checking for av_malloc in -lavutil... " >&6; } 6152 if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then : 6153 $as_echo_n "(cached) " >&6 12350 fi 12351 12352 { echo "$as_me:$LINENO: checking for av_malloc in -lavutil" >&5 12353 echo $ECHO_N "checking for av_malloc in -lavutil... $ECHO_C" >&6; } 12354 if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then 12355 echo $ECHO_N "(cached) $ECHO_C" >&6 6154 12356 else 6155 12357 ac_check_lib_save_LIBS=$LIBS 6156 12358 LIBS="-lavutil $LIBS" 6157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12359 cat >conftest.$ac_ext <<_ACEOF 12360 /* confdefs.h. */ 12361 _ACEOF 12362 cat confdefs.h >>conftest.$ac_ext 12363 cat >>conftest.$ac_ext <<_ACEOF 6158 12364 /* end confdefs.h. */ 6159 12365 … … 6173 12379 } 6174 12380 _ACEOF 6175 if ac_fn_c_try_link "$LINENO"; then : 12381 rm -f conftest.$ac_objext conftest$ac_exeext 12382 if { (ac_try="$ac_link" 12383 case "(($ac_try" in 12384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12385 *) ac_try_echo=$ac_try;; 12386 esac 12387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12388 (eval "$ac_link") 2>conftest.er1 12389 ac_status=$? 12390 grep -v '^ *+' conftest.er1 >conftest.err 12391 rm -f conftest.er1 12392 cat conftest.err >&5 12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12394 (exit $ac_status); } && { 12395 test -z "$ac_c_werror_flag" || 12396 test ! -s conftest.err 12397 } && test -s conftest$ac_exeext && 12398 $as_test_x conftest$ac_exeext; then 6176 12399 ac_cv_lib_avutil_av_malloc=yes 6177 12400 else 6178 ac_cv_lib_avutil_av_malloc=no 6179 fi 6180 rm -f core conftest.err conftest.$ac_objext \ 6181 conftest$ac_exeext conftest.$ac_ext 12401 echo "$as_me: failed program was:" >&5 12402 sed 's/^/| /' conftest.$ac_ext >&5 12403 12404 ac_cv_lib_avutil_av_malloc=no 12405 fi 12406 12407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12408 conftest$ac_exeext conftest.$ac_ext 6182 12409 LIBS=$ac_check_lib_save_LIBS 6183 12410 fi 6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_malloc" >&56185 $as_echo "$ac_cv_lib_avutil_av_malloc" >&6; }6186 if test "x$ac_cv_lib_avutil_av_malloc" = x""yes; then :12411 { echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_av_malloc" >&5 12412 echo "${ECHO_T}$ac_cv_lib_avutil_av_malloc" >&6; } 12413 if test $ac_cv_lib_avutil_av_malloc = yes; then 6187 12414 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" 6188 12415 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavutil" … … 6191 12418 fi 6192 12419 6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcore_version in -lavcore" >&56194 $as_echo_n "checking for avcore_version in -lavcore..." >&6; }6195 if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then :6196 $as_echo_n "(cached)" >&612420 { echo "$as_me:$LINENO: checking for avcore_version in -lavcore" >&5 12421 echo $ECHO_N "checking for avcore_version in -lavcore... $ECHO_C" >&6; } 12422 if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then 12423 echo $ECHO_N "(cached) $ECHO_C" >&6 6197 12424 else 6198 12425 ac_check_lib_save_LIBS=$LIBS 6199 12426 LIBS="-lavcore $LIBS" 6200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12427 cat >conftest.$ac_ext <<_ACEOF 12428 /* confdefs.h. */ 12429 _ACEOF 12430 cat confdefs.h >>conftest.$ac_ext 12431 cat >>conftest.$ac_ext <<_ACEOF 6201 12432 /* end confdefs.h. */ 6202 12433 … … 6216 12447 } 6217 12448 _ACEOF 6218 if ac_fn_c_try_link "$LINENO"; then : 12449 rm -f conftest.$ac_objext conftest$ac_exeext 12450 if { (ac_try="$ac_link" 12451 case "(($ac_try" in 12452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12453 *) ac_try_echo=$ac_try;; 12454 esac 12455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12456 (eval "$ac_link") 2>conftest.er1 12457 ac_status=$? 12458 grep -v '^ *+' conftest.er1 >conftest.err 12459 rm -f conftest.er1 12460 cat conftest.err >&5 12461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12462 (exit $ac_status); } && { 12463 test -z "$ac_c_werror_flag" || 12464 test ! -s conftest.err 12465 } && test -s conftest$ac_exeext && 12466 $as_test_x conftest$ac_exeext; then 6219 12467 ac_cv_lib_avcore_avcore_version=yes 6220 12468 else 6221 ac_cv_lib_avcore_avcore_version=no 6222 fi 6223 rm -f core conftest.err conftest.$ac_objext \ 6224 conftest$ac_exeext conftest.$ac_ext 12469 echo "$as_me: failed program was:" >&5 12470 sed 's/^/| /' conftest.$ac_ext >&5 12471 12472 ac_cv_lib_avcore_avcore_version=no 12473 fi 12474 12475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12476 conftest$ac_exeext conftest.$ac_ext 6225 12477 LIBS=$ac_check_lib_save_LIBS 6226 12478 fi 6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcore_avcore_version" >&56228 $as_echo "$ac_cv_lib_avcore_avcore_version" >&6; }6229 if test "x$ac_cv_lib_avcore_avcore_version" = x""yes; then :12479 { echo "$as_me:$LINENO: result: $ac_cv_lib_avcore_avcore_version" >&5 12480 echo "${ECHO_T}$ac_cv_lib_avcore_avcore_version" >&6; } 12481 if test $ac_cv_lib_avcore_avcore_version = yes; then 6230 12482 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" 6231 12483 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcore" … … 6242 12494 6243 12495 # Check whether --with-ffmpeg was given. 6244 if test "${with_ffmpeg+set}" = set; then :12496 if test "${with_ffmpeg+set}" = set; then 6245 12497 withval=$with_ffmpeg; 6246 12498 else … … 6252 12504 6253 12505 # Check whether --enable-v4l2 was given. 6254 if test "${enable_v4l2+set}" = set; then :12506 if test "${enable_v4l2+set}" = set; then 6255 12507 enableval=$enable_v4l2; 6256 12508 if test "$enable_v4l2" = "no"; then 6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if V4L2 is disabled... yes" >&56258 $as_echo "Checking if V4L2 is disabled... yes" >&6; }12509 { echo "$as_me:$LINENO: result: Checking if V4L2 is disabled... yes" >&5 12510 echo "${ECHO_T}Checking if V4L2 is disabled... yes" >&6; } 6259 12511 fi 6260 12512 … … 6263 12515 6264 12516 6265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for v4l2_open in -lv4l2" >&56266 $as_echo_n "checking for v4l2_open in -lv4l2..." >&6; }6267 if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then :6268 $as_echo_n "(cached)" >&612517 { echo "$as_me:$LINENO: checking for v4l2_open in -lv4l2" >&5 12518 echo $ECHO_N "checking for v4l2_open in -lv4l2... $ECHO_C" >&6; } 12519 if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then 12520 echo $ECHO_N "(cached) $ECHO_C" >&6 6269 12521 else 6270 12522 ac_check_lib_save_LIBS=$LIBS 6271 12523 LIBS="-lv4l2 $LIBS" 6272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12524 cat >conftest.$ac_ext <<_ACEOF 12525 /* confdefs.h. */ 12526 _ACEOF 12527 cat confdefs.h >>conftest.$ac_ext 12528 cat >>conftest.$ac_ext <<_ACEOF 6273 12529 /* end confdefs.h. */ 6274 12530 … … 6288 12544 } 6289 12545 _ACEOF 6290 if ac_fn_c_try_link "$LINENO"; then : 12546 rm -f conftest.$ac_objext conftest$ac_exeext 12547 if { (ac_try="$ac_link" 12548 case "(($ac_try" in 12549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12550 *) ac_try_echo=$ac_try;; 12551 esac 12552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12553 (eval "$ac_link") 2>conftest.er1 12554 ac_status=$? 12555 grep -v '^ *+' conftest.er1 >conftest.err 12556 rm -f conftest.er1 12557 cat conftest.err >&5 12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12559 (exit $ac_status); } && { 12560 test -z "$ac_c_werror_flag" || 12561 test ! -s conftest.err 12562 } && test -s conftest$ac_exeext && 12563 $as_test_x conftest$ac_exeext; then 6291 12564 ac_cv_lib_v4l2_v4l2_open=yes 6292 12565 else 6293 ac_cv_lib_v4l2_v4l2_open=no 6294 fi 6295 rm -f core conftest.err conftest.$ac_objext \ 6296 conftest$ac_exeext conftest.$ac_ext 12566 echo "$as_me: failed program was:" >&5 12567 sed 's/^/| /' conftest.$ac_ext >&5 12568 12569 ac_cv_lib_v4l2_v4l2_open=no 12570 fi 12571 12572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12573 conftest$ac_exeext conftest.$ac_ext 6297 12574 LIBS=$ac_check_lib_save_LIBS 6298 12575 fi 6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_v4l2_v4l2_open" >&56300 $as_echo "$ac_cv_lib_v4l2_v4l2_open" >&6; }6301 if test "x$ac_cv_lib_v4l2_v4l2_open" = x""yes; then :12576 { echo "$as_me:$LINENO: result: $ac_cv_lib_v4l2_v4l2_open" >&5 12577 echo "${ECHO_T}$ac_cv_lib_v4l2_v4l2_open" >&6; } 12578 if test $ac_cv_lib_v4l2_v4l2_open = yes; then 6302 12579 ac_v4l2_cflags="-DPJMEDIA_VIDEO_DEV_HAS_V4L2=1" 6303 12580 ac_v4l2_ldflags="-lv4l2" … … 6312 12589 6313 12590 # Check whether --enable-ipp was given. 6314 if test "${enable_ipp+set}" = set; then :12591 if test "${enable_ipp+set}" = set; then 6315 12592 enableval=$enable_ipp; 6316 12593 else … … 6322 12599 6323 12600 # Check whether --with-ipp was given. 6324 if test "${with_ipp+set}" = set; then :12601 if test "${with_ipp+set}" = set; then 6325 12602 withval=$with_ipp; 6326 12603 else … … 6332 12609 6333 12610 # Check whether --with-ipp-samples was given. 6334 if test "${with_ipp_samples+set}" = set; then :12611 if test "${with_ipp_samples+set}" = set; then 6335 12612 withval=$with_ipp_samples; 6336 12613 else … … 6342 12619 6343 12620 # Check whether --with-ipp-arch was given. 6344 if test "${with_ipp_arch+set}" = set; then :12621 if test "${with_ipp_arch+set}" = set; then 6345 12622 withval=$with_ipp_arch; 6346 12623 else … … 6351 12628 6352 12629 if test "x$enable_ipp" != "xno"; then 6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&56354 $as_echo_n "checking Intel IPP location..." >&6; }12630 { echo "$as_me:$LINENO: checking Intel IPP location" >&5 12631 echo $ECHO_N "checking Intel IPP location... $ECHO_C" >&6; } 6355 12632 6356 12633 if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&56358 $as_echo "$with_ipp" >&6; }12634 { echo "$as_me:$LINENO: result: $with_ipp" >&5 12635 echo "${ECHO_T}$with_ipp" >&6; } 6359 12636 IPPROOT=$with_ipp 6360 12637 elif test "x$IPPROOT" = "x"; then 6361 12638 if test -d /opt/intel/ipp; then 6362 12639 IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&56364 $as_echo "autodetected in $IPPROOT" >&6; }12640 { echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&5 12641 echo "${ECHO_T}autodetected in $IPPROOT" >&6; } 6365 12642 fi 6366 12643 else 6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&56368 $as_echo "$IPPROOT" >&6; }12644 { echo "$as_me:$LINENO: result: $IPPROOT" >&5 12645 echo "${ECHO_T}$IPPROOT" >&6; } 6369 12646 fi 6370 12647 6371 12648 if test "x$with_ipp_arch" != "xno"; then 6372 12649 IPP_SUFFIX=$with_ipp_arch 6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to $IPP_SUFFIX" >&56374 $as_echo "IPP arch suffix is set to $IPP_SUFFIX" >&6; }12650 { echo "$as_me:$LINENO: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 12651 echo "${ECHO_T}IPP arch suffix is set to $IPP_SUFFIX" >&6; } 6375 12652 else 6376 12653 IPP_SUFFIX="" 6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to empty" >&56378 $as_echo "IPP arch suffix is set to empty" >&6; }12654 { echo "$as_me:$LINENO: result: IPP arch suffix is set to empty" >&5 12655 echo "${ECHO_T}IPP arch suffix is set to empty" >&6; } 6379 12656 fi 6380 12657 6381 12658 if test x$IPPROOT = x; then 6382 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 12659 { { 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 12660 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;} 12661 { (exit 1); exit 1; }; } 6383 12662 elif test ! -d $IPPROOT; then 6384 as_fn_error "not found" "$LINENO" 5 12663 { { echo "$as_me:$LINENO: error: not found" >&5 12664 echo "$as_me: error: not found" >&2;} 12665 { (exit 1); exit 1; }; } 6385 12666 elif test ! -d $IPPROOT/include; then 6386 as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 12667 { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 12668 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 12669 { (exit 1); exit 1; }; } 6387 12670 else 6388 12671 # IPP directory looks okay. … … 6421 12704 # IPP7 6422 12705 if ! test -d $IPPROOT/../compiler; then 6423 as_fn_error "Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" "$LINENO" 5 12706 { { echo "$as_me:$LINENO: error: Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" >&5 12707 echo "$as_me: error: Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" >&2;} 12708 { (exit 1); exit 1; }; } 6424 12709 fi 6425 12710 IPP_CFLAGS="$IPP_CFLAGS" … … 6439 12724 6440 12725 6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 6442 $as_echo_n "checking Intel IPP usability... " >&6; } 6443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12726 { echo "$as_me:$LINENO: checking Intel IPP usability" >&5 12727 echo $ECHO_N "checking Intel IPP usability... $ECHO_C" >&6; } 12728 cat >conftest.$ac_ext <<_ACEOF 12729 /* confdefs.h. */ 12730 _ACEOF 12731 cat confdefs.h >>conftest.$ac_ext 12732 cat >>conftest.$ac_ext <<_ACEOF 6444 12733 /* end confdefs.h. */ 6445 12734 #include <ippcore.h> … … 6453 12742 } 6454 12743 _ACEOF 6455 if ac_fn_c_try_link "$LINENO"; then : 6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6457 $as_echo "ok" >&6; } 6458 else 6459 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6461 { as_fn_set_status run with --help for more info 6462 as_fn_error "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 6463 See \`config.log' for more details." "$LINENO" 5; }; } 6464 fi 6465 rm -f core conftest.err conftest.$ac_objext \ 6466 conftest$ac_exeext conftest.$ac_ext 12744 rm -f conftest.$ac_objext conftest$ac_exeext 12745 if { (ac_try="$ac_link" 12746 case "(($ac_try" in 12747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12748 *) ac_try_echo=$ac_try;; 12749 esac 12750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12751 (eval "$ac_link") 2>conftest.er1 12752 ac_status=$? 12753 grep -v '^ *+' conftest.er1 >conftest.err 12754 rm -f conftest.er1 12755 cat conftest.err >&5 12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12757 (exit $ac_status); } && { 12758 test -z "$ac_c_werror_flag" || 12759 test ! -s conftest.err 12760 } && test -s conftest$ac_exeext && 12761 $as_test_x conftest$ac_exeext; then 12762 { echo "$as_me:$LINENO: result: ok" >&5 12763 echo "${ECHO_T}ok" >&6; } 12764 else 12765 echo "$as_me: failed program was:" >&5 12766 sed 's/^/| /' conftest.$ac_ext >&5 12767 12768 { { echo "$as_me:$LINENO: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 12769 See \`config.log' for more details." >&5 12770 echo "$as_me: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 12771 See \`config.log' for more details." >&2;} 12772 { (exit run with --help for more info); exit run with --help for more info; }; } 12773 fi 12774 12775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12776 conftest$ac_exeext conftest.$ac_ext 6467 12777 6468 12778 CFLAGS="$SAVED_CFLAGS" … … 6471 12781 fi 6472 12782 6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&56474 $as_echo_n "checking Intel IPP samples location..." >&6; }12783 { echo "$as_me:$LINENO: checking Intel IPP samples location" >&5 12784 echo $ECHO_N "checking Intel IPP samples location... $ECHO_C" >&6; } 6475 12785 6476 12786 if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&56478 $as_echo "$with_ipp_samples" >&6; }12787 { echo "$as_me:$LINENO: result: $with_ipp_samples" >&5 12788 echo "${ECHO_T}$with_ipp_samples" >&6; } 6479 12789 IPPSAMPLES=$with_ipp_samples 6480 12790 elif test "x$IPPSAMPLES" = "x"; then 6481 12791 if test -d /opt/intel/ipp-samples; then 6482 12792 IPPSAMPLES=/opt/intel/ipp-samples 6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&56484 $as_echo "autodetected in $IPPSAMPLES" >&6; }12793 { echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&5 12794 echo "${ECHO_T}autodetected in $IPPSAMPLES" >&6; } 6485 12795 fi 6486 12796 else 6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&56488 $as_echo "$IPPSAMPLES" >&6; }12797 { echo "$as_me:$LINENO: result: $IPPSAMPLES" >&5 12798 echo "${ECHO_T}$IPPSAMPLES" >&6; } 6489 12799 fi 6490 12800 6491 12801 if test x$IPPSAMPLES = x; then 6492 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 12802 { { 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 12803 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;} 12804 { (exit 1); exit 1; }; } 6493 12805 elif test ! -d $IPPSAMPLES; then 6494 as_fn_error "not found" "$LINENO" 5 12806 { { echo "$as_me:$LINENO: error: not found" >&5 12807 echo "$as_me: error: not found" >&2;} 12808 { (exit 1); exit 1; }; } 6495 12809 elif test ! -d $IPPSAMPLES/speech-codecs; then 6496 as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 12810 { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 12811 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 12812 { (exit 1); exit 1; }; } 6497 12813 else 6498 12814 # Remove trailing backslash … … 6500 12816 6501 12817 # Guess the libusc.a/libspeech.a build location 6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&56503 $as_echo_n "checking Intel IPP USC build location..." >&6; }12818 { echo "$as_me:$LINENO: checking Intel IPP USC build location" >&5 12819 echo $ECHO_N "checking Intel IPP USC build location... $ECHO_C" >&6; } 6504 12820 if test -d $IPPSAMPLES/speech-codecs/bin; then 6505 12821 IPPVER=5 … … 6514 12830 IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*icc*/lib | head -1` 6515 12831 else 6516 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6518 as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 6519 See \`config.log' for more details." "$LINENO" 5; } 12832 { { echo "$as_me:$LINENO: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 12833 See \`config.log' for more details." >&5 12834 echo "$as_me: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 12835 See \`config.log' for more details." >&2;} 12836 { (exit 1); exit 1; }; } 6520 12837 fi 6521 12838 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 "unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 6525 See \`config.log' for more details." "$LINENO" 5; } 12839 { { 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? 12840 See \`config.log' for more details." >&5 12841 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? 12842 See \`config.log' for more details." >&2;} 12843 { (exit 1); exit 1; }; } 6526 12844 fi 6527 12845 6528 12846 # Test the directory 6529 12847 if test ! -d $IPPSAMP_DIR; then 6530 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6532 as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 6533 See \`config.log' for more details." "$LINENO" 5; } 12848 { { echo "$as_me:$LINENO: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 12849 See \`config.log' for more details." >&5 12850 echo "$as_me: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 12851 See \`config.log' for more details." >&2;} 12852 { (exit 1); exit 1; }; } 6534 12853 exit 1; 6535 12854 fi … … 6542 12861 IPPSAMP_LDLIBS="-lspeech" 6543 12862 else 6544 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6546 as_fn_error "bug in this script: unsupported IPP version 6547 See \`config.log' for more details." "$LINENO" 5; } 12863 { { echo "$as_me:$LINENO: error: bug in this script: unsupported IPP version 12864 See \`config.log' for more details." >&5 12865 echo "$as_me: error: bug in this script: unsupported IPP version 12866 See \`config.log' for more details." >&2;} 12867 { (exit 1); exit 1; }; } 6548 12868 fi 6549 12869 6550 12870 if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then 6551 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6553 as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 6554 See \`config.log' for more details." "$LINENO" 5; } 12871 { { echo "$as_me:$LINENO: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 12872 See \`config.log' for more details." >&5 12873 echo "$as_me: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 12874 See \`config.log' for more details." >&2;} 12875 { (exit 1); exit 1; }; } 6555 12876 fi 6556 12877 6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMP_DIR" >&56558 $as_echo "$IPPSAMP_DIR" >&6; }12878 { echo "$as_me:$LINENO: result: $IPPSAMP_DIR" >&5 12879 echo "${ECHO_T}$IPPSAMP_DIR" >&6; } 6559 12880 6560 12881 SAVED_CFLAGS="$CFLAGS" … … 6567 12888 LIBS="$IPPSAMP_LDLIBS $LIBS" 6568 12889 6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 6570 $as_echo_n "checking Intel IPP USC usability... " >&6; } 6571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12890 { echo "$as_me:$LINENO: checking Intel IPP USC usability" >&5 12891 echo $ECHO_N "checking Intel IPP USC usability... $ECHO_C" >&6; } 12892 cat >conftest.$ac_ext <<_ACEOF 12893 /* confdefs.h. */ 12894 _ACEOF 12895 cat confdefs.h >>conftest.$ac_ext 12896 cat >>conftest.$ac_ext <<_ACEOF 6572 12897 /* end confdefs.h. */ 6573 12898 #include <usc.h> … … 6581 12906 } 6582 12907 _ACEOF 6583 if ac_fn_c_try_link "$LINENO"; then : 6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6585 $as_echo "ok" >&6; } 6586 else 6587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6589 as_fn_error "failed 6590 See \`config.log' for more details." "$LINENO" 5; } 6591 fi 6592 rm -f core conftest.err conftest.$ac_objext \ 6593 conftest$ac_exeext conftest.$ac_ext 12908 rm -f conftest.$ac_objext conftest$ac_exeext 12909 if { (ac_try="$ac_link" 12910 case "(($ac_try" in 12911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12912 *) ac_try_echo=$ac_try;; 12913 esac 12914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12915 (eval "$ac_link") 2>conftest.er1 12916 ac_status=$? 12917 grep -v '^ *+' conftest.er1 >conftest.err 12918 rm -f conftest.er1 12919 cat conftest.err >&5 12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12921 (exit $ac_status); } && { 12922 test -z "$ac_c_werror_flag" || 12923 test ! -s conftest.err 12924 } && test -s conftest$ac_exeext && 12925 $as_test_x conftest$ac_exeext; then 12926 { echo "$as_me:$LINENO: result: ok" >&5 12927 echo "${ECHO_T}ok" >&6; } 12928 else 12929 echo "$as_me: failed program was:" >&5 12930 sed 's/^/| /' conftest.$ac_ext >&5 12931 12932 { { echo "$as_me:$LINENO: error: failed 12933 See \`config.log' for more details." >&5 12934 echo "$as_me: error: failed 12935 See \`config.log' for more details." >&2;} 12936 { (exit 1); exit 1; }; } 12937 fi 12938 12939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12940 conftest$ac_exeext conftest.$ac_ext 6594 12941 6595 12942 CFLAGS="$SAVED_CFLAGS" … … 6611 12958 export IPP_LIBS=$IPP_LIBS" 6612 12959 else 6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&56614 $as_echo "Skipping Intel IPP settings (not wanted)" >&6; }12960 { echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&5 12961 echo "${ECHO_T}Skipping Intel IPP settings (not wanted)" >&6; } 6615 12962 fi 6616 12963 … … 6619 12966 6620 12967 # Check whether --enable-ssl was given. 6621 if test "${enable_ssl+set}" = set; then :12968 if test "${enable_ssl+set}" = set; then 6622 12969 enableval=$enable_ssl; 6623 12970 if test "$enable_ssl" = "no"; then 6624 12971 ac_no_ssl=1 6625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&56626 $as_echo "Checking if SSL support is disabled... yes" >&6; }12972 { echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&5 12973 echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6; } 6627 12974 fi 6628 12975 6629 12976 else 6630 12977 6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 6632 $as_echo "checking for OpenSSL installations.." >&6; } 6633 6634 6635 6636 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 6637 if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 12978 { echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 12979 echo "${ECHO_T}checking for OpenSSL installations.." >&6; } 12980 12981 12982 12983 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 12984 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 12985 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 12986 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 12987 echo $ECHO_N "(cached) $ECHO_C" >&6 12988 fi 12989 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 12990 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 12991 else 12992 # Is the header compilable? 12993 { echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 12994 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; } 12995 cat >conftest.$ac_ext <<_ACEOF 12996 /* confdefs.h. */ 12997 _ACEOF 12998 cat confdefs.h >>conftest.$ac_ext 12999 cat >>conftest.$ac_ext <<_ACEOF 13000 /* end confdefs.h. */ 13001 $ac_includes_default 13002 #include <openssl/ssl.h> 13003 _ACEOF 13004 rm -f conftest.$ac_objext 13005 if { (ac_try="$ac_compile" 13006 case "(($ac_try" in 13007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13008 *) ac_try_echo=$ac_try;; 13009 esac 13010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13011 (eval "$ac_compile") 2>conftest.er1 13012 ac_status=$? 13013 grep -v '^ *+' conftest.er1 >conftest.err 13014 rm -f conftest.er1 13015 cat conftest.err >&5 13016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13017 (exit $ac_status); } && { 13018 test -z "$ac_c_werror_flag" || 13019 test ! -s conftest.err 13020 } && test -s conftest.$ac_objext; then 13021 ac_header_compiler=yes 13022 else 13023 echo "$as_me: failed program was:" >&5 13024 sed 's/^/| /' conftest.$ac_ext >&5 13025 13026 ac_header_compiler=no 13027 fi 13028 13029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13030 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13031 echo "${ECHO_T}$ac_header_compiler" >&6; } 13032 13033 # Is the header present? 13034 { echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 13035 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; } 13036 cat >conftest.$ac_ext <<_ACEOF 13037 /* confdefs.h. */ 13038 _ACEOF 13039 cat confdefs.h >>conftest.$ac_ext 13040 cat >>conftest.$ac_ext <<_ACEOF 13041 /* end confdefs.h. */ 13042 #include <openssl/ssl.h> 13043 _ACEOF 13044 if { (ac_try="$ac_cpp conftest.$ac_ext" 13045 case "(($ac_try" in 13046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13047 *) ac_try_echo=$ac_try;; 13048 esac 13049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13050 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13051 ac_status=$? 13052 grep -v '^ *+' conftest.er1 >conftest.err 13053 rm -f conftest.er1 13054 cat conftest.err >&5 13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13056 (exit $ac_status); } >/dev/null && { 13057 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 13058 test ! -s conftest.err 13059 }; then 13060 ac_header_preproc=yes 13061 else 13062 echo "$as_me: failed program was:" >&5 13063 sed 's/^/| /' conftest.$ac_ext >&5 13064 13065 ac_header_preproc=no 13066 fi 13067 13068 rm -f conftest.err conftest.$ac_ext 13069 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13070 echo "${ECHO_T}$ac_header_preproc" >&6; } 13071 13072 # So? What about this header? 13073 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 13074 yes:no: ) 13075 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 13076 echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 13077 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 13078 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 13079 ac_header_preproc=yes 13080 ;; 13081 no:yes:* ) 13082 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 13083 echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 13084 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&5 13085 echo "$as_me: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&2;} 13086 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 13087 echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 13088 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5 13089 echo "$as_me: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;} 13090 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 13091 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 13092 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 13093 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 13094 13095 ;; 13096 esac 13097 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 13098 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 13099 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 13100 echo $ECHO_N "(cached) $ECHO_C" >&6 13101 else 13102 ac_cv_header_openssl_ssl_h=$ac_header_preproc 13103 fi 13104 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 13105 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 13106 13107 fi 13108 if test $ac_cv_header_openssl_ssl_h = yes; then 6638 13109 openssl_h_present=1 6639 13110 fi 6640 13111 6641 13112 6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&56643 $as_echo_n "checking for ERR_load_BIO_strings in -lcrypto..." >&6; }6644 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then :6645 $as_echo_n "(cached)" >&613113 { echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&5 13114 echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6; } 13115 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 13116 echo $ECHO_N "(cached) $ECHO_C" >&6 6646 13117 else 6647 13118 ac_check_lib_save_LIBS=$LIBS 6648 13119 LIBS="-lcrypto $LIBS" 6649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13120 cat >conftest.$ac_ext <<_ACEOF 13121 /* confdefs.h. */ 13122 _ACEOF 13123 cat confdefs.h >>conftest.$ac_ext 13124 cat >>conftest.$ac_ext <<_ACEOF 6650 13125 /* end confdefs.h. */ 6651 13126 … … 6665 13140 } 6666 13141 _ACEOF 6667 if ac_fn_c_try_link "$LINENO"; then : 13142 rm -f conftest.$ac_objext conftest$ac_exeext 13143 if { (ac_try="$ac_link" 13144 case "(($ac_try" in 13145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13146 *) ac_try_echo=$ac_try;; 13147 esac 13148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13149 (eval "$ac_link") 2>conftest.er1 13150 ac_status=$? 13151 grep -v '^ *+' conftest.er1 >conftest.err 13152 rm -f conftest.er1 13153 cat conftest.err >&5 13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13155 (exit $ac_status); } && { 13156 test -z "$ac_c_werror_flag" || 13157 test ! -s conftest.err 13158 } && test -s conftest$ac_exeext && 13159 $as_test_x conftest$ac_exeext; then 6668 13160 ac_cv_lib_crypto_ERR_load_BIO_strings=yes 6669 13161 else 6670 ac_cv_lib_crypto_ERR_load_BIO_strings=no 6671 fi 6672 rm -f core conftest.err conftest.$ac_objext \ 6673 conftest$ac_exeext conftest.$ac_ext 13162 echo "$as_me: failed program was:" >&5 13163 sed 's/^/| /' conftest.$ac_ext >&5 13164 13165 ac_cv_lib_crypto_ERR_load_BIO_strings=no 13166 fi 13167 13168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13169 conftest$ac_exeext conftest.$ac_ext 6674 13170 LIBS=$ac_check_lib_save_LIBS 6675 13171 fi 6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&56677 $as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; }6678 if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then :13172 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 13173 echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 13174 if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then 6679 13175 libcrypto_present=1 && LIBS="$LIBS -lcrypto" 6680 13176 fi 6681 13177 6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&56683 $as_echo_n "checking for SSL_library_init in -lssl..." >&6; }6684 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then :6685 $as_echo_n "(cached)" >&613178 { echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 13179 echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6; } 13180 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 13181 echo $ECHO_N "(cached) $ECHO_C" >&6 6686 13182 else 6687 13183 ac_check_lib_save_LIBS=$LIBS 6688 13184 LIBS="-lssl $LIBS" 6689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13185 cat >conftest.$ac_ext <<_ACEOF 13186 /* confdefs.h. */ 13187 _ACEOF 13188 cat confdefs.h >>conftest.$ac_ext 13189 cat >>conftest.$ac_ext <<_ACEOF 6690 13190 /* end confdefs.h. */ 6691 13191 … … 6705 13205 } 6706 13206 _ACEOF 6707 if ac_fn_c_try_link "$LINENO"; then : 13207 rm -f conftest.$ac_objext conftest$ac_exeext 13208 if { (ac_try="$ac_link" 13209 case "(($ac_try" in 13210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13211 *) ac_try_echo=$ac_try;; 13212 esac 13213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13214 (eval "$ac_link") 2>conftest.er1 13215 ac_status=$? 13216 grep -v '^ *+' conftest.er1 >conftest.err 13217 rm -f conftest.er1 13218 cat conftest.err >&5 13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13220 (exit $ac_status); } && { 13221 test -z "$ac_c_werror_flag" || 13222 test ! -s conftest.err 13223 } && test -s conftest$ac_exeext && 13224 $as_test_x conftest$ac_exeext; then 6708 13225 ac_cv_lib_ssl_SSL_library_init=yes 6709 13226 else 6710 ac_cv_lib_ssl_SSL_library_init=no 6711 fi 6712 rm -f core conftest.err conftest.$ac_objext \ 6713 conftest$ac_exeext conftest.$ac_ext 13227 echo "$as_me: failed program was:" >&5 13228 sed 's/^/| /' conftest.$ac_ext >&5 13229 13230 ac_cv_lib_ssl_SSL_library_init=no 13231 fi 13232 13233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13234 conftest$ac_exeext conftest.$ac_ext 6714 13235 LIBS=$ac_check_lib_save_LIBS 6715 13236 fi 6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&56717 $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; }6718 if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then :13237 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 13238 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6; } 13239 if test $ac_cv_lib_ssl_SSL_library_init = yes; then 6719 13240 libssl_present=1 && LIBS="$LIBS -lssl" 6720 13241 fi 6721 13242 6722 13243 if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&56724 $as_echo "OpenSSL library found, SSL support enabled" >&6; }13244 { echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&5 13245 echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6; } 6725 13246 # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 6726 13247 #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 6727 $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 13248 cat >>confdefs.h <<\_ACEOF 13249 #define PJ_HAS_SSL_SOCK 1 13250 _ACEOF 6728 13251 6729 13252 else 6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&56731 $as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; }13253 { echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 13254 echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6; } 6732 13255 fi 6733 13256 … … 6738 13261 6739 13262 6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&56741 $as_echo_n "checking if select() needs correct nfds..." >&6; }13263 { echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 13264 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6; } 6742 13265 case $target in 6743 *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h 6744 6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6746 $as_echo "yes" >&6; } 13266 *rtems*) cat >>confdefs.h <<\_ACEOF 13267 #define PJ_SELECT_NEEDS_NFDS 1 13268 _ACEOF 13269 13270 { echo "$as_me:$LINENO: result: yes" >&5 13271 echo "${ECHO_T}yes" >&6; } 6747 13272 ;; 6748 *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h 6749 6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6751 $as_echo "no (default)" >&6; } 6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 6753 $as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } 13273 *) cat >>confdefs.h <<\_ACEOF 13274 #define PJ_SELECT_NEEDS_NFDS 0 13275 _ACEOF 13276 13277 { echo "$as_me:$LINENO: result: no (default)" >&5 13278 echo "${ECHO_T}no (default)" >&6; } 13279 { echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 13280 echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6; } 6754 13281 ;; 6755 13282 esac 6756 13283 6757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&56758 $as_echo_n "checking if pj_thread_create() should enforce stack size..." >&6; }13284 { echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 13285 echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6; } 6759 13286 case $target in 6760 *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h 6761 6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6763 $as_echo "yes" >&6; } 13287 *rtems*) cat >>confdefs.h <<\_ACEOF 13288 #define PJ_THREAD_SET_STACK_SIZE 1 13289 _ACEOF 13290 13291 { echo "$as_me:$LINENO: result: yes" >&5 13292 echo "${ECHO_T}yes" >&6; } 6764 13293 ;; 6765 *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h 6766 6767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6768 $as_echo "no (default)" >&6; } 13294 *) cat >>confdefs.h <<\_ACEOF 13295 #define PJ_THREAD_SET_STACK_SIZE 0 13296 _ACEOF 13297 13298 { echo "$as_me:$LINENO: result: no (default)" >&5 13299 echo "${ECHO_T}no (default)" >&6; } 6769 13300 ;; 6770 13301 esac 6771 13302 6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&56773 $as_echo_n "checking if pj_thread_create() should allocate stack..." >&6; }13303 { echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 13304 echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6; } 6774 13305 case $target in 6775 *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h 6776 6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6778 $as_echo "yes" >&6; } 13306 *rtems*) cat >>confdefs.h <<\_ACEOF 13307 #define PJ_THREAD_ALLOCATE_STACK 1 13308 _ACEOF 13309 13310 { echo "$as_me:$LINENO: result: yes" >&5 13311 echo "${ECHO_T}yes" >&6; } 6779 13312 ;; 6780 *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h 6781 6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6783 $as_echo "no (default)" >&6; } 13313 *) cat >>confdefs.h <<\_ACEOF 13314 #define PJ_THREAD_ALLOCATE_STACK 0 13315 _ACEOF 13316 13317 { echo "$as_me:$LINENO: result: no (default)" >&5 13318 echo "${ECHO_T}no (default)" >&6; } 6784 13319 ;; 6785 13320 esac … … 6787 13322 case $target in 6788 13323 *mingw* | *cygw* | *win32* | *w32* ) 6789 $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 13324 cat >>confdefs.h <<\_ACEOF 13325 #define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 13326 _ACEOF 6790 13327 6791 13328 ;; 6792 *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h 6793 6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 6795 $as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 13329 *) cat >>confdefs.h <<\_ACEOF 13330 #define PJ_BLOCKING_ERROR_VAL EAGAIN 13331 _ACEOF 13332 13333 { echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 13334 echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 6796 13335 ;; 6797 13336 esac … … 6799 13338 case $target in 6800 13339 *mingw* | *cygw* | *win32* | *w32* ) 6801 $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 13340 cat >>confdefs.h <<\_ACEOF 13341 #define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 13342 _ACEOF 6802 13343 6803 13344 ;; 6804 *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h 6805 6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 6807 $as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 13345 *) cat >>confdefs.h <<\_ACEOF 13346 #define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 13347 _ACEOF 13348 13349 { echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 13350 echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 6808 13351 ;; 6809 13352 esac … … 6860 13403 *${as_nl}*) 6861 13404 case $ac_var in #( 6862 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&56863 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;13405 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 13406 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 6864 13407 esac 6865 13408 case $ac_var in #( 6866 13409 _ | IFS | as_nl) ;; #( 6867 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6868 *) { eval $ac_var=; unset $ac_var;} ;; 13410 *) $as_unset $ac_var ;; 6869 13411 esac ;; 6870 13412 esac … … 6874 13416 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6875 13417 *${as_nl}ac_space=\ *) 6876 # `set' does not quote correctly, so add quotes :double-quote6877 # substitution turns \\\\ into \\, and sed turns \\ into \ .13418 # `set' does not quote correctly, so add quotes (double-quote 13419 # substitution turns \\\\ into \\, and sed turns \\ into \). 6878 13420 sed -n \ 6879 13421 "s/'/'\\\\''/g; … … 6898 13440 if test -w "$cache_file"; then 6899 13441 test "x$cache_file" != "x/dev/null" && 6900 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&56901 $as_echo "$as_me: updating cache $cache_file" >&6;}13442 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 13443 echo "$as_me: updating cache $cache_file" >&6;} 6902 13444 cat confcache >$cache_file 6903 13445 else 6904 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&56905 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}13446 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 13447 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6906 13448 fi 6907 13449 fi … … 6919 13461 # 1. Remove the extension, and $U if already installed. 6920 13462 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6921 ac_i=` $as_echo "$ac_i" | sed "$ac_script"`13463 ac_i=`echo "$ac_i" | sed "$ac_script"` 6922 13464 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6923 13465 # will be set to the directory where LIBOBJS objects are built. 6924 a s_fn_append ac_libobjs "\${LIBOBJDIR}$ac_i\$U.$ac_objext"6925 a s_fn_append ac_ltlibobjs "\${LIBOBJDIR}$ac_i"'$U.lo'13466 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13467 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 6926 13468 done 6927 13469 LIBOBJS=$ac_libobjs … … 6931 13473 6932 13474 6933 6934 13475 : ${CONFIG_STATUS=./config.status} 6935 ac_write_fail=06936 13476 ac_clean_files_save=$ac_clean_files 6937 13477 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6938 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6939 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6940 as_write_fail=0 6941 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13478 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 13479 echo "$as_me: creating $CONFIG_STATUS" >&6;} 13480 cat >$CONFIG_STATUS <<_ACEOF 6942 13481 #! $SHELL 6943 13482 # Generated by $as_me. … … 6949 13488 ac_cs_recheck=false 6950 13489 ac_cs_silent=false 6951 6952 13490 SHELL=\${CONFIG_SHELL-$SHELL} 6953 export SHELL 6954 _ASEOF 6955 cat >>$CONFIG_STATUS <<\_A SEOF || as_write_fail=16956 ## -------------------- ##6957 ## M4sh Initialization. ##6958 ## -------------------- ##13491 _ACEOF 13492 13493 cat >>$CONFIG_STATUS <<\_ACEOF 13494 ## --------------------- ## 13495 ## M4sh Initialization. ## 13496 ## --------------------- ## 6959 13497 6960 13498 # Be more Bourne compatible 6961 13499 DUALCASE=1; export DUALCASE # for MKS sh 6962 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :13500 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6963 13501 emulate sh 6964 13502 NULLCMD=: 6965 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which13503 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 6966 13504 # is contrary to our usage. Disable this feature. 6967 13505 alias -g '${1+"$@"}'='"$@"' 6968 13506 setopt NO_GLOB_SUBST 6969 13507 else 6970 case `(set -o) 2>/dev/null` in #( 6971 *posix*) : 6972 set -o posix ;; #( 6973 *) : 6974 ;; 6975 esac 6976 fi 6977 6978 6979 as_nl=' 6980 ' 6981 export as_nl 6982 # Printing a long string crashes Solaris 7 /usr/bin/printf. 6983 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6984 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6985 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6986 # Prefer a ksh shell builtin over an external printf program on Solaris, 6987 # but without wasting forks for bash or zsh. 6988 if test -z "$BASH_VERSION$ZSH_VERSION" \ 6989 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6990 as_echo='print -r --' 6991 as_echo_n='print -rn --' 6992 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6993 as_echo='printf %s\n' 6994 as_echo_n='printf %s' 6995 else 6996 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6997 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6998 as_echo_n='/usr/ucb/echo -n' 6999 else 7000 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 7001 as_echo_n_body='eval 7002 arg=$1; 7003 case $arg in #( 7004 *"$as_nl"*) 7005 expr "X$arg" : "X\\(.*\\)$as_nl"; 7006 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 7007 esac; 7008 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 7009 ' 7010 export as_echo_n_body 7011 as_echo_n='sh -c $as_echo_n_body as_echo' 7012 fi 7013 export as_echo_body 7014 as_echo='sh -c $as_echo_body as_echo' 7015 fi 13508 case `(set -o) 2>/dev/null` in 13509 *posix*) set -o posix ;; 13510 esac 13511 13512 fi 13513 13514 13515 13516 13517 # PATH needs CR 13518 # Avoid depending upon Character Ranges. 13519 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13520 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13521 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13522 as_cr_digits='0123456789' 13523 as_cr_alnum=$as_cr_Letters$as_cr_digits 7016 13524 7017 13525 # The user is always right. 7018 13526 if test "${PATH_SEPARATOR+set}" != set; then 7019 PATH_SEPARATOR=: 7020 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 7021 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 7022 PATH_SEPARATOR=';' 7023 } 13527 echo "#! /bin/sh" >conf$$.sh 13528 echo "exit 0" >>conf$$.sh 13529 chmod +x conf$$.sh 13530 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 13531 PATH_SEPARATOR=';' 13532 else 13533 PATH_SEPARATOR=: 13534 fi 13535 rm -f conf$$.sh 13536 fi 13537 13538 # Support unset when possible. 13539 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 13540 as_unset=unset 13541 else 13542 as_unset=false 7024 13543 fi 7025 13544 … … 7030 13549 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 7031 13550 # splitting by setting IFS to empty value.) 13551 as_nl=' 13552 ' 7032 13553 IFS=" "" $as_nl" 7033 13554 7034 13555 # Find who we are. Look in the path if we contain no directory separator. 7035 case $0 in #((13556 case $0 in 7036 13557 *[\\/]* ) as_myself=$0 ;; 7037 13558 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 7040 13561 IFS=$as_save_IFS 7041 13562 test -z "$as_dir" && as_dir=. 7042 7043 13563 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13564 done 7044 13565 IFS=$as_save_IFS 7045 13566 … … 7052 13573 fi 7053 13574 if test ! -f "$as_myself"; then 7054 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 7055 exit 1 7056 fi 7057 7058 # Unset variables that we do not need and which cause bugs (e.g. in 7059 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 7060 # suppresses any "Segmentation fault" message there. '((' could 7061 # trigger a bug in pdksh 5.2.14. 7062 for as_var in BASH_ENV ENV MAIL MAILPATH 7063 do eval test x\${$as_var+set} = xset \ 7064 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13575 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13576 { (exit 1); exit 1; } 13577 fi 13578 13579 # Work around bugs in pre-3.0 UWIN ksh. 13580 for as_var in ENV MAIL MAILPATH 13581 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7065 13582 done 7066 13583 PS1='$ ' … … 7069 13586 7070 13587 # NLS nuisances. 7071 LC_ALL=C 7072 export LC_ALL 7073 LANGUAGE=C 7074 export LANGUAGE 7075 7076 # CDPATH. 7077 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 7078 7079 7080 # as_fn_error ERROR [LINENO LOG_FD] 7081 # --------------------------------- 7082 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 7083 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 7084 # script with status $?, using 1 if that was 0. 7085 as_fn_error () 7086 { 7087 as_status=$?; test $as_status -eq 0 && as_status=1 7088 if test "$3"; then 7089 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 7090 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 13588 for as_var in \ 13589 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 13590 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 13591 LC_TELEPHONE LC_TIME 13592 do 13593 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 13594 eval $as_var=C; export $as_var 13595 else 13596 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7091 13597 fi 7092 $as_echo "$as_me: error: $1" >&2 7093 as_fn_exit $as_status 7094 } # as_fn_error 7095 7096 7097 # as_fn_set_status STATUS 7098 # ----------------------- 7099 # Set $? to STATUS, without forking. 7100 as_fn_set_status () 7101 { 7102 return $1 7103 } # as_fn_set_status 7104 7105 # as_fn_exit STATUS 7106 # ----------------- 7107 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 7108 as_fn_exit () 7109 { 7110 set +e 7111 as_fn_set_status $1 7112 exit $1 7113 } # as_fn_exit 7114 7115 # as_fn_unset VAR 7116 # --------------- 7117 # Portably unset VAR. 7118 as_fn_unset () 7119 { 7120 { eval $1=; unset $1;} 7121 } 7122 as_unset=as_fn_unset 7123 # as_fn_append VAR VALUE 7124 # ---------------------- 7125 # Append the text in VALUE to the end of the definition contained in VAR. Take 7126 # advantage of any shell optimizations that allow amortized linear growth over 7127 # repeated appends, instead of the typical quadratic growth present in naive 7128 # implementations. 7129 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 7130 eval 'as_fn_append () 7131 { 7132 eval $1+=\$2 7133 }' 7134 else 7135 as_fn_append () 7136 { 7137 eval $1=\$$1\$2 7138 } 7139 fi # as_fn_append 7140 7141 # as_fn_arith ARG... 7142 # ------------------ 7143 # Perform arithmetic evaluation on the ARGs, and store the result in the 7144 # global $as_val. Take advantage of shells that can avoid forks. The arguments 7145 # must be portable across $(()) and expr. 7146 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 7147 eval 'as_fn_arith () 7148 { 7149 as_val=$(( $* )) 7150 }' 7151 else 7152 as_fn_arith () 7153 { 7154 as_val=`expr "$@" || test $? -eq 1` 7155 } 7156 fi # as_fn_arith 7157 7158 13598 done 13599 13600 # Required to use basename. 7159 13601 if expr a : '\(a\)' >/dev/null 2>&1 && 7160 13602 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 7170 13612 fi 7171 13613 7172 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7173 as_dirname=dirname 7174 else 7175 as_dirname=false 7176 fi 7177 13614 13615 # Name of the executable. 7178 13616 as_me=`$as_basename -- "$0" || 7179 13617 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7180 13618 X"$0" : 'X\(//\)$' \| \ 7181 13619 X"$0" : 'X\(/\)' \| . 2>/dev/null || 7182 $as_echo X/"$0" |13620 echo X/"$0" | 7183 13621 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7184 13622 s//\1/ … … 7195 13633 s/.*/./; q'` 7196 13634 7197 # Avoid depending upon Character Ranges. 7198 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7199 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7200 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7201 as_cr_digits='0123456789' 7202 as_cr_alnum=$as_cr_Letters$as_cr_digits 13635 # CDPATH. 13636 $as_unset CDPATH 13637 13638 13639 13640 as_lineno_1=$LINENO 13641 as_lineno_2=$LINENO 13642 test "x$as_lineno_1" != "x$as_lineno_2" && 13643 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 13644 13645 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 13646 # uniformly replaced by the line number. The first 'sed' inserts a 13647 # line-number line after each line using $LINENO; the second 'sed' 13648 # does the real work. The second script uses 'N' to pair each 13649 # line-number line with the line containing $LINENO, and appends 13650 # trailing '-' during substitution so that $LINENO is not a special 13651 # case at line end. 13652 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 13653 # scripts with optimization help from Paolo Bonzini. Blame Lee 13654 # E. McMahon (1931-1989) for sed's syntax. :-) 13655 sed -n ' 13656 p 13657 /[$]LINENO/= 13658 ' <$as_myself | 13659 sed ' 13660 s/[$]LINENO.*/&-/ 13661 t lineno 13662 b 13663 :lineno 13664 N 13665 :loop 13666 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 13667 t loop 13668 s/-\n.*// 13669 ' >$as_me.lineno && 13670 chmod +x "$as_me.lineno" || 13671 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 13672 { (exit 1); exit 1; }; } 13673 13674 # Don't try to exec as it changes $[0], causing all sort of problems 13675 # (the dirname of $[0] is not the place where we might find the 13676 # original and so on. Autoconf is especially sensitive to this). 13677 . "./$as_me.lineno" 13678 # Exit status is that of the last command. 13679 exit 13680 } 13681 13682 13683 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13684 as_dirname=dirname 13685 else 13686 as_dirname=false 13687 fi 7203 13688 7204 13689 ECHO_C= ECHO_N= ECHO_T= 7205 case `echo -n x` in #(((((13690 case `echo -n x` in 7206 13691 -n*) 7207 case `echo 'x y\c'` in13692 case `echo 'x\c'` in 7208 13693 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7209 xy) ECHO_C='\c';; 7210 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7211 ECHO_T=' ';; 13694 *) ECHO_C='\c';; 7212 13695 esac;; 7213 13696 *) … … 7215 13698 esac 7216 13699 13700 if expr a : '\(a\)' >/dev/null 2>&1 && 13701 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13702 as_expr=expr 13703 else 13704 as_expr=false 13705 fi 13706 7217 13707 rm -f conf$$ conf$$.exe conf$$.file 7218 13708 if test -d conf$$.dir; then … … 7220 13710 else 7221 13711 rm -f conf$$.dir 7222 mkdir conf$$.dir 2>/dev/null 7223 fi 7224 if (echo >conf$$.file) 2>/dev/null; then 7225 if ln -s conf$$.file conf$$ 2>/dev/null; then 7226 as_ln_s='ln -s' 7227 # ... but there are two gotchas: 7228 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7229 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7230 # In both cases, we have to default to `cp -p'. 7231 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7232 as_ln_s='cp -p' 7233 elif ln conf$$.file conf$$ 2>/dev/null; then 7234 as_ln_s=ln 7235 else 13712 mkdir conf$$.dir 13713 fi 13714 echo >conf$$.file 13715 if ln -s conf$$.file conf$$ 2>/dev/null; then 13716 as_ln_s='ln -s' 13717 # ... but there are two gotchas: 13718 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13719 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13720 # In both cases, we have to default to `cp -p'. 13721 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7236 13722 as_ln_s='cp -p' 7237 fi 13723 elif ln conf$$.file conf$$ 2>/dev/null; then 13724 as_ln_s=ln 7238 13725 else 7239 13726 as_ln_s='cp -p' … … 7242 13729 rmdir conf$$.dir 2>/dev/null 7243 13730 7244 7245 # as_fn_mkdir_p 7246 # ------------- 7247 # Create "$as_dir" as a directory, including parents if necessary. 7248 as_fn_mkdir_p () 13731 if mkdir -p . 2>/dev/null; then 13732 as_mkdir_p=: 13733 else 13734 test -d ./-p && rmdir ./-p 13735 as_mkdir_p=false 13736 fi 13737 13738 if test -x / >/dev/null 2>&1; then 13739 as_test_x='test -x' 13740 else 13741 if ls -dL / >/dev/null 2>&1; then 13742 as_ls_L_option=L 13743 else 13744 as_ls_L_option= 13745 fi 13746 as_test_x=' 13747 eval sh -c '\'' 13748 if test -d "$1"; then 13749 test -d "$1/."; 13750 else 13751 case $1 in 13752 -*)set "./$1";; 13753 esac; 13754 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 13755 ???[sx]*):;;*)false;;esac;fi 13756 '\'' sh 13757 ' 13758 fi 13759 as_executable_p=$as_test_x 13760 13761 # Sed expression to map a string onto a valid CPP name. 13762 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13763 13764 # Sed expression to map a string onto a valid variable name. 13765 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13766 13767 13768 exec 6>&1 13769 13770 # Save the log message, to keep $[0] and so on meaningful, and to 13771 # report actual input values of CONFIG_FILES etc. instead of their 13772 # values after options handling. 13773 ac_log=" 13774 This file was extended by pjproject $as_me 1.x, which was 13775 generated by GNU Autoconf 2.61. Invocation command line was 13776 13777 CONFIG_FILES = $CONFIG_FILES 13778 CONFIG_HEADERS = $CONFIG_HEADERS 13779 CONFIG_LINKS = $CONFIG_LINKS 13780 CONFIG_COMMANDS = $CONFIG_COMMANDS 13781 $ $0 $@ 13782 13783 on `(hostname || uname -n) 2>/dev/null | sed 1q` 13784 " 13785 13786 _ACEOF 13787 13788 cat >>$CONFIG_STATUS <<_ACEOF 13789 # Files that config.status was made for. 13790 config_files="$ac_config_files" 13791 config_headers="$ac_config_headers" 13792 13793 _ACEOF 13794 13795 cat >>$CONFIG_STATUS <<\_ACEOF 13796 ac_cs_usage="\ 13797 \`$as_me' instantiates files from templates according to the 13798 current configuration. 13799 13800 Usage: $0 [OPTIONS] [FILE]... 13801 13802 -h, --help print this help, then exit 13803 -V, --version print version number and configuration settings, then exit 13804 -q, --quiet do not print progress messages 13805 -d, --debug don't remove temporary files 13806 --recheck update $as_me by reconfiguring in the same conditions 13807 --file=FILE[:TEMPLATE] 13808 instantiate the configuration file FILE 13809 --header=FILE[:TEMPLATE] 13810 instantiate the configuration header FILE 13811 13812 Configuration files: 13813 $config_files 13814 13815 Configuration headers: 13816 $config_headers 13817 13818 Report bugs to <bug-autoconf@gnu.org>." 13819 13820 _ACEOF 13821 cat >>$CONFIG_STATUS <<_ACEOF 13822 ac_cs_version="\\ 13823 pjproject config.status 1.x 13824 configured by $0, generated by GNU Autoconf 2.61, 13825 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 13826 13827 Copyright (C) 2006 Free Software Foundation, Inc. 13828 This config.status script is free software; the Free Software Foundation 13829 gives unlimited permission to copy, distribute and modify it." 13830 13831 ac_pwd='$ac_pwd' 13832 srcdir='$srcdir' 13833 _ACEOF 13834 13835 cat >>$CONFIG_STATUS <<\_ACEOF 13836 # If no file are specified by the user, then we need to provide default 13837 # value. By we need to know if files were specified by the user. 13838 ac_need_defaults=: 13839 while test $# != 0 13840 do 13841 case $1 in 13842 --*=*) 13843 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13844 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13845 ac_shift=: 13846 ;; 13847 *) 13848 ac_option=$1 13849 ac_optarg=$2 13850 ac_shift=shift 13851 ;; 13852 esac 13853 13854 case $ac_option in 13855 # Handling of the options. 13856 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13857 ac_cs_recheck=: ;; 13858 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13859 echo "$ac_cs_version"; exit ;; 13860 --debug | --debu | --deb | --de | --d | -d ) 13861 debug=: ;; 13862 --file | --fil | --fi | --f ) 13863 $ac_shift 13864 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 13865 ac_need_defaults=false;; 13866 --header | --heade | --head | --hea ) 13867 $ac_shift 13868 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 13869 ac_need_defaults=false;; 13870 --he | --h) 13871 # Conflict between --help and --header 13872 { echo "$as_me: error: ambiguous option: $1 13873 Try \`$0 --help' for more information." >&2 13874 { (exit 1); exit 1; }; };; 13875 --help | --hel | -h ) 13876 echo "$ac_cs_usage"; exit ;; 13877 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13878 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13879 ac_cs_silent=: ;; 13880 13881 # This is an error. 13882 -*) { echo "$as_me: error: unrecognized option: $1 13883 Try \`$0 --help' for more information." >&2 13884 { (exit 1); exit 1; }; } ;; 13885 13886 *) ac_config_targets="$ac_config_targets $1" 13887 ac_need_defaults=false ;; 13888 13889 esac 13890 shift 13891 done 13892 13893 ac_configure_extra_args= 13894 13895 if $ac_cs_silent; then 13896 exec 6>/dev/null 13897 ac_configure_extra_args="$ac_configure_extra_args --silent" 13898 fi 13899 13900 _ACEOF 13901 cat >>$CONFIG_STATUS <<_ACEOF 13902 if \$ac_cs_recheck; then 13903 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 13904 CONFIG_SHELL=$SHELL 13905 export CONFIG_SHELL 13906 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13907 fi 13908 13909 _ACEOF 13910 cat >>$CONFIG_STATUS <<\_ACEOF 13911 exec 5>>config.log 7249 13912 { 7250 13913 echo 13914 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13915 ## Running $as_me. ## 13916 _ASBOX 13917 echo "$ac_log" 13918 } >&5 13919 13920 _ACEOF 13921 cat >>$CONFIG_STATUS <<_ACEOF 13922 _ACEOF 13923 13924 cat >>$CONFIG_STATUS <<\_ACEOF 13925 13926 # Handling of arguments. 13927 for ac_config_target in $ac_config_targets 13928 do 13929 case $ac_config_target in 13930 "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 13931 "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 13932 "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 13933 "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 13934 "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 13935 "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 13936 "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 13937 "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 13938 "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 13939 "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 13940 "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 13941 "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 13942 "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 13943 "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 13944 13945 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13946 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13947 { (exit 1); exit 1; }; };; 13948 esac 13949 done 13950 13951 13952 # If the user did not use the arguments to specify the items to instantiate, 13953 # then the envvar interface is used. Set only those that are not. 13954 # We use the long form for the default assignment because of an extremely 13955 # bizarre bug on SunOS 4.1.3. 13956 if $ac_need_defaults; then 13957 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13958 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13959 fi 13960 13961 # Have a temporary directory for convenience. Make it in the build tree 13962 # simply because there is no reason against having it here, and in addition, 13963 # creating and moving files from /tmp can sometimes cause problems. 13964 # Hook for its removal unless debugging. 13965 # Note that there is a small window in which the directory will not be cleaned: 13966 # after its creation but before its name has been assigned to `$tmp'. 13967 $debug || 13968 { 13969 tmp= 13970 trap 'exit_status=$? 13971 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 13972 ' 0 13973 trap '{ (exit 1); exit 1; }' 1 2 13 15 13974 } 13975 # Create a (secure) tmp directory for tmp files. 13976 13977 { 13978 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13979 test -n "$tmp" && test -d "$tmp" 13980 } || 13981 { 13982 tmp=./conf$$-$RANDOM 13983 (umask 077 && mkdir "$tmp") 13984 } || 13985 { 13986 echo "$me: cannot create a temporary directory in ." >&2 13987 { (exit 1); exit 1; } 13988 } 13989 13990 # 13991 # Set up the sed scripts for CONFIG_FILES section. 13992 # 13993 13994 # No need to generate the scripts if there are no CONFIG_FILES. 13995 # This happens for instance when ./config.status config.h 13996 if test -n "$CONFIG_FILES"; then 13997 13998 _ACEOF 13999 14000 14001 14002 ac_delim='%!_!# ' 14003 for ac_last_try in false false false false false :; do 14004 cat >conf$$subs.sed <<_ACEOF 14005 SHELL!$SHELL$ac_delim 14006 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 14007 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 14008 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 14009 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 14010 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 14011 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 14012 exec_prefix!$exec_prefix$ac_delim 14013 prefix!$prefix$ac_delim 14014 program_transform_name!$program_transform_name$ac_delim 14015 bindir!$bindir$ac_delim 14016 sbindir!$sbindir$ac_delim 14017 libexecdir!$libexecdir$ac_delim 14018 datarootdir!$datarootdir$ac_delim 14019 datadir!$datadir$ac_delim 14020 sysconfdir!$sysconfdir$ac_delim 14021 sharedstatedir!$sharedstatedir$ac_delim 14022 localstatedir!$localstatedir$ac_delim 14023 includedir!$includedir$ac_delim 14024 oldincludedir!$oldincludedir$ac_delim 14025 docdir!$docdir$ac_delim 14026 infodir!$infodir$ac_delim 14027 htmldir!$htmldir$ac_delim 14028 dvidir!$dvidir$ac_delim 14029 pdfdir!$pdfdir$ac_delim 14030 psdir!$psdir$ac_delim 14031 libdir!$libdir$ac_delim 14032 localedir!$localedir$ac_delim 14033 mandir!$mandir$ac_delim 14034 DEFS!$DEFS$ac_delim 14035 ECHO_C!$ECHO_C$ac_delim 14036 ECHO_N!$ECHO_N$ac_delim 14037 ECHO_T!$ECHO_T$ac_delim 14038 LIBS!$LIBS$ac_delim 14039 build_alias!$build_alias$ac_delim 14040 host_alias!$host_alias$ac_delim 14041 target_alias!$target_alias$ac_delim 14042 build!$build$ac_delim 14043 build_cpu!$build_cpu$ac_delim 14044 build_vendor!$build_vendor$ac_delim 14045 build_os!$build_os$ac_delim 14046 host!$host$ac_delim 14047 host_cpu!$host_cpu$ac_delim 14048 host_vendor!$host_vendor$ac_delim 14049 host_os!$host_os$ac_delim 14050 target!$target$ac_delim 14051 target_cpu!$target_cpu$ac_delim 14052 target_vendor!$target_vendor$ac_delim 14053 target_os!$target_os$ac_delim 14054 CC!$CC$ac_delim 14055 CFLAGS!$CFLAGS$ac_delim 14056 LDFLAGS!$LDFLAGS$ac_delim 14057 CPPFLAGS!$CPPFLAGS$ac_delim 14058 ac_ct_CC!$ac_ct_CC$ac_delim 14059 EXEEXT!$EXEEXT$ac_delim 14060 OBJEXT!$OBJEXT$ac_delim 14061 CXX!$CXX$ac_delim 14062 CXXFLAGS!$CXXFLAGS$ac_delim 14063 ac_ct_CXX!$ac_ct_CXX$ac_delim 14064 AR!$AR$ac_delim 14065 LD!$LD$ac_delim 14066 LDOUT!$LDOUT$ac_delim 14067 RANLIB!$RANLIB$ac_delim 14068 LIBEXT!$LIBEXT$ac_delim 14069 LIBEXT2!$LIBEXT2$ac_delim 14070 CC_OUT!$CC_OUT$ac_delim 14071 CC_INC!$CC_INC$ac_delim 14072 CC_DEF!$CC_DEF$ac_delim 14073 CC_OPTIMIZE!$CC_OPTIMIZE$ac_delim 14074 CC_CFLAGS!$CC_CFLAGS$ac_delim 14075 ac_pjdir!$ac_pjdir$ac_delim 14076 ac_build_mak_vars!$ac_build_mak_vars$ac_delim 14077 CPP!$CPP$ac_delim 14078 GREP!$GREP$ac_delim 14079 EGREP!$EGREP$ac_delim 14080 ac_os_objs!$ac_os_objs$ac_delim 14081 ac_external_speex!$ac_external_speex$ac_delim 14082 ac_external_gsm!$ac_external_gsm$ac_delim 14083 ac_pjmedia_snd!$ac_pjmedia_snd$ac_delim 14084 ac_external_pa!$ac_external_pa$ac_delim 14085 ac_pa_cflags!$ac_pa_cflags$ac_delim 14086 ac_pa_use_alsa!$ac_pa_use_alsa$ac_delim 14087 ac_pa_use_oss!$ac_pa_use_oss$ac_delim 14088 ac_pjmedia_video!$ac_pjmedia_video$ac_delim 14089 ac_ios_cflags!$ac_ios_cflags$ac_delim 14090 ac_pjmedia_video_has_qt!$ac_pjmedia_video_has_qt$ac_delim 14091 ac_qt_cflags!$ac_qt_cflags$ac_delim 14092 ac_no_small_filter!$ac_no_small_filter$ac_delim 14093 ac_no_large_filter!$ac_no_large_filter$ac_delim 14094 ac_no_speex_aec!$ac_no_speex_aec$ac_delim 14095 ac_no_g711_codec!$ac_no_g711_codec$ac_delim 14096 ac_no_l16_codec!$ac_no_l16_codec$ac_delim 14097 ac_no_gsm_codec!$ac_no_gsm_codec$ac_delim 14098 ac_no_g722_codec!$ac_no_g722_codec$ac_delim 14099 ac_no_g7221_codec!$ac_no_g7221_codec$ac_delim 14100 ac_no_speex_codec!$ac_no_speex_codec$ac_delim 14101 ac_no_ilbc_codec!$ac_no_ilbc_codec$ac_delim 14102 _ACEOF 14103 14104 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 14105 break 14106 elif $ac_last_try; then 14107 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14108 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14109 { (exit 1); exit 1; }; } 14110 else 14111 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14112 fi 14113 done 14114 14115 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 14116 if test -n "$ac_eof"; then 14117 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 14118 ac_eof=`expr $ac_eof + 1` 14119 fi 14120 14121 cat >>$CONFIG_STATUS <<_ACEOF 14122 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 14123 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14124 _ACEOF 14125 sed ' 14126 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 14127 s/^/s,@/; s/!/@,|#_!!_#|/ 14128 :n 14129 t n 14130 s/'"$ac_delim"'$/,g/; t 14131 s/$/\\/; p 14132 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 14133 ' >>$CONFIG_STATUS <conf$$subs.sed 14134 rm -f conf$$subs.sed 14135 cat >>$CONFIG_STATUS <<_ACEOF 14136 CEOF$ac_eof 14137 _ACEOF 14138 14139 14140 ac_delim='%!_!# ' 14141 for ac_last_try in false false false false false :; do 14142 cat >conf$$subs.sed <<_ACEOF 14143 ac_sdl_cflags!$ac_sdl_cflags$ac_delim 14144 ac_sdl_ldflags!$ac_sdl_ldflags$ac_delim 14145 ac_has_ffmpeg!$ac_has_ffmpeg$ac_delim 14146 ac_ffmpeg_cflags!$ac_ffmpeg_cflags$ac_delim 14147 ac_ffmpeg_ldflags!$ac_ffmpeg_ldflags$ac_delim 14148 ac_v4l2_cflags!$ac_v4l2_cflags$ac_delim 14149 ac_v4l2_ldflags!$ac_v4l2_ldflags$ac_delim 14150 ac_no_ssl!$ac_no_ssl$ac_delim 14151 openssl_h_present!$openssl_h_present$ac_delim 14152 libssl_present!$libssl_present$ac_delim 14153 libcrypto_present!$libcrypto_present$ac_delim 14154 ac_cross_compile!$ac_cross_compile$ac_delim 14155 ac_linux_poll!$ac_linux_poll$ac_delim 14156 ac_host!$ac_host$ac_delim 14157 ac_main_obj!$ac_main_obj$ac_delim 14158 LIBOBJS!$LIBOBJS$ac_delim 14159 LTLIBOBJS!$LTLIBOBJS$ac_delim 14160 _ACEOF 14161 14162 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then 14163 break 14164 elif $ac_last_try; then 14165 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14166 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14167 { (exit 1); exit 1; }; } 14168 else 14169 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14170 fi 14171 done 14172 14173 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 14174 if test -n "$ac_eof"; then 14175 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 14176 ac_eof=`expr $ac_eof + 1` 14177 fi 14178 14179 cat >>$CONFIG_STATUS <<_ACEOF 14180 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 14181 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 14182 _ACEOF 14183 sed ' 14184 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 14185 s/^/s,@/; s/!/@,|#_!!_#|/ 14186 :n 14187 t n 14188 s/'"$ac_delim"'$/,g/; t 14189 s/$/\\/; p 14190 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 14191 ' >>$CONFIG_STATUS <conf$$subs.sed 14192 rm -f conf$$subs.sed 14193 cat >>$CONFIG_STATUS <<_ACEOF 14194 :end 14195 s/|#_!!_#|//g 14196 CEOF$ac_eof 14197 _ACEOF 14198 14199 14200 # VPATH may cause trouble with some makes, so we remove $(srcdir), 14201 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 14202 # trailing colons and then remove the whole line if VPATH becomes empty 14203 # (actually we leave an empty line to preserve line numbers). 14204 if test "x$srcdir" = x.; then 14205 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 14206 s/:*\$(srcdir):*/:/ 14207 s/:*\${srcdir}:*/:/ 14208 s/:*@srcdir@:*/:/ 14209 s/^\([^=]*=[ ]*\):*/\1/ 14210 s/:*$// 14211 s/^[^=]*=[ ]*$// 14212 }' 14213 fi 14214 14215 cat >>$CONFIG_STATUS <<\_ACEOF 14216 fi # test -n "$CONFIG_FILES" 14217 14218 14219 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 14220 do 14221 case $ac_tag in 14222 :[FHLC]) ac_mode=$ac_tag; continue;; 14223 esac 14224 case $ac_mode$ac_tag in 14225 :[FHL]*:*);; 14226 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 14227 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 14228 { (exit 1); exit 1; }; };; 14229 :[FH]-) ac_tag=-:-;; 14230 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14231 esac 14232 ac_save_IFS=$IFS 14233 IFS=: 14234 set x $ac_tag 14235 IFS=$ac_save_IFS 14236 shift 14237 ac_file=$1 14238 shift 14239 14240 case $ac_mode in 14241 :L) ac_source=$1;; 14242 :[FH]) 14243 ac_file_inputs= 14244 for ac_f 14245 do 14246 case $ac_f in 14247 -) ac_f="$tmp/stdin";; 14248 *) # Look for the file first in the build tree, then in the source tree 14249 # (if the path is not absolute). The absolute path cannot be DOS-style, 14250 # because $ac_f cannot contain `:'. 14251 test -f "$ac_f" || 14252 case $ac_f in 14253 [\\/$]*) false;; 14254 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14255 esac || 14256 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 14257 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 14258 { (exit 1); exit 1; }; };; 14259 esac 14260 ac_file_inputs="$ac_file_inputs $ac_f" 14261 done 14262 14263 # Let's still pretend it is `configure' which instantiates (i.e., don't 14264 # use $as_me), people would be surprised to read: 14265 # /* config.h. Generated by config.status. */ 14266 configure_input="Generated from "`IFS=: 14267 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 14268 if test x"$ac_file" != x-; then 14269 configure_input="$ac_file. $configure_input" 14270 { echo "$as_me:$LINENO: creating $ac_file" >&5 14271 echo "$as_me: creating $ac_file" >&6;} 14272 fi 14273 14274 case $ac_tag in 14275 *:-:* | *:-) cat >"$tmp/stdin";; 14276 esac 14277 ;; 14278 esac 14279 14280 ac_dir=`$as_dirname -- "$ac_file" || 14281 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14282 X"$ac_file" : 'X\(//\)[^/]' \| \ 14283 X"$ac_file" : 'X\(//\)$' \| \ 14284 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14285 echo X"$ac_file" | 14286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14287 s//\1/ 14288 q 14289 } 14290 /^X\(\/\/\)[^/].*/{ 14291 s//\1/ 14292 q 14293 } 14294 /^X\(\/\/\)$/{ 14295 s//\1/ 14296 q 14297 } 14298 /^X\(\/\).*/{ 14299 s//\1/ 14300 q 14301 } 14302 s/.*/./; q'` 14303 { as_dir="$ac_dir" 7251 14304 case $as_dir in #( 7252 14305 -*) as_dir=./$as_dir;; 7253 14306 esac 7254 test -d "$as_dir" || eval $as_mkdir_p|| {14307 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 7255 14308 as_dirs= 7256 14309 while :; do 7257 14310 case $as_dir in #( 7258 *\'*) as_qdir=` $as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(14311 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 7259 14312 *) as_qdir=$as_dir;; 7260 14313 esac … … 7265 14318 X"$as_dir" : 'X\(//\)$' \| \ 7266 14319 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7267 $as_echo X"$as_dir" |14320 echo X"$as_dir" | 7268 14321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7269 14322 s//\1/ … … 7286 14339 done 7287 14340 test -z "$as_dirs" || eval "mkdir $as_dirs" 7288 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 7289 7290 7291 } # as_fn_mkdir_p 7292 if mkdir -p . 2>/dev/null; then 7293 as_mkdir_p='mkdir -p "$as_dir"' 7294 else 7295 test -d ./-p && rmdir ./-p 7296 as_mkdir_p=false 7297 fi 7298 7299 if test -x / >/dev/null 2>&1; then 7300 as_test_x='test -x' 7301 else 7302 if ls -dL / >/dev/null 2>&1; then 7303 as_ls_L_option=L 7304 else 7305 as_ls_L_option= 7306 fi 7307 as_test_x=' 7308 eval sh -c '\'' 7309 if test -d "$1"; then 7310 test -d "$1/."; 7311 else 7312 case $1 in #( 7313 -*)set "./$1";; 7314 esac; 7315 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 7316 ???[sx]*):;;*)false;;esac;fi 7317 '\'' sh 7318 ' 7319 fi 7320 as_executable_p=$as_test_x 7321 7322 # Sed expression to map a string onto a valid CPP name. 7323 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7324 7325 # Sed expression to map a string onto a valid variable name. 7326 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7327 7328 7329 exec 6>&1 7330 ## ----------------------------------- ## 7331 ## Main body of $CONFIG_STATUS script. ## 7332 ## ----------------------------------- ## 7333 _ASEOF 7334 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7335 7336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7337 # Save the log message, to keep $0 and so on meaningful, and to 7338 # report actual input values of CONFIG_FILES etc. instead of their 7339 # values after options handling. 7340 ac_log=" 7341 This file was extended by pjproject $as_me 1.x, which was 7342 generated by GNU Autoconf 2.65. Invocation command line was 7343 7344 CONFIG_FILES = $CONFIG_FILES 7345 CONFIG_HEADERS = $CONFIG_HEADERS 7346 CONFIG_LINKS = $CONFIG_LINKS 7347 CONFIG_COMMANDS = $CONFIG_COMMANDS 7348 $ $0 $@ 7349 7350 on `(hostname || uname -n) 2>/dev/null | sed 1q` 7351 " 7352 7353 _ACEOF 7354 7355 case $ac_config_files in *" 7356 "*) set x $ac_config_files; shift; ac_config_files=$*;; 7357 esac 7358 7359 case $ac_config_headers in *" 7360 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7361 esac 7362 7363 7364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7365 # Files that config.status was made for. 7366 config_files="$ac_config_files" 7367 config_headers="$ac_config_headers" 7368 7369 _ACEOF 7370 7371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7372 ac_cs_usage="\ 7373 \`$as_me' instantiates files and other configuration actions 7374 from templates according to the current configuration. Unless the files 7375 and actions are specified as TAGs, all are instantiated by default. 7376 7377 Usage: $0 [OPTION]... [TAG]... 7378 7379 -h, --help print this help, then exit 7380 -V, --version print version number and configuration settings, then exit 7381 --config print configuration, then exit 7382 -q, --quiet, --silent 7383 do not print progress messages 7384 -d, --debug don't remove temporary files 7385 --recheck update $as_me by reconfiguring in the same conditions 7386 --file=FILE[:TEMPLATE] 7387 instantiate the configuration file FILE 7388 --header=FILE[:TEMPLATE] 7389 instantiate the configuration header FILE 7390 7391 Configuration files: 7392 $config_files 7393 7394 Configuration headers: 7395 $config_headers 7396 7397 Report bugs to the package provider." 7398 7399 _ACEOF 7400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7401 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7402 ac_cs_version="\\ 7403 pjproject config.status 1.x 7404 configured by $0, generated by GNU Autoconf 2.65, 7405 with options \\"\$ac_cs_config\\" 7406 7407 Copyright (C) 2009 Free Software Foundation, Inc. 7408 This config.status script is free software; the Free Software Foundation 7409 gives unlimited permission to copy, distribute and modify it." 7410 7411 ac_pwd='$ac_pwd' 7412 srcdir='$srcdir' 7413 test -n "\$AWK" || AWK=awk 7414 _ACEOF 7415 7416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7417 # The default lists apply if the user does not specify any file. 7418 ac_need_defaults=: 7419 while test $# != 0 7420 do 7421 case $1 in 7422 --*=*) 7423 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7424 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7425 ac_shift=: 7426 ;; 7427 *) 7428 ac_option=$1 7429 ac_optarg=$2 7430 ac_shift=shift 7431 ;; 7432 esac 7433 7434 case $ac_option in 7435 # Handling of the options. 7436 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7437 ac_cs_recheck=: ;; 7438 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7439 $as_echo "$ac_cs_version"; exit ;; 7440 --config | --confi | --conf | --con | --co | --c ) 7441 $as_echo "$ac_cs_config"; exit ;; 7442 --debug | --debu | --deb | --de | --d | -d ) 7443 debug=: ;; 7444 --file | --fil | --fi | --f ) 7445 $ac_shift 7446 case $ac_optarg in 7447 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7448 esac 7449 as_fn_append CONFIG_FILES " '$ac_optarg'" 7450 ac_need_defaults=false;; 7451 --header | --heade | --head | --hea ) 7452 $ac_shift 7453 case $ac_optarg in 7454 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7455 esac 7456 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7457 ac_need_defaults=false;; 7458 --he | --h) 7459 # Conflict between --help and --header 7460 as_fn_error "ambiguous option: \`$1' 7461 Try \`$0 --help' for more information.";; 7462 --help | --hel | -h ) 7463 $as_echo "$ac_cs_usage"; exit ;; 7464 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7465 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7466 ac_cs_silent=: ;; 7467 7468 # This is an error. 7469 -*) as_fn_error "unrecognized option: \`$1' 7470 Try \`$0 --help' for more information." ;; 7471 7472 *) as_fn_append ac_config_targets " $1" 7473 ac_need_defaults=false ;; 7474 7475 esac 7476 shift 7477 done 7478 7479 ac_configure_extra_args= 7480 7481 if $ac_cs_silent; then 7482 exec 6>/dev/null 7483 ac_configure_extra_args="$ac_configure_extra_args --silent" 7484 fi 7485 7486 _ACEOF 7487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7488 if \$ac_cs_recheck; then 7489 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7490 shift 7491 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7492 CONFIG_SHELL='$SHELL' 7493 export CONFIG_SHELL 7494 exec "\$@" 7495 fi 7496 7497 _ACEOF 7498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7499 exec 5>>config.log 7500 { 7501 echo 7502 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7503 ## Running $as_me. ## 7504 _ASBOX 7505 $as_echo "$ac_log" 7506 } >&5 7507 7508 _ACEOF 7509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7510 _ACEOF 7511 7512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7513 7514 # Handling of arguments. 7515 for ac_config_target in $ac_config_targets 7516 do 7517 case $ac_config_target in 7518 "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 7519 "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 7520 "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 7521 "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 7522 "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 7523 "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 7524 "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 7525 "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 7526 "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 7527 "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 7528 "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 7529 "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 7530 "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 7531 "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 7532 7533 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7534 esac 7535 done 7536 7537 7538 # If the user did not use the arguments to specify the items to instantiate, 7539 # then the envvar interface is used. Set only those that are not. 7540 # We use the long form for the default assignment because of an extremely 7541 # bizarre bug on SunOS 4.1.3. 7542 if $ac_need_defaults; then 7543 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7544 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7545 fi 7546 7547 # Have a temporary directory for convenience. Make it in the build tree 7548 # simply because there is no reason against having it here, and in addition, 7549 # creating and moving files from /tmp can sometimes cause problems. 7550 # Hook for its removal unless debugging. 7551 # Note that there is a small window in which the directory will not be cleaned: 7552 # after its creation but before its name has been assigned to `$tmp'. 7553 $debug || 7554 { 7555 tmp= 7556 trap 'exit_status=$? 7557 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7558 ' 0 7559 trap 'as_fn_exit 1' 1 2 13 15 7560 } 7561 # Create a (secure) tmp directory for tmp files. 7562 7563 { 7564 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7565 test -n "$tmp" && test -d "$tmp" 7566 } || 7567 { 7568 tmp=./conf$$-$RANDOM 7569 (umask 077 && mkdir "$tmp") 7570 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 7571 7572 # Set up the scripts for CONFIG_FILES section. 7573 # No need to generate them if there are no CONFIG_FILES. 7574 # This happens for instance with `./config.status config.h'. 7575 if test -n "$CONFIG_FILES"; then 7576 7577 7578 ac_cr=`echo X | tr X '\015'` 7579 # On cygwin, bash can eat \r inside `` if the user requested igncr. 7580 # But we know of no other shell where ac_cr would be empty at this 7581 # point, so we can use a bashism as a fallback. 7582 if test "x$ac_cr" = x; then 7583 eval ac_cr=\$\'\\r\' 7584 fi 7585 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7586 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7587 ac_cs_awk_cr='\r' 7588 else 7589 ac_cs_awk_cr=$ac_cr 7590 fi 7591 7592 echo 'BEGIN {' >"$tmp/subs1.awk" && 7593 _ACEOF 7594 7595 7596 { 7597 echo "cat >conf$$subs.awk <<_ACEOF" && 7598 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7599 echo "_ACEOF" 7600 } >conf$$subs.sh || 7601 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7602 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 7603 ac_delim='%!_!# ' 7604 for ac_last_try in false false false false false :; do 7605 . ./conf$$subs.sh || 7606 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7607 7608 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7609 if test $ac_delim_n = $ac_delim_num; then 7610 break 7611 elif $ac_last_try; then 7612 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7613 else 7614 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7615 fi 7616 done 7617 rm -f conf$$subs.sh 7618 7619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7620 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 7621 _ACEOF 7622 sed -n ' 7623 h 7624 s/^/S["/; s/!.*/"]=/ 7625 p 7626 g 7627 s/^[^!]*!// 7628 :repl 7629 t repl 7630 s/'"$ac_delim"'$// 7631 t delim 7632 :nl 7633 h 7634 s/\(.\{148\}\)..*/\1/ 7635 t more1 7636 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7637 p 7638 n 7639 b repl 7640 :more1 7641 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7642 p 7643 g 7644 s/.\{148\}// 7645 t nl 7646 :delim 7647 h 7648 s/\(.\{148\}\)..*/\1/ 7649 t more2 7650 s/["\\]/\\&/g; s/^/"/; s/$/"/ 7651 p 7652 b 7653 :more2 7654 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7655 p 7656 g 7657 s/.\{148\}// 7658 t delim 7659 ' <conf$$subs.awk | sed ' 7660 /^[^""]/{ 7661 N 7662 s/\n// 7663 } 7664 ' >>$CONFIG_STATUS || ac_write_fail=1 7665 rm -f conf$$subs.awk 7666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7667 _ACAWK 7668 cat >>"\$tmp/subs1.awk" <<_ACAWK && 7669 for (key in S) S_is_set[key] = 1 7670 FS = "" 7671 7672 } 7673 { 7674 line = $ 0 7675 nfields = split(line, field, "@") 7676 substed = 0 7677 len = length(field[1]) 7678 for (i = 2; i < nfields; i++) { 7679 key = field[i] 7680 keylen = length(key) 7681 if (S_is_set[key]) { 7682 value = S[key] 7683 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7684 len += length(value) + length(field[++i]) 7685 substed = 1 7686 } else 7687 len += 1 + keylen 7688 } 7689 7690 print line 7691 } 7692 7693 _ACAWK 7694 _ACEOF 7695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7696 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7697 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7698 else 7699 cat 7700 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 7701 || as_fn_error "could not setup config files machinery" "$LINENO" 5 7702 _ACEOF 7703 7704 # VPATH may cause trouble with some makes, so we remove $(srcdir), 7705 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7706 # trailing colons and then remove the whole line if VPATH becomes empty 7707 # (actually we leave an empty line to preserve line numbers). 7708 if test "x$srcdir" = x.; then 7709 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7710 s/:*\$(srcdir):*/:/ 7711 s/:*\${srcdir}:*/:/ 7712 s/:*@srcdir@:*/:/ 7713 s/^\([^=]*=[ ]*\):*/\1/ 7714 s/:*$// 7715 s/^[^=]*=[ ]*$// 7716 }' 7717 fi 7718 7719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7720 fi # test -n "$CONFIG_FILES" 7721 7722 # Set up the scripts for CONFIG_HEADERS section. 7723 # No need to generate them if there are no CONFIG_HEADERS. 7724 # This happens for instance with `./config.status Makefile'. 7725 if test -n "$CONFIG_HEADERS"; then 7726 cat >"$tmp/defines.awk" <<\_ACAWK || 7727 BEGIN { 7728 _ACEOF 7729 7730 # Transform confdefs.h into an awk script `defines.awk', embedded as 7731 # here-document in config.status, that substitutes the proper values into 7732 # config.h.in to produce config.h. 7733 7734 # Create a delimiter string that does not exist in confdefs.h, to ease 7735 # handling of long lines. 7736 ac_delim='%!_!# ' 7737 for ac_last_try in false false :; do 7738 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 7739 if test -z "$ac_t"; then 7740 break 7741 elif $ac_last_try; then 7742 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 7743 else 7744 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7745 fi 7746 done 7747 7748 # For the awk script, D is an array of macro values keyed by name, 7749 # likewise P contains macro parameters if any. Preserve backslash 7750 # newline sequences. 7751 7752 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7753 sed -n ' 7754 s/.\{148\}/&'"$ac_delim"'/g 7755 t rset 7756 :rset 7757 s/^[ ]*#[ ]*define[ ][ ]*/ / 7758 t def 7759 d 7760 :def 7761 s/\\$// 7762 t bsnl 7763 s/["\\]/\\&/g 7764 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7765 D["\1"]=" \3"/p 7766 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7767 d 7768 :bsnl 7769 s/["\\]/\\&/g 7770 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7771 D["\1"]=" \3\\\\\\n"\\/p 7772 t cont 7773 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7774 t cont 7775 d 7776 :cont 7777 n 7778 s/.\{148\}/&'"$ac_delim"'/g 7779 t clear 7780 :clear 7781 s/\\$// 7782 t bsnlc 7783 s/["\\]/\\&/g; s/^/"/; s/$/"/p 7784 d 7785 :bsnlc 7786 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7787 b cont 7788 ' <confdefs.h | sed ' 7789 s/'"$ac_delim"'/"\\\ 7790 "/g' >>$CONFIG_STATUS || ac_write_fail=1 7791 7792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7793 for (key in D) D_is_set[key] = 1 7794 FS = "" 7795 } 7796 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7797 line = \$ 0 7798 split(line, arg, " ") 7799 if (arg[1] == "#") { 7800 defundef = arg[2] 7801 mac1 = arg[3] 7802 } else { 7803 defundef = substr(arg[1], 2) 7804 mac1 = arg[2] 7805 } 7806 split(mac1, mac2, "(") #) 7807 macro = mac2[1] 7808 prefix = substr(line, 1, index(line, defundef) - 1) 7809 if (D_is_set[macro]) { 7810 # Preserve the white space surrounding the "#". 7811 print prefix "define", macro P[macro] D[macro] 7812 next 7813 } else { 7814 # Replace #undef with comments. This is necessary, for example, 7815 # in the case of _POSIX_SOURCE, which is predefined and required 7816 # on some systems where configure will not decide to define it. 7817 if (defundef == "undef") { 7818 print "/*", prefix defundef, macro, "*/" 7819 next 7820 } 7821 } 7822 } 7823 { print } 7824 _ACAWK 7825 _ACEOF 7826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7827 as_fn_error "could not setup config headers machinery" "$LINENO" 5 7828 fi # test -n "$CONFIG_HEADERS" 7829 7830 7831 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 7832 shift 7833 for ac_tag 7834 do 7835 case $ac_tag in 7836 :[FHLC]) ac_mode=$ac_tag; continue;; 7837 esac 7838 case $ac_mode$ac_tag in 7839 :[FHL]*:*);; 7840 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 7841 :[FH]-) ac_tag=-:-;; 7842 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7843 esac 7844 ac_save_IFS=$IFS 7845 IFS=: 7846 set x $ac_tag 7847 IFS=$ac_save_IFS 7848 shift 7849 ac_file=$1 7850 shift 7851 7852 case $ac_mode in 7853 :L) ac_source=$1;; 7854 :[FH]) 7855 ac_file_inputs= 7856 for ac_f 7857 do 7858 case $ac_f in 7859 -) ac_f="$tmp/stdin";; 7860 *) # Look for the file first in the build tree, then in the source tree 7861 # (if the path is not absolute). The absolute path cannot be DOS-style, 7862 # because $ac_f cannot contain `:'. 7863 test -f "$ac_f" || 7864 case $ac_f in 7865 [\\/$]*) false;; 7866 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7867 esac || 7868 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7869 esac 7870 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7871 as_fn_append ac_file_inputs " '$ac_f'" 7872 done 7873 7874 # Let's still pretend it is `configure' which instantiates (i.e., don't 7875 # use $as_me), people would be surprised to read: 7876 # /* config.h. Generated by config.status. */ 7877 configure_input='Generated from '` 7878 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7879 `' by configure.' 7880 if test x"$ac_file" != x-; then 7881 configure_input="$ac_file. $configure_input" 7882 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7883 $as_echo "$as_me: creating $ac_file" >&6;} 7884 fi 7885 # Neutralize special characters interpreted by sed in replacement strings. 7886 case $configure_input in #( 7887 *\&* | *\|* | *\\* ) 7888 ac_sed_conf_input=`$as_echo "$configure_input" | 7889 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7890 *) ac_sed_conf_input=$configure_input;; 7891 esac 7892 7893 case $ac_tag in 7894 *:-:* | *:-) cat >"$tmp/stdin" \ 7895 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 7896 esac 7897 ;; 7898 esac 7899 7900 ac_dir=`$as_dirname -- "$ac_file" || 7901 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7902 X"$ac_file" : 'X\(//\)[^/]' \| \ 7903 X"$ac_file" : 'X\(//\)$' \| \ 7904 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7905 $as_echo X"$ac_file" | 7906 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7907 s//\1/ 7908 q 7909 } 7910 /^X\(\/\/\)[^/].*/{ 7911 s//\1/ 7912 q 7913 } 7914 /^X\(\/\/\)$/{ 7915 s//\1/ 7916 q 7917 } 7918 /^X\(\/\).*/{ 7919 s//\1/ 7920 q 7921 } 7922 s/.*/./; q'` 7923 as_dir="$ac_dir"; as_fn_mkdir_p 14341 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 14342 echo "$as_me: error: cannot create directory $as_dir" >&2;} 14343 { (exit 1); exit 1; }; }; } 7924 14344 ac_builddir=. 7925 14345 … … 7927 14347 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7928 14348 *) 7929 ac_dir_suffix=/` $as_echo "$ac_dir" | sed 's|^\.[\\/]||'`14349 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 7930 14350 # A ".." for each directory in $ac_dir_suffix. 7931 ac_top_builddir_sub=` $as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`14351 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 7932 14352 case $ac_top_builddir_sub in 7933 14353 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 7965 14385 _ACEOF 7966 14386 7967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=114387 cat >>$CONFIG_STATUS <<\_ACEOF 7968 14388 # If the template does not know about datarootdir, expand it. 7969 14389 # FIXME: This hack should be removed a few years after 2.60. 7970 14390 ac_datarootdir_hack=; ac_datarootdir_seen= 7971 ac_sed_dataroot=' 7972 /datarootdir/ {14391 14392 case `sed -n '/datarootdir/ { 7973 14393 p 7974 14394 q … … 7978 14398 /@infodir@/p 7979 14399 /@localedir@/p 7980 /@mandir@/p '7981 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in14400 /@mandir@/p 14401 ' $ac_file_inputs` in 7982 14402 *datarootdir*) ac_datarootdir_seen=yes;; 7983 14403 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&57985 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}7986 _ACEOF 7987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=114404 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14405 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14406 _ACEOF 14407 cat >>$CONFIG_STATUS <<_ACEOF 7988 14408 ac_datarootdir_hack=' 7989 14409 s&@datadir@&$datadir&g … … 7992 14412 s&@localedir@&$localedir&g 7993 14413 s&@mandir@&$mandir&g 7994 s&\\\${datarootdir}&$datarootdir&g' ;;14414 s&\\\${datarootdir}&$datarootdir&g' ;; 7995 14415 esac 7996 14416 _ACEOF … … 7999 14419 # Shell code in configure.ac might set extrasub. 8000 14420 # FIXME: do we really want to maintain this feature? 8001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=18002 ac_sed_extra="$ac_vpsub14421 cat >>$CONFIG_STATUS <<_ACEOF 14422 sed "$ac_vpsub 8003 14423 $extrasub 8004 14424 _ACEOF 8005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=114425 cat >>$CONFIG_STATUS <<\_ACEOF 8006 14426 :t 8007 14427 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8008 s |@configure_input@|$ac_sed_conf_input|;t t14428 s&@configure_input@&$configure_input&;t t 8009 14429 s&@top_builddir@&$ac_top_builddir_sub&;t t 8010 s&@top_build_prefix@&$ac_top_build_prefix&;t t8011 14430 s&@srcdir@&$ac_srcdir&;t t 8012 14431 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 8017 14436 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 8018 14437 $ac_datarootdir_hack 8019 " 8020 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 8021 || as_fn_error "could not create $ac_file" "$LINENO" 5 14438 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 8022 14439 8023 14440 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 8024 14441 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 8025 14442 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 8026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'14443 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8027 14444 which seems to be undefined. Please make sure it is defined." >&5 8028 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'14445 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8029 14446 which seems to be undefined. Please make sure it is defined." >&2;} 8030 14447 8031 14448 rm -f "$tmp/stdin" 8032 14449 case $ac_file in 8033 -) cat "$tmp/out" && rm -f "$tmp/out";; 8034 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 8035 esac \ 8036 || as_fn_error "could not create $ac_file" "$LINENO" 5 14450 -) cat "$tmp/out"; rm -f "$tmp/out";; 14451 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 14452 esac 8037 14453 ;; 8038 14454 :H) … … 8040 14456 # CONFIG_HEADER 8041 14457 # 14458 _ACEOF 14459 14460 # Transform confdefs.h into a sed script `conftest.defines', that 14461 # substitutes the proper values into config.h.in to produce config.h. 14462 rm -f conftest.defines conftest.tail 14463 # First, append a space to every undef/define line, to ease matching. 14464 echo 's/$/ /' >conftest.defines 14465 # Then, protect against being on the right side of a sed subst, or in 14466 # an unquoted here document, in config.status. If some macros were 14467 # called several times there might be several #defines for the same 14468 # symbol, which is useless. But do not sort them, since the last 14469 # AC_DEFINE must be honored. 14470 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14471 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 14472 # NAME is the cpp macro being defined, VALUE is the value it is being given. 14473 # PARAMS is the parameter list in the macro definition--in most cases, it's 14474 # just an empty string. 14475 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 14476 ac_dB='\\)[ (].*,\\1define\\2' 14477 ac_dC=' ' 14478 ac_dD=' ,' 14479 14480 uniq confdefs.h | 14481 sed -n ' 14482 t rset 14483 :rset 14484 s/^[ ]*#[ ]*define[ ][ ]*// 14485 t ok 14486 d 14487 :ok 14488 s/[\\&,]/\\&/g 14489 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 14490 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 14491 ' >>conftest.defines 14492 14493 # Remove the space that was appended to ease matching. 14494 # Then replace #undef with comments. This is necessary, for 14495 # example, in the case of _POSIX_SOURCE, which is predefined and required 14496 # on some systems where configure will not decide to define it. 14497 # (The regexp can be short, since the line contains either #define or #undef.) 14498 echo 's/ $// 14499 s,^[ #]*u.*,/* & */,' >>conftest.defines 14500 14501 # Break up conftest.defines: 14502 ac_max_sed_lines=50 14503 14504 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 14505 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 14506 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 14507 # et cetera. 14508 ac_in='$ac_file_inputs' 14509 ac_out='"$tmp/out1"' 14510 ac_nxt='"$tmp/out2"' 14511 14512 while : 14513 do 14514 # Write a here document: 14515 cat >>$CONFIG_STATUS <<_ACEOF 14516 # First, check the format of the line: 14517 cat >"\$tmp/defines.sed" <<\\CEOF 14518 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 14519 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 14520 b 14521 :def 14522 _ACEOF 14523 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 14524 echo 'CEOF 14525 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 14526 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 14527 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 14528 grep . conftest.tail >/dev/null || break 14529 rm -f conftest.defines 14530 mv conftest.tail conftest.defines 14531 done 14532 rm -f conftest.defines conftest.tail 14533 14534 echo "ac_result=$ac_in" >>$CONFIG_STATUS 14535 cat >>$CONFIG_STATUS <<\_ACEOF 8042 14536 if test x"$ac_file" != x-; then 8043 { 8044 $as_echo "/* $configure_input */" \ 8045 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 8046 } >"$tmp/config.h" \ 8047 || as_fn_error "could not create $ac_file" "$LINENO" 5 8048 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 8049 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 8050 $as_echo "$as_me: $ac_file is unchanged" >&6;} 14537 echo "/* $configure_input */" >"$tmp/config.h" 14538 cat "$ac_result" >>"$tmp/config.h" 14539 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 14540 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 14541 echo "$as_me: $ac_file is unchanged" >&6;} 8051 14542 else 8052 rm -f "$ac_file" 8053 mv "$tmp/config.h" "$ac_file" \ 8054 || as_fn_error "could not create $ac_file" "$LINENO" 5 14543 rm -f $ac_file 14544 mv "$tmp/config.h" $ac_file 8055 14545 fi 8056 14546 else 8057 $as_echo "/* $configure_input */" \ 8058 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 8059 || as_fn_error "could not create -" "$LINENO" 5 14547 echo "/* $configure_input */" 14548 cat "$ac_result" 8060 14549 fi 14550 rm -f "$tmp/out12" 8061 14551 ;; 8062 14552 … … 8067 14557 8068 14558 8069 as_fn_exit 0 8070 _ACEOF 14559 { (exit 0); exit 0; } 14560 _ACEOF 14561 chmod +x $CONFIG_STATUS 8071 14562 ac_clean_files=$ac_clean_files_save 8072 8073 test $ac_write_fail = 0 ||8074 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 58075 14563 8076 14564 … … 8093 14581 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8094 14582 # would make configure fail if this is the last instruction. 8095 $ac_cs_success || as_fn_exit $? 8096 fi 8097 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8099 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8100 fi 8101 8102 8103 8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 14583 $ac_cs_success || { (exit 1); exit 1; } 14584 fi 14585 14586 14587 14588 { echo "$as_me:$LINENO: result: 8105 14589 8106 14590 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. … … 8112 14596 The next step now is to run 'make dep' and 'make'. 8113 14597 " >&5 8114 $as_echo " 14598 echo "${ECHO_T} 8115 14599 8116 14600 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/trunk/aconfigure.ac
r3672 r3691 829 829 [ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" 830 830 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavformat" 831 ] 831 ], 832 [], 833 [-lavcodec -lavutil] 832 834 ) 833 835 AC_CHECK_LIB(avcodec, … … 835 837 [ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" 836 838 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcodec" 837 ] 839 ], 840 [], 841 [-lavutil] 838 842 ) 839 843 AC_CHECK_LIB(swscale, … … 841 845 [ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 842 846 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" 843 ] 847 ], 848 [], 849 [-lavutil] 844 850 ) 845 851 AC_CHECK_LIB(avutil,
Note: See TracChangeset
for help on using the changeset viewer.