- Timestamp:
- Oct 18, 2011 11:17:23 AM (13 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r3718 r3827 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.61 for pjproject 1.x. 3 # Generated by GNU Autoconf 2.65 for pjproject 1.x. 4 # 4 5 # 5 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 8 # Inc. 9 # 10 # 7 11 # This configure script is free software; the Free Software Foundation 8 12 # gives unlimited permission to copy, distribute and modify it. 9 ## -------------------- -##10 ## M4sh Initialization. 11 ## -------------------- -##13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 12 16 13 17 # Be more Bourne compatible 14 18 DUALCASE=1; export DUALCASE # for MKS sh 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16 20 emulate sh 17 21 NULLCMD=: 18 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19 23 # is contrary to our usage. Disable this feature. 20 24 alias -g '${1+"$@"}'='"$@"' 21 25 setopt NO_GLOB_SUBST 22 26 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 25 32 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 33 # Avoid depending upon Character Ranges. 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37 as_cr_digits='0123456789' 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 39 73 40 74 # The user is always right. 41 75 if test "${PATH_SEPARATOR+set}" != set; then 42 echo "#! /bin/sh" >conf$$.sh 43 echo "exit 0" >>conf$$.sh 44 chmod +x conf$$.sh 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46 PATH_SEPARATOR=';' 47 else 48 PATH_SEPARATOR=: 49 fi 50 rm -f conf$$.sh 51 fi 52 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 58 81 fi 59 82 … … 64 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 88 # splitting by setting IFS to empty value.) 66 as_nl='67 '68 89 IFS=" "" $as_nl" 69 90 70 91 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 92 case $0 in #(( 72 93 *[\\/]* ) as_myself=$0 ;; 73 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 76 97 IFS=$as_save_IFS 77 98 test -z "$as_dir" && as_dir=. 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break79 done99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 80 101 IFS=$as_save_IFS 81 102 … … 88 109 fi 89 110 if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113 fi 114 115 # Unset variables that we do not need and which cause bugs (e.g. in 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117 # suppresses any "Segmentation fault" message there. '((' could 118 # trigger a bug in pdksh 5.2.14. 119 for as_var in BASH_ENV ENV MAIL MAILPATH 120 do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 97 122 done 98 123 PS1='$ ' … … 101 126 102 127 # NLS nuisances. 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 128 LC_ALL=C 129 export LC_ALL 130 LANGUAGE=C 131 export LANGUAGE 132 133 # CDPATH. 134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 139 NULLCMD=: 140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141 # is contrary to our usage. Disable this feature. 142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 143 setopt NO_GLOB_SUBST 144 else 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150 esac 151 fi 152 " 153 as_required="as_fn_return () { (exit \$1); } 154 as_fn_success () { as_fn_return 0; } 155 as_fn_failure () { as_fn_return 1; } 156 as_fn_ret_success () { return 0; } 157 as_fn_ret_failure () { return 1; } 158 159 exitcode=0 160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165 166 else 167 exitcode=1; echo positional parameters were not saved. 168 fi 169 test x\$exitcode = x0 || exit 1" 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174 test \$(( 1 + 1 )) = 2 || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177 else 178 as_have_required=no 179 fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182 else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184 as_found=false 185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 107 186 do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200 fi 201 fi 202 done;; 203 esac 204 as_found=false 205 done 206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209 fi; } 210 IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222 fi 223 224 if test x$as_have_required = xno; then : 225 $as_echo "$0: This script requires a shell more modern than all" 226 $as_echo "$0: the shells that I found on your system." 227 if test x${ZSH_VERSION+set} = xset ; then 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 110 230 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 232 $0: including any error possibly output before this 233 $0: message. Then install a modern shell, or manually run 234 $0: the script under such a shell if you do have one." 112 235 fi 113 done 114 115 # Required to use basename. 236 exit 1 237 fi 238 fi 239 fi 240 SHELL=${CONFIG_SHELL-/bin/sh} 241 export SHELL 242 # Unset more variables known to interfere with behavior of common tools. 243 CLICOLOR_FORCE= GREP_OPTIONS= 244 unset CLICOLOR_FORCE GREP_OPTIONS 245 246 ## --------------------- ## 247 ## M4sh Shell Functions. ## 248 ## --------------------- ## 249 # as_fn_unset VAR 250 # --------------- 251 # Portably unset VAR. 252 as_fn_unset () 253 { 254 { eval $1=; unset $1;} 255 } 256 as_unset=as_fn_unset 257 258 # as_fn_set_status STATUS 259 # ----------------------- 260 # Set $? to STATUS, without forking. 261 as_fn_set_status () 262 { 263 return $1 264 } # as_fn_set_status 265 266 # as_fn_exit STATUS 267 # ----------------- 268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 269 as_fn_exit () 270 { 271 set +e 272 as_fn_set_status $1 273 exit $1 274 } # as_fn_exit 275 276 # as_fn_mkdir_p 277 # ------------- 278 # Create "$as_dir" as a directory, including parents if necessary. 279 as_fn_mkdir_p () 280 { 281 282 case $as_dir in #( 283 -*) as_dir=./$as_dir;; 284 esac 285 test -d "$as_dir" || eval $as_mkdir_p || { 286 as_dirs= 287 while :; do 288 case $as_dir in #( 289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 290 *) as_qdir=$as_dir;; 291 esac 292 as_dirs="'$as_qdir' $as_dirs" 293 as_dir=`$as_dirname -- "$as_dir" || 294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 295 X"$as_dir" : 'X\(//\)[^/]' \| \ 296 X"$as_dir" : 'X\(//\)$' \| \ 297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 298 $as_echo X"$as_dir" | 299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 300 s//\1/ 301 q 302 } 303 /^X\(\/\/\)[^/].*/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\).*/{ 312 s//\1/ 313 q 314 } 315 s/.*/./; q'` 316 test -d "$as_dir" && break 317 done 318 test -z "$as_dirs" || eval "mkdir $as_dirs" 319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 320 321 322 } # as_fn_mkdir_p 323 # as_fn_append VAR VALUE 324 # ---------------------- 325 # Append the text in VALUE to the end of the definition contained in VAR. Take 326 # advantage of any shell optimizations that allow amortized linear growth over 327 # repeated appends, instead of the typical quadratic growth present in naive 328 # implementations. 329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 330 eval 'as_fn_append () 331 { 332 eval $1+=\$2 333 }' 334 else 335 as_fn_append () 336 { 337 eval $1=\$$1\$2 338 } 339 fi # as_fn_append 340 341 # as_fn_arith ARG... 342 # ------------------ 343 # Perform arithmetic evaluation on the ARGs, and store the result in the 344 # global $as_val. Take advantage of shells that can avoid forks. The arguments 345 # must be portable across $(()) and expr. 346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 347 eval 'as_fn_arith () 348 { 349 as_val=$(( $* )) 350 }' 351 else 352 as_fn_arith () 353 { 354 as_val=`expr "$@" || test $? -eq 1` 355 } 356 fi # as_fn_arith 357 358 359 # as_fn_error ERROR [LINENO LOG_FD] 360 # --------------------------------- 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363 # script with status $?, using 1 if that was 0. 364 as_fn_error () 365 { 366 as_status=$?; test $as_status -eq 0 && as_status=1 367 if test "$3"; then 368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 370 fi 371 $as_echo "$as_me: error: $1" >&2 372 as_fn_exit $as_status 373 } # as_fn_error 374 116 375 if expr a : '\(a\)' >/dev/null 2>&1 && 117 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 127 386 fi 128 387 129 130 # Name of the executable. 388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 389 as_dirname=dirname 390 else 391 as_dirname=false 392 fi 393 131 394 as_me=`$as_basename -- "$0" || 132 395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 396 X"$0" : 'X\(//\)$' \| \ 134 397 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" |398 $as_echo X/"$0" | 136 399 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 400 s//\1/ … … 148 411 s/.*/./; q'` 149 412 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223 do 224 IFS=$as_save_IFS 225 test -z "$as_dir" && as_dir=. 226 case $as_dir in 227 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 328 as_lineno_1=$LINENO 329 as_lineno_2=$LINENO 330 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 413 # Avoid depending upon Character Ranges. 414 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 417 as_cr_digits='0123456789' 418 as_cr_alnum=$as_cr_Letters$as_cr_digits 419 420 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 438 426 sed -n ' 439 427 p … … 452 440 ' >$as_me.lineno && 453 441 chmod +x "$as_me.lineno" || 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 { (exit 1); exit 1; }; } 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 456 443 457 444 # Don't try to exec as it changes $[0], causing all sort of problems … … 463 450 } 464 451 465 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then467 as_dirname=dirname468 else469 as_dirname=false470 fi471 472 452 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 453 case `echo -n x` in #((((( 474 454 -n*) 475 case `echo 'x \c'` in455 case `echo 'xy\c'` in 476 456 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 457 xy) ECHO_C='\c';; 458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459 ECHO_T=' ';; 478 460 esac;; 479 461 *) … … 481 463 esac 482 464 483 if expr a : '\(a\)' >/dev/null 2>&1 &&484 test "X`expr 00001 : '.*\(...\)'`" = X001; then485 as_expr=expr486 else487 as_expr=false488 fi489 490 465 rm -f conf$$ conf$$.exe conf$$.file 491 466 if test -d conf$$.dir; then … … 493 468 else 494 469 rm -f conf$$.dir 495 mkdir conf$$.dir 496 fi 497 echo >conf$$.file 498 if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 470 mkdir conf$$.dir 2>/dev/null 471 fi 472 if (echo >conf$$.file) 2>/dev/null; then 473 if ln -s conf$$.file conf$$ 2>/dev/null; then 474 as_ln_s='ln -s' 475 # ... but there are two gotchas: 476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 478 # In both cases, we have to default to `cp -p'. 479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 480 as_ln_s='cp -p' 481 elif ln conf$$.file conf$$ 2>/dev/null; then 482 as_ln_s=ln 483 else 505 484 as_ln_s='cp -p' 506 elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 485 fi 508 486 else 509 487 as_ln_s='cp -p' … … 513 491 514 492 if mkdir -p . 2>/dev/null; then 515 as_mkdir_p= :493 as_mkdir_p='mkdir -p "$as_dir"' 516 494 else 517 495 test -d ./-p && rmdir ./-p … … 530 508 eval sh -c '\'' 531 509 if test -d "$1"; then 532 510 test -d "$1/."; 533 511 else 534 case $1 in 535 512 case $1 in #( 513 -*)set "./$1";; 536 514 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 538 516 ???[sx]*):;;*)false;;esac;fi 539 517 '\'' sh … … 549 527 550 528 551 552 exec 7<&0 </dev/null6>&1529 test -n "$DJDIR" || exec 7<&0 </dev/null 530 exec 6>&1 553 531 554 532 # Name of the host. … … 568 546 MFLAGS= 569 547 MAKEFLAGS= 570 SHELL=${CONFIG_SHELL-/bin/sh}571 548 572 549 # Identity of this package. … … 576 553 PACKAGE_STRING='pjproject 1.x' 577 554 PACKAGE_BUGREPORT='' 555 PACKAGE_URL='' 578 556 579 557 # Factoring default headers for most tests. … … 613 591 #endif" 614 592 615 ac_subst_vars='SHELL 593 ac_subst_vars='LTLIBOBJS 594 LIBOBJS 595 ac_main_obj 596 ac_host 597 ac_linux_poll 598 ac_cross_compile 599 libcrypto_present 600 libssl_present 601 openssl_h_present 602 ac_no_ssl 603 ac_v4l2_ldflags 604 ac_v4l2_cflags 605 ac_ffmpeg_ldflags 606 ac_ffmpeg_cflags 607 ac_has_ffmpeg 608 ac_sdl_ldflags 609 ac_sdl_cflags 610 ac_no_ilbc_codec 611 ac_no_speex_codec 612 ac_no_g7221_codec 613 ac_no_g722_codec 614 ac_no_gsm_codec 615 ac_no_l16_codec 616 ac_no_g711_codec 617 ac_no_speex_aec 618 ac_no_large_filter 619 ac_no_small_filter 620 ac_qt_cflags 621 ac_pjmedia_video_has_qt 622 ac_ios_cflags 623 ac_pjmedia_video_has_ios 624 ac_pjmedia_video 625 ac_pa_use_oss 626 ac_pa_use_alsa 627 ac_pa_cflags 628 ac_external_pa 629 ac_pjmedia_snd 630 ac_external_gsm 631 ac_external_speex 632 ac_os_objs 633 EGREP 634 GREP 635 CPP 636 ac_build_mak_vars 637 ac_pjdir 638 CC_CFLAGS 639 CC_OPTIMIZE 640 CC_DEF 641 CC_INC 642 CC_OUT 643 LIBEXT2 644 LIBEXT 645 RANLIB 646 LDOUT 647 LD 648 AR 649 ac_ct_CXX 650 CXXFLAGS 651 CXX 652 OBJEXT 653 EXEEXT 654 ac_ct_CC 655 CPPFLAGS 656 LDFLAGS 657 CFLAGS 658 CC 659 target_os 660 target_vendor 661 target_cpu 662 target 663 host_os 664 host_vendor 665 host_cpu 666 host 667 build_os 668 build_vendor 669 build_cpu 670 build 671 target_alias 672 host_alias 673 build_alias 674 LIBS 675 ECHO_T 676 ECHO_N 677 ECHO_C 678 DEFS 679 mandir 680 localedir 681 libdir 682 psdir 683 pdfdir 684 dvidir 685 htmldir 686 infodir 687 docdir 688 oldincludedir 689 includedir 690 localstatedir 691 sharedstatedir 692 sysconfdir 693 datadir 694 datarootdir 695 libexecdir 696 sbindir 697 bindir 698 program_transform_name 699 prefix 700 exec_prefix 701 PACKAGE_URL 702 PACKAGE_BUGREPORT 703 PACKAGE_STRING 704 PACKAGE_VERSION 705 PACKAGE_TARNAME 706 PACKAGE_NAME 616 707 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_pjmedia_video_has_ios 700 ac_ios_cflags 701 ac_pjmedia_video_has_qt 702 ac_qt_cflags 703 ac_no_small_filter 704 ac_no_large_filter 705 ac_no_speex_aec 706 ac_no_g711_codec 707 ac_no_l16_codec 708 ac_no_gsm_codec 709 ac_no_g722_codec 710 ac_no_g7221_codec 711 ac_no_speex_codec 712 ac_no_ilbc_codec 713 ac_sdl_cflags 714 ac_sdl_ldflags 715 ac_has_ffmpeg 716 ac_ffmpeg_cflags 717 ac_ffmpeg_ldflags 718 ac_v4l2_cflags 719 ac_v4l2_ldflags 720 ac_no_ssl 721 openssl_h_present 722 libssl_present 723 libcrypto_present 724 ac_cross_compile 725 ac_linux_poll 726 ac_host 727 ac_main_obj 728 LIBOBJS 729 LTLIBOBJS' 708 SHELL' 730 709 ac_subst_files='' 710 ac_user_opts=' 711 enable_option_checking 712 enable_floating_point 713 enable_epoll 714 with_external_speex 715 with_external_gsm 716 enable_sound 717 with_external_pa 718 enable_oss 719 enable_ext_sound 720 enable_small_filter 721 enable_large_filter 722 enable_speex_aec 723 enable_g711_codec 724 enable_l16_codec 725 enable_gsm_codec 726 enable_g722_codec 727 enable_g7221_codec 728 enable_speex_codec 729 enable_ilbc_codec 730 enable_libsamplerate 731 with_sdl 732 enable_sdl 733 enable_ffmpeg 734 with_ffmpeg 735 enable_v4l2 736 enable_ipp 737 with_ipp 738 with_ipp_samples 739 with_ipp_arch 740 enable_ssl 741 ' 731 742 ac_precious_vars='build_alias 732 743 host_alias … … 746 757 ac_init_help= 747 758 ac_init_version=false 759 ac_unrecognized_opts= 760 ac_unrecognized_sep= 748 761 # The variables have the same names as the options, with 749 762 # dashes changed to underlines. … … 844 857 845 858 -disable-* | --disable-*) 846 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`859 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 847 860 # Reject names that are not valid shell variable names. 848 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 849 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 850 { (exit 1); exit 1; }; } 851 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 852 eval enable_$ac_feature=no ;; 861 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 862 as_fn_error "invalid feature name: $ac_useropt" 863 ac_useropt_orig=$ac_useropt 864 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 865 case $ac_user_opts in 866 *" 867 "enable_$ac_useropt" 868 "*) ;; 869 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 870 ac_unrecognized_sep=', ';; 871 esac 872 eval enable_$ac_useropt=no ;; 853 873 854 874 -docdir | --docdir | --docdi | --doc | --do) … … 863 883 864 884 -enable-* | --enable-*) 865 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`885 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 866 886 # Reject names that are not valid shell variable names. 867 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 868 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 869 { (exit 1); exit 1; }; } 870 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 871 eval enable_$ac_feature=\$ac_optarg ;; 887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 888 as_fn_error "invalid feature name: $ac_useropt" 889 ac_useropt_orig=$ac_useropt 890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 891 case $ac_user_opts in 892 *" 893 "enable_$ac_useropt" 894 "*) ;; 895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 896 ac_unrecognized_sep=', ';; 897 esac 898 eval enable_$ac_useropt=\$ac_optarg ;; 872 899 873 900 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1060 1087 1061 1088 -with-* | --with-*) 1062 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1089 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1063 1090 # Reject names that are not valid shell variable names. 1064 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1065 { echo "$as_me: error: invalid package name: $ac_package" >&2 1066 { (exit 1); exit 1; }; } 1067 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1068 eval with_$ac_package=\$ac_optarg ;; 1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1092 as_fn_error "invalid package name: $ac_useropt" 1093 ac_useropt_orig=$ac_useropt 1094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1095 case $ac_user_opts in 1096 *" 1097 "with_$ac_useropt" 1098 "*) ;; 1099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1100 ac_unrecognized_sep=', ';; 1101 esac 1102 eval with_$ac_useropt=\$ac_optarg ;; 1069 1103 1070 1104 -without-* | --without-*) 1071 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1105 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1072 1106 # Reject names that are not valid shell variable names. 1073 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1074 { echo "$as_me: error: invalid package name: $ac_package" >&2 1075 { (exit 1); exit 1; }; } 1076 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1077 eval with_$ac_package=no ;; 1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1108 as_fn_error "invalid package name: $ac_useropt" 1109 ac_useropt_orig=$ac_useropt 1110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1111 case $ac_user_opts in 1112 *" 1113 "with_$ac_useropt" 1114 "*) ;; 1115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1116 ac_unrecognized_sep=', ';; 1117 esac 1118 eval with_$ac_useropt=no ;; 1078 1119 1079 1120 --x) … … 1095 1136 x_libraries=$ac_optarg ;; 1096 1137 1097 -*) { echo "$as_me: error: unrecognized option: $ac_option 1098 Try \`$0 --help' for more information." >&2 1099 { (exit 1); exit 1; }; } 1138 -*) as_fn_error "unrecognized option: \`$ac_option' 1139 Try \`$0 --help' for more information." 1100 1140 ;; 1101 1141 … … 1103 1143 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1104 1144 # Reject names that are not valid shell variable names. 1105 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1106 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1107 { (exit 1); exit 1; }; } 1145 case $ac_envvar in #( 1146 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1147 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1148 esac 1108 1149 eval $ac_envvar=\$ac_optarg 1109 1150 export $ac_envvar ;; … … 1111 1152 *) 1112 1153 # FIXME: should be removed in autoconf 3.0. 1113 echo "$as_me: WARNING: you should use --build, --host, --target" >&21154 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1114 1155 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1115 echo "$as_me: WARNING: invalid host type: $ac_option" >&21156 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1116 1157 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1117 1158 ;; … … 1122 1163 if test -n "$ac_prev"; then 1123 1164 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1124 { echo "$as_me: error: missing argument to $ac_option" >&2 1125 { (exit 1); exit 1; }; } 1126 fi 1127 1128 # Be sure to have absolute directory names. 1165 as_fn_error "missing argument to $ac_option" 1166 fi 1167 1168 if test -n "$ac_unrecognized_opts"; then 1169 case $enable_option_checking in 1170 no) ;; 1171 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1172 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1173 esac 1174 fi 1175 1176 # Check all directory arguments for consistency. 1129 1177 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1130 1178 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1133 1181 do 1134 1182 eval ac_val=\$$ac_var 1183 # Remove trailing slashes. 1184 case $ac_val in 1185 */ ) 1186 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1187 eval $ac_var=\$ac_val;; 1188 esac 1189 # Be sure to have absolute directory names. 1135 1190 case $ac_val in 1136 1191 [\\/$]* | ?:[\\/]* ) continue;; 1137 1192 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1138 1193 esac 1139 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1140 { (exit 1); exit 1; }; } 1194 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1141 1195 done 1142 1196 … … 1152 1206 if test "x$build_alias" = x; then 1153 1207 cross_compiling=maybe 1154 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1208 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1155 1209 If a cross compiler is detected then cross compile mode will be used." >&2 1156 1210 elif test "x$build_alias" != "x$host_alias"; then … … 1168 1222 ac_ls_di=`ls -di .` && 1169 1223 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1170 { echo "$as_me: error: Working directory cannot be determined" >&2 1171 { (exit 1); exit 1; }; } 1224 as_fn_error "working directory cannot be determined" 1172 1225 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1173 { echo "$as_me: error: pwd does not report name of working directory" >&2 1174 { (exit 1); exit 1; }; } 1226 as_fn_error "pwd does not report name of working directory" 1175 1227 1176 1228 … … 1179 1231 ac_srcdir_defaulted=yes 1180 1232 # Try the directory containing this script, then the parent directory. 1181 ac_confdir=`$as_dirname -- "$ 0" ||1182 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1183 X"$ 0" : 'X\(//\)[^/]' \| \1184 X"$ 0" : 'X\(//\)$' \| \1185 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1186 echo X"$0" |1233 ac_confdir=`$as_dirname -- "$as_myself" || 1234 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1235 X"$as_myself" : 'X\(//\)[^/]' \| \ 1236 X"$as_myself" : 'X\(//\)$' \| \ 1237 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1238 $as_echo X"$as_myself" | 1187 1239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1188 1240 s//\1/ … … 1211 1263 if test ! -r "$srcdir/$ac_unique_file"; then 1212 1264 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1213 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1214 { (exit 1); exit 1; }; } 1265 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1215 1266 fi 1216 1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1217 1268 ac_abs_confdir=`( 1218 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1219 { (exit 1); exit 1; }; } 1269 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1220 1270 pwd)` 1221 1271 # When building in place, set srcdir=. … … 1265 1315 Installation directories: 1266 1316 --prefix=PREFIX install architecture-independent files in PREFIX 1267 1317 [$ac_default_prefix] 1268 1318 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1269 1319 [PREFIX] 1270 1320 1271 1321 By default, \`make install' will install all the files in … … 1277 1327 1278 1328 Fine tuning of the installation directories: 1279 --bindir=DIR user executables [EPREFIX/bin]1280 --sbindir=DIR system admin executables [EPREFIX/sbin]1281 --libexecdir=DIR program executables [EPREFIX/libexec]1282 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1283 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1284 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1285 --libdir=DIR object code libraries [EPREFIX/lib]1286 --includedir=DIR C header files [PREFIX/include]1287 --oldincludedir=DIR C header files for non-gcc [/usr/include]1288 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1289 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1290 --infodir=DIR info documentation [DATAROOTDIR/info]1291 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1292 --mandir=DIR man documentation [DATAROOTDIR/man]1293 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject]1294 --htmldir=DIR html documentation [DOCDIR]1295 --dvidir=DIR dvi documentation [DOCDIR]1296 --pdfdir=DIR pdf documentation [DOCDIR]1297 --psdir=DIR ps documentation [DOCDIR]1329 --bindir=DIR user executables [EPREFIX/bin] 1330 --sbindir=DIR system admin executables [EPREFIX/sbin] 1331 --libexecdir=DIR program executables [EPREFIX/libexec] 1332 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1333 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1334 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1335 --libdir=DIR object code libraries [EPREFIX/lib] 1336 --includedir=DIR C header files [PREFIX/include] 1337 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1338 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1339 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1340 --infodir=DIR info documentation [DATAROOTDIR/info] 1341 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1342 --mandir=DIR man documentation [DATAROOTDIR/man] 1343 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1344 --htmldir=DIR html documentation [DOCDIR] 1345 --dvidir=DIR dvi documentation [DOCDIR] 1346 --pdfdir=DIR pdf documentation [DOCDIR] 1347 --psdir=DIR ps documentation [DOCDIR] 1298 1348 _ACEOF 1299 1349 … … 1314 1364 1315 1365 Optional Features: 1366 --disable-option-checking ignore unrecognized --enable/--with options 1316 1367 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1317 1368 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1375 1426 nonstandard directory <lib dir> 1376 1427 LIBS libraries to pass to the linker, e.g. -l<library> 1377 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1428 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1378 1429 you have headers in a nonstandard directory <include dir> 1379 1430 CXX C++ compiler command … … 1384 1435 it to find libraries and programs with nonstandard names/locations. 1385 1436 1437 Report bugs to the package provider. 1386 1438 _ACEOF 1387 1439 ac_status=$? … … 1391 1443 # If there are subdirs, report their specific --help. 1392 1444 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1393 test -d "$ac_dir" || continue 1445 test -d "$ac_dir" || 1446 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1447 continue 1394 1448 ac_builddir=. 1395 1449 … … 1397 1451 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1398 1452 *) 1399 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1453 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1400 1454 # A ".." for each directory in $ac_dir_suffix. 1401 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1455 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1402 1456 case $ac_top_builddir_sub in 1403 1457 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1435 1489 $SHELL "$ac_srcdir/configure" --help=recursive 1436 1490 else 1437 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21491 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1438 1492 fi || ac_status=$? 1439 1493 cd "$ac_pwd" || { ac_status=$?; break; } … … 1445 1499 cat <<\_ACEOF 1446 1500 pjproject configure 1.x 1447 generated by GNU Autoconf 2.61 1448 1449 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1450 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1501 generated by GNU Autoconf 2.65 1502 1503 Copyright (C) 2009 Free Software Foundation, Inc. 1451 1504 This configure script is free software; the Free Software Foundation 1452 1505 gives unlimited permission to copy, distribute and modify it. … … 1454 1507 exit 1455 1508 fi 1509 1510 ## ------------------------ ## 1511 ## Autoconf initialization. ## 1512 ## ------------------------ ## 1513 1514 # ac_fn_c_try_compile LINENO 1515 # -------------------------- 1516 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1517 ac_fn_c_try_compile () 1518 { 1519 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1520 rm -f conftest.$ac_objext 1521 if { { ac_try="$ac_compile" 1522 case "(($ac_try" in 1523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1524 *) ac_try_echo=$ac_try;; 1525 esac 1526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1527 $as_echo "$ac_try_echo"; } >&5 1528 (eval "$ac_compile") 2>conftest.err 1529 ac_status=$? 1530 if test -s conftest.err; then 1531 grep -v '^ *+' conftest.err >conftest.er1 1532 cat conftest.er1 >&5 1533 mv -f conftest.er1 conftest.err 1534 fi 1535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1536 test $ac_status = 0; } && { 1537 test -z "$ac_c_werror_flag" || 1538 test ! -s conftest.err 1539 } && test -s conftest.$ac_objext; then : 1540 ac_retval=0 1541 else 1542 $as_echo "$as_me: failed program was:" >&5 1543 sed 's/^/| /' conftest.$ac_ext >&5 1544 1545 ac_retval=1 1546 fi 1547 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1548 as_fn_set_status $ac_retval 1549 1550 } # ac_fn_c_try_compile 1551 1552 # ac_fn_cxx_try_compile LINENO 1553 # ---------------------------- 1554 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1555 ac_fn_cxx_try_compile () 1556 { 1557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1558 rm -f conftest.$ac_objext 1559 if { { ac_try="$ac_compile" 1560 case "(($ac_try" in 1561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1562 *) ac_try_echo=$ac_try;; 1563 esac 1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1565 $as_echo "$ac_try_echo"; } >&5 1566 (eval "$ac_compile") 2>conftest.err 1567 ac_status=$? 1568 if test -s conftest.err; then 1569 grep -v '^ *+' conftest.err >conftest.er1 1570 cat conftest.er1 >&5 1571 mv -f conftest.er1 conftest.err 1572 fi 1573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1574 test $ac_status = 0; } && { 1575 test -z "$ac_cxx_werror_flag" || 1576 test ! -s conftest.err 1577 } && test -s conftest.$ac_objext; then : 1578 ac_retval=0 1579 else 1580 $as_echo "$as_me: failed program was:" >&5 1581 sed 's/^/| /' conftest.$ac_ext >&5 1582 1583 ac_retval=1 1584 fi 1585 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1586 as_fn_set_status $ac_retval 1587 1588 } # ac_fn_cxx_try_compile 1589 1590 # ac_fn_c_try_link LINENO 1591 # ----------------------- 1592 # Try to link conftest.$ac_ext, and return whether this succeeded. 1593 ac_fn_c_try_link () 1594 { 1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1596 rm -f conftest.$ac_objext conftest$ac_exeext 1597 if { { ac_try="$ac_link" 1598 case "(($ac_try" in 1599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1600 *) ac_try_echo=$ac_try;; 1601 esac 1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1603 $as_echo "$ac_try_echo"; } >&5 1604 (eval "$ac_link") 2>conftest.err 1605 ac_status=$? 1606 if test -s conftest.err; then 1607 grep -v '^ *+' conftest.err >conftest.er1 1608 cat conftest.er1 >&5 1609 mv -f conftest.er1 conftest.err 1610 fi 1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1612 test $ac_status = 0; } && { 1613 test -z "$ac_c_werror_flag" || 1614 test ! -s conftest.err 1615 } && test -s conftest$ac_exeext && { 1616 test "$cross_compiling" = yes || 1617 $as_test_x conftest$ac_exeext 1618 }; then : 1619 ac_retval=0 1620 else 1621 $as_echo "$as_me: failed program was:" >&5 1622 sed 's/^/| /' conftest.$ac_ext >&5 1623 1624 ac_retval=1 1625 fi 1626 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1627 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1628 # interfere with the next link command; also delete a directory that is 1629 # left behind by Apple's compiler. We do this before executing the actions. 1630 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1631 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1632 as_fn_set_status $ac_retval 1633 1634 } # ac_fn_c_try_link 1635 1636 # ac_fn_c_try_run LINENO 1637 # ---------------------- 1638 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1639 # that executables *can* be run. 1640 ac_fn_c_try_run () 1641 { 1642 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1643 if { { ac_try="$ac_link" 1644 case "(($ac_try" in 1645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1646 *) ac_try_echo=$ac_try;; 1647 esac 1648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1649 $as_echo "$ac_try_echo"; } >&5 1650 (eval "$ac_link") 2>&5 1651 ac_status=$? 1652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1653 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1654 { { case "(($ac_try" in 1655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1656 *) ac_try_echo=$ac_try;; 1657 esac 1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1659 $as_echo "$ac_try_echo"; } >&5 1660 (eval "$ac_try") 2>&5 1661 ac_status=$? 1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1663 test $ac_status = 0; }; }; then : 1664 ac_retval=0 1665 else 1666 $as_echo "$as_me: program exited with status $ac_status" >&5 1667 $as_echo "$as_me: failed program was:" >&5 1668 sed 's/^/| /' conftest.$ac_ext >&5 1669 1670 ac_retval=$ac_status 1671 fi 1672 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1673 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1674 as_fn_set_status $ac_retval 1675 1676 } # ac_fn_c_try_run 1677 1678 # ac_fn_c_try_cpp LINENO 1679 # ---------------------- 1680 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1681 ac_fn_c_try_cpp () 1682 { 1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1684 if { { ac_try="$ac_cpp conftest.$ac_ext" 1685 case "(($ac_try" in 1686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1687 *) ac_try_echo=$ac_try;; 1688 esac 1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1690 $as_echo "$ac_try_echo"; } >&5 1691 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1692 ac_status=$? 1693 if test -s conftest.err; then 1694 grep -v '^ *+' conftest.err >conftest.er1 1695 cat conftest.er1 >&5 1696 mv -f conftest.er1 conftest.err 1697 fi 1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1699 test $ac_status = 0; } >/dev/null && { 1700 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1701 test ! -s conftest.err 1702 }; then : 1703 ac_retval=0 1704 else 1705 $as_echo "$as_me: failed program was:" >&5 1706 sed 's/^/| /' conftest.$ac_ext >&5 1707 1708 ac_retval=1 1709 fi 1710 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1711 as_fn_set_status $ac_retval 1712 1713 } # ac_fn_c_try_cpp 1714 1715 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1716 # ------------------------------------------------------- 1717 # Tests whether HEADER exists and can be compiled using the include files in 1718 # INCLUDES, setting the cache variable VAR accordingly. 1719 ac_fn_c_check_header_compile () 1720 { 1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1723 $as_echo_n "checking for $2... " >&6; } 1724 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1725 $as_echo_n "(cached) " >&6 1726 else 1727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1728 /* end confdefs.h. */ 1729 $4 1730 #include <$2> 1731 _ACEOF 1732 if ac_fn_c_try_compile "$LINENO"; then : 1733 eval "$3=yes" 1734 else 1735 eval "$3=no" 1736 fi 1737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1738 fi 1739 eval ac_res=\$$3 1740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1741 $as_echo "$ac_res" >&6; } 1742 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1743 1744 } # ac_fn_c_check_header_compile 1745 1746 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1747 # ------------------------------------------------------- 1748 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1749 # the include files in INCLUDES and setting the cache variable VAR 1750 # accordingly. 1751 ac_fn_c_check_header_mongrel () 1752 { 1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1754 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1756 $as_echo_n "checking for $2... " >&6; } 1757 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1758 $as_echo_n "(cached) " >&6 1759 fi 1760 eval ac_res=\$$3 1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1762 $as_echo "$ac_res" >&6; } 1763 else 1764 # Is the header compilable? 1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1766 $as_echo_n "checking $2 usability... " >&6; } 1767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1768 /* end confdefs.h. */ 1769 $4 1770 #include <$2> 1771 _ACEOF 1772 if ac_fn_c_try_compile "$LINENO"; then : 1773 ac_header_compiler=yes 1774 else 1775 ac_header_compiler=no 1776 fi 1777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1779 $as_echo "$ac_header_compiler" >&6; } 1780 1781 # Is the header present? 1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1783 $as_echo_n "checking $2 presence... " >&6; } 1784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1785 /* end confdefs.h. */ 1786 #include <$2> 1787 _ACEOF 1788 if ac_fn_c_try_cpp "$LINENO"; then : 1789 ac_header_preproc=yes 1790 else 1791 ac_header_preproc=no 1792 fi 1793 rm -f conftest.err conftest.$ac_ext 1794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1795 $as_echo "$ac_header_preproc" >&6; } 1796 1797 # So? What about this header? 1798 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1799 yes:no: ) 1800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1801 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1803 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1804 ;; 1805 no:yes:* ) 1806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1807 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1809 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1811 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1813 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1815 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1816 ;; 1817 esac 1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1819 $as_echo_n "checking for $2... " >&6; } 1820 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1821 $as_echo_n "(cached) " >&6 1822 else 1823 eval "$3=\$ac_header_compiler" 1824 fi 1825 eval ac_res=\$$3 1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1827 $as_echo "$ac_res" >&6; } 1828 fi 1829 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1830 1831 } # ac_fn_c_check_header_mongrel 1832 1833 # ac_fn_c_check_func LINENO FUNC VAR 1834 # ---------------------------------- 1835 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1836 ac_fn_c_check_func () 1837 { 1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1840 $as_echo_n "checking for $2... " >&6; } 1841 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1842 $as_echo_n "(cached) " >&6 1843 else 1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1845 /* end confdefs.h. */ 1846 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1847 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1848 #define $2 innocuous_$2 1849 1850 /* System header to define __stub macros and hopefully few prototypes, 1851 which can conflict with char $2 (); below. 1852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1853 <limits.h> exists even on freestanding compilers. */ 1854 1855 #ifdef __STDC__ 1856 # include <limits.h> 1857 #else 1858 # include <assert.h> 1859 #endif 1860 1861 #undef $2 1862 1863 /* Override any GCC internal prototype to avoid an error. 1864 Use char because int might match the return type of a GCC 1865 builtin and then its argument prototype would still apply. */ 1866 #ifdef __cplusplus 1867 extern "C" 1868 #endif 1869 char $2 (); 1870 /* The GNU C library defines this for functions which it implements 1871 to always fail with ENOSYS. Some functions are actually named 1872 something starting with __ and the normal name is an alias. */ 1873 #if defined __stub_$2 || defined __stub___$2 1874 choke me 1875 #endif 1876 1877 int 1878 main () 1879 { 1880 return $2 (); 1881 ; 1882 return 0; 1883 } 1884 _ACEOF 1885 if ac_fn_c_try_link "$LINENO"; then : 1886 eval "$3=yes" 1887 else 1888 eval "$3=no" 1889 fi 1890 rm -f core conftest.err conftest.$ac_objext \ 1891 conftest$ac_exeext conftest.$ac_ext 1892 fi 1893 eval ac_res=\$$3 1894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1895 $as_echo "$ac_res" >&6; } 1896 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1897 1898 } # ac_fn_c_check_func 1456 1899 cat >config.log <<_ACEOF 1457 1900 This file contains any messages produced by compilers while … … 1459 1902 1460 1903 It was created by pjproject $as_me 1.x, which was 1461 generated by GNU Autoconf 2.6 1. Invocation command line was1904 generated by GNU Autoconf 2.65. Invocation command line was 1462 1905 1463 1906 $ $0 $@ … … 1495 1938 IFS=$as_save_IFS 1496 1939 test -z "$as_dir" && as_dir=. 1497 echo "PATH: $as_dir"1498 done1940 $as_echo "PATH: $as_dir" 1941 done 1499 1942 IFS=$as_save_IFS 1500 1943 … … 1530 1973 continue ;; 1531 1974 *\'*) 1532 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1975 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1533 1976 esac 1534 1977 case $ac_pass in 1535 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1978 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1536 1979 2) 1537 a c_configure_args1="$ac_configure_args1'$ac_arg'"1980 as_fn_append ac_configure_args1 " '$ac_arg'" 1538 1981 if test $ac_must_keep_next = true; then 1539 1982 ac_must_keep_next=false # Got value, back to normal. … … 1551 1994 esac 1552 1995 fi 1553 a c_configure_args="$ac_configure_args'$ac_arg'"1996 as_fn_append ac_configure_args " '$ac_arg'" 1554 1997 ;; 1555 1998 esac 1556 1999 done 1557 2000 done 1558 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1559 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2001 { ac_configure_args0=; unset ac_configure_args0;} 2002 { ac_configure_args1=; unset ac_configure_args1;} 1560 2003 1561 2004 # When interrupted or exit'd, cleanup temporary files, and complete … … 1582 2025 *${as_nl}*) 1583 2026 case $ac_var in #( 1584 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51585 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2027 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2028 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1586 2029 esac 1587 2030 case $ac_var in #( 1588 2031 _ | IFS | as_nl) ;; #( 1589 *) $as_unset $ac_var ;; 2032 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2033 *) { eval $ac_var=; unset $ac_var;} ;; 1590 2034 esac ;; 1591 2035 esac … … 1616 2060 eval ac_val=\$$ac_var 1617 2061 case $ac_val in 1618 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2062 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1619 2063 esac 1620 echo "$ac_var='\''$ac_val'\''"2064 $as_echo "$ac_var='\''$ac_val'\''" 1621 2065 done | sort 1622 2066 echo … … 1633 2077 eval ac_val=\$$ac_var 1634 2078 case $ac_val in 1635 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2079 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1636 2080 esac 1637 echo "$ac_var='\''$ac_val'\''"2081 $as_echo "$ac_var='\''$ac_val'\''" 1638 2082 done | sort 1639 2083 echo … … 1651 2095 fi 1652 2096 test "$ac_signal" != 0 && 1653 echo "$as_me: caught signal $ac_signal"1654 echo "$as_me: exit $exit_status"2097 $as_echo "$as_me: caught signal $ac_signal" 2098 $as_echo "$as_me: exit $exit_status" 1655 2099 } >&5 1656 2100 rm -f core *.core core.conftest.* && … … 1659 2103 ' 0 1660 2104 for ac_signal in 1 2 13 15; do 1661 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2105 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1662 2106 done 1663 2107 ac_signal=0 … … 1666 2110 rm -f -r conftest* confdefs.h 1667 2111 2112 $as_echo "/* confdefs.h */" > confdefs.h 2113 1668 2114 # Predefined preprocessor variables. 1669 2115 … … 1672 2118 _ACEOF 1673 2119 1674 1675 2120 cat >>confdefs.h <<_ACEOF 1676 2121 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1677 2122 _ACEOF 1678 2123 1679 1680 2124 cat >>confdefs.h <<_ACEOF 1681 2125 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1682 2126 _ACEOF 1683 2127 1684 1685 2128 cat >>confdefs.h <<_ACEOF 1686 2129 #define PACKAGE_STRING "$PACKAGE_STRING" 1687 2130 _ACEOF 1688 2131 1689 1690 2132 cat >>confdefs.h <<_ACEOF 1691 2133 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1692 2134 _ACEOF 1693 2135 2136 cat >>confdefs.h <<_ACEOF 2137 #define PACKAGE_URL "$PACKAGE_URL" 2138 _ACEOF 2139 1694 2140 1695 2141 # Let the site file select an alternate cache file if it wants to. 1696 # Prefer explicitly selected file to automatically selected ones. 2142 # Prefer an explicitly selected file to automatically selected ones. 2143 ac_site_file1=NONE 2144 ac_site_file2=NONE 1697 2145 if test -n "$CONFIG_SITE"; then 1698 set x "$CONFIG_SITE"2146 ac_site_file1=$CONFIG_SITE 1699 2147 elif test "x$prefix" != xNONE; then 1700 set x "$prefix/share/config.site" "$prefix/etc/config.site"1701 else1702 set x "$ac_default_prefix/share/config.site" \ 1703 "$ac_default_prefix/etc/config.site" 1704 fi 1705 shift 1706 for ac_site_file 2148 ac_site_file1=$prefix/share/config.site 2149 ac_site_file2=$prefix/etc/config.site 2150 else 2151 ac_site_file1=$ac_default_prefix/share/config.site 2152 ac_site_file2=$ac_default_prefix/etc/config.site 2153 fi 2154 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1707 2155 do 1708 if test -r "$ac_site_file"; then 1709 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1710 echo "$as_me: loading site script $ac_site_file" >&6;} 2156 test "x$ac_site_file" = xNONE && continue 2157 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2158 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2159 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1711 2160 sed 's/^/| /' "$ac_site_file" >&5 1712 2161 . "$ac_site_file" … … 1715 2164 1716 2165 if test -r "$cache_file"; then 1717 # Some versions of bash will fail to source /dev/null (special 1718 # files actually), so we avoid doing that.1719 if test -f "$cache_file"; then1720 { echo "$as_me:$LINENO: loading cache $cache_file" >&51721 echo "$as_me: loading cache $cache_file" >&6;}2166 # Some versions of bash will fail to source /dev/null (special files 2167 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2168 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2169 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2170 $as_echo "$as_me: loading cache $cache_file" >&6;} 1722 2171 case $cache_file in 1723 2172 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1726 2175 fi 1727 2176 else 1728 { echo "$as_me:$LINENO: creating cache $cache_file" >&51729 echo "$as_me: creating cache $cache_file" >&6;}2177 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2178 $as_echo "$as_me: creating cache $cache_file" >&6;} 1730 2179 >$cache_file 1731 2180 fi … … 1741 2190 case $ac_old_set,$ac_new_set in 1742 2191 set,) 1743 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51744 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2192 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2193 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1745 2194 ac_cache_corrupted=: ;; 1746 2195 ,set) 1747 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51748 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2197 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1749 2198 ac_cache_corrupted=: ;; 1750 2199 ,);; 1751 2200 *) 1752 2201 if test "x$ac_old_val" != "x$ac_new_val"; then 1753 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1754 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1755 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1756 echo "$as_me: former value: $ac_old_val" >&2;} 1757 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1758 echo "$as_me: current value: $ac_new_val" >&2;} 1759 ac_cache_corrupted=: 2202 # differences in whitespace do not lead to failure. 2203 ac_old_val_w=`echo x $ac_old_val` 2204 ac_new_val_w=`echo x $ac_new_val` 2205 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2207 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2208 ac_cache_corrupted=: 2209 else 2210 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2211 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2212 eval $ac_var=\$ac_old_val 2213 fi 2214 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2215 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2216 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2217 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1760 2218 fi;; 1761 2219 esac … … 1763 2221 if test "$ac_new_set" = set; then 1764 2222 case $ac_new_val in 1765 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2223 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1766 2224 *) ac_arg=$ac_var=$ac_new_val ;; 1767 2225 esac 1768 2226 case " $ac_configure_args " in 1769 2227 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1770 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2228 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1771 2229 esac 1772 2230 fi 1773 2231 done 1774 2232 if $ac_cache_corrupted; then 1775 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1776 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1777 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1778 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1779 { (exit 1); exit 1; }; } 1780 fi 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 2233 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2236 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2237 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2238 fi 2239 ## -------------------- ## 2240 ## Main body of script. ## 2241 ## -------------------- ## 1805 2242 1806 2243 ac_ext=c … … 1816 2253 ac_aux_dir= 1817 2254 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1818 if test -f "$ac_dir/install-sh"; then 1819 ac_aux_dir=$ac_dir 1820 ac_install_sh="$ac_aux_dir/install-sh -c" 1821 break 1822 elif test -f "$ac_dir/install.sh"; then 1823 ac_aux_dir=$ac_dir 1824 ac_install_sh="$ac_aux_dir/install.sh -c" 1825 break 1826 elif test -f "$ac_dir/shtool"; then 1827 ac_aux_dir=$ac_dir 1828 ac_install_sh="$ac_aux_dir/shtool install -c" 1829 break 1830 fi 2255 for ac_t in install-sh install.sh shtool; do 2256 if test -f "$ac_dir/$ac_t"; then 2257 ac_aux_dir=$ac_dir 2258 ac_install_sh="$ac_aux_dir/$ac_t -c" 2259 break 2 2260 fi 2261 done 1831 2262 done 1832 2263 if test -z "$ac_aux_dir"; then 1833 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1834 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1835 { (exit 1); exit 1; }; } 2264 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1836 2265 fi 1837 2266 … … 1847 2276 # Make sure we can run config.sub. 1848 2277 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1849 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1850 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1851 { (exit 1); exit 1; }; } 1852 1853 { echo "$as_me:$LINENO: checking build system type" >&5 1854 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1855 if test "${ac_cv_build+set}" = set; then 1856 echo $ECHO_N "(cached) $ECHO_C" >&6 2278 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2279 2280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2281 $as_echo_n "checking build system type... " >&6; } 2282 if test "${ac_cv_build+set}" = set; then : 2283 $as_echo_n "(cached) " >&6 1857 2284 else 1858 2285 ac_build_alias=$build_alias … … 1860 2287 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1861 2288 test "x$ac_build_alias" = x && 1862 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1863 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1864 { (exit 1); exit 1; }; } 2289 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1865 2290 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1866 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1867 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1868 { (exit 1); exit 1; }; } 1869 1870 fi 1871 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1872 echo "${ECHO_T}$ac_cv_build" >&6; } 2291 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2292 2293 fi 2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2295 $as_echo "$ac_cv_build" >&6; } 1873 2296 case $ac_cv_build in 1874 2297 *-*-*) ;; 1875 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1876 echo "$as_me: error: invalid value of canonical build" >&2;} 1877 { (exit 1); exit 1; }; };; 2298 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1878 2299 esac 1879 2300 build=$ac_cv_build … … 1891 2312 1892 2313 1893 { echo "$as_me:$LINENO: checking host system type" >&51894 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }1895 if test "${ac_cv_host+set}" = set; then 1896 echo $ECHO_N "(cached) $ECHO_C" >&62314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2315 $as_echo_n "checking host system type... " >&6; } 2316 if test "${ac_cv_host+set}" = set; then : 2317 $as_echo_n "(cached) " >&6 1897 2318 else 1898 2319 if test "x$host_alias" = x; then … … 1900 2321 else 1901 2322 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1902 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1903 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1904 { (exit 1); exit 1; }; } 1905 fi 1906 1907 fi 1908 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1909 echo "${ECHO_T}$ac_cv_host" >&6; } 2323 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2324 fi 2325 2326 fi 2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2328 $as_echo "$ac_cv_host" >&6; } 1910 2329 case $ac_cv_host in 1911 2330 *-*-*) ;; 1912 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1913 echo "$as_me: error: invalid value of canonical host" >&2;} 1914 { (exit 1); exit 1; }; };; 2331 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1915 2332 esac 1916 2333 host=$ac_cv_host … … 1928 2345 1929 2346 1930 { echo "$as_me:$LINENO: checking target system type" >&51931 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }1932 if test "${ac_cv_target+set}" = set; then 1933 echo $ECHO_N "(cached) $ECHO_C" >&62347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2348 $as_echo_n "checking target system type... " >&6; } 2349 if test "${ac_cv_target+set}" = set; then : 2350 $as_echo_n "(cached) " >&6 1934 2351 else 1935 2352 if test "x$target_alias" = x; then … … 1937 2354 else 1938 2355 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1939 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1940 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1941 { (exit 1); exit 1; }; } 1942 fi 1943 1944 fi 1945 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1946 echo "${ECHO_T}$ac_cv_target" >&6; } 2356 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2357 fi 2358 2359 fi 2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2361 $as_echo "$ac_cv_target" >&6; } 1947 2362 case $ac_cv_target in 1948 2363 *-*-*) ;; 1949 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1950 echo "$as_me: error: invalid value of canonical target" >&2;} 1951 { (exit 1); exit 1; }; };; 2364 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 1952 2365 esac 1953 2366 target=$ac_cv_target … … 1993 2406 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1994 2407 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1995 { echo "$as_me:$LINENO: checking for $ac_word" >&51996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1997 if test "${ac_cv_prog_CC+set}" = set; then 1998 echo $ECHO_N "(cached) $ECHO_C" >&62408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2409 $as_echo_n "checking for $ac_word... " >&6; } 2410 if test "${ac_cv_prog_CC+set}" = set; then : 2411 $as_echo_n "(cached) " >&6 1999 2412 else 2000 2413 if test -n "$CC"; then … … 2006 2419 IFS=$as_save_IFS 2007 2420 test -z "$as_dir" && as_dir=. 2008 for ac_exec_ext in '' $ac_executable_extensions; do2421 for ac_exec_ext in '' $ac_executable_extensions; do 2009 2422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2010 2423 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2012 2425 break 2 2013 2426 fi 2014 2427 done 2015 done2428 done 2016 2429 IFS=$as_save_IFS 2017 2430 … … 2020 2433 CC=$ac_cv_prog_CC 2021 2434 if test -n "$CC"; then 2022 { echo "$as_me:$LINENO: result: $CC" >&52023 echo "${ECHO_T}$CC" >&6; }2024 else 2025 { echo "$as_me:$LINENO: result: no" >&52026 echo "${ECHO_T}no" >&6; }2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2436 $as_echo "$CC" >&6; } 2437 else 2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2439 $as_echo "no" >&6; } 2027 2440 fi 2028 2441 … … 2033 2446 # Extract the first word of "gcc", so it can be a program name with args. 2034 2447 set dummy gcc; ac_word=$2 2035 { echo "$as_me:$LINENO: checking for $ac_word" >&52036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2037 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2038 echo $ECHO_N "(cached) $ECHO_C" >&62448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2449 $as_echo_n "checking for $ac_word... " >&6; } 2450 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2451 $as_echo_n "(cached) " >&6 2039 2452 else 2040 2453 if test -n "$ac_ct_CC"; then … … 2046 2459 IFS=$as_save_IFS 2047 2460 test -z "$as_dir" && as_dir=. 2048 for ac_exec_ext in '' $ac_executable_extensions; do2461 for ac_exec_ext in '' $ac_executable_extensions; do 2049 2462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2050 2463 ac_cv_prog_ac_ct_CC="gcc" 2051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2052 2465 break 2 2053 2466 fi 2054 2467 done 2055 done2468 done 2056 2469 IFS=$as_save_IFS 2057 2470 … … 2060 2473 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2061 2474 if test -n "$ac_ct_CC"; then 2062 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52063 echo "${ECHO_T}$ac_ct_CC" >&6; }2064 else 2065 { echo "$as_me:$LINENO: result: no" >&52066 echo "${ECHO_T}no" >&6; }2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2476 $as_echo "$ac_ct_CC" >&6; } 2477 else 2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2479 $as_echo "no" >&6; } 2067 2480 fi 2068 2481 … … 2072 2485 case $cross_compiling:$ac_tool_warned in 2073 2486 yes:) 2074 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2075 whose name does not start with the host triplet. If you think this 2076 configuration is useful to you, please write to autoconf@gnu.org." >&5 2077 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2078 whose name does not start with the host triplet. If you think this 2079 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2080 2489 ac_tool_warned=yes ;; 2081 2490 esac … … 2090 2499 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2091 2500 set dummy ${ac_tool_prefix}cc; ac_word=$2 2092 { echo "$as_me:$LINENO: checking for $ac_word" >&52093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2094 if test "${ac_cv_prog_CC+set}" = set; then 2095 echo $ECHO_N "(cached) $ECHO_C" >&62501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2502 $as_echo_n "checking for $ac_word... " >&6; } 2503 if test "${ac_cv_prog_CC+set}" = set; then : 2504 $as_echo_n "(cached) " >&6 2096 2505 else 2097 2506 if test -n "$CC"; then … … 2103 2512 IFS=$as_save_IFS 2104 2513 test -z "$as_dir" && as_dir=. 2105 for ac_exec_ext in '' $ac_executable_extensions; do2514 for ac_exec_ext in '' $ac_executable_extensions; do 2106 2515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2107 2516 ac_cv_prog_CC="${ac_tool_prefix}cc" 2108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2109 2518 break 2 2110 2519 fi 2111 2520 done 2112 done2521 done 2113 2522 IFS=$as_save_IFS 2114 2523 … … 2117 2526 CC=$ac_cv_prog_CC 2118 2527 if test -n "$CC"; then 2119 { echo "$as_me:$LINENO: result: $CC" >&52120 echo "${ECHO_T}$CC" >&6; }2121 else 2122 { echo "$as_me:$LINENO: result: no" >&52123 echo "${ECHO_T}no" >&6; }2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2529 $as_echo "$CC" >&6; } 2530 else 2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2532 $as_echo "no" >&6; } 2124 2533 fi 2125 2534 … … 2130 2539 # Extract the first word of "cc", so it can be a program name with args. 2131 2540 set dummy cc; ac_word=$2 2132 { echo "$as_me:$LINENO: checking for $ac_word" >&52133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2134 if test "${ac_cv_prog_CC+set}" = set; then 2135 echo $ECHO_N "(cached) $ECHO_C" >&62541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2542 $as_echo_n "checking for $ac_word... " >&6; } 2543 if test "${ac_cv_prog_CC+set}" = set; then : 2544 $as_echo_n "(cached) " >&6 2136 2545 else 2137 2546 if test -n "$CC"; then … … 2144 2553 IFS=$as_save_IFS 2145 2554 test -z "$as_dir" && as_dir=. 2146 for ac_exec_ext in '' $ac_executable_extensions; do2555 for ac_exec_ext in '' $ac_executable_extensions; do 2147 2556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2148 2557 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2151 2560 fi 2152 2561 ac_cv_prog_CC="cc" 2153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2154 2563 break 2 2155 2564 fi 2156 2565 done 2157 done2566 done 2158 2567 IFS=$as_save_IFS 2159 2568 … … 2174 2583 CC=$ac_cv_prog_CC 2175 2584 if test -n "$CC"; then 2176 { echo "$as_me:$LINENO: result: $CC" >&52177 echo "${ECHO_T}$CC" >&6; }2178 else 2179 { echo "$as_me:$LINENO: result: no" >&52180 echo "${ECHO_T}no" >&6; }2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2586 $as_echo "$CC" >&6; } 2587 else 2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2589 $as_echo "no" >&6; } 2181 2590 fi 2182 2591 … … 2189 2598 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2190 2599 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2191 { echo "$as_me:$LINENO: checking for $ac_word" >&52192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2193 if test "${ac_cv_prog_CC+set}" = set; then 2194 echo $ECHO_N "(cached) $ECHO_C" >&62600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2601 $as_echo_n "checking for $ac_word... " >&6; } 2602 if test "${ac_cv_prog_CC+set}" = set; then : 2603 $as_echo_n "(cached) " >&6 2195 2604 else 2196 2605 if test -n "$CC"; then … … 2202 2611 IFS=$as_save_IFS 2203 2612 test -z "$as_dir" && as_dir=. 2204 for ac_exec_ext in '' $ac_executable_extensions; do2613 for ac_exec_ext in '' $ac_executable_extensions; do 2205 2614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2206 2615 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2208 2617 break 2 2209 2618 fi 2210 2619 done 2211 done2620 done 2212 2621 IFS=$as_save_IFS 2213 2622 … … 2216 2625 CC=$ac_cv_prog_CC 2217 2626 if test -n "$CC"; then 2218 { echo "$as_me:$LINENO: result: $CC" >&52219 echo "${ECHO_T}$CC" >&6; }2220 else 2221 { echo "$as_me:$LINENO: result: no" >&52222 echo "${ECHO_T}no" >&6; }2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2628 $as_echo "$CC" >&6; } 2629 else 2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2631 $as_echo "no" >&6; } 2223 2632 fi 2224 2633 … … 2233 2642 # Extract the first word of "$ac_prog", so it can be a program name with args. 2234 2643 set dummy $ac_prog; ac_word=$2 2235 { echo "$as_me:$LINENO: checking for $ac_word" >&52236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2237 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2238 echo $ECHO_N "(cached) $ECHO_C" >&62644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2645 $as_echo_n "checking for $ac_word... " >&6; } 2646 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2647 $as_echo_n "(cached) " >&6 2239 2648 else 2240 2649 if test -n "$ac_ct_CC"; then … … 2246 2655 IFS=$as_save_IFS 2247 2656 test -z "$as_dir" && as_dir=. 2248 for ac_exec_ext in '' $ac_executable_extensions; do2657 for ac_exec_ext in '' $ac_executable_extensions; do 2249 2658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2250 2659 ac_cv_prog_ac_ct_CC="$ac_prog" 2251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2252 2661 break 2 2253 2662 fi 2254 2663 done 2255 done2664 done 2256 2665 IFS=$as_save_IFS 2257 2666 … … 2260 2669 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2261 2670 if test -n "$ac_ct_CC"; then 2262 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52263 echo "${ECHO_T}$ac_ct_CC" >&6; }2264 else 2265 { echo "$as_me:$LINENO: result: no" >&52266 echo "${ECHO_T}no" >&6; }2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2672 $as_echo "$ac_ct_CC" >&6; } 2673 else 2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2675 $as_echo "no" >&6; } 2267 2676 fi 2268 2677 … … 2276 2685 case $cross_compiling:$ac_tool_warned in 2277 2686 yes:) 2278 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2279 whose name does not start with the host triplet. If you think this 2280 configuration is useful to you, please write to autoconf@gnu.org." >&5 2281 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2282 whose name does not start with the host triplet. If you think this 2283 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2284 2689 ac_tool_warned=yes ;; 2285 2690 esac … … 2291 2696 2292 2697 2293 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2294 See \`config.log' for more details." >&5 2295 echo "$as_me: error: no acceptable C compiler found in \$PATH 2296 See \`config.log' for more details." >&2;} 2297 { (exit 1); exit 1; }; } 2698 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2700 as_fn_error "no acceptable C compiler found in \$PATH 2701 See \`config.log' for more details." "$LINENO" 5; } 2298 2702 2299 2703 # Provide some information about the compiler. 2300 echo "$as_me:$LINENO: checking for C compiler version" >&5 2301 ac_compiler=`set X $ac_compile; echo $2` 2302 { (ac_try="$ac_compiler --version >&5" 2704 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2705 set X $ac_compile 2706 ac_compiler=$2 2707 for ac_option in --version -v -V -qversion; do 2708 { { ac_try="$ac_compiler $ac_option >&5" 2303 2709 case "(($ac_try" in 2304 2710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2305 2711 *) ac_try_echo=$ac_try;; 2306 2712 esac 2307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2308 (eval "$ac_compiler --version >&5") 2>&5 2713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2714 $as_echo "$ac_try_echo"; } >&5 2715 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2309 2716 ac_status=$? 2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2311 (exit $ac_status); } 2312 { (ac_try="$ac_compiler -v >&5" 2717 if test -s conftest.err; then 2718 sed '10a\ 2719 ... rest of stderr output deleted ... 2720 10q' conftest.err >conftest.er1 2721 cat conftest.er1 >&5 2722 fi 2723 rm -f conftest.er1 conftest.err 2724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2725 test $ac_status = 0; } 2726 done 2727 2728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2729 /* end confdefs.h. */ 2730 2731 int 2732 main () 2733 { 2734 2735 ; 2736 return 0; 2737 } 2738 _ACEOF 2739 ac_clean_files_save=$ac_clean_files 2740 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2741 # Try to create an executable without -o first, disregard a.out. 2742 # It will help us diagnose broken compilers, and finding out an intuition 2743 # of exeext. 2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2745 $as_echo_n "checking whether the C compiler works... " >&6; } 2746 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2747 2748 # The possible output files: 2749 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2750 2751 ac_rmfiles= 2752 for ac_file in $ac_files 2753 do 2754 case $ac_file in 2755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2756 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2757 esac 2758 done 2759 rm -f $ac_rmfiles 2760 2761 if { { ac_try="$ac_link_default" 2313 2762 case "(($ac_try" in 2314 2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2315 2764 *) ac_try_echo=$ac_try;; 2316 2765 esac 2317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2318 (eval "$ac_compiler -v >&5") 2>&5 2319 ac_status=$? 2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2321 (exit $ac_status); } 2322 { (ac_try="$ac_compiler -V >&5" 2323 case "(($ac_try" in 2324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2325 *) ac_try_echo=$ac_try;; 2326 esac 2327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2328 (eval "$ac_compiler -V >&5") 2>&5 2329 ac_status=$? 2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2331 (exit $ac_status); } 2332 2333 cat >conftest.$ac_ext <<_ACEOF 2334 /* confdefs.h. */ 2335 _ACEOF 2336 cat confdefs.h >>conftest.$ac_ext 2337 cat >>conftest.$ac_ext <<_ACEOF 2338 /* end confdefs.h. */ 2339 2340 int 2341 main () 2342 { 2343 2344 ; 2345 return 0; 2346 } 2347 _ACEOF 2348 ac_clean_files_save=$ac_clean_files 2349 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2350 # Try to create an executable without -o first, disregard a.out. 2351 # It will help us diagnose broken compilers, and finding out an intuition 2352 # of exeext. 2353 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2354 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2355 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2356 # 2357 # List of possible output files, starting from the most likely. 2358 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2359 # only as a last resort. b.out is created by i960 compilers. 2360 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2361 # 2362 # The IRIX 6 linker writes into existing files which may not be 2363 # executable, retaining their permissions. Remove them first so a 2364 # subsequent execution test works. 2365 ac_rmfiles= 2366 for ac_file in $ac_files 2367 do 2368 case $ac_file in 2369 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2370 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2371 esac 2372 done 2373 rm -f $ac_rmfiles 2374 2375 if { (ac_try="$ac_link_default" 2376 case "(($ac_try" in 2377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2378 *) ac_try_echo=$ac_try;; 2379 esac 2380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2767 $as_echo "$ac_try_echo"; } >&5 2381 2768 (eval "$ac_link_default") 2>&5 2382 2769 ac_status=$? 2383 echo "$as_me:$LINENO: \$? = $ac_status" >&52384 (exit $ac_status); }; then2770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2771 test $ac_status = 0; }; then : 2385 2772 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2386 2773 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2392 2779 test -f "$ac_file" || continue 2393 2780 case $ac_file in 2394 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )2781 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2395 2782 ;; 2396 2783 [ab].out ) … … 2399 2786 break;; 2400 2787 *.* ) 2401 2788 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2402 2789 then :; else 2403 2790 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2418 2805 ac_file='' 2419 2806 fi 2420 2421 { echo "$as_me:$LINENO: result: $ac_file" >&5 2422 echo "${ECHO_T}$ac_file" >&6; } 2423 if test -z "$ac_file"; then 2424 echo "$as_me: failed program was:" >&5 2807 if test -z "$ac_file"; then : 2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2809 $as_echo "no" >&6; } 2810 $as_echo "$as_me: failed program was:" >&5 2425 2811 sed 's/^/| /' conftest.$ac_ext >&5 2426 2812 2427 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2428 See \`config.log' for more details." >&5 2429 echo "$as_me: error: C compiler cannot create executables 2430 See \`config.log' for more details." >&2;} 2431 { (exit 77); exit 77; }; } 2432 fi 2433 2813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2815 { as_fn_set_status 77 2816 as_fn_error "C compiler cannot create executables 2817 See \`config.log' for more details." "$LINENO" 5; }; } 2818 else 2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2820 $as_echo "yes" >&6; } 2821 fi 2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2823 $as_echo_n "checking for C compiler default output file name... " >&6; } 2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2825 $as_echo "$ac_file" >&6; } 2434 2826 ac_exeext=$ac_cv_exeext 2435 2827 2436 # Check that the compiler produces executables we can run. If not, either 2437 # the compiler is broken, or we cross compile. 2438 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2439 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2440 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2441 # If not cross compiling, check that we can run a simple program. 2442 if test "$cross_compiling" != yes; then 2443 if { ac_try='./$ac_file' 2444 { (case "(($ac_try" in 2445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2446 *) ac_try_echo=$ac_try;; 2447 esac 2448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2449 (eval "$ac_try") 2>&5 2450 ac_status=$? 2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2452 (exit $ac_status); }; }; then 2453 cross_compiling=no 2454 else 2455 if test "$cross_compiling" = maybe; then 2456 cross_compiling=yes 2457 else 2458 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2459 If you meant to cross compile, use \`--host'. 2460 See \`config.log' for more details." >&5 2461 echo "$as_me: error: cannot run C compiled programs. 2462 If you meant to cross compile, use \`--host'. 2463 See \`config.log' for more details." >&2;} 2464 { (exit 1); exit 1; }; } 2465 fi 2466 fi 2467 fi 2468 { echo "$as_me:$LINENO: result: yes" >&5 2469 echo "${ECHO_T}yes" >&6; } 2470 2471 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2828 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2472 2829 ac_clean_files=$ac_clean_files_save 2473 # Check that the compiler produces executables we can run. If not, either 2474 # the compiler is broken, or we cross compile. 2475 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2476 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2477 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2478 echo "${ECHO_T}$cross_compiling" >&6; } 2479 2480 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2481 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2482 if { (ac_try="$ac_link" 2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2831 $as_echo_n "checking for suffix of executables... " >&6; } 2832 if { { ac_try="$ac_link" 2483 2833 case "(($ac_try" in 2484 2834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2485 2835 *) ac_try_echo=$ac_try;; 2486 2836 esac 2487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2838 $as_echo "$ac_try_echo"; } >&5 2488 2839 (eval "$ac_link") 2>&5 2489 2840 ac_status=$? 2490 echo "$as_me:$LINENO: \$? = $ac_status" >&52491 (exit $ac_status); }; then2841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2842 test $ac_status = 0; }; then : 2492 2843 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2493 2844 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2497 2848 test -f "$ac_file" || continue 2498 2849 case $ac_file in 2499 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;2850 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2500 2851 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2501 2852 break;; … … 2504 2855 done 2505 2856 else 2506 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2507 See \`config.log' for more details." >&5 2508 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2509 See \`config.log' for more details." >&2;} 2510 { (exit 1); exit 1; }; } 2511 fi 2512 2513 rm -f conftest$ac_cv_exeext 2514 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2515 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2857 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2858 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2859 as_fn_error "cannot compute suffix of executables: cannot compile and link 2860 See \`config.log' for more details." "$LINENO" 5; } 2861 fi 2862 rm -f conftest conftest$ac_cv_exeext 2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2864 $as_echo "$ac_cv_exeext" >&6; } 2516 2865 2517 2866 rm -f conftest.$ac_ext 2518 2867 EXEEXT=$ac_cv_exeext 2519 2868 ac_exeext=$EXEEXT 2520 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2521 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2522 if test "${ac_cv_objext+set}" = set; then 2523 echo $ECHO_N "(cached) $ECHO_C" >&6 2524 else 2525 cat >conftest.$ac_ext <<_ACEOF 2526 /* confdefs.h. */ 2527 _ACEOF 2528 cat confdefs.h >>conftest.$ac_ext 2529 cat >>conftest.$ac_ext <<_ACEOF 2869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2530 2870 /* end confdefs.h. */ 2531 2871 #include <stdio.h> 2532 2872 int 2533 2873 main () 2534 2874 { 2875 FILE *f = fopen ("conftest.out", "w"); 2876 return ferror (f) || fclose (f) != 0; 2535 2877 2536 2878 ; … … 2538 2880 } 2539 2881 _ACEOF 2540 rm -f conftest.o conftest.obj 2541 if { (ac_try="$ac_compile" 2882 ac_clean_files="$ac_clean_files conftest.out" 2883 # Check that the compiler produces executables we can run. If not, either 2884 # the compiler is broken, or we cross compile. 2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2886 $as_echo_n "checking whether we are cross compiling... " >&6; } 2887 if test "$cross_compiling" != yes; then 2888 { { ac_try="$ac_link" 2542 2889 case "(($ac_try" in 2543 2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2544 2891 *) ac_try_echo=$ac_try;; 2545 2892 esac 2546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2894 $as_echo "$ac_try_echo"; } >&5 2895 (eval "$ac_link") 2>&5 2896 ac_status=$? 2897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2898 test $ac_status = 0; } 2899 if { ac_try='./conftest$ac_cv_exeext' 2900 { { case "(($ac_try" in 2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2902 *) ac_try_echo=$ac_try;; 2903 esac 2904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2905 $as_echo "$ac_try_echo"; } >&5 2906 (eval "$ac_try") 2>&5 2907 ac_status=$? 2908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2909 test $ac_status = 0; }; }; then 2910 cross_compiling=no 2911 else 2912 if test "$cross_compiling" = maybe; then 2913 cross_compiling=yes 2914 else 2915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2917 as_fn_error "cannot run C compiled programs. 2918 If you meant to cross compile, use \`--host'. 2919 See \`config.log' for more details." "$LINENO" 5; } 2920 fi 2921 fi 2922 fi 2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2924 $as_echo "$cross_compiling" >&6; } 2925 2926 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2927 ac_clean_files=$ac_clean_files_save 2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2929 $as_echo_n "checking for suffix of object files... " >&6; } 2930 if test "${ac_cv_objext+set}" = set; then : 2931 $as_echo_n "(cached) " >&6 2932 else 2933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2934 /* end confdefs.h. */ 2935 2936 int 2937 main () 2938 { 2939 2940 ; 2941 return 0; 2942 } 2943 _ACEOF 2944 rm -f conftest.o conftest.obj 2945 if { { ac_try="$ac_compile" 2946 case "(($ac_try" in 2947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2948 *) ac_try_echo=$ac_try;; 2949 esac 2950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2951 $as_echo "$ac_try_echo"; } >&5 2547 2952 (eval "$ac_compile") 2>&5 2548 2953 ac_status=$? 2549 echo "$as_me:$LINENO: \$? = $ac_status" >&52550 (exit $ac_status); }; then2954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2955 test $ac_status = 0; }; then : 2551 2956 for ac_file in conftest.o conftest.obj conftest.*; do 2552 2957 test -f "$ac_file" || continue; 2553 2958 case $ac_file in 2554 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;2959 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2555 2960 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2556 2961 break;; … … 2558 2963 done 2559 2964 else 2560 echo "$as_me: failed program was:" >&52965 $as_echo "$as_me: failed program was:" >&5 2561 2966 sed 's/^/| /' conftest.$ac_ext >&5 2562 2967 2563 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2564 See \`config.log' for more details." >&5 2565 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2566 See \`config.log' for more details." >&2;} 2567 { (exit 1); exit 1; }; } 2568 fi 2569 2968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2970 as_fn_error "cannot compute suffix of object files: cannot compile 2971 See \`config.log' for more details." "$LINENO" 5; } 2972 fi 2570 2973 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2571 2974 fi 2572 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52573 echo "${ECHO_T}$ac_cv_objext" >&6; }2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2976 $as_echo "$ac_cv_objext" >&6; } 2574 2977 OBJEXT=$ac_cv_objext 2575 2978 ac_objext=$OBJEXT 2576 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2577 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2578 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2579 echo $ECHO_N "(cached) $ECHO_C" >&6 2580 else 2581 cat >conftest.$ac_ext <<_ACEOF 2582 /* confdefs.h. */ 2583 _ACEOF 2584 cat confdefs.h >>conftest.$ac_ext 2585 cat >>conftest.$ac_ext <<_ACEOF 2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2980 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2981 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2982 $as_echo_n "(cached) " >&6 2983 else 2984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2586 2985 /* end confdefs.h. */ 2587 2986 … … 2597 2996 } 2598 2997 _ACEOF 2599 rm -f conftest.$ac_objext 2600 if { (ac_try="$ac_compile" 2601 case "(($ac_try" in 2602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2603 *) ac_try_echo=$ac_try;; 2604 esac 2605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2606 (eval "$ac_compile") 2>conftest.er1 2607 ac_status=$? 2608 grep -v '^ *+' conftest.er1 >conftest.err 2609 rm -f conftest.er1 2610 cat conftest.err >&5 2611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2612 (exit $ac_status); } && { 2613 test -z "$ac_c_werror_flag" || 2614 test ! -s conftest.err 2615 } && test -s conftest.$ac_objext; then 2998 if ac_fn_c_try_compile "$LINENO"; then : 2616 2999 ac_compiler_gnu=yes 2617 3000 else 2618 echo "$as_me: failed program was:" >&5 2619 sed 's/^/| /' conftest.$ac_ext >&5 2620 2621 ac_compiler_gnu=no 2622 fi 2623 3001 ac_compiler_gnu=no 3002 fi 2624 3003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2625 3004 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2626 3005 2627 3006 fi 2628 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2629 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2630 GCC=`test $ac_compiler_gnu = yes && echo yes` 3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3008 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3009 if test $ac_compiler_gnu = yes; then 3010 GCC=yes 3011 else 3012 GCC= 3013 fi 2631 3014 ac_test_CFLAGS=${CFLAGS+set} 2632 3015 ac_save_CFLAGS=$CFLAGS 2633 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52634 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2635 if test "${ac_cv_prog_cc_g+set}" = set; then 2636 echo $ECHO_N "(cached) $ECHO_C" >&63016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3017 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3018 if test "${ac_cv_prog_cc_g+set}" = set; then : 3019 $as_echo_n "(cached) " >&6 2637 3020 else 2638 3021 ac_save_c_werror_flag=$ac_c_werror_flag … … 2640 3023 ac_cv_prog_cc_g=no 2641 3024 CFLAGS="-g" 2642 cat >conftest.$ac_ext <<_ACEOF 2643 /* confdefs.h. */ 2644 _ACEOF 2645 cat confdefs.h >>conftest.$ac_ext 2646 cat >>conftest.$ac_ext <<_ACEOF 3025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2647 3026 /* end confdefs.h. */ 2648 3027 … … 2655 3034 } 2656 3035 _ACEOF 2657 rm -f conftest.$ac_objext 2658 if { (ac_try="$ac_compile" 2659 case "(($ac_try" in 2660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2661 *) ac_try_echo=$ac_try;; 2662 esac 2663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2664 (eval "$ac_compile") 2>conftest.er1 2665 ac_status=$? 2666 grep -v '^ *+' conftest.er1 >conftest.err 2667 rm -f conftest.er1 2668 cat conftest.err >&5 2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2670 (exit $ac_status); } && { 2671 test -z "$ac_c_werror_flag" || 2672 test ! -s conftest.err 2673 } && test -s conftest.$ac_objext; then 3036 if ac_fn_c_try_compile "$LINENO"; then : 2674 3037 ac_cv_prog_cc_g=yes 2675 3038 else 2676 echo "$as_me: failed program was:" >&5 2677 sed 's/^/| /' conftest.$ac_ext >&5 2678 2679 CFLAGS="" 2680 cat >conftest.$ac_ext <<_ACEOF 2681 /* confdefs.h. */ 2682 _ACEOF 2683 cat confdefs.h >>conftest.$ac_ext 2684 cat >>conftest.$ac_ext <<_ACEOF 3039 CFLAGS="" 3040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2685 3041 /* end confdefs.h. */ 2686 3042 … … 2693 3049 } 2694 3050 _ACEOF 2695 rm -f conftest.$ac_objext 2696 if { (ac_try="$ac_compile" 2697 case "(($ac_try" in 2698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2699 *) ac_try_echo=$ac_try;; 2700 esac 2701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2702 (eval "$ac_compile") 2>conftest.er1 2703 ac_status=$? 2704 grep -v '^ *+' conftest.er1 >conftest.err 2705 rm -f conftest.er1 2706 cat conftest.err >&5 2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2708 (exit $ac_status); } && { 2709 test -z "$ac_c_werror_flag" || 2710 test ! -s conftest.err 2711 } && test -s conftest.$ac_objext; then 2712 : 2713 else 2714 echo "$as_me: failed program was:" >&5 2715 sed 's/^/| /' conftest.$ac_ext >&5 2716 2717 ac_c_werror_flag=$ac_save_c_werror_flag 3051 if ac_fn_c_try_compile "$LINENO"; then : 3052 3053 else 3054 ac_c_werror_flag=$ac_save_c_werror_flag 2718 3055 CFLAGS="-g" 2719 cat >conftest.$ac_ext <<_ACEOF 2720 /* confdefs.h. */ 2721 _ACEOF 2722 cat confdefs.h >>conftest.$ac_ext 2723 cat >>conftest.$ac_ext <<_ACEOF 3056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2724 3057 /* end confdefs.h. */ 2725 3058 … … 2732 3065 } 2733 3066 _ACEOF 2734 rm -f conftest.$ac_objext 2735 if { (ac_try="$ac_compile" 2736 case "(($ac_try" in 2737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2738 *) ac_try_echo=$ac_try;; 2739 esac 2740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2741 (eval "$ac_compile") 2>conftest.er1 2742 ac_status=$? 2743 grep -v '^ *+' conftest.er1 >conftest.err 2744 rm -f conftest.er1 2745 cat conftest.err >&5 2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2747 (exit $ac_status); } && { 2748 test -z "$ac_c_werror_flag" || 2749 test ! -s conftest.err 2750 } && test -s conftest.$ac_objext; then 3067 if ac_fn_c_try_compile "$LINENO"; then : 2751 3068 ac_cv_prog_cc_g=yes 2752 else 2753 echo "$as_me: failed program was:" >&5 2754 sed 's/^/| /' conftest.$ac_ext >&5 2755 2756 2757 fi 2758 3069 fi 2759 3070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2760 3071 fi 2761 2762 3072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2763 3073 fi 2764 2765 3074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2766 3075 ac_c_werror_flag=$ac_save_c_werror_flag 2767 3076 fi 2768 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52769 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3078 $as_echo "$ac_cv_prog_cc_g" >&6; } 2770 3079 if test "$ac_test_CFLAGS" = set; then 2771 3080 CFLAGS=$ac_save_CFLAGS … … 2783 3092 fi 2784 3093 fi 2785 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52786 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2787 if test "${ac_cv_prog_cc_c89+set}" = set; then 2788 echo $ECHO_N "(cached) $ECHO_C" >&63094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3095 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3096 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3097 $as_echo_n "(cached) " >&6 2789 3098 else 2790 3099 ac_cv_prog_cc_c89=no 2791 3100 ac_save_CC=$CC 2792 cat >conftest.$ac_ext <<_ACEOF 2793 /* confdefs.h. */ 2794 _ACEOF 2795 cat confdefs.h >>conftest.$ac_ext 2796 cat >>conftest.$ac_ext <<_ACEOF 3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2797 3102 /* end confdefs.h. */ 2798 3103 #include <stdarg.h> … … 2851 3156 do 2852 3157 CC="$ac_save_CC $ac_arg" 2853 rm -f conftest.$ac_objext 2854 if { (ac_try="$ac_compile" 2855 case "(($ac_try" in 2856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2857 *) ac_try_echo=$ac_try;; 2858 esac 2859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2860 (eval "$ac_compile") 2>conftest.er1 2861 ac_status=$? 2862 grep -v '^ *+' conftest.er1 >conftest.err 2863 rm -f conftest.er1 2864 cat conftest.err >&5 2865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2866 (exit $ac_status); } && { 2867 test -z "$ac_c_werror_flag" || 2868 test ! -s conftest.err 2869 } && test -s conftest.$ac_objext; then 3158 if ac_fn_c_try_compile "$LINENO"; then : 2870 3159 ac_cv_prog_cc_c89=$ac_arg 2871 else 2872 echo "$as_me: failed program was:" >&5 2873 sed 's/^/| /' conftest.$ac_ext >&5 2874 2875 2876 fi 2877 3160 fi 2878 3161 rm -f core conftest.err conftest.$ac_objext 2879 3162 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2886 3169 case "x$ac_cv_prog_cc_c89" in 2887 3170 x) 2888 { echo "$as_me:$LINENO: result: none needed" >&52889 echo "${ECHO_T}none needed" >&6; } ;;3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3172 $as_echo "none needed" >&6; } ;; 2890 3173 xno) 2891 { echo "$as_me:$LINENO: result: unsupported" >&52892 echo "${ECHO_T}unsupported" >&6; } ;;3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3175 $as_echo "unsupported" >&6; } ;; 2893 3176 *) 2894 3177 CC="$CC $ac_cv_prog_cc_c89" 2895 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52896 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3179 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2897 3180 esac 2898 3181 if test "x$ac_cv_prog_cc_c89" != xno; then : 3182 3183 fi 2899 3184 2900 3185 ac_ext=c … … 2918 3203 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2919 3204 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2920 { echo "$as_me:$LINENO: checking for $ac_word" >&52921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2922 if test "${ac_cv_prog_CXX+set}" = set; then 2923 echo $ECHO_N "(cached) $ECHO_C" >&63205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3206 $as_echo_n "checking for $ac_word... " >&6; } 3207 if test "${ac_cv_prog_CXX+set}" = set; then : 3208 $as_echo_n "(cached) " >&6 2924 3209 else 2925 3210 if test -n "$CXX"; then … … 2931 3216 IFS=$as_save_IFS 2932 3217 test -z "$as_dir" && as_dir=. 2933 for ac_exec_ext in '' $ac_executable_extensions; do3218 for ac_exec_ext in '' $ac_executable_extensions; do 2934 3219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2935 3220 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2937 3222 break 2 2938 3223 fi 2939 3224 done 2940 done3225 done 2941 3226 IFS=$as_save_IFS 2942 3227 … … 2945 3230 CXX=$ac_cv_prog_CXX 2946 3231 if test -n "$CXX"; then 2947 { echo "$as_me:$LINENO: result: $CXX" >&52948 echo "${ECHO_T}$CXX" >&6; }2949 else 2950 { echo "$as_me:$LINENO: result: no" >&52951 echo "${ECHO_T}no" >&6; }3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3233 $as_echo "$CXX" >&6; } 3234 else 3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3236 $as_echo "no" >&6; } 2952 3237 fi 2953 3238 … … 2962 3247 # Extract the first word of "$ac_prog", so it can be a program name with args. 2963 3248 set dummy $ac_prog; ac_word=$2 2964 { echo "$as_me:$LINENO: checking for $ac_word" >&52965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2966 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2967 echo $ECHO_N "(cached) $ECHO_C" >&63249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3250 $as_echo_n "checking for $ac_word... " >&6; } 3251 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3252 $as_echo_n "(cached) " >&6 2968 3253 else 2969 3254 if test -n "$ac_ct_CXX"; then … … 2975 3260 IFS=$as_save_IFS 2976 3261 test -z "$as_dir" && as_dir=. 2977 for ac_exec_ext in '' $ac_executable_extensions; do3262 for ac_exec_ext in '' $ac_executable_extensions; do 2978 3263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2979 3264 ac_cv_prog_ac_ct_CXX="$ac_prog" 2980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2981 3266 break 2 2982 3267 fi 2983 3268 done 2984 done3269 done 2985 3270 IFS=$as_save_IFS 2986 3271 … … 2989 3274 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2990 3275 if test -n "$ac_ct_CXX"; then 2991 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&52992 echo "${ECHO_T}$ac_ct_CXX" >&6; }2993 else 2994 { echo "$as_me:$LINENO: result: no" >&52995 echo "${ECHO_T}no" >&6; }3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3277 $as_echo "$ac_ct_CXX" >&6; } 3278 else 3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3280 $as_echo "no" >&6; } 2996 3281 fi 2997 3282 … … 3005 3290 case $cross_compiling:$ac_tool_warned in 3006 3291 yes:) 3007 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3008 whose name does not start with the host triplet. If you think this 3009 configuration is useful to you, please write to autoconf@gnu.org." >&5 3010 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3011 whose name does not start with the host triplet. If you think this 3012 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3013 3294 ac_tool_warned=yes ;; 3014 3295 esac … … 3020 3301 fi 3021 3302 # Provide some information about the compiler. 3022 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3023 ac_compiler=`set X $ac_compile; echo $2` 3024 { (ac_try="$ac_compiler --version >&5" 3303 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3304 set X $ac_compile 3305 ac_compiler=$2 3306 for ac_option in --version -v -V -qversion; do 3307 { { ac_try="$ac_compiler $ac_option >&5" 3025 3308 case "(($ac_try" in 3026 3309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3027 3310 *) ac_try_echo=$ac_try;; 3028 3311 esac 3029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3030 (eval "$ac_compiler --version >&5") 2>&5 3312 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3313 $as_echo "$ac_try_echo"; } >&5 3314 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3031 3315 ac_status=$? 3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3033 (exit $ac_status); } 3034 { (ac_try="$ac_compiler -v >&5" 3035 case "(($ac_try" in 3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3037 *) ac_try_echo=$ac_try;; 3038 esac 3039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3040 (eval "$ac_compiler -v >&5") 2>&5 3041 ac_status=$? 3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3043 (exit $ac_status); } 3044 { (ac_try="$ac_compiler -V >&5" 3045 case "(($ac_try" in 3046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3047 *) ac_try_echo=$ac_try;; 3048 esac 3049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3050 (eval "$ac_compiler -V >&5") 2>&5 3051 ac_status=$? 3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3053 (exit $ac_status); } 3054 3055 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3056 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3057 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3058 echo $ECHO_N "(cached) $ECHO_C" >&6 3059 else 3060 cat >conftest.$ac_ext <<_ACEOF 3061 /* confdefs.h. */ 3062 _ACEOF 3063 cat confdefs.h >>conftest.$ac_ext 3064 cat >>conftest.$ac_ext <<_ACEOF 3316 if test -s conftest.err; then 3317 sed '10a\ 3318 ... rest of stderr output deleted ... 3319 10q' conftest.err >conftest.er1 3320 cat conftest.er1 >&5 3321 fi 3322 rm -f conftest.er1 conftest.err 3323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3324 test $ac_status = 0; } 3325 done 3326 3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3328 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3329 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3330 $as_echo_n "(cached) " >&6 3331 else 3332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3065 3333 /* end confdefs.h. */ 3066 3334 … … 3076 3344 } 3077 3345 _ACEOF 3078 rm -f conftest.$ac_objext 3079 if { (ac_try="$ac_compile" 3080 case "(($ac_try" in 3081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3082 *) ac_try_echo=$ac_try;; 3083 esac 3084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3085 (eval "$ac_compile") 2>conftest.er1 3086 ac_status=$? 3087 grep -v '^ *+' conftest.er1 >conftest.err 3088 rm -f conftest.er1 3089 cat conftest.err >&5 3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3091 (exit $ac_status); } && { 3092 test -z "$ac_cxx_werror_flag" || 3093 test ! -s conftest.err 3094 } && test -s conftest.$ac_objext; then 3346 if ac_fn_cxx_try_compile "$LINENO"; then : 3095 3347 ac_compiler_gnu=yes 3096 3348 else 3097 echo "$as_me: failed program was:" >&5 3098 sed 's/^/| /' conftest.$ac_ext >&5 3099 3100 ac_compiler_gnu=no 3101 fi 3102 3349 ac_compiler_gnu=no 3350 fi 3103 3351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3104 3352 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3105 3353 3106 3354 fi 3107 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3108 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3109 GXX=`test $ac_compiler_gnu = yes && echo yes` 3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3356 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3357 if test $ac_compiler_gnu = yes; then 3358 GXX=yes 3359 else 3360 GXX= 3361 fi 3110 3362 ac_test_CXXFLAGS=${CXXFLAGS+set} 3111 3363 ac_save_CXXFLAGS=$CXXFLAGS 3112 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53113 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3114 if test "${ac_cv_prog_cxx_g+set}" = set; then 3115 echo $ECHO_N "(cached) $ECHO_C" >&63364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3365 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3366 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3367 $as_echo_n "(cached) " >&6 3116 3368 else 3117 3369 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3119 3371 ac_cv_prog_cxx_g=no 3120 3372 CXXFLAGS="-g" 3121 cat >conftest.$ac_ext <<_ACEOF 3122 /* confdefs.h. */ 3123 _ACEOF 3124 cat confdefs.h >>conftest.$ac_ext 3125 cat >>conftest.$ac_ext <<_ACEOF 3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3126 3374 /* end confdefs.h. */ 3127 3375 … … 3134 3382 } 3135 3383 _ACEOF 3136 rm -f conftest.$ac_objext 3137 if { (ac_try="$ac_compile" 3138 case "(($ac_try" in 3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3140 *) ac_try_echo=$ac_try;; 3141 esac 3142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3143 (eval "$ac_compile") 2>conftest.er1 3144 ac_status=$? 3145 grep -v '^ *+' conftest.er1 >conftest.err 3146 rm -f conftest.er1 3147 cat conftest.err >&5 3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3149 (exit $ac_status); } && { 3150 test -z "$ac_cxx_werror_flag" || 3151 test ! -s conftest.err 3152 } && test -s conftest.$ac_objext; then 3384 if ac_fn_cxx_try_compile "$LINENO"; then : 3153 3385 ac_cv_prog_cxx_g=yes 3154 3386 else 3155 echo "$as_me: failed program was:" >&5 3156 sed 's/^/| /' conftest.$ac_ext >&5 3157 3158 CXXFLAGS="" 3159 cat >conftest.$ac_ext <<_ACEOF 3160 /* confdefs.h. */ 3161 _ACEOF 3162 cat confdefs.h >>conftest.$ac_ext 3163 cat >>conftest.$ac_ext <<_ACEOF 3387 CXXFLAGS="" 3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3164 3389 /* end confdefs.h. */ 3165 3390 … … 3172 3397 } 3173 3398 _ACEOF 3174 rm -f conftest.$ac_objext 3175 if { (ac_try="$ac_compile" 3176 case "(($ac_try" in 3177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3178 *) ac_try_echo=$ac_try;; 3179 esac 3180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3181 (eval "$ac_compile") 2>conftest.er1 3182 ac_status=$? 3183 grep -v '^ *+' conftest.er1 >conftest.err 3184 rm -f conftest.er1 3185 cat conftest.err >&5 3186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3187 (exit $ac_status); } && { 3188 test -z "$ac_cxx_werror_flag" || 3189 test ! -s conftest.err 3190 } && test -s conftest.$ac_objext; then 3191 : 3192 else 3193 echo "$as_me: failed program was:" >&5 3194 sed 's/^/| /' conftest.$ac_ext >&5 3195 3196 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3399 if ac_fn_cxx_try_compile "$LINENO"; then : 3400 3401 else 3402 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3197 3403 CXXFLAGS="-g" 3198 cat >conftest.$ac_ext <<_ACEOF 3199 /* confdefs.h. */ 3200 _ACEOF 3201 cat confdefs.h >>conftest.$ac_ext 3202 cat >>conftest.$ac_ext <<_ACEOF 3404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3203 3405 /* end confdefs.h. */ 3204 3406 … … 3211 3413 } 3212 3414 _ACEOF 3213 rm -f conftest.$ac_objext 3214 if { (ac_try="$ac_compile" 3215 case "(($ac_try" in 3216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3217 *) ac_try_echo=$ac_try;; 3218 esac 3219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3220 (eval "$ac_compile") 2>conftest.er1 3221 ac_status=$? 3222 grep -v '^ *+' conftest.er1 >conftest.err 3223 rm -f conftest.er1 3224 cat conftest.err >&5 3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3226 (exit $ac_status); } && { 3227 test -z "$ac_cxx_werror_flag" || 3228 test ! -s conftest.err 3229 } && test -s conftest.$ac_objext; then 3415 if ac_fn_cxx_try_compile "$LINENO"; then : 3230 3416 ac_cv_prog_cxx_g=yes 3231 else 3232 echo "$as_me: failed program was:" >&5 3233 sed 's/^/| /' conftest.$ac_ext >&5 3234 3235 3236 fi 3237 3417 fi 3238 3418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3239 3419 fi 3240 3241 3420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3242 3421 fi 3243 3244 3422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3245 3423 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3246 3424 fi 3247 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53248 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3426 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3249 3427 if test "$ac_test_CXXFLAGS" = set; then 3250 3428 CXXFLAGS=$ac_save_CXXFLAGS … … 3324 3502 3325 3503 3326 3327 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3328 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 3329 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 3330 echo $ECHO_N "(cached) $ECHO_C" >&6 3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3505 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3506 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 3507 $as_echo_n "(cached) " >&6 3331 3508 else 3332 3509 ac_check_lib_save_LIBS=$LIBS 3333 3510 LIBS="-lpthread $LIBS" 3334 cat >conftest.$ac_ext <<_ACEOF 3335 /* confdefs.h. */ 3336 _ACEOF 3337 cat confdefs.h >>conftest.$ac_ext 3338 cat >>conftest.$ac_ext <<_ACEOF 3511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3339 3512 /* end confdefs.h. */ 3340 3513 … … 3354 3527 } 3355 3528 _ACEOF 3356 rm -f conftest.$ac_objext conftest$ac_exeext 3357 if { (ac_try="$ac_link" 3358 case "(($ac_try" in 3359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3360 *) ac_try_echo=$ac_try;; 3361 esac 3362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3363 (eval "$ac_link") 2>conftest.er1 3364 ac_status=$? 3365 grep -v '^ *+' conftest.er1 >conftest.err 3366 rm -f conftest.er1 3367 cat conftest.err >&5 3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3369 (exit $ac_status); } && { 3370 test -z "$ac_c_werror_flag" || 3371 test ! -s conftest.err 3372 } && test -s conftest$ac_exeext && 3373 $as_test_x conftest$ac_exeext; then 3529 if ac_fn_c_try_link "$LINENO"; then : 3374 3530 ac_cv_lib_pthread_pthread_create=yes 3375 3531 else 3376 echo "$as_me: failed program was:" >&5 3377 sed 's/^/| /' conftest.$ac_ext >&5 3378 3379 ac_cv_lib_pthread_pthread_create=no 3380 fi 3381 3382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3383 conftest$ac_exeext conftest.$ac_ext 3532 ac_cv_lib_pthread_pthread_create=no 3533 fi 3534 rm -f core conftest.err conftest.$ac_objext \ 3535 conftest$ac_exeext conftest.$ac_ext 3384 3536 LIBS=$ac_check_lib_save_LIBS 3385 3537 fi 3386 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&53387 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }3388 if test $ac_cv_lib_pthread_pthread_create = yes; then3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 3539 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 3540 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 3389 3541 cat >>confdefs.h <<_ACEOF 3390 3542 #define HAVE_LIBPTHREAD 1 … … 3395 3547 fi 3396 3548 3397 3398 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3399 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 3400 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 3401 echo $ECHO_N "(cached) $ECHO_C" >&6 3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 3550 $as_echo_n "checking for puts in -lwsock32... " >&6; } 3551 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 3552 $as_echo_n "(cached) " >&6 3402 3553 else 3403 3554 ac_check_lib_save_LIBS=$LIBS 3404 3555 LIBS="-lwsock32 $LIBS" 3405 cat >conftest.$ac_ext <<_ACEOF 3406 /* confdefs.h. */ 3407 _ACEOF 3408 cat confdefs.h >>conftest.$ac_ext 3409 cat >>conftest.$ac_ext <<_ACEOF 3556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3410 3557 /* end confdefs.h. */ 3411 3558 … … 3425 3572 } 3426 3573 _ACEOF 3427 rm -f conftest.$ac_objext conftest$ac_exeext 3428 if { (ac_try="$ac_link" 3429 case "(($ac_try" in 3430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3431 *) ac_try_echo=$ac_try;; 3432 esac 3433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3434 (eval "$ac_link") 2>conftest.er1 3435 ac_status=$? 3436 grep -v '^ *+' conftest.er1 >conftest.err 3437 rm -f conftest.er1 3438 cat conftest.err >&5 3439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3440 (exit $ac_status); } && { 3441 test -z "$ac_c_werror_flag" || 3442 test ! -s conftest.err 3443 } && test -s conftest$ac_exeext && 3444 $as_test_x conftest$ac_exeext; then 3574 if ac_fn_c_try_link "$LINENO"; then : 3445 3575 ac_cv_lib_wsock32_puts=yes 3446 3576 else 3447 echo "$as_me: failed program was:" >&5 3448 sed 's/^/| /' conftest.$ac_ext >&5 3449 3450 ac_cv_lib_wsock32_puts=no 3451 fi 3452 3453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3454 conftest$ac_exeext conftest.$ac_ext 3577 ac_cv_lib_wsock32_puts=no 3578 fi 3579 rm -f core conftest.err conftest.$ac_objext \ 3580 conftest$ac_exeext conftest.$ac_ext 3455 3581 LIBS=$ac_check_lib_save_LIBS 3456 3582 fi 3457 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&53458 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; }3459 if test $ac_cv_lib_wsock32_puts = yes; then3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 3584 $as_echo "$ac_cv_lib_wsock32_puts" >&6; } 3585 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 3460 3586 cat >>confdefs.h <<_ACEOF 3461 3587 #define HAVE_LIBWSOCK32 1 … … 3466 3592 fi 3467 3593 3468 3469 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3470 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 3471 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 3472 echo $ECHO_N "(cached) $ECHO_C" >&6 3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 3595 $as_echo_n "checking for puts in -lws2_32... " >&6; } 3596 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 3597 $as_echo_n "(cached) " >&6 3473 3598 else 3474 3599 ac_check_lib_save_LIBS=$LIBS 3475 3600 LIBS="-lws2_32 $LIBS" 3476 cat >conftest.$ac_ext <<_ACEOF 3477 /* confdefs.h. */ 3478 _ACEOF 3479 cat confdefs.h >>conftest.$ac_ext 3480 cat >>conftest.$ac_ext <<_ACEOF 3601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3481 3602 /* end confdefs.h. */ 3482 3603 … … 3496 3617 } 3497 3618 _ACEOF 3498 rm -f conftest.$ac_objext conftest$ac_exeext 3499 if { (ac_try="$ac_link" 3500 case "(($ac_try" in 3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3502 *) ac_try_echo=$ac_try;; 3503 esac 3504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3505 (eval "$ac_link") 2>conftest.er1 3506 ac_status=$? 3507 grep -v '^ *+' conftest.er1 >conftest.err 3508 rm -f conftest.er1 3509 cat conftest.err >&5 3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3511 (exit $ac_status); } && { 3512 test -z "$ac_c_werror_flag" || 3513 test ! -s conftest.err 3514 } && test -s conftest$ac_exeext && 3515 $as_test_x conftest$ac_exeext; then 3619 if ac_fn_c_try_link "$LINENO"; then : 3516 3620 ac_cv_lib_ws2_32_puts=yes 3517 3621 else 3518 echo "$as_me: failed program was:" >&5 3519 sed 's/^/| /' conftest.$ac_ext >&5 3520 3521 ac_cv_lib_ws2_32_puts=no 3522 fi 3523 3524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3525 conftest$ac_exeext conftest.$ac_ext 3622 ac_cv_lib_ws2_32_puts=no 3623 fi 3624 rm -f core conftest.err conftest.$ac_objext \ 3625 conftest$ac_exeext conftest.$ac_ext 3526 3626 LIBS=$ac_check_lib_save_LIBS 3527 3627 fi 3528 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&53529 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; }3530 if test $ac_cv_lib_ws2_32_puts = yes; then3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 3629 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 3630 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 3531 3631 cat >>confdefs.h <<_ACEOF 3532 3632 #define HAVE_LIBWS2_32 1 … … 3537 3637 fi 3538 3638 3539 3540 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3541 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 3542 if test "${ac_cv_lib_ole32_puts+set}" = set; then 3543 echo $ECHO_N "(cached) $ECHO_C" >&6 3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 3640 $as_echo_n "checking for puts in -lole32... " >&6; } 3641 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 3642 $as_echo_n "(cached) " >&6 3544 3643 else 3545 3644 ac_check_lib_save_LIBS=$LIBS 3546 3645 LIBS="-lole32 $LIBS" 3547 cat >conftest.$ac_ext <<_ACEOF 3548 /* confdefs.h. */ 3549 _ACEOF 3550 cat confdefs.h >>conftest.$ac_ext 3551 cat >>conftest.$ac_ext <<_ACEOF 3646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3552 3647 /* end confdefs.h. */ 3553 3648 … … 3567 3662 } 3568 3663 _ACEOF 3569 rm -f conftest.$ac_objext conftest$ac_exeext 3570 if { (ac_try="$ac_link" 3571 case "(($ac_try" in 3572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3573 *) ac_try_echo=$ac_try;; 3574 esac 3575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3576 (eval "$ac_link") 2>conftest.er1 3577 ac_status=$? 3578 grep -v '^ *+' conftest.er1 >conftest.err 3579 rm -f conftest.er1 3580 cat conftest.err >&5 3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3582 (exit $ac_status); } && { 3583 test -z "$ac_c_werror_flag" || 3584 test ! -s conftest.err 3585 } && test -s conftest$ac_exeext && 3586 $as_test_x conftest$ac_exeext; then 3664 if ac_fn_c_try_link "$LINENO"; then : 3587 3665 ac_cv_lib_ole32_puts=yes 3588 3666 else 3589 echo "$as_me: failed program was:" >&5 3590 sed 's/^/| /' conftest.$ac_ext >&5 3591 3592 ac_cv_lib_ole32_puts=no 3593 fi 3594 3595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3596 conftest$ac_exeext conftest.$ac_ext 3667 ac_cv_lib_ole32_puts=no 3668 fi 3669 rm -f core conftest.err conftest.$ac_objext \ 3670 conftest$ac_exeext conftest.$ac_ext 3597 3671 LIBS=$ac_check_lib_save_LIBS 3598 3672 fi 3599 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&53600 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; }3601 if test $ac_cv_lib_ole32_puts = yes; then3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 3674 $as_echo "$ac_cv_lib_ole32_puts" >&6; } 3675 if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 3602 3676 cat >>confdefs.h <<_ACEOF 3603 3677 #define HAVE_LIBOLE32 1 … … 3608 3682 fi 3609 3683 3610 3611 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3612 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 3613 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3614 echo $ECHO_N "(cached) $ECHO_C" >&6 3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 3685 $as_echo_n "checking for puts in -lwinmm... " >&6; } 3686 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 3687 $as_echo_n "(cached) " >&6 3615 3688 else 3616 3689 ac_check_lib_save_LIBS=$LIBS 3617 3690 LIBS="-lwinmm $LIBS" 3618 cat >conftest.$ac_ext <<_ACEOF 3619 /* confdefs.h. */ 3620 _ACEOF 3621 cat confdefs.h >>conftest.$ac_ext 3622 cat >>conftest.$ac_ext <<_ACEOF 3691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3623 3692 /* end confdefs.h. */ 3624 3693 … … 3638 3707 } 3639 3708 _ACEOF 3640 rm -f conftest.$ac_objext conftest$ac_exeext 3641 if { (ac_try="$ac_link" 3642 case "(($ac_try" in 3643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3644 *) ac_try_echo=$ac_try;; 3645 esac 3646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3647 (eval "$ac_link") 2>conftest.er1 3648 ac_status=$? 3649 grep -v '^ *+' conftest.er1 >conftest.err 3650 rm -f conftest.er1 3651 cat conftest.err >&5 3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3653 (exit $ac_status); } && { 3654 test -z "$ac_c_werror_flag" || 3655 test ! -s conftest.err 3656 } && test -s conftest$ac_exeext && 3657 $as_test_x conftest$ac_exeext; then 3709 if ac_fn_c_try_link "$LINENO"; then : 3658 3710 ac_cv_lib_winmm_puts=yes 3659 3711 else 3660 echo "$as_me: failed program was:" >&5 3661 sed 's/^/| /' conftest.$ac_ext >&5 3662 3663 ac_cv_lib_winmm_puts=no 3664 fi 3665 3666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3667 conftest$ac_exeext conftest.$ac_ext 3712 ac_cv_lib_winmm_puts=no 3713 fi 3714 rm -f core conftest.err conftest.$ac_objext \ 3715 conftest$ac_exeext conftest.$ac_ext 3668 3716 LIBS=$ac_check_lib_save_LIBS 3669 3717 fi 3670 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&53671 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; }3672 if test $ac_cv_lib_winmm_puts = yes; then3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 3719 $as_echo "$ac_cv_lib_winmm_puts" >&6; } 3720 if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 3673 3721 cat >>confdefs.h <<_ACEOF 3674 3722 #define HAVE_LIBWINMM 1 … … 3679 3727 fi 3680 3728 3681 3682 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3683 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 3684 if test "${ac_cv_lib_socket_puts+set}" = set; then 3685 echo $ECHO_N "(cached) $ECHO_C" >&6 3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 3730 $as_echo_n "checking for puts in -lsocket... " >&6; } 3731 if test "${ac_cv_lib_socket_puts+set}" = set; then : 3732 $as_echo_n "(cached) " >&6 3686 3733 else 3687 3734 ac_check_lib_save_LIBS=$LIBS 3688 3735 LIBS="-lsocket $LIBS" 3689 cat >conftest.$ac_ext <<_ACEOF 3690 /* confdefs.h. */ 3691 _ACEOF 3692 cat confdefs.h >>conftest.$ac_ext 3693 cat >>conftest.$ac_ext <<_ACEOF 3736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3694 3737 /* end confdefs.h. */ 3695 3738 … … 3709 3752 } 3710 3753 _ACEOF 3711 rm -f conftest.$ac_objext conftest$ac_exeext 3712 if { (ac_try="$ac_link" 3713 case "(($ac_try" in 3714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3715 *) ac_try_echo=$ac_try;; 3716 esac 3717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3718 (eval "$ac_link") 2>conftest.er1 3719 ac_status=$? 3720 grep -v '^ *+' conftest.er1 >conftest.err 3721 rm -f conftest.er1 3722 cat conftest.err >&5 3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3724 (exit $ac_status); } && { 3725 test -z "$ac_c_werror_flag" || 3726 test ! -s conftest.err 3727 } && test -s conftest$ac_exeext && 3728 $as_test_x conftest$ac_exeext; then 3754 if ac_fn_c_try_link "$LINENO"; then : 3729 3755 ac_cv_lib_socket_puts=yes 3730 3756 else 3731 echo "$as_me: failed program was:" >&5 3732 sed 's/^/| /' conftest.$ac_ext >&5 3733 3734 ac_cv_lib_socket_puts=no 3735 fi 3736 3737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3738 conftest$ac_exeext conftest.$ac_ext 3757 ac_cv_lib_socket_puts=no 3758 fi 3759 rm -f core conftest.err conftest.$ac_objext \ 3760 conftest$ac_exeext conftest.$ac_ext 3739 3761 LIBS=$ac_check_lib_save_LIBS 3740 3762 fi 3741 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&53742 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; }3743 if test $ac_cv_lib_socket_puts = yes; then3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 3764 $as_echo "$ac_cv_lib_socket_puts" >&6; } 3765 if test "x$ac_cv_lib_socket_puts" = x""yes; then : 3744 3766 cat >>confdefs.h <<_ACEOF 3745 3767 #define HAVE_LIBSOCKET 1 … … 3750 3772 fi 3751 3773 3752 3753 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3754 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 3755 if test "${ac_cv_lib_rt_puts+set}" = set; then 3756 echo $ECHO_N "(cached) $ECHO_C" >&6 3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 3775 $as_echo_n "checking for puts in -lrt... " >&6; } 3776 if test "${ac_cv_lib_rt_puts+set}" = set; then : 3777 $as_echo_n "(cached) " >&6 3757 3778 else 3758 3779 ac_check_lib_save_LIBS=$LIBS 3759 3780 LIBS="-lrt $LIBS" 3760 cat >conftest.$ac_ext <<_ACEOF 3761 /* confdefs.h. */ 3762 _ACEOF 3763 cat confdefs.h >>conftest.$ac_ext 3764 cat >>conftest.$ac_ext <<_ACEOF 3781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3765 3782 /* end confdefs.h. */ 3766 3783 … … 3780 3797 } 3781 3798 _ACEOF 3782 rm -f conftest.$ac_objext conftest$ac_exeext 3783 if { (ac_try="$ac_link" 3784 case "(($ac_try" in 3785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3786 *) ac_try_echo=$ac_try;; 3787 esac 3788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3789 (eval "$ac_link") 2>conftest.er1 3790 ac_status=$? 3791 grep -v '^ *+' conftest.er1 >conftest.err 3792 rm -f conftest.er1 3793 cat conftest.err >&5 3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3795 (exit $ac_status); } && { 3796 test -z "$ac_c_werror_flag" || 3797 test ! -s conftest.err 3798 } && test -s conftest$ac_exeext && 3799 $as_test_x conftest$ac_exeext; then 3799 if ac_fn_c_try_link "$LINENO"; then : 3800 3800 ac_cv_lib_rt_puts=yes 3801 3801 else 3802 echo "$as_me: failed program was:" >&5 3803 sed 's/^/| /' conftest.$ac_ext >&5 3804 3805 ac_cv_lib_rt_puts=no 3806 fi 3807 3808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3809 conftest$ac_exeext conftest.$ac_ext 3802 ac_cv_lib_rt_puts=no 3803 fi 3804 rm -f core conftest.err conftest.$ac_objext \ 3805 conftest$ac_exeext conftest.$ac_ext 3810 3806 LIBS=$ac_check_lib_save_LIBS 3811 3807 fi 3812 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&53813 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; }3814 if test $ac_cv_lib_rt_puts = yes; then3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 3809 $as_echo "$ac_cv_lib_rt_puts" >&6; } 3810 if test "x$ac_cv_lib_rt_puts" = x""yes; then : 3815 3811 cat >>confdefs.h <<_ACEOF 3816 3812 #define HAVE_LIBRT 1 … … 3821 3817 fi 3822 3818 3823 3824 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3825 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 3826 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3827 echo $ECHO_N "(cached) $ECHO_C" >&6 3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 3820 $as_echo_n "checking for puts in -lnsl... " >&6; } 3821 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 3822 $as_echo_n "(cached) " >&6 3828 3823 else 3829 3824 ac_check_lib_save_LIBS=$LIBS 3830 3825 LIBS="-lnsl $LIBS" 3831 cat >conftest.$ac_ext <<_ACEOF 3832 /* confdefs.h. */ 3833 _ACEOF 3834 cat confdefs.h >>conftest.$ac_ext 3835 cat >>conftest.$ac_ext <<_ACEOF 3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3836 3827 /* end confdefs.h. */ 3837 3828 … … 3851 3842 } 3852 3843 _ACEOF 3853 rm -f conftest.$ac_objext conftest$ac_exeext 3854 if { (ac_try="$ac_link" 3855 case "(($ac_try" in 3856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3857 *) ac_try_echo=$ac_try;; 3858 esac 3859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3860 (eval "$ac_link") 2>conftest.er1 3861 ac_status=$? 3862 grep -v '^ *+' conftest.er1 >conftest.err 3863 rm -f conftest.er1 3864 cat conftest.err >&5 3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3866 (exit $ac_status); } && { 3867 test -z "$ac_c_werror_flag" || 3868 test ! -s conftest.err 3869 } && test -s conftest$ac_exeext && 3870 $as_test_x conftest$ac_exeext; then 3844 if ac_fn_c_try_link "$LINENO"; then : 3871 3845 ac_cv_lib_nsl_puts=yes 3872 3846 else 3873 echo "$as_me: failed program was:" >&5 3874 sed 's/^/| /' conftest.$ac_ext >&5 3875 3876 ac_cv_lib_nsl_puts=no 3877 fi 3878 3879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3880 conftest$ac_exeext conftest.$ac_ext 3847 ac_cv_lib_nsl_puts=no 3848 fi 3849 rm -f core conftest.err conftest.$ac_objext \ 3850 conftest$ac_exeext conftest.$ac_ext 3881 3851 LIBS=$ac_check_lib_save_LIBS 3882 3852 fi 3883 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&53884 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; }3885 if test $ac_cv_lib_nsl_puts = yes; then3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 3854 $as_echo "$ac_cv_lib_nsl_puts" >&6; } 3855 if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 3886 3856 cat >>confdefs.h <<_ACEOF 3887 3857 #define HAVE_LIBNSL 1 … … 3892 3862 fi 3893 3863 3894 3895 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3896 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3897 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3898 echo $ECHO_N "(cached) $ECHO_C" >&6 3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3865 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3866 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3867 $as_echo_n "(cached) " >&6 3899 3868 else 3900 3869 ac_check_lib_save_LIBS=$LIBS 3901 3870 LIBS="-luuid $LIBS" 3902 cat >conftest.$ac_ext <<_ACEOF 3903 /* confdefs.h. */ 3904 _ACEOF 3905 cat confdefs.h >>conftest.$ac_ext 3906 cat >>conftest.$ac_ext <<_ACEOF 3871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3907 3872 /* end confdefs.h. */ 3908 3873 … … 3922 3887 } 3923 3888 _ACEOF 3924 rm -f conftest.$ac_objext conftest$ac_exeext 3925 if { (ac_try="$ac_link" 3926 case "(($ac_try" in 3927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3928 *) ac_try_echo=$ac_try;; 3929 esac 3930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3931 (eval "$ac_link") 2>conftest.er1 3932 ac_status=$? 3933 grep -v '^ *+' conftest.er1 >conftest.err 3934 rm -f conftest.er1 3935 cat conftest.err >&5 3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3937 (exit $ac_status); } && { 3938 test -z "$ac_c_werror_flag" || 3939 test ! -s conftest.err 3940 } && test -s conftest$ac_exeext && 3941 $as_test_x conftest$ac_exeext; then 3889 if ac_fn_c_try_link "$LINENO"; then : 3942 3890 ac_cv_lib_uuid_uuid_generate=yes 3943 3891 else 3944 echo "$as_me: failed program was:" >&5 3945 sed 's/^/| /' conftest.$ac_ext >&5 3946 3947 ac_cv_lib_uuid_uuid_generate=no 3948 fi 3949 3950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3951 conftest$ac_exeext conftest.$ac_ext 3892 ac_cv_lib_uuid_uuid_generate=no 3893 fi 3894 rm -f core conftest.err conftest.$ac_objext \ 3895 conftest$ac_exeext conftest.$ac_ext 3952 3896 LIBS=$ac_check_lib_save_LIBS 3953 3897 fi 3954 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53955 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }3956 if test $ac_cv_lib_uuid_uuid_generate = yes; then3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3899 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3900 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 3957 3901 cat >>confdefs.h <<_ACEOF 3958 3902 #define HAVE_LIBUUID 1 … … 3963 3907 fi 3964 3908 3965 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53966 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; }3967 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3968 echo $ECHO_N "(cached) $ECHO_C" >&63909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3910 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3911 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3912 $as_echo_n "(cached) " >&6 3969 3913 else 3970 3914 ac_check_lib_save_LIBS=$LIBS 3971 3915 LIBS="-luuid $LIBS" 3972 cat >conftest.$ac_ext <<_ACEOF 3973 /* confdefs.h. */ 3974 _ACEOF 3975 cat confdefs.h >>conftest.$ac_ext 3976 cat >>conftest.$ac_ext <<_ACEOF 3916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3977 3917 /* end confdefs.h. */ 3978 3918 … … 3992 3932 } 3993 3933 _ACEOF 3994 rm -f conftest.$ac_objext conftest$ac_exeext 3995 if { (ac_try="$ac_link" 3996 case "(($ac_try" in 3997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3998 *) ac_try_echo=$ac_try;; 3999 esac 4000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4001 (eval "$ac_link") 2>conftest.er1 4002 ac_status=$? 4003 grep -v '^ *+' conftest.er1 >conftest.err 4004 rm -f conftest.er1 4005 cat conftest.err >&5 4006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4007 (exit $ac_status); } && { 4008 test -z "$ac_c_werror_flag" || 4009 test ! -s conftest.err 4010 } && test -s conftest$ac_exeext && 4011 $as_test_x conftest$ac_exeext; then 3934 if ac_fn_c_try_link "$LINENO"; then : 4012 3935 ac_cv_lib_uuid_uuid_generate=yes 4013 3936 else 4014 echo "$as_me: failed program was:" >&5 4015 sed 's/^/| /' conftest.$ac_ext >&5 4016 4017 ac_cv_lib_uuid_uuid_generate=no 4018 fi 4019 4020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4021 conftest$ac_exeext conftest.$ac_ext 3937 ac_cv_lib_uuid_uuid_generate=no 3938 fi 3939 rm -f core conftest.err conftest.$ac_objext \ 3940 conftest$ac_exeext conftest.$ac_ext 4022 3941 LIBS=$ac_check_lib_save_LIBS 4023 3942 fi 4024 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&54025 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }4026 if test $ac_cv_lib_uuid_uuid_generate = yes; then3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3944 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3945 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 4027 3946 ac_has_uuid_lib=1 4028 3947 fi 4029 3948 4030 3949 4031 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&54032 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; }3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 3951 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 4033 3952 cat >>confdefs.h <<_ACEOF 4034 3953 #define PJ_M_NAME "$target_cpu" … … 4036 3955 4037 3956 4038 { echo "$as_me:$LINENO: checking memory alignment" >&54039 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; }3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 3958 $as_echo_n "checking memory alignment... " >&6; } 4040 3959 case $target in 4041 3960 sparc64-* | ia64-* | x86_64-* ) 4042 cat >>confdefs.h <<\_ACEOF 4043 #define PJ_POOL_ALIGNMENT 8 4044 _ACEOF 4045 4046 { echo "$as_me:$LINENO: result: 8 bytes" >&5 4047 echo "${ECHO_T}8 bytes" >&6; } 3961 $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 3962 3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 3964 $as_echo "8 bytes" >&6; } 4048 3965 ;; 4049 3966 * ) 4050 cat >>confdefs.h <<\_ACEOF 4051 #define PJ_POOL_ALIGNMENT 4 4052 _ACEOF 4053 4054 { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 4055 echo "${ECHO_T}4 bytes (default)" >&6; } 3967 $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 3968 3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 3970 $as_echo "4 bytes (default)" >&6; } 4056 3971 ;; 4057 3972 esac … … 4063 3978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4064 3979 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4065 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&54066 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3981 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4067 3982 # On Suns, sometimes $CPP names a directory. 4068 3983 if test -n "$CPP" && test -d "$CPP"; then … … 4070 3985 fi 4071 3986 if test -z "$CPP"; then 4072 if test "${ac_cv_prog_CPP+set}" = set; then 4073 echo $ECHO_N "(cached) $ECHO_C" >&63987 if test "${ac_cv_prog_CPP+set}" = set; then : 3988 $as_echo_n "(cached) " >&6 4074 3989 else 4075 3990 # Double quotes because CPP needs to be expanded … … 4085 4000 # On the NeXT, cc -E runs the code through the compiler's parser, 4086 4001 # not just through cpp. "Syntax error" is here to catch this case. 4087 cat >conftest.$ac_ext <<_ACEOF 4088 /* confdefs.h. */ 4089 _ACEOF 4090 cat confdefs.h >>conftest.$ac_ext 4091 cat >>conftest.$ac_ext <<_ACEOF 4002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4092 4003 /* end confdefs.h. */ 4093 4004 #ifdef __STDC__ … … 4098 4009 Syntax error 4099 4010 _ACEOF 4100 if { (ac_try="$ac_cpp conftest.$ac_ext" 4101 case "(($ac_try" in 4102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4103 *) ac_try_echo=$ac_try;; 4104 esac 4105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4106 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4107 ac_status=$? 4108 grep -v '^ *+' conftest.er1 >conftest.err 4109 rm -f conftest.er1 4110 cat conftest.err >&5 4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4112 (exit $ac_status); } >/dev/null && { 4113 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4114 test ! -s conftest.err 4115 }; then 4116 : 4117 else 4118 echo "$as_me: failed program was:" >&5 4119 sed 's/^/| /' conftest.$ac_ext >&5 4120 4011 if ac_fn_c_try_cpp "$LINENO"; then : 4012 4013 else 4121 4014 # Broken: fails on valid input. 4122 4015 continue 4123 4016 fi 4124 4125 4017 rm -f conftest.err conftest.$ac_ext 4126 4018 4127 4019 # OK, works on sane cases. Now check whether nonexistent headers 4128 4020 # can be detected and how. 4129 cat >conftest.$ac_ext <<_ACEOF 4130 /* confdefs.h. */ 4131 _ACEOF 4132 cat confdefs.h >>conftest.$ac_ext 4133 cat >>conftest.$ac_ext <<_ACEOF 4021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4134 4022 /* end confdefs.h. */ 4135 4023 #include <ac_nonexistent.h> 4136 4024 _ACEOF 4137 if { (ac_try="$ac_cpp conftest.$ac_ext" 4138 case "(($ac_try" in 4139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4140 *) ac_try_echo=$ac_try;; 4141 esac 4142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4143 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4144 ac_status=$? 4145 grep -v '^ *+' conftest.er1 >conftest.err 4146 rm -f conftest.er1 4147 cat conftest.err >&5 4148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4149 (exit $ac_status); } >/dev/null && { 4150 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4151 test ! -s conftest.err 4152 }; then 4025 if ac_fn_c_try_cpp "$LINENO"; then : 4153 4026 # Broken: success on invalid input. 4154 4027 continue 4155 4028 else 4156 echo "$as_me: failed program was:" >&54157 sed 's/^/| /' conftest.$ac_ext >&54158 4159 4029 # Passes both tests. 4160 4030 ac_preproc_ok=: 4161 4031 break 4162 4032 fi 4163 4164 4033 rm -f conftest.err conftest.$ac_ext 4165 4034 … … 4167 4036 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4168 4037 rm -f conftest.err conftest.$ac_ext 4169 if $ac_preproc_ok; then 4038 if $ac_preproc_ok; then : 4170 4039 break 4171 4040 fi … … 4179 4048 ac_cv_prog_CPP=$CPP 4180 4049 fi 4181 { echo "$as_me:$LINENO: result: $CPP" >&54182 echo "${ECHO_T}$CPP" >&6; }4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4051 $as_echo "$CPP" >&6; } 4183 4052 ac_preproc_ok=false 4184 4053 for ac_c_preproc_warn_flag in '' yes … … 4190 4059 # On the NeXT, cc -E runs the code through the compiler's parser, 4191 4060 # not just through cpp. "Syntax error" is here to catch this case. 4192 cat >conftest.$ac_ext <<_ACEOF 4193 /* confdefs.h. */ 4194 _ACEOF 4195 cat confdefs.h >>conftest.$ac_ext 4196 cat >>conftest.$ac_ext <<_ACEOF 4061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4197 4062 /* end confdefs.h. */ 4198 4063 #ifdef __STDC__ … … 4203 4068 Syntax error 4204 4069 _ACEOF 4205 if { (ac_try="$ac_cpp conftest.$ac_ext" 4206 case "(($ac_try" in 4207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4208 *) ac_try_echo=$ac_try;; 4209 esac 4210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4211 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4212 ac_status=$? 4213 grep -v '^ *+' conftest.er1 >conftest.err 4214 rm -f conftest.er1 4215 cat conftest.err >&5 4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4217 (exit $ac_status); } >/dev/null && { 4218 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4219 test ! -s conftest.err 4220 }; then 4221 : 4222 else 4223 echo "$as_me: failed program was:" >&5 4224 sed 's/^/| /' conftest.$ac_ext >&5 4225 4070 if ac_fn_c_try_cpp "$LINENO"; then : 4071 4072 else 4226 4073 # Broken: fails on valid input. 4227 4074 continue 4228 4075 fi 4229 4230 4076 rm -f conftest.err conftest.$ac_ext 4231 4077 4232 4078 # OK, works on sane cases. Now check whether nonexistent headers 4233 4079 # can be detected and how. 4234 cat >conftest.$ac_ext <<_ACEOF 4235 /* confdefs.h. */ 4236 _ACEOF 4237 cat confdefs.h >>conftest.$ac_ext 4238 cat >>conftest.$ac_ext <<_ACEOF 4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4239 4081 /* end confdefs.h. */ 4240 4082 #include <ac_nonexistent.h> 4241 4083 _ACEOF 4242 if { (ac_try="$ac_cpp conftest.$ac_ext" 4243 case "(($ac_try" in 4244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4245 *) ac_try_echo=$ac_try;; 4246 esac 4247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4248 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4249 ac_status=$? 4250 grep -v '^ *+' conftest.er1 >conftest.err 4251 rm -f conftest.er1 4252 cat conftest.err >&5 4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4254 (exit $ac_status); } >/dev/null && { 4255 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4256 test ! -s conftest.err 4257 }; then 4084 if ac_fn_c_try_cpp "$LINENO"; then : 4258 4085 # Broken: success on invalid input. 4259 4086 continue 4260 4087 else 4261 echo "$as_me: failed program was:" >&54262 sed 's/^/| /' conftest.$ac_ext >&54263 4264 4088 # Passes both tests. 4265 4089 ac_preproc_ok=: 4266 4090 break 4267 4091 fi 4268 4269 4092 rm -f conftest.err conftest.$ac_ext 4270 4093 … … 4272 4095 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4273 4096 rm -f conftest.err conftest.$ac_ext 4274 if $ac_preproc_ok; then 4275 : 4276 else 4277 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4278 See \`config.log' for more details." >&5 4279 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4280 See \`config.log' for more details." >&2;} 4281 { (exit 1); exit 1; }; } 4097 if $ac_preproc_ok; then : 4098 4099 else 4100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4102 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4103 See \`config.log' for more details." "$LINENO" 5; } 4282 4104 fi 4283 4105 … … 4289 4111 4290 4112 4291 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4292 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4293 if test "${ac_cv_path_GREP+set}" = set; then 4294 echo $ECHO_N "(cached) $ECHO_C" >&6 4295 else 4296 # Extract the first word of "grep ggrep" to use in msg output 4297 if test -z "$GREP"; then 4298 set dummy grep ggrep; ac_prog_name=$2 4299 if test "${ac_cv_path_GREP+set}" = set; then 4300 echo $ECHO_N "(cached) $ECHO_C" >&6 4301 else 4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4114 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4115 if test "${ac_cv_path_GREP+set}" = set; then : 4116 $as_echo_n "(cached) " >&6 4117 else 4118 if test -z "$GREP"; then 4302 4119 ac_path_GREP_found=false 4303 # Loop through the user's path and test for each of PROGNAME-LIST4304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4120 # Loop through the user's path and test for each of PROGNAME-LIST 4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4305 4122 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4306 4123 do 4307 4124 IFS=$as_save_IFS 4308 4125 test -z "$as_dir" && as_dir=. 4309 for ac_prog in grep ggrep; do4310 for ac_exec_ext in '' $ac_executable_extensions; do4311 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4312 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4313 4126 for ac_prog in grep ggrep; do 4127 for ac_exec_ext in '' $ac_executable_extensions; do 4128 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4129 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4130 # Check for GNU ac_path_GREP and select it if it is found. 4314 4131 # Check for GNU $ac_path_GREP 4315 4132 case `"$ac_path_GREP" --version 2>&1` in … … 4318 4135 *) 4319 4136 ac_count=0 4320 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4137 $as_echo_n 0123456789 >"conftest.in" 4321 4138 while : 4322 4139 do … … 4324 4141 mv "conftest.tmp" "conftest.in" 4325 4142 cp "conftest.in" "conftest.nl" 4326 echo 'GREP' >> "conftest.nl"4143 $as_echo 'GREP' >> "conftest.nl" 4327 4144 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4328 4145 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4329 a c_count=`expr $ac_count + 1`4146 as_fn_arith $ac_count + 1 && ac_count=$as_val 4330 4147 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4331 4148 # Best one so far, save it but keep looking for a better one … … 4339 4156 esac 4340 4157 4341 4342 $ac_path_GREP_found && break 34158 $ac_path_GREP_found && break 3 4159 done 4343 4160 done 4344 done 4345 4346 done 4161 done 4347 4162 IFS=$as_save_IFS 4348 4349 4350 fi 4351 4352 GREP="$ac_cv_path_GREP" 4353 if test -z "$GREP"; then 4354 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4355 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4356 { (exit 1); exit 1; }; } 4357 fi 4358 4163 if test -z "$ac_cv_path_GREP"; then 4164 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4165 fi 4359 4166 else 4360 4167 ac_cv_path_GREP=$GREP 4361 4168 fi 4362 4169 4363 4364 fi 4365 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4366 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4170 fi 4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4172 $as_echo "$ac_cv_path_GREP" >&6; } 4367 4173 GREP="$ac_cv_path_GREP" 4368 4174 4369 4175 4370 { echo "$as_me:$LINENO: checking for egrep" >&54371 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4372 if test "${ac_cv_path_EGREP+set}" = set; then 4373 echo $ECHO_N "(cached) $ECHO_C" >&64176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4177 $as_echo_n "checking for egrep... " >&6; } 4178 if test "${ac_cv_path_EGREP+set}" = set; then : 4179 $as_echo_n "(cached) " >&6 4374 4180 else 4375 4181 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4376 4182 then ac_cv_path_EGREP="$GREP -E" 4377 4183 else 4378 # Extract the first word of "egrep" to use in msg output 4379 if test -z "$EGREP"; then 4380 set dummy egrep; ac_prog_name=$2 4381 if test "${ac_cv_path_EGREP+set}" = set; then 4382 echo $ECHO_N "(cached) $ECHO_C" >&6 4383 else 4184 if test -z "$EGREP"; then 4384 4185 ac_path_EGREP_found=false 4385 # Loop through the user's path and test for each of PROGNAME-LIST4386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4186 # Loop through the user's path and test for each of PROGNAME-LIST 4187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4387 4188 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4388 4189 do 4389 4190 IFS=$as_save_IFS 4390 4191 test -z "$as_dir" && as_dir=. 4391 for ac_prog in egrep; do4392 for ac_exec_ext in '' $ac_executable_extensions; do4393 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4394 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4395 4192 for ac_prog in egrep; do 4193 for ac_exec_ext in '' $ac_executable_extensions; do 4194 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4195 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4196 # Check for GNU ac_path_EGREP and select it if it is found. 4396 4197 # Check for GNU $ac_path_EGREP 4397 4198 case `"$ac_path_EGREP" --version 2>&1` in … … 4400 4201 *) 4401 4202 ac_count=0 4402 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4203 $as_echo_n 0123456789 >"conftest.in" 4403 4204 while : 4404 4205 do … … 4406 4207 mv "conftest.tmp" "conftest.in" 4407 4208 cp "conftest.in" "conftest.nl" 4408 echo 'EGREP' >> "conftest.nl"4209 $as_echo 'EGREP' >> "conftest.nl" 4409 4210 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4410 4211 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4411 a c_count=`expr $ac_count + 1`4212 as_fn_arith $ac_count + 1 && ac_count=$as_val 4412 4213 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4413 4214 # Best one so far, save it but keep looking for a better one … … 4421 4222 esac 4422 4223 4423 4424 $ac_path_EGREP_found && break 34224 $ac_path_EGREP_found && break 3 4225 done 4425 4226 done 4426 done 4427 4428 done 4227 done 4429 4228 IFS=$as_save_IFS 4430 4431 4432 fi 4433 4434 EGREP="$ac_cv_path_EGREP" 4435 if test -z "$EGREP"; then 4436 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4437 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4438 { (exit 1); exit 1; }; } 4439 fi 4440 4229 if test -z "$ac_cv_path_EGREP"; then 4230 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4231 fi 4441 4232 else 4442 4233 ac_cv_path_EGREP=$EGREP 4443 4234 fi 4444 4235 4445 4446 4236 fi 4447 4237 fi 4448 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54449 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4239 $as_echo "$ac_cv_path_EGREP" >&6; } 4450 4240 EGREP="$ac_cv_path_EGREP" 4451 4241 4452 4242 4453 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4454 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4455 if test "${ac_cv_header_stdc+set}" = set; then 4456 echo $ECHO_N "(cached) $ECHO_C" >&6 4457 else 4458 cat >conftest.$ac_ext <<_ACEOF 4459 /* confdefs.h. */ 4460 _ACEOF 4461 cat confdefs.h >>conftest.$ac_ext 4462 cat >>conftest.$ac_ext <<_ACEOF 4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4244 $as_echo_n "checking for ANSI C header files... " >&6; } 4245 if test "${ac_cv_header_stdc+set}" = set; then : 4246 $as_echo_n "(cached) " >&6 4247 else 4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4463 4249 /* end confdefs.h. */ 4464 4250 #include <stdlib.h> … … 4475 4261 } 4476 4262 _ACEOF 4477 rm -f conftest.$ac_objext 4478 if { (ac_try="$ac_compile" 4479 case "(($ac_try" in 4480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4481 *) ac_try_echo=$ac_try;; 4482 esac 4483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4484 (eval "$ac_compile") 2>conftest.er1 4485 ac_status=$? 4486 grep -v '^ *+' conftest.er1 >conftest.err 4487 rm -f conftest.er1 4488 cat conftest.err >&5 4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4490 (exit $ac_status); } && { 4491 test -z "$ac_c_werror_flag" || 4492 test ! -s conftest.err 4493 } && test -s conftest.$ac_objext; then 4263 if ac_fn_c_try_compile "$LINENO"; then : 4494 4264 ac_cv_header_stdc=yes 4495 4265 else 4496 echo "$as_me: failed program was:" >&5 4497 sed 's/^/| /' conftest.$ac_ext >&5 4498 4499 ac_cv_header_stdc=no 4500 fi 4501 4266 ac_cv_header_stdc=no 4267 fi 4502 4268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4503 4269 4504 4270 if test $ac_cv_header_stdc = yes; then 4505 4271 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4506 cat >conftest.$ac_ext <<_ACEOF 4507 /* confdefs.h. */ 4508 _ACEOF 4509 cat confdefs.h >>conftest.$ac_ext 4510 cat >>conftest.$ac_ext <<_ACEOF 4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4511 4273 /* end confdefs.h. */ 4512 4274 #include <string.h> … … 4514 4276 _ACEOF 4515 4277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4516 $EGREP "memchr" >/dev/null 2>&1; then 4517 : 4278 $EGREP "memchr" >/dev/null 2>&1; then : 4279 4518 4280 else 4519 4281 ac_cv_header_stdc=no 4520 4282 fi 4521 rm -f -rconftest*4283 rm -f conftest* 4522 4284 4523 4285 fi … … 4525 4287 if test $ac_cv_header_stdc = yes; then 4526 4288 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4527 cat >conftest.$ac_ext <<_ACEOF 4528 /* confdefs.h. */ 4529 _ACEOF 4530 cat confdefs.h >>conftest.$ac_ext 4531 cat >>conftest.$ac_ext <<_ACEOF 4289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4532 4290 /* end confdefs.h. */ 4533 4291 #include <stdlib.h> … … 4535 4293 _ACEOF 4536 4294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4537 $EGREP "free" >/dev/null 2>&1; then 4538 : 4295 $EGREP "free" >/dev/null 2>&1; then : 4296 4539 4297 else 4540 4298 ac_cv_header_stdc=no 4541 4299 fi 4542 rm -f -rconftest*4300 rm -f conftest* 4543 4301 4544 4302 fi … … 4546 4304 if test $ac_cv_header_stdc = yes; then 4547 4305 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4548 if test "$cross_compiling" = yes; then 4306 if test "$cross_compiling" = yes; then : 4549 4307 : 4550 4308 else 4551 cat >conftest.$ac_ext <<_ACEOF 4552 /* confdefs.h. */ 4553 _ACEOF 4554 cat confdefs.h >>conftest.$ac_ext 4555 cat >>conftest.$ac_ext <<_ACEOF 4309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4556 4310 /* end confdefs.h. */ 4557 4311 #include <ctype.h> … … 4580 4334 } 4581 4335 _ACEOF 4582 rm -f conftest$ac_exeext 4583 if { (ac_try="$ac_link" 4584 case "(($ac_try" in 4585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4586 *) ac_try_echo=$ac_try;; 4587 esac 4588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4589 (eval "$ac_link") 2>&5 4590 ac_status=$? 4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4592 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4593 { (case "(($ac_try" in 4594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4595 *) ac_try_echo=$ac_try;; 4596 esac 4597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4598 (eval "$ac_try") 2>&5 4599 ac_status=$? 4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4601 (exit $ac_status); }; }; then 4602 : 4603 else 4604 echo "$as_me: program exited with status $ac_status" >&5 4605 echo "$as_me: failed program was:" >&5 4606 sed 's/^/| /' conftest.$ac_ext >&5 4607 4608 ( exit $ac_status ) 4609 ac_cv_header_stdc=no 4610 fi 4611 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4612 fi 4613 4614 4615 fi 4616 fi 4617 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4618 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4336 if ac_fn_c_try_run "$LINENO"; then : 4337 4338 else 4339 ac_cv_header_stdc=no 4340 fi 4341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4342 conftest.$ac_objext conftest.beam conftest.$ac_ext 4343 fi 4344 4345 fi 4346 fi 4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4348 $as_echo "$ac_cv_header_stdc" >&6; } 4619 4349 if test $ac_cv_header_stdc = yes; then 4620 4350 4621 cat >>confdefs.h <<\_ACEOF 4622 #define STDC_HEADERS 1 4623 _ACEOF 4351 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4624 4352 4625 4353 fi 4626 4354 4627 4355 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4356 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4638 4357 inttypes.h stdint.h unistd.h 4639 do 4640 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4641 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4643 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4644 echo $ECHO_N "(cached) $ECHO_C" >&6 4645 else 4646 cat >conftest.$ac_ext <<_ACEOF 4647 /* confdefs.h. */ 4648 _ACEOF 4649 cat confdefs.h >>conftest.$ac_ext 4650 cat >>conftest.$ac_ext <<_ACEOF 4358 do : 4359 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4360 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4361 " 4362 eval as_val=\$$as_ac_Header 4363 if test "x$as_val" = x""yes; then : 4364 cat >>confdefs.h <<_ACEOF 4365 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4366 _ACEOF 4367 4368 fi 4369 4370 done 4371 4372 4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4374 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4375 if test "${ac_cv_c_bigendian+set}" = set; then : 4376 $as_echo_n "(cached) " >&6 4377 else 4378 ac_cv_c_bigendian=unknown 4379 # See if we're dealing with a universal compiler. 4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4651 4381 /* end confdefs.h. */ 4652 $ac_includes_default 4653 4654 #include <$ac_header> 4655 _ACEOF 4656 rm -f conftest.$ac_objext 4657 if { (ac_try="$ac_compile" 4658 case "(($ac_try" in 4659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4660 *) ac_try_echo=$ac_try;; 4661 esac 4662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4663 (eval "$ac_compile") 2>conftest.er1 4664 ac_status=$? 4665 grep -v '^ *+' conftest.er1 >conftest.err 4666 rm -f conftest.er1 4667 cat conftest.err >&5 4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4669 (exit $ac_status); } && { 4670 test -z "$ac_c_werror_flag" || 4671 test ! -s conftest.err 4672 } && test -s conftest.$ac_objext; then 4673 eval "$as_ac_Header=yes" 4674 else 4675 echo "$as_me: failed program was:" >&5 4676 sed 's/^/| /' conftest.$ac_ext >&5 4677 4678 eval "$as_ac_Header=no" 4679 fi 4680 4382 #ifndef __APPLE_CC__ 4383 not a universal capable compiler 4384 #endif 4385 typedef int dummy; 4386 4387 _ACEOF 4388 if ac_fn_c_try_compile "$LINENO"; then : 4389 4390 # Check for potential -arch flags. It is not universal unless 4391 # there are at least two -arch flags with different values. 4392 ac_arch= 4393 ac_prev= 4394 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4395 if test -n "$ac_prev"; then 4396 case $ac_word in 4397 i?86 | x86_64 | ppc | ppc64) 4398 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4399 ac_arch=$ac_word 4400 else 4401 ac_cv_c_bigendian=universal 4402 break 4403 fi 4404 ;; 4405 esac 4406 ac_prev= 4407 elif test "x$ac_word" = "x-arch"; then 4408 ac_prev=arch 4409 fi 4410 done 4411 fi 4681 4412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4682 fi 4683 ac_res=`eval echo '${'$as_ac_Header'}'` 4684 { echo "$as_me:$LINENO: result: $ac_res" >&5 4685 echo "${ECHO_T}$ac_res" >&6; } 4686 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4687 cat >>confdefs.h <<_ACEOF 4688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4689 _ACEOF 4690 4691 fi 4692 4693 done 4694 4695 4696 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4697 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4698 if test "${ac_cv_c_bigendian+set}" = set; then 4699 echo $ECHO_N "(cached) $ECHO_C" >&6 4700 else 4701 # See if sys/param.h defines the BYTE_ORDER macro. 4702 cat >conftest.$ac_ext <<_ACEOF 4703 /* confdefs.h. */ 4704 _ACEOF 4705 cat confdefs.h >>conftest.$ac_ext 4706 cat >>conftest.$ac_ext <<_ACEOF 4413 if test $ac_cv_c_bigendian = unknown; then 4414 # See if sys/param.h defines the BYTE_ORDER macro. 4415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4707 4416 /* end confdefs.h. */ 4708 4417 #include <sys/types.h> 4709 #include <sys/param.h>4418 #include <sys/param.h> 4710 4419 4711 4420 int 4712 4421 main () 4713 4422 { 4714 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4715 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4716 bogus endian macros 4717 #endif 4423 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4424 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4425 && LITTLE_ENDIAN) 4426 bogus endian macros 4427 #endif 4718 4428 4719 4429 ; … … 4721 4431 } 4722 4432 _ACEOF 4723 rm -f conftest.$ac_objext 4724 if { (ac_try="$ac_compile" 4725 case "(($ac_try" in 4726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4727 *) ac_try_echo=$ac_try;; 4728 esac 4729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4730 (eval "$ac_compile") 2>conftest.er1 4731 ac_status=$? 4732 grep -v '^ *+' conftest.er1 >conftest.err 4733 rm -f conftest.er1 4734 cat conftest.err >&5 4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4736 (exit $ac_status); } && { 4737 test -z "$ac_c_werror_flag" || 4738 test ! -s conftest.err 4739 } && test -s conftest.$ac_objext; then 4433 if ac_fn_c_try_compile "$LINENO"; then : 4740 4434 # It does; now see whether it defined to BIG_ENDIAN or not. 4741 cat >conftest.$ac_ext <<_ACEOF 4742 /* confdefs.h. */ 4743 _ACEOF 4744 cat confdefs.h >>conftest.$ac_ext 4745 cat >>conftest.$ac_ext <<_ACEOF 4435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4746 4436 /* end confdefs.h. */ 4747 4437 #include <sys/types.h> 4748 #include <sys/param.h>4438 #include <sys/param.h> 4749 4439 4750 4440 int … … 4752 4442 { 4753 4443 #if BYTE_ORDER != BIG_ENDIAN 4754 not big endian4755 #endif4444 not big endian 4445 #endif 4756 4446 4757 4447 ; … … 4759 4449 } 4760 4450 _ACEOF 4761 rm -f conftest.$ac_objext 4762 if { (ac_try="$ac_compile" 4763 case "(($ac_try" in 4764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4765 *) ac_try_echo=$ac_try;; 4766 esac 4767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4768 (eval "$ac_compile") 2>conftest.er1 4769 ac_status=$? 4770 grep -v '^ *+' conftest.er1 >conftest.err 4771 rm -f conftest.er1 4772 cat conftest.err >&5 4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4774 (exit $ac_status); } && { 4775 test -z "$ac_c_werror_flag" || 4776 test ! -s conftest.err 4777 } && test -s conftest.$ac_objext; then 4451 if ac_fn_c_try_compile "$LINENO"; then : 4778 4452 ac_cv_c_bigendian=yes 4779 4453 else 4780 echo "$as_me: failed program was:" >&5 4781 sed 's/^/| /' conftest.$ac_ext >&5 4782 4783 ac_cv_c_bigendian=no 4784 fi 4785 4454 ac_cv_c_bigendian=no 4455 fi 4786 4456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4787 else 4788 echo "$as_me: failed program was:" >&5 4789 sed 's/^/| /' conftest.$ac_ext >&5 4790 4791 # It does not; compile a test program. 4792 if test "$cross_compiling" = yes; then 4793 # try to guess the endianness by grepping values into an object file 4794 ac_cv_c_bigendian=unknown 4795 cat >conftest.$ac_ext <<_ACEOF 4796 /* confdefs.h. */ 4797 _ACEOF 4798 cat confdefs.h >>conftest.$ac_ext 4799 cat >>conftest.$ac_ext <<_ACEOF 4457 fi 4458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4459 fi 4460 if test $ac_cv_c_bigendian = unknown; then 4461 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4800 4463 /* end confdefs.h. */ 4801 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4802 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4803 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 4804 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4805 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4806 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 4464 #include <limits.h> 4465 4807 4466 int 4808 4467 main () 4809 4468 { 4810 _ascii (); _ebcdic (); 4469 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4470 bogus endian macros 4471 #endif 4472 4811 4473 ; 4812 4474 return 0; 4813 4475 } 4814 4476 _ACEOF 4815 rm -f conftest.$ac_objext 4816 if { (ac_try="$ac_compile" 4817 case "(($ac_try" in 4818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4819 *) ac_try_echo=$ac_try;; 4820 esac 4821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4822 (eval "$ac_compile") 2>conftest.er1 4823 ac_status=$? 4824 grep -v '^ *+' conftest.er1 >conftest.err 4825 rm -f conftest.er1 4826 cat conftest.err >&5 4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4828 (exit $ac_status); } && {4829 test -z "$ac_c_werror_flag" || 4830 test ! -s conftest.err 4831 } && test -s conftest.$ac_objext; then 4832 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4477 if ac_fn_c_try_compile "$LINENO"; then : 4478 # It does; now see whether it defined to _BIG_ENDIAN or not. 4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4480 /* end confdefs.h. */ 4481 #include <limits.h> 4482 4483 int 4484 main () 4485 { 4486 #ifndef _BIG_ENDIAN 4487 not big endian 4488 #endif 4489 4490 ; 4491 return 0; 4492 } 4493 _ACEOF 4494 if ac_fn_c_try_compile "$LINENO"; then : 4833 4495 ac_cv_c_bigendian=yes 4834 fi 4835 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4836 if test "$ac_cv_c_bigendian" = unknown; then 4837 ac_cv_c_bigendian=no 4838 else 4839 # finding both strings is unlikely to happen, but who knows? 4840 ac_cv_c_bigendian=unknown 4841 fi 4842 fi 4843 else 4844 echo "$as_me: failed program was:" >&5 4845 sed 's/^/| /' conftest.$ac_ext >&5 4846 4847 4848 fi 4849 4496 else 4497 ac_cv_c_bigendian=no 4498 fi 4850 4499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4851 else 4852 cat >conftest.$ac_ext <<_ACEOF 4853 /* confdefs.h. */ 4854 _ACEOF 4855 cat confdefs.h >>conftest.$ac_ext 4856 cat >>conftest.$ac_ext <<_ACEOF 4500 fi 4501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4502 fi 4503 if test $ac_cv_c_bigendian = unknown; then 4504 # Compile a test program. 4505 if test "$cross_compiling" = yes; then : 4506 # Try to guess by grepping values from an object file. 4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4508 /* end confdefs.h. */ 4509 short int ascii_mm[] = 4510 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4511 short int ascii_ii[] = 4512 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4513 int use_ascii (int i) { 4514 return ascii_mm[i] + ascii_ii[i]; 4515 } 4516 short int ebcdic_ii[] = 4517 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4518 short int ebcdic_mm[] = 4519 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4520 int use_ebcdic (int i) { 4521 return ebcdic_mm[i] + ebcdic_ii[i]; 4522 } 4523 extern int foo; 4524 4525 int 4526 main () 4527 { 4528 return use_ascii (foo) == use_ebcdic (foo); 4529 ; 4530 return 0; 4531 } 4532 _ACEOF 4533 if ac_fn_c_try_compile "$LINENO"; then : 4534 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4535 ac_cv_c_bigendian=yes 4536 fi 4537 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4538 if test "$ac_cv_c_bigendian" = unknown; then 4539 ac_cv_c_bigendian=no 4540 else 4541 # finding both strings is unlikely to happen, but who knows? 4542 ac_cv_c_bigendian=unknown 4543 fi 4544 fi 4545 fi 4546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4547 else 4548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4857 4549 /* end confdefs.h. */ 4858 4550 $ac_includes_default … … 4861 4553 { 4862 4554 4863 /* Are we little or big endian? From Harbison&Steele. */4864 union4865 {4866 long int l;4867 char c[sizeof (long int)];4868 } u;4869 u.l = 1;4870 return u.c[sizeof (long int) - 1] == 1;4555 /* Are we little or big endian? From Harbison&Steele. */ 4556 union 4557 { 4558 long int l; 4559 char c[sizeof (long int)]; 4560 } u; 4561 u.l = 1; 4562 return u.c[sizeof (long int) - 1] == 1; 4871 4563 4872 4564 ; … … 4874 4566 } 4875 4567 _ACEOF 4876 rm -f conftest$ac_exeext 4877 if { (ac_try="$ac_link" 4878 case "(($ac_try" in 4879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4880 *) ac_try_echo=$ac_try;; 4881 esac 4882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4883 (eval "$ac_link") 2>&5 4884 ac_status=$? 4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4886 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4887 { (case "(($ac_try" in 4888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4889 *) ac_try_echo=$ac_try;; 4890 esac 4891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4892 (eval "$ac_try") 2>&5 4893 ac_status=$? 4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4895 (exit $ac_status); }; }; then 4568 if ac_fn_c_try_run "$LINENO"; then : 4896 4569 ac_cv_c_bigendian=no 4897 4570 else 4898 echo "$as_me: program exited with status $ac_status" >&5 4899 echo "$as_me: failed program was:" >&5 4900 sed 's/^/| /' conftest.$ac_ext >&5 4901 4902 ( exit $ac_status ) 4903 ac_cv_c_bigendian=yes 4904 fi 4905 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4906 fi 4907 4908 4909 fi 4910 4911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4912 fi 4913 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4914 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4915 case $ac_cv_c_bigendian in 4916 yes) 4917 4918 cat >>confdefs.h <<\_ACEOF 4919 #define WORDS_BIGENDIAN 1 4920 _ACEOF 4921 ;; 4922 no) 4923 ;; 4924 *) 4925 { { echo "$as_me:$LINENO: error: unknown endianness 4926 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4927 echo "$as_me: error: unknown endianness 4928 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4929 { (exit 1); exit 1; }; } ;; 4930 esac 4571 ac_cv_c_bigendian=yes 4572 fi 4573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4574 conftest.$ac_objext conftest.beam conftest.$ac_ext 4575 fi 4576 4577 fi 4578 fi 4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4580 $as_echo "$ac_cv_c_bigendian" >&6; } 4581 case $ac_cv_c_bigendian in #( 4582 yes) 4583 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4584 ;; #( 4585 no) 4586 ;; #( 4587 universal) 4588 4589 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4590 4591 ;; #( 4592 *) 4593 as_fn_error "unknown endianness 4594 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4595 esac 4931 4596 4932 4597 4933 4598 case $target in 4934 4599 *mingw* | *cygw* | *win32* | *w32* ) 4935 cat >>confdefs.h <<\_ACEOF 4936 #define PJ_WIN32 1 4937 _ACEOF 4938 4939 cat >>confdefs.h <<\_ACEOF 4940 #define PJ_WIN32_WINNT 0x0400 4941 _ACEOF 4942 4943 cat >>confdefs.h <<\_ACEOF 4944 #define WIN32_LEAN_AND_MEAN 1 4945 _ACEOF 4600 $as_echo "#define PJ_WIN32 1" >>confdefs.h 4601 4602 $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 4603 4604 $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 4946 4605 4947 4606 ;; 4948 4607 *darwin*) 4949 cat >>confdefs.h <<\_ACEOF 4950 #define PJ_DARWINOS 1 4951 _ACEOF 4608 $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 4952 4609 4953 4610 ;; 4954 4611 *linux*) 4955 cat >>confdefs.h <<\_ACEOF 4956 #define PJ_LINUX 1 4957 _ACEOF 4612 $as_echo "#define PJ_LINUX 1" >>confdefs.h 4958 4613 4959 4614 ;; 4960 4615 *rtems*) 4961 cat >>confdefs.h <<\_ACEOF 4962 #define PJ_RTEMS 1 4963 _ACEOF 4616 $as_echo "#define PJ_RTEMS 1" >>confdefs.h 4964 4617 4965 4618 ;; 4966 4619 *sunos* | *solaris* ) 4967 cat >>confdefs.h <<\_ACEOF 4968 #define PJ_SUNOS 1 4969 _ACEOF 4620 $as_echo "#define PJ_SUNOS 1" >>confdefs.h 4970 4621 4971 4622 ;; … … 4978 4629 4979 4630 # Check whether --enable-floating-point was given. 4980 if test "${enable_floating_point+set}" = set; then 4631 if test "${enable_floating_point+set}" = set; then : 4981 4632 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 4982 cat >>confdefs.h <<\_ACEOF 4983 #define PJ_HAS_FLOATING_POINT 0 4984 _ACEOF 4985 4986 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 4987 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 4633 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 4634 4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 4636 $as_echo "Checking if floating point is disabled... yes" >&6; } 4988 4637 fi 4989 4638 else 4990 4639 4991 cat >>confdefs.h <<\_ACEOF 4992 #define PJ_HAS_FLOATING_POINT 1 4993 _ACEOF 4994 4995 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 4996 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 4997 4998 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 4999 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 5000 if test "${ac_cv_lib_m_fmod+set}" = set; then 5001 echo $ECHO_N "(cached) $ECHO_C" >&6 4640 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 4641 4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 4643 $as_echo "Checking if floating point is disabled... no" >&6; } 4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 4645 $as_echo_n "checking for fmod in -lm... " >&6; } 4646 if test "${ac_cv_lib_m_fmod+set}" = set; then : 4647 $as_echo_n "(cached) " >&6 5002 4648 else 5003 4649 ac_check_lib_save_LIBS=$LIBS 5004 4650 LIBS="-lm $LIBS" 5005 cat >conftest.$ac_ext <<_ACEOF 5006 /* confdefs.h. */ 5007 _ACEOF 5008 cat confdefs.h >>conftest.$ac_ext 5009 cat >>conftest.$ac_ext <<_ACEOF 4651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5010 4652 /* end confdefs.h. */ 5011 4653 … … 5025 4667 } 5026 4668 _ACEOF 5027 rm -f conftest.$ac_objext conftest$ac_exeext 5028 if { (ac_try="$ac_link" 5029 case "(($ac_try" in 5030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5031 *) ac_try_echo=$ac_try;; 5032 esac 5033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5034 (eval "$ac_link") 2>conftest.er1 5035 ac_status=$? 5036 grep -v '^ *+' conftest.er1 >conftest.err 5037 rm -f conftest.er1 5038 cat conftest.err >&5 5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5040 (exit $ac_status); } && { 5041 test -z "$ac_c_werror_flag" || 5042 test ! -s conftest.err 5043 } && test -s conftest$ac_exeext && 5044 $as_test_x conftest$ac_exeext; then 4669 if ac_fn_c_try_link "$LINENO"; then : 5045 4670 ac_cv_lib_m_fmod=yes 5046 4671 else 5047 echo "$as_me: failed program was:" >&5 5048 sed 's/^/| /' conftest.$ac_ext >&5 5049 5050 ac_cv_lib_m_fmod=no 5051 fi 5052 5053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5054 conftest$ac_exeext conftest.$ac_ext 4672 ac_cv_lib_m_fmod=no 4673 fi 4674 rm -f core conftest.err conftest.$ac_objext \ 4675 conftest$ac_exeext conftest.$ac_ext 5055 4676 LIBS=$ac_check_lib_save_LIBS 5056 4677 fi 5057 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&55058 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; }5059 if test $ac_cv_lib_m_fmod = yes; then4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 4679 $as_echo "$ac_cv_lib_m_fmod" >&6; } 4680 if test "x$ac_cv_lib_m_fmod" = x""yes; then : 5060 4681 cat >>confdefs.h <<_ACEOF 5061 4682 #define HAVE_LIBM 1 … … 5071 4692 5072 4693 5073 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5074 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5075 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5076 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5077 echo $ECHO_N "(cached) $ECHO_C" >&6 5078 fi 5079 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5080 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5081 else 5082 # Is the header compilable? 5083 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 5084 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 5085 cat >conftest.$ac_ext <<_ACEOF 5086 /* confdefs.h. */ 5087 _ACEOF 5088 cat confdefs.h >>conftest.$ac_ext 5089 cat >>conftest.$ac_ext <<_ACEOF 5090 /* end confdefs.h. */ 5091 $ac_includes_default 5092 #include <arpa/inet.h> 5093 _ACEOF 5094 rm -f conftest.$ac_objext 5095 if { (ac_try="$ac_compile" 5096 case "(($ac_try" in 5097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5098 *) ac_try_echo=$ac_try;; 5099 esac 5100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5101 (eval "$ac_compile") 2>conftest.er1 5102 ac_status=$? 5103 grep -v '^ *+' conftest.er1 >conftest.err 5104 rm -f conftest.er1 5105 cat conftest.err >&5 5106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5107 (exit $ac_status); } && { 5108 test -z "$ac_c_werror_flag" || 5109 test ! -s conftest.err 5110 } && test -s conftest.$ac_objext; then 5111 ac_header_compiler=yes 5112 else 5113 echo "$as_me: failed program was:" >&5 5114 sed 's/^/| /' conftest.$ac_ext >&5 5115 5116 ac_header_compiler=no 5117 fi 5118 5119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5120 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5121 echo "${ECHO_T}$ac_header_compiler" >&6; } 5122 5123 # Is the header present? 5124 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 5125 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 5126 cat >conftest.$ac_ext <<_ACEOF 5127 /* confdefs.h. */ 5128 _ACEOF 5129 cat confdefs.h >>conftest.$ac_ext 5130 cat >>conftest.$ac_ext <<_ACEOF 5131 /* end confdefs.h. */ 5132 #include <arpa/inet.h> 5133 _ACEOF 5134 if { (ac_try="$ac_cpp conftest.$ac_ext" 5135 case "(($ac_try" in 5136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5137 *) ac_try_echo=$ac_try;; 5138 esac 5139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5140 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5141 ac_status=$? 5142 grep -v '^ *+' conftest.er1 >conftest.err 5143 rm -f conftest.er1 5144 cat conftest.err >&5 5145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5146 (exit $ac_status); } >/dev/null && { 5147 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5148 test ! -s conftest.err 5149 }; then 5150 ac_header_preproc=yes 5151 else 5152 echo "$as_me: failed program was:" >&5 5153 sed 's/^/| /' conftest.$ac_ext >&5 5154 5155 ac_header_preproc=no 5156 fi 5157 5158 rm -f conftest.err conftest.$ac_ext 5159 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5160 echo "${ECHO_T}$ac_header_preproc" >&6; } 5161 5162 # So? What about this header? 5163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5164 yes:no: ) 5165 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 5166 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5167 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 5168 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 5169 ac_header_preproc=yes 5170 ;; 5171 no:yes:* ) 5172 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 5173 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 5174 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 5175 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 5176 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 5177 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 5178 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 5179 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 5180 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 5181 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 5182 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 5183 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 5184 5185 ;; 5186 esac 5187 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5188 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5189 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5190 echo $ECHO_N "(cached) $ECHO_C" >&6 5191 else 5192 ac_cv_header_arpa_inet_h=$ac_header_preproc 5193 fi 5194 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5195 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5196 5197 fi 5198 if test $ac_cv_header_arpa_inet_h = yes; then 5199 cat >>confdefs.h <<\_ACEOF 5200 #define PJ_HAS_ARPA_INET_H 1 5201 _ACEOF 5202 5203 fi 5204 5205 5206 if test "${ac_cv_header_assert_h+set}" = set; then 5207 { echo "$as_me:$LINENO: checking for assert.h" >&5 5208 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5209 if test "${ac_cv_header_assert_h+set}" = set; then 5210 echo $ECHO_N "(cached) $ECHO_C" >&6 5211 fi 5212 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5213 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5214 else 5215 # Is the header compilable? 5216 { echo "$as_me:$LINENO: checking assert.h usability" >&5 5217 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 5218 cat >conftest.$ac_ext <<_ACEOF 5219 /* confdefs.h. */ 5220 _ACEOF 5221 cat confdefs.h >>conftest.$ac_ext 5222 cat >>conftest.$ac_ext <<_ACEOF 5223 /* end confdefs.h. */ 5224 $ac_includes_default 5225 #include <assert.h> 5226 _ACEOF 5227 rm -f conftest.$ac_objext 5228 if { (ac_try="$ac_compile" 5229 case "(($ac_try" in 5230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5231 *) ac_try_echo=$ac_try;; 5232 esac 5233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5234 (eval "$ac_compile") 2>conftest.er1 5235 ac_status=$? 5236 grep -v '^ *+' conftest.er1 >conftest.err 5237 rm -f conftest.er1 5238 cat conftest.err >&5 5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5240 (exit $ac_status); } && { 5241 test -z "$ac_c_werror_flag" || 5242 test ! -s conftest.err 5243 } && test -s conftest.$ac_objext; then 5244 ac_header_compiler=yes 5245 else 5246 echo "$as_me: failed program was:" >&5 5247 sed 's/^/| /' conftest.$ac_ext >&5 5248 5249 ac_header_compiler=no 5250 fi 5251 5252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5253 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5254 echo "${ECHO_T}$ac_header_compiler" >&6; } 5255 5256 # Is the header present? 5257 { echo "$as_me:$LINENO: checking assert.h presence" >&5 5258 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 5259 cat >conftest.$ac_ext <<_ACEOF 5260 /* confdefs.h. */ 5261 _ACEOF 5262 cat confdefs.h >>conftest.$ac_ext 5263 cat >>conftest.$ac_ext <<_ACEOF 5264 /* end confdefs.h. */ 5265 #include <assert.h> 5266 _ACEOF 5267 if { (ac_try="$ac_cpp conftest.$ac_ext" 5268 case "(($ac_try" in 5269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5270 *) ac_try_echo=$ac_try;; 5271 esac 5272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5273 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5274 ac_status=$? 5275 grep -v '^ *+' conftest.er1 >conftest.err 5276 rm -f conftest.er1 5277 cat conftest.err >&5 5278 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5279 (exit $ac_status); } >/dev/null && { 5280 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5281 test ! -s conftest.err 5282 }; then 5283 ac_header_preproc=yes 5284 else 5285 echo "$as_me: failed program was:" >&5 5286 sed 's/^/| /' conftest.$ac_ext >&5 5287 5288 ac_header_preproc=no 5289 fi 5290 5291 rm -f conftest.err conftest.$ac_ext 5292 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5293 echo "${ECHO_T}$ac_header_preproc" >&6; } 5294 5295 # So? What about this header? 5296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5297 yes:no: ) 5298 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 5299 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5300 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 5301 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 5302 ac_header_preproc=yes 5303 ;; 5304 no:yes:* ) 5305 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 5306 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 5307 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5 5308 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;} 5309 { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 5310 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 5311 { echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5 5312 echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;} 5313 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 5314 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 5315 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 5316 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 5317 5318 ;; 5319 esac 5320 { echo "$as_me:$LINENO: checking for assert.h" >&5 5321 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5322 if test "${ac_cv_header_assert_h+set}" = set; then 5323 echo $ECHO_N "(cached) $ECHO_C" >&6 5324 else 5325 ac_cv_header_assert_h=$ac_header_preproc 5326 fi 5327 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5328 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5329 5330 fi 5331 if test $ac_cv_header_assert_h = yes; then 5332 cat >>confdefs.h <<\_ACEOF 5333 #define PJ_HAS_ASSERT_H 1 5334 _ACEOF 5335 5336 fi 5337 5338 5339 if test "${ac_cv_header_ctype_h+set}" = set; then 5340 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5341 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5342 if test "${ac_cv_header_ctype_h+set}" = set; then 5343 echo $ECHO_N "(cached) $ECHO_C" >&6 5344 fi 5345 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5346 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5347 else 5348 # Is the header compilable? 5349 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 5350 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 5351 cat >conftest.$ac_ext <<_ACEOF 5352 /* confdefs.h. */ 5353 _ACEOF 5354 cat confdefs.h >>conftest.$ac_ext 5355 cat >>conftest.$ac_ext <<_ACEOF 5356 /* end confdefs.h. */ 5357 $ac_includes_default 5358 #include <ctype.h> 5359 _ACEOF 5360 rm -f conftest.$ac_objext 5361 if { (ac_try="$ac_compile" 5362 case "(($ac_try" in 5363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5364 *) ac_try_echo=$ac_try;; 5365 esac 5366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5367 (eval "$ac_compile") 2>conftest.er1 5368 ac_status=$? 5369 grep -v '^ *+' conftest.er1 >conftest.err 5370 rm -f conftest.er1 5371 cat conftest.err >&5 5372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5373 (exit $ac_status); } && { 5374 test -z "$ac_c_werror_flag" || 5375 test ! -s conftest.err 5376 } && test -s conftest.$ac_objext; then 5377 ac_header_compiler=yes 5378 else 5379 echo "$as_me: failed program was:" >&5 5380 sed 's/^/| /' conftest.$ac_ext >&5 5381 5382 ac_header_compiler=no 5383 fi 5384 5385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5386 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5387 echo "${ECHO_T}$ac_header_compiler" >&6; } 5388 5389 # Is the header present? 5390 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 5391 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 5392 cat >conftest.$ac_ext <<_ACEOF 5393 /* confdefs.h. */ 5394 _ACEOF 5395 cat confdefs.h >>conftest.$ac_ext 5396 cat >>conftest.$ac_ext <<_ACEOF 5397 /* end confdefs.h. */ 5398 #include <ctype.h> 5399 _ACEOF 5400 if { (ac_try="$ac_cpp conftest.$ac_ext" 5401 case "(($ac_try" in 5402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5403 *) ac_try_echo=$ac_try;; 5404 esac 5405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5406 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5407 ac_status=$? 5408 grep -v '^ *+' conftest.er1 >conftest.err 5409 rm -f conftest.er1 5410 cat conftest.err >&5 5411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5412 (exit $ac_status); } >/dev/null && { 5413 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5414 test ! -s conftest.err 5415 }; then 5416 ac_header_preproc=yes 5417 else 5418 echo "$as_me: failed program was:" >&5 5419 sed 's/^/| /' conftest.$ac_ext >&5 5420 5421 ac_header_preproc=no 5422 fi 5423 5424 rm -f conftest.err conftest.$ac_ext 5425 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5426 echo "${ECHO_T}$ac_header_preproc" >&6; } 5427 5428 # So? What about this header? 5429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5430 yes:no: ) 5431 { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 5432 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5433 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 5434 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 5435 ac_header_preproc=yes 5436 ;; 5437 no:yes:* ) 5438 { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 5439 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 5440 { echo "$as_me:$LINENO: WARNING: ctype.h: check for missing prerequisite headers?" >&5 5441 echo "$as_me: WARNING: ctype.h: check for missing prerequisite headers?" >&2;} 5442 { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 5443 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 5444 { echo "$as_me:$LINENO: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&5 5445 echo "$as_me: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&2;} 5446 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 5447 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 5448 { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 5449 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 5450 5451 ;; 5452 esac 5453 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5454 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5455 if test "${ac_cv_header_ctype_h+set}" = set; then 5456 echo $ECHO_N "(cached) $ECHO_C" >&6 5457 else 5458 ac_cv_header_ctype_h=$ac_header_preproc 5459 fi 5460 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5461 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5462 5463 fi 5464 if test $ac_cv_header_ctype_h = yes; then 5465 cat >>confdefs.h <<\_ACEOF 5466 #define PJ_HAS_CTYPE_H 1 5467 _ACEOF 4694 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 4695 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 4696 $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 4697 4698 fi 4699 4700 4701 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 4702 if test "x$ac_cv_header_assert_h" = x""yes; then : 4703 $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 4704 4705 fi 4706 4707 4708 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 4709 if test "x$ac_cv_header_ctype_h" = x""yes; then : 4710 $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 5468 4711 5469 4712 fi … … 5473 4716 case $target in 5474 4717 *mingw* | *cygw* | *win32* | *w32* ) 5475 cat >>confdefs.h <<\_ACEOF 5476 #define PJ_HAS_ERRNO_H 0 5477 _ACEOF 4718 $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 5478 4719 5479 4720 ;; 5480 4721 *) 5481 if test "${ac_cv_header_errno_h+set}" = set; then 5482 { echo "$as_me:$LINENO: checking for errno.h" >&5 5483 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 5484 if test "${ac_cv_header_errno_h+set}" = set; then 5485 echo $ECHO_N "(cached) $ECHO_C" >&6 5486 fi 5487 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5488 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 5489 else 5490 # Is the header compilable? 5491 { echo "$as_me:$LINENO: checking errno.h usability" >&5 5492 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 5493 cat >conftest.$ac_ext <<_ACEOF 5494 /* confdefs.h. */ 5495 _ACEOF 5496 cat confdefs.h >>conftest.$ac_ext 5497 cat >>conftest.$ac_ext <<_ACEOF 5498 /* end confdefs.h. */ 5499 $ac_includes_default 5500 #include <errno.h> 5501 _ACEOF 5502 rm -f conftest.$ac_objext 5503 if { (ac_try="$ac_compile" 5504 case "(($ac_try" in 5505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5506 *) ac_try_echo=$ac_try;; 5507 esac 5508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5509 (eval "$ac_compile") 2>conftest.er1 5510 ac_status=$? 5511 grep -v '^ *+' conftest.er1 >conftest.err 5512 rm -f conftest.er1 5513 cat conftest.err >&5 5514 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5515 (exit $ac_status); } && { 5516 test -z "$ac_c_werror_flag" || 5517 test ! -s conftest.err 5518 } && test -s conftest.$ac_objext; then 5519 ac_header_compiler=yes 5520 else 5521 echo "$as_me: failed program was:" >&5 5522 sed 's/^/| /' conftest.$ac_ext >&5 5523 5524 ac_header_compiler=no 5525 fi 5526 5527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5528 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5529 echo "${ECHO_T}$ac_header_compiler" >&6; } 5530 5531 # Is the header present? 5532 { echo "$as_me:$LINENO: checking errno.h presence" >&5 5533 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; } 5534 cat >conftest.$ac_ext <<_ACEOF 5535 /* confdefs.h. */ 5536 _ACEOF 5537 cat confdefs.h >>conftest.$ac_ext 5538 cat >>conftest.$ac_ext <<_ACEOF 5539 /* end confdefs.h. */ 5540 #include <errno.h> 5541 _ACEOF 5542 if { (ac_try="$ac_cpp conftest.$ac_ext" 5543 case "(($ac_try" in 5544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5545 *) ac_try_echo=$ac_try;; 5546 esac 5547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5549 ac_status=$? 5550 grep -v '^ *+' conftest.er1 >conftest.err 5551 rm -f conftest.er1 5552 cat conftest.err >&5 5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5554 (exit $ac_status); } >/dev/null && { 5555 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5556 test ! -s conftest.err 5557 }; then 5558 ac_header_preproc=yes 5559 else 5560 echo "$as_me: failed program was:" >&5 5561 sed 's/^/| /' conftest.$ac_ext >&5 5562 5563 ac_header_preproc=no 5564 fi 5565 5566 rm -f conftest.err conftest.$ac_ext 5567 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5568 echo "${ECHO_T}$ac_header_preproc" >&6; } 5569 5570 # So? What about this header? 5571 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5572 yes:no: ) 5573 { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 5574 echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5575 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 5576 echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 5577 ac_header_preproc=yes 5578 ;; 5579 no:yes:* ) 5580 { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 5581 echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 5582 { echo "$as_me:$LINENO: WARNING: errno.h: check for missing prerequisite headers?" >&5 5583 echo "$as_me: WARNING: errno.h: check for missing prerequisite headers?" >&2;} 5584 { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 5585 echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 5586 { echo "$as_me:$LINENO: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&5 5587 echo "$as_me: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&2;} 5588 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 5589 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 5590 { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 5591 echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 5592 5593 ;; 5594 esac 5595 { echo "$as_me:$LINENO: checking for errno.h" >&5 5596 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 5597 if test "${ac_cv_header_errno_h+set}" = set; then 5598 echo $ECHO_N "(cached) $ECHO_C" >&6 5599 else 5600 ac_cv_header_errno_h=$ac_header_preproc 5601 fi 5602 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5603 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 5604 5605 fi 5606 if test $ac_cv_header_errno_h = yes; then 5607 cat >>confdefs.h <<\_ACEOF 5608 #define PJ_HAS_ERRNO_H 1 5609 _ACEOF 4722 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 4723 if test "x$ac_cv_header_errno_h" = x""yes; then : 4724 $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 5610 4725 5611 4726 fi … … 5615 4730 esac 5616 4731 5617 if test "${ac_cv_header_fcntl_h+set}" = set; then 5618 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 5619 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 5620 if test "${ac_cv_header_fcntl_h+set}" = set; then 5621 echo $ECHO_N "(cached) $ECHO_C" >&6 5622 fi 5623 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 5624 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 5625 else 5626 # Is the header compilable? 5627 { echo "$as_me:$LINENO: checking fcntl.h usability" >&5 5628 echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6; } 5629 cat >conftest.$ac_ext <<_ACEOF 5630 /* confdefs.h. */ 5631 _ACEOF 5632 cat confdefs.h >>conftest.$ac_ext 5633 cat >>conftest.$ac_ext <<_ACEOF 5634 /* end confdefs.h. */ 5635 $ac_includes_default 5636 #include <fcntl.h> 5637 _ACEOF 5638 rm -f conftest.$ac_objext 5639 if { (ac_try="$ac_compile" 5640 case "(($ac_try" in 5641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5642 *) ac_try_echo=$ac_try;; 5643 esac 5644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5645 (eval "$ac_compile") 2>conftest.er1 5646 ac_status=$? 5647 grep -v '^ *+' conftest.er1 >conftest.err 5648 rm -f conftest.er1 5649 cat conftest.err >&5 5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5651 (exit $ac_status); } && { 5652 test -z "$ac_c_werror_flag" || 5653 test ! -s conftest.err 5654 } && test -s conftest.$ac_objext; then 5655 ac_header_compiler=yes 5656 else 5657 echo "$as_me: failed program was:" >&5 5658 sed 's/^/| /' conftest.$ac_ext >&5 5659 5660 ac_header_compiler=no 5661 fi 5662 5663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5664 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5665 echo "${ECHO_T}$ac_header_compiler" >&6; } 5666 5667 # Is the header present? 5668 { echo "$as_me:$LINENO: checking fcntl.h presence" >&5 5669 echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6; } 5670 cat >conftest.$ac_ext <<_ACEOF 5671 /* confdefs.h. */ 5672 _ACEOF 5673 cat confdefs.h >>conftest.$ac_ext 5674 cat >>conftest.$ac_ext <<_ACEOF 5675 /* end confdefs.h. */ 5676 #include <fcntl.h> 5677 _ACEOF 5678 if { (ac_try="$ac_cpp conftest.$ac_ext" 5679 case "(($ac_try" in 5680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5681 *) ac_try_echo=$ac_try;; 5682 esac 5683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5684 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5685 ac_status=$? 5686 grep -v '^ *+' conftest.er1 >conftest.err 5687 rm -f conftest.er1 5688 cat conftest.err >&5 5689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5690 (exit $ac_status); } >/dev/null && { 5691 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5692 test ! -s conftest.err 5693 }; then 5694 ac_header_preproc=yes 5695 else 5696 echo "$as_me: failed program was:" >&5 5697 sed 's/^/| /' conftest.$ac_ext >&5 5698 5699 ac_header_preproc=no 5700 fi 5701 5702 rm -f conftest.err conftest.$ac_ext 5703 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5704 echo "${ECHO_T}$ac_header_preproc" >&6; } 5705 5706 # So? What about this header? 5707 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5708 yes:no: ) 5709 { echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 5710 echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5711 { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 5712 echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 5713 ac_header_preproc=yes 5714 ;; 5715 no:yes:* ) 5716 { echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 5717 echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 5718 { echo "$as_me:$LINENO: WARNING: fcntl.h: check for missing prerequisite headers?" >&5 5719 echo "$as_me: WARNING: fcntl.h: check for missing prerequisite headers?" >&2;} 5720 { echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 5721 echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 5722 { echo "$as_me:$LINENO: WARNING: fcntl.h: section \"Present But Cannot Be Compiled\"" >&5 5723 echo "$as_me: WARNING: fcntl.h: section \"Present But Cannot Be Compiled\"" >&2;} 5724 { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 5725 echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 5726 { echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 5727 echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 5728 5729 ;; 5730 esac 5731 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 5732 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 5733 if test "${ac_cv_header_fcntl_h+set}" = set; then 5734 echo $ECHO_N "(cached) $ECHO_C" >&6 5735 else 5736 ac_cv_header_fcntl_h=$ac_header_preproc 5737 fi 5738 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 5739 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 5740 5741 fi 5742 if test $ac_cv_header_fcntl_h = yes; then 5743 cat >>confdefs.h <<\_ACEOF 5744 #define PJ_HAS_FCNTL_H 1 5745 _ACEOF 5746 5747 fi 5748 5749 5750 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5751 { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 5752 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 5753 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5754 echo $ECHO_N "(cached) $ECHO_C" >&6 5755 fi 5756 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 5757 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 5758 else 5759 # Is the header compilable? 5760 { echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 5761 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6; } 5762 cat >conftest.$ac_ext <<_ACEOF 5763 /* confdefs.h. */ 5764 _ACEOF 5765 cat confdefs.h >>conftest.$ac_ext 5766 cat >>conftest.$ac_ext <<_ACEOF 5767 /* end confdefs.h. */ 5768 $ac_includes_default 5769 #include <linux/socket.h> 5770 _ACEOF 5771 rm -f conftest.$ac_objext 5772 if { (ac_try="$ac_compile" 5773 case "(($ac_try" in 5774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5775 *) ac_try_echo=$ac_try;; 5776 esac 5777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5778 (eval "$ac_compile") 2>conftest.er1 5779 ac_status=$? 5780 grep -v '^ *+' conftest.er1 >conftest.err 5781 rm -f conftest.er1 5782 cat conftest.err >&5 5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5784 (exit $ac_status); } && { 5785 test -z "$ac_c_werror_flag" || 5786 test ! -s conftest.err 5787 } && test -s conftest.$ac_objext; then 5788 ac_header_compiler=yes 5789 else 5790 echo "$as_me: failed program was:" >&5 5791 sed 's/^/| /' conftest.$ac_ext >&5 5792 5793 ac_header_compiler=no 5794 fi 5795 5796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5797 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5798 echo "${ECHO_T}$ac_header_compiler" >&6; } 5799 5800 # Is the header present? 5801 { echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 5802 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6; } 5803 cat >conftest.$ac_ext <<_ACEOF 5804 /* confdefs.h. */ 5805 _ACEOF 5806 cat confdefs.h >>conftest.$ac_ext 5807 cat >>conftest.$ac_ext <<_ACEOF 5808 /* end confdefs.h. */ 5809 #include <linux/socket.h> 5810 _ACEOF 5811 if { (ac_try="$ac_cpp conftest.$ac_ext" 5812 case "(($ac_try" in 5813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5814 *) ac_try_echo=$ac_try;; 5815 esac 5816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5818 ac_status=$? 5819 grep -v '^ *+' conftest.er1 >conftest.err 5820 rm -f conftest.er1 5821 cat conftest.err >&5 5822 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5823 (exit $ac_status); } >/dev/null && { 5824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5825 test ! -s conftest.err 5826 }; then 5827 ac_header_preproc=yes 5828 else 5829 echo "$as_me: failed program was:" >&5 5830 sed 's/^/| /' conftest.$ac_ext >&5 5831 5832 ac_header_preproc=no 5833 fi 5834 5835 rm -f conftest.err conftest.$ac_ext 5836 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5837 echo "${ECHO_T}$ac_header_preproc" >&6; } 5838 5839 # So? What about this header? 5840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5841 yes:no: ) 5842 { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 5843 echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5844 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 5845 echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 5846 ac_header_preproc=yes 5847 ;; 5848 no:yes:* ) 5849 { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 5850 echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 5851 { echo "$as_me:$LINENO: WARNING: linux/socket.h: check for missing prerequisite headers?" >&5 5852 echo "$as_me: WARNING: linux/socket.h: check for missing prerequisite headers?" >&2;} 5853 { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 5854 echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 5855 { echo "$as_me:$LINENO: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&5 5856 echo "$as_me: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&2;} 5857 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 5858 echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 5859 { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 5860 echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 5861 5862 ;; 5863 esac 5864 { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 5865 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 5866 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5867 echo $ECHO_N "(cached) $ECHO_C" >&6 5868 else 5869 ac_cv_header_linux_socket_h=$ac_header_preproc 5870 fi 5871 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 5872 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 5873 5874 fi 5875 if test $ac_cv_header_linux_socket_h = yes; then 5876 cat >>confdefs.h <<\_ACEOF 5877 #define PJ_HAS_LINUX_SOCKET_H 1 5878 _ACEOF 5879 5880 fi 5881 5882 5883 if test "${ac_cv_header_limits_h+set}" = set; then 5884 { echo "$as_me:$LINENO: checking for limits.h" >&5 5885 echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; } 5886 if test "${ac_cv_header_limits_h+set}" = set; then 5887 echo $ECHO_N "(cached) $ECHO_C" >&6 5888 fi 5889 { echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 5890 echo "${ECHO_T}$ac_cv_header_limits_h" >&6; } 5891 else 5892 # Is the header compilable? 5893 { echo "$as_me:$LINENO: checking limits.h usability" >&5 5894 echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6; } 5895 cat >conftest.$ac_ext <<_ACEOF 5896 /* confdefs.h. */ 5897 _ACEOF 5898 cat confdefs.h >>conftest.$ac_ext 5899 cat >>conftest.$ac_ext <<_ACEOF 5900 /* end confdefs.h. */ 5901 $ac_includes_default 5902 #include <limits.h> 5903 _ACEOF 5904 rm -f conftest.$ac_objext 5905 if { (ac_try="$ac_compile" 5906 case "(($ac_try" in 5907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5908 *) ac_try_echo=$ac_try;; 5909 esac 5910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5911 (eval "$ac_compile") 2>conftest.er1 5912 ac_status=$? 5913 grep -v '^ *+' conftest.er1 >conftest.err 5914 rm -f conftest.er1 5915 cat conftest.err >&5 5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5917 (exit $ac_status); } && { 5918 test -z "$ac_c_werror_flag" || 5919 test ! -s conftest.err 5920 } && test -s conftest.$ac_objext; then 5921 ac_header_compiler=yes 5922 else 5923 echo "$as_me: failed program was:" >&5 5924 sed 's/^/| /' conftest.$ac_ext >&5 5925 5926 ac_header_compiler=no 5927 fi 5928 5929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5930 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5931 echo "${ECHO_T}$ac_header_compiler" >&6; } 5932 5933 # Is the header present? 5934 { echo "$as_me:$LINENO: checking limits.h presence" >&5 5935 echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6; } 5936 cat >conftest.$ac_ext <<_ACEOF 5937 /* confdefs.h. */ 5938 _ACEOF 5939 cat confdefs.h >>conftest.$ac_ext 5940 cat >>conftest.$ac_ext <<_ACEOF 5941 /* end confdefs.h. */ 5942 #include <limits.h> 5943 _ACEOF 5944 if { (ac_try="$ac_cpp conftest.$ac_ext" 5945 case "(($ac_try" in 5946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5947 *) ac_try_echo=$ac_try;; 5948 esac 5949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5950 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5951 ac_status=$? 5952 grep -v '^ *+' conftest.er1 >conftest.err 5953 rm -f conftest.er1 5954 cat conftest.err >&5 5955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5956 (exit $ac_status); } >/dev/null && { 5957 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5958 test ! -s conftest.err 5959 }; then 5960 ac_header_preproc=yes 5961 else 5962 echo "$as_me: failed program was:" >&5 5963 sed 's/^/| /' conftest.$ac_ext >&5 5964 5965 ac_header_preproc=no 5966 fi 5967 5968 rm -f conftest.err conftest.$ac_ext 5969 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5970 echo "${ECHO_T}$ac_header_preproc" >&6; } 5971 5972 # So? What about this header? 5973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5974 yes:no: ) 5975 { echo "$as_me:$LINENO: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&5 5976 echo "$as_me: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5977 { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the compiler's result" >&5 5978 echo "$as_me: WARNING: limits.h: proceeding with the compiler's result" >&2;} 5979 ac_header_preproc=yes 5980 ;; 5981 no:yes:* ) 5982 { echo "$as_me:$LINENO: WARNING: limits.h: present but cannot be compiled" >&5 5983 echo "$as_me: WARNING: limits.h: present but cannot be compiled" >&2;} 5984 { echo "$as_me:$LINENO: WARNING: limits.h: check for missing prerequisite headers?" >&5 5985 echo "$as_me: WARNING: limits.h: check for missing prerequisite headers?" >&2;} 5986 { echo "$as_me:$LINENO: WARNING: limits.h: see the Autoconf documentation" >&5 5987 echo "$as_me: WARNING: limits.h: see the Autoconf documentation" >&2;} 5988 { echo "$as_me:$LINENO: WARNING: limits.h: section \"Present But Cannot Be Compiled\"" >&5 5989 echo "$as_me: WARNING: limits.h: section \"Present But Cannot Be Compiled\"" >&2;} 5990 { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the preprocessor's result" >&5 5991 echo "$as_me: WARNING: limits.h: proceeding with the preprocessor's result" >&2;} 5992 { echo "$as_me:$LINENO: WARNING: limits.h: in the future, the compiler will take precedence" >&5 5993 echo "$as_me: WARNING: limits.h: in the future, the compiler will take precedence" >&2;} 5994 5995 ;; 5996 esac 5997 { echo "$as_me:$LINENO: checking for limits.h" >&5 5998 echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; } 5999 if test "${ac_cv_header_limits_h+set}" = set; then 6000 echo $ECHO_N "(cached) $ECHO_C" >&6 6001 else 6002 ac_cv_header_limits_h=$ac_header_preproc 6003 fi 6004 { echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 6005 echo "${ECHO_T}$ac_cv_header_limits_h" >&6; } 6006 6007 fi 6008 if test $ac_cv_header_limits_h = yes; then 6009 cat >>confdefs.h <<\_ACEOF 6010 #define PJ_HAS_LIMITS_H 1 6011 _ACEOF 6012 6013 fi 6014 6015 6016 if test "${ac_cv_header_malloc_h+set}" = set; then 6017 { echo "$as_me:$LINENO: checking for malloc.h" >&5 6018 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 6019 if test "${ac_cv_header_malloc_h+set}" = set; then 6020 echo $ECHO_N "(cached) $ECHO_C" >&6 6021 fi 6022 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 6023 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 6024 else 6025 # Is the header compilable? 6026 { echo "$as_me:$LINENO: checking malloc.h usability" >&5 6027 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6; } 6028 cat >conftest.$ac_ext <<_ACEOF 6029 /* confdefs.h. */ 6030 _ACEOF 6031 cat confdefs.h >>conftest.$ac_ext 6032 cat >>conftest.$ac_ext <<_ACEOF 6033 /* end confdefs.h. */ 6034 $ac_includes_default 6035 #include <malloc.h> 6036 _ACEOF 6037 rm -f conftest.$ac_objext 6038 if { (ac_try="$ac_compile" 6039 case "(($ac_try" in 6040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6041 *) ac_try_echo=$ac_try;; 6042 esac 6043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6044 (eval "$ac_compile") 2>conftest.er1 6045 ac_status=$? 6046 grep -v '^ *+' conftest.er1 >conftest.err 6047 rm -f conftest.er1 6048 cat conftest.err >&5 6049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6050 (exit $ac_status); } && { 6051 test -z "$ac_c_werror_flag" || 6052 test ! -s conftest.err 6053 } && test -s conftest.$ac_objext; then 6054 ac_header_compiler=yes 6055 else 6056 echo "$as_me: failed program was:" >&5 6057 sed 's/^/| /' conftest.$ac_ext >&5 6058 6059 ac_header_compiler=no 6060 fi 6061 6062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6063 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6064 echo "${ECHO_T}$ac_header_compiler" >&6; } 6065 6066 # Is the header present? 6067 { echo "$as_me:$LINENO: checking malloc.h presence" >&5 6068 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6; } 6069 cat >conftest.$ac_ext <<_ACEOF 6070 /* confdefs.h. */ 6071 _ACEOF 6072 cat confdefs.h >>conftest.$ac_ext 6073 cat >>conftest.$ac_ext <<_ACEOF 6074 /* end confdefs.h. */ 6075 #include <malloc.h> 6076 _ACEOF 6077 if { (ac_try="$ac_cpp conftest.$ac_ext" 6078 case "(($ac_try" in 6079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6080 *) ac_try_echo=$ac_try;; 6081 esac 6082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6084 ac_status=$? 6085 grep -v '^ *+' conftest.er1 >conftest.err 6086 rm -f conftest.er1 6087 cat conftest.err >&5 6088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6089 (exit $ac_status); } >/dev/null && { 6090 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6091 test ! -s conftest.err 6092 }; then 6093 ac_header_preproc=yes 6094 else 6095 echo "$as_me: failed program was:" >&5 6096 sed 's/^/| /' conftest.$ac_ext >&5 6097 6098 ac_header_preproc=no 6099 fi 6100 6101 rm -f conftest.err conftest.$ac_ext 6102 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6103 echo "${ECHO_T}$ac_header_preproc" >&6; } 6104 6105 # So? What about this header? 6106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6107 yes:no: ) 6108 { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 6109 echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6110 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 6111 echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 6112 ac_header_preproc=yes 6113 ;; 6114 no:yes:* ) 6115 { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 6116 echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 6117 { echo "$as_me:$LINENO: WARNING: malloc.h: check for missing prerequisite headers?" >&5 6118 echo "$as_me: WARNING: malloc.h: check for missing prerequisite headers?" >&2;} 6119 { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 6120 echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 6121 { echo "$as_me:$LINENO: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&5 6122 echo "$as_me: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} 6123 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 6124 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 6125 { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 6126 echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 6127 6128 ;; 6129 esac 6130 { echo "$as_me:$LINENO: checking for malloc.h" >&5 6131 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 6132 if test "${ac_cv_header_malloc_h+set}" = set; then 6133 echo $ECHO_N "(cached) $ECHO_C" >&6 6134 else 6135 ac_cv_header_malloc_h=$ac_header_preproc 6136 fi 6137 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 6138 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 6139 6140 fi 6141 if test $ac_cv_header_malloc_h = yes; then 6142 cat >>confdefs.h <<\_ACEOF 6143 #define PJ_HAS_MALLOC_H 1 6144 _ACEOF 6145 6146 fi 6147 6148 6149 if test "${ac_cv_header_netdb_h+set}" = set; then 6150 { echo "$as_me:$LINENO: checking for netdb.h" >&5 6151 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 6152 if test "${ac_cv_header_netdb_h+set}" = set; then 6153 echo $ECHO_N "(cached) $ECHO_C" >&6 6154 fi 6155 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 6156 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 6157 else 6158 # Is the header compilable? 6159 { echo "$as_me:$LINENO: checking netdb.h usability" >&5 6160 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6; } 6161 cat >conftest.$ac_ext <<_ACEOF 6162 /* confdefs.h. */ 6163 _ACEOF 6164 cat confdefs.h >>conftest.$ac_ext 6165 cat >>conftest.$ac_ext <<_ACEOF 6166 /* end confdefs.h. */ 6167 $ac_includes_default 6168 #include <netdb.h> 6169 _ACEOF 6170 rm -f conftest.$ac_objext 6171 if { (ac_try="$ac_compile" 6172 case "(($ac_try" in 6173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6174 *) ac_try_echo=$ac_try;; 6175 esac 6176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6177 (eval "$ac_compile") 2>conftest.er1 6178 ac_status=$? 6179 grep -v '^ *+' conftest.er1 >conftest.err 6180 rm -f conftest.er1 6181 cat conftest.err >&5 6182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6183 (exit $ac_status); } && { 6184 test -z "$ac_c_werror_flag" || 6185 test ! -s conftest.err 6186 } && test -s conftest.$ac_objext; then 6187 ac_header_compiler=yes 6188 else 6189 echo "$as_me: failed program was:" >&5 6190 sed 's/^/| /' conftest.$ac_ext >&5 6191 6192 ac_header_compiler=no 6193 fi 6194 6195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6196 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6197 echo "${ECHO_T}$ac_header_compiler" >&6; } 6198 6199 # Is the header present? 6200 { echo "$as_me:$LINENO: checking netdb.h presence" >&5 6201 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6; } 6202 cat >conftest.$ac_ext <<_ACEOF 6203 /* confdefs.h. */ 6204 _ACEOF 6205 cat confdefs.h >>conftest.$ac_ext 6206 cat >>conftest.$ac_ext <<_ACEOF 6207 /* end confdefs.h. */ 6208 #include <netdb.h> 6209 _ACEOF 6210 if { (ac_try="$ac_cpp conftest.$ac_ext" 6211 case "(($ac_try" in 6212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6213 *) ac_try_echo=$ac_try;; 6214 esac 6215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6216 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6217 ac_status=$? 6218 grep -v '^ *+' conftest.er1 >conftest.err 6219 rm -f conftest.er1 6220 cat conftest.err >&5 6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6222 (exit $ac_status); } >/dev/null && { 6223 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6224 test ! -s conftest.err 6225 }; then 6226 ac_header_preproc=yes 6227 else 6228 echo "$as_me: failed program was:" >&5 6229 sed 's/^/| /' conftest.$ac_ext >&5 6230 6231 ac_header_preproc=no 6232 fi 6233 6234 rm -f conftest.err conftest.$ac_ext 6235 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6236 echo "${ECHO_T}$ac_header_preproc" >&6; } 6237 6238 # So? What about this header? 6239 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6240 yes:no: ) 6241 { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 6242 echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6243 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 6244 echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 6245 ac_header_preproc=yes 6246 ;; 6247 no:yes:* ) 6248 { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 6249 echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 6250 { echo "$as_me:$LINENO: WARNING: netdb.h: check for missing prerequisite headers?" >&5 6251 echo "$as_me: WARNING: netdb.h: check for missing prerequisite headers?" >&2;} 6252 { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 6253 echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 6254 { echo "$as_me:$LINENO: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&5 6255 echo "$as_me: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&2;} 6256 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 6257 echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 6258 { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 6259 echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 6260 6261 ;; 6262 esac 6263 { echo "$as_me:$LINENO: checking for netdb.h" >&5 6264 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 6265 if test "${ac_cv_header_netdb_h+set}" = set; then 6266 echo $ECHO_N "(cached) $ECHO_C" >&6 6267 else 6268 ac_cv_header_netdb_h=$ac_header_preproc 6269 fi 6270 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 6271 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 6272 6273 fi 6274 if test $ac_cv_header_netdb_h = yes; then 6275 cat >>confdefs.h <<\_ACEOF 6276 #define PJ_HAS_NETDB_H 1 6277 _ACEOF 6278 6279 fi 6280 6281 6282 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6283 { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 6284 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 6285 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6286 echo $ECHO_N "(cached) $ECHO_C" >&6 6287 fi 6288 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 6289 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 6290 else 6291 # Is the header compilable? 6292 { echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 6293 echo $ECHO_N "checking netinet/in_systm.h usability... $ECHO_C" >&6; } 6294 cat >conftest.$ac_ext <<_ACEOF 6295 /* confdefs.h. */ 6296 _ACEOF 6297 cat confdefs.h >>conftest.$ac_ext 6298 cat >>conftest.$ac_ext <<_ACEOF 6299 /* end confdefs.h. */ 6300 $ac_includes_default 6301 #include <netinet/in_systm.h> 6302 _ACEOF 6303 rm -f conftest.$ac_objext 6304 if { (ac_try="$ac_compile" 6305 case "(($ac_try" in 6306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6307 *) ac_try_echo=$ac_try;; 6308 esac 6309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6310 (eval "$ac_compile") 2>conftest.er1 6311 ac_status=$? 6312 grep -v '^ *+' conftest.er1 >conftest.err 6313 rm -f conftest.er1 6314 cat conftest.err >&5 6315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6316 (exit $ac_status); } && { 6317 test -z "$ac_c_werror_flag" || 6318 test ! -s conftest.err 6319 } && test -s conftest.$ac_objext; then 6320 ac_header_compiler=yes 6321 else 6322 echo "$as_me: failed program was:" >&5 6323 sed 's/^/| /' conftest.$ac_ext >&5 6324 6325 ac_header_compiler=no 6326 fi 6327 6328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6329 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6330 echo "${ECHO_T}$ac_header_compiler" >&6; } 6331 6332 # Is the header present? 6333 { echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 6334 echo $ECHO_N "checking netinet/in_systm.h presence... $ECHO_C" >&6; } 6335 cat >conftest.$ac_ext <<_ACEOF 6336 /* confdefs.h. */ 6337 _ACEOF 6338 cat confdefs.h >>conftest.$ac_ext 6339 cat >>conftest.$ac_ext <<_ACEOF 6340 /* end confdefs.h. */ 6341 #include <netinet/in_systm.h> 6342 _ACEOF 6343 if { (ac_try="$ac_cpp conftest.$ac_ext" 6344 case "(($ac_try" in 6345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6346 *) ac_try_echo=$ac_try;; 6347 esac 6348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6349 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6350 ac_status=$? 6351 grep -v '^ *+' conftest.er1 >conftest.err 6352 rm -f conftest.er1 6353 cat conftest.err >&5 6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6355 (exit $ac_status); } >/dev/null && { 6356 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6357 test ! -s conftest.err 6358 }; then 6359 ac_header_preproc=yes 6360 else 6361 echo "$as_me: failed program was:" >&5 6362 sed 's/^/| /' conftest.$ac_ext >&5 6363 6364 ac_header_preproc=no 6365 fi 6366 6367 rm -f conftest.err conftest.$ac_ext 6368 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6369 echo "${ECHO_T}$ac_header_preproc" >&6; } 6370 6371 # So? What about this header? 6372 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6373 yes:no: ) 6374 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&5 6375 echo "$as_me: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6376 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&5 6377 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&2;} 6378 ac_header_preproc=yes 6379 ;; 6380 no:yes:* ) 6381 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: present but cannot be compiled" >&5 6382 echo "$as_me: WARNING: netinet/in_systm.h: present but cannot be compiled" >&2;} 6383 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: check for missing prerequisite headers?" >&5 6384 echo "$as_me: WARNING: netinet/in_systm.h: check for missing prerequisite headers?" >&2;} 6385 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&5 6386 echo "$as_me: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&2;} 6387 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: section \"Present But Cannot Be Compiled\"" >&5 6388 echo "$as_me: WARNING: netinet/in_systm.h: section \"Present But Cannot Be Compiled\"" >&2;} 6389 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&5 6390 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&2;} 6391 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 6392 echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 6393 6394 ;; 6395 esac 6396 { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 6397 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 6398 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6399 echo $ECHO_N "(cached) $ECHO_C" >&6 6400 else 6401 ac_cv_header_netinet_in_systm_h=$ac_header_preproc 6402 fi 6403 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 6404 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 6405 6406 fi 6407 if test $ac_cv_header_netinet_in_systm_h = yes; then 6408 cat >>confdefs.h <<\_ACEOF 6409 #define PJ_HAS_NETINET_IN_SYSTM_H 1 6410 _ACEOF 6411 6412 fi 6413 6414 6415 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6416 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 6417 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 6418 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6419 echo $ECHO_N "(cached) $ECHO_C" >&6 6420 fi 6421 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 6422 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 6423 else 6424 # Is the header compilable? 6425 { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 6426 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } 6427 cat >conftest.$ac_ext <<_ACEOF 6428 /* confdefs.h. */ 6429 _ACEOF 6430 cat confdefs.h >>conftest.$ac_ext 6431 cat >>conftest.$ac_ext <<_ACEOF 6432 /* end confdefs.h. */ 6433 $ac_includes_default 6434 #include <netinet/in.h> 6435 _ACEOF 6436 rm -f conftest.$ac_objext 6437 if { (ac_try="$ac_compile" 6438 case "(($ac_try" in 6439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6440 *) ac_try_echo=$ac_try;; 6441 esac 6442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6443 (eval "$ac_compile") 2>conftest.er1 6444 ac_status=$? 6445 grep -v '^ *+' conftest.er1 >conftest.err 6446 rm -f conftest.er1 6447 cat conftest.err >&5 6448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6449 (exit $ac_status); } && { 6450 test -z "$ac_c_werror_flag" || 6451 test ! -s conftest.err 6452 } && test -s conftest.$ac_objext; then 6453 ac_header_compiler=yes 6454 else 6455 echo "$as_me: failed program was:" >&5 6456 sed 's/^/| /' conftest.$ac_ext >&5 6457 6458 ac_header_compiler=no 6459 fi 6460 6461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6462 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6463 echo "${ECHO_T}$ac_header_compiler" >&6; } 6464 6465 # Is the header present? 6466 { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 6467 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } 6468 cat >conftest.$ac_ext <<_ACEOF 6469 /* confdefs.h. */ 6470 _ACEOF 6471 cat confdefs.h >>conftest.$ac_ext 6472 cat >>conftest.$ac_ext <<_ACEOF 6473 /* end confdefs.h. */ 6474 #include <netinet/in.h> 6475 _ACEOF 6476 if { (ac_try="$ac_cpp conftest.$ac_ext" 6477 case "(($ac_try" in 6478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6479 *) ac_try_echo=$ac_try;; 6480 esac 6481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6482 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6483 ac_status=$? 6484 grep -v '^ *+' conftest.er1 >conftest.err 6485 rm -f conftest.er1 6486 cat conftest.err >&5 6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6488 (exit $ac_status); } >/dev/null && { 6489 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6490 test ! -s conftest.err 6491 }; then 6492 ac_header_preproc=yes 6493 else 6494 echo "$as_me: failed program was:" >&5 6495 sed 's/^/| /' conftest.$ac_ext >&5 6496 6497 ac_header_preproc=no 6498 fi 6499 6500 rm -f conftest.err conftest.$ac_ext 6501 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6502 echo "${ECHO_T}$ac_header_preproc" >&6; } 6503 6504 # So? What about this header? 6505 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6506 yes:no: ) 6507 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 6508 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6509 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 6510 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 6511 ac_header_preproc=yes 6512 ;; 6513 no:yes:* ) 6514 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 6515 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 6516 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 6517 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} 6518 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 6519 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 6520 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 6521 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} 6522 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 6523 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 6524 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 6525 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 6526 6527 ;; 6528 esac 6529 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 6530 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 6531 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6532 echo $ECHO_N "(cached) $ECHO_C" >&6 6533 else 6534 ac_cv_header_netinet_in_h=$ac_header_preproc 6535 fi 6536 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 6537 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 6538 6539 fi 6540 if test $ac_cv_header_netinet_in_h = yes; then 6541 cat >>confdefs.h <<\_ACEOF 6542 #define PJ_HAS_NETINET_IN_H 1 6543 _ACEOF 6544 6545 fi 6546 6547 6548 { echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 6549 echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6; } 6550 if test "${ac_cv_header_netinet_ip_h+set}" = set; then 6551 echo $ECHO_N "(cached) $ECHO_C" >&6 6552 else 6553 cat >conftest.$ac_ext <<_ACEOF 6554 /* confdefs.h. */ 6555 _ACEOF 6556 cat confdefs.h >>conftest.$ac_ext 6557 cat >>conftest.$ac_ext <<_ACEOF 6558 /* end confdefs.h. */ 6559 #if PJ_HAS_SYS_TYPES_H 4732 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 4733 if test "x$ac_cv_header_fcntl_h" = x""yes; then : 4734 $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 4735 4736 fi 4737 4738 4739 ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 4740 if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 4741 $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 4742 4743 fi 4744 4745 4746 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 4747 if test "x$ac_cv_header_limits_h" = x""yes; then : 4748 $as_echo "#define PJ_HAS_LIMITS_H 1" >>confdefs.h 4749 4750 fi 4751 4752 4753 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 4754 if test "x$ac_cv_header_malloc_h" = x""yes; then : 4755 $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 4756 4757 fi 4758 4759 4760 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 4761 if test "x$ac_cv_header_netdb_h" = x""yes; then : 4762 $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 4763 4764 fi 4765 4766 4767 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 4768 if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 4769 $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 4770 4771 fi 4772 4773 4774 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 4775 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 4776 $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 4777 4778 fi 4779 4780 4781 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H 6560 4782 # include <sys/types.h> 6561 4783 #endif … … 6567 4789 #endif 6568 4790 6569 6570 #include <netinet/ip.h> 6571 _ACEOF 6572 rm -f conftest.$ac_objext 6573 if { (ac_try="$ac_compile" 6574 case "(($ac_try" in 6575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6576 *) ac_try_echo=$ac_try;; 6577 esac 6578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6579 (eval "$ac_compile") 2>conftest.er1 6580 ac_status=$? 6581 grep -v '^ *+' conftest.er1 >conftest.err 6582 rm -f conftest.er1 6583 cat conftest.err >&5 6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6585 (exit $ac_status); } && { 6586 test -z "$ac_c_werror_flag" || 6587 test ! -s conftest.err 6588 } && test -s conftest.$ac_objext; then 6589 ac_cv_header_netinet_ip_h=yes 6590 else 6591 echo "$as_me: failed program was:" >&5 6592 sed 's/^/| /' conftest.$ac_ext >&5 6593 6594 ac_cv_header_netinet_ip_h=no 6595 fi 6596 6597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6598 fi 6599 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 6600 echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6; } 6601 if test $ac_cv_header_netinet_ip_h = yes; then 6602 cat >>confdefs.h <<\_ACEOF 6603 #define PJ_HAS_NETINET_IP_H 1 6604 _ACEOF 6605 6606 fi 6607 6608 6609 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6610 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 6611 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 6612 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6613 echo $ECHO_N "(cached) $ECHO_C" >&6 6614 fi 6615 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 6616 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 6617 else 6618 # Is the header compilable? 6619 { echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5 6620 echo $ECHO_N "checking netinet/tcp.h usability... $ECHO_C" >&6; } 6621 cat >conftest.$ac_ext <<_ACEOF 6622 /* confdefs.h. */ 6623 _ACEOF 6624 cat confdefs.h >>conftest.$ac_ext 6625 cat >>conftest.$ac_ext <<_ACEOF 6626 /* end confdefs.h. */ 6627 $ac_includes_default 6628 #include <netinet/tcp.h> 6629 _ACEOF 6630 rm -f conftest.$ac_objext 6631 if { (ac_try="$ac_compile" 6632 case "(($ac_try" in 6633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6634 *) ac_try_echo=$ac_try;; 6635 esac 6636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6637 (eval "$ac_compile") 2>conftest.er1 6638 ac_status=$? 6639 grep -v '^ *+' conftest.er1 >conftest.err 6640 rm -f conftest.er1 6641 cat conftest.err >&5 6642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6643 (exit $ac_status); } && { 6644 test -z "$ac_c_werror_flag" || 6645 test ! -s conftest.err 6646 } && test -s conftest.$ac_objext; then 6647 ac_header_compiler=yes 6648 else 6649 echo "$as_me: failed program was:" >&5 6650 sed 's/^/| /' conftest.$ac_ext >&5 6651 6652 ac_header_compiler=no 6653 fi 6654 6655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6656 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6657 echo "${ECHO_T}$ac_header_compiler" >&6; } 6658 6659 # Is the header present? 6660 { echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5 6661 echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; } 6662 cat >conftest.$ac_ext <<_ACEOF 6663 /* confdefs.h. */ 6664 _ACEOF 6665 cat confdefs.h >>conftest.$ac_ext 6666 cat >>conftest.$ac_ext <<_ACEOF 6667 /* end confdefs.h. */ 6668 #include <netinet/tcp.h> 6669 _ACEOF 6670 if { (ac_try="$ac_cpp conftest.$ac_ext" 6671 case "(($ac_try" in 6672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6673 *) ac_try_echo=$ac_try;; 6674 esac 6675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6677 ac_status=$? 6678 grep -v '^ *+' conftest.er1 >conftest.err 6679 rm -f conftest.er1 6680 cat conftest.err >&5 6681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6682 (exit $ac_status); } >/dev/null && { 6683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6684 test ! -s conftest.err 6685 }; then 6686 ac_header_preproc=yes 6687 else 6688 echo "$as_me: failed program was:" >&5 6689 sed 's/^/| /' conftest.$ac_ext >&5 6690 6691 ac_header_preproc=no 6692 fi 6693 6694 rm -f conftest.err conftest.$ac_ext 6695 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6696 echo "${ECHO_T}$ac_header_preproc" >&6; } 6697 6698 # So? What about this header? 6699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6700 yes:no: ) 6701 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5 6702 echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6703 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&5 6704 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&2;} 6705 ac_header_preproc=yes 6706 ;; 6707 no:yes:* ) 6708 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5 6709 echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;} 6710 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&5 6711 echo "$as_me: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&2;} 6712 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5 6713 echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;} 6714 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&5 6715 echo "$as_me: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&2;} 6716 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&5 6717 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&2;} 6718 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5 6719 echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;} 6720 6721 ;; 6722 esac 6723 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 6724 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 6725 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6726 echo $ECHO_N "(cached) $ECHO_C" >&6 6727 else 6728 ac_cv_header_netinet_tcp_h=$ac_header_preproc 6729 fi 6730 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 6731 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 6732 6733 fi 6734 if test $ac_cv_header_netinet_tcp_h = yes; then 6735 cat >>confdefs.h <<\_ACEOF 6736 #define PJ_HAS_NETINET_TCP_H 1 6737 _ACEOF 6738 6739 fi 6740 6741 6742 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6743 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 6744 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 6745 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6746 echo $ECHO_N "(cached) $ECHO_C" >&6 6747 fi 6748 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 6749 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 6750 else 6751 # Is the header compilable? 6752 { echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 6753 echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6; } 6754 cat >conftest.$ac_ext <<_ACEOF 6755 /* confdefs.h. */ 6756 _ACEOF 6757 cat confdefs.h >>conftest.$ac_ext 6758 cat >>conftest.$ac_ext <<_ACEOF 6759 /* end confdefs.h. */ 6760 $ac_includes_default 6761 #include <ifaddrs.h> 6762 _ACEOF 6763 rm -f conftest.$ac_objext 6764 if { (ac_try="$ac_compile" 6765 case "(($ac_try" in 6766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6767 *) ac_try_echo=$ac_try;; 6768 esac 6769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6770 (eval "$ac_compile") 2>conftest.er1 6771 ac_status=$? 6772 grep -v '^ *+' conftest.er1 >conftest.err 6773 rm -f conftest.er1 6774 cat conftest.err >&5 6775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6776 (exit $ac_status); } && { 6777 test -z "$ac_c_werror_flag" || 6778 test ! -s conftest.err 6779 } && test -s conftest.$ac_objext; then 6780 ac_header_compiler=yes 6781 else 6782 echo "$as_me: failed program was:" >&5 6783 sed 's/^/| /' conftest.$ac_ext >&5 6784 6785 ac_header_compiler=no 6786 fi 6787 6788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6789 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6790 echo "${ECHO_T}$ac_header_compiler" >&6; } 6791 6792 # Is the header present? 6793 { echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 6794 echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6; } 6795 cat >conftest.$ac_ext <<_ACEOF 6796 /* confdefs.h. */ 6797 _ACEOF 6798 cat confdefs.h >>conftest.$ac_ext 6799 cat >>conftest.$ac_ext <<_ACEOF 6800 /* end confdefs.h. */ 6801 #include <ifaddrs.h> 6802 _ACEOF 6803 if { (ac_try="$ac_cpp conftest.$ac_ext" 6804 case "(($ac_try" in 6805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6806 *) ac_try_echo=$ac_try;; 6807 esac 6808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6810 ac_status=$? 6811 grep -v '^ *+' conftest.er1 >conftest.err 6812 rm -f conftest.er1 6813 cat conftest.err >&5 6814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6815 (exit $ac_status); } >/dev/null && { 6816 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6817 test ! -s conftest.err 6818 }; then 6819 ac_header_preproc=yes 6820 else 6821 echo "$as_me: failed program was:" >&5 6822 sed 's/^/| /' conftest.$ac_ext >&5 6823 6824 ac_header_preproc=no 6825 fi 6826 6827 rm -f conftest.err conftest.$ac_ext 6828 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6829 echo "${ECHO_T}$ac_header_preproc" >&6; } 6830 6831 # So? What about this header? 6832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6833 yes:no: ) 6834 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 6835 echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6836 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5 6837 echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;} 6838 ac_header_preproc=yes 6839 ;; 6840 no:yes:* ) 6841 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 6842 echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;} 6843 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&5 6844 echo "$as_me: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&2;} 6845 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5 6846 echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;} 6847 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: section \"Present But Cannot Be Compiled\"" >&5 6848 echo "$as_me: WARNING: ifaddrs.h: section \"Present But Cannot Be Compiled\"" >&2;} 6849 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 6850 echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;} 6851 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 6852 echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 6853 6854 ;; 6855 esac 6856 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 6857 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 6858 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6859 echo $ECHO_N "(cached) $ECHO_C" >&6 6860 else 6861 ac_cv_header_ifaddrs_h=$ac_header_preproc 6862 fi 6863 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 6864 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 6865 6866 fi 6867 if test $ac_cv_header_ifaddrs_h = yes; then 6868 { echo "$as_me:$LINENO: checking for getifaddrs" >&5 6869 echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6; } 6870 if test "${ac_cv_func_getifaddrs+set}" = set; then 6871 echo $ECHO_N "(cached) $ECHO_C" >&6 6872 else 6873 cat >conftest.$ac_ext <<_ACEOF 6874 /* confdefs.h. */ 6875 _ACEOF 6876 cat confdefs.h >>conftest.$ac_ext 6877 cat >>conftest.$ac_ext <<_ACEOF 6878 /* end confdefs.h. */ 6879 /* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs. 6880 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6881 #define getifaddrs innocuous_getifaddrs 6882 6883 /* System header to define __stub macros and hopefully few prototypes, 6884 which can conflict with char getifaddrs (); below. 6885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6886 <limits.h> exists even on freestanding compilers. */ 6887 6888 #ifdef __STDC__ 6889 # include <limits.h> 6890 #else 6891 # include <assert.h> 6892 #endif 6893 6894 #undef getifaddrs 6895 6896 /* Override any GCC internal prototype to avoid an error. 6897 Use char because int might match the return type of a GCC 6898 builtin and then its argument prototype would still apply. */ 6899 #ifdef __cplusplus 6900 extern "C" 6901 #endif 6902 char getifaddrs (); 6903 /* The GNU C library defines this for functions which it implements 6904 to always fail with ENOSYS. Some functions are actually named 6905 something starting with __ and the normal name is an alias. */ 6906 #if defined __stub_getifaddrs || defined __stub___getifaddrs 6907 choke me 6908 #endif 6909 6910 int 6911 main () 6912 { 6913 return getifaddrs (); 6914 ; 6915 return 0; 6916 } 6917 _ACEOF 6918 rm -f conftest.$ac_objext conftest$ac_exeext 6919 if { (ac_try="$ac_link" 6920 case "(($ac_try" in 6921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6922 *) ac_try_echo=$ac_try;; 6923 esac 6924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6925 (eval "$ac_link") 2>conftest.er1 6926 ac_status=$? 6927 grep -v '^ *+' conftest.er1 >conftest.err 6928 rm -f conftest.er1 6929 cat conftest.err >&5 6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6931 (exit $ac_status); } && { 6932 test -z "$ac_c_werror_flag" || 6933 test ! -s conftest.err 6934 } && test -s conftest$ac_exeext && 6935 $as_test_x conftest$ac_exeext; then 6936 ac_cv_func_getifaddrs=yes 6937 else 6938 echo "$as_me: failed program was:" >&5 6939 sed 's/^/| /' conftest.$ac_ext >&5 6940 6941 ac_cv_func_getifaddrs=no 6942 fi 6943 6944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6945 conftest$ac_exeext conftest.$ac_ext 6946 fi 6947 { echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5 6948 echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6; } 6949 if test $ac_cv_func_getifaddrs = yes; then 6950 cat >>confdefs.h <<\_ACEOF 6951 #define PJ_HAS_IFADDRS_H 1 6952 _ACEOF 6953 6954 fi 6955 6956 fi 6957 6958 6959 if test "${ac_cv_header_semaphore_h+set}" = set; then 6960 { echo "$as_me:$LINENO: checking for semaphore.h" >&5 6961 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 6962 if test "${ac_cv_header_semaphore_h+set}" = set; then 6963 echo $ECHO_N "(cached) $ECHO_C" >&6 6964 fi 6965 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 6966 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 6967 else 6968 # Is the header compilable? 6969 { echo "$as_me:$LINENO: checking semaphore.h usability" >&5 6970 echo $ECHO_N "checking semaphore.h usability... $ECHO_C" >&6; } 6971 cat >conftest.$ac_ext <<_ACEOF 6972 /* confdefs.h. */ 6973 _ACEOF 6974 cat confdefs.h >>conftest.$ac_ext 6975 cat >>conftest.$ac_ext <<_ACEOF 6976 /* end confdefs.h. */ 6977 $ac_includes_default 6978 #include <semaphore.h> 6979 _ACEOF 6980 rm -f conftest.$ac_objext 6981 if { (ac_try="$ac_compile" 6982 case "(($ac_try" in 6983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6984 *) ac_try_echo=$ac_try;; 6985 esac 6986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6987 (eval "$ac_compile") 2>conftest.er1 6988 ac_status=$? 6989 grep -v '^ *+' conftest.er1 >conftest.err 6990 rm -f conftest.er1 6991 cat conftest.err >&5 6992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6993 (exit $ac_status); } && { 6994 test -z "$ac_c_werror_flag" || 6995 test ! -s conftest.err 6996 } && test -s conftest.$ac_objext; then 6997 ac_header_compiler=yes 6998 else 6999 echo "$as_me: failed program was:" >&5 7000 sed 's/^/| /' conftest.$ac_ext >&5 7001 7002 ac_header_compiler=no 7003 fi 7004 7005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7006 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7007 echo "${ECHO_T}$ac_header_compiler" >&6; } 7008 7009 # Is the header present? 7010 { echo "$as_me:$LINENO: checking semaphore.h presence" >&5 7011 echo $ECHO_N "checking semaphore.h presence... $ECHO_C" >&6; } 7012 cat >conftest.$ac_ext <<_ACEOF 7013 /* confdefs.h. */ 7014 _ACEOF 7015 cat confdefs.h >>conftest.$ac_ext 7016 cat >>conftest.$ac_ext <<_ACEOF 7017 /* end confdefs.h. */ 7018 #include <semaphore.h> 7019 _ACEOF 7020 if { (ac_try="$ac_cpp conftest.$ac_ext" 7021 case "(($ac_try" in 7022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7023 *) ac_try_echo=$ac_try;; 7024 esac 7025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7027 ac_status=$? 7028 grep -v '^ *+' conftest.er1 >conftest.err 7029 rm -f conftest.er1 7030 cat conftest.err >&5 7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7032 (exit $ac_status); } >/dev/null && { 7033 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7034 test ! -s conftest.err 7035 }; then 7036 ac_header_preproc=yes 7037 else 7038 echo "$as_me: failed program was:" >&5 7039 sed 's/^/| /' conftest.$ac_ext >&5 7040 7041 ac_header_preproc=no 7042 fi 7043 7044 rm -f conftest.err conftest.$ac_ext 7045 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7046 echo "${ECHO_T}$ac_header_preproc" >&6; } 7047 7048 # So? What about this header? 7049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7050 yes:no: ) 7051 { echo "$as_me:$LINENO: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&5 7052 echo "$as_me: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7053 { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the compiler's result" >&5 7054 echo "$as_me: WARNING: semaphore.h: proceeding with the compiler's result" >&2;} 7055 ac_header_preproc=yes 7056 ;; 7057 no:yes:* ) 7058 { echo "$as_me:$LINENO: WARNING: semaphore.h: present but cannot be compiled" >&5 7059 echo "$as_me: WARNING: semaphore.h: present but cannot be compiled" >&2;} 7060 { echo "$as_me:$LINENO: WARNING: semaphore.h: check for missing prerequisite headers?" >&5 7061 echo "$as_me: WARNING: semaphore.h: check for missing prerequisite headers?" >&2;} 7062 { echo "$as_me:$LINENO: WARNING: semaphore.h: see the Autoconf documentation" >&5 7063 echo "$as_me: WARNING: semaphore.h: see the Autoconf documentation" >&2;} 7064 { echo "$as_me:$LINENO: WARNING: semaphore.h: section \"Present But Cannot Be Compiled\"" >&5 7065 echo "$as_me: WARNING: semaphore.h: section \"Present But Cannot Be Compiled\"" >&2;} 7066 { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the preprocessor's result" >&5 7067 echo "$as_me: WARNING: semaphore.h: proceeding with the preprocessor's result" >&2;} 7068 { echo "$as_me:$LINENO: WARNING: semaphore.h: in the future, the compiler will take precedence" >&5 7069 echo "$as_me: WARNING: semaphore.h: in the future, the compiler will take precedence" >&2;} 7070 7071 ;; 7072 esac 7073 { echo "$as_me:$LINENO: checking for semaphore.h" >&5 7074 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 7075 if test "${ac_cv_header_semaphore_h+set}" = set; then 7076 echo $ECHO_N "(cached) $ECHO_C" >&6 7077 else 7078 ac_cv_header_semaphore_h=$ac_header_preproc 7079 fi 7080 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 7081 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 7082 7083 fi 7084 if test $ac_cv_header_semaphore_h = yes; then 7085 cat >>confdefs.h <<\_ACEOF 7086 #define PJ_HAS_SEMAPHORE_H 1 7087 _ACEOF 7088 7089 fi 7090 7091 7092 if test "${ac_cv_header_setjmp_h+set}" = set; then 7093 { echo "$as_me:$LINENO: checking for setjmp.h" >&5 7094 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 7095 if test "${ac_cv_header_setjmp_h+set}" = set; then 7096 echo $ECHO_N "(cached) $ECHO_C" >&6 7097 fi 7098 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 7099 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 7100 else 7101 # Is the header compilable? 7102 { echo "$as_me:$LINENO: checking setjmp.h usability" >&5 7103 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6; } 7104 cat >conftest.$ac_ext <<_ACEOF 7105 /* confdefs.h. */ 7106 _ACEOF 7107 cat confdefs.h >>conftest.$ac_ext 7108 cat >>conftest.$ac_ext <<_ACEOF 7109 /* end confdefs.h. */ 7110 $ac_includes_default 7111 #include <setjmp.h> 7112 _ACEOF 7113 rm -f conftest.$ac_objext 7114 if { (ac_try="$ac_compile" 7115 case "(($ac_try" in 7116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7117 *) ac_try_echo=$ac_try;; 7118 esac 7119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7120 (eval "$ac_compile") 2>conftest.er1 7121 ac_status=$? 7122 grep -v '^ *+' conftest.er1 >conftest.err 7123 rm -f conftest.er1 7124 cat conftest.err >&5 7125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7126 (exit $ac_status); } && { 7127 test -z "$ac_c_werror_flag" || 7128 test ! -s conftest.err 7129 } && test -s conftest.$ac_objext; then 7130 ac_header_compiler=yes 7131 else 7132 echo "$as_me: failed program was:" >&5 7133 sed 's/^/| /' conftest.$ac_ext >&5 7134 7135 ac_header_compiler=no 7136 fi 7137 7138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7139 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7140 echo "${ECHO_T}$ac_header_compiler" >&6; } 7141 7142 # Is the header present? 7143 { echo "$as_me:$LINENO: checking setjmp.h presence" >&5 7144 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6; } 7145 cat >conftest.$ac_ext <<_ACEOF 7146 /* confdefs.h. */ 7147 _ACEOF 7148 cat confdefs.h >>conftest.$ac_ext 7149 cat >>conftest.$ac_ext <<_ACEOF 7150 /* end confdefs.h. */ 7151 #include <setjmp.h> 7152 _ACEOF 7153 if { (ac_try="$ac_cpp conftest.$ac_ext" 7154 case "(($ac_try" in 7155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7156 *) ac_try_echo=$ac_try;; 7157 esac 7158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7159 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7160 ac_status=$? 7161 grep -v '^ *+' conftest.er1 >conftest.err 7162 rm -f conftest.er1 7163 cat conftest.err >&5 7164 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7165 (exit $ac_status); } >/dev/null && { 7166 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7167 test ! -s conftest.err 7168 }; then 7169 ac_header_preproc=yes 7170 else 7171 echo "$as_me: failed program was:" >&5 7172 sed 's/^/| /' conftest.$ac_ext >&5 7173 7174 ac_header_preproc=no 7175 fi 7176 7177 rm -f conftest.err conftest.$ac_ext 7178 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7179 echo "${ECHO_T}$ac_header_preproc" >&6; } 7180 7181 # So? What about this header? 7182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7183 yes:no: ) 7184 { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 7185 echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7186 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 7187 echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 7188 ac_header_preproc=yes 7189 ;; 7190 no:yes:* ) 7191 { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 7192 echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 7193 { echo "$as_me:$LINENO: WARNING: setjmp.h: check for missing prerequisite headers?" >&5 7194 echo "$as_me: WARNING: setjmp.h: check for missing prerequisite headers?" >&2;} 7195 { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 7196 echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 7197 { echo "$as_me:$LINENO: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&5 7198 echo "$as_me: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&2;} 7199 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 7200 echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 7201 { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 7202 echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 7203 7204 ;; 7205 esac 7206 { echo "$as_me:$LINENO: checking for setjmp.h" >&5 7207 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 7208 if test "${ac_cv_header_setjmp_h+set}" = set; then 7209 echo $ECHO_N "(cached) $ECHO_C" >&6 7210 else 7211 ac_cv_header_setjmp_h=$ac_header_preproc 7212 fi 7213 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 7214 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 7215 7216 fi 7217 if test $ac_cv_header_setjmp_h = yes; then 7218 cat >>confdefs.h <<\_ACEOF 7219 #define PJ_HAS_SETJMP_H 1 7220 _ACEOF 7221 7222 fi 7223 7224 7225 if test "${ac_cv_header_stdarg_h+set}" = set; then 7226 { echo "$as_me:$LINENO: checking for stdarg.h" >&5 7227 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 7228 if test "${ac_cv_header_stdarg_h+set}" = set; then 7229 echo $ECHO_N "(cached) $ECHO_C" >&6 7230 fi 7231 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 7232 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 7233 else 7234 # Is the header compilable? 7235 { echo "$as_me:$LINENO: checking stdarg.h usability" >&5 7236 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; } 7237 cat >conftest.$ac_ext <<_ACEOF 7238 /* confdefs.h. */ 7239 _ACEOF 7240 cat confdefs.h >>conftest.$ac_ext 7241 cat >>conftest.$ac_ext <<_ACEOF 7242 /* end confdefs.h. */ 7243 $ac_includes_default 7244 #include <stdarg.h> 7245 _ACEOF 7246 rm -f conftest.$ac_objext 7247 if { (ac_try="$ac_compile" 7248 case "(($ac_try" in 7249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7250 *) ac_try_echo=$ac_try;; 7251 esac 7252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7253 (eval "$ac_compile") 2>conftest.er1 7254 ac_status=$? 7255 grep -v '^ *+' conftest.er1 >conftest.err 7256 rm -f conftest.er1 7257 cat conftest.err >&5 7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7259 (exit $ac_status); } && { 7260 test -z "$ac_c_werror_flag" || 7261 test ! -s conftest.err 7262 } && test -s conftest.$ac_objext; then 7263 ac_header_compiler=yes 7264 else 7265 echo "$as_me: failed program was:" >&5 7266 sed 's/^/| /' conftest.$ac_ext >&5 7267 7268 ac_header_compiler=no 7269 fi 7270 7271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7272 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7273 echo "${ECHO_T}$ac_header_compiler" >&6; } 7274 7275 # Is the header present? 7276 { echo "$as_me:$LINENO: checking stdarg.h presence" >&5 7277 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; } 7278 cat >conftest.$ac_ext <<_ACEOF 7279 /* confdefs.h. */ 7280 _ACEOF 7281 cat confdefs.h >>conftest.$ac_ext 7282 cat >>conftest.$ac_ext <<_ACEOF 7283 /* end confdefs.h. */ 7284 #include <stdarg.h> 7285 _ACEOF 7286 if { (ac_try="$ac_cpp conftest.$ac_ext" 7287 case "(($ac_try" in 7288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7289 *) ac_try_echo=$ac_try;; 7290 esac 7291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7292 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7293 ac_status=$? 7294 grep -v '^ *+' conftest.er1 >conftest.err 7295 rm -f conftest.er1 7296 cat conftest.err >&5 7297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7298 (exit $ac_status); } >/dev/null && { 7299 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7300 test ! -s conftest.err 7301 }; then 7302 ac_header_preproc=yes 7303 else 7304 echo "$as_me: failed program was:" >&5 7305 sed 's/^/| /' conftest.$ac_ext >&5 7306 7307 ac_header_preproc=no 7308 fi 7309 7310 rm -f conftest.err conftest.$ac_ext 7311 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7312 echo "${ECHO_T}$ac_header_preproc" >&6; } 7313 7314 # So? What about this header? 7315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7316 yes:no: ) 7317 { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 7318 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7319 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 7320 echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 7321 ac_header_preproc=yes 7322 ;; 7323 no:yes:* ) 7324 { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 7325 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 7326 { echo "$as_me:$LINENO: WARNING: stdarg.h: check for missing prerequisite headers?" >&5 7327 echo "$as_me: WARNING: stdarg.h: check for missing prerequisite headers?" >&2;} 7328 { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 7329 echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 7330 { echo "$as_me:$LINENO: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&5 7331 echo "$as_me: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&2;} 7332 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 7333 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 7334 { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 7335 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 7336 7337 ;; 7338 esac 7339 { echo "$as_me:$LINENO: checking for stdarg.h" >&5 7340 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 7341 if test "${ac_cv_header_stdarg_h+set}" = set; then 7342 echo $ECHO_N "(cached) $ECHO_C" >&6 7343 else 7344 ac_cv_header_stdarg_h=$ac_header_preproc 7345 fi 7346 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 7347 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 7348 7349 fi 7350 if test $ac_cv_header_stdarg_h = yes; then 7351 cat >>confdefs.h <<\_ACEOF 7352 #define PJ_HAS_STDARG_H 1 7353 _ACEOF 7354 7355 fi 7356 7357 7358 if test "${ac_cv_header_stddef_h+set}" = set; then 7359 { echo "$as_me:$LINENO: checking for stddef.h" >&5 7360 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 7361 if test "${ac_cv_header_stddef_h+set}" = set; then 7362 echo $ECHO_N "(cached) $ECHO_C" >&6 7363 fi 7364 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 7365 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 7366 else 7367 # Is the header compilable? 7368 { echo "$as_me:$LINENO: checking stddef.h usability" >&5 7369 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6; } 7370 cat >conftest.$ac_ext <<_ACEOF 7371 /* confdefs.h. */ 7372 _ACEOF 7373 cat confdefs.h >>conftest.$ac_ext 7374 cat >>conftest.$ac_ext <<_ACEOF 7375 /* end confdefs.h. */ 7376 $ac_includes_default 7377 #include <stddef.h> 7378 _ACEOF 7379 rm -f conftest.$ac_objext 7380 if { (ac_try="$ac_compile" 7381 case "(($ac_try" in 7382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7383 *) ac_try_echo=$ac_try;; 7384 esac 7385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7386 (eval "$ac_compile") 2>conftest.er1 7387 ac_status=$? 7388 grep -v '^ *+' conftest.er1 >conftest.err 7389 rm -f conftest.er1 7390 cat conftest.err >&5 7391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7392 (exit $ac_status); } && { 7393 test -z "$ac_c_werror_flag" || 7394 test ! -s conftest.err 7395 } && test -s conftest.$ac_objext; then 7396 ac_header_compiler=yes 7397 else 7398 echo "$as_me: failed program was:" >&5 7399 sed 's/^/| /' conftest.$ac_ext >&5 7400 7401 ac_header_compiler=no 7402 fi 7403 7404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7405 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7406 echo "${ECHO_T}$ac_header_compiler" >&6; } 7407 7408 # Is the header present? 7409 { echo "$as_me:$LINENO: checking stddef.h presence" >&5 7410 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6; } 7411 cat >conftest.$ac_ext <<_ACEOF 7412 /* confdefs.h. */ 7413 _ACEOF 7414 cat confdefs.h >>conftest.$ac_ext 7415 cat >>conftest.$ac_ext <<_ACEOF 7416 /* end confdefs.h. */ 7417 #include <stddef.h> 7418 _ACEOF 7419 if { (ac_try="$ac_cpp conftest.$ac_ext" 7420 case "(($ac_try" in 7421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7422 *) ac_try_echo=$ac_try;; 7423 esac 7424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7425 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7426 ac_status=$? 7427 grep -v '^ *+' conftest.er1 >conftest.err 7428 rm -f conftest.er1 7429 cat conftest.err >&5 7430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7431 (exit $ac_status); } >/dev/null && { 7432 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7433 test ! -s conftest.err 7434 }; then 7435 ac_header_preproc=yes 7436 else 7437 echo "$as_me: failed program was:" >&5 7438 sed 's/^/| /' conftest.$ac_ext >&5 7439 7440 ac_header_preproc=no 7441 fi 7442 7443 rm -f conftest.err conftest.$ac_ext 7444 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7445 echo "${ECHO_T}$ac_header_preproc" >&6; } 7446 7447 # So? What about this header? 7448 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7449 yes:no: ) 7450 { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 7451 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7452 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 7453 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 7454 ac_header_preproc=yes 7455 ;; 7456 no:yes:* ) 7457 { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 7458 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 7459 { echo "$as_me:$LINENO: WARNING: stddef.h: check for missing prerequisite headers?" >&5 7460 echo "$as_me: WARNING: stddef.h: check for missing prerequisite headers?" >&2;} 7461 { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 7462 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 7463 { echo "$as_me:$LINENO: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&5 7464 echo "$as_me: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&2;} 7465 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 7466 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 7467 { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 7468 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 7469 7470 ;; 7471 esac 7472 { echo "$as_me:$LINENO: checking for stddef.h" >&5 7473 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 7474 if test "${ac_cv_header_stddef_h+set}" = set; then 7475 echo $ECHO_N "(cached) $ECHO_C" >&6 7476 else 7477 ac_cv_header_stddef_h=$ac_header_preproc 7478 fi 7479 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 7480 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 7481 7482 fi 7483 if test $ac_cv_header_stddef_h = yes; then 7484 cat >>confdefs.h <<\_ACEOF 7485 #define PJ_HAS_STDDEF_H 1 7486 _ACEOF 7487 7488 fi 7489 7490 7491 if test "${ac_cv_header_stdio_h+set}" = set; then 7492 { echo "$as_me:$LINENO: checking for stdio.h" >&5 7493 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 7494 if test "${ac_cv_header_stdio_h+set}" = set; then 7495 echo $ECHO_N "(cached) $ECHO_C" >&6 7496 fi 7497 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 7498 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 7499 else 7500 # Is the header compilable? 7501 { echo "$as_me:$LINENO: checking stdio.h usability" >&5 7502 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6; } 7503 cat >conftest.$ac_ext <<_ACEOF 7504 /* confdefs.h. */ 7505 _ACEOF 7506 cat confdefs.h >>conftest.$ac_ext 7507 cat >>conftest.$ac_ext <<_ACEOF 7508 /* end confdefs.h. */ 7509 $ac_includes_default 7510 #include <stdio.h> 7511 _ACEOF 7512 rm -f conftest.$ac_objext 7513 if { (ac_try="$ac_compile" 7514 case "(($ac_try" in 7515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7516 *) ac_try_echo=$ac_try;; 7517 esac 7518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7519 (eval "$ac_compile") 2>conftest.er1 7520 ac_status=$? 7521 grep -v '^ *+' conftest.er1 >conftest.err 7522 rm -f conftest.er1 7523 cat conftest.err >&5 7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7525 (exit $ac_status); } && { 7526 test -z "$ac_c_werror_flag" || 7527 test ! -s conftest.err 7528 } && test -s conftest.$ac_objext; then 7529 ac_header_compiler=yes 7530 else 7531 echo "$as_me: failed program was:" >&5 7532 sed 's/^/| /' conftest.$ac_ext >&5 7533 7534 ac_header_compiler=no 7535 fi 7536 7537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7538 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7539 echo "${ECHO_T}$ac_header_compiler" >&6; } 7540 7541 # Is the header present? 7542 { echo "$as_me:$LINENO: checking stdio.h presence" >&5 7543 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6; } 7544 cat >conftest.$ac_ext <<_ACEOF 7545 /* confdefs.h. */ 7546 _ACEOF 7547 cat confdefs.h >>conftest.$ac_ext 7548 cat >>conftest.$ac_ext <<_ACEOF 7549 /* end confdefs.h. */ 7550 #include <stdio.h> 7551 _ACEOF 7552 if { (ac_try="$ac_cpp conftest.$ac_ext" 7553 case "(($ac_try" in 7554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7555 *) ac_try_echo=$ac_try;; 7556 esac 7557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7558 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7559 ac_status=$? 7560 grep -v '^ *+' conftest.er1 >conftest.err 7561 rm -f conftest.er1 7562 cat conftest.err >&5 7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7564 (exit $ac_status); } >/dev/null && { 7565 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7566 test ! -s conftest.err 7567 }; then 7568 ac_header_preproc=yes 7569 else 7570 echo "$as_me: failed program was:" >&5 7571 sed 's/^/| /' conftest.$ac_ext >&5 7572 7573 ac_header_preproc=no 7574 fi 7575 7576 rm -f conftest.err conftest.$ac_ext 7577 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7578 echo "${ECHO_T}$ac_header_preproc" >&6; } 7579 7580 # So? What about this header? 7581 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7582 yes:no: ) 7583 { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 7584 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7585 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 7586 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 7587 ac_header_preproc=yes 7588 ;; 7589 no:yes:* ) 7590 { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 7591 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 7592 { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5 7593 echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;} 7594 { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 7595 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 7596 { echo "$as_me:$LINENO: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&5 7597 echo "$as_me: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&2;} 7598 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 7599 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 7600 { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 7601 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 7602 7603 ;; 7604 esac 7605 { echo "$as_me:$LINENO: checking for stdio.h" >&5 7606 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 7607 if test "${ac_cv_header_stdio_h+set}" = set; then 7608 echo $ECHO_N "(cached) $ECHO_C" >&6 7609 else 7610 ac_cv_header_stdio_h=$ac_header_preproc 7611 fi 7612 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 7613 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 7614 7615 fi 7616 if test $ac_cv_header_stdio_h = yes; then 7617 cat >>confdefs.h <<\_ACEOF 7618 #define PJ_HAS_STDIO_H 1 7619 _ACEOF 7620 7621 fi 7622 7623 7624 if test "${ac_cv_header_stdint_h+set}" = set; then 7625 { echo "$as_me:$LINENO: checking for stdint.h" >&5 7626 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 7627 if test "${ac_cv_header_stdint_h+set}" = set; then 7628 echo $ECHO_N "(cached) $ECHO_C" >&6 7629 fi 7630 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 7631 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 7632 else 7633 # Is the header compilable? 7634 { echo "$as_me:$LINENO: checking stdint.h usability" >&5 7635 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6; } 7636 cat >conftest.$ac_ext <<_ACEOF 7637 /* confdefs.h. */ 7638 _ACEOF 7639 cat confdefs.h >>conftest.$ac_ext 7640 cat >>conftest.$ac_ext <<_ACEOF 7641 /* end confdefs.h. */ 7642 $ac_includes_default 7643 #include <stdint.h> 7644 _ACEOF 7645 rm -f conftest.$ac_objext 7646 if { (ac_try="$ac_compile" 7647 case "(($ac_try" in 7648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7649 *) ac_try_echo=$ac_try;; 7650 esac 7651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7652 (eval "$ac_compile") 2>conftest.er1 7653 ac_status=$? 7654 grep -v '^ *+' conftest.er1 >conftest.err 7655 rm -f conftest.er1 7656 cat conftest.err >&5 7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7658 (exit $ac_status); } && { 7659 test -z "$ac_c_werror_flag" || 7660 test ! -s conftest.err 7661 } && test -s conftest.$ac_objext; then 7662 ac_header_compiler=yes 7663 else 7664 echo "$as_me: failed program was:" >&5 7665 sed 's/^/| /' conftest.$ac_ext >&5 7666 7667 ac_header_compiler=no 7668 fi 7669 7670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7671 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7672 echo "${ECHO_T}$ac_header_compiler" >&6; } 7673 7674 # Is the header present? 7675 { echo "$as_me:$LINENO: checking stdint.h presence" >&5 7676 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6; } 7677 cat >conftest.$ac_ext <<_ACEOF 7678 /* confdefs.h. */ 7679 _ACEOF 7680 cat confdefs.h >>conftest.$ac_ext 7681 cat >>conftest.$ac_ext <<_ACEOF 7682 /* end confdefs.h. */ 7683 #include <stdint.h> 7684 _ACEOF 7685 if { (ac_try="$ac_cpp conftest.$ac_ext" 7686 case "(($ac_try" in 7687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7688 *) ac_try_echo=$ac_try;; 7689 esac 7690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7691 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7692 ac_status=$? 7693 grep -v '^ *+' conftest.er1 >conftest.err 7694 rm -f conftest.er1 7695 cat conftest.err >&5 7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7697 (exit $ac_status); } >/dev/null && { 7698 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7699 test ! -s conftest.err 7700 }; then 7701 ac_header_preproc=yes 7702 else 7703 echo "$as_me: failed program was:" >&5 7704 sed 's/^/| /' conftest.$ac_ext >&5 7705 7706 ac_header_preproc=no 7707 fi 7708 7709 rm -f conftest.err conftest.$ac_ext 7710 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7711 echo "${ECHO_T}$ac_header_preproc" >&6; } 7712 7713 # So? What about this header? 7714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7715 yes:no: ) 7716 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 7717 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7718 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 7719 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 7720 ac_header_preproc=yes 7721 ;; 7722 no:yes:* ) 7723 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 7724 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 7725 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5 7726 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;} 7727 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 7728 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 7729 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5 7730 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;} 7731 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 7732 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 7733 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 7734 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 7735 7736 ;; 7737 esac 7738 { echo "$as_me:$LINENO: checking for stdint.h" >&5 7739 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 7740 if test "${ac_cv_header_stdint_h+set}" = set; then 7741 echo $ECHO_N "(cached) $ECHO_C" >&6 7742 else 7743 ac_cv_header_stdint_h=$ac_header_preproc 7744 fi 7745 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 7746 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 7747 7748 fi 7749 if test $ac_cv_header_stdint_h = yes; then 7750 cat >>confdefs.h <<\_ACEOF 7751 #define PJ_HAS_STDINT_H 1 7752 _ACEOF 7753 7754 fi 7755 7756 7757 if test "${ac_cv_header_stdlib_h+set}" = set; then 7758 { echo "$as_me:$LINENO: checking for stdlib.h" >&5 7759 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 7760 if test "${ac_cv_header_stdlib_h+set}" = set; then 7761 echo $ECHO_N "(cached) $ECHO_C" >&6 7762 fi 7763 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 7764 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 7765 else 7766 # Is the header compilable? 7767 { echo "$as_me:$LINENO: checking stdlib.h usability" >&5 7768 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; } 7769 cat >conftest.$ac_ext <<_ACEOF 7770 /* confdefs.h. */ 7771 _ACEOF 7772 cat confdefs.h >>conftest.$ac_ext 7773 cat >>conftest.$ac_ext <<_ACEOF 7774 /* end confdefs.h. */ 7775 $ac_includes_default 7776 #include <stdlib.h> 7777 _ACEOF 7778 rm -f conftest.$ac_objext 7779 if { (ac_try="$ac_compile" 7780 case "(($ac_try" in 7781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7782 *) ac_try_echo=$ac_try;; 7783 esac 7784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7785 (eval "$ac_compile") 2>conftest.er1 7786 ac_status=$? 7787 grep -v '^ *+' conftest.er1 >conftest.err 7788 rm -f conftest.er1 7789 cat conftest.err >&5 7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7791 (exit $ac_status); } && { 7792 test -z "$ac_c_werror_flag" || 7793 test ! -s conftest.err 7794 } && test -s conftest.$ac_objext; then 7795 ac_header_compiler=yes 7796 else 7797 echo "$as_me: failed program was:" >&5 7798 sed 's/^/| /' conftest.$ac_ext >&5 7799 7800 ac_header_compiler=no 7801 fi 7802 7803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7804 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7805 echo "${ECHO_T}$ac_header_compiler" >&6; } 7806 7807 # Is the header present? 7808 { echo "$as_me:$LINENO: checking stdlib.h presence" >&5 7809 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; } 7810 cat >conftest.$ac_ext <<_ACEOF 7811 /* confdefs.h. */ 7812 _ACEOF 7813 cat confdefs.h >>conftest.$ac_ext 7814 cat >>conftest.$ac_ext <<_ACEOF 7815 /* end confdefs.h. */ 7816 #include <stdlib.h> 7817 _ACEOF 7818 if { (ac_try="$ac_cpp conftest.$ac_ext" 7819 case "(($ac_try" in 7820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7821 *) ac_try_echo=$ac_try;; 7822 esac 7823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7824 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7825 ac_status=$? 7826 grep -v '^ *+' conftest.er1 >conftest.err 7827 rm -f conftest.er1 7828 cat conftest.err >&5 7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7830 (exit $ac_status); } >/dev/null && { 7831 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7832 test ! -s conftest.err 7833 }; then 7834 ac_header_preproc=yes 7835 else 7836 echo "$as_me: failed program was:" >&5 7837 sed 's/^/| /' conftest.$ac_ext >&5 7838 7839 ac_header_preproc=no 7840 fi 7841 7842 rm -f conftest.err conftest.$ac_ext 7843 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7844 echo "${ECHO_T}$ac_header_preproc" >&6; } 7845 7846 # So? What about this header? 7847 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7848 yes:no: ) 7849 { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 7850 echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7851 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 7852 echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 7853 ac_header_preproc=yes 7854 ;; 7855 no:yes:* ) 7856 { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 7857 echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 7858 { echo "$as_me:$LINENO: WARNING: stdlib.h: check for missing prerequisite headers?" >&5 7859 echo "$as_me: WARNING: stdlib.h: check for missing prerequisite headers?" >&2;} 7860 { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 7861 echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 7862 { echo "$as_me:$LINENO: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&5 7863 echo "$as_me: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&2;} 7864 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 7865 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 7866 { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 7867 echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 7868 7869 ;; 7870 esac 7871 { echo "$as_me:$LINENO: checking for stdlib.h" >&5 7872 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 7873 if test "${ac_cv_header_stdlib_h+set}" = set; then 7874 echo $ECHO_N "(cached) $ECHO_C" >&6 7875 else 7876 ac_cv_header_stdlib_h=$ac_header_preproc 7877 fi 7878 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 7879 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 7880 7881 fi 7882 if test $ac_cv_header_stdlib_h = yes; then 7883 cat >>confdefs.h <<\_ACEOF 7884 #define PJ_HAS_STDLIB_H 1 7885 _ACEOF 7886 7887 fi 7888 7889 7890 if test "${ac_cv_header_string_h+set}" = set; then 7891 { echo "$as_me:$LINENO: checking for string.h" >&5 7892 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 7893 if test "${ac_cv_header_string_h+set}" = set; then 7894 echo $ECHO_N "(cached) $ECHO_C" >&6 7895 fi 7896 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 7897 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 7898 else 7899 # Is the header compilable? 7900 { echo "$as_me:$LINENO: checking string.h usability" >&5 7901 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6; } 7902 cat >conftest.$ac_ext <<_ACEOF 7903 /* confdefs.h. */ 7904 _ACEOF 7905 cat confdefs.h >>conftest.$ac_ext 7906 cat >>conftest.$ac_ext <<_ACEOF 7907 /* end confdefs.h. */ 7908 $ac_includes_default 7909 #include <string.h> 7910 _ACEOF 7911 rm -f conftest.$ac_objext 7912 if { (ac_try="$ac_compile" 7913 case "(($ac_try" in 7914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7915 *) ac_try_echo=$ac_try;; 7916 esac 7917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7918 (eval "$ac_compile") 2>conftest.er1 7919 ac_status=$? 7920 grep -v '^ *+' conftest.er1 >conftest.err 7921 rm -f conftest.er1 7922 cat conftest.err >&5 7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7924 (exit $ac_status); } && { 7925 test -z "$ac_c_werror_flag" || 7926 test ! -s conftest.err 7927 } && test -s conftest.$ac_objext; then 7928 ac_header_compiler=yes 7929 else 7930 echo "$as_me: failed program was:" >&5 7931 sed 's/^/| /' conftest.$ac_ext >&5 7932 7933 ac_header_compiler=no 7934 fi 7935 7936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7937 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7938 echo "${ECHO_T}$ac_header_compiler" >&6; } 7939 7940 # Is the header present? 7941 { echo "$as_me:$LINENO: checking string.h presence" >&5 7942 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6; } 7943 cat >conftest.$ac_ext <<_ACEOF 7944 /* confdefs.h. */ 7945 _ACEOF 7946 cat confdefs.h >>conftest.$ac_ext 7947 cat >>conftest.$ac_ext <<_ACEOF 7948 /* end confdefs.h. */ 7949 #include <string.h> 7950 _ACEOF 7951 if { (ac_try="$ac_cpp conftest.$ac_ext" 7952 case "(($ac_try" in 7953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7954 *) ac_try_echo=$ac_try;; 7955 esac 7956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7957 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7958 ac_status=$? 7959 grep -v '^ *+' conftest.er1 >conftest.err 7960 rm -f conftest.er1 7961 cat conftest.err >&5 7962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7963 (exit $ac_status); } >/dev/null && { 7964 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7965 test ! -s conftest.err 7966 }; then 7967 ac_header_preproc=yes 7968 else 7969 echo "$as_me: failed program was:" >&5 7970 sed 's/^/| /' conftest.$ac_ext >&5 7971 7972 ac_header_preproc=no 7973 fi 7974 7975 rm -f conftest.err conftest.$ac_ext 7976 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7977 echo "${ECHO_T}$ac_header_preproc" >&6; } 7978 7979 # So? What about this header? 7980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7981 yes:no: ) 7982 { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 7983 echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7984 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 7985 echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 7986 ac_header_preproc=yes 7987 ;; 7988 no:yes:* ) 7989 { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 7990 echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 7991 { echo "$as_me:$LINENO: WARNING: string.h: check for missing prerequisite headers?" >&5 7992 echo "$as_me: WARNING: string.h: check for missing prerequisite headers?" >&2;} 7993 { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 7994 echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 7995 { echo "$as_me:$LINENO: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&5 7996 echo "$as_me: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&2;} 7997 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 7998 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 7999 { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 8000 echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 8001 8002 ;; 8003 esac 8004 { echo "$as_me:$LINENO: checking for string.h" >&5 8005 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 8006 if test "${ac_cv_header_string_h+set}" = set; then 8007 echo $ECHO_N "(cached) $ECHO_C" >&6 8008 else 8009 ac_cv_header_string_h=$ac_header_preproc 8010 fi 8011 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 8012 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 8013 8014 fi 8015 if test $ac_cv_header_string_h = yes; then 8016 cat >>confdefs.h <<\_ACEOF 8017 #define PJ_HAS_STRING_H 1 8018 _ACEOF 8019 8020 fi 8021 8022 8023 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 8024 { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 8025 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 8026 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 8027 echo $ECHO_N "(cached) $ECHO_C" >&6 8028 fi 8029 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 8030 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 8031 else 8032 # Is the header compilable? 8033 { echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 8034 echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6; } 8035 cat >conftest.$ac_ext <<_ACEOF 8036 /* confdefs.h. */ 8037 _ACEOF 8038 cat confdefs.h >>conftest.$ac_ext 8039 cat >>conftest.$ac_ext <<_ACEOF 8040 /* end confdefs.h. */ 8041 $ac_includes_default 8042 #include <sys/ioctl.h> 8043 _ACEOF 8044 rm -f conftest.$ac_objext 8045 if { (ac_try="$ac_compile" 8046 case "(($ac_try" in 8047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8048 *) ac_try_echo=$ac_try;; 8049 esac 8050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8051 (eval "$ac_compile") 2>conftest.er1 8052 ac_status=$? 8053 grep -v '^ *+' conftest.er1 >conftest.err 8054 rm -f conftest.er1 8055 cat conftest.err >&5 8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8057 (exit $ac_status); } && { 8058 test -z "$ac_c_werror_flag" || 8059 test ! -s conftest.err 8060 } && test -s conftest.$ac_objext; then 8061 ac_header_compiler=yes 8062 else 8063 echo "$as_me: failed program was:" >&5 8064 sed 's/^/| /' conftest.$ac_ext >&5 8065 8066 ac_header_compiler=no 8067 fi 8068 8069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8070 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8071 echo "${ECHO_T}$ac_header_compiler" >&6; } 8072 8073 # Is the header present? 8074 { echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 8075 echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6; } 8076 cat >conftest.$ac_ext <<_ACEOF 8077 /* confdefs.h. */ 8078 _ACEOF 8079 cat confdefs.h >>conftest.$ac_ext 8080 cat >>conftest.$ac_ext <<_ACEOF 8081 /* end confdefs.h. */ 8082 #include <sys/ioctl.h> 8083 _ACEOF 8084 if { (ac_try="$ac_cpp conftest.$ac_ext" 8085 case "(($ac_try" in 8086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8087 *) ac_try_echo=$ac_try;; 8088 esac 8089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8090 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8091 ac_status=$? 8092 grep -v '^ *+' conftest.er1 >conftest.err 8093 rm -f conftest.er1 8094 cat conftest.err >&5 8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8096 (exit $ac_status); } >/dev/null && { 8097 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8098 test ! -s conftest.err 8099 }; then 8100 ac_header_preproc=yes 8101 else 8102 echo "$as_me: failed program was:" >&5 8103 sed 's/^/| /' conftest.$ac_ext >&5 8104 8105 ac_header_preproc=no 8106 fi 8107 8108 rm -f conftest.err conftest.$ac_ext 8109 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8110 echo "${ECHO_T}$ac_header_preproc" >&6; } 8111 8112 # So? What about this header? 8113 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8114 yes:no: ) 8115 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 8116 echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8117 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 8118 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 8119 ac_header_preproc=yes 8120 ;; 8121 no:yes:* ) 8122 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 8123 echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 8124 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&5 8125 echo "$as_me: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&2;} 8126 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 8127 echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 8128 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: section \"Present But Cannot Be Compiled\"" >&5 8129 echo "$as_me: WARNING: sys/ioctl.h: section \"Present But Cannot Be Compiled\"" >&2;} 8130 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 8131 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 8132 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 8133 echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 8134 8135 ;; 8136 esac 8137 { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 8138 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 8139 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 8140 echo $ECHO_N "(cached) $ECHO_C" >&6 8141 else 8142 ac_cv_header_sys_ioctl_h=$ac_header_preproc 8143 fi 8144 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 8145 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 8146 8147 fi 8148 if test $ac_cv_header_sys_ioctl_h = yes; then 8149 cat >>confdefs.h <<\_ACEOF 8150 #define PJ_HAS_SYS_IOCTL_H 1 8151 _ACEOF 8152 8153 fi 8154 8155 8156 if test "${ac_cv_header_sys_select_h+set}" = set; then 8157 { echo "$as_me:$LINENO: checking for sys/select.h" >&5 8158 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 8159 if test "${ac_cv_header_sys_select_h+set}" = set; then 8160 echo $ECHO_N "(cached) $ECHO_C" >&6 8161 fi 8162 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 8163 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 8164 else 8165 # Is the header compilable? 8166 { echo "$as_me:$LINENO: checking sys/select.h usability" >&5 8167 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6; } 8168 cat >conftest.$ac_ext <<_ACEOF 8169 /* confdefs.h. */ 8170 _ACEOF 8171 cat confdefs.h >>conftest.$ac_ext 8172 cat >>conftest.$ac_ext <<_ACEOF 8173 /* end confdefs.h. */ 8174 $ac_includes_default 8175 #include <sys/select.h> 8176 _ACEOF 8177 rm -f conftest.$ac_objext 8178 if { (ac_try="$ac_compile" 8179 case "(($ac_try" in 8180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8181 *) ac_try_echo=$ac_try;; 8182 esac 8183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8184 (eval "$ac_compile") 2>conftest.er1 8185 ac_status=$? 8186 grep -v '^ *+' conftest.er1 >conftest.err 8187 rm -f conftest.er1 8188 cat conftest.err >&5 8189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8190 (exit $ac_status); } && { 8191 test -z "$ac_c_werror_flag" || 8192 test ! -s conftest.err 8193 } && test -s conftest.$ac_objext; then 8194 ac_header_compiler=yes 8195 else 8196 echo "$as_me: failed program was:" >&5 8197 sed 's/^/| /' conftest.$ac_ext >&5 8198 8199 ac_header_compiler=no 8200 fi 8201 8202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8203 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8204 echo "${ECHO_T}$ac_header_compiler" >&6; } 8205 8206 # Is the header present? 8207 { echo "$as_me:$LINENO: checking sys/select.h presence" >&5 8208 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6; } 8209 cat >conftest.$ac_ext <<_ACEOF 8210 /* confdefs.h. */ 8211 _ACEOF 8212 cat confdefs.h >>conftest.$ac_ext 8213 cat >>conftest.$ac_ext <<_ACEOF 8214 /* end confdefs.h. */ 8215 #include <sys/select.h> 8216 _ACEOF 8217 if { (ac_try="$ac_cpp conftest.$ac_ext" 8218 case "(($ac_try" in 8219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8220 *) ac_try_echo=$ac_try;; 8221 esac 8222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8223 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8224 ac_status=$? 8225 grep -v '^ *+' conftest.er1 >conftest.err 8226 rm -f conftest.er1 8227 cat conftest.err >&5 8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8229 (exit $ac_status); } >/dev/null && { 8230 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8231 test ! -s conftest.err 8232 }; then 8233 ac_header_preproc=yes 8234 else 8235 echo "$as_me: failed program was:" >&5 8236 sed 's/^/| /' conftest.$ac_ext >&5 8237 8238 ac_header_preproc=no 8239 fi 8240 8241 rm -f conftest.err conftest.$ac_ext 8242 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8243 echo "${ECHO_T}$ac_header_preproc" >&6; } 8244 8245 # So? What about this header? 8246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8247 yes:no: ) 8248 { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 8249 echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8250 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 8251 echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 8252 ac_header_preproc=yes 8253 ;; 8254 no:yes:* ) 8255 { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 8256 echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 8257 { echo "$as_me:$LINENO: WARNING: sys/select.h: check for missing prerequisite headers?" >&5 8258 echo "$as_me: WARNING: sys/select.h: check for missing prerequisite headers?" >&2;} 8259 { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 8260 echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 8261 { echo "$as_me:$LINENO: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&5 8262 echo "$as_me: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&2;} 8263 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 8264 echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 8265 { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 8266 echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 8267 8268 ;; 8269 esac 8270 { echo "$as_me:$LINENO: checking for sys/select.h" >&5 8271 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 8272 if test "${ac_cv_header_sys_select_h+set}" = set; then 8273 echo $ECHO_N "(cached) $ECHO_C" >&6 8274 else 8275 ac_cv_header_sys_select_h=$ac_header_preproc 8276 fi 8277 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 8278 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 8279 8280 fi 8281 if test $ac_cv_header_sys_select_h = yes; then 8282 cat >>confdefs.h <<\_ACEOF 8283 #define PJ_HAS_SYS_SELECT_H 1 8284 _ACEOF 8285 8286 fi 8287 8288 8289 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8290 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 8291 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 8292 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8293 echo $ECHO_N "(cached) $ECHO_C" >&6 8294 fi 8295 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 8296 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 8297 else 8298 # Is the header compilable? 8299 { echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 8300 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; } 8301 cat >conftest.$ac_ext <<_ACEOF 8302 /* confdefs.h. */ 8303 _ACEOF 8304 cat confdefs.h >>conftest.$ac_ext 8305 cat >>conftest.$ac_ext <<_ACEOF 8306 /* end confdefs.h. */ 8307 $ac_includes_default 8308 #include <sys/socket.h> 8309 _ACEOF 8310 rm -f conftest.$ac_objext 8311 if { (ac_try="$ac_compile" 8312 case "(($ac_try" in 8313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8314 *) ac_try_echo=$ac_try;; 8315 esac 8316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8317 (eval "$ac_compile") 2>conftest.er1 8318 ac_status=$? 8319 grep -v '^ *+' conftest.er1 >conftest.err 8320 rm -f conftest.er1 8321 cat conftest.err >&5 8322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8323 (exit $ac_status); } && { 8324 test -z "$ac_c_werror_flag" || 8325 test ! -s conftest.err 8326 } && test -s conftest.$ac_objext; then 8327 ac_header_compiler=yes 8328 else 8329 echo "$as_me: failed program was:" >&5 8330 sed 's/^/| /' conftest.$ac_ext >&5 8331 8332 ac_header_compiler=no 8333 fi 8334 8335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8336 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8337 echo "${ECHO_T}$ac_header_compiler" >&6; } 8338 8339 # Is the header present? 8340 { echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 8341 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; } 8342 cat >conftest.$ac_ext <<_ACEOF 8343 /* confdefs.h. */ 8344 _ACEOF 8345 cat confdefs.h >>conftest.$ac_ext 8346 cat >>conftest.$ac_ext <<_ACEOF 8347 /* end confdefs.h. */ 8348 #include <sys/socket.h> 8349 _ACEOF 8350 if { (ac_try="$ac_cpp conftest.$ac_ext" 8351 case "(($ac_try" in 8352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8353 *) ac_try_echo=$ac_try;; 8354 esac 8355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8356 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8357 ac_status=$? 8358 grep -v '^ *+' conftest.er1 >conftest.err 8359 rm -f conftest.er1 8360 cat conftest.err >&5 8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8362 (exit $ac_status); } >/dev/null && { 8363 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8364 test ! -s conftest.err 8365 }; then 8366 ac_header_preproc=yes 8367 else 8368 echo "$as_me: failed program was:" >&5 8369 sed 's/^/| /' conftest.$ac_ext >&5 8370 8371 ac_header_preproc=no 8372 fi 8373 8374 rm -f conftest.err conftest.$ac_ext 8375 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8376 echo "${ECHO_T}$ac_header_preproc" >&6; } 8377 8378 # So? What about this header? 8379 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8380 yes:no: ) 8381 { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 8382 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8383 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 8384 echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 8385 ac_header_preproc=yes 8386 ;; 8387 no:yes:* ) 8388 { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 8389 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 8390 { echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5 8391 echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;} 8392 { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 8393 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 8394 { echo "$as_me:$LINENO: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&5 8395 echo "$as_me: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&2;} 8396 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 8397 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 8398 { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 8399 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 8400 8401 ;; 8402 esac 8403 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 8404 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 8405 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8406 echo $ECHO_N "(cached) $ECHO_C" >&6 8407 else 8408 ac_cv_header_sys_socket_h=$ac_header_preproc 8409 fi 8410 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 8411 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 8412 8413 fi 8414 if test $ac_cv_header_sys_socket_h = yes; then 8415 cat >>confdefs.h <<\_ACEOF 8416 #define PJ_HAS_SYS_SOCKET_H 1 8417 _ACEOF 8418 8419 fi 8420 8421 8422 if test "${ac_cv_header_sys_time_h+set}" = set; then 8423 { echo "$as_me:$LINENO: checking for sys/time.h" >&5 8424 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 8425 if test "${ac_cv_header_sys_time_h+set}" = set; then 8426 echo $ECHO_N "(cached) $ECHO_C" >&6 8427 fi 8428 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 8429 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 8430 else 8431 # Is the header compilable? 8432 { echo "$as_me:$LINENO: checking sys/time.h usability" >&5 8433 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6; } 8434 cat >conftest.$ac_ext <<_ACEOF 8435 /* confdefs.h. */ 8436 _ACEOF 8437 cat confdefs.h >>conftest.$ac_ext 8438 cat >>conftest.$ac_ext <<_ACEOF 8439 /* end confdefs.h. */ 8440 $ac_includes_default 8441 #include <sys/time.h> 8442 _ACEOF 8443 rm -f conftest.$ac_objext 8444 if { (ac_try="$ac_compile" 8445 case "(($ac_try" in 8446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8447 *) ac_try_echo=$ac_try;; 8448 esac 8449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8450 (eval "$ac_compile") 2>conftest.er1 8451 ac_status=$? 8452 grep -v '^ *+' conftest.er1 >conftest.err 8453 rm -f conftest.er1 8454 cat conftest.err >&5 8455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8456 (exit $ac_status); } && { 8457 test -z "$ac_c_werror_flag" || 8458 test ! -s conftest.err 8459 } && test -s conftest.$ac_objext; then 8460 ac_header_compiler=yes 8461 else 8462 echo "$as_me: failed program was:" >&5 8463 sed 's/^/| /' conftest.$ac_ext >&5 8464 8465 ac_header_compiler=no 8466 fi 8467 8468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8469 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8470 echo "${ECHO_T}$ac_header_compiler" >&6; } 8471 8472 # Is the header present? 8473 { echo "$as_me:$LINENO: checking sys/time.h presence" >&5 8474 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6; } 8475 cat >conftest.$ac_ext <<_ACEOF 8476 /* confdefs.h. */ 8477 _ACEOF 8478 cat confdefs.h >>conftest.$ac_ext 8479 cat >>conftest.$ac_ext <<_ACEOF 8480 /* end confdefs.h. */ 8481 #include <sys/time.h> 8482 _ACEOF 8483 if { (ac_try="$ac_cpp conftest.$ac_ext" 8484 case "(($ac_try" in 8485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8486 *) ac_try_echo=$ac_try;; 8487 esac 8488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8490 ac_status=$? 8491 grep -v '^ *+' conftest.er1 >conftest.err 8492 rm -f conftest.er1 8493 cat conftest.err >&5 8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8495 (exit $ac_status); } >/dev/null && { 8496 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8497 test ! -s conftest.err 8498 }; then 8499 ac_header_preproc=yes 8500 else 8501 echo "$as_me: failed program was:" >&5 8502 sed 's/^/| /' conftest.$ac_ext >&5 8503 8504 ac_header_preproc=no 8505 fi 8506 8507 rm -f conftest.err conftest.$ac_ext 8508 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8509 echo "${ECHO_T}$ac_header_preproc" >&6; } 8510 8511 # So? What about this header? 8512 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8513 yes:no: ) 8514 { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 8515 echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8516 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 8517 echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 8518 ac_header_preproc=yes 8519 ;; 8520 no:yes:* ) 8521 { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 8522 echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 8523 { echo "$as_me:$LINENO: WARNING: sys/time.h: check for missing prerequisite headers?" >&5 8524 echo "$as_me: WARNING: sys/time.h: check for missing prerequisite headers?" >&2;} 8525 { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 8526 echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 8527 { echo "$as_me:$LINENO: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&5 8528 echo "$as_me: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&2;} 8529 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 8530 echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 8531 { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 8532 echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 8533 8534 ;; 8535 esac 8536 { echo "$as_me:$LINENO: checking for sys/time.h" >&5 8537 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 8538 if test "${ac_cv_header_sys_time_h+set}" = set; then 8539 echo $ECHO_N "(cached) $ECHO_C" >&6 8540 else 8541 ac_cv_header_sys_time_h=$ac_header_preproc 8542 fi 8543 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 8544 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 8545 8546 fi 8547 if test $ac_cv_header_sys_time_h = yes; then 8548 cat >>confdefs.h <<\_ACEOF 8549 #define PJ_HAS_SYS_TIME_H 1 8550 _ACEOF 8551 8552 fi 8553 8554 8555 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8556 { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 8557 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 8558 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8559 echo $ECHO_N "(cached) $ECHO_C" >&6 8560 fi 8561 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 8562 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 8563 else 8564 # Is the header compilable? 8565 { echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 8566 echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6; } 8567 cat >conftest.$ac_ext <<_ACEOF 8568 /* confdefs.h. */ 8569 _ACEOF 8570 cat confdefs.h >>conftest.$ac_ext 8571 cat >>conftest.$ac_ext <<_ACEOF 8572 /* end confdefs.h. */ 8573 $ac_includes_default 8574 #include <sys/timeb.h> 8575 _ACEOF 8576 rm -f conftest.$ac_objext 8577 if { (ac_try="$ac_compile" 8578 case "(($ac_try" in 8579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8580 *) ac_try_echo=$ac_try;; 8581 esac 8582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8583 (eval "$ac_compile") 2>conftest.er1 8584 ac_status=$? 8585 grep -v '^ *+' conftest.er1 >conftest.err 8586 rm -f conftest.er1 8587 cat conftest.err >&5 8588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8589 (exit $ac_status); } && { 8590 test -z "$ac_c_werror_flag" || 8591 test ! -s conftest.err 8592 } && test -s conftest.$ac_objext; then 8593 ac_header_compiler=yes 8594 else 8595 echo "$as_me: failed program was:" >&5 8596 sed 's/^/| /' conftest.$ac_ext >&5 8597 8598 ac_header_compiler=no 8599 fi 8600 8601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8602 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8603 echo "${ECHO_T}$ac_header_compiler" >&6; } 8604 8605 # Is the header present? 8606 { echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 8607 echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6; } 8608 cat >conftest.$ac_ext <<_ACEOF 8609 /* confdefs.h. */ 8610 _ACEOF 8611 cat confdefs.h >>conftest.$ac_ext 8612 cat >>conftest.$ac_ext <<_ACEOF 8613 /* end confdefs.h. */ 8614 #include <sys/timeb.h> 8615 _ACEOF 8616 if { (ac_try="$ac_cpp conftest.$ac_ext" 8617 case "(($ac_try" in 8618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8619 *) ac_try_echo=$ac_try;; 8620 esac 8621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8622 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8623 ac_status=$? 8624 grep -v '^ *+' conftest.er1 >conftest.err 8625 rm -f conftest.er1 8626 cat conftest.err >&5 8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8628 (exit $ac_status); } >/dev/null && { 8629 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8630 test ! -s conftest.err 8631 }; then 8632 ac_header_preproc=yes 8633 else 8634 echo "$as_me: failed program was:" >&5 8635 sed 's/^/| /' conftest.$ac_ext >&5 8636 8637 ac_header_preproc=no 8638 fi 8639 8640 rm -f conftest.err conftest.$ac_ext 8641 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8642 echo "${ECHO_T}$ac_header_preproc" >&6; } 8643 8644 # So? What about this header? 8645 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8646 yes:no: ) 8647 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 8648 echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8649 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 8650 echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 8651 ac_header_preproc=yes 8652 ;; 8653 no:yes:* ) 8654 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 8655 echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 8656 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&5 8657 echo "$as_me: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&2;} 8658 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 8659 echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 8660 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: section \"Present But Cannot Be Compiled\"" >&5 8661 echo "$as_me: WARNING: sys/timeb.h: section \"Present But Cannot Be Compiled\"" >&2;} 8662 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 8663 echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 8664 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 8665 echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 8666 8667 ;; 8668 esac 8669 { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 8670 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 8671 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8672 echo $ECHO_N "(cached) $ECHO_C" >&6 8673 else 8674 ac_cv_header_sys_timeb_h=$ac_header_preproc 8675 fi 8676 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 8677 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 8678 8679 fi 8680 if test $ac_cv_header_sys_timeb_h = yes; then 8681 cat >>confdefs.h <<\_ACEOF 8682 #define PJ_HAS_SYS_TIMEB_H 1 8683 _ACEOF 8684 8685 fi 8686 8687 8688 if test "${ac_cv_header_sys_types_h+set}" = set; then 8689 { echo "$as_me:$LINENO: checking for sys/types.h" >&5 8690 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 8691 if test "${ac_cv_header_sys_types_h+set}" = set; then 8692 echo $ECHO_N "(cached) $ECHO_C" >&6 8693 fi 8694 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 8695 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 8696 else 8697 # Is the header compilable? 8698 { echo "$as_me:$LINENO: checking sys/types.h usability" >&5 8699 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6; } 8700 cat >conftest.$ac_ext <<_ACEOF 8701 /* confdefs.h. */ 8702 _ACEOF 8703 cat confdefs.h >>conftest.$ac_ext 8704 cat >>conftest.$ac_ext <<_ACEOF 8705 /* end confdefs.h. */ 8706 $ac_includes_default 8707 #include <sys/types.h> 8708 _ACEOF 8709 rm -f conftest.$ac_objext 8710 if { (ac_try="$ac_compile" 8711 case "(($ac_try" in 8712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8713 *) ac_try_echo=$ac_try;; 8714 esac 8715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8716 (eval "$ac_compile") 2>conftest.er1 8717 ac_status=$? 8718 grep -v '^ *+' conftest.er1 >conftest.err 8719 rm -f conftest.er1 8720 cat conftest.err >&5 8721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8722 (exit $ac_status); } && { 8723 test -z "$ac_c_werror_flag" || 8724 test ! -s conftest.err 8725 } && test -s conftest.$ac_objext; then 8726 ac_header_compiler=yes 8727 else 8728 echo "$as_me: failed program was:" >&5 8729 sed 's/^/| /' conftest.$ac_ext >&5 8730 8731 ac_header_compiler=no 8732 fi 8733 8734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8735 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8736 echo "${ECHO_T}$ac_header_compiler" >&6; } 8737 8738 # Is the header present? 8739 { echo "$as_me:$LINENO: checking sys/types.h presence" >&5 8740 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6; } 8741 cat >conftest.$ac_ext <<_ACEOF 8742 /* confdefs.h. */ 8743 _ACEOF 8744 cat confdefs.h >>conftest.$ac_ext 8745 cat >>conftest.$ac_ext <<_ACEOF 8746 /* end confdefs.h. */ 8747 #include <sys/types.h> 8748 _ACEOF 8749 if { (ac_try="$ac_cpp conftest.$ac_ext" 8750 case "(($ac_try" in 8751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8752 *) ac_try_echo=$ac_try;; 8753 esac 8754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8755 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8756 ac_status=$? 8757 grep -v '^ *+' conftest.er1 >conftest.err 8758 rm -f conftest.er1 8759 cat conftest.err >&5 8760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8761 (exit $ac_status); } >/dev/null && { 8762 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8763 test ! -s conftest.err 8764 }; then 8765 ac_header_preproc=yes 8766 else 8767 echo "$as_me: failed program was:" >&5 8768 sed 's/^/| /' conftest.$ac_ext >&5 8769 8770 ac_header_preproc=no 8771 fi 8772 8773 rm -f conftest.err conftest.$ac_ext 8774 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8775 echo "${ECHO_T}$ac_header_preproc" >&6; } 8776 8777 # So? What about this header? 8778 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8779 yes:no: ) 8780 { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 8781 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8782 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 8783 echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 8784 ac_header_preproc=yes 8785 ;; 8786 no:yes:* ) 8787 { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 8788 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 8789 { echo "$as_me:$LINENO: WARNING: sys/types.h: check for missing prerequisite headers?" >&5 8790 echo "$as_me: WARNING: sys/types.h: check for missing prerequisite headers?" >&2;} 8791 { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 8792 echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 8793 { echo "$as_me:$LINENO: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&5 8794 echo "$as_me: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&2;} 8795 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 8796 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 8797 { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 8798 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 8799 8800 ;; 8801 esac 8802 { echo "$as_me:$LINENO: checking for sys/types.h" >&5 8803 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 8804 if test "${ac_cv_header_sys_types_h+set}" = set; then 8805 echo $ECHO_N "(cached) $ECHO_C" >&6 8806 else 8807 ac_cv_header_sys_types_h=$ac_header_preproc 8808 fi 8809 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 8810 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 8811 8812 fi 8813 if test $ac_cv_header_sys_types_h = yes; then 8814 cat >>confdefs.h <<\_ACEOF 8815 #define PJ_HAS_SYS_TYPES_H 1 8816 _ACEOF 8817 8818 fi 8819 8820 8821 if test "${ac_cv_header_sys_filio_h+set}" = set; then 8822 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 8823 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 8824 if test "${ac_cv_header_sys_filio_h+set}" = set; then 8825 echo $ECHO_N "(cached) $ECHO_C" >&6 8826 fi 8827 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 8828 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 8829 else 8830 # Is the header compilable? 8831 { echo "$as_me:$LINENO: checking sys/filio.h usability" >&5 8832 echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6; } 8833 cat >conftest.$ac_ext <<_ACEOF 8834 /* confdefs.h. */ 8835 _ACEOF 8836 cat confdefs.h >>conftest.$ac_ext 8837 cat >>conftest.$ac_ext <<_ACEOF 8838 /* end confdefs.h. */ 8839 $ac_includes_default 8840 #include <sys/filio.h> 8841 _ACEOF 8842 rm -f conftest.$ac_objext 8843 if { (ac_try="$ac_compile" 8844 case "(($ac_try" in 8845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8846 *) ac_try_echo=$ac_try;; 8847 esac 8848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8849 (eval "$ac_compile") 2>conftest.er1 8850 ac_status=$? 8851 grep -v '^ *+' conftest.er1 >conftest.err 8852 rm -f conftest.er1 8853 cat conftest.err >&5 8854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8855 (exit $ac_status); } && { 8856 test -z "$ac_c_werror_flag" || 8857 test ! -s conftest.err 8858 } && test -s conftest.$ac_objext; then 8859 ac_header_compiler=yes 8860 else 8861 echo "$as_me: failed program was:" >&5 8862 sed 's/^/| /' conftest.$ac_ext >&5 8863 8864 ac_header_compiler=no 8865 fi 8866 8867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8868 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8869 echo "${ECHO_T}$ac_header_compiler" >&6; } 8870 8871 # Is the header present? 8872 { echo "$as_me:$LINENO: checking sys/filio.h presence" >&5 8873 echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6; } 8874 cat >conftest.$ac_ext <<_ACEOF 8875 /* confdefs.h. */ 8876 _ACEOF 8877 cat confdefs.h >>conftest.$ac_ext 8878 cat >>conftest.$ac_ext <<_ACEOF 8879 /* end confdefs.h. */ 8880 #include <sys/filio.h> 8881 _ACEOF 8882 if { (ac_try="$ac_cpp conftest.$ac_ext" 8883 case "(($ac_try" in 8884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8885 *) ac_try_echo=$ac_try;; 8886 esac 8887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8888 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8889 ac_status=$? 8890 grep -v '^ *+' conftest.er1 >conftest.err 8891 rm -f conftest.er1 8892 cat conftest.err >&5 8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8894 (exit $ac_status); } >/dev/null && { 8895 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8896 test ! -s conftest.err 8897 }; then 8898 ac_header_preproc=yes 8899 else 8900 echo "$as_me: failed program was:" >&5 8901 sed 's/^/| /' conftest.$ac_ext >&5 8902 8903 ac_header_preproc=no 8904 fi 8905 8906 rm -f conftest.err conftest.$ac_ext 8907 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8908 echo "${ECHO_T}$ac_header_preproc" >&6; } 8909 8910 # So? What about this header? 8911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8912 yes:no: ) 8913 { echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5 8914 echo "$as_me: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8915 { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the compiler's result" >&5 8916 echo "$as_me: WARNING: sys/filio.h: proceeding with the compiler's result" >&2;} 8917 ac_header_preproc=yes 8918 ;; 8919 no:yes:* ) 8920 { echo "$as_me:$LINENO: WARNING: sys/filio.h: present but cannot be compiled" >&5 8921 echo "$as_me: WARNING: sys/filio.h: present but cannot be compiled" >&2;} 8922 { echo "$as_me:$LINENO: WARNING: sys/filio.h: check for missing prerequisite headers?" >&5 8923 echo "$as_me: WARNING: sys/filio.h: check for missing prerequisite headers?" >&2;} 8924 { echo "$as_me:$LINENO: WARNING: sys/filio.h: see the Autoconf documentation" >&5 8925 echo "$as_me: WARNING: sys/filio.h: see the Autoconf documentation" >&2;} 8926 { echo "$as_me:$LINENO: WARNING: sys/filio.h: section \"Present But Cannot Be Compiled\"" >&5 8927 echo "$as_me: WARNING: sys/filio.h: section \"Present But Cannot Be Compiled\"" >&2;} 8928 { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&5 8929 echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;} 8930 { echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5 8931 echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;} 8932 8933 ;; 8934 esac 8935 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 8936 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 8937 if test "${ac_cv_header_sys_filio_h+set}" = set; then 8938 echo $ECHO_N "(cached) $ECHO_C" >&6 8939 else 8940 ac_cv_header_sys_filio_h=$ac_header_preproc 8941 fi 8942 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 8943 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 8944 8945 fi 8946 if test $ac_cv_header_sys_filio_h = yes; then 8947 cat >>confdefs.h <<\_ACEOF 8948 #define PJ_HAS_SYS_FILIO_H 1 8949 _ACEOF 8950 8951 fi 8952 8953 8954 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 8955 { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 8956 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 8957 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 8958 echo $ECHO_N "(cached) $ECHO_C" >&6 8959 fi 8960 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 8961 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 8962 else 8963 # Is the header compilable? 8964 { echo "$as_me:$LINENO: checking sys/sockio.h usability" >&5 8965 echo $ECHO_N "checking sys/sockio.h usability... $ECHO_C" >&6; } 8966 cat >conftest.$ac_ext <<_ACEOF 8967 /* confdefs.h. */ 8968 _ACEOF 8969 cat confdefs.h >>conftest.$ac_ext 8970 cat >>conftest.$ac_ext <<_ACEOF 8971 /* end confdefs.h. */ 8972 $ac_includes_default 8973 #include <sys/sockio.h> 8974 _ACEOF 8975 rm -f conftest.$ac_objext 8976 if { (ac_try="$ac_compile" 8977 case "(($ac_try" in 8978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8979 *) ac_try_echo=$ac_try;; 8980 esac 8981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8982 (eval "$ac_compile") 2>conftest.er1 8983 ac_status=$? 8984 grep -v '^ *+' conftest.er1 >conftest.err 8985 rm -f conftest.er1 8986 cat conftest.err >&5 8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8988 (exit $ac_status); } && { 8989 test -z "$ac_c_werror_flag" || 8990 test ! -s conftest.err 8991 } && test -s conftest.$ac_objext; then 8992 ac_header_compiler=yes 8993 else 8994 echo "$as_me: failed program was:" >&5 8995 sed 's/^/| /' conftest.$ac_ext >&5 8996 8997 ac_header_compiler=no 8998 fi 8999 9000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9001 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9002 echo "${ECHO_T}$ac_header_compiler" >&6; } 9003 9004 # Is the header present? 9005 { echo "$as_me:$LINENO: checking sys/sockio.h presence" >&5 9006 echo $ECHO_N "checking sys/sockio.h presence... $ECHO_C" >&6; } 9007 cat >conftest.$ac_ext <<_ACEOF 9008 /* confdefs.h. */ 9009 _ACEOF 9010 cat confdefs.h >>conftest.$ac_ext 9011 cat >>conftest.$ac_ext <<_ACEOF 9012 /* end confdefs.h. */ 9013 #include <sys/sockio.h> 9014 _ACEOF 9015 if { (ac_try="$ac_cpp conftest.$ac_ext" 9016 case "(($ac_try" in 9017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9018 *) ac_try_echo=$ac_try;; 9019 esac 9020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9021 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9022 ac_status=$? 9023 grep -v '^ *+' conftest.er1 >conftest.err 9024 rm -f conftest.er1 9025 cat conftest.err >&5 9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9027 (exit $ac_status); } >/dev/null && { 9028 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9029 test ! -s conftest.err 9030 }; then 9031 ac_header_preproc=yes 9032 else 9033 echo "$as_me: failed program was:" >&5 9034 sed 's/^/| /' conftest.$ac_ext >&5 9035 9036 ac_header_preproc=no 9037 fi 9038 9039 rm -f conftest.err conftest.$ac_ext 9040 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9041 echo "${ECHO_T}$ac_header_preproc" >&6; } 9042 9043 # So? What about this header? 9044 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9045 yes:no: ) 9046 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&5 9047 echo "$as_me: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9048 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the compiler's result" >&5 9049 echo "$as_me: WARNING: sys/sockio.h: proceeding with the compiler's result" >&2;} 9050 ac_header_preproc=yes 9051 ;; 9052 no:yes:* ) 9053 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: present but cannot be compiled" >&5 9054 echo "$as_me: WARNING: sys/sockio.h: present but cannot be compiled" >&2;} 9055 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: check for missing prerequisite headers?" >&5 9056 echo "$as_me: WARNING: sys/sockio.h: check for missing prerequisite headers?" >&2;} 9057 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: see the Autoconf documentation" >&5 9058 echo "$as_me: WARNING: sys/sockio.h: see the Autoconf documentation" >&2;} 9059 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: section \"Present But Cannot Be Compiled\"" >&5 9060 echo "$as_me: WARNING: sys/sockio.h: section \"Present But Cannot Be Compiled\"" >&2;} 9061 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&5 9062 echo "$as_me: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&2;} 9063 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&5 9064 echo "$as_me: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&2;} 9065 9066 ;; 9067 esac 9068 { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 9069 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 9070 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 9071 echo $ECHO_N "(cached) $ECHO_C" >&6 9072 else 9073 ac_cv_header_sys_sockio_h=$ac_header_preproc 9074 fi 9075 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 9076 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 9077 9078 fi 9079 if test $ac_cv_header_sys_sockio_h = yes; then 9080 cat >>confdefs.h <<\_ACEOF 9081 #define PJ_HAS_SYS_SOCKIO_H 1 9082 _ACEOF 9083 9084 fi 9085 9086 9087 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 9088 { echo "$as_me:$LINENO: checking for sys/utsname.h" >&5 9089 echo $ECHO_N "checking for sys/utsname.h... $ECHO_C" >&6; } 9090 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 9091 echo $ECHO_N "(cached) $ECHO_C" >&6 9092 fi 9093 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_utsname_h" >&5 9094 echo "${ECHO_T}$ac_cv_header_sys_utsname_h" >&6; } 9095 else 9096 # Is the header compilable? 9097 { echo "$as_me:$LINENO: checking sys/utsname.h usability" >&5 9098 echo $ECHO_N "checking sys/utsname.h usability... $ECHO_C" >&6; } 9099 cat >conftest.$ac_ext <<_ACEOF 9100 /* confdefs.h. */ 9101 _ACEOF 9102 cat confdefs.h >>conftest.$ac_ext 9103 cat >>conftest.$ac_ext <<_ACEOF 9104 /* end confdefs.h. */ 9105 $ac_includes_default 9106 #include <sys/utsname.h> 9107 _ACEOF 9108 rm -f conftest.$ac_objext 9109 if { (ac_try="$ac_compile" 9110 case "(($ac_try" in 9111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9112 *) ac_try_echo=$ac_try;; 9113 esac 9114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9115 (eval "$ac_compile") 2>conftest.er1 9116 ac_status=$? 9117 grep -v '^ *+' conftest.er1 >conftest.err 9118 rm -f conftest.er1 9119 cat conftest.err >&5 9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9121 (exit $ac_status); } && { 9122 test -z "$ac_c_werror_flag" || 9123 test ! -s conftest.err 9124 } && test -s conftest.$ac_objext; then 9125 ac_header_compiler=yes 9126 else 9127 echo "$as_me: failed program was:" >&5 9128 sed 's/^/| /' conftest.$ac_ext >&5 9129 9130 ac_header_compiler=no 9131 fi 9132 9133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9134 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9135 echo "${ECHO_T}$ac_header_compiler" >&6; } 9136 9137 # Is the header present? 9138 { echo "$as_me:$LINENO: checking sys/utsname.h presence" >&5 9139 echo $ECHO_N "checking sys/utsname.h presence... $ECHO_C" >&6; } 9140 cat >conftest.$ac_ext <<_ACEOF 9141 /* confdefs.h. */ 9142 _ACEOF 9143 cat confdefs.h >>conftest.$ac_ext 9144 cat >>conftest.$ac_ext <<_ACEOF 9145 /* end confdefs.h. */ 9146 #include <sys/utsname.h> 9147 _ACEOF 9148 if { (ac_try="$ac_cpp conftest.$ac_ext" 9149 case "(($ac_try" in 9150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9151 *) ac_try_echo=$ac_try;; 9152 esac 9153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9154 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9155 ac_status=$? 9156 grep -v '^ *+' conftest.er1 >conftest.err 9157 rm -f conftest.er1 9158 cat conftest.err >&5 9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9160 (exit $ac_status); } >/dev/null && { 9161 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9162 test ! -s conftest.err 9163 }; then 9164 ac_header_preproc=yes 9165 else 9166 echo "$as_me: failed program was:" >&5 9167 sed 's/^/| /' conftest.$ac_ext >&5 9168 9169 ac_header_preproc=no 9170 fi 9171 9172 rm -f conftest.err conftest.$ac_ext 9173 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9174 echo "${ECHO_T}$ac_header_preproc" >&6; } 9175 9176 # So? What about this header? 9177 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9178 yes:no: ) 9179 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: accepted by the compiler, rejected by the preprocessor!" >&5 9180 echo "$as_me: WARNING: sys/utsname.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9181 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: proceeding with the compiler's result" >&5 9182 echo "$as_me: WARNING: sys/utsname.h: proceeding with the compiler's result" >&2;} 9183 ac_header_preproc=yes 9184 ;; 9185 no:yes:* ) 9186 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: present but cannot be compiled" >&5 9187 echo "$as_me: WARNING: sys/utsname.h: present but cannot be compiled" >&2;} 9188 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: check for missing prerequisite headers?" >&5 9189 echo "$as_me: WARNING: sys/utsname.h: check for missing prerequisite headers?" >&2;} 9190 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: see the Autoconf documentation" >&5 9191 echo "$as_me: WARNING: sys/utsname.h: see the Autoconf documentation" >&2;} 9192 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: section \"Present But Cannot Be Compiled\"" >&5 9193 echo "$as_me: WARNING: sys/utsname.h: section \"Present But Cannot Be Compiled\"" >&2;} 9194 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: proceeding with the preprocessor's result" >&5 9195 echo "$as_me: WARNING: sys/utsname.h: proceeding with the preprocessor's result" >&2;} 9196 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: in the future, the compiler will take precedence" >&5 9197 echo "$as_me: WARNING: sys/utsname.h: in the future, the compiler will take precedence" >&2;} 9198 9199 ;; 9200 esac 9201 { echo "$as_me:$LINENO: checking for sys/utsname.h" >&5 9202 echo $ECHO_N "checking for sys/utsname.h... $ECHO_C" >&6; } 9203 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 9204 echo $ECHO_N "(cached) $ECHO_C" >&6 9205 else 9206 ac_cv_header_sys_utsname_h=$ac_header_preproc 9207 fi 9208 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_utsname_h" >&5 9209 echo "${ECHO_T}$ac_cv_header_sys_utsname_h" >&6; } 9210 9211 fi 9212 if test $ac_cv_header_sys_utsname_h = yes; then 9213 cat >>confdefs.h <<\_ACEOF 9214 #define PJ_HAS_SYS_UTSNAME_H 1 9215 _ACEOF 9216 9217 fi 9218 9219 9220 if test "${ac_cv_header_time_h+set}" = set; then 9221 { echo "$as_me:$LINENO: checking for time.h" >&5 9222 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 9223 if test "${ac_cv_header_time_h+set}" = set; then 9224 echo $ECHO_N "(cached) $ECHO_C" >&6 9225 fi 9226 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 9227 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 9228 else 9229 # Is the header compilable? 9230 { echo "$as_me:$LINENO: checking time.h usability" >&5 9231 echo $ECHO_N "checking time.h usability... $ECHO_C" >&6; } 9232 cat >conftest.$ac_ext <<_ACEOF 9233 /* confdefs.h. */ 9234 _ACEOF 9235 cat confdefs.h >>conftest.$ac_ext 9236 cat >>conftest.$ac_ext <<_ACEOF 9237 /* end confdefs.h. */ 9238 $ac_includes_default 9239 #include <time.h> 9240 _ACEOF 9241 rm -f conftest.$ac_objext 9242 if { (ac_try="$ac_compile" 9243 case "(($ac_try" in 9244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9245 *) ac_try_echo=$ac_try;; 9246 esac 9247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9248 (eval "$ac_compile") 2>conftest.er1 9249 ac_status=$? 9250 grep -v '^ *+' conftest.er1 >conftest.err 9251 rm -f conftest.er1 9252 cat conftest.err >&5 9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9254 (exit $ac_status); } && { 9255 test -z "$ac_c_werror_flag" || 9256 test ! -s conftest.err 9257 } && test -s conftest.$ac_objext; then 9258 ac_header_compiler=yes 9259 else 9260 echo "$as_me: failed program was:" >&5 9261 sed 's/^/| /' conftest.$ac_ext >&5 9262 9263 ac_header_compiler=no 9264 fi 9265 9266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9267 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9268 echo "${ECHO_T}$ac_header_compiler" >&6; } 9269 9270 # Is the header present? 9271 { echo "$as_me:$LINENO: checking time.h presence" >&5 9272 echo $ECHO_N "checking time.h presence... $ECHO_C" >&6; } 9273 cat >conftest.$ac_ext <<_ACEOF 9274 /* confdefs.h. */ 9275 _ACEOF 9276 cat confdefs.h >>conftest.$ac_ext 9277 cat >>conftest.$ac_ext <<_ACEOF 9278 /* end confdefs.h. */ 9279 #include <time.h> 9280 _ACEOF 9281 if { (ac_try="$ac_cpp conftest.$ac_ext" 9282 case "(($ac_try" in 9283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9284 *) ac_try_echo=$ac_try;; 9285 esac 9286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9287 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9288 ac_status=$? 9289 grep -v '^ *+' conftest.er1 >conftest.err 9290 rm -f conftest.er1 9291 cat conftest.err >&5 9292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9293 (exit $ac_status); } >/dev/null && { 9294 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9295 test ! -s conftest.err 9296 }; then 9297 ac_header_preproc=yes 9298 else 9299 echo "$as_me: failed program was:" >&5 9300 sed 's/^/| /' conftest.$ac_ext >&5 9301 9302 ac_header_preproc=no 9303 fi 9304 9305 rm -f conftest.err conftest.$ac_ext 9306 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9307 echo "${ECHO_T}$ac_header_preproc" >&6; } 9308 9309 # So? What about this header? 9310 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9311 yes:no: ) 9312 { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 9313 echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9314 { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 9315 echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 9316 ac_header_preproc=yes 9317 ;; 9318 no:yes:* ) 9319 { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 9320 echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 9321 { echo "$as_me:$LINENO: WARNING: time.h: check for missing prerequisite headers?" >&5 9322 echo "$as_me: WARNING: time.h: check for missing prerequisite headers?" >&2;} 9323 { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 9324 echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 9325 { echo "$as_me:$LINENO: WARNING: time.h: section \"Present But Cannot Be Compiled\"" >&5 9326 echo "$as_me: WARNING: time.h: section \"Present But Cannot Be Compiled\"" >&2;} 9327 { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 9328 echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 9329 { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 9330 echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 9331 9332 ;; 9333 esac 9334 { echo "$as_me:$LINENO: checking for time.h" >&5 9335 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 9336 if test "${ac_cv_header_time_h+set}" = set; then 9337 echo $ECHO_N "(cached) $ECHO_C" >&6 9338 else 9339 ac_cv_header_time_h=$ac_header_preproc 9340 fi 9341 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 9342 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 9343 9344 fi 9345 if test $ac_cv_header_time_h = yes; then 9346 cat >>confdefs.h <<\_ACEOF 9347 #define PJ_HAS_TIME_H 1 9348 _ACEOF 9349 9350 fi 9351 9352 9353 if test "${ac_cv_header_unistd_h+set}" = set; then 9354 { echo "$as_me:$LINENO: checking for unistd.h" >&5 9355 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 9356 if test "${ac_cv_header_unistd_h+set}" = set; then 9357 echo $ECHO_N "(cached) $ECHO_C" >&6 9358 fi 9359 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 9360 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 9361 else 9362 # Is the header compilable? 9363 { echo "$as_me:$LINENO: checking unistd.h usability" >&5 9364 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6; } 9365 cat >conftest.$ac_ext <<_ACEOF 9366 /* confdefs.h. */ 9367 _ACEOF 9368 cat confdefs.h >>conftest.$ac_ext 9369 cat >>conftest.$ac_ext <<_ACEOF 9370 /* end confdefs.h. */ 9371 $ac_includes_default 9372 #include <unistd.h> 9373 _ACEOF 9374 rm -f conftest.$ac_objext 9375 if { (ac_try="$ac_compile" 9376 case "(($ac_try" in 9377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9378 *) ac_try_echo=$ac_try;; 9379 esac 9380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9381 (eval "$ac_compile") 2>conftest.er1 9382 ac_status=$? 9383 grep -v '^ *+' conftest.er1 >conftest.err 9384 rm -f conftest.er1 9385 cat conftest.err >&5 9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9387 (exit $ac_status); } && { 9388 test -z "$ac_c_werror_flag" || 9389 test ! -s conftest.err 9390 } && test -s conftest.$ac_objext; then 9391 ac_header_compiler=yes 9392 else 9393 echo "$as_me: failed program was:" >&5 9394 sed 's/^/| /' conftest.$ac_ext >&5 9395 9396 ac_header_compiler=no 9397 fi 9398 9399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9400 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9401 echo "${ECHO_T}$ac_header_compiler" >&6; } 9402 9403 # Is the header present? 9404 { echo "$as_me:$LINENO: checking unistd.h presence" >&5 9405 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6; } 9406 cat >conftest.$ac_ext <<_ACEOF 9407 /* confdefs.h. */ 9408 _ACEOF 9409 cat confdefs.h >>conftest.$ac_ext 9410 cat >>conftest.$ac_ext <<_ACEOF 9411 /* end confdefs.h. */ 9412 #include <unistd.h> 9413 _ACEOF 9414 if { (ac_try="$ac_cpp conftest.$ac_ext" 9415 case "(($ac_try" in 9416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9417 *) ac_try_echo=$ac_try;; 9418 esac 9419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9420 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9421 ac_status=$? 9422 grep -v '^ *+' conftest.er1 >conftest.err 9423 rm -f conftest.er1 9424 cat conftest.err >&5 9425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9426 (exit $ac_status); } >/dev/null && { 9427 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9428 test ! -s conftest.err 9429 }; then 9430 ac_header_preproc=yes 9431 else 9432 echo "$as_me: failed program was:" >&5 9433 sed 's/^/| /' conftest.$ac_ext >&5 9434 9435 ac_header_preproc=no 9436 fi 9437 9438 rm -f conftest.err conftest.$ac_ext 9439 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9440 echo "${ECHO_T}$ac_header_preproc" >&6; } 9441 9442 # So? What about this header? 9443 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9444 yes:no: ) 9445 { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 9446 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9447 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 9448 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 9449 ac_header_preproc=yes 9450 ;; 9451 no:yes:* ) 9452 { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 9453 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 9454 { echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5 9455 echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;} 9456 { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 9457 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 9458 { echo "$as_me:$LINENO: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&5 9459 echo "$as_me: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&2;} 9460 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 9461 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 9462 { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 9463 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 9464 9465 ;; 9466 esac 9467 { echo "$as_me:$LINENO: checking for unistd.h" >&5 9468 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 9469 if test "${ac_cv_header_unistd_h+set}" = set; then 9470 echo $ECHO_N "(cached) $ECHO_C" >&6 9471 else 9472 ac_cv_header_unistd_h=$ac_header_preproc 9473 fi 9474 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 9475 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 9476 9477 fi 9478 if test $ac_cv_header_unistd_h = yes; then 9479 cat >>confdefs.h <<\_ACEOF 9480 #define PJ_HAS_UNISTD_H 1 9481 _ACEOF 9482 9483 fi 9484 9485 9486 if test "${ac_cv_header_winsock_h+set}" = set; then 9487 { echo "$as_me:$LINENO: checking for winsock.h" >&5 9488 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 9489 if test "${ac_cv_header_winsock_h+set}" = set; then 9490 echo $ECHO_N "(cached) $ECHO_C" >&6 9491 fi 9492 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 9493 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 9494 else 9495 # Is the header compilable? 9496 { echo "$as_me:$LINENO: checking winsock.h usability" >&5 9497 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6; } 9498 cat >conftest.$ac_ext <<_ACEOF 9499 /* confdefs.h. */ 9500 _ACEOF 9501 cat confdefs.h >>conftest.$ac_ext 9502 cat >>conftest.$ac_ext <<_ACEOF 9503 /* end confdefs.h. */ 9504 $ac_includes_default 9505 #include <winsock.h> 9506 _ACEOF 9507 rm -f conftest.$ac_objext 9508 if { (ac_try="$ac_compile" 9509 case "(($ac_try" in 9510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9511 *) ac_try_echo=$ac_try;; 9512 esac 9513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9514 (eval "$ac_compile") 2>conftest.er1 9515 ac_status=$? 9516 grep -v '^ *+' conftest.er1 >conftest.err 9517 rm -f conftest.er1 9518 cat conftest.err >&5 9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9520 (exit $ac_status); } && { 9521 test -z "$ac_c_werror_flag" || 9522 test ! -s conftest.err 9523 } && test -s conftest.$ac_objext; then 9524 ac_header_compiler=yes 9525 else 9526 echo "$as_me: failed program was:" >&5 9527 sed 's/^/| /' conftest.$ac_ext >&5 9528 9529 ac_header_compiler=no 9530 fi 9531 9532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9533 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9534 echo "${ECHO_T}$ac_header_compiler" >&6; } 9535 9536 # Is the header present? 9537 { echo "$as_me:$LINENO: checking winsock.h presence" >&5 9538 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6; } 9539 cat >conftest.$ac_ext <<_ACEOF 9540 /* confdefs.h. */ 9541 _ACEOF 9542 cat confdefs.h >>conftest.$ac_ext 9543 cat >>conftest.$ac_ext <<_ACEOF 9544 /* end confdefs.h. */ 9545 #include <winsock.h> 9546 _ACEOF 9547 if { (ac_try="$ac_cpp conftest.$ac_ext" 9548 case "(($ac_try" in 9549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9550 *) ac_try_echo=$ac_try;; 9551 esac 9552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9554 ac_status=$? 9555 grep -v '^ *+' conftest.er1 >conftest.err 9556 rm -f conftest.er1 9557 cat conftest.err >&5 9558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9559 (exit $ac_status); } >/dev/null && { 9560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9561 test ! -s conftest.err 9562 }; then 9563 ac_header_preproc=yes 9564 else 9565 echo "$as_me: failed program was:" >&5 9566 sed 's/^/| /' conftest.$ac_ext >&5 9567 9568 ac_header_preproc=no 9569 fi 9570 9571 rm -f conftest.err conftest.$ac_ext 9572 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9573 echo "${ECHO_T}$ac_header_preproc" >&6; } 9574 9575 # So? What about this header? 9576 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9577 yes:no: ) 9578 { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 9579 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9580 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 9581 echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 9582 ac_header_preproc=yes 9583 ;; 9584 no:yes:* ) 9585 { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 9586 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 9587 { echo "$as_me:$LINENO: WARNING: winsock.h: check for missing prerequisite headers?" >&5 9588 echo "$as_me: WARNING: winsock.h: check for missing prerequisite headers?" >&2;} 9589 { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 9590 echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 9591 { echo "$as_me:$LINENO: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&5 9592 echo "$as_me: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&2;} 9593 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 9594 echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 9595 { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 9596 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 9597 9598 ;; 9599 esac 9600 { echo "$as_me:$LINENO: checking for winsock.h" >&5 9601 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 9602 if test "${ac_cv_header_winsock_h+set}" = set; then 9603 echo $ECHO_N "(cached) $ECHO_C" >&6 9604 else 9605 ac_cv_header_winsock_h=$ac_header_preproc 9606 fi 9607 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 9608 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 9609 9610 fi 9611 if test $ac_cv_header_winsock_h = yes; then 9612 cat >>confdefs.h <<\_ACEOF 9613 #define PJ_HAS_WINSOCK_H 1 9614 _ACEOF 9615 9616 fi 9617 9618 9619 if test "${ac_cv_header_winsock2_h+set}" = set; then 9620 { echo "$as_me:$LINENO: checking for winsock2.h" >&5 9621 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 9622 if test "${ac_cv_header_winsock2_h+set}" = set; then 9623 echo $ECHO_N "(cached) $ECHO_C" >&6 9624 fi 9625 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 9626 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 9627 else 9628 # Is the header compilable? 9629 { echo "$as_me:$LINENO: checking winsock2.h usability" >&5 9630 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6; } 9631 cat >conftest.$ac_ext <<_ACEOF 9632 /* confdefs.h. */ 9633 _ACEOF 9634 cat confdefs.h >>conftest.$ac_ext 9635 cat >>conftest.$ac_ext <<_ACEOF 9636 /* end confdefs.h. */ 9637 $ac_includes_default 9638 #include <winsock2.h> 9639 _ACEOF 9640 rm -f conftest.$ac_objext 9641 if { (ac_try="$ac_compile" 9642 case "(($ac_try" in 9643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9644 *) ac_try_echo=$ac_try;; 9645 esac 9646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9647 (eval "$ac_compile") 2>conftest.er1 9648 ac_status=$? 9649 grep -v '^ *+' conftest.er1 >conftest.err 9650 rm -f conftest.er1 9651 cat conftest.err >&5 9652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9653 (exit $ac_status); } && { 9654 test -z "$ac_c_werror_flag" || 9655 test ! -s conftest.err 9656 } && test -s conftest.$ac_objext; then 9657 ac_header_compiler=yes 9658 else 9659 echo "$as_me: failed program was:" >&5 9660 sed 's/^/| /' conftest.$ac_ext >&5 9661 9662 ac_header_compiler=no 9663 fi 9664 9665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9666 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9667 echo "${ECHO_T}$ac_header_compiler" >&6; } 9668 9669 # Is the header present? 9670 { echo "$as_me:$LINENO: checking winsock2.h presence" >&5 9671 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6; } 9672 cat >conftest.$ac_ext <<_ACEOF 9673 /* confdefs.h. */ 9674 _ACEOF 9675 cat confdefs.h >>conftest.$ac_ext 9676 cat >>conftest.$ac_ext <<_ACEOF 9677 /* end confdefs.h. */ 9678 #include <winsock2.h> 9679 _ACEOF 9680 if { (ac_try="$ac_cpp conftest.$ac_ext" 9681 case "(($ac_try" in 9682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9683 *) ac_try_echo=$ac_try;; 9684 esac 9685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9686 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9687 ac_status=$? 9688 grep -v '^ *+' conftest.er1 >conftest.err 9689 rm -f conftest.er1 9690 cat conftest.err >&5 9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9692 (exit $ac_status); } >/dev/null && { 9693 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9694 test ! -s conftest.err 9695 }; then 9696 ac_header_preproc=yes 9697 else 9698 echo "$as_me: failed program was:" >&5 9699 sed 's/^/| /' conftest.$ac_ext >&5 9700 9701 ac_header_preproc=no 9702 fi 9703 9704 rm -f conftest.err conftest.$ac_ext 9705 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9706 echo "${ECHO_T}$ac_header_preproc" >&6; } 9707 9708 # So? What about this header? 9709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9710 yes:no: ) 9711 { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 9712 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9713 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 9714 echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 9715 ac_header_preproc=yes 9716 ;; 9717 no:yes:* ) 9718 { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 9719 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 9720 { echo "$as_me:$LINENO: WARNING: winsock2.h: check for missing prerequisite headers?" >&5 9721 echo "$as_me: WARNING: winsock2.h: check for missing prerequisite headers?" >&2;} 9722 { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 9723 echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 9724 { echo "$as_me:$LINENO: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&5 9725 echo "$as_me: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&2;} 9726 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 9727 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 9728 { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 9729 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 9730 9731 ;; 9732 esac 9733 { echo "$as_me:$LINENO: checking for winsock2.h" >&5 9734 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 9735 if test "${ac_cv_header_winsock2_h+set}" = set; then 9736 echo $ECHO_N "(cached) $ECHO_C" >&6 9737 else 9738 ac_cv_header_winsock2_h=$ac_header_preproc 9739 fi 9740 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 9741 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 9742 9743 fi 9744 if test $ac_cv_header_winsock2_h = yes; then 9745 cat >>confdefs.h <<\_ACEOF 9746 #define PJ_HAS_WINSOCK2_H 1 9747 _ACEOF 9748 9749 fi 9750 9751 9752 { echo "$as_me:$LINENO: checking for mswsock.h" >&5 9753 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6; } 9754 if test "${ac_cv_header_mswsock_h+set}" = set; then 9755 echo $ECHO_N "(cached) $ECHO_C" >&6 9756 else 9757 cat >conftest.$ac_ext <<_ACEOF 9758 /* confdefs.h. */ 9759 _ACEOF 9760 cat confdefs.h >>conftest.$ac_ext 9761 cat >>conftest.$ac_ext <<_ACEOF 9762 /* end confdefs.h. */ 9763 #if PJ_HAS_WINSOCK2_H 4791 " 4792 if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 4793 $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 4794 4795 fi 4796 4797 4798 ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 4799 if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 4800 $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 4801 4802 fi 4803 4804 4805 ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 4806 if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 4807 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 4808 if test "x$ac_cv_func_getifaddrs" = x""yes; then : 4809 $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 4810 4811 fi 4812 4813 fi 4814 4815 4816 ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 4817 if test "x$ac_cv_header_semaphore_h" = x""yes; then : 4818 $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 4819 4820 fi 4821 4822 4823 ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 4824 if test "x$ac_cv_header_setjmp_h" = x""yes; then : 4825 $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 4826 4827 fi 4828 4829 4830 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 4831 if test "x$ac_cv_header_stdarg_h" = x""yes; then : 4832 $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 4833 4834 fi 4835 4836 4837 ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 4838 if test "x$ac_cv_header_stddef_h" = x""yes; then : 4839 $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 4840 4841 fi 4842 4843 4844 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 4845 if test "x$ac_cv_header_stdio_h" = x""yes; then : 4846 $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 4847 4848 fi 4849 4850 4851 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 4852 if test "x$ac_cv_header_stdint_h" = x""yes; then : 4853 $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 4854 4855 fi 4856 4857 4858 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 4859 if test "x$ac_cv_header_stdlib_h" = x""yes; then : 4860 $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 4861 4862 fi 4863 4864 4865 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 4866 if test "x$ac_cv_header_string_h" = x""yes; then : 4867 $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 4868 4869 fi 4870 4871 4872 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 4873 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 4874 $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 4875 4876 fi 4877 4878 4879 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 4880 if test "x$ac_cv_header_sys_select_h" = x""yes; then : 4881 $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 4882 4883 fi 4884 4885 4886 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 4887 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 4888 $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 4889 4890 fi 4891 4892 4893 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 4894 if test "x$ac_cv_header_sys_time_h" = x""yes; then : 4895 $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 4896 4897 fi 4898 4899 4900 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 4901 if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 4902 $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 4903 4904 fi 4905 4906 4907 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 4908 if test "x$ac_cv_header_sys_types_h" = x""yes; then : 4909 $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 4910 4911 fi 4912 4913 4914 ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 4915 if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 4916 $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 4917 4918 fi 4919 4920 4921 ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 4922 if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 4923 $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 4924 4925 fi 4926 4927 4928 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" 4929 if test "x$ac_cv_header_sys_utsname_h" = x""yes; then : 4930 $as_echo "#define PJ_HAS_SYS_UTSNAME_H 1" >>confdefs.h 4931 4932 fi 4933 4934 4935 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 4936 if test "x$ac_cv_header_time_h" = x""yes; then : 4937 $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 4938 4939 fi 4940 4941 4942 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 4943 if test "x$ac_cv_header_unistd_h" = x""yes; then : 4944 $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 4945 4946 fi 4947 4948 4949 ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 4950 if test "x$ac_cv_header_winsock_h" = x""yes; then : 4951 $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 4952 4953 fi 4954 4955 4956 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 4957 if test "x$ac_cv_header_winsock2_h" = x""yes; then : 4958 $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 4959 4960 fi 4961 4962 4963 ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H 9764 4964 # include <winsock2.h> 9765 4965 #elif PJ_HAS_WINSOCK_H … … 9767 4967 #endif 9768 4968 9769 9770 #include <mswsock.h> 9771 _ACEOF 9772 rm -f conftest.$ac_objext 9773 if { (ac_try="$ac_compile" 9774 case "(($ac_try" in 9775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9776 *) ac_try_echo=$ac_try;; 9777 esac 9778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9779 (eval "$ac_compile") 2>conftest.er1 9780 ac_status=$? 9781 grep -v '^ *+' conftest.er1 >conftest.err 9782 rm -f conftest.er1 9783 cat conftest.err >&5 9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9785 (exit $ac_status); } && { 9786 test -z "$ac_c_werror_flag" || 9787 test ! -s conftest.err 9788 } && test -s conftest.$ac_objext; then 9789 ac_cv_header_mswsock_h=yes 9790 else 9791 echo "$as_me: failed program was:" >&5 9792 sed 's/^/| /' conftest.$ac_ext >&5 9793 9794 ac_cv_header_mswsock_h=no 9795 fi 9796 9797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9798 fi 9799 { echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 9800 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6; } 9801 if test $ac_cv_header_mswsock_h = yes; then 9802 cat >>confdefs.h <<\_ACEOF 9803 #define PJ_HAS_MSWSOCK_H 1 9804 _ACEOF 9805 9806 fi 9807 9808 9809 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9810 { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 9811 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 9812 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9813 echo $ECHO_N "(cached) $ECHO_C" >&6 9814 fi 9815 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 9816 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 9817 else 9818 # Is the header compilable? 9819 { echo "$as_me:$LINENO: checking ws2tcpip.h usability" >&5 9820 echo $ECHO_N "checking ws2tcpip.h usability... $ECHO_C" >&6; } 9821 cat >conftest.$ac_ext <<_ACEOF 9822 /* confdefs.h. */ 9823 _ACEOF 9824 cat confdefs.h >>conftest.$ac_ext 9825 cat >>conftest.$ac_ext <<_ACEOF 9826 /* end confdefs.h. */ 9827 $ac_includes_default 9828 #include <ws2tcpip.h> 9829 _ACEOF 9830 rm -f conftest.$ac_objext 9831 if { (ac_try="$ac_compile" 9832 case "(($ac_try" in 9833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9834 *) ac_try_echo=$ac_try;; 9835 esac 9836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9837 (eval "$ac_compile") 2>conftest.er1 9838 ac_status=$? 9839 grep -v '^ *+' conftest.er1 >conftest.err 9840 rm -f conftest.er1 9841 cat conftest.err >&5 9842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9843 (exit $ac_status); } && { 9844 test -z "$ac_c_werror_flag" || 9845 test ! -s conftest.err 9846 } && test -s conftest.$ac_objext; then 9847 ac_header_compiler=yes 9848 else 9849 echo "$as_me: failed program was:" >&5 9850 sed 's/^/| /' conftest.$ac_ext >&5 9851 9852 ac_header_compiler=no 9853 fi 9854 9855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9856 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9857 echo "${ECHO_T}$ac_header_compiler" >&6; } 9858 9859 # Is the header present? 9860 { echo "$as_me:$LINENO: checking ws2tcpip.h presence" >&5 9861 echo $ECHO_N "checking ws2tcpip.h presence... $ECHO_C" >&6; } 9862 cat >conftest.$ac_ext <<_ACEOF 9863 /* confdefs.h. */ 9864 _ACEOF 9865 cat confdefs.h >>conftest.$ac_ext 9866 cat >>conftest.$ac_ext <<_ACEOF 9867 /* end confdefs.h. */ 9868 #include <ws2tcpip.h> 9869 _ACEOF 9870 if { (ac_try="$ac_cpp conftest.$ac_ext" 9871 case "(($ac_try" in 9872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9873 *) ac_try_echo=$ac_try;; 9874 esac 9875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9877 ac_status=$? 9878 grep -v '^ *+' conftest.er1 >conftest.err 9879 rm -f conftest.er1 9880 cat conftest.err >&5 9881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9882 (exit $ac_status); } >/dev/null && { 9883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9884 test ! -s conftest.err 9885 }; then 9886 ac_header_preproc=yes 9887 else 9888 echo "$as_me: failed program was:" >&5 9889 sed 's/^/| /' conftest.$ac_ext >&5 9890 9891 ac_header_preproc=no 9892 fi 9893 9894 rm -f conftest.err conftest.$ac_ext 9895 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9896 echo "${ECHO_T}$ac_header_preproc" >&6; } 9897 9898 # So? What about this header? 9899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9900 yes:no: ) 9901 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&5 9902 echo "$as_me: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9903 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&5 9904 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&2;} 9905 ac_header_preproc=yes 9906 ;; 9907 no:yes:* ) 9908 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: present but cannot be compiled" >&5 9909 echo "$as_me: WARNING: ws2tcpip.h: present but cannot be compiled" >&2;} 9910 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: check for missing prerequisite headers?" >&5 9911 echo "$as_me: WARNING: ws2tcpip.h: check for missing prerequisite headers?" >&2;} 9912 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: see the Autoconf documentation" >&5 9913 echo "$as_me: WARNING: ws2tcpip.h: see the Autoconf documentation" >&2;} 9914 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: section \"Present But Cannot Be Compiled\"" >&5 9915 echo "$as_me: WARNING: ws2tcpip.h: section \"Present But Cannot Be Compiled\"" >&2;} 9916 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&5 9917 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&2;} 9918 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&5 9919 echo "$as_me: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&2;} 9920 9921 ;; 9922 esac 9923 { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 9924 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 9925 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9926 echo $ECHO_N "(cached) $ECHO_C" >&6 9927 else 9928 ac_cv_header_ws2tcpip_h=$ac_header_preproc 9929 fi 9930 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 9931 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 9932 9933 fi 9934 if test $ac_cv_header_ws2tcpip_h = yes; then 9935 cat >>confdefs.h <<\_ACEOF 9936 #define PJ_HAS_WS2TCPIP_H 1 9937 _ACEOF 9938 9939 fi 9940 9941 9942 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 9943 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 9944 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 9945 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 9946 echo $ECHO_N "(cached) $ECHO_C" >&6 9947 fi 9948 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 9949 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 9950 else 9951 # Is the header compilable? 9952 { echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5 9953 echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6; } 9954 cat >conftest.$ac_ext <<_ACEOF 9955 /* confdefs.h. */ 9956 _ACEOF 9957 cat confdefs.h >>conftest.$ac_ext 9958 cat >>conftest.$ac_ext <<_ACEOF 9959 /* end confdefs.h. */ 9960 $ac_includes_default 9961 #include <uuid/uuid.h> 9962 _ACEOF 9963 rm -f conftest.$ac_objext 9964 if { (ac_try="$ac_compile" 9965 case "(($ac_try" in 9966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9967 *) ac_try_echo=$ac_try;; 9968 esac 9969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9970 (eval "$ac_compile") 2>conftest.er1 9971 ac_status=$? 9972 grep -v '^ *+' conftest.er1 >conftest.err 9973 rm -f conftest.er1 9974 cat conftest.err >&5 9975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9976 (exit $ac_status); } && { 9977 test -z "$ac_c_werror_flag" || 9978 test ! -s conftest.err 9979 } && test -s conftest.$ac_objext; then 9980 ac_header_compiler=yes 9981 else 9982 echo "$as_me: failed program was:" >&5 9983 sed 's/^/| /' conftest.$ac_ext >&5 9984 9985 ac_header_compiler=no 9986 fi 9987 9988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9989 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9990 echo "${ECHO_T}$ac_header_compiler" >&6; } 9991 9992 # Is the header present? 9993 { echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5 9994 echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6; } 9995 cat >conftest.$ac_ext <<_ACEOF 9996 /* confdefs.h. */ 9997 _ACEOF 9998 cat confdefs.h >>conftest.$ac_ext 9999 cat >>conftest.$ac_ext <<_ACEOF 10000 /* end confdefs.h. */ 10001 #include <uuid/uuid.h> 10002 _ACEOF 10003 if { (ac_try="$ac_cpp conftest.$ac_ext" 10004 case "(($ac_try" in 10005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10006 *) ac_try_echo=$ac_try;; 10007 esac 10008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10009 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10010 ac_status=$? 10011 grep -v '^ *+' conftest.er1 >conftest.err 10012 rm -f conftest.er1 10013 cat conftest.err >&5 10014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10015 (exit $ac_status); } >/dev/null && { 10016 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10017 test ! -s conftest.err 10018 }; then 10019 ac_header_preproc=yes 10020 else 10021 echo "$as_me: failed program was:" >&5 10022 sed 's/^/| /' conftest.$ac_ext >&5 10023 10024 ac_header_preproc=no 10025 fi 10026 10027 rm -f conftest.err conftest.$ac_ext 10028 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10029 echo "${ECHO_T}$ac_header_preproc" >&6; } 10030 10031 # So? What about this header? 10032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10033 yes:no: ) 10034 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5 10035 echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10036 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5 10037 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;} 10038 ac_header_preproc=yes 10039 ;; 10040 no:yes:* ) 10041 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5 10042 echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;} 10043 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: check for missing prerequisite headers?" >&5 10044 echo "$as_me: WARNING: uuid/uuid.h: check for missing prerequisite headers?" >&2;} 10045 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5 10046 echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;} 10047 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: section \"Present But Cannot Be Compiled\"" >&5 10048 echo "$as_me: WARNING: uuid/uuid.h: section \"Present But Cannot Be Compiled\"" >&2;} 10049 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5 10050 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;} 10051 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5 10052 echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;} 10053 10054 ;; 10055 esac 10056 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 10057 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 10058 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 10059 echo $ECHO_N "(cached) $ECHO_C" >&6 10060 else 10061 ac_cv_header_uuid_uuid_h=$ac_header_preproc 10062 fi 10063 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 10064 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 10065 10066 fi 10067 if test $ac_cv_header_uuid_uuid_h = yes; then 4969 " 4970 if test "x$ac_cv_header_mswsock_h" = x""yes; then : 4971 $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 4972 4973 fi 4974 4975 4976 ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 4977 if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 4978 $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 4979 4980 fi 4981 4982 4983 ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 4984 if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 10068 4985 ac_has_uuid_h=1 10069 4986 fi 10070 4987 10071 4988 10072 { echo "$as_me:$LINENO: checking for net/if.h" >&5 10073 echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6; } 10074 if test "${ac_cv_header_net_if_h+set}" = set; then 10075 echo $ECHO_N "(cached) $ECHO_C" >&6 10076 else 10077 cat >conftest.$ac_ext <<_ACEOF 10078 /* confdefs.h. */ 10079 _ACEOF 10080 cat confdefs.h >>conftest.$ac_ext 10081 cat >>conftest.$ac_ext <<_ACEOF 10082 /* end confdefs.h. */ 10083 #if PJ_HAS_SYS_TYPES_H 4989 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H 10084 4990 # include <sys/types.h> 10085 4991 #endif … … 10089 4995 #endif 10090 4996 10091 10092 #include <net/if.h> 10093 _ACEOF 10094 rm -f conftest.$ac_objext 10095 if { (ac_try="$ac_compile" 10096 case "(($ac_try" in 10097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10098 *) ac_try_echo=$ac_try;; 10099 esac 10100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10101 (eval "$ac_compile") 2>conftest.er1 10102 ac_status=$? 10103 grep -v '^ *+' conftest.er1 >conftest.err 10104 rm -f conftest.er1 10105 cat conftest.err >&5 10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10107 (exit $ac_status); } && { 10108 test -z "$ac_c_werror_flag" || 10109 test ! -s conftest.err 10110 } && test -s conftest.$ac_objext; then 10111 ac_cv_header_net_if_h=yes 10112 else 10113 echo "$as_me: failed program was:" >&5 10114 sed 's/^/| /' conftest.$ac_ext >&5 10115 10116 ac_cv_header_net_if_h=no 10117 fi 10118 10119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10120 fi 10121 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 10122 echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; } 10123 if test $ac_cv_header_net_if_h = yes; then 10124 cat >>confdefs.h <<\_ACEOF 10125 #define PJ_HAS_NET_IF_H 1 10126 _ACEOF 10127 10128 fi 10129 10130 10131 { echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 10132 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6; } 4997 " 4998 if test "x$ac_cv_header_net_if_h" = x""yes; then : 4999 $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 5000 5001 fi 5002 5003 5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 5005 $as_echo "Setting PJ_OS_NAME to $target" >&6; } 10133 5006 cat >>confdefs.h <<_ACEOF 10134 5007 #define PJ_OS_NAME "$target" … … 10136 5009 10137 5010 10138 { echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 10139 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 10140 cat >>confdefs.h <<\_ACEOF 10141 #define PJ_HAS_ERRNO_VAR 1 10142 _ACEOF 10143 10144 10145 { echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 10146 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 10147 cat >>confdefs.h <<\_ACEOF 10148 #define PJ_HAS_HIGH_RES_TIMER 1 10149 _ACEOF 10150 10151 10152 { echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 10153 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6; } 10154 cat >>confdefs.h <<\_ACEOF 10155 #define PJ_HAS_MALLOC 1 10156 _ACEOF 10157 10158 10159 { echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 10160 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 10161 cat >>confdefs.h <<\_ACEOF 10162 #define PJ_NATIVE_STRING_IS_UNICODE 0 10163 _ACEOF 10164 10165 10166 { echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 10167 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 10168 cat >>confdefs.h <<\_ACEOF 10169 #define PJ_ATOMIC_VALUE_TYPE long 10170 _ACEOF 10171 10172 10173 { echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 10174 echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6; } 10175 cat >conftest.$ac_ext <<_ACEOF 10176 /* confdefs.h. */ 10177 _ACEOF 10178 cat confdefs.h >>conftest.$ac_ext 10179 cat >>conftest.$ac_ext <<_ACEOF 5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 5012 $as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 5013 $as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h 5014 5015 5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 5017 $as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 5018 $as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h 5019 5020 5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 5022 $as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } 5023 $as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h 5024 5025 5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 5027 $as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 5028 $as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h 5029 5030 5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 5032 $as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 5033 $as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h 5034 5035 5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 5037 $as_echo_n "checking if inet_aton() is available... " >&6; } 5038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10180 5039 /* end confdefs.h. */ 10181 5040 #include <sys/types.h> … … 10190 5049 } 10191 5050 _ACEOF 10192 rm -f conftest.$ac_objext 10193 if { (ac_try="$ac_compile" 10194 case "(($ac_try" in 10195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10196 *) ac_try_echo=$ac_try;; 10197 esac 10198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10199 (eval "$ac_compile") 2>conftest.er1 10200 ac_status=$? 10201 grep -v '^ *+' conftest.er1 >conftest.err 10202 rm -f conftest.er1 10203 cat conftest.err >&5 10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10205 (exit $ac_status); } && { 10206 test -z "$ac_c_werror_flag" || 10207 test ! -s conftest.err 10208 } && test -s conftest.$ac_objext; then 10209 cat >>confdefs.h <<\_ACEOF 10210 #define PJ_SOCK_HAS_INET_ATON 1 10211 _ACEOF 10212 10213 { echo "$as_me:$LINENO: result: yes" >&5 10214 echo "${ECHO_T}yes" >&6; } 10215 else 10216 echo "$as_me: failed program was:" >&5 10217 sed 's/^/| /' conftest.$ac_ext >&5 10218 10219 { echo "$as_me:$LINENO: result: no" >&5 10220 echo "${ECHO_T}no" >&6; } 10221 fi 10222 5051 if ac_fn_c_try_compile "$LINENO"; then : 5052 $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h 5053 5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5055 $as_echo "yes" >&6; } 5056 else 5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5058 $as_echo "no" >&6; } 5059 fi 10223 5060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10224 5061 10225 { echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 10226 echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6; } 10227 cat >conftest.$ac_ext <<_ACEOF 10228 /* confdefs.h. */ 10229 _ACEOF 10230 cat confdefs.h >>conftest.$ac_ext 10231 cat >>conftest.$ac_ext <<_ACEOF 5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 5063 $as_echo_n "checking if inet_pton() is available... " >&6; } 5064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10232 5065 /* end confdefs.h. */ 10233 5066 #include <sys/types.h> … … 10242 5075 } 10243 5076 _ACEOF 10244 rm -f conftest.$ac_objext 10245 if { (ac_try="$ac_compile" 10246 case "(($ac_try" in 10247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10248 *) ac_try_echo=$ac_try;; 10249 esac 10250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10251 (eval "$ac_compile") 2>conftest.er1 10252 ac_status=$? 10253 grep -v '^ *+' conftest.er1 >conftest.err 10254 rm -f conftest.er1 10255 cat conftest.err >&5 10256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10257 (exit $ac_status); } && { 10258 test -z "$ac_c_werror_flag" || 10259 test ! -s conftest.err 10260 } && test -s conftest.$ac_objext; then 10261 cat >>confdefs.h <<\_ACEOF 10262 #define PJ_SOCK_HAS_INET_PTON 1 10263 _ACEOF 10264 10265 { echo "$as_me:$LINENO: result: yes" >&5 10266 echo "${ECHO_T}yes" >&6; } 10267 else 10268 echo "$as_me: failed program was:" >&5 10269 sed 's/^/| /' conftest.$ac_ext >&5 10270 10271 { echo "$as_me:$LINENO: result: no" >&5 10272 echo "${ECHO_T}no" >&6; } 10273 fi 10274 5077 if ac_fn_c_try_compile "$LINENO"; then : 5078 $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h 5079 5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5081 $as_echo "yes" >&6; } 5082 else 5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5084 $as_echo "no" >&6; } 5085 fi 10275 5086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10276 5087 10277 { echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 10278 echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6; } 10279 cat >conftest.$ac_ext <<_ACEOF 10280 /* confdefs.h. */ 10281 _ACEOF 10282 cat confdefs.h >>conftest.$ac_ext 10283 cat >>conftest.$ac_ext <<_ACEOF 5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 5089 $as_echo_n "checking if inet_ntop() is available... " >&6; } 5090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10284 5091 /* end confdefs.h. */ 10285 5092 #include <sys/types.h> … … 10294 5101 } 10295 5102 _ACEOF 10296 rm -f conftest.$ac_objext 10297 if { (ac_try="$ac_compile" 10298 case "(($ac_try" in 10299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10300 *) ac_try_echo=$ac_try;; 10301 esac 10302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10303 (eval "$ac_compile") 2>conftest.er1 10304 ac_status=$? 10305 grep -v '^ *+' conftest.er1 >conftest.err 10306 rm -f conftest.er1 10307 cat conftest.err >&5 10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10309 (exit $ac_status); } && { 10310 test -z "$ac_c_werror_flag" || 10311 test ! -s conftest.err 10312 } && test -s conftest.$ac_objext; then 10313 cat >>confdefs.h <<\_ACEOF 10314 #define PJ_SOCK_HAS_INET_NTOP 1 10315 _ACEOF 10316 10317 { echo "$as_me:$LINENO: result: yes" >&5 10318 echo "${ECHO_T}yes" >&6; } 10319 else 10320 echo "$as_me: failed program was:" >&5 10321 sed 's/^/| /' conftest.$ac_ext >&5 10322 10323 { echo "$as_me:$LINENO: result: no" >&5 10324 echo "${ECHO_T}no" >&6; } 10325 fi 10326 5103 if ac_fn_c_try_compile "$LINENO"; then : 5104 $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h 5105 5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5107 $as_echo "yes" >&6; } 5108 else 5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5110 $as_echo "no" >&6; } 5111 fi 10327 5112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10328 5113 10329 { echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 10330 echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6; } 10331 cat >conftest.$ac_ext <<_ACEOF 10332 /* confdefs.h. */ 10333 _ACEOF 10334 cat confdefs.h >>conftest.$ac_ext 10335 cat >>conftest.$ac_ext <<_ACEOF 5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 5115 $as_echo_n "checking if getaddrinfo() is available... " >&6; } 5116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10336 5117 /* end confdefs.h. */ 10337 5118 #include <sys/types.h> … … 10346 5127 } 10347 5128 _ACEOF 10348 rm -f conftest.$ac_objext 10349 if { (ac_try="$ac_compile" 10350 case "(($ac_try" in 10351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10352 *) ac_try_echo=$ac_try;; 10353 esac 10354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10355 (eval "$ac_compile") 2>conftest.er1 10356 ac_status=$? 10357 grep -v '^ *+' conftest.er1 >conftest.err 10358 rm -f conftest.er1 10359 cat conftest.err >&5 10360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10361 (exit $ac_status); } && { 10362 test -z "$ac_c_werror_flag" || 10363 test ! -s conftest.err 10364 } && test -s conftest.$ac_objext; then 10365 cat >>confdefs.h <<\_ACEOF 10366 #define PJ_SOCK_HAS_GETADDRINFO 1 10367 _ACEOF 10368 10369 { echo "$as_me:$LINENO: result: yes" >&5 10370 echo "${ECHO_T}yes" >&6; } 10371 else 10372 echo "$as_me: failed program was:" >&5 10373 sed 's/^/| /' conftest.$ac_ext >&5 10374 10375 { echo "$as_me:$LINENO: result: no" >&5 10376 echo "${ECHO_T}no" >&6; } 10377 fi 10378 5129 if ac_fn_c_try_compile "$LINENO"; then : 5130 $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h 5131 5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5133 $as_echo "yes" >&6; } 5134 else 5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5136 $as_echo "no" >&6; } 5137 fi 10379 5138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10380 5139 10381 { echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 10382 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6; } 10383 cat >conftest.$ac_ext <<_ACEOF 10384 /* confdefs.h. */ 10385 _ACEOF 10386 cat confdefs.h >>conftest.$ac_ext 10387 cat >>conftest.$ac_ext <<_ACEOF 5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 5141 $as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } 5142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10388 5143 /* end confdefs.h. */ 10389 5144 #include <sys/types.h> … … 10399 5154 } 10400 5155 _ACEOF 10401 rm -f conftest.$ac_objext 10402 if { (ac_try="$ac_compile" 10403 case "(($ac_try" in 10404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10405 *) ac_try_echo=$ac_try;; 10406 esac 10407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10408 (eval "$ac_compile") 2>conftest.er1 10409 ac_status=$? 10410 grep -v '^ *+' conftest.er1 >conftest.err 10411 rm -f conftest.er1 10412 cat conftest.err >&5 10413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10414 (exit $ac_status); } && { 10415 test -z "$ac_c_werror_flag" || 10416 test ! -s conftest.err 10417 } && test -s conftest.$ac_objext; then 10418 cat >>confdefs.h <<\_ACEOF 10419 #define PJ_SOCKADDR_HAS_LEN 1 10420 _ACEOF 10421 10422 { echo "$as_me:$LINENO: result: yes" >&5 10423 echo "${ECHO_T}yes" >&6; } 10424 else 10425 echo "$as_me: failed program was:" >&5 10426 sed 's/^/| /' conftest.$ac_ext >&5 10427 10428 { echo "$as_me:$LINENO: result: no" >&5 10429 echo "${ECHO_T}no" >&6; } 10430 fi 10431 5156 if ac_fn_c_try_compile "$LINENO"; then : 5157 $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h 5158 5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5160 $as_echo "yes" >&6; } 5161 else 5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5163 $as_echo "no" >&6; } 5164 fi 10432 5165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10433 5166 10434 { echo "$as_me:$LINENO: checking if socklen_t is available" >&5 10435 echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6; } 10436 cat >conftest.$ac_ext <<_ACEOF 10437 /* confdefs.h. */ 10438 _ACEOF 10439 cat confdefs.h >>conftest.$ac_ext 10440 cat >>conftest.$ac_ext <<_ACEOF 5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 5168 $as_echo_n "checking if socklen_t is available... " >&6; } 5169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10441 5170 /* end confdefs.h. */ 10442 5171 #include <sys/types.h> … … 10450 5179 } 10451 5180 _ACEOF 10452 rm -f conftest.$ac_objext 10453 if { (ac_try="$ac_compile" 10454 case "(($ac_try" in 10455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10456 *) ac_try_echo=$ac_try;; 10457 esac 10458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10459 (eval "$ac_compile") 2>conftest.er1 10460 ac_status=$? 10461 grep -v '^ *+' conftest.er1 >conftest.err 10462 rm -f conftest.er1 10463 cat conftest.err >&5 10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10465 (exit $ac_status); } && { 10466 test -z "$ac_c_werror_flag" || 10467 test ! -s conftest.err 10468 } && test -s conftest.$ac_objext; then 10469 cat >>confdefs.h <<\_ACEOF 10470 #define PJ_HAS_SOCKLEN_T 1 10471 _ACEOF 10472 10473 { echo "$as_me:$LINENO: result: yes" >&5 10474 echo "${ECHO_T}yes" >&6; } 10475 else 10476 echo "$as_me: failed program was:" >&5 10477 sed 's/^/| /' conftest.$ac_ext >&5 10478 10479 { echo "$as_me:$LINENO: result: no" >&5 10480 echo "${ECHO_T}no" >&6; } 10481 fi 10482 5181 if ac_fn_c_try_compile "$LINENO"; then : 5182 $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h 5183 5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5185 $as_echo "yes" >&6; } 5186 else 5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5188 $as_echo "no" >&6; } 5189 fi 10483 5190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10484 5191 10485 { echo "$as_me:$LINENO: checking if SO_ERROR is available" >&510486 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6; }5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&5 5193 $as_echo_n "checking if SO_ERROR is available... " >&6; } 10487 5194 case $target in 10488 5195 *mingw* | *cygw* | *win32* | *w32* ) 10489 cat >>confdefs.h <<\_ACEOF 10490 #define PJ_HAS_SO_ERROR 1 10491 _ACEOF 10492 10493 { echo "$as_me:$LINENO: result: yes" >&5 10494 echo "${ECHO_T}yes" >&6; } 5196 $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 5197 5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5199 $as_echo "yes" >&6; } 10495 5200 ;; 10496 5201 *) 10497 cat >conftest.$ac_ext <<_ACEOF 10498 /* confdefs.h. */ 10499 _ACEOF 10500 cat confdefs.h >>conftest.$ac_ext 10501 cat >>conftest.$ac_ext <<_ACEOF 5202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10502 5203 /* end confdefs.h. */ 10503 5204 #include <sys/types.h> … … 10513 5214 } 10514 5215 _ACEOF 10515 rm -f conftest.$ac_objext 10516 if { (ac_try="$ac_compile" 10517 case "(($ac_try" in 10518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10519 *) ac_try_echo=$ac_try;; 10520 esac 10521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10522 (eval "$ac_compile") 2>conftest.er1 10523 ac_status=$? 10524 grep -v '^ *+' conftest.er1 >conftest.err 10525 rm -f conftest.er1 10526 cat conftest.err >&5 10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10528 (exit $ac_status); } && { 10529 test -z "$ac_c_werror_flag" || 10530 test ! -s conftest.err 10531 } && test -s conftest.$ac_objext; then 10532 cat >>confdefs.h <<\_ACEOF 10533 #define PJ_HAS_SO_ERROR 1 10534 _ACEOF 10535 10536 { echo "$as_me:$LINENO: result: yes" >&5 10537 echo "${ECHO_T}yes" >&6; } 10538 else 10539 echo "$as_me: failed program was:" >&5 10540 sed 's/^/| /' conftest.$ac_ext >&5 10541 10542 { echo "$as_me:$LINENO: result: no" >&5 10543 echo "${ECHO_T}no" >&6; } 10544 fi 10545 5216 if ac_fn_c_try_compile "$LINENO"; then : 5217 $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 5218 5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5220 $as_echo "yes" >&6; } 5221 else 5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5223 $as_echo "no" >&6; } 5224 fi 10546 5225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10547 5226 ;; … … 10549 5228 10550 5229 10551 { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 10552 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6; } 10553 cat >conftest.$ac_ext <<_ACEOF 10554 /* confdefs.h. */ 10555 _ACEOF 10556 cat confdefs.h >>conftest.$ac_ext 10557 cat >>conftest.$ac_ext <<_ACEOF 5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 5231 $as_echo_n "checking if pthread_rwlock_t is available... " >&6; } 5232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10558 5233 /* end confdefs.h. */ 10559 5234 #include <pthread.h> … … 10566 5241 } 10567 5242 _ACEOF 10568 rm -f conftest.$ac_objext 10569 if { (ac_try="$ac_compile" 10570 case "(($ac_try" in 10571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10572 *) ac_try_echo=$ac_try;; 10573 esac 10574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10575 (eval "$ac_compile") 2>conftest.er1 10576 ac_status=$? 10577 grep -v '^ *+' conftest.er1 >conftest.err 10578 rm -f conftest.er1 10579 cat conftest.err >&5 10580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10581 (exit $ac_status); } && { 10582 test -z "$ac_c_werror_flag" || 10583 test ! -s conftest.err 10584 } && test -s conftest.$ac_objext; then 10585 cat >>confdefs.h <<\_ACEOF 10586 #define PJ_EMULATE_RWMUTEX 0 10587 _ACEOF 5243 if ac_fn_c_try_compile "$LINENO"; then : 5244 $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 10588 5245 10589 5246 ac_rwmutex="yes" 10590 { echo "$as_me:$LINENO: result: yes" >&5 10591 echo "${ECHO_T}yes" >&6; } 10592 else 10593 echo "$as_me: failed program was:" >&5 10594 sed 's/^/| /' conftest.$ac_ext >&5 10595 10596 cat >>confdefs.h <<\_ACEOF 10597 #define PJ_EMULATE_RWMUTEX 1 10598 _ACEOF 5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5248 $as_echo "yes" >&6; } 5249 else 5250 $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 10599 5251 10600 5252 ac_rwmutex="no" 10601 { echo "$as_me:$LINENO: result: no" >&5 10602 echo "${ECHO_T}no" >&6; } 10603 fi 10604 5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5254 $as_echo "no" >&6; } 5255 fi 10605 5256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10606 5257 10607 5258 if test "$ac_rwmutex" = "no"; then 10608 { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 10609 echo $ECHO_N "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... $ECHO_C" >&6; } 10610 cat >conftest.$ac_ext <<_ACEOF 10611 /* confdefs.h. */ 10612 _ACEOF 10613 cat confdefs.h >>conftest.$ac_ext 10614 cat >>conftest.$ac_ext <<_ACEOF 5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 5260 $as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } 5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10615 5262 /* end confdefs.h. */ 10616 5263 #define _POSIX_READER_WRITER_LOCKS … … 10624 5271 } 10625 5272 _ACEOF 10626 rm -f conftest.$ac_objext 10627 if { (ac_try="$ac_compile" 10628 case "(($ac_try" in 10629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10630 *) ac_try_echo=$ac_try;; 10631 esac 10632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10633 (eval "$ac_compile") 2>conftest.er1 10634 ac_status=$? 10635 grep -v '^ *+' conftest.er1 >conftest.err 10636 rm -f conftest.er1 10637 cat conftest.err >&5 10638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10639 (exit $ac_status); } && { 10640 test -z "$ac_c_werror_flag" || 10641 test ! -s conftest.err 10642 } && test -s conftest.$ac_objext; then 10643 cat >>confdefs.h <<\_ACEOF 10644 #define PJ_EMULATE_RWMUTEX 0 10645 _ACEOF 5273 if ac_fn_c_try_compile "$LINENO"; then : 5274 $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 10646 5275 10647 5276 CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 10648 { echo "$as_me:$LINENO: result: yes" >&5 10649 echo "${ECHO_T}yes" >&6; } 10650 else 10651 echo "$as_me: failed program was:" >&5 10652 sed 's/^/| /' conftest.$ac_ext >&5 10653 10654 cat >>confdefs.h <<\_ACEOF 10655 #define PJ_EMULATE_RWMUTEX 1 10656 _ACEOF 10657 10658 { echo "$as_me:$LINENO: result: no" >&5 10659 echo "${ECHO_T}no" >&6; } 10660 fi 10661 5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5278 $as_echo "yes" >&6; } 5279 else 5280 $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 5281 5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5283 $as_echo "no" >&6; } 5284 fi 10662 5285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10663 5286 fi 10664 5287 10665 { echo "$as_me:$LINENO: checking if pthread_mutexattr_settype() is available" >&5 10666 echo $ECHO_N "checking if pthread_mutexattr_settype() is available... $ECHO_C" >&6; } 10667 cat >conftest.$ac_ext <<_ACEOF 10668 /* confdefs.h. */ 10669 _ACEOF 10670 cat confdefs.h >>conftest.$ac_ext 10671 cat >>conftest.$ac_ext <<_ACEOF 5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 5289 $as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } 5290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10672 5291 /* end confdefs.h. */ 10673 5292 #include <pthread.h> … … 10680 5299 } 10681 5300 _ACEOF 10682 rm -f conftest.$ac_objext 10683 if { (ac_try="$ac_compile" 10684 case "(($ac_try" in 10685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10686 *) ac_try_echo=$ac_try;; 10687 esac 10688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10689 (eval "$ac_compile") 2>conftest.er1 10690 ac_status=$? 10691 grep -v '^ *+' conftest.er1 >conftest.err 10692 rm -f conftest.er1 10693 cat conftest.err >&5 10694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10695 (exit $ac_status); } && { 10696 test -z "$ac_c_werror_flag" || 10697 test ! -s conftest.err 10698 } && test -s conftest.$ac_objext; then 10699 cat >>confdefs.h <<\_ACEOF 10700 #define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1 10701 _ACEOF 10702 10703 { echo "$as_me:$LINENO: result: yes" >&5 10704 echo "${ECHO_T}yes" >&6; } 10705 else 10706 echo "$as_me: failed program was:" >&5 10707 sed 's/^/| /' conftest.$ac_ext >&5 10708 10709 { echo "$as_me:$LINENO: result: no" >&5 10710 echo "${ECHO_T}no" >&6; } 10711 fi 10712 5301 if ac_fn_c_try_compile "$LINENO"; then : 5302 $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h 5303 5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5305 $as_echo "yes" >&6; } 5306 else 5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5308 $as_echo "no" >&6; } 5309 fi 10713 5310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10714 5311 10715 { echo "$as_me:$LINENO: checking if pthread_mutexattr_t has recursive member" >&5 10716 echo $ECHO_N "checking if pthread_mutexattr_t has recursive member... $ECHO_C" >&6; } 10717 cat >conftest.$ac_ext <<_ACEOF 10718 /* confdefs.h. */ 10719 _ACEOF 10720 cat confdefs.h >>conftest.$ac_ext 10721 cat >>conftest.$ac_ext <<_ACEOF 5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 5313 $as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } 5314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10722 5315 /* end confdefs.h. */ 10723 5316 #include <pthread.h> … … 10731 5324 } 10732 5325 _ACEOF 10733 rm -f conftest.$ac_objext 10734 if { (ac_try="$ac_compile" 10735 case "(($ac_try" in 10736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10737 *) ac_try_echo=$ac_try;; 10738 esac 10739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10740 (eval "$ac_compile") 2>conftest.er1 10741 ac_status=$? 10742 grep -v '^ *+' conftest.er1 >conftest.err 10743 rm -f conftest.er1 10744 cat conftest.err >&5 10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10746 (exit $ac_status); } && { 10747 test -z "$ac_c_werror_flag" || 10748 test ! -s conftest.err 10749 } && test -s conftest.$ac_objext; then 10750 cat >>confdefs.h <<\_ACEOF 10751 #define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1 10752 _ACEOF 10753 10754 { echo "$as_me:$LINENO: result: yes" >&5 10755 echo "${ECHO_T}yes" >&6; } 10756 else 10757 echo "$as_me: failed program was:" >&5 10758 sed 's/^/| /' conftest.$ac_ext >&5 10759 10760 { echo "$as_me:$LINENO: result: no" >&5 10761 echo "${ECHO_T}no" >&6; } 10762 fi 10763 5326 if ac_fn_c_try_compile "$LINENO"; then : 5327 $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h 5328 5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5330 $as_echo "yes" >&6; } 5331 else 5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5333 $as_echo "no" >&6; } 5334 fi 10764 5335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10765 5336 10766 5337 10767 { echo "$as_me:$LINENO: checking ioqueue backend" >&510768 echo $ECHO_N "checking ioqueue backend... $ECHO_C" >&6; }5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&5 5339 $as_echo_n "checking ioqueue backend... " >&6; } 10769 5340 # Check whether --enable-epoll was given. 10770 if test "${enable_epoll+set}" = set; then 5341 if test "${enable_epoll+set}" = set; then : 10771 5342 enableval=$enable_epoll; 10772 5343 ac_os_objs=ioqueue_epoll.o 10773 { echo "$as_me:$LINENO: result: /dev/epoll" >&510774 echo "${ECHO_T}/dev/epoll" >&6; }5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&5 5345 $as_echo "/dev/epoll" >&6; } 10775 5346 10776 5347 else 10777 5348 10778 5349 ac_os_objs=ioqueue_select.o 10779 { echo "$as_me:$LINENO: result: select()" >&510780 echo "${ECHO_T}select()" >&6; }5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 5351 $as_echo "select()" >&6; } 10781 5352 10782 5353 fi … … 10815 5386 10816 5387 # Check whether --with-external-speex was given. 10817 if test "${with_external_speex+set}" = set; then 5388 if test "${with_external_speex+set}" = set; then : 10818 5389 withval=$with_external_speex; 10819 5390 if test "x$with_external_speex" != "xno"; then 10820 5391 # Test Speex installation 10821 { echo "$as_me:$LINENO: checking if external Speex devkit is installed" >&5 10822 echo $ECHO_N "checking if external Speex devkit is installed... $ECHO_C" >&6; } 10823 cat >conftest.$ac_ext <<_ACEOF 10824 /* confdefs.h. */ 10825 _ACEOF 10826 cat confdefs.h >>conftest.$ac_ext 10827 cat >>conftest.$ac_ext <<_ACEOF 5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external Speex devkit is installed" >&5 5393 $as_echo_n "checking if external Speex devkit is installed... " >&6; } 5394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10828 5395 /* end confdefs.h. */ 10829 5396 #include <speex/speex.h> … … 10838 5405 } 10839 5406 _ACEOF 10840 rm -f conftest.$ac_objext 10841 if { (ac_try="$ac_compile" 10842 case "(($ac_try" in 10843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10844 *) ac_try_echo=$ac_try;; 10845 esac 10846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10847 (eval "$ac_compile") 2>conftest.er1 10848 ac_status=$? 10849 grep -v '^ *+' conftest.er1 >conftest.err 10850 rm -f conftest.er1 10851 cat conftest.err >&5 10852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10853 (exit $ac_status); } && { 10854 test -z "$ac_c_werror_flag" || 10855 test ! -s conftest.err 10856 } && test -s conftest.$ac_objext; then 10857 { echo "$as_me:$LINENO: result: yes!!" >&5 10858 echo "${ECHO_T}yes!!" >&6; } 10859 cat >>confdefs.h <<\_ACEOF 10860 #define PJMEDIA_EXTERNAL_SPEEX_CODEC 1 10861 _ACEOF 5407 if ac_fn_c_try_compile "$LINENO"; then : 5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5409 $as_echo "yes!!" >&6; } 5410 $as_echo "#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1" >>confdefs.h 10862 5411 10863 5412 ac_external_speex="1" 10864 5413 10865 5414 else 10866 echo "$as_me: failed program was:" >&5 10867 sed 's/^/| /' conftest.$ac_ext >&5 10868 10869 { { 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 10870 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;} 10871 { (exit 1); exit 1; }; } 10872 fi 10873 5415 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 5416 fi 10874 5417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10875 5418 fi … … 10883 5426 10884 5427 # Check whether --with-external-gsm was given. 10885 if test "${with_external_gsm+set}" = set; then 5428 if test "${with_external_gsm+set}" = set; then : 10886 5429 withval=$with_external_gsm; 10887 5430 if test "x$with_external_gsm" != "xno"; then 10888 5431 # Test GSM library installation 10889 { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm/gsm.h" >&5 10890 echo $ECHO_N "checking if external GSM devkit is installed as gsm/gsm.h... $ECHO_C" >&6; } 10891 cat >conftest.$ac_ext <<_ACEOF 10892 /* confdefs.h. */ 10893 _ACEOF 10894 cat confdefs.h >>conftest.$ac_ext 10895 cat >>conftest.$ac_ext <<_ACEOF 5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm/gsm.h" >&5 5433 $as_echo_n "checking if external GSM devkit is installed as gsm/gsm.h... " >&6; } 5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10896 5435 /* end confdefs.h. */ 10897 5436 #include <gsm/gsm.h> … … 10904 5443 } 10905 5444 _ACEOF 10906 rm -f conftest.$ac_objext 10907 if { (ac_try="$ac_compile" 10908 case "(($ac_try" in 10909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10910 *) ac_try_echo=$ac_try;; 10911 esac 10912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10913 (eval "$ac_compile") 2>conftest.er1 10914 ac_status=$? 10915 grep -v '^ *+' conftest.er1 >conftest.err 10916 rm -f conftest.er1 10917 cat conftest.err >&5 10918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10919 (exit $ac_status); } && { 10920 test -z "$ac_c_werror_flag" || 10921 test ! -s conftest.err 10922 } && test -s conftest.$ac_objext; then 10923 { echo "$as_me:$LINENO: result: yes!!" >&5 10924 echo "${ECHO_T}yes!!" >&6; } 10925 cat >>confdefs.h <<\_ACEOF 10926 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 10927 _ACEOF 10928 10929 cat >>confdefs.h <<\_ACEOF 10930 #define PJMEDIA_EXTERNAL_GSM_GSM_H 1 10931 _ACEOF 5445 if ac_fn_c_try_compile "$LINENO"; then : 5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5447 $as_echo "yes!!" >&6; } 5448 $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 5449 5450 $as_echo "#define PJMEDIA_EXTERNAL_GSM_GSM_H 1" >>confdefs.h 10932 5451 10933 5452 ac_external_gsm="1" 10934 5453 10935 5454 else 10936 echo "$as_me: failed program was:" >&5 10937 sed 's/^/| /' conftest.$ac_ext >&5 10938 10939 10940 { echo "$as_me:$LINENO: result: no" >&5 10941 echo "${ECHO_T}no" >&6; } 10942 { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm.h" >&5 10943 echo $ECHO_N "checking if external GSM devkit is installed as gsm.h... $ECHO_C" >&6; } 10944 cat >conftest.$ac_ext <<_ACEOF 10945 /* confdefs.h. */ 10946 _ACEOF 10947 cat confdefs.h >>conftest.$ac_ext 10948 cat >>conftest.$ac_ext <<_ACEOF 5455 5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5457 $as_echo "no" >&6; } 5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm.h" >&5 5459 $as_echo_n "checking if external GSM devkit is installed as gsm.h... " >&6; } 5460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10949 5461 /* end confdefs.h. */ 10950 5462 #include <gsm.h> … … 10957 5469 } 10958 5470 _ACEOF 10959 rm -f conftest.$ac_objext 10960 if { (ac_try="$ac_compile" 10961 case "(($ac_try" in 10962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10963 *) ac_try_echo=$ac_try;; 10964 esac 10965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10966 (eval "$ac_compile") 2>conftest.er1 10967 ac_status=$? 10968 grep -v '^ *+' conftest.er1 >conftest.err 10969 rm -f conftest.er1 10970 cat conftest.err >&5 10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10972 (exit $ac_status); } && { 10973 test -z "$ac_c_werror_flag" || 10974 test ! -s conftest.err 10975 } && test -s conftest.$ac_objext; then 10976 { echo "$as_me:$LINENO: result: yes!!" >&5 10977 echo "${ECHO_T}yes!!" >&6; } 10978 cat >>confdefs.h <<\_ACEOF 10979 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 10980 _ACEOF 10981 10982 cat >>confdefs.h <<\_ACEOF 10983 #define PJMEDIA_EXTERNAL_GSM_H 1 10984 _ACEOF 5471 if ac_fn_c_try_compile "$LINENO"; then : 5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5473 $as_echo "yes!!" >&6; } 5474 $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 5475 5476 $as_echo "#define PJMEDIA_EXTERNAL_GSM_H 1" >>confdefs.h 10985 5477 10986 5478 ac_external_gsm="1" 10987 5479 10988 5480 else 10989 echo "$as_me: failed program was:" >&5 10990 sed 's/^/| /' conftest.$ac_ext >&5 10991 10992 { { 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 10993 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;} 10994 { (exit 1); exit 1; }; } 10995 10996 10997 fi 10998 5481 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 5482 5483 5484 fi 10999 5485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11000 5486 11001 5487 11002 5488 fi 11003 11004 5489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11005 5490 fi … … 11013 5498 11014 5499 # Check whether --enable-sound was given. 11015 if test "${enable_sound+set}" = set; then 5500 if test "${enable_sound+set}" = set; then : 11016 5501 enableval=$enable_sound; if test "$enable_sound" = "no"; then 11017 5502 ac_pjmedia_snd=null 11018 { echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&511019 echo "${ECHO_T}Checking if sound is disabled... yes" >&6; }5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&5 5504 $as_echo "Checking if sound is disabled... yes" >&6; } 11020 5505 fi 11021 5506 … … 11027 5512 11028 5513 # Check whether --with-external-pa was given. 11029 if test "${with_external_pa+set}" = set; then 5514 if test "${with_external_pa+set}" = set; then : 11030 5515 withval=$with_external_pa; 11031 5516 if test "x$with_external_pa" != "xno"; then 11032 5517 # Test PortAudio installation 11033 { echo "$as_me:$LINENO: checking if external PortAudio devkit is installed" >&5 11034 echo $ECHO_N "checking if external PortAudio devkit is installed... $ECHO_C" >&6; } 11035 cat >conftest.$ac_ext <<_ACEOF 11036 /* confdefs.h. */ 11037 _ACEOF 11038 cat confdefs.h >>conftest.$ac_ext 11039 cat >>conftest.$ac_ext <<_ACEOF 5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external PortAudio devkit is installed" >&5 5519 $as_echo_n "checking if external PortAudio devkit is installed... " >&6; } 5520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11040 5521 /* end confdefs.h. */ 11041 5522 #include <portaudio.h> … … 11049 5530 } 11050 5531 _ACEOF 11051 rm -f conftest.$ac_objext 11052 if { (ac_try="$ac_compile" 11053 case "(($ac_try" in 11054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11055 *) ac_try_echo=$ac_try;; 11056 esac 11057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11058 (eval "$ac_compile") 2>conftest.er1 11059 ac_status=$? 11060 grep -v '^ *+' conftest.er1 >conftest.err 11061 rm -f conftest.er1 11062 cat conftest.err >&5 11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11064 (exit $ac_status); } && { 11065 test -z "$ac_c_werror_flag" || 11066 test ! -s conftest.err 11067 } && test -s conftest.$ac_objext; then 11068 { echo "$as_me:$LINENO: result: yes!!" >&5 11069 echo "${ECHO_T}yes!!" >&6; } 5532 if ac_fn_c_try_compile "$LINENO"; then : 5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5534 $as_echo "yes!!" >&6; } 11070 5535 ac_external_pa="1" 11071 5536 11072 5537 else 11073 echo "$as_me: failed program was:" >&5 11074 sed 's/^/| /' conftest.$ac_ext >&5 11075 11076 { { 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 11077 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;} 11078 { (exit 1); exit 1; }; } 11079 fi 11080 5538 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 5539 fi 11081 5540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11082 5541 fi … … 11087 5546 11088 5547 11089 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 11090 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 11091 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 11092 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 11093 echo $ECHO_N "(cached) $ECHO_C" >&6 11094 fi 11095 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 11096 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 11097 else 11098 # Is the header compilable? 11099 { echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5 11100 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; } 11101 cat >conftest.$ac_ext <<_ACEOF 11102 /* confdefs.h. */ 11103 _ACEOF 11104 cat confdefs.h >>conftest.$ac_ext 11105 cat >>conftest.$ac_ext <<_ACEOF 11106 /* end confdefs.h. */ 11107 $ac_includes_default 11108 #include <sys/soundcard.h> 11109 _ACEOF 11110 rm -f conftest.$ac_objext 11111 if { (ac_try="$ac_compile" 11112 case "(($ac_try" in 11113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11114 *) ac_try_echo=$ac_try;; 11115 esac 11116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11117 (eval "$ac_compile") 2>conftest.er1 11118 ac_status=$? 11119 grep -v '^ *+' conftest.er1 >conftest.err 11120 rm -f conftest.er1 11121 cat conftest.err >&5 11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11123 (exit $ac_status); } && { 11124 test -z "$ac_c_werror_flag" || 11125 test ! -s conftest.err 11126 } && test -s conftest.$ac_objext; then 11127 ac_header_compiler=yes 11128 else 11129 echo "$as_me: failed program was:" >&5 11130 sed 's/^/| /' conftest.$ac_ext >&5 11131 11132 ac_header_compiler=no 11133 fi 11134 11135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11136 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11137 echo "${ECHO_T}$ac_header_compiler" >&6; } 11138 11139 # Is the header present? 11140 { echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5 11141 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; } 11142 cat >conftest.$ac_ext <<_ACEOF 11143 /* confdefs.h. */ 11144 _ACEOF 11145 cat confdefs.h >>conftest.$ac_ext 11146 cat >>conftest.$ac_ext <<_ACEOF 11147 /* end confdefs.h. */ 11148 #include <sys/soundcard.h> 11149 _ACEOF 11150 if { (ac_try="$ac_cpp conftest.$ac_ext" 11151 case "(($ac_try" in 11152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11153 *) ac_try_echo=$ac_try;; 11154 esac 11155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11156 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11157 ac_status=$? 11158 grep -v '^ *+' conftest.er1 >conftest.err 11159 rm -f conftest.er1 11160 cat conftest.err >&5 11161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11162 (exit $ac_status); } >/dev/null && { 11163 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11164 test ! -s conftest.err 11165 }; then 11166 ac_header_preproc=yes 11167 else 11168 echo "$as_me: failed program was:" >&5 11169 sed 's/^/| /' conftest.$ac_ext >&5 11170 11171 ac_header_preproc=no 11172 fi 11173 11174 rm -f conftest.err conftest.$ac_ext 11175 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11176 echo "${ECHO_T}$ac_header_preproc" >&6; } 11177 11178 # So? What about this header? 11179 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11180 yes:no: ) 11181 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 11182 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11183 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5 11184 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;} 11185 ac_header_preproc=yes 11186 ;; 11187 no:yes:* ) 11188 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5 11189 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;} 11190 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5 11191 echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;} 11192 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5 11193 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;} 11194 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 11195 echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 11196 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5 11197 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;} 11198 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 11199 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} 11200 11201 ;; 11202 esac 11203 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 11204 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 11205 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 11206 echo $ECHO_N "(cached) $ECHO_C" >&6 11207 else 11208 ac_cv_header_sys_soundcard_h=$ac_header_preproc 11209 fi 11210 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 11211 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 11212 11213 fi 11214 if test $ac_cv_header_sys_soundcard_h = yes; then 5548 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 5549 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 11215 5550 ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 11216 5551 fi 11217 5552 11218 5553 11219 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 11220 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 11221 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 11222 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 11223 echo $ECHO_N "(cached) $ECHO_C" >&6 11224 fi 11225 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 11226 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 11227 else 11228 # Is the header compilable? 11229 { echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5 11230 echo $ECHO_N "checking linux/soundcard.h usability... $ECHO_C" >&6; } 11231 cat >conftest.$ac_ext <<_ACEOF 11232 /* confdefs.h. */ 11233 _ACEOF 11234 cat confdefs.h >>conftest.$ac_ext 11235 cat >>conftest.$ac_ext <<_ACEOF 11236 /* end confdefs.h. */ 11237 $ac_includes_default 11238 #include <linux/soundcard.h> 11239 _ACEOF 11240 rm -f conftest.$ac_objext 11241 if { (ac_try="$ac_compile" 11242 case "(($ac_try" in 11243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11244 *) ac_try_echo=$ac_try;; 11245 esac 11246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11247 (eval "$ac_compile") 2>conftest.er1 11248 ac_status=$? 11249 grep -v '^ *+' conftest.er1 >conftest.err 11250 rm -f conftest.er1 11251 cat conftest.err >&5 11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11253 (exit $ac_status); } && { 11254 test -z "$ac_c_werror_flag" || 11255 test ! -s conftest.err 11256 } && test -s conftest.$ac_objext; then 11257 ac_header_compiler=yes 11258 else 11259 echo "$as_me: failed program was:" >&5 11260 sed 's/^/| /' conftest.$ac_ext >&5 11261 11262 ac_header_compiler=no 11263 fi 11264 11265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11266 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11267 echo "${ECHO_T}$ac_header_compiler" >&6; } 11268 11269 # Is the header present? 11270 { echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5 11271 echo $ECHO_N "checking linux/soundcard.h presence... $ECHO_C" >&6; } 11272 cat >conftest.$ac_ext <<_ACEOF 11273 /* confdefs.h. */ 11274 _ACEOF 11275 cat confdefs.h >>conftest.$ac_ext 11276 cat >>conftest.$ac_ext <<_ACEOF 11277 /* end confdefs.h. */ 11278 #include <linux/soundcard.h> 11279 _ACEOF 11280 if { (ac_try="$ac_cpp conftest.$ac_ext" 11281 case "(($ac_try" in 11282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11283 *) ac_try_echo=$ac_try;; 11284 esac 11285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11286 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11287 ac_status=$? 11288 grep -v '^ *+' conftest.er1 >conftest.err 11289 rm -f conftest.er1 11290 cat conftest.err >&5 11291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11292 (exit $ac_status); } >/dev/null && { 11293 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11294 test ! -s conftest.err 11295 }; then 11296 ac_header_preproc=yes 11297 else 11298 echo "$as_me: failed program was:" >&5 11299 sed 's/^/| /' conftest.$ac_ext >&5 11300 11301 ac_header_preproc=no 11302 fi 11303 11304 rm -f conftest.err conftest.$ac_ext 11305 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11306 echo "${ECHO_T}$ac_header_preproc" >&6; } 11307 11308 # So? What about this header? 11309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11310 yes:no: ) 11311 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 11312 echo "$as_me: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11313 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&5 11314 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&2;} 11315 ac_header_preproc=yes 11316 ;; 11317 no:yes:* ) 11318 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: present but cannot be compiled" >&5 11319 echo "$as_me: WARNING: linux/soundcard.h: present but cannot be compiled" >&2;} 11320 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: check for missing prerequisite headers?" >&5 11321 echo "$as_me: WARNING: linux/soundcard.h: check for missing prerequisite headers?" >&2;} 11322 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: see the Autoconf documentation" >&5 11323 echo "$as_me: WARNING: linux/soundcard.h: see the Autoconf documentation" >&2;} 11324 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 11325 echo "$as_me: WARNING: linux/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 11326 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&5 11327 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&2;} 11328 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 11329 echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} 11330 11331 ;; 11332 esac 11333 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 11334 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 11335 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 11336 echo $ECHO_N "(cached) $ECHO_C" >&6 11337 else 11338 ac_cv_header_linux_soundcard_h=$ac_header_preproc 11339 fi 11340 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 11341 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 11342 11343 fi 11344 if test $ac_cv_header_linux_soundcard_h = yes; then 5554 ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 5555 if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 11345 5556 ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 11346 5557 fi 11347 5558 11348 5559 11349 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 11350 { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 11351 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 11352 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 11353 echo $ECHO_N "(cached) $ECHO_C" >&6 11354 fi 11355 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 11356 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 11357 else 11358 # Is the header compilable? 11359 { echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&5 11360 echo $ECHO_N "checking machine/soundcard.h usability... $ECHO_C" >&6; } 11361 cat >conftest.$ac_ext <<_ACEOF 11362 /* confdefs.h. */ 11363 _ACEOF 11364 cat confdefs.h >>conftest.$ac_ext 11365 cat >>conftest.$ac_ext <<_ACEOF 11366 /* end confdefs.h. */ 11367 $ac_includes_default 11368 #include <machine/soundcard.h> 11369 _ACEOF 11370 rm -f conftest.$ac_objext 11371 if { (ac_try="$ac_compile" 11372 case "(($ac_try" in 11373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11374 *) ac_try_echo=$ac_try;; 11375 esac 11376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11377 (eval "$ac_compile") 2>conftest.er1 11378 ac_status=$? 11379 grep -v '^ *+' conftest.er1 >conftest.err 11380 rm -f conftest.er1 11381 cat conftest.err >&5 11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11383 (exit $ac_status); } && { 11384 test -z "$ac_c_werror_flag" || 11385 test ! -s conftest.err 11386 } && test -s conftest.$ac_objext; then 11387 ac_header_compiler=yes 11388 else 11389 echo "$as_me: failed program was:" >&5 11390 sed 's/^/| /' conftest.$ac_ext >&5 11391 11392 ac_header_compiler=no 11393 fi 11394 11395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11396 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11397 echo "${ECHO_T}$ac_header_compiler" >&6; } 11398 11399 # Is the header present? 11400 { echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&5 11401 echo $ECHO_N "checking machine/soundcard.h presence... $ECHO_C" >&6; } 11402 cat >conftest.$ac_ext <<_ACEOF 11403 /* confdefs.h. */ 11404 _ACEOF 11405 cat confdefs.h >>conftest.$ac_ext 11406 cat >>conftest.$ac_ext <<_ACEOF 11407 /* end confdefs.h. */ 11408 #include <machine/soundcard.h> 11409 _ACEOF 11410 if { (ac_try="$ac_cpp conftest.$ac_ext" 11411 case "(($ac_try" in 11412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11413 *) ac_try_echo=$ac_try;; 11414 esac 11415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11416 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11417 ac_status=$? 11418 grep -v '^ *+' conftest.er1 >conftest.err 11419 rm -f conftest.er1 11420 cat conftest.err >&5 11421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11422 (exit $ac_status); } >/dev/null && { 11423 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11424 test ! -s conftest.err 11425 }; then 11426 ac_header_preproc=yes 11427 else 11428 echo "$as_me: failed program was:" >&5 11429 sed 's/^/| /' conftest.$ac_ext >&5 11430 11431 ac_header_preproc=no 11432 fi 11433 11434 rm -f conftest.err conftest.$ac_ext 11435 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11436 echo "${ECHO_T}$ac_header_preproc" >&6; } 11437 11438 # So? What about this header? 11439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11440 yes:no: ) 11441 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 11442 echo "$as_me: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11443 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&5 11444 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&2;} 11445 ac_header_preproc=yes 11446 ;; 11447 no:yes:* ) 11448 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: present but cannot be compiled" >&5 11449 echo "$as_me: WARNING: machine/soundcard.h: present but cannot be compiled" >&2;} 11450 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: check for missing prerequisite headers?" >&5 11451 echo "$as_me: WARNING: machine/soundcard.h: check for missing prerequisite headers?" >&2;} 11452 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: see the Autoconf documentation" >&5 11453 echo "$as_me: WARNING: machine/soundcard.h: see the Autoconf documentation" >&2;} 11454 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 11455 echo "$as_me: WARNING: machine/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 11456 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&5 11457 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&2;} 11458 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&5 11459 echo "$as_me: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&2;} 11460 11461 ;; 11462 esac 11463 { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 11464 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 11465 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 11466 echo $ECHO_N "(cached) $ECHO_C" >&6 11467 else 11468 ac_cv_header_machine_soundcard_h=$ac_header_preproc 11469 fi 11470 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 11471 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 11472 11473 fi 11474 if test $ac_cv_header_machine_soundcard_h = yes; then 5560 ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 5561 if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 11475 5562 ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 11476 5563 fi … … 11490 5577 arm-apple-darwin*) 11491 5578 LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" 11492 { echo "$as_me:$LINENO: result: Checking sound device backend... AudioUnit" >&511493 echo "${ECHO_T}Checking sound device backend... AudioUnit" >&6; }5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5 5580 $as_echo "Checking sound device backend... AudioUnit" >&6; } 11494 5581 ;; 11495 5582 *darwin*) … … 11499 5586 #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 11500 5587 ac_pjmedia_snd=pa_old_darwinos 11501 { echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&511502 echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6; }5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&5 5589 $as_echo "Checking sound device backend... old coreaudio" >&6; } 11503 5590 else 11504 5591 ac_pjmedia_snd=pa_darwinos 11505 { echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&511506 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6; }5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&5 5593 $as_echo "Checking sound device backend... coreaudio" >&6; } 11507 5594 fi 11508 5595 ;; 11509 5596 *cygwin* | *mingw*) 11510 5597 ac_pjmedia_snd=pa_win32 11511 { echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&511512 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6; }5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&5 5599 $as_echo "Checking sound device backend... win32 sound" >&6; } 11513 5600 ;; 11514 5601 *rtems*) 11515 5602 ac_pjmedia_snd=null 11516 { echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&511517 echo "${ECHO_T}Checking sound device backend... null sound" >&6; }5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&5 5604 $as_echo "Checking sound device backend... null sound" >&6; } 11518 5605 ;; 11519 5606 *) 11520 5607 ac_pjmedia_snd=pa_unix 11521 if test "${ac_cv_header_alsa_version_h+set}" = set; then 11522 { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 11523 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 11524 if test "${ac_cv_header_alsa_version_h+set}" = set; then 11525 echo $ECHO_N "(cached) $ECHO_C" >&6 11526 fi 11527 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 11528 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 11529 else 11530 # Is the header compilable? 11531 { echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 11532 echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6; } 11533 cat >conftest.$ac_ext <<_ACEOF 11534 /* confdefs.h. */ 11535 _ACEOF 11536 cat confdefs.h >>conftest.$ac_ext 11537 cat >>conftest.$ac_ext <<_ACEOF 11538 /* end confdefs.h. */ 11539 $ac_includes_default 11540 #include <alsa/version.h> 11541 _ACEOF 11542 rm -f conftest.$ac_objext 11543 if { (ac_try="$ac_compile" 11544 case "(($ac_try" in 11545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11546 *) ac_try_echo=$ac_try;; 11547 esac 11548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11549 (eval "$ac_compile") 2>conftest.er1 11550 ac_status=$? 11551 grep -v '^ *+' conftest.er1 >conftest.err 11552 rm -f conftest.er1 11553 cat conftest.err >&5 11554 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11555 (exit $ac_status); } && { 11556 test -z "$ac_c_werror_flag" || 11557 test ! -s conftest.err 11558 } && test -s conftest.$ac_objext; then 11559 ac_header_compiler=yes 11560 else 11561 echo "$as_me: failed program was:" >&5 11562 sed 's/^/| /' conftest.$ac_ext >&5 11563 11564 ac_header_compiler=no 11565 fi 11566 11567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11568 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11569 echo "${ECHO_T}$ac_header_compiler" >&6; } 11570 11571 # Is the header present? 11572 { echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 11573 echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6; } 11574 cat >conftest.$ac_ext <<_ACEOF 11575 /* confdefs.h. */ 11576 _ACEOF 11577 cat confdefs.h >>conftest.$ac_ext 11578 cat >>conftest.$ac_ext <<_ACEOF 11579 /* end confdefs.h. */ 11580 #include <alsa/version.h> 11581 _ACEOF 11582 if { (ac_try="$ac_cpp conftest.$ac_ext" 11583 case "(($ac_try" in 11584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11585 *) ac_try_echo=$ac_try;; 11586 esac 11587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11588 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11589 ac_status=$? 11590 grep -v '^ *+' conftest.er1 >conftest.err 11591 rm -f conftest.er1 11592 cat conftest.err >&5 11593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11594 (exit $ac_status); } >/dev/null && { 11595 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11596 test ! -s conftest.err 11597 }; then 11598 ac_header_preproc=yes 11599 else 11600 echo "$as_me: failed program was:" >&5 11601 sed 's/^/| /' conftest.$ac_ext >&5 11602 11603 ac_header_preproc=no 11604 fi 11605 11606 rm -f conftest.err conftest.$ac_ext 11607 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11608 echo "${ECHO_T}$ac_header_preproc" >&6; } 11609 11610 # So? What about this header? 11611 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11612 yes:no: ) 11613 { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 11614 echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11615 { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 11616 echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 11617 ac_header_preproc=yes 11618 ;; 11619 no:yes:* ) 11620 { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 11621 echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 11622 { echo "$as_me:$LINENO: WARNING: alsa/version.h: check for missing prerequisite headers?" >&5 11623 echo "$as_me: WARNING: alsa/version.h: check for missing prerequisite headers?" >&2;} 11624 { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 11625 echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 11626 { echo "$as_me:$LINENO: WARNING: alsa/version.h: section \"Present But Cannot Be Compiled\"" >&5 11627 echo "$as_me: WARNING: alsa/version.h: section \"Present But Cannot Be Compiled\"" >&2;} 11628 { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 11629 echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 11630 { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 11631 echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 11632 11633 ;; 11634 esac 11635 { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 11636 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 11637 if test "${ac_cv_header_alsa_version_h+set}" = set; then 11638 echo $ECHO_N "(cached) $ECHO_C" >&6 11639 else 11640 ac_cv_header_alsa_version_h=$ac_header_preproc 11641 fi 11642 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 11643 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 11644 11645 fi 11646 if test $ac_cv_header_alsa_version_h = yes; then 5608 ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 5609 if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 11647 5610 ac_pa_use_alsa=1 11648 5611 … … 11655 5618 11656 5619 11657 { echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&511658 echo "${ECHO_T}Checking sound device backend... unix" >&6; }5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&5 5621 $as_echo "Checking sound device backend... unix" >&6; } 11659 5622 11660 5623 ac_pa_use_oss=1 11661 5624 11662 5625 # Check whether --enable-oss was given. 11663 if test "${enable_oss+set}" = set; then 5626 if test "${enable_oss+set}" = set; then : 11664 5627 enableval=$enable_oss; 11665 5628 if test "$enable_oss" = "no"; then 11666 5629 ac_pa_use_oss=0 11667 { echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&511668 echo "${ECHO_T}Checking if OSS audio is disabled... yes" >&6; }5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&5 5631 $as_echo "Checking if OSS audio is disabled... yes" >&6; } 11669 5632 fi 11670 5633 … … 11686 5649 SAVED_LIBS="$LIBS" 11687 5650 LIBS="-framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 11688 cat >conftest.$ac_ext <<_ACEOF 11689 /* confdefs.h. */ 11690 _ACEOF 11691 cat confdefs.h >>conftest.$ac_ext 11692 cat >>conftest.$ac_ext <<_ACEOF 5651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11693 5652 /* end confdefs.h. */ 11694 5653 … … 11701 5660 } 11702 5661 _ACEOF 11703 rm -f conftest.$ac_objext conftest$ac_exeext 11704 if { (ac_try="$ac_link" 11705 case "(($ac_try" in 11706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11707 *) ac_try_echo=$ac_try;; 11708 esac 11709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11710 (eval "$ac_link") 2>conftest.er1 11711 ac_status=$? 11712 grep -v '^ *+' conftest.er1 >conftest.err 11713 rm -f conftest.er1 11714 cat conftest.err >&5 11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11716 (exit $ac_status); } && { 11717 test -z "$ac_c_werror_flag" || 11718 test ! -s conftest.err 11719 } && test -s conftest$ac_exeext && 11720 $as_test_x conftest$ac_exeext; then 5662 if ac_fn_c_try_link "$LINENO"; then : 11721 5663 ac_pjmedia_video_has_ios=yes 11722 5664 else 11723 echo "$as_me: failed program was:" >&5 11724 sed 's/^/| /' conftest.$ac_ext >&5 11725 11726 ac_pjmedia_video_has_ios=no 11727 fi 11728 11729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11730 conftest$ac_exeext conftest.$ac_ext 5665 ac_pjmedia_video_has_ios=no 5666 fi 5667 rm -f core conftest.err conftest.$ac_objext \ 5668 conftest$ac_exeext conftest.$ac_ext 11731 5669 LIBS="$SAVED_LIBS" 11732 5670 if test "$ac_pjmedia_video_has_ios" = "yes"; then 11733 5671 ac_ios_cflags="-DPJMEDIA_VIDEO_DEV_HAS_IOS=1" 11734 5672 LIBS="$LIBS -framework AVFoundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework CoreVideo -framework CoreMedia" 11735 { echo "$as_me:$LINENO: result: Checking if AVFoundation framework is available... yes" >&511736 echo "${ECHO_T}Checking if AVFoundation framework is available... yes" >&6; }5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if AVFoundation framework is available... yes" >&5 5674 $as_echo "Checking if AVFoundation framework is available... yes" >&6; } 11737 5675 else 11738 { echo "$as_me:$LINENO: result: Checking if AVFoundation framework is available... no" >&511739 echo "${ECHO_T}Checking if AVFoundation framework is available... no" >&6; }5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if AVFoundation framework is available... no" >&5 5677 $as_echo "Checking if AVFoundation framework is available... no" >&6; } 11740 5678 fi 11741 5679 ;; … … 11746 5684 SAVED_LIBS="$LIBS" 11747 5685 LIBS="-framework QTKit" 11748 cat >conftest.$ac_ext <<_ACEOF 11749 /* confdefs.h. */ 11750 _ACEOF 11751 cat confdefs.h >>conftest.$ac_ext 11752 cat >>conftest.$ac_ext <<_ACEOF 5686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11753 5687 /* end confdefs.h. */ 11754 5688 … … 11761 5695 } 11762 5696 _ACEOF 11763 rm -f conftest.$ac_objext conftest$ac_exeext 11764 if { (ac_try="$ac_link" 11765 case "(($ac_try" in 11766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11767 *) ac_try_echo=$ac_try;; 11768 esac 11769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11770 (eval "$ac_link") 2>conftest.er1 11771 ac_status=$? 11772 grep -v '^ *+' conftest.er1 >conftest.err 11773 rm -f conftest.er1 11774 cat conftest.err >&5 11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11776 (exit $ac_status); } && { 11777 test -z "$ac_c_werror_flag" || 11778 test ! -s conftest.err 11779 } && test -s conftest$ac_exeext && 11780 $as_test_x conftest$ac_exeext; then 5697 if ac_fn_c_try_link "$LINENO"; then : 11781 5698 ac_pjmedia_video_has_qt=yes 11782 5699 else 11783 echo "$as_me: failed program was:" >&5 11784 sed 's/^/| /' conftest.$ac_ext >&5 11785 11786 ac_pjmedia_video_has_qt=no 11787 fi 11788 11789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11790 conftest$ac_exeext conftest.$ac_ext 5700 ac_pjmedia_video_has_qt=no 5701 fi 5702 rm -f core conftest.err conftest.$ac_objext \ 5703 conftest$ac_exeext conftest.$ac_ext 11791 5704 LIBS="$SAVED_LIBS" 11792 5705 if test "$ac_pjmedia_video_has_qt" = "yes"; then 11793 5706 ac_qt_cflags="-DPJMEDIA_VIDEO_DEV_HAS_QT=1" 11794 5707 LIBS="$LIBS -framework QTKit -framework Foundation -framework AppKit -framework QuartzCore -framework OpenGL" 11795 { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... yes" >&511796 echo "${ECHO_T}Checking if QTKit framework is available... yes" >&6; }5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... yes" >&5 5709 $as_echo "Checking if QTKit framework is available... yes" >&6; } 11797 5710 else 11798 { echo "$as_me:$LINENO: result: Checking if QTKit framework is available... no" >&511799 echo "${ECHO_T}Checking if QTKit framework is available... no" >&6; }5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if QTKit framework is available... no" >&5 5712 $as_echo "Checking if QTKit framework is available... no" >&6; } 11800 5713 fi 11801 5714 ;; … … 11804 5717 11805 5718 # Check whether --enable-ext_sound was given. 11806 if test "${enable_ext_sound+set}" = set; then 5719 if test "${enable_ext_sound+set}" = set; then : 11807 5720 enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 11808 5721 ac_pjmedia_snd=external 11809 { echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&511810 echo "${ECHO_T}Checking if external sound is set... yes" >&6; }5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&5 5723 $as_echo "Checking if external sound is set... yes" >&6; } 11811 5724 fi 11812 5725 … … 11816 5729 11817 5730 # Check whether --enable-small-filter was given. 11818 if test "${enable_small_filter+set}" = set; then 5731 if test "${enable_small_filter+set}" = set; then : 11819 5732 enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 11820 5733 ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 11821 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&511822 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6; }5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&5 5735 $as_echo "Checking if small filter is disabled... yes" >&6; } 11823 5736 fi 11824 5737 else 11825 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&511826 echo "${ECHO_T}Checking if small filter is disabled... no" >&6; }5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&5 5739 $as_echo "Checking if small filter is disabled... no" >&6; } 11827 5740 fi 11828 5741 … … 11830 5743 11831 5744 # Check whether --enable-large-filter was given. 11832 if test "${enable_large_filter+set}" = set; then 5745 if test "${enable_large_filter+set}" = set; then : 11833 5746 enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 11834 5747 ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 11835 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&511836 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6; }5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&5 5749 $as_echo "Checking if large filter is disabled... yes" >&6; } 11837 5750 fi 11838 5751 else 11839 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&511840 echo "${ECHO_T}Checking if large filter is disabled... no" >&6; }5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&5 5753 $as_echo "Checking if large filter is disabled... no" >&6; } 11841 5754 fi 11842 5755 … … 11844 5757 11845 5758 # Check whether --enable-speex-aec was given. 11846 if test "${enable_speex_aec+set}" = set; then 5759 if test "${enable_speex_aec+set}" = set; then : 11847 5760 enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 11848 5761 ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 11849 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&511850 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6; }5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&5 5763 $as_echo "Checking if Speex AEC is disabled...yes" >&6; } 11851 5764 fi 11852 5765 else 11853 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&511854 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6; }5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&5 5767 $as_echo "Checking if Speex AEC is disabled...no" >&6; } 11855 5768 fi 11856 5769 … … 11858 5771 11859 5772 # Check whether --enable-g711-codec was given. 11860 if test "${enable_g711_codec+set}" = set; then 5773 if test "${enable_g711_codec+set}" = set; then : 11861 5774 enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 11862 5775 ac_no_g711_codec=1 11863 cat >>confdefs.h <<\_ACEOF 11864 #define PJMEDIA_HAS_G711_CODEC 0 11865 _ACEOF 11866 11867 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 11868 echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6; } 5776 $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h 5777 5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 5779 $as_echo "Checking if G.711 codec is disabled...yes" >&6; } 11869 5780 fi 11870 5781 else 11871 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&511872 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6; }5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&5 5783 $as_echo "Checking if G.711 codec is disabled...no" >&6; } 11873 5784 fi 11874 5785 … … 11877 5788 11878 5789 # Check whether --enable-l16-codec was given. 11879 if test "${enable_l16_codec+set}" = set; then 5790 if test "${enable_l16_codec+set}" = set; then : 11880 5791 enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 11881 5792 ac_no_l16_codec=1 11882 cat >>confdefs.h <<\_ACEOF 11883 #define PJMEDIA_HAS_L16_CODEC 0 11884 _ACEOF 11885 11886 { echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 11887 echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6; } 5793 $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h 5794 5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 5796 $as_echo "Checking if L16 codecs are disabled...yes" >&6; } 11888 5797 fi 11889 5798 else 11890 { echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&511891 echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6; }5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&5 5800 $as_echo "Checking if L16 codec is disabled...no" >&6; } 11892 5801 fi 11893 5802 … … 11896 5805 11897 5806 # Check whether --enable-gsm-codec was given. 11898 if test "${enable_gsm_codec+set}" = set; then 5807 if test "${enable_gsm_codec+set}" = set; then : 11899 5808 enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 11900 5809 ac_no_gsm_codec=1 11901 cat >>confdefs.h <<\_ACEOF 11902 #define PJMEDIA_HAS_GSM_CODEC 0 11903 _ACEOF 11904 11905 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 11906 echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6; } 5810 $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h 5811 5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 5813 $as_echo "Checking if GSM codec is disabled...yes" >&6; } 11907 5814 fi 11908 5815 else 11909 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&511910 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6; }5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&5 5817 $as_echo "Checking if GSM codec is disabled...no" >&6; } 11911 5818 fi 11912 5819 … … 11914 5821 11915 5822 # Check whether --enable-g722-codec was given. 11916 if test "${enable_g722_codec+set}" = set; then 5823 if test "${enable_g722_codec+set}" = set; then : 11917 5824 enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 11918 5825 ac_no_g722_codec=1 11919 cat >>confdefs.h <<\_ACEOF 11920 #define PJMEDIA_HAS_G722_CODEC 0 11921 _ACEOF 11922 11923 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 11924 echo "${ECHO_T}Checking if G.722 codec is disabled...yes" >&6; } 5826 $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h 5827 5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 5829 $as_echo "Checking if G.722 codec is disabled...yes" >&6; } 11925 5830 fi 11926 5831 else 11927 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&511928 echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6; }5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&5 5833 $as_echo "Checking if G.722 codec is disabled...no" >&6; } 11929 5834 fi 11930 5835 … … 11932 5837 11933 5838 # Check whether --enable-g7221-codec was given. 11934 if test "${enable_g7221_codec+set}" = set; then 5839 if test "${enable_g7221_codec+set}" = set; then : 11935 5840 enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then 11936 5841 ac_no_g7221_codec=1 11937 cat >>confdefs.h <<\_ACEOF 11938 #define PJMEDIA_HAS_G7221_CODEC 0 11939 _ACEOF 11940 11941 { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...yes" >&5 11942 echo "${ECHO_T}Checking if G.722.1 codec is disabled...yes" >&6; } 5842 $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h 5843 5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 5845 $as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } 11943 5846 fi 11944 5847 else 11945 { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...no" >&511946 echo "${ECHO_T}Checking if G.722.1 codec is disabled...no" >&6; }5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&5 5849 $as_echo "Checking if G.722.1 codec is disabled...no" >&6; } 11947 5850 fi 11948 5851 … … 11950 5853 11951 5854 # Check whether --enable-speex-codec was given. 11952 if test "${enable_speex_codec+set}" = set; then 5855 if test "${enable_speex_codec+set}" = set; then : 11953 5856 enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 11954 5857 ac_no_speex_codec=1 11955 cat >>confdefs.h <<\_ACEOF 11956 #define PJMEDIA_HAS_SPEEX_CODEC 0 11957 _ACEOF 11958 11959 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 11960 echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6; } 5858 $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h 5859 5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 5861 $as_echo "Checking if Speex codec is disabled...yes" >&6; } 11961 5862 fi 11962 5863 else 11963 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&511964 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6; }5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&5 5865 $as_echo "Checking if Speex codec is disabled...no" >&6; } 11965 5866 fi 11966 5867 … … 11968 5869 11969 5870 # Check whether --enable-ilbc-codec was given. 11970 if test "${enable_ilbc_codec+set}" = set; then 5871 if test "${enable_ilbc_codec+set}" = set; then : 11971 5872 enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 11972 5873 ac_no_ilbc_codec=1 11973 cat >>confdefs.h <<\_ACEOF 11974 #define PJMEDIA_HAS_ILBC_CODEC 0 11975 _ACEOF 11976 11977 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 11978 echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6; } 5874 $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h 5875 5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 5877 $as_echo "Checking if iLBC codec is disabled...yes" >&6; } 11979 5878 fi 11980 5879 else 11981 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&511982 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6; }5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&5 5881 $as_echo "Checking if iLBC codec is disabled...no" >&6; } 11983 5882 fi 11984 5883 11985 5884 11986 5885 # Check whether --enable-libsamplerate was given. 11987 if test "${enable_libsamplerate+set}" = set; then 11988 enableval=$enable_libsamplerate; 11989 { echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 11990 echo $ECHO_N "checking for src_new in -lsamplerate... $ECHO_C" >&6; } 11991 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then 11992 echo $ECHO_N "(cached) $ECHO_C" >&6 5886 if test "${enable_libsamplerate+set}" = set; then : 5887 enableval=$enable_libsamplerate; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 5888 $as_echo_n "checking for src_new in -lsamplerate... " >&6; } 5889 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 5890 $as_echo_n "(cached) " >&6 11993 5891 else 11994 5892 ac_check_lib_save_LIBS=$LIBS 11995 5893 LIBS="-lsamplerate $LIBS" 11996 cat >conftest.$ac_ext <<_ACEOF 11997 /* confdefs.h. */ 11998 _ACEOF 11999 cat confdefs.h >>conftest.$ac_ext 12000 cat >>conftest.$ac_ext <<_ACEOF 5894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12001 5895 /* end confdefs.h. */ 12002 5896 … … 12016 5910 } 12017 5911 _ACEOF 12018 rm -f conftest.$ac_objext conftest$ac_exeext 12019 if { (ac_try="$ac_link" 12020 case "(($ac_try" in 12021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12022 *) ac_try_echo=$ac_try;; 12023 esac 12024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12025 (eval "$ac_link") 2>conftest.er1 12026 ac_status=$? 12027 grep -v '^ *+' conftest.er1 >conftest.err 12028 rm -f conftest.er1 12029 cat conftest.err >&5 12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12031 (exit $ac_status); } && { 12032 test -z "$ac_c_werror_flag" || 12033 test ! -s conftest.err 12034 } && test -s conftest$ac_exeext && 12035 $as_test_x conftest$ac_exeext; then 5912 if ac_fn_c_try_link "$LINENO"; then : 12036 5913 ac_cv_lib_samplerate_src_new=yes 12037 5914 else 12038 echo "$as_me: failed program was:" >&5 12039 sed 's/^/| /' conftest.$ac_ext >&5 12040 12041 ac_cv_lib_samplerate_src_new=no 12042 fi 12043 12044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12045 conftest$ac_exeext conftest.$ac_ext 5915 ac_cv_lib_samplerate_src_new=no 5916 fi 5917 rm -f core conftest.err conftest.$ac_objext \ 5918 conftest$ac_exeext conftest.$ac_ext 12046 5919 LIBS=$ac_check_lib_save_LIBS 12047 5920 fi 12048 { echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&512049 echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6; }12050 if test $ac_cv_lib_samplerate_src_new = yes; then5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 5922 $as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 5923 if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 12051 5924 cat >>confdefs.h <<_ACEOF 12052 5925 #define HAVE_LIBSAMPLERATE 1 … … 12058 5931 12059 5932 else 12060 { echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&512061 echo "${ECHO_T}Skipping libsamplerate detection" >&6; }5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&5 5934 $as_echo "Skipping libsamplerate detection" >&6; } 12062 5935 12063 5936 fi … … 12066 5939 12067 5940 # Check whether --with-sdl was given. 12068 if test "${with_sdl+set}" = set; then 5941 if test "${with_sdl+set}" = set; then : 12069 5942 withval=$with_sdl; 12070 5943 else … … 12075 5948 12076 5949 # Check whether --enable-sdl was given. 12077 if test "${enable_sdl+set}" = set; then 5950 if test "${enable_sdl+set}" = set; then : 12078 5951 enableval=$enable_sdl; 12079 5952 if test "$enable_sdl" = "no"; then 12080 { echo "$as_me:$LINENO: result: Checking if SDL is disabled... yes" >&512081 echo "${ECHO_T}Checking if SDL is disabled... yes" >&6; }5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SDL is disabled... yes" >&5 5954 $as_echo "Checking if SDL is disabled... yes" >&6; } 12082 5955 fi 12083 5956 … … 12087 5960 if test "x$with_sdl" != "xno" -a "x$with_sdl" != "x"; then 12088 5961 SDL_CONFIG=$with_sdl/bin/sdl-config 12089 { echo "$as_me:$LINENO: result: Using SDL prefix... $with_sdl" >&512090 echo "${ECHO_T}Using SDL prefix... $with_sdl" >&6; }5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using SDL prefix... $with_sdl" >&5 5963 $as_echo "Using SDL prefix... $with_sdl" >&6; } 12091 5964 fi 12092 5965 12093 { echo "$as_me:$LINENO: checking SDL availability.." >&512094 echo $ECHO_N "checking SDL availability..... $ECHO_C" >&6; }5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDL availability.." >&5 5967 $as_echo_n "checking SDL availability..... " >&6; } 12095 5968 if (sh -c "$SDL_CONFIG --version" | grep 1.3) then 12096 5969 … … 12101 5974 LIBS="$LIBS $ac_sdl_ldflags" 12102 5975 else 12103 { echo "$as_me:$LINENO: result: Unsupported SDL version" >&512104 echo "${ECHO_T}Unsupported SDL version" >&6; }5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Unsupported SDL version" >&5 5977 $as_echo "Unsupported SDL version" >&6; } 12105 5978 fi 12106 5979 … … 12110 5983 12111 5984 # Check whether --enable-ffmpeg was given. 12112 if test "${enable_ffmpeg+set}" = set; then 5985 if test "${enable_ffmpeg+set}" = set; then : 12113 5986 enableval=$enable_ffmpeg; 12114 5987 ac_has_ffmpeg=0 12115 5988 12116 5989 if test "$enable_ffmpeg" = "no"; then 12117 { echo "$as_me:$LINENO: result: Checking if ffmpeg is disabled... yes" >&512118 echo "${ECHO_T}Checking if ffmpeg is disabled... yes" >&6; }5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if ffmpeg is disabled... yes" >&5 5991 $as_echo "Checking if ffmpeg is disabled... yes" >&6; } 12119 5992 fi 12120 5993 … … 12122 5995 12123 5996 5997 5998 5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5 6000 $as_echo_n "checking for deflate in -lz... " >&6; } 6001 if test "${ac_cv_lib_z_deflate+set}" = set; then : 6002 $as_echo_n "(cached) " >&6 6003 else 6004 ac_check_lib_save_LIBS=$LIBS 6005 LIBS="-lz $LIBS" 6006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6007 /* end confdefs.h. */ 6008 6009 /* Override any GCC internal prototype to avoid an error. 6010 Use char because int might match the return type of a GCC 6011 builtin and then its argument prototype would still apply. */ 6012 #ifdef __cplusplus 6013 extern "C" 6014 #endif 6015 char deflate (); 6016 int 6017 main () 6018 { 6019 return deflate (); 6020 ; 6021 return 0; 6022 } 6023 _ACEOF 6024 if ac_fn_c_try_link "$LINENO"; then : 6025 ac_cv_lib_z_deflate=yes 6026 else 6027 ac_cv_lib_z_deflate=no 6028 fi 6029 rm -f core conftest.err conftest.$ac_objext \ 6030 conftest$ac_exeext conftest.$ac_ext 6031 LIBS=$ac_check_lib_save_LIBS 6032 fi 6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5 6034 $as_echo "$ac_cv_lib_z_deflate" >&6; } 6035 if test "x$ac_cv_lib_z_deflate" = x""yes; then : 6036 cat >>confdefs.h <<_ACEOF 6037 #define HAVE_LIBZ 1 6038 _ACEOF 6039 6040 LIBS="-lz $LIBS" 6041 6042 fi 12124 6043 12125 6044 … … 12127 6046 if test "x$with_ffmpeg" != "xno" -a "x$with_ffmpeg" != "x"; then 12128 6047 FFMPEG_PREFIX=$with_ffmpeg 12129 { echo "$as_me:$LINENO: result: Using ffmpeg prefix... $FFMPEG_PREFIX" >&512130 echo "${ECHO_T}Using ffmpeg prefix... $FFMPEG_PREFIX" >&6; }6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using ffmpeg prefix... $FFMPEG_PREFIX" >&5 6049 $as_echo "Using ffmpeg prefix... $FFMPEG_PREFIX" >&6; } 12131 6050 LIBS="-L$FFMPEG_PREFIX/lib $LIBS" 12132 6051 LDFLAGS="-L$FFMPEG_PREFIX/lib $LDFLAGS" … … 12134 6053 fi 12135 6054 12136 { echo "$as_me:$LINENO: checking for avdevice_version in -lavdevice" >&512137 echo $ECHO_N "checking for avdevice_version in -lavdevice... $ECHO_C" >&6; }12138 if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then 12139 echo $ECHO_N "(cached) $ECHO_C" >&66055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avdevice_version in -lavdevice" >&5 6056 $as_echo_n "checking for avdevice_version in -lavdevice... " >&6; } 6057 if test "${ac_cv_lib_avdevice_avdevice_version+set}" = set; then : 6058 $as_echo_n "(cached) " >&6 12140 6059 else 12141 6060 ac_check_lib_save_LIBS=$LIBS 12142 6061 LIBS="-lavdevice $LIBS" 12143 cat >conftest.$ac_ext <<_ACEOF 12144 /* confdefs.h. */ 12145 _ACEOF 12146 cat confdefs.h >>conftest.$ac_ext 12147 cat >>conftest.$ac_ext <<_ACEOF 6062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12148 6063 /* end confdefs.h. */ 12149 6064 … … 12163 6078 } 12164 6079 _ACEOF 12165 rm -f conftest.$ac_objext conftest$ac_exeext 12166 if { (ac_try="$ac_link" 12167 case "(($ac_try" in 12168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12169 *) ac_try_echo=$ac_try;; 12170 esac 12171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12172 (eval "$ac_link") 2>conftest.er1 12173 ac_status=$? 12174 grep -v '^ *+' conftest.er1 >conftest.err 12175 rm -f conftest.er1 12176 cat conftest.err >&5 12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12178 (exit $ac_status); } && { 12179 test -z "$ac_c_werror_flag" || 12180 test ! -s conftest.err 12181 } && test -s conftest$ac_exeext && 12182 $as_test_x conftest$ac_exeext; then 6080 if ac_fn_c_try_link "$LINENO"; then : 12183 6081 ac_cv_lib_avdevice_avdevice_version=yes 12184 6082 else 12185 echo "$as_me: failed program was:" >&5 12186 sed 's/^/| /' conftest.$ac_ext >&5 12187 12188 ac_cv_lib_avdevice_avdevice_version=no 12189 fi 12190 12191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12192 conftest$ac_exeext conftest.$ac_ext 6083 ac_cv_lib_avdevice_avdevice_version=no 6084 fi 6085 rm -f core conftest.err conftest.$ac_objext \ 6086 conftest$ac_exeext conftest.$ac_ext 12193 6087 LIBS=$ac_check_lib_save_LIBS 12194 6088 fi 12195 { echo "$as_me:$LINENO: result: $ac_cv_lib_avdevice_avdevice_version" >&512196 echo "${ECHO_T}$ac_cv_lib_avdevice_avdevice_version" >&6; }12197 if test $ac_cv_lib_avdevice_avdevice_version = yes; then6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avdevice_avdevice_version" >&5 6090 $as_echo "$ac_cv_lib_avdevice_avdevice_version" >&6; } 6091 if test "x$ac_cv_lib_avdevice_avdevice_version" = x""yes; then : 12198 6092 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVDEVICE=1" 12199 6093 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavdevice" … … 12202 6096 fi 12203 6097 12204 { echo "$as_me:$LINENO: checking for av_register_all in -lavformat" >&512205 echo $ECHO_N "checking for av_register_all in -lavformat... $ECHO_C" >&6; }12206 if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then 12207 echo $ECHO_N "(cached) $ECHO_C" >&66098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_register_all in -lavformat" >&5 6099 $as_echo_n "checking for av_register_all in -lavformat... " >&6; } 6100 if test "${ac_cv_lib_avformat_av_register_all+set}" = set; then : 6101 $as_echo_n "(cached) " >&6 12208 6102 else 12209 6103 ac_check_lib_save_LIBS=$LIBS 12210 6104 LIBS="-lavformat -lavcodec -lavutil 12211 6105 $LIBS" 12212 cat >conftest.$ac_ext <<_ACEOF 12213 /* confdefs.h. */ 12214 _ACEOF 12215 cat confdefs.h >>conftest.$ac_ext 12216 cat >>conftest.$ac_ext <<_ACEOF 6106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12217 6107 /* end confdefs.h. */ 12218 6108 … … 12232 6122 } 12233 6123 _ACEOF 12234 rm -f conftest.$ac_objext conftest$ac_exeext 12235 if { (ac_try="$ac_link" 12236 case "(($ac_try" in 12237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12238 *) ac_try_echo=$ac_try;; 12239 esac 12240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12241 (eval "$ac_link") 2>conftest.er1 12242 ac_status=$? 12243 grep -v '^ *+' conftest.er1 >conftest.err 12244 rm -f conftest.er1 12245 cat conftest.err >&5 12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12247 (exit $ac_status); } && { 12248 test -z "$ac_c_werror_flag" || 12249 test ! -s conftest.err 12250 } && test -s conftest$ac_exeext && 12251 $as_test_x conftest$ac_exeext; then 6124 if ac_fn_c_try_link "$LINENO"; then : 12252 6125 ac_cv_lib_avformat_av_register_all=yes 12253 6126 else 12254 echo "$as_me: failed program was:" >&5 12255 sed 's/^/| /' conftest.$ac_ext >&5 12256 12257 ac_cv_lib_avformat_av_register_all=no 12258 fi 12259 12260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12261 conftest$ac_exeext conftest.$ac_ext 6127 ac_cv_lib_avformat_av_register_all=no 6128 fi 6129 rm -f core conftest.err conftest.$ac_objext \ 6130 conftest$ac_exeext conftest.$ac_ext 12262 6131 LIBS=$ac_check_lib_save_LIBS 12263 6132 fi 12264 { echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_register_all" >&512265 echo "${ECHO_T}$ac_cv_lib_avformat_av_register_all" >&6; }12266 if test $ac_cv_lib_avformat_av_register_all = yes; then6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_register_all" >&5 6134 $as_echo "$ac_cv_lib_avformat_av_register_all" >&6; } 6135 if test "x$ac_cv_lib_avformat_av_register_all" = x""yes; then : 12267 6136 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVFORMAT=1" 12268 6137 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavformat" … … 12270 6139 fi 12271 6140 12272 { echo "$as_me:$LINENO: checking for avcodec_init in -lavcodec" >&512273 echo $ECHO_N "checking for avcodec_init in -lavcodec... $ECHO_C" >&6; }12274 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then 12275 echo $ECHO_N "(cached) $ECHO_C" >&66141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_init in -lavcodec" >&5 6142 $as_echo_n "checking for avcodec_init in -lavcodec... " >&6; } 6143 if test "${ac_cv_lib_avcodec_avcodec_init+set}" = set; then : 6144 $as_echo_n "(cached) " >&6 12276 6145 else 12277 6146 ac_check_lib_save_LIBS=$LIBS 12278 6147 LIBS="-lavcodec -lavutil 12279 6148 $LIBS" 12280 cat >conftest.$ac_ext <<_ACEOF 12281 /* confdefs.h. */ 12282 _ACEOF 12283 cat confdefs.h >>conftest.$ac_ext 12284 cat >>conftest.$ac_ext <<_ACEOF 6149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12285 6150 /* end confdefs.h. */ 12286 6151 … … 12300 6165 } 12301 6166 _ACEOF 12302 rm -f conftest.$ac_objext conftest$ac_exeext 12303 if { (ac_try="$ac_link" 12304 case "(($ac_try" in 12305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12306 *) ac_try_echo=$ac_try;; 12307 esac 12308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12309 (eval "$ac_link") 2>conftest.er1 12310 ac_status=$? 12311 grep -v '^ *+' conftest.er1 >conftest.err 12312 rm -f conftest.er1 12313 cat conftest.err >&5 12314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12315 (exit $ac_status); } && { 12316 test -z "$ac_c_werror_flag" || 12317 test ! -s conftest.err 12318 } && test -s conftest$ac_exeext && 12319 $as_test_x conftest$ac_exeext; then 6167 if ac_fn_c_try_link "$LINENO"; then : 12320 6168 ac_cv_lib_avcodec_avcodec_init=yes 12321 6169 else 12322 echo "$as_me: failed program was:" >&5 12323 sed 's/^/| /' conftest.$ac_ext >&5 12324 12325 ac_cv_lib_avcodec_avcodec_init=no 12326 fi 12327 12328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12329 conftest$ac_exeext conftest.$ac_ext 6170 ac_cv_lib_avcodec_avcodec_init=no 6171 fi 6172 rm -f core conftest.err conftest.$ac_objext \ 6173 conftest$ac_exeext conftest.$ac_ext 12330 6174 LIBS=$ac_check_lib_save_LIBS 12331 6175 fi 12332 { echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_init" >&512333 echo "${ECHO_T}$ac_cv_lib_avcodec_avcodec_init" >&6; }12334 if test $ac_cv_lib_avcodec_avcodec_init = yes; then6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_init" >&5 6177 $as_echo "$ac_cv_lib_avcodec_avcodec_init" >&6; } 6178 if test "x$ac_cv_lib_avcodec_avcodec_init" = x""yes; then : 12335 6179 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCODEC=1" 12336 6180 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcodec" … … 12338 6182 fi 12339 6183 12340 { echo "$as_me:$LINENO: checking for sws_scale in -lswscale" >&512341 echo $ECHO_N "checking for sws_scale in -lswscale... $ECHO_C" >&6; }12342 if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then 12343 echo $ECHO_N "(cached) $ECHO_C" >&66184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sws_scale in -lswscale" >&5 6185 $as_echo_n "checking for sws_scale in -lswscale... " >&6; } 6186 if test "${ac_cv_lib_swscale_sws_scale+set}" = set; then : 6187 $as_echo_n "(cached) " >&6 12344 6188 else 12345 6189 ac_check_lib_save_LIBS=$LIBS 12346 6190 LIBS="-lswscale -lavutil 12347 6191 $LIBS" 12348 cat >conftest.$ac_ext <<_ACEOF 12349 /* confdefs.h. */ 12350 _ACEOF 12351 cat confdefs.h >>conftest.$ac_ext 12352 cat >>conftest.$ac_ext <<_ACEOF 6192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12353 6193 /* end confdefs.h. */ 12354 6194 … … 12368 6208 } 12369 6209 _ACEOF 12370 rm -f conftest.$ac_objext conftest$ac_exeext 12371 if { (ac_try="$ac_link" 12372 case "(($ac_try" in 12373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12374 *) ac_try_echo=$ac_try;; 12375 esac 12376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12377 (eval "$ac_link") 2>conftest.er1 12378 ac_status=$? 12379 grep -v '^ *+' conftest.er1 >conftest.err 12380 rm -f conftest.er1 12381 cat conftest.err >&5 12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12383 (exit $ac_status); } && { 12384 test -z "$ac_c_werror_flag" || 12385 test ! -s conftest.err 12386 } && test -s conftest$ac_exeext && 12387 $as_test_x conftest$ac_exeext; then 6210 if ac_fn_c_try_link "$LINENO"; then : 12388 6211 ac_cv_lib_swscale_sws_scale=yes 12389 6212 else 12390 echo "$as_me: failed program was:" >&5 12391 sed 's/^/| /' conftest.$ac_ext >&5 12392 12393 ac_cv_lib_swscale_sws_scale=no 12394 fi 12395 12396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12397 conftest$ac_exeext conftest.$ac_ext 6213 ac_cv_lib_swscale_sws_scale=no 6214 fi 6215 rm -f core conftest.err conftest.$ac_objext \ 6216 conftest$ac_exeext conftest.$ac_ext 12398 6217 LIBS=$ac_check_lib_save_LIBS 12399 6218 fi 12400 { echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_sws_scale" >&512401 echo "${ECHO_T}$ac_cv_lib_swscale_sws_scale" >&6; }12402 if test $ac_cv_lib_swscale_sws_scale = yes; then6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_sws_scale" >&5 6220 $as_echo "$ac_cv_lib_swscale_sws_scale" >&6; } 6221 if test "x$ac_cv_lib_swscale_sws_scale" = x""yes; then : 12403 6222 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBSWSCALE=1" 12404 6223 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lswscale" … … 12406 6225 fi 12407 6226 12408 { echo "$as_me:$LINENO: checking for av_malloc in -lavutil" >&512409 echo $ECHO_N "checking for av_malloc in -lavutil... $ECHO_C" >&6; }12410 if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then 12411 echo $ECHO_N "(cached) $ECHO_C" >&66227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_malloc in -lavutil" >&5 6228 $as_echo_n "checking for av_malloc in -lavutil... " >&6; } 6229 if test "${ac_cv_lib_avutil_av_malloc+set}" = set; then : 6230 $as_echo_n "(cached) " >&6 12412 6231 else 12413 6232 ac_check_lib_save_LIBS=$LIBS 12414 6233 LIBS="-lavutil $LIBS" 12415 cat >conftest.$ac_ext <<_ACEOF 12416 /* confdefs.h. */ 12417 _ACEOF 12418 cat confdefs.h >>conftest.$ac_ext 12419 cat >>conftest.$ac_ext <<_ACEOF 6234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12420 6235 /* end confdefs.h. */ 12421 6236 … … 12435 6250 } 12436 6251 _ACEOF 12437 rm -f conftest.$ac_objext conftest$ac_exeext 12438 if { (ac_try="$ac_link" 12439 case "(($ac_try" in 12440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12441 *) ac_try_echo=$ac_try;; 12442 esac 12443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12444 (eval "$ac_link") 2>conftest.er1 12445 ac_status=$? 12446 grep -v '^ *+' conftest.er1 >conftest.err 12447 rm -f conftest.er1 12448 cat conftest.err >&5 12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12450 (exit $ac_status); } && { 12451 test -z "$ac_c_werror_flag" || 12452 test ! -s conftest.err 12453 } && test -s conftest$ac_exeext && 12454 $as_test_x conftest$ac_exeext; then 6252 if ac_fn_c_try_link "$LINENO"; then : 12455 6253 ac_cv_lib_avutil_av_malloc=yes 12456 6254 else 12457 echo "$as_me: failed program was:" >&5 12458 sed 's/^/| /' conftest.$ac_ext >&5 12459 12460 ac_cv_lib_avutil_av_malloc=no 12461 fi 12462 12463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12464 conftest$ac_exeext conftest.$ac_ext 6255 ac_cv_lib_avutil_av_malloc=no 6256 fi 6257 rm -f core conftest.err conftest.$ac_objext \ 6258 conftest$ac_exeext conftest.$ac_ext 12465 6259 LIBS=$ac_check_lib_save_LIBS 12466 6260 fi 12467 { echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_av_malloc" >&512468 echo "${ECHO_T}$ac_cv_lib_avutil_av_malloc" >&6; }12469 if test $ac_cv_lib_avutil_av_malloc = yes; then6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_malloc" >&5 6262 $as_echo "$ac_cv_lib_avutil_av_malloc" >&6; } 6263 if test "x$ac_cv_lib_avutil_av_malloc" = x""yes; then : 12470 6264 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVUTIL=1" 12471 6265 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavutil" … … 12474 6268 fi 12475 6269 12476 { echo "$as_me:$LINENO: checking for avcore_version in -lavcore" >&512477 echo $ECHO_N "checking for avcore_version in -lavcore... $ECHO_C" >&6; }12478 if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then 12479 echo $ECHO_N "(cached) $ECHO_C" >&66270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcore_version in -lavcore" >&5 6271 $as_echo_n "checking for avcore_version in -lavcore... " >&6; } 6272 if test "${ac_cv_lib_avcore_avcore_version+set}" = set; then : 6273 $as_echo_n "(cached) " >&6 12480 6274 else 12481 6275 ac_check_lib_save_LIBS=$LIBS 12482 6276 LIBS="-lavcore $LIBS" 12483 cat >conftest.$ac_ext <<_ACEOF 12484 /* confdefs.h. */ 12485 _ACEOF 12486 cat confdefs.h >>conftest.$ac_ext 12487 cat >>conftest.$ac_ext <<_ACEOF 6277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12488 6278 /* end confdefs.h. */ 12489 6279 … … 12503 6293 } 12504 6294 _ACEOF 12505 rm -f conftest.$ac_objext conftest$ac_exeext 12506 if { (ac_try="$ac_link" 12507 case "(($ac_try" in 12508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12509 *) ac_try_echo=$ac_try;; 12510 esac 12511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12512 (eval "$ac_link") 2>conftest.er1 12513 ac_status=$? 12514 grep -v '^ *+' conftest.er1 >conftest.err 12515 rm -f conftest.er1 12516 cat conftest.err >&5 12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12518 (exit $ac_status); } && { 12519 test -z "$ac_c_werror_flag" || 12520 test ! -s conftest.err 12521 } && test -s conftest$ac_exeext && 12522 $as_test_x conftest$ac_exeext; then 6295 if ac_fn_c_try_link "$LINENO"; then : 12523 6296 ac_cv_lib_avcore_avcore_version=yes 12524 6297 else 12525 echo "$as_me: failed program was:" >&5 12526 sed 's/^/| /' conftest.$ac_ext >&5 12527 12528 ac_cv_lib_avcore_avcore_version=no 12529 fi 12530 12531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12532 conftest$ac_exeext conftest.$ac_ext 6298 ac_cv_lib_avcore_avcore_version=no 6299 fi 6300 rm -f core conftest.err conftest.$ac_objext \ 6301 conftest$ac_exeext conftest.$ac_ext 12533 6302 LIBS=$ac_check_lib_save_LIBS 12534 6303 fi 12535 { echo "$as_me:$LINENO: result: $ac_cv_lib_avcore_avcore_version" >&512536 echo "${ECHO_T}$ac_cv_lib_avcore_avcore_version" >&6; }12537 if test $ac_cv_lib_avcore_avcore_version = yes; then6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcore_avcore_version" >&5 6305 $as_echo "$ac_cv_lib_avcore_avcore_version" >&6; } 6306 if test "x$ac_cv_lib_avcore_avcore_version" = x""yes; then : 12538 6307 ac_ffmpeg_cflags="$ac_ffmpeg_cflags -DPJMEDIA_HAS_LIBAVCORE=1" 12539 6308 ac_ffmpeg_ldflags="$ac_ffmpeg_ldflags -lavcore" … … 12550 6319 12551 6320 # Check whether --with-ffmpeg was given. 12552 if test "${with_ffmpeg+set}" = set; then 6321 if test "${with_ffmpeg+set}" = set; then : 12553 6322 withval=$with_ffmpeg; 12554 6323 else … … 12560 6329 12561 6330 # Check whether --enable-v4l2 was given. 12562 if test "${enable_v4l2+set}" = set; then 6331 if test "${enable_v4l2+set}" = set; then : 12563 6332 enableval=$enable_v4l2; 12564 6333 if test "$enable_v4l2" = "no"; then 12565 { echo "$as_me:$LINENO: result: Checking if V4L2 is disabled... yes" >&512566 echo "${ECHO_T}Checking if V4L2 is disabled... yes" >&6; }6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if V4L2 is disabled... yes" >&5 6335 $as_echo "Checking if V4L2 is disabled... yes" >&6; } 12567 6336 fi 12568 6337 … … 12571 6340 12572 6341 12573 { echo "$as_me:$LINENO: checking for v4l2_open in -lv4l2" >&512574 echo $ECHO_N "checking for v4l2_open in -lv4l2... $ECHO_C" >&6; }12575 if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then 12576 echo $ECHO_N "(cached) $ECHO_C" >&66342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for v4l2_open in -lv4l2" >&5 6343 $as_echo_n "checking for v4l2_open in -lv4l2... " >&6; } 6344 if test "${ac_cv_lib_v4l2_v4l2_open+set}" = set; then : 6345 $as_echo_n "(cached) " >&6 12577 6346 else 12578 6347 ac_check_lib_save_LIBS=$LIBS 12579 6348 LIBS="-lv4l2 $LIBS" 12580 cat >conftest.$ac_ext <<_ACEOF 12581 /* confdefs.h. */ 12582 _ACEOF 12583 cat confdefs.h >>conftest.$ac_ext 12584 cat >>conftest.$ac_ext <<_ACEOF 6349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12585 6350 /* end confdefs.h. */ 12586 6351 … … 12600 6365 } 12601 6366 _ACEOF 12602 rm -f conftest.$ac_objext conftest$ac_exeext 12603 if { (ac_try="$ac_link" 12604 case "(($ac_try" in 12605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12606 *) ac_try_echo=$ac_try;; 12607 esac 12608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12609 (eval "$ac_link") 2>conftest.er1 12610 ac_status=$? 12611 grep -v '^ *+' conftest.er1 >conftest.err 12612 rm -f conftest.er1 12613 cat conftest.err >&5 12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12615 (exit $ac_status); } && { 12616 test -z "$ac_c_werror_flag" || 12617 test ! -s conftest.err 12618 } && test -s conftest$ac_exeext && 12619 $as_test_x conftest$ac_exeext; then 6367 if ac_fn_c_try_link "$LINENO"; then : 12620 6368 ac_cv_lib_v4l2_v4l2_open=yes 12621 6369 else 12622 echo "$as_me: failed program was:" >&5 12623 sed 's/^/| /' conftest.$ac_ext >&5 12624 12625 ac_cv_lib_v4l2_v4l2_open=no 12626 fi 12627 12628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12629 conftest$ac_exeext conftest.$ac_ext 6370 ac_cv_lib_v4l2_v4l2_open=no 6371 fi 6372 rm -f core conftest.err conftest.$ac_objext \ 6373 conftest$ac_exeext conftest.$ac_ext 12630 6374 LIBS=$ac_check_lib_save_LIBS 12631 6375 fi 12632 { echo "$as_me:$LINENO: result: $ac_cv_lib_v4l2_v4l2_open" >&512633 echo "${ECHO_T}$ac_cv_lib_v4l2_v4l2_open" >&6; }12634 if test $ac_cv_lib_v4l2_v4l2_open = yes; then6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_v4l2_v4l2_open" >&5 6377 $as_echo "$ac_cv_lib_v4l2_v4l2_open" >&6; } 6378 if test "x$ac_cv_lib_v4l2_v4l2_open" = x""yes; then : 12635 6379 ac_v4l2_cflags="-DPJMEDIA_VIDEO_DEV_HAS_V4L2=1" 12636 6380 ac_v4l2_ldflags="-lv4l2" … … 12645 6389 12646 6390 # Check whether --enable-ipp was given. 12647 if test "${enable_ipp+set}" = set; then 6391 if test "${enable_ipp+set}" = set; then : 12648 6392 enableval=$enable_ipp; 12649 6393 else … … 12655 6399 12656 6400 # Check whether --with-ipp was given. 12657 if test "${with_ipp+set}" = set; then 6401 if test "${with_ipp+set}" = set; then : 12658 6402 withval=$with_ipp; 12659 6403 else … … 12665 6409 12666 6410 # Check whether --with-ipp-samples was given. 12667 if test "${with_ipp_samples+set}" = set; then 6411 if test "${with_ipp_samples+set}" = set; then : 12668 6412 withval=$with_ipp_samples; 12669 6413 else … … 12675 6419 12676 6420 # Check whether --with-ipp-arch was given. 12677 if test "${with_ipp_arch+set}" = set; then 6421 if test "${with_ipp_arch+set}" = set; then : 12678 6422 withval=$with_ipp_arch; 12679 6423 else … … 12684 6428 12685 6429 if test "x$enable_ipp" != "xno"; then 12686 { echo "$as_me:$LINENO: checking Intel IPP location" >&512687 echo $ECHO_N "checking Intel IPP location... $ECHO_C" >&6; }6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&5 6431 $as_echo_n "checking Intel IPP location... " >&6; } 12688 6432 12689 6433 if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 12690 { echo "$as_me:$LINENO: result: $with_ipp" >&512691 echo "${ECHO_T}$with_ipp" >&6; }6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&5 6435 $as_echo "$with_ipp" >&6; } 12692 6436 IPPROOT=$with_ipp 12693 6437 elif test "x$IPPROOT" = "x"; then 12694 6438 if test -d /opt/intel/ipp; then 12695 6439 IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 12696 { echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&512697 echo "${ECHO_T}autodetected in $IPPROOT" >&6; }6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&5 6441 $as_echo "autodetected in $IPPROOT" >&6; } 12698 6442 fi 12699 6443 else 12700 { echo "$as_me:$LINENO: result: $IPPROOT" >&512701 echo "${ECHO_T}$IPPROOT" >&6; }6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&5 6445 $as_echo "$IPPROOT" >&6; } 12702 6446 fi 12703 6447 12704 6448 if test "x$with_ipp_arch" != "xno"; then 12705 6449 IPP_SUFFIX=$with_ipp_arch 12706 { echo "$as_me:$LINENO: result: IPP arch suffix is set to $IPP_SUFFIX" >&512707 echo "${ECHO_T}IPP arch suffix is set to $IPP_SUFFIX" >&6; }6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 6451 $as_echo "IPP arch suffix is set to $IPP_SUFFIX" >&6; } 12708 6452 else 12709 6453 IPP_SUFFIX="" 12710 { echo "$as_me:$LINENO: result: IPP arch suffix is set to empty" >&512711 echo "${ECHO_T}IPP arch suffix is set to empty" >&6; }6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to empty" >&5 6455 $as_echo "IPP arch suffix is set to empty" >&6; } 12712 6456 fi 12713 6457 12714 6458 if test x$IPPROOT = x; then 12715 { { 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 12716 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;} 12717 { (exit 1); exit 1; }; } 6459 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 12718 6460 elif test ! -d $IPPROOT; then 12719 { { echo "$as_me:$LINENO: error: not found" >&5 12720 echo "$as_me: error: not found" >&2;} 12721 { (exit 1); exit 1; }; } 6461 as_fn_error "not found" "$LINENO" 5 12722 6462 elif test ! -d $IPPROOT/include; then 12723 { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 12724 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 12725 { (exit 1); exit 1; }; } 6463 as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 12726 6464 else 12727 6465 # IPP directory looks okay. … … 12760 6498 # IPP7 12761 6499 if ! test -d $IPPROOT/../compiler; then 12762 { { echo "$as_me:$LINENO: error: Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" >&5 12763 echo "$as_me: error: Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" >&2;} 12764 { (exit 1); exit 1; }; } 6500 as_fn_error "Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" "$LINENO" 5 12765 6501 fi 12766 6502 IPP_CFLAGS="$IPP_CFLAGS" … … 12780 6516 12781 6517 12782 { echo "$as_me:$LINENO: checking Intel IPP usability" >&5 12783 echo $ECHO_N "checking Intel IPP usability... $ECHO_C" >&6; } 12784 cat >conftest.$ac_ext <<_ACEOF 12785 /* confdefs.h. */ 12786 _ACEOF 12787 cat confdefs.h >>conftest.$ac_ext 12788 cat >>conftest.$ac_ext <<_ACEOF 6518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 6519 $as_echo_n "checking Intel IPP usability... " >&6; } 6520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12789 6521 /* end confdefs.h. */ 12790 6522 #include <ippcore.h> … … 12798 6530 } 12799 6531 _ACEOF 12800 rm -f conftest.$ac_objext conftest$ac_exeext 12801 if { (ac_try="$ac_link" 12802 case "(($ac_try" in 12803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12804 *) ac_try_echo=$ac_try;; 12805 esac 12806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12807 (eval "$ac_link") 2>conftest.er1 12808 ac_status=$? 12809 grep -v '^ *+' conftest.er1 >conftest.err 12810 rm -f conftest.er1 12811 cat conftest.err >&5 12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12813 (exit $ac_status); } && { 12814 test -z "$ac_c_werror_flag" || 12815 test ! -s conftest.err 12816 } && test -s conftest$ac_exeext && 12817 $as_test_x conftest$ac_exeext; then 12818 { echo "$as_me:$LINENO: result: ok" >&5 12819 echo "${ECHO_T}ok" >&6; } 12820 else 12821 echo "$as_me: failed program was:" >&5 12822 sed 's/^/| /' conftest.$ac_ext >&5 12823 12824 { { echo "$as_me:$LINENO: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 12825 See \`config.log' for more details." >&5 12826 echo "$as_me: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 12827 See \`config.log' for more details." >&2;} 12828 { (exit run with --help for more info); exit run with --help for more info; }; } 12829 fi 12830 12831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12832 conftest$ac_exeext conftest.$ac_ext 6532 if ac_fn_c_try_link "$LINENO"; then : 6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6534 $as_echo "ok" >&6; } 6535 else 6536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6538 { as_fn_set_status run with --help for more info 6539 as_fn_error "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 6540 See \`config.log' for more details." "$LINENO" 5; }; } 6541 fi 6542 rm -f core conftest.err conftest.$ac_objext \ 6543 conftest$ac_exeext conftest.$ac_ext 12833 6544 12834 6545 CFLAGS="$SAVED_CFLAGS" … … 12837 6548 fi 12838 6549 12839 { echo "$as_me:$LINENO: checking Intel IPP samples location" >&512840 echo $ECHO_N "checking Intel IPP samples location... $ECHO_C" >&6; }6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&5 6551 $as_echo_n "checking Intel IPP samples location... " >&6; } 12841 6552 12842 6553 if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 12843 { echo "$as_me:$LINENO: result: $with_ipp_samples" >&512844 echo "${ECHO_T}$with_ipp_samples" >&6; }6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&5 6555 $as_echo "$with_ipp_samples" >&6; } 12845 6556 IPPSAMPLES=$with_ipp_samples 12846 6557 elif test "x$IPPSAMPLES" = "x"; then 12847 6558 if test -d /opt/intel/ipp-samples; then 12848 6559 IPPSAMPLES=/opt/intel/ipp-samples 12849 { echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&512850 echo "${ECHO_T}autodetected in $IPPSAMPLES" >&6; }6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&5 6561 $as_echo "autodetected in $IPPSAMPLES" >&6; } 12851 6562 fi 12852 6563 else 12853 { echo "$as_me:$LINENO: result: $IPPSAMPLES" >&512854 echo "${ECHO_T}$IPPSAMPLES" >&6; }6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&5 6565 $as_echo "$IPPSAMPLES" >&6; } 12855 6566 fi 12856 6567 12857 6568 if test x$IPPSAMPLES = x; then 12858 { { 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 12859 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;} 12860 { (exit 1); exit 1; }; } 6569 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 12861 6570 elif test ! -d $IPPSAMPLES; then 12862 { { echo "$as_me:$LINENO: error: not found" >&5 12863 echo "$as_me: error: not found" >&2;} 12864 { (exit 1); exit 1; }; } 6571 as_fn_error "not found" "$LINENO" 5 12865 6572 elif test ! -d $IPPSAMPLES/speech-codecs; then 12866 { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 12867 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 12868 { (exit 1); exit 1; }; } 6573 as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 12869 6574 else 12870 6575 # Remove trailing backslash … … 12872 6577 12873 6578 # Guess the libusc.a/libspeech.a build location 12874 { echo "$as_me:$LINENO: checking Intel IPP USC build location" >&512875 echo $ECHO_N "checking Intel IPP USC build location... $ECHO_C" >&6; }6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&5 6580 $as_echo_n "checking Intel IPP USC build location... " >&6; } 12876 6581 if test -d $IPPSAMPLES/speech-codecs/bin; then 12877 6582 IPPVER=5 … … 12886 6591 IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*icc*/lib | head -1` 12887 6592 else 12888 { { echo "$as_me:$LINENO: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 12889 See \`config.log' for more details." >&5 12890 echo "$as_me: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 12891 See \`config.log' for more details." >&2;} 12892 { (exit 1); exit 1; }; } 6593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6595 as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 6596 See \`config.log' for more details." "$LINENO" 5; } 12893 6597 fi 12894 6598 else 12895 { { 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? 12896 See \`config.log' for more details." >&5 12897 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? 12898 See \`config.log' for more details." >&2;} 12899 { (exit 1); exit 1; }; } 6599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6601 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? 6602 See \`config.log' for more details." "$LINENO" 5; } 12900 6603 fi 12901 6604 12902 6605 # Test the directory 12903 6606 if test ! -d $IPPSAMP_DIR; then 12904 { { echo "$as_me:$LINENO: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 12905 See \`config.log' for more details." >&5 12906 echo "$as_me: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 12907 See \`config.log' for more details." >&2;} 12908 { (exit 1); exit 1; }; } 6607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6609 as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 6610 See \`config.log' for more details." "$LINENO" 5; } 12909 6611 exit 1; 12910 6612 fi … … 12917 6619 IPPSAMP_LDLIBS="-lspeech" 12918 6620 else 12919 { { echo "$as_me:$LINENO: error: bug in this script: unsupported IPP version 12920 See \`config.log' for more details." >&5 12921 echo "$as_me: error: bug in this script: unsupported IPP version 12922 See \`config.log' for more details." >&2;} 12923 { (exit 1); exit 1; }; } 6621 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6623 as_fn_error "bug in this script: unsupported IPP version 6624 See \`config.log' for more details." "$LINENO" 5; } 12924 6625 fi 12925 6626 12926 6627 if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then 12927 { { echo "$as_me:$LINENO: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 12928 See \`config.log' for more details." >&5 12929 echo "$as_me: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 12930 See \`config.log' for more details." >&2;} 12931 { (exit 1); exit 1; }; } 6628 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6630 as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 6631 See \`config.log' for more details." "$LINENO" 5; } 12932 6632 fi 12933 6633 12934 { echo "$as_me:$LINENO: result: $IPPSAMP_DIR" >&512935 echo "${ECHO_T}$IPPSAMP_DIR" >&6; }6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMP_DIR" >&5 6635 $as_echo "$IPPSAMP_DIR" >&6; } 12936 6636 12937 6637 SAVED_CFLAGS="$CFLAGS" … … 12944 6644 LIBS="$IPPSAMP_LDLIBS $LIBS" 12945 6645 12946 { echo "$as_me:$LINENO: checking Intel IPP USC usability" >&5 12947 echo $ECHO_N "checking Intel IPP USC usability... $ECHO_C" >&6; } 12948 cat >conftest.$ac_ext <<_ACEOF 12949 /* confdefs.h. */ 12950 _ACEOF 12951 cat confdefs.h >>conftest.$ac_ext 12952 cat >>conftest.$ac_ext <<_ACEOF 6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 6647 $as_echo_n "checking Intel IPP USC usability... " >&6; } 6648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12953 6649 /* end confdefs.h. */ 12954 6650 #include <usc.h> … … 12962 6658 } 12963 6659 _ACEOF 12964 rm -f conftest.$ac_objext conftest$ac_exeext 12965 if { (ac_try="$ac_link" 12966 case "(($ac_try" in 12967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12968 *) ac_try_echo=$ac_try;; 12969 esac 12970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12971 (eval "$ac_link") 2>conftest.er1 12972 ac_status=$? 12973 grep -v '^ *+' conftest.er1 >conftest.err 12974 rm -f conftest.er1 12975 cat conftest.err >&5 12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12977 (exit $ac_status); } && { 12978 test -z "$ac_c_werror_flag" || 12979 test ! -s conftest.err 12980 } && test -s conftest$ac_exeext && 12981 $as_test_x conftest$ac_exeext; then 12982 { echo "$as_me:$LINENO: result: ok" >&5 12983 echo "${ECHO_T}ok" >&6; } 12984 else 12985 echo "$as_me: failed program was:" >&5 12986 sed 's/^/| /' conftest.$ac_ext >&5 12987 12988 { { echo "$as_me:$LINENO: error: failed 12989 See \`config.log' for more details." >&5 12990 echo "$as_me: error: failed 12991 See \`config.log' for more details." >&2;} 12992 { (exit 1); exit 1; }; } 12993 fi 12994 12995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12996 conftest$ac_exeext conftest.$ac_ext 6660 if ac_fn_c_try_link "$LINENO"; then : 6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6662 $as_echo "ok" >&6; } 6663 else 6664 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6666 as_fn_error "failed 6667 See \`config.log' for more details." "$LINENO" 5; } 6668 fi 6669 rm -f core conftest.err conftest.$ac_objext \ 6670 conftest$ac_exeext conftest.$ac_ext 12997 6671 12998 6672 CFLAGS="$SAVED_CFLAGS" … … 13014 6688 export IPP_LIBS=$IPP_LIBS" 13015 6689 else 13016 { echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&513017 echo "${ECHO_T}Skipping Intel IPP settings (not wanted)" >&6; }6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&5 6691 $as_echo "Skipping Intel IPP settings (not wanted)" >&6; } 13018 6692 fi 13019 6693 … … 13022 6696 13023 6697 # Check whether --enable-ssl was given. 13024 if test "${enable_ssl+set}" = set; then 6698 if test "${enable_ssl+set}" = set; then : 13025 6699 enableval=$enable_ssl; 13026 6700 if test "$enable_ssl" = "no"; then 13027 6701 ac_no_ssl=1 13028 { echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&513029 echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6; }6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&5 6703 $as_echo "Checking if SSL support is disabled... yes" >&6; } 13030 6704 fi 13031 6705 13032 6706 else 13033 6707 13034 { echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 13035 echo "${ECHO_T}checking for OpenSSL installations.." >&6; } 13036 13037 13038 13039 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 13040 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 13041 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 13042 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 13043 echo $ECHO_N "(cached) $ECHO_C" >&6 13044 fi 13045 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 13046 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 13047 else 13048 # Is the header compilable? 13049 { echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 13050 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; } 13051 cat >conftest.$ac_ext <<_ACEOF 13052 /* confdefs.h. */ 13053 _ACEOF 13054 cat confdefs.h >>conftest.$ac_ext 13055 cat >>conftest.$ac_ext <<_ACEOF 13056 /* end confdefs.h. */ 13057 $ac_includes_default 13058 #include <openssl/ssl.h> 13059 _ACEOF 13060 rm -f conftest.$ac_objext 13061 if { (ac_try="$ac_compile" 13062 case "(($ac_try" in 13063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13064 *) ac_try_echo=$ac_try;; 13065 esac 13066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13067 (eval "$ac_compile") 2>conftest.er1 13068 ac_status=$? 13069 grep -v '^ *+' conftest.er1 >conftest.err 13070 rm -f conftest.er1 13071 cat conftest.err >&5 13072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13073 (exit $ac_status); } && { 13074 test -z "$ac_c_werror_flag" || 13075 test ! -s conftest.err 13076 } && test -s conftest.$ac_objext; then 13077 ac_header_compiler=yes 13078 else 13079 echo "$as_me: failed program was:" >&5 13080 sed 's/^/| /' conftest.$ac_ext >&5 13081 13082 ac_header_compiler=no 13083 fi 13084 13085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13086 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13087 echo "${ECHO_T}$ac_header_compiler" >&6; } 13088 13089 # Is the header present? 13090 { echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 13091 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; } 13092 cat >conftest.$ac_ext <<_ACEOF 13093 /* confdefs.h. */ 13094 _ACEOF 13095 cat confdefs.h >>conftest.$ac_ext 13096 cat >>conftest.$ac_ext <<_ACEOF 13097 /* end confdefs.h. */ 13098 #include <openssl/ssl.h> 13099 _ACEOF 13100 if { (ac_try="$ac_cpp conftest.$ac_ext" 13101 case "(($ac_try" in 13102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13103 *) ac_try_echo=$ac_try;; 13104 esac 13105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13106 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13107 ac_status=$? 13108 grep -v '^ *+' conftest.er1 >conftest.err 13109 rm -f conftest.er1 13110 cat conftest.err >&5 13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13112 (exit $ac_status); } >/dev/null && { 13113 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 13114 test ! -s conftest.err 13115 }; then 13116 ac_header_preproc=yes 13117 else 13118 echo "$as_me: failed program was:" >&5 13119 sed 's/^/| /' conftest.$ac_ext >&5 13120 13121 ac_header_preproc=no 13122 fi 13123 13124 rm -f conftest.err conftest.$ac_ext 13125 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13126 echo "${ECHO_T}$ac_header_preproc" >&6; } 13127 13128 # So? What about this header? 13129 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 13130 yes:no: ) 13131 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 13132 echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 13133 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 13134 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 13135 ac_header_preproc=yes 13136 ;; 13137 no:yes:* ) 13138 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 13139 echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 13140 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&5 13141 echo "$as_me: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&2;} 13142 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 13143 echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 13144 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5 13145 echo "$as_me: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;} 13146 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 13147 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 13148 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 13149 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 13150 13151 ;; 13152 esac 13153 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 13154 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 13155 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 13156 echo $ECHO_N "(cached) $ECHO_C" >&6 13157 else 13158 ac_cv_header_openssl_ssl_h=$ac_header_preproc 13159 fi 13160 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 13161 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 13162 13163 fi 13164 if test $ac_cv_header_openssl_ssl_h = yes; then 6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 6709 $as_echo "checking for OpenSSL installations.." >&6; } 6710 6711 6712 6713 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 6714 if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 13165 6715 openssl_h_present=1 13166 6716 fi 13167 6717 13168 6718 13169 { echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&513170 echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6; }13171 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 13172 echo $ECHO_N "(cached) $ECHO_C" >&66719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 6720 $as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 6721 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 6722 $as_echo_n "(cached) " >&6 13173 6723 else 13174 6724 ac_check_lib_save_LIBS=$LIBS 13175 6725 LIBS="-lcrypto $LIBS" 13176 cat >conftest.$ac_ext <<_ACEOF 13177 /* confdefs.h. */ 13178 _ACEOF 13179 cat confdefs.h >>conftest.$ac_ext 13180 cat >>conftest.$ac_ext <<_ACEOF 6726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13181 6727 /* end confdefs.h. */ 13182 6728 … … 13196 6742 } 13197 6743 _ACEOF 13198 rm -f conftest.$ac_objext conftest$ac_exeext 13199 if { (ac_try="$ac_link" 13200 case "(($ac_try" in 13201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13202 *) ac_try_echo=$ac_try;; 13203 esac 13204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13205 (eval "$ac_link") 2>conftest.er1 13206 ac_status=$? 13207 grep -v '^ *+' conftest.er1 >conftest.err 13208 rm -f conftest.er1 13209 cat conftest.err >&5 13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13211 (exit $ac_status); } && { 13212 test -z "$ac_c_werror_flag" || 13213 test ! -s conftest.err 13214 } && test -s conftest$ac_exeext && 13215 $as_test_x conftest$ac_exeext; then 6744 if ac_fn_c_try_link "$LINENO"; then : 13216 6745 ac_cv_lib_crypto_ERR_load_BIO_strings=yes 13217 6746 else 13218 echo "$as_me: failed program was:" >&5 13219 sed 's/^/| /' conftest.$ac_ext >&5 13220 13221 ac_cv_lib_crypto_ERR_load_BIO_strings=no 13222 fi 13223 13224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13225 conftest$ac_exeext conftest.$ac_ext 6747 ac_cv_lib_crypto_ERR_load_BIO_strings=no 6748 fi 6749 rm -f core conftest.err conftest.$ac_objext \ 6750 conftest$ac_exeext conftest.$ac_ext 13226 6751 LIBS=$ac_check_lib_save_LIBS 13227 6752 fi 13228 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&513229 echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; }13230 if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 6754 $as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 6755 if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 13231 6756 libcrypto_present=1 && LIBS="$LIBS -lcrypto" 13232 6757 fi 13233 6758 13234 { echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&513235 echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6; }13236 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 13237 echo $ECHO_N "(cached) $ECHO_C" >&66759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 6760 $as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 6761 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 6762 $as_echo_n "(cached) " >&6 13238 6763 else 13239 6764 ac_check_lib_save_LIBS=$LIBS 13240 6765 LIBS="-lssl $LIBS" 13241 cat >conftest.$ac_ext <<_ACEOF 13242 /* confdefs.h. */ 13243 _ACEOF 13244 cat confdefs.h >>conftest.$ac_ext 13245 cat >>conftest.$ac_ext <<_ACEOF 6766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13246 6767 /* end confdefs.h. */ 13247 6768 … … 13261 6782 } 13262 6783 _ACEOF 13263 rm -f conftest.$ac_objext conftest$ac_exeext 13264 if { (ac_try="$ac_link" 13265 case "(($ac_try" in 13266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13267 *) ac_try_echo=$ac_try;; 13268 esac 13269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13270 (eval "$ac_link") 2>conftest.er1 13271 ac_status=$? 13272 grep -v '^ *+' conftest.er1 >conftest.err 13273 rm -f conftest.er1 13274 cat conftest.err >&5 13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13276 (exit $ac_status); } && { 13277 test -z "$ac_c_werror_flag" || 13278 test ! -s conftest.err 13279 } && test -s conftest$ac_exeext && 13280 $as_test_x conftest$ac_exeext; then 6784 if ac_fn_c_try_link "$LINENO"; then : 13281 6785 ac_cv_lib_ssl_SSL_library_init=yes 13282 6786 else 13283 echo "$as_me: failed program was:" >&5 13284 sed 's/^/| /' conftest.$ac_ext >&5 13285 13286 ac_cv_lib_ssl_SSL_library_init=no 13287 fi 13288 13289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13290 conftest$ac_exeext conftest.$ac_ext 6787 ac_cv_lib_ssl_SSL_library_init=no 6788 fi 6789 rm -f core conftest.err conftest.$ac_objext \ 6790 conftest$ac_exeext conftest.$ac_ext 13291 6791 LIBS=$ac_check_lib_save_LIBS 13292 6792 fi 13293 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&513294 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6; }13295 if test $ac_cv_lib_ssl_SSL_library_init = yes; then6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 6794 $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 6795 if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 13296 6796 libssl_present=1 && LIBS="$LIBS -lssl" 13297 6797 fi 13298 6798 13299 6799 if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 13300 { echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&513301 echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6; }6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&5 6801 $as_echo "OpenSSL library found, SSL support enabled" >&6; } 13302 6802 # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 13303 6803 #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 13304 cat >>confdefs.h <<\_ACEOF 13305 #define PJ_HAS_SSL_SOCK 1 13306 _ACEOF 6804 $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 13307 6805 13308 6806 else 13309 { echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&513310 echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6; }6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 6808 $as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; } 13311 6809 fi 13312 6810 … … 13317 6815 13318 6816 13319 { echo "$as_me:$LINENO: checking if select() needs correct nfds" >&513320 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6; }6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&5 6818 $as_echo_n "checking if select() needs correct nfds... " >&6; } 13321 6819 case $target in 13322 *rtems*) cat >>confdefs.h <<\_ACEOF 13323 #define PJ_SELECT_NEEDS_NFDS 1 13324 _ACEOF 13325 13326 { echo "$as_me:$LINENO: result: yes" >&5 13327 echo "${ECHO_T}yes" >&6; } 6820 *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h 6821 6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6823 $as_echo "yes" >&6; } 13328 6824 ;; 13329 *) cat >>confdefs.h <<\_ACEOF 13330 #define PJ_SELECT_NEEDS_NFDS 0 13331 _ACEOF 13332 13333 { echo "$as_me:$LINENO: result: no (default)" >&5 13334 echo "${ECHO_T}no (default)" >&6; } 13335 { echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 13336 echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6; } 6825 *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h 6826 6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6828 $as_echo "no (default)" >&6; } 6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 6830 $as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } 13337 6831 ;; 13338 6832 esac 13339 6833 13340 { echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&513341 echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6; }6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&5 6835 $as_echo_n "checking if pj_thread_create() should enforce stack size... " >&6; } 13342 6836 case $target in 13343 *rtems*) cat >>confdefs.h <<\_ACEOF 13344 #define PJ_THREAD_SET_STACK_SIZE 1 13345 _ACEOF 13346 13347 { echo "$as_me:$LINENO: result: yes" >&5 13348 echo "${ECHO_T}yes" >&6; } 6837 *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h 6838 6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6840 $as_echo "yes" >&6; } 13349 6841 ;; 13350 *) cat >>confdefs.h <<\_ACEOF 13351 #define PJ_THREAD_SET_STACK_SIZE 0 13352 _ACEOF 13353 13354 { echo "$as_me:$LINENO: result: no (default)" >&5 13355 echo "${ECHO_T}no (default)" >&6; } 6842 *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h 6843 6844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6845 $as_echo "no (default)" >&6; } 13356 6846 ;; 13357 6847 esac 13358 6848 13359 { echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&513360 echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6; }6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&5 6850 $as_echo_n "checking if pj_thread_create() should allocate stack... " >&6; } 13361 6851 case $target in 13362 *rtems*) cat >>confdefs.h <<\_ACEOF 13363 #define PJ_THREAD_ALLOCATE_STACK 1 13364 _ACEOF 13365 13366 { echo "$as_me:$LINENO: result: yes" >&5 13367 echo "${ECHO_T}yes" >&6; } 6852 *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h 6853 6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6855 $as_echo "yes" >&6; } 13368 6856 ;; 13369 *) cat >>confdefs.h <<\_ACEOF 13370 #define PJ_THREAD_ALLOCATE_STACK 0 13371 _ACEOF 13372 13373 { echo "$as_me:$LINENO: result: no (default)" >&5 13374 echo "${ECHO_T}no (default)" >&6; } 6857 *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h 6858 6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6860 $as_echo "no (default)" >&6; } 13375 6861 ;; 13376 6862 esac … … 13378 6864 case $target in 13379 6865 *mingw* | *cygw* | *win32* | *w32* ) 13380 cat >>confdefs.h <<\_ACEOF 13381 #define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 13382 _ACEOF 6866 $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 13383 6867 13384 6868 ;; 13385 *) cat >>confdefs.h <<\_ACEOF 13386 #define PJ_BLOCKING_ERROR_VAL EAGAIN 13387 _ACEOF 13388 13389 { echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 13390 echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 6869 *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h 6870 6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 6872 $as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 13391 6873 ;; 13392 6874 esac … … 13394 6876 case $target in 13395 6877 *mingw* | *cygw* | *win32* | *w32* ) 13396 cat >>confdefs.h <<\_ACEOF 13397 #define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 13398 _ACEOF 6878 $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 13399 6879 13400 6880 ;; 13401 *) cat >>confdefs.h <<\_ACEOF 13402 #define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 13403 _ACEOF 13404 13405 { echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 13406 echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 6881 *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h 6882 6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 6884 $as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 13407 6885 ;; 13408 6886 esac … … 13459 6937 *${as_nl}*) 13460 6938 case $ac_var in #( 13461 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&513462 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;6939 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6940 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13463 6941 esac 13464 6942 case $ac_var in #( 13465 6943 _ | IFS | as_nl) ;; #( 13466 *) $as_unset $ac_var ;; 6944 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6945 *) { eval $ac_var=; unset $ac_var;} ;; 13467 6946 esac ;; 13468 6947 esac … … 13472 6951 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13473 6952 *${as_nl}ac_space=\ *) 13474 # `set' does not quote correctly, so add quotes (double-quote13475 # substitution turns \\\\ into \\, and sed turns \\ into \ ).6953 # `set' does not quote correctly, so add quotes: double-quote 6954 # substitution turns \\\\ into \\, and sed turns \\ into \. 13476 6955 sed -n \ 13477 6956 "s/'/'\\\\''/g; … … 13496 6975 if test -w "$cache_file"; then 13497 6976 test "x$cache_file" != "x/dev/null" && 13498 { echo "$as_me:$LINENO: updating cache $cache_file" >&513499 echo "$as_me: updating cache $cache_file" >&6;}6977 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6978 $as_echo "$as_me: updating cache $cache_file" >&6;} 13500 6979 cat confcache >$cache_file 13501 6980 else 13502 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&513503 echo "$as_me: not updating unwritable cache $cache_file" >&6;}6981 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6982 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13504 6983 fi 13505 6984 fi … … 13517 6996 # 1. Remove the extension, and $U if already installed. 13518 6997 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13519 ac_i=` echo "$ac_i" | sed "$ac_script"`6998 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13520 6999 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13521 7000 # will be set to the directory where LIBOBJS objects are built. 13522 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"13523 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'7001 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7002 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13524 7003 done 13525 7004 LIBOBJS=$ac_libobjs … … 13529 7008 13530 7009 7010 13531 7011 : ${CONFIG_STATUS=./config.status} 7012 ac_write_fail=0 13532 7013 ac_clean_files_save=$ac_clean_files 13533 7014 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13534 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 13535 echo "$as_me: creating $CONFIG_STATUS" >&6;} 13536 cat >$CONFIG_STATUS <<_ACEOF 7015 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 7016 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 7017 as_write_fail=0 7018 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13537 7019 #! $SHELL 13538 7020 # Generated by $as_me. … … 13544 7026 ac_cs_recheck=false 13545 7027 ac_cs_silent=false 7028 13546 7029 SHELL=\${CONFIG_SHELL-$SHELL} 13547 _ACEOF 13548 13549 cat >>$CONFIG_STATUS <<\_A CEOF13550 ## -------------------- -##13551 ## M4sh Initialization. 13552 ## -------------------- -##7030 export SHELL 7031 _ASEOF 7032 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 7033 ## -------------------- ## 7034 ## M4sh Initialization. ## 7035 ## -------------------- ## 13553 7036 13554 7037 # Be more Bourne compatible 13555 7038 DUALCASE=1; export DUALCASE # for MKS sh 13556 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 7039 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13557 7040 emulate sh 13558 7041 NULLCMD=: 13559 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which7042 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13560 7043 # is contrary to our usage. Disable this feature. 13561 7044 alias -g '${1+"$@"}'='"$@"' 13562 7045 setopt NO_GLOB_SUBST 13563 7046 else 13564 case `(set -o) 2>/dev/null` in 13565 *posix*) set -o posix ;; 7047 case `(set -o) 2>/dev/null` in #( 7048 *posix*) : 7049 set -o posix ;; #( 7050 *) : 7051 ;; 13566 7052 esac 13567 13568 fi 13569 13570 13571 13572 13573 # PATH needs CR 13574 # Avoid depending upon Character Ranges. 13575 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13576 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13577 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13578 as_cr_digits='0123456789' 13579 as_cr_alnum=$as_cr_Letters$as_cr_digits 7053 fi 7054 7055 7056 as_nl=' 7057 ' 7058 export as_nl 7059 # Printing a long string crashes Solaris 7 /usr/bin/printf. 7060 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 7061 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 7062 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 7063 # Prefer a ksh shell builtin over an external printf program on Solaris, 7064 # but without wasting forks for bash or zsh. 7065 if test -z "$BASH_VERSION$ZSH_VERSION" \ 7066 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 7067 as_echo='print -r --' 7068 as_echo_n='print -rn --' 7069 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 7070 as_echo='printf %s\n' 7071 as_echo_n='printf %s' 7072 else 7073 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 7074 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 7075 as_echo_n='/usr/ucb/echo -n' 7076 else 7077 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 7078 as_echo_n_body='eval 7079 arg=$1; 7080 case $arg in #( 7081 *"$as_nl"*) 7082 expr "X$arg" : "X\\(.*\\)$as_nl"; 7083 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 7084 esac; 7085 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 7086 ' 7087 export as_echo_n_body 7088 as_echo_n='sh -c $as_echo_n_body as_echo' 7089 fi 7090 export as_echo_body 7091 as_echo='sh -c $as_echo_body as_echo' 7092 fi 13580 7093 13581 7094 # The user is always right. 13582 7095 if test "${PATH_SEPARATOR+set}" != set; then 13583 echo "#! /bin/sh" >conf$$.sh 13584 echo "exit 0" >>conf$$.sh 13585 chmod +x conf$$.sh 13586 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 13587 PATH_SEPARATOR=';' 13588 else 13589 PATH_SEPARATOR=: 13590 fi 13591 rm -f conf$$.sh 13592 fi 13593 13594 # Support unset when possible. 13595 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 13596 as_unset=unset 13597 else 13598 as_unset=false 7096 PATH_SEPARATOR=: 7097 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 7098 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 7099 PATH_SEPARATOR=';' 7100 } 13599 7101 fi 13600 7102 … … 13605 7107 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 13606 7108 # splitting by setting IFS to empty value.) 13607 as_nl='13608 '13609 7109 IFS=" "" $as_nl" 13610 7110 13611 7111 # Find who we are. Look in the path if we contain no directory separator. 13612 case $0 in 7112 case $0 in #(( 13613 7113 *[\\/]* ) as_myself=$0 ;; 13614 7114 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 13617 7117 IFS=$as_save_IFS 13618 7118 test -z "$as_dir" && as_dir=. 13619 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break13620 done7119 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7120 done 13621 7121 IFS=$as_save_IFS 13622 7122 … … 13629 7129 fi 13630 7130 if test ! -f "$as_myself"; then 13631 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13632 { (exit 1); exit 1; } 13633 fi 13634 13635 # Work around bugs in pre-3.0 UWIN ksh. 13636 for as_var in ENV MAIL MAILPATH 13637 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7131 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 7132 exit 1 7133 fi 7134 7135 # Unset variables that we do not need and which cause bugs (e.g. in 7136 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 7137 # suppresses any "Segmentation fault" message there. '((' could 7138 # trigger a bug in pdksh 5.2.14. 7139 for as_var in BASH_ENV ENV MAIL MAILPATH 7140 do eval test x\${$as_var+set} = xset \ 7141 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13638 7142 done 13639 7143 PS1='$ ' … … 13642 7146 13643 7147 # NLS nuisances. 13644 for as_var in \ 13645 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 13646 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 13647 LC_TELEPHONE LC_TIME 13648 do 13649 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 13650 eval $as_var=C; export $as_var 13651 else 13652 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7148 LC_ALL=C 7149 export LC_ALL 7150 LANGUAGE=C 7151 export LANGUAGE 7152 7153 # CDPATH. 7154 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 7155 7156 7157 # as_fn_error ERROR [LINENO LOG_FD] 7158 # --------------------------------- 7159 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 7160 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 7161 # script with status $?, using 1 if that was 0. 7162 as_fn_error () 7163 { 7164 as_status=$?; test $as_status -eq 0 && as_status=1 7165 if test "$3"; then 7166 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 7167 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 13653 7168 fi 13654 done 13655 13656 # Required to use basename. 7169 $as_echo "$as_me: error: $1" >&2 7170 as_fn_exit $as_status 7171 } # as_fn_error 7172 7173 7174 # as_fn_set_status STATUS 7175 # ----------------------- 7176 # Set $? to STATUS, without forking. 7177 as_fn_set_status () 7178 { 7179 return $1 7180 } # as_fn_set_status 7181 7182 # as_fn_exit STATUS 7183 # ----------------- 7184 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 7185 as_fn_exit () 7186 { 7187 set +e 7188 as_fn_set_status $1 7189 exit $1 7190 } # as_fn_exit 7191 7192 # as_fn_unset VAR 7193 # --------------- 7194 # Portably unset VAR. 7195 as_fn_unset () 7196 { 7197 { eval $1=; unset $1;} 7198 } 7199 as_unset=as_fn_unset 7200 # as_fn_append VAR VALUE 7201 # ---------------------- 7202 # Append the text in VALUE to the end of the definition contained in VAR. Take 7203 # advantage of any shell optimizations that allow amortized linear growth over 7204 # repeated appends, instead of the typical quadratic growth present in naive 7205 # implementations. 7206 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 7207 eval 'as_fn_append () 7208 { 7209 eval $1+=\$2 7210 }' 7211 else 7212 as_fn_append () 7213 { 7214 eval $1=\$$1\$2 7215 } 7216 fi # as_fn_append 7217 7218 # as_fn_arith ARG... 7219 # ------------------ 7220 # Perform arithmetic evaluation on the ARGs, and store the result in the 7221 # global $as_val. Take advantage of shells that can avoid forks. The arguments 7222 # must be portable across $(()) and expr. 7223 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 7224 eval 'as_fn_arith () 7225 { 7226 as_val=$(( $* )) 7227 }' 7228 else 7229 as_fn_arith () 7230 { 7231 as_val=`expr "$@" || test $? -eq 1` 7232 } 7233 fi # as_fn_arith 7234 7235 13657 7236 if expr a : '\(a\)' >/dev/null 2>&1 && 13658 7237 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 13668 7247 fi 13669 7248 13670 13671 # Name of the executable. 7249 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7250 as_dirname=dirname 7251 else 7252 as_dirname=false 7253 fi 7254 13672 7255 as_me=`$as_basename -- "$0" || 13673 7256 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13674 7257 X"$0" : 'X\(//\)$' \| \ 13675 7258 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13676 echo X/"$0" |7259 $as_echo X/"$0" | 13677 7260 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13678 7261 s//\1/ … … 13689 7272 s/.*/./; q'` 13690 7273 13691 # CDPATH. 13692 $as_unset CDPATH 13693 13694 13695 13696 as_lineno_1=$LINENO 13697 as_lineno_2=$LINENO 13698 test "x$as_lineno_1" != "x$as_lineno_2" && 13699 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 13700 13701 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 13702 # uniformly replaced by the line number. The first 'sed' inserts a 13703 # line-number line after each line using $LINENO; the second 'sed' 13704 # does the real work. The second script uses 'N' to pair each 13705 # line-number line with the line containing $LINENO, and appends 13706 # trailing '-' during substitution so that $LINENO is not a special 13707 # case at line end. 13708 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 13709 # scripts with optimization help from Paolo Bonzini. Blame Lee 13710 # E. McMahon (1931-1989) for sed's syntax. :-) 13711 sed -n ' 13712 p 13713 /[$]LINENO/= 13714 ' <$as_myself | 13715 sed ' 13716 s/[$]LINENO.*/&-/ 13717 t lineno 13718 b 13719 :lineno 13720 N 13721 :loop 13722 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 13723 t loop 13724 s/-\n.*// 13725 ' >$as_me.lineno && 13726 chmod +x "$as_me.lineno" || 13727 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 13728 { (exit 1); exit 1; }; } 13729 13730 # Don't try to exec as it changes $[0], causing all sort of problems 13731 # (the dirname of $[0] is not the place where we might find the 13732 # original and so on. Autoconf is especially sensitive to this). 13733 . "./$as_me.lineno" 13734 # Exit status is that of the last command. 13735 exit 13736 } 13737 13738 13739 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13740 as_dirname=dirname 13741 else 13742 as_dirname=false 13743 fi 7274 # Avoid depending upon Character Ranges. 7275 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7276 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7277 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7278 as_cr_digits='0123456789' 7279 as_cr_alnum=$as_cr_Letters$as_cr_digits 13744 7280 13745 7281 ECHO_C= ECHO_N= ECHO_T= 13746 case `echo -n x` in 7282 case `echo -n x` in #((((( 13747 7283 -n*) 13748 case `echo 'x \c'` in7284 case `echo 'xy\c'` in 13749 7285 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13750 *) ECHO_C='\c';; 7286 xy) ECHO_C='\c';; 7287 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7288 ECHO_T=' ';; 13751 7289 esac;; 13752 7290 *) … … 13754 7292 esac 13755 7293 13756 if expr a : '\(a\)' >/dev/null 2>&1 &&13757 test "X`expr 00001 : '.*\(...\)'`" = X001; then13758 as_expr=expr13759 else13760 as_expr=false13761 fi13762 13763 7294 rm -f conf$$ conf$$.exe conf$$.file 13764 7295 if test -d conf$$.dir; then … … 13766 7297 else 13767 7298 rm -f conf$$.dir 13768 mkdir conf$$.dir 13769 fi 13770 echo >conf$$.file 13771 if ln -s conf$$.file conf$$ 2>/dev/null; then 13772 as_ln_s='ln -s' 13773 # ... but there are two gotchas: 13774 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13775 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13776 # In both cases, we have to default to `cp -p'. 13777 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7299 mkdir conf$$.dir 2>/dev/null 7300 fi 7301 if (echo >conf$$.file) 2>/dev/null; then 7302 if ln -s conf$$.file conf$$ 2>/dev/null; then 7303 as_ln_s='ln -s' 7304 # ... but there are two gotchas: 7305 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7306 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7307 # In both cases, we have to default to `cp -p'. 7308 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7309 as_ln_s='cp -p' 7310 elif ln conf$$.file conf$$ 2>/dev/null; then 7311 as_ln_s=ln 7312 else 13778 7313 as_ln_s='cp -p' 13779 elif ln conf$$.file conf$$ 2>/dev/null; then 13780 as_ln_s=ln 7314 fi 13781 7315 else 13782 7316 as_ln_s='cp -p' … … 13785 7319 rmdir conf$$.dir 2>/dev/null 13786 7320 13787 if mkdir -p . 2>/dev/null; then 13788 as_mkdir_p=: 13789 else 13790 test -d ./-p && rmdir ./-p 13791 as_mkdir_p=false 13792 fi 13793 13794 if test -x / >/dev/null 2>&1; then 13795 as_test_x='test -x' 13796 else 13797 if ls -dL / >/dev/null 2>&1; then 13798 as_ls_L_option=L 13799 else 13800 as_ls_L_option= 13801 fi 13802 as_test_x=' 13803 eval sh -c '\'' 13804 if test -d "$1"; then 13805 test -d "$1/."; 13806 else 13807 case $1 in 13808 -*)set "./$1";; 13809 esac; 13810 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 13811 ???[sx]*):;;*)false;;esac;fi 13812 '\'' sh 13813 ' 13814 fi 13815 as_executable_p=$as_test_x 13816 13817 # Sed expression to map a string onto a valid CPP name. 13818 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13819 13820 # Sed expression to map a string onto a valid variable name. 13821 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13822 13823 13824 exec 6>&1 13825 13826 # Save the log message, to keep $[0] and so on meaningful, and to 13827 # report actual input values of CONFIG_FILES etc. instead of their 13828 # values after options handling. 13829 ac_log=" 13830 This file was extended by pjproject $as_me 1.x, which was 13831 generated by GNU Autoconf 2.61. Invocation command line was 13832 13833 CONFIG_FILES = $CONFIG_FILES 13834 CONFIG_HEADERS = $CONFIG_HEADERS 13835 CONFIG_LINKS = $CONFIG_LINKS 13836 CONFIG_COMMANDS = $CONFIG_COMMANDS 13837 $ $0 $@ 13838 13839 on `(hostname || uname -n) 2>/dev/null | sed 1q` 13840 " 13841 13842 _ACEOF 13843 13844 cat >>$CONFIG_STATUS <<_ACEOF 13845 # Files that config.status was made for. 13846 config_files="$ac_config_files" 13847 config_headers="$ac_config_headers" 13848 13849 _ACEOF 13850 13851 cat >>$CONFIG_STATUS <<\_ACEOF 13852 ac_cs_usage="\ 13853 \`$as_me' instantiates files from templates according to the 13854 current configuration. 13855 13856 Usage: $0 [OPTIONS] [FILE]... 13857 13858 -h, --help print this help, then exit 13859 -V, --version print version number and configuration settings, then exit 13860 -q, --quiet do not print progress messages 13861 -d, --debug don't remove temporary files 13862 --recheck update $as_me by reconfiguring in the same conditions 13863 --file=FILE[:TEMPLATE] 13864 instantiate the configuration file FILE 13865 --header=FILE[:TEMPLATE] 13866 instantiate the configuration header FILE 13867 13868 Configuration files: 13869 $config_files 13870 13871 Configuration headers: 13872 $config_headers 13873 13874 Report bugs to <bug-autoconf@gnu.org>." 13875 13876 _ACEOF 13877 cat >>$CONFIG_STATUS <<_ACEOF 13878 ac_cs_version="\\ 13879 pjproject config.status 1.x 13880 configured by $0, generated by GNU Autoconf 2.61, 13881 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 13882 13883 Copyright (C) 2006 Free Software Foundation, Inc. 13884 This config.status script is free software; the Free Software Foundation 13885 gives unlimited permission to copy, distribute and modify it." 13886 13887 ac_pwd='$ac_pwd' 13888 srcdir='$srcdir' 13889 _ACEOF 13890 13891 cat >>$CONFIG_STATUS <<\_ACEOF 13892 # If no file are specified by the user, then we need to provide default 13893 # value. By we need to know if files were specified by the user. 13894 ac_need_defaults=: 13895 while test $# != 0 13896 do 13897 case $1 in 13898 --*=*) 13899 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13900 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13901 ac_shift=: 13902 ;; 13903 *) 13904 ac_option=$1 13905 ac_optarg=$2 13906 ac_shift=shift 13907 ;; 13908 esac 13909 13910 case $ac_option in 13911 # Handling of the options. 13912 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13913 ac_cs_recheck=: ;; 13914 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13915 echo "$ac_cs_version"; exit ;; 13916 --debug | --debu | --deb | --de | --d | -d ) 13917 debug=: ;; 13918 --file | --fil | --fi | --f ) 13919 $ac_shift 13920 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 13921 ac_need_defaults=false;; 13922 --header | --heade | --head | --hea ) 13923 $ac_shift 13924 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 13925 ac_need_defaults=false;; 13926 --he | --h) 13927 # Conflict between --help and --header 13928 { echo "$as_me: error: ambiguous option: $1 13929 Try \`$0 --help' for more information." >&2 13930 { (exit 1); exit 1; }; };; 13931 --help | --hel | -h ) 13932 echo "$ac_cs_usage"; exit ;; 13933 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13934 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13935 ac_cs_silent=: ;; 13936 13937 # This is an error. 13938 -*) { echo "$as_me: error: unrecognized option: $1 13939 Try \`$0 --help' for more information." >&2 13940 { (exit 1); exit 1; }; } ;; 13941 13942 *) ac_config_targets="$ac_config_targets $1" 13943 ac_need_defaults=false ;; 13944 13945 esac 13946 shift 13947 done 13948 13949 ac_configure_extra_args= 13950 13951 if $ac_cs_silent; then 13952 exec 6>/dev/null 13953 ac_configure_extra_args="$ac_configure_extra_args --silent" 13954 fi 13955 13956 _ACEOF 13957 cat >>$CONFIG_STATUS <<_ACEOF 13958 if \$ac_cs_recheck; then 13959 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 13960 CONFIG_SHELL=$SHELL 13961 export CONFIG_SHELL 13962 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13963 fi 13964 13965 _ACEOF 13966 cat >>$CONFIG_STATUS <<\_ACEOF 13967 exec 5>>config.log 13968 { 13969 echo 13970 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13971 ## Running $as_me. ## 13972 _ASBOX 13973 echo "$ac_log" 13974 } >&5 13975 13976 _ACEOF 13977 cat >>$CONFIG_STATUS <<_ACEOF 13978 _ACEOF 13979 13980 cat >>$CONFIG_STATUS <<\_ACEOF 13981 13982 # Handling of arguments. 13983 for ac_config_target in $ac_config_targets 13984 do 13985 case $ac_config_target in 13986 "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 13987 "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 13988 "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 13989 "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 13990 "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 13991 "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 13992 "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 13993 "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 13994 "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 13995 "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 13996 "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 13997 "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 13998 "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 13999 "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 14000 14001 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 14002 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 14003 { (exit 1); exit 1; }; };; 14004 esac 14005 done 14006 14007 14008 # If the user did not use the arguments to specify the items to instantiate, 14009 # then the envvar interface is used. Set only those that are not. 14010 # We use the long form for the default assignment because of an extremely 14011 # bizarre bug on SunOS 4.1.3. 14012 if $ac_need_defaults; then 14013 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14014 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 14015 fi 14016 14017 # Have a temporary directory for convenience. Make it in the build tree 14018 # simply because there is no reason against having it here, and in addition, 14019 # creating and moving files from /tmp can sometimes cause problems. 14020 # Hook for its removal unless debugging. 14021 # Note that there is a small window in which the directory will not be cleaned: 14022 # after its creation but before its name has been assigned to `$tmp'. 14023 $debug || 14024 { 14025 tmp= 14026 trap 'exit_status=$? 14027 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 14028 ' 0 14029 trap '{ (exit 1); exit 1; }' 1 2 13 15 14030 } 14031 # Create a (secure) tmp directory for tmp files. 14032 14033 { 14034 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14035 test -n "$tmp" && test -d "$tmp" 14036 } || 14037 { 14038 tmp=./conf$$-$RANDOM 14039 (umask 077 && mkdir "$tmp") 14040 } || 14041 { 14042 echo "$me: cannot create a temporary directory in ." >&2 14043 { (exit 1); exit 1; } 14044 } 14045 14046 # 14047 # Set up the sed scripts for CONFIG_FILES section. 14048 # 14049 14050 # No need to generate the scripts if there are no CONFIG_FILES. 14051 # This happens for instance when ./config.status config.h 14052 if test -n "$CONFIG_FILES"; then 14053 14054 _ACEOF 14055 14056 14057 14058 ac_delim='%!_!# ' 14059 for ac_last_try in false false false false false :; do 14060 cat >conf$$subs.sed <<_ACEOF 14061 SHELL!$SHELL$ac_delim 14062 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 14063 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 14064 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 14065 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 14066 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 14067 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 14068 exec_prefix!$exec_prefix$ac_delim 14069 prefix!$prefix$ac_delim 14070 program_transform_name!$program_transform_name$ac_delim 14071 bindir!$bindir$ac_delim 14072 sbindir!$sbindir$ac_delim 14073 libexecdir!$libexecdir$ac_delim 14074 datarootdir!$datarootdir$ac_delim 14075 datadir!$datadir$ac_delim 14076 sysconfdir!$sysconfdir$ac_delim 14077 sharedstatedir!$sharedstatedir$ac_delim 14078 localstatedir!$localstatedir$ac_delim 14079 includedir!$includedir$ac_delim 14080 oldincludedir!$oldincludedir$ac_delim 14081 docdir!$docdir$ac_delim 14082 infodir!$infodir$ac_delim 14083 htmldir!$htmldir$ac_delim 14084 dvidir!$dvidir$ac_delim 14085 pdfdir!$pdfdir$ac_delim 14086 psdir!$psdir$ac_delim 14087 libdir!$libdir$ac_delim 14088 localedir!$localedir$ac_delim 14089 mandir!$mandir$ac_delim 14090 DEFS!$DEFS$ac_delim 14091 ECHO_C!$ECHO_C$ac_delim 14092 ECHO_N!$ECHO_N$ac_delim 14093 ECHO_T!$ECHO_T$ac_delim 14094 LIBS!$LIBS$ac_delim 14095 build_alias!$build_alias$ac_delim 14096 host_alias!$host_alias$ac_delim 14097 target_alias!$target_alias$ac_delim 14098 build!$build$ac_delim 14099 build_cpu!$build_cpu$ac_delim 14100 build_vendor!$build_vendor$ac_delim 14101 build_os!$build_os$ac_delim 14102 host!$host$ac_delim 14103 host_cpu!$host_cpu$ac_delim 14104 host_vendor!$host_vendor$ac_delim 14105 host_os!$host_os$ac_delim 14106 target!$target$ac_delim 14107 target_cpu!$target_cpu$ac_delim 14108 target_vendor!$target_vendor$ac_delim 14109 target_os!$target_os$ac_delim 14110 CC!$CC$ac_delim 14111 CFLAGS!$CFLAGS$ac_delim 14112 LDFLAGS!$LDFLAGS$ac_delim 14113 CPPFLAGS!$CPPFLAGS$ac_delim 14114 ac_ct_CC!$ac_ct_CC$ac_delim 14115 EXEEXT!$EXEEXT$ac_delim 14116 OBJEXT!$OBJEXT$ac_delim 14117 CXX!$CXX$ac_delim 14118 CXXFLAGS!$CXXFLAGS$ac_delim 14119 ac_ct_CXX!$ac_ct_CXX$ac_delim 14120 AR!$AR$ac_delim 14121 LD!$LD$ac_delim 14122 LDOUT!$LDOUT$ac_delim 14123 RANLIB!$RANLIB$ac_delim 14124 LIBEXT!$LIBEXT$ac_delim 14125 LIBEXT2!$LIBEXT2$ac_delim 14126 CC_OUT!$CC_OUT$ac_delim 14127 CC_INC!$CC_INC$ac_delim 14128 CC_DEF!$CC_DEF$ac_delim 14129 CC_OPTIMIZE!$CC_OPTIMIZE$ac_delim 14130 CC_CFLAGS!$CC_CFLAGS$ac_delim 14131 ac_pjdir!$ac_pjdir$ac_delim 14132 ac_build_mak_vars!$ac_build_mak_vars$ac_delim 14133 CPP!$CPP$ac_delim 14134 GREP!$GREP$ac_delim 14135 EGREP!$EGREP$ac_delim 14136 ac_os_objs!$ac_os_objs$ac_delim 14137 ac_external_speex!$ac_external_speex$ac_delim 14138 ac_external_gsm!$ac_external_gsm$ac_delim 14139 ac_pjmedia_snd!$ac_pjmedia_snd$ac_delim 14140 ac_external_pa!$ac_external_pa$ac_delim 14141 ac_pa_cflags!$ac_pa_cflags$ac_delim 14142 ac_pa_use_alsa!$ac_pa_use_alsa$ac_delim 14143 ac_pa_use_oss!$ac_pa_use_oss$ac_delim 14144 ac_pjmedia_video!$ac_pjmedia_video$ac_delim 14145 ac_pjmedia_video_has_ios!$ac_pjmedia_video_has_ios$ac_delim 14146 ac_ios_cflags!$ac_ios_cflags$ac_delim 14147 ac_pjmedia_video_has_qt!$ac_pjmedia_video_has_qt$ac_delim 14148 ac_qt_cflags!$ac_qt_cflags$ac_delim 14149 ac_no_small_filter!$ac_no_small_filter$ac_delim 14150 ac_no_large_filter!$ac_no_large_filter$ac_delim 14151 ac_no_speex_aec!$ac_no_speex_aec$ac_delim 14152 ac_no_g711_codec!$ac_no_g711_codec$ac_delim 14153 ac_no_l16_codec!$ac_no_l16_codec$ac_delim 14154 ac_no_gsm_codec!$ac_no_gsm_codec$ac_delim 14155 ac_no_g722_codec!$ac_no_g722_codec$ac_delim 14156 ac_no_g7221_codec!$ac_no_g7221_codec$ac_delim 14157 ac_no_speex_codec!$ac_no_speex_codec$ac_delim 14158 _ACEOF 14159 14160 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 14161 break 14162 elif $ac_last_try; then 14163 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14164 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14165 { (exit 1); exit 1; }; } 14166 else 14167 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14168 fi 14169 done 14170 14171 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 14172 if test -n "$ac_eof"; then 14173 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 14174 ac_eof=`expr $ac_eof + 1` 14175 fi 14176 14177 cat >>$CONFIG_STATUS <<_ACEOF 14178 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 14179 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14180 _ACEOF 14181 sed ' 14182 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 14183 s/^/s,@/; s/!/@,|#_!!_#|/ 14184 :n 14185 t n 14186 s/'"$ac_delim"'$/,g/; t 14187 s/$/\\/; p 14188 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 14189 ' >>$CONFIG_STATUS <conf$$subs.sed 14190 rm -f conf$$subs.sed 14191 cat >>$CONFIG_STATUS <<_ACEOF 14192 CEOF$ac_eof 14193 _ACEOF 14194 14195 14196 ac_delim='%!_!# ' 14197 for ac_last_try in false false false false false :; do 14198 cat >conf$$subs.sed <<_ACEOF 14199 ac_no_ilbc_codec!$ac_no_ilbc_codec$ac_delim 14200 ac_sdl_cflags!$ac_sdl_cflags$ac_delim 14201 ac_sdl_ldflags!$ac_sdl_ldflags$ac_delim 14202 ac_has_ffmpeg!$ac_has_ffmpeg$ac_delim 14203 ac_ffmpeg_cflags!$ac_ffmpeg_cflags$ac_delim 14204 ac_ffmpeg_ldflags!$ac_ffmpeg_ldflags$ac_delim 14205 ac_v4l2_cflags!$ac_v4l2_cflags$ac_delim 14206 ac_v4l2_ldflags!$ac_v4l2_ldflags$ac_delim 14207 ac_no_ssl!$ac_no_ssl$ac_delim 14208 openssl_h_present!$openssl_h_present$ac_delim 14209 libssl_present!$libssl_present$ac_delim 14210 libcrypto_present!$libcrypto_present$ac_delim 14211 ac_cross_compile!$ac_cross_compile$ac_delim 14212 ac_linux_poll!$ac_linux_poll$ac_delim 14213 ac_host!$ac_host$ac_delim 14214 ac_main_obj!$ac_main_obj$ac_delim 14215 LIBOBJS!$LIBOBJS$ac_delim 14216 LTLIBOBJS!$LTLIBOBJS$ac_delim 14217 _ACEOF 14218 14219 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 18; then 14220 break 14221 elif $ac_last_try; then 14222 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14223 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14224 { (exit 1); exit 1; }; } 14225 else 14226 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14227 fi 14228 done 14229 14230 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 14231 if test -n "$ac_eof"; then 14232 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 14233 ac_eof=`expr $ac_eof + 1` 14234 fi 14235 14236 cat >>$CONFIG_STATUS <<_ACEOF 14237 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 14238 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 14239 _ACEOF 14240 sed ' 14241 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 14242 s/^/s,@/; s/!/@,|#_!!_#|/ 14243 :n 14244 t n 14245 s/'"$ac_delim"'$/,g/; t 14246 s/$/\\/; p 14247 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 14248 ' >>$CONFIG_STATUS <conf$$subs.sed 14249 rm -f conf$$subs.sed 14250 cat >>$CONFIG_STATUS <<_ACEOF 14251 :end 14252 s/|#_!!_#|//g 14253 CEOF$ac_eof 14254 _ACEOF 14255 14256 14257 # VPATH may cause trouble with some makes, so we remove $(srcdir), 14258 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 14259 # trailing colons and then remove the whole line if VPATH becomes empty 14260 # (actually we leave an empty line to preserve line numbers). 14261 if test "x$srcdir" = x.; then 14262 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 14263 s/:*\$(srcdir):*/:/ 14264 s/:*\${srcdir}:*/:/ 14265 s/:*@srcdir@:*/:/ 14266 s/^\([^=]*=[ ]*\):*/\1/ 14267 s/:*$// 14268 s/^[^=]*=[ ]*$// 14269 }' 14270 fi 14271 14272 cat >>$CONFIG_STATUS <<\_ACEOF 14273 fi # test -n "$CONFIG_FILES" 14274 14275 14276 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 14277 do 14278 case $ac_tag in 14279 :[FHLC]) ac_mode=$ac_tag; continue;; 14280 esac 14281 case $ac_mode$ac_tag in 14282 :[FHL]*:*);; 14283 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 14284 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 14285 { (exit 1); exit 1; }; };; 14286 :[FH]-) ac_tag=-:-;; 14287 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14288 esac 14289 ac_save_IFS=$IFS 14290 IFS=: 14291 set x $ac_tag 14292 IFS=$ac_save_IFS 14293 shift 14294 ac_file=$1 14295 shift 14296 14297 case $ac_mode in 14298 :L) ac_source=$1;; 14299 :[FH]) 14300 ac_file_inputs= 14301 for ac_f 14302 do 14303 case $ac_f in 14304 -) ac_f="$tmp/stdin";; 14305 *) # Look for the file first in the build tree, then in the source tree 14306 # (if the path is not absolute). The absolute path cannot be DOS-style, 14307 # because $ac_f cannot contain `:'. 14308 test -f "$ac_f" || 14309 case $ac_f in 14310 [\\/$]*) false;; 14311 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14312 esac || 14313 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 14314 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 14315 { (exit 1); exit 1; }; };; 14316 esac 14317 ac_file_inputs="$ac_file_inputs $ac_f" 14318 done 14319 14320 # Let's still pretend it is `configure' which instantiates (i.e., don't 14321 # use $as_me), people would be surprised to read: 14322 # /* config.h. Generated by config.status. */ 14323 configure_input="Generated from "`IFS=: 14324 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 14325 if test x"$ac_file" != x-; then 14326 configure_input="$ac_file. $configure_input" 14327 { echo "$as_me:$LINENO: creating $ac_file" >&5 14328 echo "$as_me: creating $ac_file" >&6;} 14329 fi 14330 14331 case $ac_tag in 14332 *:-:* | *:-) cat >"$tmp/stdin";; 14333 esac 14334 ;; 14335 esac 14336 14337 ac_dir=`$as_dirname -- "$ac_file" || 14338 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14339 X"$ac_file" : 'X\(//\)[^/]' \| \ 14340 X"$ac_file" : 'X\(//\)$' \| \ 14341 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14342 echo X"$ac_file" | 14343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14344 s//\1/ 14345 q 14346 } 14347 /^X\(\/\/\)[^/].*/{ 14348 s//\1/ 14349 q 14350 } 14351 /^X\(\/\/\)$/{ 14352 s//\1/ 14353 q 14354 } 14355 /^X\(\/\).*/{ 14356 s//\1/ 14357 q 14358 } 14359 s/.*/./; q'` 14360 { as_dir="$ac_dir" 7321 7322 # as_fn_mkdir_p 7323 # ------------- 7324 # Create "$as_dir" as a directory, including parents if necessary. 7325 as_fn_mkdir_p () 7326 { 7327 14361 7328 case $as_dir in #( 14362 7329 -*) as_dir=./$as_dir;; 14363 7330 esac 14364 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; }|| {7331 test -d "$as_dir" || eval $as_mkdir_p || { 14365 7332 as_dirs= 14366 7333 while :; do 14367 7334 case $as_dir in #( 14368 *\'*) as_qdir=` echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(7335 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14369 7336 *) as_qdir=$as_dir;; 14370 7337 esac … … 14375 7342 X"$as_dir" : 'X\(//\)$' \| \ 14376 7343 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14377 echo X"$as_dir" |7344 $as_echo X"$as_dir" | 14378 7345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14379 7346 s//\1/ … … 14396 7363 done 14397 7364 test -z "$as_dirs" || eval "mkdir $as_dirs" 14398 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 14399 echo "$as_me: error: cannot create directory $as_dir" >&2;} 14400 { (exit 1); exit 1; }; }; } 7365 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 7366 7367 7368 } # as_fn_mkdir_p 7369 if mkdir -p . 2>/dev/null; then 7370 as_mkdir_p='mkdir -p "$as_dir"' 7371 else 7372 test -d ./-p && rmdir ./-p 7373 as_mkdir_p=false 7374 fi 7375 7376 if test -x / >/dev/null 2>&1; then 7377 as_test_x='test -x' 7378 else 7379 if ls -dL / >/dev/null 2>&1; then 7380 as_ls_L_option=L 7381 else 7382 as_ls_L_option= 7383 fi 7384 as_test_x=' 7385 eval sh -c '\'' 7386 if test -d "$1"; then 7387 test -d "$1/."; 7388 else 7389 case $1 in #( 7390 -*)set "./$1";; 7391 esac; 7392 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 7393 ???[sx]*):;;*)false;;esac;fi 7394 '\'' sh 7395 ' 7396 fi 7397 as_executable_p=$as_test_x 7398 7399 # Sed expression to map a string onto a valid CPP name. 7400 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7401 7402 # Sed expression to map a string onto a valid variable name. 7403 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7404 7405 7406 exec 6>&1 7407 ## ----------------------------------- ## 7408 ## Main body of $CONFIG_STATUS script. ## 7409 ## ----------------------------------- ## 7410 _ASEOF 7411 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7412 7413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7414 # Save the log message, to keep $0 and so on meaningful, and to 7415 # report actual input values of CONFIG_FILES etc. instead of their 7416 # values after options handling. 7417 ac_log=" 7418 This file was extended by pjproject $as_me 1.x, which was 7419 generated by GNU Autoconf 2.65. Invocation command line was 7420 7421 CONFIG_FILES = $CONFIG_FILES 7422 CONFIG_HEADERS = $CONFIG_HEADERS 7423 CONFIG_LINKS = $CONFIG_LINKS 7424 CONFIG_COMMANDS = $CONFIG_COMMANDS 7425 $ $0 $@ 7426 7427 on `(hostname || uname -n) 2>/dev/null | sed 1q` 7428 " 7429 7430 _ACEOF 7431 7432 case $ac_config_files in *" 7433 "*) set x $ac_config_files; shift; ac_config_files=$*;; 7434 esac 7435 7436 case $ac_config_headers in *" 7437 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7438 esac 7439 7440 7441 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7442 # Files that config.status was made for. 7443 config_files="$ac_config_files" 7444 config_headers="$ac_config_headers" 7445 7446 _ACEOF 7447 7448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7449 ac_cs_usage="\ 7450 \`$as_me' instantiates files and other configuration actions 7451 from templates according to the current configuration. Unless the files 7452 and actions are specified as TAGs, all are instantiated by default. 7453 7454 Usage: $0 [OPTION]... [TAG]... 7455 7456 -h, --help print this help, then exit 7457 -V, --version print version number and configuration settings, then exit 7458 --config print configuration, then exit 7459 -q, --quiet, --silent 7460 do not print progress messages 7461 -d, --debug don't remove temporary files 7462 --recheck update $as_me by reconfiguring in the same conditions 7463 --file=FILE[:TEMPLATE] 7464 instantiate the configuration file FILE 7465 --header=FILE[:TEMPLATE] 7466 instantiate the configuration header FILE 7467 7468 Configuration files: 7469 $config_files 7470 7471 Configuration headers: 7472 $config_headers 7473 7474 Report bugs to the package provider." 7475 7476 _ACEOF 7477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7478 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7479 ac_cs_version="\\ 7480 pjproject config.status 1.x 7481 configured by $0, generated by GNU Autoconf 2.65, 7482 with options \\"\$ac_cs_config\\" 7483 7484 Copyright (C) 2009 Free Software Foundation, Inc. 7485 This config.status script is free software; the Free Software Foundation 7486 gives unlimited permission to copy, distribute and modify it." 7487 7488 ac_pwd='$ac_pwd' 7489 srcdir='$srcdir' 7490 test -n "\$AWK" || AWK=awk 7491 _ACEOF 7492 7493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7494 # The default lists apply if the user does not specify any file. 7495 ac_need_defaults=: 7496 while test $# != 0 7497 do 7498 case $1 in 7499 --*=*) 7500 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7501 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7502 ac_shift=: 7503 ;; 7504 *) 7505 ac_option=$1 7506 ac_optarg=$2 7507 ac_shift=shift 7508 ;; 7509 esac 7510 7511 case $ac_option in 7512 # Handling of the options. 7513 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7514 ac_cs_recheck=: ;; 7515 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7516 $as_echo "$ac_cs_version"; exit ;; 7517 --config | --confi | --conf | --con | --co | --c ) 7518 $as_echo "$ac_cs_config"; exit ;; 7519 --debug | --debu | --deb | --de | --d | -d ) 7520 debug=: ;; 7521 --file | --fil | --fi | --f ) 7522 $ac_shift 7523 case $ac_optarg in 7524 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7525 esac 7526 as_fn_append CONFIG_FILES " '$ac_optarg'" 7527 ac_need_defaults=false;; 7528 --header | --heade | --head | --hea ) 7529 $ac_shift 7530 case $ac_optarg in 7531 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7532 esac 7533 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7534 ac_need_defaults=false;; 7535 --he | --h) 7536 # Conflict between --help and --header 7537 as_fn_error "ambiguous option: \`$1' 7538 Try \`$0 --help' for more information.";; 7539 --help | --hel | -h ) 7540 $as_echo "$ac_cs_usage"; exit ;; 7541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7542 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7543 ac_cs_silent=: ;; 7544 7545 # This is an error. 7546 -*) as_fn_error "unrecognized option: \`$1' 7547 Try \`$0 --help' for more information." ;; 7548 7549 *) as_fn_append ac_config_targets " $1" 7550 ac_need_defaults=false ;; 7551 7552 esac 7553 shift 7554 done 7555 7556 ac_configure_extra_args= 7557 7558 if $ac_cs_silent; then 7559 exec 6>/dev/null 7560 ac_configure_extra_args="$ac_configure_extra_args --silent" 7561 fi 7562 7563 _ACEOF 7564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7565 if \$ac_cs_recheck; then 7566 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7567 shift 7568 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7569 CONFIG_SHELL='$SHELL' 7570 export CONFIG_SHELL 7571 exec "\$@" 7572 fi 7573 7574 _ACEOF 7575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7576 exec 5>>config.log 7577 { 7578 echo 7579 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7580 ## Running $as_me. ## 7581 _ASBOX 7582 $as_echo "$ac_log" 7583 } >&5 7584 7585 _ACEOF 7586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7587 _ACEOF 7588 7589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7590 7591 # Handling of arguments. 7592 for ac_config_target in $ac_config_targets 7593 do 7594 case $ac_config_target in 7595 "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 7596 "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 7597 "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 7598 "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 7599 "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 7600 "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 7601 "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 7602 "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 7603 "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 7604 "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 7605 "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 7606 "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 7607 "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 7608 "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 7609 7610 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7611 esac 7612 done 7613 7614 7615 # If the user did not use the arguments to specify the items to instantiate, 7616 # then the envvar interface is used. Set only those that are not. 7617 # We use the long form for the default assignment because of an extremely 7618 # bizarre bug on SunOS 4.1.3. 7619 if $ac_need_defaults; then 7620 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7621 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7622 fi 7623 7624 # Have a temporary directory for convenience. Make it in the build tree 7625 # simply because there is no reason against having it here, and in addition, 7626 # creating and moving files from /tmp can sometimes cause problems. 7627 # Hook for its removal unless debugging. 7628 # Note that there is a small window in which the directory will not be cleaned: 7629 # after its creation but before its name has been assigned to `$tmp'. 7630 $debug || 7631 { 7632 tmp= 7633 trap 'exit_status=$? 7634 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7635 ' 0 7636 trap 'as_fn_exit 1' 1 2 13 15 7637 } 7638 # Create a (secure) tmp directory for tmp files. 7639 7640 { 7641 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7642 test -n "$tmp" && test -d "$tmp" 7643 } || 7644 { 7645 tmp=./conf$$-$RANDOM 7646 (umask 077 && mkdir "$tmp") 7647 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 7648 7649 # Set up the scripts for CONFIG_FILES section. 7650 # No need to generate them if there are no CONFIG_FILES. 7651 # This happens for instance with `./config.status config.h'. 7652 if test -n "$CONFIG_FILES"; then 7653 7654 7655 ac_cr=`echo X | tr X '\015'` 7656 # On cygwin, bash can eat \r inside `` if the user requested igncr. 7657 # But we know of no other shell where ac_cr would be empty at this 7658 # point, so we can use a bashism as a fallback. 7659 if test "x$ac_cr" = x; then 7660 eval ac_cr=\$\'\\r\' 7661 fi 7662 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7663 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7664 ac_cs_awk_cr='\r' 7665 else 7666 ac_cs_awk_cr=$ac_cr 7667 fi 7668 7669 echo 'BEGIN {' >"$tmp/subs1.awk" && 7670 _ACEOF 7671 7672 7673 { 7674 echo "cat >conf$$subs.awk <<_ACEOF" && 7675 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7676 echo "_ACEOF" 7677 } >conf$$subs.sh || 7678 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7679 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 7680 ac_delim='%!_!# ' 7681 for ac_last_try in false false false false false :; do 7682 . ./conf$$subs.sh || 7683 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7684 7685 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7686 if test $ac_delim_n = $ac_delim_num; then 7687 break 7688 elif $ac_last_try; then 7689 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7690 else 7691 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7692 fi 7693 done 7694 rm -f conf$$subs.sh 7695 7696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7697 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 7698 _ACEOF 7699 sed -n ' 7700 h 7701 s/^/S["/; s/!.*/"]=/ 7702 p 7703 g 7704 s/^[^!]*!// 7705 :repl 7706 t repl 7707 s/'"$ac_delim"'$// 7708 t delim 7709 :nl 7710 h 7711 s/\(.\{148\}\)..*/\1/ 7712 t more1 7713 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7714 p 7715 n 7716 b repl 7717 :more1 7718 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7719 p 7720 g 7721 s/.\{148\}// 7722 t nl 7723 :delim 7724 h 7725 s/\(.\{148\}\)..*/\1/ 7726 t more2 7727 s/["\\]/\\&/g; s/^/"/; s/$/"/ 7728 p 7729 b 7730 :more2 7731 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7732 p 7733 g 7734 s/.\{148\}// 7735 t delim 7736 ' <conf$$subs.awk | sed ' 7737 /^[^""]/{ 7738 N 7739 s/\n// 7740 } 7741 ' >>$CONFIG_STATUS || ac_write_fail=1 7742 rm -f conf$$subs.awk 7743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7744 _ACAWK 7745 cat >>"\$tmp/subs1.awk" <<_ACAWK && 7746 for (key in S) S_is_set[key] = 1 7747 FS = "" 7748 7749 } 7750 { 7751 line = $ 0 7752 nfields = split(line, field, "@") 7753 substed = 0 7754 len = length(field[1]) 7755 for (i = 2; i < nfields; i++) { 7756 key = field[i] 7757 keylen = length(key) 7758 if (S_is_set[key]) { 7759 value = S[key] 7760 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7761 len += length(value) + length(field[++i]) 7762 substed = 1 7763 } else 7764 len += 1 + keylen 7765 } 7766 7767 print line 7768 } 7769 7770 _ACAWK 7771 _ACEOF 7772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7773 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7774 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7775 else 7776 cat 7777 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 7778 || as_fn_error "could not setup config files machinery" "$LINENO" 5 7779 _ACEOF 7780 7781 # VPATH may cause trouble with some makes, so we remove $(srcdir), 7782 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7783 # trailing colons and then remove the whole line if VPATH becomes empty 7784 # (actually we leave an empty line to preserve line numbers). 7785 if test "x$srcdir" = x.; then 7786 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7787 s/:*\$(srcdir):*/:/ 7788 s/:*\${srcdir}:*/:/ 7789 s/:*@srcdir@:*/:/ 7790 s/^\([^=]*=[ ]*\):*/\1/ 7791 s/:*$// 7792 s/^[^=]*=[ ]*$// 7793 }' 7794 fi 7795 7796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7797 fi # test -n "$CONFIG_FILES" 7798 7799 # Set up the scripts for CONFIG_HEADERS section. 7800 # No need to generate them if there are no CONFIG_HEADERS. 7801 # This happens for instance with `./config.status Makefile'. 7802 if test -n "$CONFIG_HEADERS"; then 7803 cat >"$tmp/defines.awk" <<\_ACAWK || 7804 BEGIN { 7805 _ACEOF 7806 7807 # Transform confdefs.h into an awk script `defines.awk', embedded as 7808 # here-document in config.status, that substitutes the proper values into 7809 # config.h.in to produce config.h. 7810 7811 # Create a delimiter string that does not exist in confdefs.h, to ease 7812 # handling of long lines. 7813 ac_delim='%!_!# ' 7814 for ac_last_try in false false :; do 7815 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 7816 if test -z "$ac_t"; then 7817 break 7818 elif $ac_last_try; then 7819 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 7820 else 7821 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7822 fi 7823 done 7824 7825 # For the awk script, D is an array of macro values keyed by name, 7826 # likewise P contains macro parameters if any. Preserve backslash 7827 # newline sequences. 7828 7829 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7830 sed -n ' 7831 s/.\{148\}/&'"$ac_delim"'/g 7832 t rset 7833 :rset 7834 s/^[ ]*#[ ]*define[ ][ ]*/ / 7835 t def 7836 d 7837 :def 7838 s/\\$// 7839 t bsnl 7840 s/["\\]/\\&/g 7841 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7842 D["\1"]=" \3"/p 7843 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7844 d 7845 :bsnl 7846 s/["\\]/\\&/g 7847 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7848 D["\1"]=" \3\\\\\\n"\\/p 7849 t cont 7850 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7851 t cont 7852 d 7853 :cont 7854 n 7855 s/.\{148\}/&'"$ac_delim"'/g 7856 t clear 7857 :clear 7858 s/\\$// 7859 t bsnlc 7860 s/["\\]/\\&/g; s/^/"/; s/$/"/p 7861 d 7862 :bsnlc 7863 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7864 b cont 7865 ' <confdefs.h | sed ' 7866 s/'"$ac_delim"'/"\\\ 7867 "/g' >>$CONFIG_STATUS || ac_write_fail=1 7868 7869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7870 for (key in D) D_is_set[key] = 1 7871 FS = "" 7872 } 7873 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7874 line = \$ 0 7875 split(line, arg, " ") 7876 if (arg[1] == "#") { 7877 defundef = arg[2] 7878 mac1 = arg[3] 7879 } else { 7880 defundef = substr(arg[1], 2) 7881 mac1 = arg[2] 7882 } 7883 split(mac1, mac2, "(") #) 7884 macro = mac2[1] 7885 prefix = substr(line, 1, index(line, defundef) - 1) 7886 if (D_is_set[macro]) { 7887 # Preserve the white space surrounding the "#". 7888 print prefix "define", macro P[macro] D[macro] 7889 next 7890 } else { 7891 # Replace #undef with comments. This is necessary, for example, 7892 # in the case of _POSIX_SOURCE, which is predefined and required 7893 # on some systems where configure will not decide to define it. 7894 if (defundef == "undef") { 7895 print "/*", prefix defundef, macro, "*/" 7896 next 7897 } 7898 } 7899 } 7900 { print } 7901 _ACAWK 7902 _ACEOF 7903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7904 as_fn_error "could not setup config headers machinery" "$LINENO" 5 7905 fi # test -n "$CONFIG_HEADERS" 7906 7907 7908 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 7909 shift 7910 for ac_tag 7911 do 7912 case $ac_tag in 7913 :[FHLC]) ac_mode=$ac_tag; continue;; 7914 esac 7915 case $ac_mode$ac_tag in 7916 :[FHL]*:*);; 7917 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 7918 :[FH]-) ac_tag=-:-;; 7919 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7920 esac 7921 ac_save_IFS=$IFS 7922 IFS=: 7923 set x $ac_tag 7924 IFS=$ac_save_IFS 7925 shift 7926 ac_file=$1 7927 shift 7928 7929 case $ac_mode in 7930 :L) ac_source=$1;; 7931 :[FH]) 7932 ac_file_inputs= 7933 for ac_f 7934 do 7935 case $ac_f in 7936 -) ac_f="$tmp/stdin";; 7937 *) # Look for the file first in the build tree, then in the source tree 7938 # (if the path is not absolute). The absolute path cannot be DOS-style, 7939 # because $ac_f cannot contain `:'. 7940 test -f "$ac_f" || 7941 case $ac_f in 7942 [\\/$]*) false;; 7943 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7944 esac || 7945 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7946 esac 7947 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7948 as_fn_append ac_file_inputs " '$ac_f'" 7949 done 7950 7951 # Let's still pretend it is `configure' which instantiates (i.e., don't 7952 # use $as_me), people would be surprised to read: 7953 # /* config.h. Generated by config.status. */ 7954 configure_input='Generated from '` 7955 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7956 `' by configure.' 7957 if test x"$ac_file" != x-; then 7958 configure_input="$ac_file. $configure_input" 7959 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7960 $as_echo "$as_me: creating $ac_file" >&6;} 7961 fi 7962 # Neutralize special characters interpreted by sed in replacement strings. 7963 case $configure_input in #( 7964 *\&* | *\|* | *\\* ) 7965 ac_sed_conf_input=`$as_echo "$configure_input" | 7966 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7967 *) ac_sed_conf_input=$configure_input;; 7968 esac 7969 7970 case $ac_tag in 7971 *:-:* | *:-) cat >"$tmp/stdin" \ 7972 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 7973 esac 7974 ;; 7975 esac 7976 7977 ac_dir=`$as_dirname -- "$ac_file" || 7978 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7979 X"$ac_file" : 'X\(//\)[^/]' \| \ 7980 X"$ac_file" : 'X\(//\)$' \| \ 7981 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7982 $as_echo X"$ac_file" | 7983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7984 s//\1/ 7985 q 7986 } 7987 /^X\(\/\/\)[^/].*/{ 7988 s//\1/ 7989 q 7990 } 7991 /^X\(\/\/\)$/{ 7992 s//\1/ 7993 q 7994 } 7995 /^X\(\/\).*/{ 7996 s//\1/ 7997 q 7998 } 7999 s/.*/./; q'` 8000 as_dir="$ac_dir"; as_fn_mkdir_p 14401 8001 ac_builddir=. 14402 8002 … … 14404 8004 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14405 8005 *) 14406 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`8006 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14407 8007 # A ".." for each directory in $ac_dir_suffix. 14408 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`8008 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14409 8009 case $ac_top_builddir_sub in 14410 8010 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 14442 8042 _ACEOF 14443 8043 14444 cat >>$CONFIG_STATUS <<\_ACEOF 8044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14445 8045 # If the template does not know about datarootdir, expand it. 14446 8046 # FIXME: This hack should be removed a few years after 2.60. 14447 8047 ac_datarootdir_hack=; ac_datarootdir_seen= 14448 14449 case `sed -n '/datarootdir/ {8048 ac_sed_dataroot=' 8049 /datarootdir/ { 14450 8050 p 14451 8051 q … … 14455 8055 /@infodir@/p 14456 8056 /@localedir@/p 14457 /@mandir@/p 14458 ' $ac_file_inputs` in8057 /@mandir@/p' 8058 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14459 8059 *datarootdir*) ac_datarootdir_seen=yes;; 14460 8060 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14461 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&514462 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}14463 _ACEOF 14464 cat >>$CONFIG_STATUS <<_ACEOF 8061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 8062 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 8063 _ACEOF 8064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14465 8065 ac_datarootdir_hack=' 14466 8066 s&@datadir@&$datadir&g … … 14469 8069 s&@localedir@&$localedir&g 14470 8070 s&@mandir@&$mandir&g 14471 8071 s&\\\${datarootdir}&$datarootdir&g' ;; 14472 8072 esac 14473 8073 _ACEOF … … 14476 8076 # Shell code in configure.ac might set extrasub. 14477 8077 # FIXME: do we really want to maintain this feature? 14478 cat >>$CONFIG_STATUS <<_ACEOF 14479 sed"$ac_vpsub8078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8079 ac_sed_extra="$ac_vpsub 14480 8080 $extrasub 14481 8081 _ACEOF 14482 cat >>$CONFIG_STATUS <<\_ACEOF 8082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14483 8083 :t 14484 8084 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14485 s &@configure_input@&$configure_input&;t t8085 s|@configure_input@|$ac_sed_conf_input|;t t 14486 8086 s&@top_builddir@&$ac_top_builddir_sub&;t t 8087 s&@top_build_prefix@&$ac_top_build_prefix&;t t 14487 8088 s&@srcdir@&$ac_srcdir&;t t 14488 8089 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 14493 8094 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14494 8095 $ac_datarootdir_hack 14495 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 8096 " 8097 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 8098 || as_fn_error "could not create $ac_file" "$LINENO" 5 14496 8099 14497 8100 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14498 8101 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 14499 8102 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 14500 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'8103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14501 8104 which seems to be undefined. Please make sure it is defined." >&5 14502 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'8105 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14503 8106 which seems to be undefined. Please make sure it is defined." >&2;} 14504 8107 14505 8108 rm -f "$tmp/stdin" 14506 8109 case $ac_file in 14507 -) cat "$tmp/out"; rm -f "$tmp/out";; 14508 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 14509 esac 8110 -) cat "$tmp/out" && rm -f "$tmp/out";; 8111 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 8112 esac \ 8113 || as_fn_error "could not create $ac_file" "$LINENO" 5 14510 8114 ;; 14511 8115 :H) … … 14513 8117 # CONFIG_HEADER 14514 8118 # 14515 _ACEOF14516 14517 # Transform confdefs.h into a sed script `conftest.defines', that14518 # substitutes the proper values into config.h.in to produce config.h.14519 rm -f conftest.defines conftest.tail14520 # First, append a space to every undef/define line, to ease matching.14521 echo 's/$/ /' >conftest.defines14522 # Then, protect against being on the right side of a sed subst, or in14523 # an unquoted here document, in config.status. If some macros were14524 # called several times there might be several #defines for the same14525 # symbol, which is useless. But do not sort them, since the last14526 # AC_DEFINE must be honored.14527 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*14528 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where14529 # NAME is the cpp macro being defined, VALUE is the value it is being given.14530 # PARAMS is the parameter list in the macro definition--in most cases, it's14531 # just an empty string.14532 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'14533 ac_dB='\\)[ (].*,\\1define\\2'14534 ac_dC=' '14535 ac_dD=' ,'14536 14537 uniq confdefs.h |14538 sed -n '14539 t rset14540 :rset14541 s/^[ ]*#[ ]*define[ ][ ]*//14542 t ok14543 d14544 :ok14545 s/[\\&,]/\\&/g14546 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p14547 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p14548 ' >>conftest.defines14549 14550 # Remove the space that was appended to ease matching.14551 # Then replace #undef with comments. This is necessary, for14552 # example, in the case of _POSIX_SOURCE, which is predefined and required14553 # on some systems where configure will not decide to define it.14554 # (The regexp can be short, since the line contains either #define or #undef.)14555 echo 's/ $//14556 s,^[ #]*u.*,/* & */,' >>conftest.defines14557 14558 # Break up conftest.defines:14559 ac_max_sed_lines=5014560 14561 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"14562 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"14563 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"14564 # et cetera.14565 ac_in='$ac_file_inputs'14566 ac_out='"$tmp/out1"'14567 ac_nxt='"$tmp/out2"'14568 14569 while :14570 do14571 # Write a here document:14572 cat >>$CONFIG_STATUS <<_ACEOF14573 # First, check the format of the line:14574 cat >"\$tmp/defines.sed" <<\\CEOF14575 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def14576 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def14577 b14578 :def14579 _ACEOF14580 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS14581 echo 'CEOF14582 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS14583 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in14584 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail14585 grep . conftest.tail >/dev/null || break14586 rm -f conftest.defines14587 mv conftest.tail conftest.defines14588 done14589 rm -f conftest.defines conftest.tail14590 14591 echo "ac_result=$ac_in" >>$CONFIG_STATUS14592 cat >>$CONFIG_STATUS <<\_ACEOF14593 8119 if test x"$ac_file" != x-; then 14594 echo "/* $configure_input */" >"$tmp/config.h" 14595 cat "$ac_result" >>"$tmp/config.h" 14596 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 14597 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 14598 echo "$as_me: $ac_file is unchanged" >&6;} 8120 { 8121 $as_echo "/* $configure_input */" \ 8122 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 8123 } >"$tmp/config.h" \ 8124 || as_fn_error "could not create $ac_file" "$LINENO" 5 8125 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 8126 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 8127 $as_echo "$as_me: $ac_file is unchanged" >&6;} 14599 8128 else 14600 rm -f $ac_file 14601 mv "$tmp/config.h" $ac_file 8129 rm -f "$ac_file" 8130 mv "$tmp/config.h" "$ac_file" \ 8131 || as_fn_error "could not create $ac_file" "$LINENO" 5 14602 8132 fi 14603 8133 else 14604 echo "/* $configure_input */" 14605 cat "$ac_result" 8134 $as_echo "/* $configure_input */" \ 8135 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 8136 || as_fn_error "could not create -" "$LINENO" 5 14606 8137 fi 14607 rm -f "$tmp/out12"14608 8138 ;; 14609 8139 … … 14614 8144 14615 8145 14616 { (exit 0); exit 0; } 14617 _ACEOF 14618 chmod +x $CONFIG_STATUS 8146 as_fn_exit 0 8147 _ACEOF 14619 8148 ac_clean_files=$ac_clean_files_save 8149 8150 test $ac_write_fail = 0 || 8151 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 14620 8152 14621 8153 … … 14638 8170 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14639 8171 # would make configure fail if this is the last instruction. 14640 $ac_cs_success || { (exit 1); exit 1; } 14641 fi 14642 14643 14644 14645 { echo "$as_me:$LINENO: result: 8172 $ac_cs_success || as_fn_exit $? 8173 fi 8174 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8176 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8177 fi 8178 8179 8180 8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 14646 8182 14647 8183 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. … … 14653 8189 The next step now is to run 'make dep' and 'make'. 14654 8190 " >&5 14655 echo "${ECHO_T} 8191 $as_echo " 14656 8192 14657 8193 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
r3718 r3827 821 821 AC_SUBST(ac_ffmpeg_ldflags) 822 822 823 dnl # libz, needed by newer ffmpeg 824 AC_CHECK_LIB(z, deflate) 825 823 826 FFMPEG_PREFIX="" 824 827 if test "x$with_ffmpeg" != "xno" -a "x$with_ffmpeg" != "x"; then
Note: See TracChangeset
for help on using the changeset viewer.