- Timestamp:
- Apr 27, 2012 1:22:15 AM (13 years ago)
- Location:
- pjproject/branches/1.x
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x/aconfigure
r3968 r4107 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 opencore_amrnb_present 600 opencore_amrnb_h_present 601 ac_no_opencore_amrnb 602 libcrypto_present 603 libssl_present 604 openssl_h_present 605 ac_no_ssl 606 ac_resample_dll 607 ac_no_ilbc_codec 608 ac_no_speex_codec 609 ac_no_g7221_codec 610 ac_no_g722_codec 611 ac_no_gsm_codec 612 ac_no_l16_codec 613 ac_no_g711_codec 614 ac_no_speex_aec 615 ac_no_large_filter 616 ac_no_small_filter 617 ac_pa_use_oss 618 ac_pa_use_alsa 619 ac_pa_cflags 620 ac_external_pa 621 ac_pjmedia_snd 622 ac_external_gsm 623 ac_external_speex 624 ac_os_objs 625 EGREP 626 GREP 627 CPP 628 ac_shlib_suffix 629 ac_build_mak_vars 630 ac_pjdir 631 CC_CFLAGS 632 CC_OPTIMIZE 633 CC_DEF 634 CC_INC 635 CC_OUT 636 LIBEXT2 637 LIBEXT 638 RANLIB 639 LDOUT 640 LD 641 AR 642 ac_ct_CXX 643 CXXFLAGS 644 CXX 645 OBJEXT 646 EXEEXT 647 ac_ct_CC 648 CPPFLAGS 649 LDFLAGS 650 CFLAGS 651 CC 652 target_os 653 target_vendor 654 target_cpu 655 target 656 host_os 657 host_vendor 658 host_cpu 659 host 660 build_os 661 build_vendor 662 build_cpu 663 build 664 target_alias 665 host_alias 666 build_alias 667 LIBS 668 ECHO_T 669 ECHO_N 670 ECHO_C 671 DEFS 672 mandir 673 localedir 674 libdir 675 psdir 676 pdfdir 677 dvidir 678 htmldir 679 infodir 680 docdir 681 oldincludedir 682 includedir 683 localstatedir 684 sharedstatedir 685 sysconfdir 686 datadir 687 datarootdir 688 libexecdir 689 sbindir 690 bindir 691 program_transform_name 692 prefix 693 exec_prefix 694 PACKAGE_URL 695 PACKAGE_BUGREPORT 696 PACKAGE_STRING 697 PACKAGE_VERSION 698 PACKAGE_TARNAME 699 PACKAGE_NAME 616 700 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 ac_shlib_suffix 688 CPP 689 GREP 690 EGREP 691 ac_os_objs 692 ac_external_speex 693 ac_external_gsm 694 ac_pjmedia_snd 695 ac_external_pa 696 ac_pa_cflags 697 ac_pa_use_alsa 698 ac_pa_use_oss 699 ac_no_small_filter 700 ac_no_large_filter 701 ac_no_speex_aec 702 ac_no_g711_codec 703 ac_no_l16_codec 704 ac_no_gsm_codec 705 ac_no_g722_codec 706 ac_no_g7221_codec 707 ac_no_speex_codec 708 ac_no_ilbc_codec 709 ac_resample_dll 710 ac_no_ssl 711 openssl_h_present 712 libssl_present 713 libcrypto_present 714 ac_no_opencore_amrnb 715 opencore_amrnb_h_present 716 opencore_amrnb_present 717 ac_cross_compile 718 ac_linux_poll 719 ac_host 720 ac_main_obj 721 LIBOBJS 722 LTLIBOBJS' 701 SHELL' 723 702 ac_subst_files='' 703 ac_user_opts=' 704 enable_option_checking 705 enable_floating_point 706 enable_epoll 707 with_external_speex 708 with_external_gsm 709 enable_sound 710 with_external_pa 711 enable_oss 712 enable_ext_sound 713 enable_small_filter 714 enable_large_filter 715 enable_speex_aec 716 enable_g711_codec 717 enable_l16_codec 718 enable_gsm_codec 719 enable_g722_codec 720 enable_g7221_codec 721 enable_speex_codec 722 enable_ilbc_codec 723 enable_libsamplerate 724 enable_resample_dll 725 enable_ipp 726 with_ipp 727 with_ipp_samples 728 with_ipp_arch 729 enable_ssl 730 enable_opencore_amrnb 731 ' 724 732 ac_precious_vars='build_alias 725 733 host_alias … … 739 747 ac_init_help= 740 748 ac_init_version=false 749 ac_unrecognized_opts= 750 ac_unrecognized_sep= 741 751 # The variables have the same names as the options, with 742 752 # dashes changed to underlines. … … 837 847 838 848 -disable-* | --disable-*) 839 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`849 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 840 850 # Reject names that are not valid shell variable names. 841 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 842 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 843 { (exit 1); exit 1; }; } 844 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 845 eval enable_$ac_feature=no ;; 851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 852 as_fn_error "invalid feature name: $ac_useropt" 853 ac_useropt_orig=$ac_useropt 854 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 855 case $ac_user_opts in 856 *" 857 "enable_$ac_useropt" 858 "*) ;; 859 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 860 ac_unrecognized_sep=', ';; 861 esac 862 eval enable_$ac_useropt=no ;; 846 863 847 864 -docdir | --docdir | --docdi | --doc | --do) … … 856 873 857 874 -enable-* | --enable-*) 858 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`875 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 859 876 # Reject names that are not valid shell variable names. 860 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 861 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 862 { (exit 1); exit 1; }; } 863 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 864 eval enable_$ac_feature=\$ac_optarg ;; 877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 878 as_fn_error "invalid feature name: $ac_useropt" 879 ac_useropt_orig=$ac_useropt 880 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 881 case $ac_user_opts in 882 *" 883 "enable_$ac_useropt" 884 "*) ;; 885 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 886 ac_unrecognized_sep=', ';; 887 esac 888 eval enable_$ac_useropt=\$ac_optarg ;; 865 889 866 890 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1053 1077 1054 1078 -with-* | --with-*) 1055 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1079 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1056 1080 # Reject names that are not valid shell variable names. 1057 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1058 { echo "$as_me: error: invalid package name: $ac_package" >&2 1059 { (exit 1); exit 1; }; } 1060 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1061 eval with_$ac_package=\$ac_optarg ;; 1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1082 as_fn_error "invalid package name: $ac_useropt" 1083 ac_useropt_orig=$ac_useropt 1084 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1085 case $ac_user_opts in 1086 *" 1087 "with_$ac_useropt" 1088 "*) ;; 1089 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1090 ac_unrecognized_sep=', ';; 1091 esac 1092 eval with_$ac_useropt=\$ac_optarg ;; 1062 1093 1063 1094 -without-* | --without-*) 1064 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1095 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1065 1096 # Reject names that are not valid shell variable names. 1066 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1067 { echo "$as_me: error: invalid package name: $ac_package" >&2 1068 { (exit 1); exit 1; }; } 1069 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1070 eval with_$ac_package=no ;; 1097 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1098 as_fn_error "invalid package name: $ac_useropt" 1099 ac_useropt_orig=$ac_useropt 1100 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1101 case $ac_user_opts in 1102 *" 1103 "with_$ac_useropt" 1104 "*) ;; 1105 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1106 ac_unrecognized_sep=', ';; 1107 esac 1108 eval with_$ac_useropt=no ;; 1071 1109 1072 1110 --x) … … 1088 1126 x_libraries=$ac_optarg ;; 1089 1127 1090 -*) { echo "$as_me: error: unrecognized option: $ac_option 1091 Try \`$0 --help' for more information." >&2 1092 { (exit 1); exit 1; }; } 1128 -*) as_fn_error "unrecognized option: \`$ac_option' 1129 Try \`$0 --help' for more information." 1093 1130 ;; 1094 1131 … … 1096 1133 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1097 1134 # Reject names that are not valid shell variable names. 1098 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1099 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1100 { (exit 1); exit 1; }; } 1135 case $ac_envvar in #( 1136 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1137 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1138 esac 1101 1139 eval $ac_envvar=\$ac_optarg 1102 1140 export $ac_envvar ;; … … 1104 1142 *) 1105 1143 # FIXME: should be removed in autoconf 3.0. 1106 echo "$as_me: WARNING: you should use --build, --host, --target" >&21144 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1107 1145 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1108 echo "$as_me: WARNING: invalid host type: $ac_option" >&21146 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1109 1147 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1110 1148 ;; … … 1115 1153 if test -n "$ac_prev"; then 1116 1154 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1117 { echo "$as_me: error: missing argument to $ac_option" >&2 1118 { (exit 1); exit 1; }; } 1119 fi 1120 1121 # Be sure to have absolute directory names. 1155 as_fn_error "missing argument to $ac_option" 1156 fi 1157 1158 if test -n "$ac_unrecognized_opts"; then 1159 case $enable_option_checking in 1160 no) ;; 1161 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1162 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1163 esac 1164 fi 1165 1166 # Check all directory arguments for consistency. 1122 1167 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1123 1168 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1126 1171 do 1127 1172 eval ac_val=\$$ac_var 1173 # Remove trailing slashes. 1174 case $ac_val in 1175 */ ) 1176 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1177 eval $ac_var=\$ac_val;; 1178 esac 1179 # Be sure to have absolute directory names. 1128 1180 case $ac_val in 1129 1181 [\\/$]* | ?:[\\/]* ) continue;; 1130 1182 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1131 1183 esac 1132 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1133 { (exit 1); exit 1; }; } 1184 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1134 1185 done 1135 1186 … … 1145 1196 if test "x$build_alias" = x; then 1146 1197 cross_compiling=maybe 1147 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1198 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1148 1199 If a cross compiler is detected then cross compile mode will be used." >&2 1149 1200 elif test "x$build_alias" != "x$host_alias"; then … … 1161 1212 ac_ls_di=`ls -di .` && 1162 1213 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1163 { echo "$as_me: error: Working directory cannot be determined" >&2 1164 { (exit 1); exit 1; }; } 1214 as_fn_error "working directory cannot be determined" 1165 1215 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1166 { echo "$as_me: error: pwd does not report name of working directory" >&2 1167 { (exit 1); exit 1; }; } 1216 as_fn_error "pwd does not report name of working directory" 1168 1217 1169 1218 … … 1172 1221 ac_srcdir_defaulted=yes 1173 1222 # Try the directory containing this script, then the parent directory. 1174 ac_confdir=`$as_dirname -- "$ 0" ||1175 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1176 X"$ 0" : 'X\(//\)[^/]' \| \1177 X"$ 0" : 'X\(//\)$' \| \1178 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1179 echo X"$0" |1223 ac_confdir=`$as_dirname -- "$as_myself" || 1224 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1225 X"$as_myself" : 'X\(//\)[^/]' \| \ 1226 X"$as_myself" : 'X\(//\)$' \| \ 1227 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1228 $as_echo X"$as_myself" | 1180 1229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1181 1230 s//\1/ … … 1204 1253 if test ! -r "$srcdir/$ac_unique_file"; then 1205 1254 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1206 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1207 { (exit 1); exit 1; }; } 1255 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1208 1256 fi 1209 1257 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1210 1258 ac_abs_confdir=`( 1211 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1212 { (exit 1); exit 1; }; } 1259 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1213 1260 pwd)` 1214 1261 # When building in place, set srcdir=. … … 1258 1305 Installation directories: 1259 1306 --prefix=PREFIX install architecture-independent files in PREFIX 1260 1307 [$ac_default_prefix] 1261 1308 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1262 1309 [PREFIX] 1263 1310 1264 1311 By default, \`make install' will install all the files in … … 1270 1317 1271 1318 Fine tuning of the installation directories: 1272 --bindir=DIR user executables [EPREFIX/bin]1273 --sbindir=DIR system admin executables [EPREFIX/sbin]1274 --libexecdir=DIR program executables [EPREFIX/libexec]1275 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1276 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1277 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1278 --libdir=DIR object code libraries [EPREFIX/lib]1279 --includedir=DIR C header files [PREFIX/include]1280 --oldincludedir=DIR C header files for non-gcc [/usr/include]1281 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1282 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1283 --infodir=DIR info documentation [DATAROOTDIR/info]1284 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1285 --mandir=DIR man documentation [DATAROOTDIR/man]1286 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject]1287 --htmldir=DIR html documentation [DOCDIR]1288 --dvidir=DIR dvi documentation [DOCDIR]1289 --pdfdir=DIR pdf documentation [DOCDIR]1290 --psdir=DIR ps documentation [DOCDIR]1319 --bindir=DIR user executables [EPREFIX/bin] 1320 --sbindir=DIR system admin executables [EPREFIX/sbin] 1321 --libexecdir=DIR program executables [EPREFIX/libexec] 1322 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1323 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1324 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1325 --libdir=DIR object code libraries [EPREFIX/lib] 1326 --includedir=DIR C header files [PREFIX/include] 1327 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1328 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1329 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1330 --infodir=DIR info documentation [DATAROOTDIR/info] 1331 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1332 --mandir=DIR man documentation [DATAROOTDIR/man] 1333 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1334 --htmldir=DIR html documentation [DOCDIR] 1335 --dvidir=DIR dvi documentation [DOCDIR] 1336 --pdfdir=DIR pdf documentation [DOCDIR] 1337 --psdir=DIR ps documentation [DOCDIR] 1291 1338 _ACEOF 1292 1339 … … 1307 1354 1308 1355 Optional Features: 1356 --disable-option-checking ignore unrecognized --enable/--with options 1309 1357 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1310 1358 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1369 1417 nonstandard directory <lib dir> 1370 1418 LIBS libraries to pass to the linker, e.g. -l<library> 1371 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1419 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1372 1420 you have headers in a nonstandard directory <include dir> 1373 1421 CXX C++ compiler command … … 1378 1426 it to find libraries and programs with nonstandard names/locations. 1379 1427 1428 Report bugs to the package provider. 1380 1429 _ACEOF 1381 1430 ac_status=$? … … 1385 1434 # If there are subdirs, report their specific --help. 1386 1435 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1387 test -d "$ac_dir" || continue 1436 test -d "$ac_dir" || 1437 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1438 continue 1388 1439 ac_builddir=. 1389 1440 … … 1391 1442 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1392 1443 *) 1393 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1444 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1394 1445 # A ".." for each directory in $ac_dir_suffix. 1395 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1446 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1396 1447 case $ac_top_builddir_sub in 1397 1448 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1429 1480 $SHELL "$ac_srcdir/configure" --help=recursive 1430 1481 else 1431 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21482 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1432 1483 fi || ac_status=$? 1433 1484 cd "$ac_pwd" || { ac_status=$?; break; } … … 1439 1490 cat <<\_ACEOF 1440 1491 pjproject configure 1.x 1441 generated by GNU Autoconf 2.61 1442 1443 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1444 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1492 generated by GNU Autoconf 2.65 1493 1494 Copyright (C) 2009 Free Software Foundation, Inc. 1445 1495 This configure script is free software; the Free Software Foundation 1446 1496 gives unlimited permission to copy, distribute and modify it. … … 1448 1498 exit 1449 1499 fi 1500 1501 ## ------------------------ ## 1502 ## Autoconf initialization. ## 1503 ## ------------------------ ## 1504 1505 # ac_fn_c_try_compile LINENO 1506 # -------------------------- 1507 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1508 ac_fn_c_try_compile () 1509 { 1510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1511 rm -f conftest.$ac_objext 1512 if { { ac_try="$ac_compile" 1513 case "(($ac_try" in 1514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1515 *) ac_try_echo=$ac_try;; 1516 esac 1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1518 $as_echo "$ac_try_echo"; } >&5 1519 (eval "$ac_compile") 2>conftest.err 1520 ac_status=$? 1521 if test -s conftest.err; then 1522 grep -v '^ *+' conftest.err >conftest.er1 1523 cat conftest.er1 >&5 1524 mv -f conftest.er1 conftest.err 1525 fi 1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1527 test $ac_status = 0; } && { 1528 test -z "$ac_c_werror_flag" || 1529 test ! -s conftest.err 1530 } && test -s conftest.$ac_objext; then : 1531 ac_retval=0 1532 else 1533 $as_echo "$as_me: failed program was:" >&5 1534 sed 's/^/| /' conftest.$ac_ext >&5 1535 1536 ac_retval=1 1537 fi 1538 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1539 as_fn_set_status $ac_retval 1540 1541 } # ac_fn_c_try_compile 1542 1543 # ac_fn_cxx_try_compile LINENO 1544 # ---------------------------- 1545 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1546 ac_fn_cxx_try_compile () 1547 { 1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1549 rm -f conftest.$ac_objext 1550 if { { ac_try="$ac_compile" 1551 case "(($ac_try" in 1552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1553 *) ac_try_echo=$ac_try;; 1554 esac 1555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1556 $as_echo "$ac_try_echo"; } >&5 1557 (eval "$ac_compile") 2>conftest.err 1558 ac_status=$? 1559 if test -s conftest.err; then 1560 grep -v '^ *+' conftest.err >conftest.er1 1561 cat conftest.er1 >&5 1562 mv -f conftest.er1 conftest.err 1563 fi 1564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1565 test $ac_status = 0; } && { 1566 test -z "$ac_cxx_werror_flag" || 1567 test ! -s conftest.err 1568 } && test -s conftest.$ac_objext; then : 1569 ac_retval=0 1570 else 1571 $as_echo "$as_me: failed program was:" >&5 1572 sed 's/^/| /' conftest.$ac_ext >&5 1573 1574 ac_retval=1 1575 fi 1576 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1577 as_fn_set_status $ac_retval 1578 1579 } # ac_fn_cxx_try_compile 1580 1581 # ac_fn_c_try_link LINENO 1582 # ----------------------- 1583 # Try to link conftest.$ac_ext, and return whether this succeeded. 1584 ac_fn_c_try_link () 1585 { 1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1587 rm -f conftest.$ac_objext conftest$ac_exeext 1588 if { { ac_try="$ac_link" 1589 case "(($ac_try" in 1590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1591 *) ac_try_echo=$ac_try;; 1592 esac 1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1594 $as_echo "$ac_try_echo"; } >&5 1595 (eval "$ac_link") 2>conftest.err 1596 ac_status=$? 1597 if test -s conftest.err; then 1598 grep -v '^ *+' conftest.err >conftest.er1 1599 cat conftest.er1 >&5 1600 mv -f conftest.er1 conftest.err 1601 fi 1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1603 test $ac_status = 0; } && { 1604 test -z "$ac_c_werror_flag" || 1605 test ! -s conftest.err 1606 } && test -s conftest$ac_exeext && { 1607 test "$cross_compiling" = yes || 1608 $as_test_x conftest$ac_exeext 1609 }; then : 1610 ac_retval=0 1611 else 1612 $as_echo "$as_me: failed program was:" >&5 1613 sed 's/^/| /' conftest.$ac_ext >&5 1614 1615 ac_retval=1 1616 fi 1617 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1618 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1619 # interfere with the next link command; also delete a directory that is 1620 # left behind by Apple's compiler. We do this before executing the actions. 1621 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1622 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1623 as_fn_set_status $ac_retval 1624 1625 } # ac_fn_c_try_link 1626 1627 # ac_fn_c_try_run LINENO 1628 # ---------------------- 1629 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1630 # that executables *can* be run. 1631 ac_fn_c_try_run () 1632 { 1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1634 if { { ac_try="$ac_link" 1635 case "(($ac_try" in 1636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1637 *) ac_try_echo=$ac_try;; 1638 esac 1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1640 $as_echo "$ac_try_echo"; } >&5 1641 (eval "$ac_link") 2>&5 1642 ac_status=$? 1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1644 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1645 { { case "(($ac_try" in 1646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1647 *) ac_try_echo=$ac_try;; 1648 esac 1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1650 $as_echo "$ac_try_echo"; } >&5 1651 (eval "$ac_try") 2>&5 1652 ac_status=$? 1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1654 test $ac_status = 0; }; }; then : 1655 ac_retval=0 1656 else 1657 $as_echo "$as_me: program exited with status $ac_status" >&5 1658 $as_echo "$as_me: failed program was:" >&5 1659 sed 's/^/| /' conftest.$ac_ext >&5 1660 1661 ac_retval=$ac_status 1662 fi 1663 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1664 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1665 as_fn_set_status $ac_retval 1666 1667 } # ac_fn_c_try_run 1668 1669 # ac_fn_c_try_cpp LINENO 1670 # ---------------------- 1671 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1672 ac_fn_c_try_cpp () 1673 { 1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1675 if { { ac_try="$ac_cpp conftest.$ac_ext" 1676 case "(($ac_try" in 1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1678 *) ac_try_echo=$ac_try;; 1679 esac 1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1681 $as_echo "$ac_try_echo"; } >&5 1682 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1683 ac_status=$? 1684 if test -s conftest.err; then 1685 grep -v '^ *+' conftest.err >conftest.er1 1686 cat conftest.er1 >&5 1687 mv -f conftest.er1 conftest.err 1688 fi 1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1690 test $ac_status = 0; } >/dev/null && { 1691 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1692 test ! -s conftest.err 1693 }; then : 1694 ac_retval=0 1695 else 1696 $as_echo "$as_me: failed program was:" >&5 1697 sed 's/^/| /' conftest.$ac_ext >&5 1698 1699 ac_retval=1 1700 fi 1701 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1702 as_fn_set_status $ac_retval 1703 1704 } # ac_fn_c_try_cpp 1705 1706 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1707 # ------------------------------------------------------- 1708 # Tests whether HEADER exists and can be compiled using the include files in 1709 # INCLUDES, setting the cache variable VAR accordingly. 1710 ac_fn_c_check_header_compile () 1711 { 1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1714 $as_echo_n "checking for $2... " >&6; } 1715 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1716 $as_echo_n "(cached) " >&6 1717 else 1718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1719 /* end confdefs.h. */ 1720 $4 1721 #include <$2> 1722 _ACEOF 1723 if ac_fn_c_try_compile "$LINENO"; then : 1724 eval "$3=yes" 1725 else 1726 eval "$3=no" 1727 fi 1728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1729 fi 1730 eval ac_res=\$$3 1731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1732 $as_echo "$ac_res" >&6; } 1733 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1734 1735 } # ac_fn_c_check_header_compile 1736 1737 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1738 # ------------------------------------------------------- 1739 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1740 # the include files in INCLUDES and setting the cache variable VAR 1741 # accordingly. 1742 ac_fn_c_check_header_mongrel () 1743 { 1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1745 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1747 $as_echo_n "checking for $2... " >&6; } 1748 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1749 $as_echo_n "(cached) " >&6 1750 fi 1751 eval ac_res=\$$3 1752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1753 $as_echo "$ac_res" >&6; } 1754 else 1755 # Is the header compilable? 1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1757 $as_echo_n "checking $2 usability... " >&6; } 1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1759 /* end confdefs.h. */ 1760 $4 1761 #include <$2> 1762 _ACEOF 1763 if ac_fn_c_try_compile "$LINENO"; then : 1764 ac_header_compiler=yes 1765 else 1766 ac_header_compiler=no 1767 fi 1768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1770 $as_echo "$ac_header_compiler" >&6; } 1771 1772 # Is the header present? 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1774 $as_echo_n "checking $2 presence... " >&6; } 1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1776 /* end confdefs.h. */ 1777 #include <$2> 1778 _ACEOF 1779 if ac_fn_c_try_cpp "$LINENO"; then : 1780 ac_header_preproc=yes 1781 else 1782 ac_header_preproc=no 1783 fi 1784 rm -f conftest.err conftest.$ac_ext 1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1786 $as_echo "$ac_header_preproc" >&6; } 1787 1788 # So? What about this header? 1789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1790 yes:no: ) 1791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1792 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1794 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1795 ;; 1796 no:yes:* ) 1797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1798 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1800 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1802 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1804 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1806 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1807 ;; 1808 esac 1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1810 $as_echo_n "checking for $2... " >&6; } 1811 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1812 $as_echo_n "(cached) " >&6 1813 else 1814 eval "$3=\$ac_header_compiler" 1815 fi 1816 eval ac_res=\$$3 1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1818 $as_echo "$ac_res" >&6; } 1819 fi 1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1821 1822 } # ac_fn_c_check_header_mongrel 1823 1824 # ac_fn_c_check_func LINENO FUNC VAR 1825 # ---------------------------------- 1826 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1827 ac_fn_c_check_func () 1828 { 1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1831 $as_echo_n "checking for $2... " >&6; } 1832 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1833 $as_echo_n "(cached) " >&6 1834 else 1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1836 /* end confdefs.h. */ 1837 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1838 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1839 #define $2 innocuous_$2 1840 1841 /* System header to define __stub macros and hopefully few prototypes, 1842 which can conflict with char $2 (); below. 1843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1844 <limits.h> exists even on freestanding compilers. */ 1845 1846 #ifdef __STDC__ 1847 # include <limits.h> 1848 #else 1849 # include <assert.h> 1850 #endif 1851 1852 #undef $2 1853 1854 /* Override any GCC internal prototype to avoid an error. 1855 Use char because int might match the return type of a GCC 1856 builtin and then its argument prototype would still apply. */ 1857 #ifdef __cplusplus 1858 extern "C" 1859 #endif 1860 char $2 (); 1861 /* The GNU C library defines this for functions which it implements 1862 to always fail with ENOSYS. Some functions are actually named 1863 something starting with __ and the normal name is an alias. */ 1864 #if defined __stub_$2 || defined __stub___$2 1865 choke me 1866 #endif 1867 1868 int 1869 main () 1870 { 1871 return $2 (); 1872 ; 1873 return 0; 1874 } 1875 _ACEOF 1876 if ac_fn_c_try_link "$LINENO"; then : 1877 eval "$3=yes" 1878 else 1879 eval "$3=no" 1880 fi 1881 rm -f core conftest.err conftest.$ac_objext \ 1882 conftest$ac_exeext conftest.$ac_ext 1883 fi 1884 eval ac_res=\$$3 1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1886 $as_echo "$ac_res" >&6; } 1887 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1888 1889 } # ac_fn_c_check_func 1450 1890 cat >config.log <<_ACEOF 1451 1891 This file contains any messages produced by compilers while … … 1453 1893 1454 1894 It was created by pjproject $as_me 1.x, which was 1455 generated by GNU Autoconf 2.6 1. Invocation command line was1895 generated by GNU Autoconf 2.65. Invocation command line was 1456 1896 1457 1897 $ $0 $@ … … 1489 1929 IFS=$as_save_IFS 1490 1930 test -z "$as_dir" && as_dir=. 1491 echo "PATH: $as_dir"1492 done1931 $as_echo "PATH: $as_dir" 1932 done 1493 1933 IFS=$as_save_IFS 1494 1934 … … 1524 1964 continue ;; 1525 1965 *\'*) 1526 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1966 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1527 1967 esac 1528 1968 case $ac_pass in 1529 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1969 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1530 1970 2) 1531 a c_configure_args1="$ac_configure_args1'$ac_arg'"1971 as_fn_append ac_configure_args1 " '$ac_arg'" 1532 1972 if test $ac_must_keep_next = true; then 1533 1973 ac_must_keep_next=false # Got value, back to normal. … … 1545 1985 esac 1546 1986 fi 1547 a c_configure_args="$ac_configure_args'$ac_arg'"1987 as_fn_append ac_configure_args " '$ac_arg'" 1548 1988 ;; 1549 1989 esac 1550 1990 done 1551 1991 done 1552 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1553 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}1992 { ac_configure_args0=; unset ac_configure_args0;} 1993 { ac_configure_args1=; unset ac_configure_args1;} 1554 1994 1555 1995 # When interrupted or exit'd, cleanup temporary files, and complete … … 1576 2016 *${as_nl}*) 1577 2017 case $ac_var in #( 1578 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51579 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2018 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2019 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1580 2020 esac 1581 2021 case $ac_var in #( 1582 2022 _ | IFS | as_nl) ;; #( 1583 *) $as_unset $ac_var ;; 2023 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2024 *) { eval $ac_var=; unset $ac_var;} ;; 1584 2025 esac ;; 1585 2026 esac … … 1610 2051 eval ac_val=\$$ac_var 1611 2052 case $ac_val in 1612 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2053 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1613 2054 esac 1614 echo "$ac_var='\''$ac_val'\''"2055 $as_echo "$ac_var='\''$ac_val'\''" 1615 2056 done | sort 1616 2057 echo … … 1627 2068 eval ac_val=\$$ac_var 1628 2069 case $ac_val in 1629 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2070 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1630 2071 esac 1631 echo "$ac_var='\''$ac_val'\''"2072 $as_echo "$ac_var='\''$ac_val'\''" 1632 2073 done | sort 1633 2074 echo … … 1645 2086 fi 1646 2087 test "$ac_signal" != 0 && 1647 echo "$as_me: caught signal $ac_signal"1648 echo "$as_me: exit $exit_status"2088 $as_echo "$as_me: caught signal $ac_signal" 2089 $as_echo "$as_me: exit $exit_status" 1649 2090 } >&5 1650 2091 rm -f core *.core core.conftest.* && … … 1653 2094 ' 0 1654 2095 for ac_signal in 1 2 13 15; do 1655 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2096 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1656 2097 done 1657 2098 ac_signal=0 … … 1660 2101 rm -f -r conftest* confdefs.h 1661 2102 2103 $as_echo "/* confdefs.h */" > confdefs.h 2104 1662 2105 # Predefined preprocessor variables. 1663 2106 … … 1666 2109 _ACEOF 1667 2110 1668 1669 2111 cat >>confdefs.h <<_ACEOF 1670 2112 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1671 2113 _ACEOF 1672 2114 1673 1674 2115 cat >>confdefs.h <<_ACEOF 1675 2116 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1676 2117 _ACEOF 1677 2118 1678 1679 2119 cat >>confdefs.h <<_ACEOF 1680 2120 #define PACKAGE_STRING "$PACKAGE_STRING" 1681 2121 _ACEOF 1682 2122 1683 1684 2123 cat >>confdefs.h <<_ACEOF 1685 2124 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1686 2125 _ACEOF 1687 2126 2127 cat >>confdefs.h <<_ACEOF 2128 #define PACKAGE_URL "$PACKAGE_URL" 2129 _ACEOF 2130 1688 2131 1689 2132 # Let the site file select an alternate cache file if it wants to. 1690 # Prefer explicitly selected file to automatically selected ones. 2133 # Prefer an explicitly selected file to automatically selected ones. 2134 ac_site_file1=NONE 2135 ac_site_file2=NONE 1691 2136 if test -n "$CONFIG_SITE"; then 1692 set x "$CONFIG_SITE"2137 ac_site_file1=$CONFIG_SITE 1693 2138 elif test "x$prefix" != xNONE; then 1694 set x "$prefix/share/config.site" "$prefix/etc/config.site"1695 else1696 set x "$ac_default_prefix/share/config.site" \ 1697 "$ac_default_prefix/etc/config.site" 1698 fi 1699 shift 1700 for ac_site_file 2139 ac_site_file1=$prefix/share/config.site 2140 ac_site_file2=$prefix/etc/config.site 2141 else 2142 ac_site_file1=$ac_default_prefix/share/config.site 2143 ac_site_file2=$ac_default_prefix/etc/config.site 2144 fi 2145 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1701 2146 do 1702 if test -r "$ac_site_file"; then 1703 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1704 echo "$as_me: loading site script $ac_site_file" >&6;} 2147 test "x$ac_site_file" = xNONE && continue 2148 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2149 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2150 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1705 2151 sed 's/^/| /' "$ac_site_file" >&5 1706 2152 . "$ac_site_file" … … 1709 2155 1710 2156 if test -r "$cache_file"; then 1711 # Some versions of bash will fail to source /dev/null (special 1712 # files actually), so we avoid doing that.1713 if test -f "$cache_file"; then1714 { echo "$as_me:$LINENO: loading cache $cache_file" >&51715 echo "$as_me: loading cache $cache_file" >&6;}2157 # Some versions of bash will fail to source /dev/null (special files 2158 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2159 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2160 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2161 $as_echo "$as_me: loading cache $cache_file" >&6;} 1716 2162 case $cache_file in 1717 2163 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1720 2166 fi 1721 2167 else 1722 { echo "$as_me:$LINENO: creating cache $cache_file" >&51723 echo "$as_me: creating cache $cache_file" >&6;}2168 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2169 $as_echo "$as_me: creating cache $cache_file" >&6;} 1724 2170 >$cache_file 1725 2171 fi … … 1735 2181 case $ac_old_set,$ac_new_set in 1736 2182 set,) 1737 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51738 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2184 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1739 2185 ac_cache_corrupted=: ;; 1740 2186 ,set) 1741 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51742 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2187 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2188 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1743 2189 ac_cache_corrupted=: ;; 1744 2190 ,);; 1745 2191 *) 1746 2192 if test "x$ac_old_val" != "x$ac_new_val"; then 1747 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1748 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1749 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1750 echo "$as_me: former value: $ac_old_val" >&2;} 1751 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1752 echo "$as_me: current value: $ac_new_val" >&2;} 1753 ac_cache_corrupted=: 2193 # differences in whitespace do not lead to failure. 2194 ac_old_val_w=`echo x $ac_old_val` 2195 ac_new_val_w=`echo x $ac_new_val` 2196 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2197 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2198 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2199 ac_cache_corrupted=: 2200 else 2201 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2202 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2203 eval $ac_var=\$ac_old_val 2204 fi 2205 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2206 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2207 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2208 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1754 2209 fi;; 1755 2210 esac … … 1757 2212 if test "$ac_new_set" = set; then 1758 2213 case $ac_new_val in 1759 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2214 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1760 2215 *) ac_arg=$ac_var=$ac_new_val ;; 1761 2216 esac 1762 2217 case " $ac_configure_args " in 1763 2218 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1764 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2219 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1765 2220 esac 1766 2221 fi 1767 2222 done 1768 2223 if $ac_cache_corrupted; then 1769 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1770 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1771 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1772 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1773 { (exit 1); exit 1; }; } 1774 fi 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 2224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2227 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2228 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2229 fi 2230 ## -------------------- ## 2231 ## Main body of script. ## 2232 ## -------------------- ## 1799 2233 1800 2234 ac_ext=c … … 1810 2244 ac_aux_dir= 1811 2245 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1812 if test -f "$ac_dir/install-sh"; then 1813 ac_aux_dir=$ac_dir 1814 ac_install_sh="$ac_aux_dir/install-sh -c" 1815 break 1816 elif test -f "$ac_dir/install.sh"; then 1817 ac_aux_dir=$ac_dir 1818 ac_install_sh="$ac_aux_dir/install.sh -c" 1819 break 1820 elif test -f "$ac_dir/shtool"; then 1821 ac_aux_dir=$ac_dir 1822 ac_install_sh="$ac_aux_dir/shtool install -c" 1823 break 1824 fi 2246 for ac_t in install-sh install.sh shtool; do 2247 if test -f "$ac_dir/$ac_t"; then 2248 ac_aux_dir=$ac_dir 2249 ac_install_sh="$ac_aux_dir/$ac_t -c" 2250 break 2 2251 fi 2252 done 1825 2253 done 1826 2254 if test -z "$ac_aux_dir"; then 1827 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1828 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1829 { (exit 1); exit 1; }; } 2255 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1830 2256 fi 1831 2257 … … 1841 2267 # Make sure we can run config.sub. 1842 2268 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1843 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1844 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1845 { (exit 1); exit 1; }; } 1846 1847 { echo "$as_me:$LINENO: checking build system type" >&5 1848 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1849 if test "${ac_cv_build+set}" = set; then 1850 echo $ECHO_N "(cached) $ECHO_C" >&6 2269 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2270 2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2272 $as_echo_n "checking build system type... " >&6; } 2273 if test "${ac_cv_build+set}" = set; then : 2274 $as_echo_n "(cached) " >&6 1851 2275 else 1852 2276 ac_build_alias=$build_alias … … 1854 2278 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1855 2279 test "x$ac_build_alias" = x && 1856 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1857 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1858 { (exit 1); exit 1; }; } 2280 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1859 2281 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1860 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1861 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1862 { (exit 1); exit 1; }; } 1863 1864 fi 1865 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1866 echo "${ECHO_T}$ac_cv_build" >&6; } 2282 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2283 2284 fi 2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2286 $as_echo "$ac_cv_build" >&6; } 1867 2287 case $ac_cv_build in 1868 2288 *-*-*) ;; 1869 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1870 echo "$as_me: error: invalid value of canonical build" >&2;} 1871 { (exit 1); exit 1; }; };; 2289 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1872 2290 esac 1873 2291 build=$ac_cv_build … … 1885 2303 1886 2304 1887 { echo "$as_me:$LINENO: checking host system type" >&51888 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }1889 if test "${ac_cv_host+set}" = set; then 1890 echo $ECHO_N "(cached) $ECHO_C" >&62305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2306 $as_echo_n "checking host system type... " >&6; } 2307 if test "${ac_cv_host+set}" = set; then : 2308 $as_echo_n "(cached) " >&6 1891 2309 else 1892 2310 if test "x$host_alias" = x; then … … 1894 2312 else 1895 2313 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1896 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1897 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1898 { (exit 1); exit 1; }; } 1899 fi 1900 1901 fi 1902 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1903 echo "${ECHO_T}$ac_cv_host" >&6; } 2314 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2315 fi 2316 2317 fi 2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2319 $as_echo "$ac_cv_host" >&6; } 1904 2320 case $ac_cv_host in 1905 2321 *-*-*) ;; 1906 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1907 echo "$as_me: error: invalid value of canonical host" >&2;} 1908 { (exit 1); exit 1; }; };; 2322 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1909 2323 esac 1910 2324 host=$ac_cv_host … … 1922 2336 1923 2337 1924 { echo "$as_me:$LINENO: checking target system type" >&51925 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }1926 if test "${ac_cv_target+set}" = set; then 1927 echo $ECHO_N "(cached) $ECHO_C" >&62338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2339 $as_echo_n "checking target system type... " >&6; } 2340 if test "${ac_cv_target+set}" = set; then : 2341 $as_echo_n "(cached) " >&6 1928 2342 else 1929 2343 if test "x$target_alias" = x; then … … 1931 2345 else 1932 2346 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1933 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1934 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1935 { (exit 1); exit 1; }; } 1936 fi 1937 1938 fi 1939 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1940 echo "${ECHO_T}$ac_cv_target" >&6; } 2347 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2348 fi 2349 2350 fi 2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2352 $as_echo "$ac_cv_target" >&6; } 1941 2353 case $ac_cv_target in 1942 2354 *-*-*) ;; 1943 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1944 echo "$as_me: error: invalid value of canonical target" >&2;} 1945 { (exit 1); exit 1; }; };; 2355 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 1946 2356 esac 1947 2357 target=$ac_cv_target … … 1987 2397 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1988 2398 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1989 { echo "$as_me:$LINENO: checking for $ac_word" >&51990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1991 if test "${ac_cv_prog_CC+set}" = set; then 1992 echo $ECHO_N "(cached) $ECHO_C" >&62399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2400 $as_echo_n "checking for $ac_word... " >&6; } 2401 if test "${ac_cv_prog_CC+set}" = set; then : 2402 $as_echo_n "(cached) " >&6 1993 2403 else 1994 2404 if test -n "$CC"; then … … 2000 2410 IFS=$as_save_IFS 2001 2411 test -z "$as_dir" && as_dir=. 2002 for ac_exec_ext in '' $ac_executable_extensions; do2412 for ac_exec_ext in '' $ac_executable_extensions; do 2003 2413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2004 2414 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2006 2416 break 2 2007 2417 fi 2008 2418 done 2009 done2419 done 2010 2420 IFS=$as_save_IFS 2011 2421 … … 2014 2424 CC=$ac_cv_prog_CC 2015 2425 if test -n "$CC"; then 2016 { echo "$as_me:$LINENO: result: $CC" >&52017 echo "${ECHO_T}$CC" >&6; }2018 else 2019 { echo "$as_me:$LINENO: result: no" >&52020 echo "${ECHO_T}no" >&6; }2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2427 $as_echo "$CC" >&6; } 2428 else 2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2430 $as_echo "no" >&6; } 2021 2431 fi 2022 2432 … … 2027 2437 # Extract the first word of "gcc", so it can be a program name with args. 2028 2438 set dummy gcc; ac_word=$2 2029 { echo "$as_me:$LINENO: checking for $ac_word" >&52030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2031 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2032 echo $ECHO_N "(cached) $ECHO_C" >&62439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2440 $as_echo_n "checking for $ac_word... " >&6; } 2441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2442 $as_echo_n "(cached) " >&6 2033 2443 else 2034 2444 if test -n "$ac_ct_CC"; then … … 2040 2450 IFS=$as_save_IFS 2041 2451 test -z "$as_dir" && as_dir=. 2042 for ac_exec_ext in '' $ac_executable_extensions; do2452 for ac_exec_ext in '' $ac_executable_extensions; do 2043 2453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2044 2454 ac_cv_prog_ac_ct_CC="gcc" 2045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2046 2456 break 2 2047 2457 fi 2048 2458 done 2049 done2459 done 2050 2460 IFS=$as_save_IFS 2051 2461 … … 2054 2464 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2055 2465 if test -n "$ac_ct_CC"; then 2056 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52057 echo "${ECHO_T}$ac_ct_CC" >&6; }2058 else 2059 { echo "$as_me:$LINENO: result: no" >&52060 echo "${ECHO_T}no" >&6; }2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2467 $as_echo "$ac_ct_CC" >&6; } 2468 else 2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2470 $as_echo "no" >&6; } 2061 2471 fi 2062 2472 … … 2066 2476 case $cross_compiling:$ac_tool_warned in 2067 2477 yes:) 2068 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2069 whose name does not start with the host triplet. If you think this 2070 configuration is useful to you, please write to autoconf@gnu.org." >&5 2071 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2072 whose name does not start with the host triplet. If you think this 2073 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2074 2480 ac_tool_warned=yes ;; 2075 2481 esac … … 2084 2490 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2085 2491 set dummy ${ac_tool_prefix}cc; ac_word=$2 2086 { echo "$as_me:$LINENO: checking for $ac_word" >&52087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2088 if test "${ac_cv_prog_CC+set}" = set; then 2089 echo $ECHO_N "(cached) $ECHO_C" >&62492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2493 $as_echo_n "checking for $ac_word... " >&6; } 2494 if test "${ac_cv_prog_CC+set}" = set; then : 2495 $as_echo_n "(cached) " >&6 2090 2496 else 2091 2497 if test -n "$CC"; then … … 2097 2503 IFS=$as_save_IFS 2098 2504 test -z "$as_dir" && as_dir=. 2099 for ac_exec_ext in '' $ac_executable_extensions; do2505 for ac_exec_ext in '' $ac_executable_extensions; do 2100 2506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2101 2507 ac_cv_prog_CC="${ac_tool_prefix}cc" 2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2103 2509 break 2 2104 2510 fi 2105 2511 done 2106 done2512 done 2107 2513 IFS=$as_save_IFS 2108 2514 … … 2111 2517 CC=$ac_cv_prog_CC 2112 2518 if test -n "$CC"; then 2113 { echo "$as_me:$LINENO: result: $CC" >&52114 echo "${ECHO_T}$CC" >&6; }2115 else 2116 { echo "$as_me:$LINENO: result: no" >&52117 echo "${ECHO_T}no" >&6; }2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2520 $as_echo "$CC" >&6; } 2521 else 2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2523 $as_echo "no" >&6; } 2118 2524 fi 2119 2525 … … 2124 2530 # Extract the first word of "cc", so it can be a program name with args. 2125 2531 set dummy cc; ac_word=$2 2126 { echo "$as_me:$LINENO: checking for $ac_word" >&52127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2128 if test "${ac_cv_prog_CC+set}" = set; then 2129 echo $ECHO_N "(cached) $ECHO_C" >&62532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2533 $as_echo_n "checking for $ac_word... " >&6; } 2534 if test "${ac_cv_prog_CC+set}" = set; then : 2535 $as_echo_n "(cached) " >&6 2130 2536 else 2131 2537 if test -n "$CC"; then … … 2138 2544 IFS=$as_save_IFS 2139 2545 test -z "$as_dir" && as_dir=. 2140 for ac_exec_ext in '' $ac_executable_extensions; do2546 for ac_exec_ext in '' $ac_executable_extensions; do 2141 2547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2142 2548 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2145 2551 fi 2146 2552 ac_cv_prog_CC="cc" 2147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2148 2554 break 2 2149 2555 fi 2150 2556 done 2151 done2557 done 2152 2558 IFS=$as_save_IFS 2153 2559 … … 2168 2574 CC=$ac_cv_prog_CC 2169 2575 if test -n "$CC"; then 2170 { echo "$as_me:$LINENO: result: $CC" >&52171 echo "${ECHO_T}$CC" >&6; }2172 else 2173 { echo "$as_me:$LINENO: result: no" >&52174 echo "${ECHO_T}no" >&6; }2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2577 $as_echo "$CC" >&6; } 2578 else 2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2580 $as_echo "no" >&6; } 2175 2581 fi 2176 2582 … … 2183 2589 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2184 2590 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2185 { echo "$as_me:$LINENO: checking for $ac_word" >&52186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2187 if test "${ac_cv_prog_CC+set}" = set; then 2188 echo $ECHO_N "(cached) $ECHO_C" >&62591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2592 $as_echo_n "checking for $ac_word... " >&6; } 2593 if test "${ac_cv_prog_CC+set}" = set; then : 2594 $as_echo_n "(cached) " >&6 2189 2595 else 2190 2596 if test -n "$CC"; then … … 2196 2602 IFS=$as_save_IFS 2197 2603 test -z "$as_dir" && as_dir=. 2198 for ac_exec_ext in '' $ac_executable_extensions; do2604 for ac_exec_ext in '' $ac_executable_extensions; do 2199 2605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2200 2606 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2202 2608 break 2 2203 2609 fi 2204 2610 done 2205 done2611 done 2206 2612 IFS=$as_save_IFS 2207 2613 … … 2210 2616 CC=$ac_cv_prog_CC 2211 2617 if test -n "$CC"; then 2212 { echo "$as_me:$LINENO: result: $CC" >&52213 echo "${ECHO_T}$CC" >&6; }2214 else 2215 { echo "$as_me:$LINENO: result: no" >&52216 echo "${ECHO_T}no" >&6; }2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2619 $as_echo "$CC" >&6; } 2620 else 2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2622 $as_echo "no" >&6; } 2217 2623 fi 2218 2624 … … 2227 2633 # Extract the first word of "$ac_prog", so it can be a program name with args. 2228 2634 set dummy $ac_prog; ac_word=$2 2229 { echo "$as_me:$LINENO: checking for $ac_word" >&52230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2231 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2232 echo $ECHO_N "(cached) $ECHO_C" >&62635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2636 $as_echo_n "checking for $ac_word... " >&6; } 2637 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2638 $as_echo_n "(cached) " >&6 2233 2639 else 2234 2640 if test -n "$ac_ct_CC"; then … … 2240 2646 IFS=$as_save_IFS 2241 2647 test -z "$as_dir" && as_dir=. 2242 for ac_exec_ext in '' $ac_executable_extensions; do2648 for ac_exec_ext in '' $ac_executable_extensions; do 2243 2649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2244 2650 ac_cv_prog_ac_ct_CC="$ac_prog" 2245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2246 2652 break 2 2247 2653 fi 2248 2654 done 2249 done2655 done 2250 2656 IFS=$as_save_IFS 2251 2657 … … 2254 2660 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2255 2661 if test -n "$ac_ct_CC"; then 2256 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52257 echo "${ECHO_T}$ac_ct_CC" >&6; }2258 else 2259 { echo "$as_me:$LINENO: result: no" >&52260 echo "${ECHO_T}no" >&6; }2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2663 $as_echo "$ac_ct_CC" >&6; } 2664 else 2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2666 $as_echo "no" >&6; } 2261 2667 fi 2262 2668 … … 2270 2676 case $cross_compiling:$ac_tool_warned in 2271 2677 yes:) 2272 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2273 whose name does not start with the host triplet. If you think this 2274 configuration is useful to you, please write to autoconf@gnu.org." >&5 2275 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2276 whose name does not start with the host triplet. If you think this 2277 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2278 2680 ac_tool_warned=yes ;; 2279 2681 esac … … 2285 2687 2286 2688 2287 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2288 See \`config.log' for more details." >&5 2289 echo "$as_me: error: no acceptable C compiler found in \$PATH 2290 See \`config.log' for more details." >&2;} 2291 { (exit 1); exit 1; }; } 2689 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2691 as_fn_error "no acceptable C compiler found in \$PATH 2692 See \`config.log' for more details." "$LINENO" 5; } 2292 2693 2293 2694 # Provide some information about the compiler. 2294 echo "$as_me:$LINENO: checking for C compiler version" >&5 2295 ac_compiler=`set X $ac_compile; echo $2` 2296 { (ac_try="$ac_compiler --version >&5" 2695 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2696 set X $ac_compile 2697 ac_compiler=$2 2698 for ac_option in --version -v -V -qversion; do 2699 { { ac_try="$ac_compiler $ac_option >&5" 2297 2700 case "(($ac_try" in 2298 2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2299 2702 *) ac_try_echo=$ac_try;; 2300 2703 esac 2301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2302 (eval "$ac_compiler --version >&5") 2>&5 2704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2705 $as_echo "$ac_try_echo"; } >&5 2706 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2303 2707 ac_status=$? 2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2305 (exit $ac_status); } 2306 { (ac_try="$ac_compiler -v >&5" 2708 if test -s conftest.err; then 2709 sed '10a\ 2710 ... rest of stderr output deleted ... 2711 10q' conftest.err >conftest.er1 2712 cat conftest.er1 >&5 2713 fi 2714 rm -f conftest.er1 conftest.err 2715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2716 test $ac_status = 0; } 2717 done 2718 2719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2720 /* end confdefs.h. */ 2721 2722 int 2723 main () 2724 { 2725 2726 ; 2727 return 0; 2728 } 2729 _ACEOF 2730 ac_clean_files_save=$ac_clean_files 2731 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2732 # Try to create an executable without -o first, disregard a.out. 2733 # It will help us diagnose broken compilers, and finding out an intuition 2734 # of exeext. 2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2736 $as_echo_n "checking whether the C compiler works... " >&6; } 2737 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2738 2739 # The possible output files: 2740 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2741 2742 ac_rmfiles= 2743 for ac_file in $ac_files 2744 do 2745 case $ac_file in 2746 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2747 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2748 esac 2749 done 2750 rm -f $ac_rmfiles 2751 2752 if { { ac_try="$ac_link_default" 2307 2753 case "(($ac_try" in 2308 2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2309 2755 *) ac_try_echo=$ac_try;; 2310 2756 esac 2311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2312 (eval "$ac_compiler -v >&5") 2>&5 2313 ac_status=$? 2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2315 (exit $ac_status); } 2316 { (ac_try="$ac_compiler -V >&5" 2317 case "(($ac_try" in 2318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2319 *) ac_try_echo=$ac_try;; 2320 esac 2321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2322 (eval "$ac_compiler -V >&5") 2>&5 2323 ac_status=$? 2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2325 (exit $ac_status); } 2326 2327 cat >conftest.$ac_ext <<_ACEOF 2328 /* confdefs.h. */ 2329 _ACEOF 2330 cat confdefs.h >>conftest.$ac_ext 2331 cat >>conftest.$ac_ext <<_ACEOF 2332 /* end confdefs.h. */ 2333 2334 int 2335 main () 2336 { 2337 2338 ; 2339 return 0; 2340 } 2341 _ACEOF 2342 ac_clean_files_save=$ac_clean_files 2343 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2344 # Try to create an executable without -o first, disregard a.out. 2345 # It will help us diagnose broken compilers, and finding out an intuition 2346 # of exeext. 2347 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2348 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2349 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2350 # 2351 # List of possible output files, starting from the most likely. 2352 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2353 # only as a last resort. b.out is created by i960 compilers. 2354 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2355 # 2356 # The IRIX 6 linker writes into existing files which may not be 2357 # executable, retaining their permissions. Remove them first so a 2358 # subsequent execution test works. 2359 ac_rmfiles= 2360 for ac_file in $ac_files 2361 do 2362 case $ac_file in 2363 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2364 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2365 esac 2366 done 2367 rm -f $ac_rmfiles 2368 2369 if { (ac_try="$ac_link_default" 2370 case "(($ac_try" in 2371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2372 *) ac_try_echo=$ac_try;; 2373 esac 2374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2758 $as_echo "$ac_try_echo"; } >&5 2375 2759 (eval "$ac_link_default") 2>&5 2376 2760 ac_status=$? 2377 echo "$as_me:$LINENO: \$? = $ac_status" >&52378 (exit $ac_status); }; then2761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2762 test $ac_status = 0; }; then : 2379 2763 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2380 2764 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2386 2770 test -f "$ac_file" || continue 2387 2771 case $ac_file in 2388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )2772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2389 2773 ;; 2390 2774 [ab].out ) … … 2393 2777 break;; 2394 2778 *.* ) 2395 2779 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2396 2780 then :; else 2397 2781 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2412 2796 ac_file='' 2413 2797 fi 2414 2415 { echo "$as_me:$LINENO: result: $ac_file" >&5 2416 echo "${ECHO_T}$ac_file" >&6; } 2417 if test -z "$ac_file"; then 2418 echo "$as_me: failed program was:" >&5 2798 if test -z "$ac_file"; then : 2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2800 $as_echo "no" >&6; } 2801 $as_echo "$as_me: failed program was:" >&5 2419 2802 sed 's/^/| /' conftest.$ac_ext >&5 2420 2803 2421 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2422 See \`config.log' for more details." >&5 2423 echo "$as_me: error: C compiler cannot create executables 2424 See \`config.log' for more details." >&2;} 2425 { (exit 77); exit 77; }; } 2426 fi 2427 2804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2806 { as_fn_set_status 77 2807 as_fn_error "C compiler cannot create executables 2808 See \`config.log' for more details." "$LINENO" 5; }; } 2809 else 2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2811 $as_echo "yes" >&6; } 2812 fi 2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2814 $as_echo_n "checking for C compiler default output file name... " >&6; } 2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2816 $as_echo "$ac_file" >&6; } 2428 2817 ac_exeext=$ac_cv_exeext 2429 2818 2430 # Check that the compiler produces executables we can run. If not, either 2431 # the compiler is broken, or we cross compile. 2432 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2433 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2434 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2435 # If not cross compiling, check that we can run a simple program. 2436 if test "$cross_compiling" != yes; then 2437 if { ac_try='./$ac_file' 2438 { (case "(($ac_try" in 2439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2440 *) ac_try_echo=$ac_try;; 2441 esac 2442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2443 (eval "$ac_try") 2>&5 2444 ac_status=$? 2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2446 (exit $ac_status); }; }; then 2447 cross_compiling=no 2448 else 2449 if test "$cross_compiling" = maybe; then 2450 cross_compiling=yes 2451 else 2452 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2453 If you meant to cross compile, use \`--host'. 2454 See \`config.log' for more details." >&5 2455 echo "$as_me: error: cannot run C compiled programs. 2456 If you meant to cross compile, use \`--host'. 2457 See \`config.log' for more details." >&2;} 2458 { (exit 1); exit 1; }; } 2459 fi 2460 fi 2461 fi 2462 { echo "$as_me:$LINENO: result: yes" >&5 2463 echo "${ECHO_T}yes" >&6; } 2464 2465 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2819 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2466 2820 ac_clean_files=$ac_clean_files_save 2467 # Check that the compiler produces executables we can run. If not, either 2468 # the compiler is broken, or we cross compile. 2469 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2470 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2471 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2472 echo "${ECHO_T}$cross_compiling" >&6; } 2473 2474 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2475 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2476 if { (ac_try="$ac_link" 2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2822 $as_echo_n "checking for suffix of executables... " >&6; } 2823 if { { ac_try="$ac_link" 2477 2824 case "(($ac_try" in 2478 2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2479 2826 *) ac_try_echo=$ac_try;; 2480 2827 esac 2481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2829 $as_echo "$ac_try_echo"; } >&5 2482 2830 (eval "$ac_link") 2>&5 2483 2831 ac_status=$? 2484 echo "$as_me:$LINENO: \$? = $ac_status" >&52485 (exit $ac_status); }; then2832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2833 test $ac_status = 0; }; then : 2486 2834 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2487 2835 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2491 2839 test -f "$ac_file" || continue 2492 2840 case $ac_file in 2493 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;2841 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2494 2842 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2495 2843 break;; … … 2498 2846 done 2499 2847 else 2500 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2501 See \`config.log' for more details." >&5 2502 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2503 See \`config.log' for more details." >&2;} 2504 { (exit 1); exit 1; }; } 2505 fi 2506 2507 rm -f conftest$ac_cv_exeext 2508 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2509 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2848 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2850 as_fn_error "cannot compute suffix of executables: cannot compile and link 2851 See \`config.log' for more details." "$LINENO" 5; } 2852 fi 2853 rm -f conftest conftest$ac_cv_exeext 2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2855 $as_echo "$ac_cv_exeext" >&6; } 2510 2856 2511 2857 rm -f conftest.$ac_ext 2512 2858 EXEEXT=$ac_cv_exeext 2513 2859 ac_exeext=$EXEEXT 2514 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2515 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2516 if test "${ac_cv_objext+set}" = set; then 2517 echo $ECHO_N "(cached) $ECHO_C" >&6 2518 else 2519 cat >conftest.$ac_ext <<_ACEOF 2520 /* confdefs.h. */ 2521 _ACEOF 2522 cat confdefs.h >>conftest.$ac_ext 2523 cat >>conftest.$ac_ext <<_ACEOF 2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2524 2861 /* end confdefs.h. */ 2525 2862 #include <stdio.h> 2526 2863 int 2527 2864 main () 2528 2865 { 2866 FILE *f = fopen ("conftest.out", "w"); 2867 return ferror (f) || fclose (f) != 0; 2529 2868 2530 2869 ; … … 2532 2871 } 2533 2872 _ACEOF 2534 rm -f conftest.o conftest.obj 2535 if { (ac_try="$ac_compile" 2873 ac_clean_files="$ac_clean_files conftest.out" 2874 # Check that the compiler produces executables we can run. If not, either 2875 # the compiler is broken, or we cross compile. 2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2877 $as_echo_n "checking whether we are cross compiling... " >&6; } 2878 if test "$cross_compiling" != yes; then 2879 { { ac_try="$ac_link" 2536 2880 case "(($ac_try" in 2537 2881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2538 2882 *) ac_try_echo=$ac_try;; 2539 2883 esac 2540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2885 $as_echo "$ac_try_echo"; } >&5 2886 (eval "$ac_link") 2>&5 2887 ac_status=$? 2888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2889 test $ac_status = 0; } 2890 if { ac_try='./conftest$ac_cv_exeext' 2891 { { case "(($ac_try" in 2892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2893 *) ac_try_echo=$ac_try;; 2894 esac 2895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2896 $as_echo "$ac_try_echo"; } >&5 2897 (eval "$ac_try") 2>&5 2898 ac_status=$? 2899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2900 test $ac_status = 0; }; }; then 2901 cross_compiling=no 2902 else 2903 if test "$cross_compiling" = maybe; then 2904 cross_compiling=yes 2905 else 2906 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2908 as_fn_error "cannot run C compiled programs. 2909 If you meant to cross compile, use \`--host'. 2910 See \`config.log' for more details." "$LINENO" 5; } 2911 fi 2912 fi 2913 fi 2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2915 $as_echo "$cross_compiling" >&6; } 2916 2917 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2918 ac_clean_files=$ac_clean_files_save 2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2920 $as_echo_n "checking for suffix of object files... " >&6; } 2921 if test "${ac_cv_objext+set}" = set; then : 2922 $as_echo_n "(cached) " >&6 2923 else 2924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2925 /* end confdefs.h. */ 2926 2927 int 2928 main () 2929 { 2930 2931 ; 2932 return 0; 2933 } 2934 _ACEOF 2935 rm -f conftest.o conftest.obj 2936 if { { ac_try="$ac_compile" 2937 case "(($ac_try" in 2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2939 *) ac_try_echo=$ac_try;; 2940 esac 2941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2942 $as_echo "$ac_try_echo"; } >&5 2541 2943 (eval "$ac_compile") 2>&5 2542 2944 ac_status=$? 2543 echo "$as_me:$LINENO: \$? = $ac_status" >&52544 (exit $ac_status); }; then2945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2946 test $ac_status = 0; }; then : 2545 2947 for ac_file in conftest.o conftest.obj conftest.*; do 2546 2948 test -f "$ac_file" || continue; 2547 2949 case $ac_file in 2548 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;2950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2549 2951 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2550 2952 break;; … … 2552 2954 done 2553 2955 else 2554 echo "$as_me: failed program was:" >&52956 $as_echo "$as_me: failed program was:" >&5 2555 2957 sed 's/^/| /' conftest.$ac_ext >&5 2556 2958 2557 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2558 See \`config.log' for more details." >&5 2559 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2560 See \`config.log' for more details." >&2;} 2561 { (exit 1); exit 1; }; } 2562 fi 2563 2959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2961 as_fn_error "cannot compute suffix of object files: cannot compile 2962 See \`config.log' for more details." "$LINENO" 5; } 2963 fi 2564 2964 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2565 2965 fi 2566 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52567 echo "${ECHO_T}$ac_cv_objext" >&6; }2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2967 $as_echo "$ac_cv_objext" >&6; } 2568 2968 OBJEXT=$ac_cv_objext 2569 2969 ac_objext=$OBJEXT 2570 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2571 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2572 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2573 echo $ECHO_N "(cached) $ECHO_C" >&6 2574 else 2575 cat >conftest.$ac_ext <<_ACEOF 2576 /* confdefs.h. */ 2577 _ACEOF 2578 cat confdefs.h >>conftest.$ac_ext 2579 cat >>conftest.$ac_ext <<_ACEOF 2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2971 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2972 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2973 $as_echo_n "(cached) " >&6 2974 else 2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2580 2976 /* end confdefs.h. */ 2581 2977 … … 2591 2987 } 2592 2988 _ACEOF 2593 rm -f conftest.$ac_objext 2594 if { (ac_try="$ac_compile" 2595 case "(($ac_try" in 2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2597 *) ac_try_echo=$ac_try;; 2598 esac 2599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2600 (eval "$ac_compile") 2>conftest.er1 2601 ac_status=$? 2602 grep -v '^ *+' conftest.er1 >conftest.err 2603 rm -f conftest.er1 2604 cat conftest.err >&5 2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2606 (exit $ac_status); } && { 2607 test -z "$ac_c_werror_flag" || 2608 test ! -s conftest.err 2609 } && test -s conftest.$ac_objext; then 2989 if ac_fn_c_try_compile "$LINENO"; then : 2610 2990 ac_compiler_gnu=yes 2611 2991 else 2612 echo "$as_me: failed program was:" >&5 2613 sed 's/^/| /' conftest.$ac_ext >&5 2614 2615 ac_compiler_gnu=no 2616 fi 2617 2992 ac_compiler_gnu=no 2993 fi 2618 2994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2619 2995 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2620 2996 2621 2997 fi 2622 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2623 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2624 GCC=`test $ac_compiler_gnu = yes && echo yes` 2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2999 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3000 if test $ac_compiler_gnu = yes; then 3001 GCC=yes 3002 else 3003 GCC= 3004 fi 2625 3005 ac_test_CFLAGS=${CFLAGS+set} 2626 3006 ac_save_CFLAGS=$CFLAGS 2627 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52628 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2629 if test "${ac_cv_prog_cc_g+set}" = set; then 2630 echo $ECHO_N "(cached) $ECHO_C" >&63007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3008 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3009 if test "${ac_cv_prog_cc_g+set}" = set; then : 3010 $as_echo_n "(cached) " >&6 2631 3011 else 2632 3012 ac_save_c_werror_flag=$ac_c_werror_flag … … 2634 3014 ac_cv_prog_cc_g=no 2635 3015 CFLAGS="-g" 2636 cat >conftest.$ac_ext <<_ACEOF 2637 /* confdefs.h. */ 2638 _ACEOF 2639 cat confdefs.h >>conftest.$ac_ext 2640 cat >>conftest.$ac_ext <<_ACEOF 3016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2641 3017 /* end confdefs.h. */ 2642 3018 … … 2649 3025 } 2650 3026 _ACEOF 2651 rm -f conftest.$ac_objext 2652 if { (ac_try="$ac_compile" 2653 case "(($ac_try" in 2654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2655 *) ac_try_echo=$ac_try;; 2656 esac 2657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2658 (eval "$ac_compile") 2>conftest.er1 2659 ac_status=$? 2660 grep -v '^ *+' conftest.er1 >conftest.err 2661 rm -f conftest.er1 2662 cat conftest.err >&5 2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2664 (exit $ac_status); } && { 2665 test -z "$ac_c_werror_flag" || 2666 test ! -s conftest.err 2667 } && test -s conftest.$ac_objext; then 3027 if ac_fn_c_try_compile "$LINENO"; then : 2668 3028 ac_cv_prog_cc_g=yes 2669 3029 else 2670 echo "$as_me: failed program was:" >&5 2671 sed 's/^/| /' conftest.$ac_ext >&5 2672 2673 CFLAGS="" 2674 cat >conftest.$ac_ext <<_ACEOF 2675 /* confdefs.h. */ 2676 _ACEOF 2677 cat confdefs.h >>conftest.$ac_ext 2678 cat >>conftest.$ac_ext <<_ACEOF 3030 CFLAGS="" 3031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2679 3032 /* end confdefs.h. */ 2680 3033 … … 2687 3040 } 2688 3041 _ACEOF 2689 rm -f conftest.$ac_objext 2690 if { (ac_try="$ac_compile" 2691 case "(($ac_try" in 2692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2693 *) ac_try_echo=$ac_try;; 2694 esac 2695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2696 (eval "$ac_compile") 2>conftest.er1 2697 ac_status=$? 2698 grep -v '^ *+' conftest.er1 >conftest.err 2699 rm -f conftest.er1 2700 cat conftest.err >&5 2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2702 (exit $ac_status); } && { 2703 test -z "$ac_c_werror_flag" || 2704 test ! -s conftest.err 2705 } && test -s conftest.$ac_objext; then 2706 : 2707 else 2708 echo "$as_me: failed program was:" >&5 2709 sed 's/^/| /' conftest.$ac_ext >&5 2710 2711 ac_c_werror_flag=$ac_save_c_werror_flag 3042 if ac_fn_c_try_compile "$LINENO"; then : 3043 3044 else 3045 ac_c_werror_flag=$ac_save_c_werror_flag 2712 3046 CFLAGS="-g" 2713 cat >conftest.$ac_ext <<_ACEOF 2714 /* confdefs.h. */ 2715 _ACEOF 2716 cat confdefs.h >>conftest.$ac_ext 2717 cat >>conftest.$ac_ext <<_ACEOF 3047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2718 3048 /* end confdefs.h. */ 2719 3049 … … 2726 3056 } 2727 3057 _ACEOF 2728 rm -f conftest.$ac_objext 2729 if { (ac_try="$ac_compile" 2730 case "(($ac_try" in 2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2732 *) ac_try_echo=$ac_try;; 2733 esac 2734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2735 (eval "$ac_compile") 2>conftest.er1 2736 ac_status=$? 2737 grep -v '^ *+' conftest.er1 >conftest.err 2738 rm -f conftest.er1 2739 cat conftest.err >&5 2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2741 (exit $ac_status); } && { 2742 test -z "$ac_c_werror_flag" || 2743 test ! -s conftest.err 2744 } && test -s conftest.$ac_objext; then 3058 if ac_fn_c_try_compile "$LINENO"; then : 2745 3059 ac_cv_prog_cc_g=yes 2746 else 2747 echo "$as_me: failed program was:" >&5 2748 sed 's/^/| /' conftest.$ac_ext >&5 2749 2750 2751 fi 2752 3060 fi 2753 3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2754 3062 fi 2755 2756 3063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2757 3064 fi 2758 2759 3065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2760 3066 ac_c_werror_flag=$ac_save_c_werror_flag 2761 3067 fi 2762 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52763 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3069 $as_echo "$ac_cv_prog_cc_g" >&6; } 2764 3070 if test "$ac_test_CFLAGS" = set; then 2765 3071 CFLAGS=$ac_save_CFLAGS … … 2777 3083 fi 2778 3084 fi 2779 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52780 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2781 if test "${ac_cv_prog_cc_c89+set}" = set; then 2782 echo $ECHO_N "(cached) $ECHO_C" >&63085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3086 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3087 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3088 $as_echo_n "(cached) " >&6 2783 3089 else 2784 3090 ac_cv_prog_cc_c89=no 2785 3091 ac_save_CC=$CC 2786 cat >conftest.$ac_ext <<_ACEOF 2787 /* confdefs.h. */ 2788 _ACEOF 2789 cat confdefs.h >>conftest.$ac_ext 2790 cat >>conftest.$ac_ext <<_ACEOF 3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2791 3093 /* end confdefs.h. */ 2792 3094 #include <stdarg.h> … … 2845 3147 do 2846 3148 CC="$ac_save_CC $ac_arg" 2847 rm -f conftest.$ac_objext 2848 if { (ac_try="$ac_compile" 2849 case "(($ac_try" in 2850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2851 *) ac_try_echo=$ac_try;; 2852 esac 2853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2854 (eval "$ac_compile") 2>conftest.er1 2855 ac_status=$? 2856 grep -v '^ *+' conftest.er1 >conftest.err 2857 rm -f conftest.er1 2858 cat conftest.err >&5 2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2860 (exit $ac_status); } && { 2861 test -z "$ac_c_werror_flag" || 2862 test ! -s conftest.err 2863 } && test -s conftest.$ac_objext; then 3149 if ac_fn_c_try_compile "$LINENO"; then : 2864 3150 ac_cv_prog_cc_c89=$ac_arg 2865 else 2866 echo "$as_me: failed program was:" >&5 2867 sed 's/^/| /' conftest.$ac_ext >&5 2868 2869 2870 fi 2871 3151 fi 2872 3152 rm -f core conftest.err conftest.$ac_objext 2873 3153 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2880 3160 case "x$ac_cv_prog_cc_c89" in 2881 3161 x) 2882 { echo "$as_me:$LINENO: result: none needed" >&52883 echo "${ECHO_T}none needed" >&6; } ;;3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3163 $as_echo "none needed" >&6; } ;; 2884 3164 xno) 2885 { echo "$as_me:$LINENO: result: unsupported" >&52886 echo "${ECHO_T}unsupported" >&6; } ;;3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3166 $as_echo "unsupported" >&6; } ;; 2887 3167 *) 2888 3168 CC="$CC $ac_cv_prog_cc_c89" 2889 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52890 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3170 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2891 3171 esac 2892 3172 if test "x$ac_cv_prog_cc_c89" != xno; then : 3173 3174 fi 2893 3175 2894 3176 ac_ext=c … … 2912 3194 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2913 3195 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2914 { echo "$as_me:$LINENO: checking for $ac_word" >&52915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2916 if test "${ac_cv_prog_CXX+set}" = set; then 2917 echo $ECHO_N "(cached) $ECHO_C" >&63196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3197 $as_echo_n "checking for $ac_word... " >&6; } 3198 if test "${ac_cv_prog_CXX+set}" = set; then : 3199 $as_echo_n "(cached) " >&6 2918 3200 else 2919 3201 if test -n "$CXX"; then … … 2925 3207 IFS=$as_save_IFS 2926 3208 test -z "$as_dir" && as_dir=. 2927 for ac_exec_ext in '' $ac_executable_extensions; do3209 for ac_exec_ext in '' $ac_executable_extensions; do 2928 3210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2929 3211 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2931 3213 break 2 2932 3214 fi 2933 3215 done 2934 done3216 done 2935 3217 IFS=$as_save_IFS 2936 3218 … … 2939 3221 CXX=$ac_cv_prog_CXX 2940 3222 if test -n "$CXX"; then 2941 { echo "$as_me:$LINENO: result: $CXX" >&52942 echo "${ECHO_T}$CXX" >&6; }2943 else 2944 { echo "$as_me:$LINENO: result: no" >&52945 echo "${ECHO_T}no" >&6; }3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3224 $as_echo "$CXX" >&6; } 3225 else 3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3227 $as_echo "no" >&6; } 2946 3228 fi 2947 3229 … … 2956 3238 # Extract the first word of "$ac_prog", so it can be a program name with args. 2957 3239 set dummy $ac_prog; ac_word=$2 2958 { echo "$as_me:$LINENO: checking for $ac_word" >&52959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2960 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2961 echo $ECHO_N "(cached) $ECHO_C" >&63240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3241 $as_echo_n "checking for $ac_word... " >&6; } 3242 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3243 $as_echo_n "(cached) " >&6 2962 3244 else 2963 3245 if test -n "$ac_ct_CXX"; then … … 2969 3251 IFS=$as_save_IFS 2970 3252 test -z "$as_dir" && as_dir=. 2971 for ac_exec_ext in '' $ac_executable_extensions; do3253 for ac_exec_ext in '' $ac_executable_extensions; do 2972 3254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2973 3255 ac_cv_prog_ac_ct_CXX="$ac_prog" 2974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2975 3257 break 2 2976 3258 fi 2977 3259 done 2978 done3260 done 2979 3261 IFS=$as_save_IFS 2980 3262 … … 2983 3265 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2984 3266 if test -n "$ac_ct_CXX"; then 2985 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&52986 echo "${ECHO_T}$ac_ct_CXX" >&6; }2987 else 2988 { echo "$as_me:$LINENO: result: no" >&52989 echo "${ECHO_T}no" >&6; }3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3268 $as_echo "$ac_ct_CXX" >&6; } 3269 else 3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3271 $as_echo "no" >&6; } 2990 3272 fi 2991 3273 … … 2999 3281 case $cross_compiling:$ac_tool_warned in 3000 3282 yes:) 3001 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3002 whose name does not start with the host triplet. If you think this 3003 configuration is useful to you, please write to autoconf@gnu.org." >&5 3004 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3005 whose name does not start with the host triplet. If you think this 3006 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3007 3285 ac_tool_warned=yes ;; 3008 3286 esac … … 3014 3292 fi 3015 3293 # Provide some information about the compiler. 3016 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3017 ac_compiler=`set X $ac_compile; echo $2` 3018 { (ac_try="$ac_compiler --version >&5" 3294 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3295 set X $ac_compile 3296 ac_compiler=$2 3297 for ac_option in --version -v -V -qversion; do 3298 { { ac_try="$ac_compiler $ac_option >&5" 3019 3299 case "(($ac_try" in 3020 3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3021 3301 *) ac_try_echo=$ac_try;; 3022 3302 esac 3023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3024 (eval "$ac_compiler --version >&5") 2>&5 3303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3304 $as_echo "$ac_try_echo"; } >&5 3305 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3025 3306 ac_status=$? 3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3027 (exit $ac_status); } 3028 { (ac_try="$ac_compiler -v >&5" 3029 case "(($ac_try" in 3030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3031 *) ac_try_echo=$ac_try;; 3032 esac 3033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3034 (eval "$ac_compiler -v >&5") 2>&5 3035 ac_status=$? 3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3037 (exit $ac_status); } 3038 { (ac_try="$ac_compiler -V >&5" 3039 case "(($ac_try" in 3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3041 *) ac_try_echo=$ac_try;; 3042 esac 3043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3044 (eval "$ac_compiler -V >&5") 2>&5 3045 ac_status=$? 3046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3047 (exit $ac_status); } 3048 3049 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3050 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3051 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3052 echo $ECHO_N "(cached) $ECHO_C" >&6 3053 else 3054 cat >conftest.$ac_ext <<_ACEOF 3055 /* confdefs.h. */ 3056 _ACEOF 3057 cat confdefs.h >>conftest.$ac_ext 3058 cat >>conftest.$ac_ext <<_ACEOF 3307 if test -s conftest.err; then 3308 sed '10a\ 3309 ... rest of stderr output deleted ... 3310 10q' conftest.err >conftest.er1 3311 cat conftest.er1 >&5 3312 fi 3313 rm -f conftest.er1 conftest.err 3314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3315 test $ac_status = 0; } 3316 done 3317 3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3319 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3320 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3321 $as_echo_n "(cached) " >&6 3322 else 3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3059 3324 /* end confdefs.h. */ 3060 3325 … … 3070 3335 } 3071 3336 _ACEOF 3072 rm -f conftest.$ac_objext 3073 if { (ac_try="$ac_compile" 3074 case "(($ac_try" in 3075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3076 *) ac_try_echo=$ac_try;; 3077 esac 3078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3079 (eval "$ac_compile") 2>conftest.er1 3080 ac_status=$? 3081 grep -v '^ *+' conftest.er1 >conftest.err 3082 rm -f conftest.er1 3083 cat conftest.err >&5 3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3085 (exit $ac_status); } && { 3086 test -z "$ac_cxx_werror_flag" || 3087 test ! -s conftest.err 3088 } && test -s conftest.$ac_objext; then 3337 if ac_fn_cxx_try_compile "$LINENO"; then : 3089 3338 ac_compiler_gnu=yes 3090 3339 else 3091 echo "$as_me: failed program was:" >&5 3092 sed 's/^/| /' conftest.$ac_ext >&5 3093 3094 ac_compiler_gnu=no 3095 fi 3096 3340 ac_compiler_gnu=no 3341 fi 3097 3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3098 3343 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3099 3344 3100 3345 fi 3101 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3102 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3103 GXX=`test $ac_compiler_gnu = yes && echo yes` 3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3347 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3348 if test $ac_compiler_gnu = yes; then 3349 GXX=yes 3350 else 3351 GXX= 3352 fi 3104 3353 ac_test_CXXFLAGS=${CXXFLAGS+set} 3105 3354 ac_save_CXXFLAGS=$CXXFLAGS 3106 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53107 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3108 if test "${ac_cv_prog_cxx_g+set}" = set; then 3109 echo $ECHO_N "(cached) $ECHO_C" >&63355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3356 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3357 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3358 $as_echo_n "(cached) " >&6 3110 3359 else 3111 3360 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3113 3362 ac_cv_prog_cxx_g=no 3114 3363 CXXFLAGS="-g" 3115 cat >conftest.$ac_ext <<_ACEOF 3116 /* confdefs.h. */ 3117 _ACEOF 3118 cat confdefs.h >>conftest.$ac_ext 3119 cat >>conftest.$ac_ext <<_ACEOF 3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3120 3365 /* end confdefs.h. */ 3121 3366 … … 3128 3373 } 3129 3374 _ACEOF 3130 rm -f conftest.$ac_objext 3131 if { (ac_try="$ac_compile" 3132 case "(($ac_try" in 3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3134 *) ac_try_echo=$ac_try;; 3135 esac 3136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3137 (eval "$ac_compile") 2>conftest.er1 3138 ac_status=$? 3139 grep -v '^ *+' conftest.er1 >conftest.err 3140 rm -f conftest.er1 3141 cat conftest.err >&5 3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3143 (exit $ac_status); } && { 3144 test -z "$ac_cxx_werror_flag" || 3145 test ! -s conftest.err 3146 } && test -s conftest.$ac_objext; then 3375 if ac_fn_cxx_try_compile "$LINENO"; then : 3147 3376 ac_cv_prog_cxx_g=yes 3148 3377 else 3149 echo "$as_me: failed program was:" >&5 3150 sed 's/^/| /' conftest.$ac_ext >&5 3151 3152 CXXFLAGS="" 3153 cat >conftest.$ac_ext <<_ACEOF 3154 /* confdefs.h. */ 3155 _ACEOF 3156 cat confdefs.h >>conftest.$ac_ext 3157 cat >>conftest.$ac_ext <<_ACEOF 3378 CXXFLAGS="" 3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3158 3380 /* end confdefs.h. */ 3159 3381 … … 3166 3388 } 3167 3389 _ACEOF 3168 rm -f conftest.$ac_objext 3169 if { (ac_try="$ac_compile" 3170 case "(($ac_try" in 3171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3172 *) ac_try_echo=$ac_try;; 3173 esac 3174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3175 (eval "$ac_compile") 2>conftest.er1 3176 ac_status=$? 3177 grep -v '^ *+' conftest.er1 >conftest.err 3178 rm -f conftest.er1 3179 cat conftest.err >&5 3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3181 (exit $ac_status); } && { 3182 test -z "$ac_cxx_werror_flag" || 3183 test ! -s conftest.err 3184 } && test -s conftest.$ac_objext; then 3185 : 3186 else 3187 echo "$as_me: failed program was:" >&5 3188 sed 's/^/| /' conftest.$ac_ext >&5 3189 3190 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3390 if ac_fn_cxx_try_compile "$LINENO"; then : 3391 3392 else 3393 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3191 3394 CXXFLAGS="-g" 3192 cat >conftest.$ac_ext <<_ACEOF 3193 /* confdefs.h. */ 3194 _ACEOF 3195 cat confdefs.h >>conftest.$ac_ext 3196 cat >>conftest.$ac_ext <<_ACEOF 3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3197 3396 /* end confdefs.h. */ 3198 3397 … … 3205 3404 } 3206 3405 _ACEOF 3207 rm -f conftest.$ac_objext 3208 if { (ac_try="$ac_compile" 3209 case "(($ac_try" in 3210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3211 *) ac_try_echo=$ac_try;; 3212 esac 3213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3214 (eval "$ac_compile") 2>conftest.er1 3215 ac_status=$? 3216 grep -v '^ *+' conftest.er1 >conftest.err 3217 rm -f conftest.er1 3218 cat conftest.err >&5 3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3220 (exit $ac_status); } && { 3221 test -z "$ac_cxx_werror_flag" || 3222 test ! -s conftest.err 3223 } && test -s conftest.$ac_objext; then 3406 if ac_fn_cxx_try_compile "$LINENO"; then : 3224 3407 ac_cv_prog_cxx_g=yes 3225 else 3226 echo "$as_me: failed program was:" >&5 3227 sed 's/^/| /' conftest.$ac_ext >&5 3228 3229 3230 fi 3231 3408 fi 3232 3409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3233 3410 fi 3234 3235 3411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3236 3412 fi 3237 3238 3413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3239 3414 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3240 3415 fi 3241 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53242 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3417 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3243 3418 if test "$ac_test_CXXFLAGS" = set; then 3244 3419 CXXFLAGS=$ac_save_CXXFLAGS … … 3331 3506 3332 3507 3333 3334 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3335 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 3336 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 3337 echo $ECHO_N "(cached) $ECHO_C" >&6 3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3509 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3510 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 3511 $as_echo_n "(cached) " >&6 3338 3512 else 3339 3513 ac_check_lib_save_LIBS=$LIBS 3340 3514 LIBS="-lpthread $LIBS" 3341 cat >conftest.$ac_ext <<_ACEOF 3342 /* confdefs.h. */ 3343 _ACEOF 3344 cat confdefs.h >>conftest.$ac_ext 3345 cat >>conftest.$ac_ext <<_ACEOF 3515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3346 3516 /* end confdefs.h. */ 3347 3517 … … 3361 3531 } 3362 3532 _ACEOF 3363 rm -f conftest.$ac_objext conftest$ac_exeext 3364 if { (ac_try="$ac_link" 3365 case "(($ac_try" in 3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3367 *) ac_try_echo=$ac_try;; 3368 esac 3369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3370 (eval "$ac_link") 2>conftest.er1 3371 ac_status=$? 3372 grep -v '^ *+' conftest.er1 >conftest.err 3373 rm -f conftest.er1 3374 cat conftest.err >&5 3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3376 (exit $ac_status); } && { 3377 test -z "$ac_c_werror_flag" || 3378 test ! -s conftest.err 3379 } && test -s conftest$ac_exeext && 3380 $as_test_x conftest$ac_exeext; then 3533 if ac_fn_c_try_link "$LINENO"; then : 3381 3534 ac_cv_lib_pthread_pthread_create=yes 3382 3535 else 3383 echo "$as_me: failed program was:" >&5 3384 sed 's/^/| /' conftest.$ac_ext >&5 3385 3386 ac_cv_lib_pthread_pthread_create=no 3387 fi 3388 3389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3390 conftest$ac_exeext conftest.$ac_ext 3536 ac_cv_lib_pthread_pthread_create=no 3537 fi 3538 rm -f core conftest.err conftest.$ac_objext \ 3539 conftest$ac_exeext conftest.$ac_ext 3391 3540 LIBS=$ac_check_lib_save_LIBS 3392 3541 fi 3393 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&53394 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }3395 if test $ac_cv_lib_pthread_pthread_create = yes; then3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 3543 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 3544 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 3396 3545 cat >>confdefs.h <<_ACEOF 3397 3546 #define HAVE_LIBPTHREAD 1 … … 3402 3551 fi 3403 3552 3404 3405 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3406 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 3407 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 3408 echo $ECHO_N "(cached) $ECHO_C" >&6 3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 3554 $as_echo_n "checking for puts in -lwsock32... " >&6; } 3555 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 3556 $as_echo_n "(cached) " >&6 3409 3557 else 3410 3558 ac_check_lib_save_LIBS=$LIBS 3411 3559 LIBS="-lwsock32 $LIBS" 3412 cat >conftest.$ac_ext <<_ACEOF 3413 /* confdefs.h. */ 3414 _ACEOF 3415 cat confdefs.h >>conftest.$ac_ext 3416 cat >>conftest.$ac_ext <<_ACEOF 3560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3417 3561 /* end confdefs.h. */ 3418 3562 … … 3432 3576 } 3433 3577 _ACEOF 3434 rm -f conftest.$ac_objext conftest$ac_exeext 3435 if { (ac_try="$ac_link" 3436 case "(($ac_try" in 3437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3438 *) ac_try_echo=$ac_try;; 3439 esac 3440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3441 (eval "$ac_link") 2>conftest.er1 3442 ac_status=$? 3443 grep -v '^ *+' conftest.er1 >conftest.err 3444 rm -f conftest.er1 3445 cat conftest.err >&5 3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3447 (exit $ac_status); } && { 3448 test -z "$ac_c_werror_flag" || 3449 test ! -s conftest.err 3450 } && test -s conftest$ac_exeext && 3451 $as_test_x conftest$ac_exeext; then 3578 if ac_fn_c_try_link "$LINENO"; then : 3452 3579 ac_cv_lib_wsock32_puts=yes 3453 3580 else 3454 echo "$as_me: failed program was:" >&5 3455 sed 's/^/| /' conftest.$ac_ext >&5 3456 3457 ac_cv_lib_wsock32_puts=no 3458 fi 3459 3460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3461 conftest$ac_exeext conftest.$ac_ext 3581 ac_cv_lib_wsock32_puts=no 3582 fi 3583 rm -f core conftest.err conftest.$ac_objext \ 3584 conftest$ac_exeext conftest.$ac_ext 3462 3585 LIBS=$ac_check_lib_save_LIBS 3463 3586 fi 3464 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&53465 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; }3466 if test $ac_cv_lib_wsock32_puts = yes; then3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 3588 $as_echo "$ac_cv_lib_wsock32_puts" >&6; } 3589 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 3467 3590 cat >>confdefs.h <<_ACEOF 3468 3591 #define HAVE_LIBWSOCK32 1 … … 3473 3596 fi 3474 3597 3475 3476 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3477 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 3478 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 3479 echo $ECHO_N "(cached) $ECHO_C" >&6 3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 3599 $as_echo_n "checking for puts in -lws2_32... " >&6; } 3600 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 3601 $as_echo_n "(cached) " >&6 3480 3602 else 3481 3603 ac_check_lib_save_LIBS=$LIBS 3482 3604 LIBS="-lws2_32 $LIBS" 3483 cat >conftest.$ac_ext <<_ACEOF 3484 /* confdefs.h. */ 3485 _ACEOF 3486 cat confdefs.h >>conftest.$ac_ext 3487 cat >>conftest.$ac_ext <<_ACEOF 3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3488 3606 /* end confdefs.h. */ 3489 3607 … … 3503 3621 } 3504 3622 _ACEOF 3505 rm -f conftest.$ac_objext conftest$ac_exeext 3506 if { (ac_try="$ac_link" 3507 case "(($ac_try" in 3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3509 *) ac_try_echo=$ac_try;; 3510 esac 3511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3512 (eval "$ac_link") 2>conftest.er1 3513 ac_status=$? 3514 grep -v '^ *+' conftest.er1 >conftest.err 3515 rm -f conftest.er1 3516 cat conftest.err >&5 3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3518 (exit $ac_status); } && { 3519 test -z "$ac_c_werror_flag" || 3520 test ! -s conftest.err 3521 } && test -s conftest$ac_exeext && 3522 $as_test_x conftest$ac_exeext; then 3623 if ac_fn_c_try_link "$LINENO"; then : 3523 3624 ac_cv_lib_ws2_32_puts=yes 3524 3625 else 3525 echo "$as_me: failed program was:" >&5 3526 sed 's/^/| /' conftest.$ac_ext >&5 3527 3528 ac_cv_lib_ws2_32_puts=no 3529 fi 3530 3531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3532 conftest$ac_exeext conftest.$ac_ext 3626 ac_cv_lib_ws2_32_puts=no 3627 fi 3628 rm -f core conftest.err conftest.$ac_objext \ 3629 conftest$ac_exeext conftest.$ac_ext 3533 3630 LIBS=$ac_check_lib_save_LIBS 3534 3631 fi 3535 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&53536 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; }3537 if test $ac_cv_lib_ws2_32_puts = yes; then3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 3633 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 3634 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 3538 3635 cat >>confdefs.h <<_ACEOF 3539 3636 #define HAVE_LIBWS2_32 1 … … 3544 3641 fi 3545 3642 3546 3547 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3548 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 3549 if test "${ac_cv_lib_ole32_puts+set}" = set; then 3550 echo $ECHO_N "(cached) $ECHO_C" >&6 3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 3644 $as_echo_n "checking for puts in -lole32... " >&6; } 3645 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 3646 $as_echo_n "(cached) " >&6 3551 3647 else 3552 3648 ac_check_lib_save_LIBS=$LIBS 3553 3649 LIBS="-lole32 $LIBS" 3554 cat >conftest.$ac_ext <<_ACEOF 3555 /* confdefs.h. */ 3556 _ACEOF 3557 cat confdefs.h >>conftest.$ac_ext 3558 cat >>conftest.$ac_ext <<_ACEOF 3650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3559 3651 /* end confdefs.h. */ 3560 3652 … … 3574 3666 } 3575 3667 _ACEOF 3576 rm -f conftest.$ac_objext conftest$ac_exeext 3577 if { (ac_try="$ac_link" 3578 case "(($ac_try" in 3579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3580 *) ac_try_echo=$ac_try;; 3581 esac 3582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3583 (eval "$ac_link") 2>conftest.er1 3584 ac_status=$? 3585 grep -v '^ *+' conftest.er1 >conftest.err 3586 rm -f conftest.er1 3587 cat conftest.err >&5 3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3589 (exit $ac_status); } && { 3590 test -z "$ac_c_werror_flag" || 3591 test ! -s conftest.err 3592 } && test -s conftest$ac_exeext && 3593 $as_test_x conftest$ac_exeext; then 3668 if ac_fn_c_try_link "$LINENO"; then : 3594 3669 ac_cv_lib_ole32_puts=yes 3595 3670 else 3596 echo "$as_me: failed program was:" >&5 3597 sed 's/^/| /' conftest.$ac_ext >&5 3598 3599 ac_cv_lib_ole32_puts=no 3600 fi 3601 3602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3603 conftest$ac_exeext conftest.$ac_ext 3671 ac_cv_lib_ole32_puts=no 3672 fi 3673 rm -f core conftest.err conftest.$ac_objext \ 3674 conftest$ac_exeext conftest.$ac_ext 3604 3675 LIBS=$ac_check_lib_save_LIBS 3605 3676 fi 3606 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&53607 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; }3608 if test $ac_cv_lib_ole32_puts = yes; then3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 3678 $as_echo "$ac_cv_lib_ole32_puts" >&6; } 3679 if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 3609 3680 cat >>confdefs.h <<_ACEOF 3610 3681 #define HAVE_LIBOLE32 1 … … 3615 3686 fi 3616 3687 3617 3618 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3619 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 3620 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3621 echo $ECHO_N "(cached) $ECHO_C" >&6 3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 3689 $as_echo_n "checking for puts in -lwinmm... " >&6; } 3690 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 3691 $as_echo_n "(cached) " >&6 3622 3692 else 3623 3693 ac_check_lib_save_LIBS=$LIBS 3624 3694 LIBS="-lwinmm $LIBS" 3625 cat >conftest.$ac_ext <<_ACEOF 3626 /* confdefs.h. */ 3627 _ACEOF 3628 cat confdefs.h >>conftest.$ac_ext 3629 cat >>conftest.$ac_ext <<_ACEOF 3695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3630 3696 /* end confdefs.h. */ 3631 3697 … … 3645 3711 } 3646 3712 _ACEOF 3647 rm -f conftest.$ac_objext conftest$ac_exeext 3648 if { (ac_try="$ac_link" 3649 case "(($ac_try" in 3650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3651 *) ac_try_echo=$ac_try;; 3652 esac 3653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3654 (eval "$ac_link") 2>conftest.er1 3655 ac_status=$? 3656 grep -v '^ *+' conftest.er1 >conftest.err 3657 rm -f conftest.er1 3658 cat conftest.err >&5 3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3660 (exit $ac_status); } && { 3661 test -z "$ac_c_werror_flag" || 3662 test ! -s conftest.err 3663 } && test -s conftest$ac_exeext && 3664 $as_test_x conftest$ac_exeext; then 3713 if ac_fn_c_try_link "$LINENO"; then : 3665 3714 ac_cv_lib_winmm_puts=yes 3666 3715 else 3667 echo "$as_me: failed program was:" >&5 3668 sed 's/^/| /' conftest.$ac_ext >&5 3669 3670 ac_cv_lib_winmm_puts=no 3671 fi 3672 3673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3674 conftest$ac_exeext conftest.$ac_ext 3716 ac_cv_lib_winmm_puts=no 3717 fi 3718 rm -f core conftest.err conftest.$ac_objext \ 3719 conftest$ac_exeext conftest.$ac_ext 3675 3720 LIBS=$ac_check_lib_save_LIBS 3676 3721 fi 3677 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&53678 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; }3679 if test $ac_cv_lib_winmm_puts = yes; then3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 3723 $as_echo "$ac_cv_lib_winmm_puts" >&6; } 3724 if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 3680 3725 cat >>confdefs.h <<_ACEOF 3681 3726 #define HAVE_LIBWINMM 1 … … 3686 3731 fi 3687 3732 3688 3689 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3690 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 3691 if test "${ac_cv_lib_socket_puts+set}" = set; then 3692 echo $ECHO_N "(cached) $ECHO_C" >&6 3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 3734 $as_echo_n "checking for puts in -lsocket... " >&6; } 3735 if test "${ac_cv_lib_socket_puts+set}" = set; then : 3736 $as_echo_n "(cached) " >&6 3693 3737 else 3694 3738 ac_check_lib_save_LIBS=$LIBS 3695 3739 LIBS="-lsocket $LIBS" 3696 cat >conftest.$ac_ext <<_ACEOF 3697 /* confdefs.h. */ 3698 _ACEOF 3699 cat confdefs.h >>conftest.$ac_ext 3700 cat >>conftest.$ac_ext <<_ACEOF 3740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3701 3741 /* end confdefs.h. */ 3702 3742 … … 3716 3756 } 3717 3757 _ACEOF 3718 rm -f conftest.$ac_objext conftest$ac_exeext 3719 if { (ac_try="$ac_link" 3720 case "(($ac_try" in 3721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3722 *) ac_try_echo=$ac_try;; 3723 esac 3724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3725 (eval "$ac_link") 2>conftest.er1 3726 ac_status=$? 3727 grep -v '^ *+' conftest.er1 >conftest.err 3728 rm -f conftest.er1 3729 cat conftest.err >&5 3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3731 (exit $ac_status); } && { 3732 test -z "$ac_c_werror_flag" || 3733 test ! -s conftest.err 3734 } && test -s conftest$ac_exeext && 3735 $as_test_x conftest$ac_exeext; then 3758 if ac_fn_c_try_link "$LINENO"; then : 3736 3759 ac_cv_lib_socket_puts=yes 3737 3760 else 3738 echo "$as_me: failed program was:" >&5 3739 sed 's/^/| /' conftest.$ac_ext >&5 3740 3741 ac_cv_lib_socket_puts=no 3742 fi 3743 3744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3745 conftest$ac_exeext conftest.$ac_ext 3761 ac_cv_lib_socket_puts=no 3762 fi 3763 rm -f core conftest.err conftest.$ac_objext \ 3764 conftest$ac_exeext conftest.$ac_ext 3746 3765 LIBS=$ac_check_lib_save_LIBS 3747 3766 fi 3748 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&53749 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; }3750 if test $ac_cv_lib_socket_puts = yes; then3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 3768 $as_echo "$ac_cv_lib_socket_puts" >&6; } 3769 if test "x$ac_cv_lib_socket_puts" = x""yes; then : 3751 3770 cat >>confdefs.h <<_ACEOF 3752 3771 #define HAVE_LIBSOCKET 1 … … 3757 3776 fi 3758 3777 3759 3760 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3761 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 3762 if test "${ac_cv_lib_rt_puts+set}" = set; then 3763 echo $ECHO_N "(cached) $ECHO_C" >&6 3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 3779 $as_echo_n "checking for puts in -lrt... " >&6; } 3780 if test "${ac_cv_lib_rt_puts+set}" = set; then : 3781 $as_echo_n "(cached) " >&6 3764 3782 else 3765 3783 ac_check_lib_save_LIBS=$LIBS 3766 3784 LIBS="-lrt $LIBS" 3767 cat >conftest.$ac_ext <<_ACEOF 3768 /* confdefs.h. */ 3769 _ACEOF 3770 cat confdefs.h >>conftest.$ac_ext 3771 cat >>conftest.$ac_ext <<_ACEOF 3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3772 3786 /* end confdefs.h. */ 3773 3787 … … 3787 3801 } 3788 3802 _ACEOF 3789 rm -f conftest.$ac_objext conftest$ac_exeext 3790 if { (ac_try="$ac_link" 3791 case "(($ac_try" in 3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3793 *) ac_try_echo=$ac_try;; 3794 esac 3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3796 (eval "$ac_link") 2>conftest.er1 3797 ac_status=$? 3798 grep -v '^ *+' conftest.er1 >conftest.err 3799 rm -f conftest.er1 3800 cat conftest.err >&5 3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3802 (exit $ac_status); } && { 3803 test -z "$ac_c_werror_flag" || 3804 test ! -s conftest.err 3805 } && test -s conftest$ac_exeext && 3806 $as_test_x conftest$ac_exeext; then 3803 if ac_fn_c_try_link "$LINENO"; then : 3807 3804 ac_cv_lib_rt_puts=yes 3808 3805 else 3809 echo "$as_me: failed program was:" >&5 3810 sed 's/^/| /' conftest.$ac_ext >&5 3811 3812 ac_cv_lib_rt_puts=no 3813 fi 3814 3815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3816 conftest$ac_exeext conftest.$ac_ext 3806 ac_cv_lib_rt_puts=no 3807 fi 3808 rm -f core conftest.err conftest.$ac_objext \ 3809 conftest$ac_exeext conftest.$ac_ext 3817 3810 LIBS=$ac_check_lib_save_LIBS 3818 3811 fi 3819 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&53820 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; }3821 if test $ac_cv_lib_rt_puts = yes; then3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 3813 $as_echo "$ac_cv_lib_rt_puts" >&6; } 3814 if test "x$ac_cv_lib_rt_puts" = x""yes; then : 3822 3815 cat >>confdefs.h <<_ACEOF 3823 3816 #define HAVE_LIBRT 1 … … 3828 3821 fi 3829 3822 3830 3831 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3832 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 3833 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3834 echo $ECHO_N "(cached) $ECHO_C" >&6 3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 3824 $as_echo_n "checking for puts in -lnsl... " >&6; } 3825 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 3826 $as_echo_n "(cached) " >&6 3835 3827 else 3836 3828 ac_check_lib_save_LIBS=$LIBS 3837 3829 LIBS="-lnsl $LIBS" 3838 cat >conftest.$ac_ext <<_ACEOF 3839 /* confdefs.h. */ 3840 _ACEOF 3841 cat confdefs.h >>conftest.$ac_ext 3842 cat >>conftest.$ac_ext <<_ACEOF 3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3843 3831 /* end confdefs.h. */ 3844 3832 … … 3858 3846 } 3859 3847 _ACEOF 3860 rm -f conftest.$ac_objext conftest$ac_exeext 3861 if { (ac_try="$ac_link" 3862 case "(($ac_try" in 3863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3864 *) ac_try_echo=$ac_try;; 3865 esac 3866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3867 (eval "$ac_link") 2>conftest.er1 3868 ac_status=$? 3869 grep -v '^ *+' conftest.er1 >conftest.err 3870 rm -f conftest.er1 3871 cat conftest.err >&5 3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3873 (exit $ac_status); } && { 3874 test -z "$ac_c_werror_flag" || 3875 test ! -s conftest.err 3876 } && test -s conftest$ac_exeext && 3877 $as_test_x conftest$ac_exeext; then 3848 if ac_fn_c_try_link "$LINENO"; then : 3878 3849 ac_cv_lib_nsl_puts=yes 3879 3850 else 3880 echo "$as_me: failed program was:" >&5 3881 sed 's/^/| /' conftest.$ac_ext >&5 3882 3883 ac_cv_lib_nsl_puts=no 3884 fi 3885 3886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3887 conftest$ac_exeext conftest.$ac_ext 3851 ac_cv_lib_nsl_puts=no 3852 fi 3853 rm -f core conftest.err conftest.$ac_objext \ 3854 conftest$ac_exeext conftest.$ac_ext 3888 3855 LIBS=$ac_check_lib_save_LIBS 3889 3856 fi 3890 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&53891 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; }3892 if test $ac_cv_lib_nsl_puts = yes; then3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 3858 $as_echo "$ac_cv_lib_nsl_puts" >&6; } 3859 if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 3893 3860 cat >>confdefs.h <<_ACEOF 3894 3861 #define HAVE_LIBNSL 1 … … 3899 3866 fi 3900 3867 3901 3902 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3903 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3904 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3905 echo $ECHO_N "(cached) $ECHO_C" >&6 3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3869 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3870 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3871 $as_echo_n "(cached) " >&6 3906 3872 else 3907 3873 ac_check_lib_save_LIBS=$LIBS 3908 3874 LIBS="-luuid $LIBS" 3909 cat >conftest.$ac_ext <<_ACEOF 3910 /* confdefs.h. */ 3911 _ACEOF 3912 cat confdefs.h >>conftest.$ac_ext 3913 cat >>conftest.$ac_ext <<_ACEOF 3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3914 3876 /* end confdefs.h. */ 3915 3877 … … 3929 3891 } 3930 3892 _ACEOF 3931 rm -f conftest.$ac_objext conftest$ac_exeext 3932 if { (ac_try="$ac_link" 3933 case "(($ac_try" in 3934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3935 *) ac_try_echo=$ac_try;; 3936 esac 3937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3938 (eval "$ac_link") 2>conftest.er1 3939 ac_status=$? 3940 grep -v '^ *+' conftest.er1 >conftest.err 3941 rm -f conftest.er1 3942 cat conftest.err >&5 3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3944 (exit $ac_status); } && { 3945 test -z "$ac_c_werror_flag" || 3946 test ! -s conftest.err 3947 } && test -s conftest$ac_exeext && 3948 $as_test_x conftest$ac_exeext; then 3893 if ac_fn_c_try_link "$LINENO"; then : 3949 3894 ac_cv_lib_uuid_uuid_generate=yes 3950 3895 else 3951 echo "$as_me: failed program was:" >&5 3952 sed 's/^/| /' conftest.$ac_ext >&5 3953 3954 ac_cv_lib_uuid_uuid_generate=no 3955 fi 3956 3957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3958 conftest$ac_exeext conftest.$ac_ext 3896 ac_cv_lib_uuid_uuid_generate=no 3897 fi 3898 rm -f core conftest.err conftest.$ac_objext \ 3899 conftest$ac_exeext conftest.$ac_ext 3959 3900 LIBS=$ac_check_lib_save_LIBS 3960 3901 fi 3961 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53962 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }3963 if test $ac_cv_lib_uuid_uuid_generate = yes; then3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3903 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3904 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 3964 3905 cat >>confdefs.h <<_ACEOF 3965 3906 #define HAVE_LIBUUID 1 … … 3970 3911 fi 3971 3912 3972 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53973 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; }3974 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3975 echo $ECHO_N "(cached) $ECHO_C" >&63913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3914 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3915 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3916 $as_echo_n "(cached) " >&6 3976 3917 else 3977 3918 ac_check_lib_save_LIBS=$LIBS 3978 3919 LIBS="-luuid $LIBS" 3979 cat >conftest.$ac_ext <<_ACEOF 3980 /* confdefs.h. */ 3981 _ACEOF 3982 cat confdefs.h >>conftest.$ac_ext 3983 cat >>conftest.$ac_ext <<_ACEOF 3920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3984 3921 /* end confdefs.h. */ 3985 3922 … … 3999 3936 } 4000 3937 _ACEOF 4001 rm -f conftest.$ac_objext conftest$ac_exeext 4002 if { (ac_try="$ac_link" 4003 case "(($ac_try" in 4004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4005 *) ac_try_echo=$ac_try;; 4006 esac 4007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4008 (eval "$ac_link") 2>conftest.er1 4009 ac_status=$? 4010 grep -v '^ *+' conftest.er1 >conftest.err 4011 rm -f conftest.er1 4012 cat conftest.err >&5 4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4014 (exit $ac_status); } && { 4015 test -z "$ac_c_werror_flag" || 4016 test ! -s conftest.err 4017 } && test -s conftest$ac_exeext && 4018 $as_test_x conftest$ac_exeext; then 3938 if ac_fn_c_try_link "$LINENO"; then : 4019 3939 ac_cv_lib_uuid_uuid_generate=yes 4020 3940 else 4021 echo "$as_me: failed program was:" >&5 4022 sed 's/^/| /' conftest.$ac_ext >&5 4023 4024 ac_cv_lib_uuid_uuid_generate=no 4025 fi 4026 4027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4028 conftest$ac_exeext conftest.$ac_ext 3941 ac_cv_lib_uuid_uuid_generate=no 3942 fi 3943 rm -f core conftest.err conftest.$ac_objext \ 3944 conftest$ac_exeext conftest.$ac_ext 4029 3945 LIBS=$ac_check_lib_save_LIBS 4030 3946 fi 4031 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&54032 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }4033 if test $ac_cv_lib_uuid_uuid_generate = yes; then3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3948 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3949 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 4034 3950 ac_has_uuid_lib=1 4035 3951 fi 4036 3952 4037 3953 4038 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&54039 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; }3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 3955 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 4040 3956 cat >>confdefs.h <<_ACEOF 4041 3957 #define PJ_M_NAME "$target_cpu" … … 4043 3959 4044 3960 4045 { echo "$as_me:$LINENO: checking memory alignment" >&54046 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; }3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 3962 $as_echo_n "checking memory alignment... " >&6; } 4047 3963 case $target in 4048 3964 sparc64-* | ia64-* | x86_64-* ) 4049 cat >>confdefs.h <<\_ACEOF 4050 #define PJ_POOL_ALIGNMENT 8 4051 _ACEOF 4052 4053 { echo "$as_me:$LINENO: result: 8 bytes" >&5 4054 echo "${ECHO_T}8 bytes" >&6; } 3965 $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 3966 3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 3968 $as_echo "8 bytes" >&6; } 4055 3969 ;; 4056 3970 * ) 4057 cat >>confdefs.h <<\_ACEOF 4058 #define PJ_POOL_ALIGNMENT 4 4059 _ACEOF 4060 4061 { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 4062 echo "${ECHO_T}4 bytes (default)" >&6; } 3971 $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 3972 3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 3974 $as_echo "4 bytes (default)" >&6; } 4063 3975 ;; 4064 3976 esac … … 4070 3982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4071 3983 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4072 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&54073 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3985 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4074 3986 # On Suns, sometimes $CPP names a directory. 4075 3987 if test -n "$CPP" && test -d "$CPP"; then … … 4077 3989 fi 4078 3990 if test -z "$CPP"; then 4079 if test "${ac_cv_prog_CPP+set}" = set; then 4080 echo $ECHO_N "(cached) $ECHO_C" >&63991 if test "${ac_cv_prog_CPP+set}" = set; then : 3992 $as_echo_n "(cached) " >&6 4081 3993 else 4082 3994 # Double quotes because CPP needs to be expanded … … 4092 4004 # On the NeXT, cc -E runs the code through the compiler's parser, 4093 4005 # not just through cpp. "Syntax error" is here to catch this case. 4094 cat >conftest.$ac_ext <<_ACEOF 4095 /* confdefs.h. */ 4096 _ACEOF 4097 cat confdefs.h >>conftest.$ac_ext 4098 cat >>conftest.$ac_ext <<_ACEOF 4006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4099 4007 /* end confdefs.h. */ 4100 4008 #ifdef __STDC__ … … 4105 4013 Syntax error 4106 4014 _ACEOF 4107 if { (ac_try="$ac_cpp conftest.$ac_ext" 4108 case "(($ac_try" in 4109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4110 *) ac_try_echo=$ac_try;; 4111 esac 4112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4113 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4114 ac_status=$? 4115 grep -v '^ *+' conftest.er1 >conftest.err 4116 rm -f conftest.er1 4117 cat conftest.err >&5 4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4119 (exit $ac_status); } >/dev/null && { 4120 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4121 test ! -s conftest.err 4122 }; then 4123 : 4124 else 4125 echo "$as_me: failed program was:" >&5 4126 sed 's/^/| /' conftest.$ac_ext >&5 4127 4015 if ac_fn_c_try_cpp "$LINENO"; then : 4016 4017 else 4128 4018 # Broken: fails on valid input. 4129 4019 continue 4130 4020 fi 4131 4132 4021 rm -f conftest.err conftest.$ac_ext 4133 4022 4134 4023 # OK, works on sane cases. Now check whether nonexistent headers 4135 4024 # can be detected and how. 4136 cat >conftest.$ac_ext <<_ACEOF 4137 /* confdefs.h. */ 4138 _ACEOF 4139 cat confdefs.h >>conftest.$ac_ext 4140 cat >>conftest.$ac_ext <<_ACEOF 4025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4141 4026 /* end confdefs.h. */ 4142 4027 #include <ac_nonexistent.h> 4143 4028 _ACEOF 4144 if { (ac_try="$ac_cpp conftest.$ac_ext" 4145 case "(($ac_try" in 4146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4147 *) ac_try_echo=$ac_try;; 4148 esac 4149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4150 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4151 ac_status=$? 4152 grep -v '^ *+' conftest.er1 >conftest.err 4153 rm -f conftest.er1 4154 cat conftest.err >&5 4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4156 (exit $ac_status); } >/dev/null && { 4157 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4158 test ! -s conftest.err 4159 }; then 4029 if ac_fn_c_try_cpp "$LINENO"; then : 4160 4030 # Broken: success on invalid input. 4161 4031 continue 4162 4032 else 4163 echo "$as_me: failed program was:" >&54164 sed 's/^/| /' conftest.$ac_ext >&54165 4166 4033 # Passes both tests. 4167 4034 ac_preproc_ok=: 4168 4035 break 4169 4036 fi 4170 4171 4037 rm -f conftest.err conftest.$ac_ext 4172 4038 … … 4174 4040 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4175 4041 rm -f conftest.err conftest.$ac_ext 4176 if $ac_preproc_ok; then 4042 if $ac_preproc_ok; then : 4177 4043 break 4178 4044 fi … … 4186 4052 ac_cv_prog_CPP=$CPP 4187 4053 fi 4188 { echo "$as_me:$LINENO: result: $CPP" >&54189 echo "${ECHO_T}$CPP" >&6; }4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4055 $as_echo "$CPP" >&6; } 4190 4056 ac_preproc_ok=false 4191 4057 for ac_c_preproc_warn_flag in '' yes … … 4197 4063 # On the NeXT, cc -E runs the code through the compiler's parser, 4198 4064 # not just through cpp. "Syntax error" is here to catch this case. 4199 cat >conftest.$ac_ext <<_ACEOF 4200 /* confdefs.h. */ 4201 _ACEOF 4202 cat confdefs.h >>conftest.$ac_ext 4203 cat >>conftest.$ac_ext <<_ACEOF 4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4204 4066 /* end confdefs.h. */ 4205 4067 #ifdef __STDC__ … … 4210 4072 Syntax error 4211 4073 _ACEOF 4212 if { (ac_try="$ac_cpp conftest.$ac_ext" 4213 case "(($ac_try" in 4214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4215 *) ac_try_echo=$ac_try;; 4216 esac 4217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4218 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4219 ac_status=$? 4220 grep -v '^ *+' conftest.er1 >conftest.err 4221 rm -f conftest.er1 4222 cat conftest.err >&5 4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4224 (exit $ac_status); } >/dev/null && { 4225 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4226 test ! -s conftest.err 4227 }; then 4228 : 4229 else 4230 echo "$as_me: failed program was:" >&5 4231 sed 's/^/| /' conftest.$ac_ext >&5 4232 4074 if ac_fn_c_try_cpp "$LINENO"; then : 4075 4076 else 4233 4077 # Broken: fails on valid input. 4234 4078 continue 4235 4079 fi 4236 4237 4080 rm -f conftest.err conftest.$ac_ext 4238 4081 4239 4082 # OK, works on sane cases. Now check whether nonexistent headers 4240 4083 # can be detected and how. 4241 cat >conftest.$ac_ext <<_ACEOF 4242 /* confdefs.h. */ 4243 _ACEOF 4244 cat confdefs.h >>conftest.$ac_ext 4245 cat >>conftest.$ac_ext <<_ACEOF 4084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4246 4085 /* end confdefs.h. */ 4247 4086 #include <ac_nonexistent.h> 4248 4087 _ACEOF 4249 if { (ac_try="$ac_cpp conftest.$ac_ext" 4250 case "(($ac_try" in 4251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4252 *) ac_try_echo=$ac_try;; 4253 esac 4254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4255 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4256 ac_status=$? 4257 grep -v '^ *+' conftest.er1 >conftest.err 4258 rm -f conftest.er1 4259 cat conftest.err >&5 4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4261 (exit $ac_status); } >/dev/null && { 4262 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4263 test ! -s conftest.err 4264 }; then 4088 if ac_fn_c_try_cpp "$LINENO"; then : 4265 4089 # Broken: success on invalid input. 4266 4090 continue 4267 4091 else 4268 echo "$as_me: failed program was:" >&54269 sed 's/^/| /' conftest.$ac_ext >&54270 4271 4092 # Passes both tests. 4272 4093 ac_preproc_ok=: 4273 4094 break 4274 4095 fi 4275 4276 4096 rm -f conftest.err conftest.$ac_ext 4277 4097 … … 4279 4099 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4280 4100 rm -f conftest.err conftest.$ac_ext 4281 if $ac_preproc_ok; then 4282 : 4283 else 4284 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4285 See \`config.log' for more details." >&5 4286 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4287 See \`config.log' for more details." >&2;} 4288 { (exit 1); exit 1; }; } 4101 if $ac_preproc_ok; then : 4102 4103 else 4104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4106 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4107 See \`config.log' for more details." "$LINENO" 5; } 4289 4108 fi 4290 4109 … … 4296 4115 4297 4116 4298 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4299 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4300 if test "${ac_cv_path_GREP+set}" = set; then 4301 echo $ECHO_N "(cached) $ECHO_C" >&6 4302 else 4303 # Extract the first word of "grep ggrep" to use in msg output 4304 if test -z "$GREP"; then 4305 set dummy grep ggrep; ac_prog_name=$2 4306 if test "${ac_cv_path_GREP+set}" = set; then 4307 echo $ECHO_N "(cached) $ECHO_C" >&6 4308 else 4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4118 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4119 if test "${ac_cv_path_GREP+set}" = set; then : 4120 $as_echo_n "(cached) " >&6 4121 else 4122 if test -z "$GREP"; then 4309 4123 ac_path_GREP_found=false 4310 # Loop through the user's path and test for each of PROGNAME-LIST4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4124 # Loop through the user's path and test for each of PROGNAME-LIST 4125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4312 4126 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4313 4127 do 4314 4128 IFS=$as_save_IFS 4315 4129 test -z "$as_dir" && as_dir=. 4316 for ac_prog in grep ggrep; do4317 for ac_exec_ext in '' $ac_executable_extensions; do4318 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4319 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4320 4130 for ac_prog in grep ggrep; do 4131 for ac_exec_ext in '' $ac_executable_extensions; do 4132 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4133 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4134 # Check for GNU ac_path_GREP and select it if it is found. 4321 4135 # Check for GNU $ac_path_GREP 4322 4136 case `"$ac_path_GREP" --version 2>&1` in … … 4325 4139 *) 4326 4140 ac_count=0 4327 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4141 $as_echo_n 0123456789 >"conftest.in" 4328 4142 while : 4329 4143 do … … 4331 4145 mv "conftest.tmp" "conftest.in" 4332 4146 cp "conftest.in" "conftest.nl" 4333 echo 'GREP' >> "conftest.nl"4147 $as_echo 'GREP' >> "conftest.nl" 4334 4148 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4335 4149 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4336 a c_count=`expr $ac_count + 1`4150 as_fn_arith $ac_count + 1 && ac_count=$as_val 4337 4151 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4338 4152 # Best one so far, save it but keep looking for a better one … … 4346 4160 esac 4347 4161 4348 4349 $ac_path_GREP_found && break 34162 $ac_path_GREP_found && break 3 4163 done 4350 4164 done 4351 done 4352 4353 done 4165 done 4354 4166 IFS=$as_save_IFS 4355 4356 4357 fi 4358 4359 GREP="$ac_cv_path_GREP" 4360 if test -z "$GREP"; then 4361 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4362 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4363 { (exit 1); exit 1; }; } 4364 fi 4365 4167 if test -z "$ac_cv_path_GREP"; then 4168 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4169 fi 4366 4170 else 4367 4171 ac_cv_path_GREP=$GREP 4368 4172 fi 4369 4173 4370 4371 fi 4372 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4373 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4174 fi 4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4176 $as_echo "$ac_cv_path_GREP" >&6; } 4374 4177 GREP="$ac_cv_path_GREP" 4375 4178 4376 4179 4377 { echo "$as_me:$LINENO: checking for egrep" >&54378 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4379 if test "${ac_cv_path_EGREP+set}" = set; then 4380 echo $ECHO_N "(cached) $ECHO_C" >&64180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4181 $as_echo_n "checking for egrep... " >&6; } 4182 if test "${ac_cv_path_EGREP+set}" = set; then : 4183 $as_echo_n "(cached) " >&6 4381 4184 else 4382 4185 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4383 4186 then ac_cv_path_EGREP="$GREP -E" 4384 4187 else 4385 # Extract the first word of "egrep" to use in msg output 4386 if test -z "$EGREP"; then 4387 set dummy egrep; ac_prog_name=$2 4388 if test "${ac_cv_path_EGREP+set}" = set; then 4389 echo $ECHO_N "(cached) $ECHO_C" >&6 4390 else 4188 if test -z "$EGREP"; then 4391 4189 ac_path_EGREP_found=false 4392 # Loop through the user's path and test for each of PROGNAME-LIST4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4190 # Loop through the user's path and test for each of PROGNAME-LIST 4191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4394 4192 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4395 4193 do 4396 4194 IFS=$as_save_IFS 4397 4195 test -z "$as_dir" && as_dir=. 4398 for ac_prog in egrep; do4399 for ac_exec_ext in '' $ac_executable_extensions; do4400 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4401 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4402 4196 for ac_prog in egrep; do 4197 for ac_exec_ext in '' $ac_executable_extensions; do 4198 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4199 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4200 # Check for GNU ac_path_EGREP and select it if it is found. 4403 4201 # Check for GNU $ac_path_EGREP 4404 4202 case `"$ac_path_EGREP" --version 2>&1` in … … 4407 4205 *) 4408 4206 ac_count=0 4409 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4207 $as_echo_n 0123456789 >"conftest.in" 4410 4208 while : 4411 4209 do … … 4413 4211 mv "conftest.tmp" "conftest.in" 4414 4212 cp "conftest.in" "conftest.nl" 4415 echo 'EGREP' >> "conftest.nl"4213 $as_echo 'EGREP' >> "conftest.nl" 4416 4214 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4417 4215 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4418 a c_count=`expr $ac_count + 1`4216 as_fn_arith $ac_count + 1 && ac_count=$as_val 4419 4217 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4420 4218 # Best one so far, save it but keep looking for a better one … … 4428 4226 esac 4429 4227 4430 4431 $ac_path_EGREP_found && break 34228 $ac_path_EGREP_found && break 3 4229 done 4432 4230 done 4433 done 4434 4435 done 4231 done 4436 4232 IFS=$as_save_IFS 4437 4438 4439 fi 4440 4441 EGREP="$ac_cv_path_EGREP" 4442 if test -z "$EGREP"; then 4443 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4444 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4445 { (exit 1); exit 1; }; } 4446 fi 4447 4233 if test -z "$ac_cv_path_EGREP"; then 4234 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4235 fi 4448 4236 else 4449 4237 ac_cv_path_EGREP=$EGREP 4450 4238 fi 4451 4239 4452 4453 4240 fi 4454 4241 fi 4455 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54456 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4243 $as_echo "$ac_cv_path_EGREP" >&6; } 4457 4244 EGREP="$ac_cv_path_EGREP" 4458 4245 4459 4246 4460 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4461 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4462 if test "${ac_cv_header_stdc+set}" = set; then 4463 echo $ECHO_N "(cached) $ECHO_C" >&6 4464 else 4465 cat >conftest.$ac_ext <<_ACEOF 4466 /* confdefs.h. */ 4467 _ACEOF 4468 cat confdefs.h >>conftest.$ac_ext 4469 cat >>conftest.$ac_ext <<_ACEOF 4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4248 $as_echo_n "checking for ANSI C header files... " >&6; } 4249 if test "${ac_cv_header_stdc+set}" = set; then : 4250 $as_echo_n "(cached) " >&6 4251 else 4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4470 4253 /* end confdefs.h. */ 4471 4254 #include <stdlib.h> … … 4482 4265 } 4483 4266 _ACEOF 4484 rm -f conftest.$ac_objext 4485 if { (ac_try="$ac_compile" 4486 case "(($ac_try" in 4487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4488 *) ac_try_echo=$ac_try;; 4489 esac 4490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4491 (eval "$ac_compile") 2>conftest.er1 4492 ac_status=$? 4493 grep -v '^ *+' conftest.er1 >conftest.err 4494 rm -f conftest.er1 4495 cat conftest.err >&5 4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4497 (exit $ac_status); } && { 4498 test -z "$ac_c_werror_flag" || 4499 test ! -s conftest.err 4500 } && test -s conftest.$ac_objext; then 4267 if ac_fn_c_try_compile "$LINENO"; then : 4501 4268 ac_cv_header_stdc=yes 4502 4269 else 4503 echo "$as_me: failed program was:" >&5 4504 sed 's/^/| /' conftest.$ac_ext >&5 4505 4506 ac_cv_header_stdc=no 4507 fi 4508 4270 ac_cv_header_stdc=no 4271 fi 4509 4272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4510 4273 4511 4274 if test $ac_cv_header_stdc = yes; then 4512 4275 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4513 cat >conftest.$ac_ext <<_ACEOF 4514 /* confdefs.h. */ 4515 _ACEOF 4516 cat confdefs.h >>conftest.$ac_ext 4517 cat >>conftest.$ac_ext <<_ACEOF 4276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4518 4277 /* end confdefs.h. */ 4519 4278 #include <string.h> … … 4521 4280 _ACEOF 4522 4281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4523 $EGREP "memchr" >/dev/null 2>&1; then 4524 : 4282 $EGREP "memchr" >/dev/null 2>&1; then : 4283 4525 4284 else 4526 4285 ac_cv_header_stdc=no 4527 4286 fi 4528 rm -f -rconftest*4287 rm -f conftest* 4529 4288 4530 4289 fi … … 4532 4291 if test $ac_cv_header_stdc = yes; then 4533 4292 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4534 cat >conftest.$ac_ext <<_ACEOF 4535 /* confdefs.h. */ 4536 _ACEOF 4537 cat confdefs.h >>conftest.$ac_ext 4538 cat >>conftest.$ac_ext <<_ACEOF 4293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4539 4294 /* end confdefs.h. */ 4540 4295 #include <stdlib.h> … … 4542 4297 _ACEOF 4543 4298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4544 $EGREP "free" >/dev/null 2>&1; then 4545 : 4299 $EGREP "free" >/dev/null 2>&1; then : 4300 4546 4301 else 4547 4302 ac_cv_header_stdc=no 4548 4303 fi 4549 rm -f -rconftest*4304 rm -f conftest* 4550 4305 4551 4306 fi … … 4553 4308 if test $ac_cv_header_stdc = yes; then 4554 4309 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4555 if test "$cross_compiling" = yes; then 4310 if test "$cross_compiling" = yes; then : 4556 4311 : 4557 4312 else 4558 cat >conftest.$ac_ext <<_ACEOF 4559 /* confdefs.h. */ 4560 _ACEOF 4561 cat confdefs.h >>conftest.$ac_ext 4562 cat >>conftest.$ac_ext <<_ACEOF 4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4563 4314 /* end confdefs.h. */ 4564 4315 #include <ctype.h> … … 4587 4338 } 4588 4339 _ACEOF 4589 rm -f conftest$ac_exeext 4590 if { (ac_try="$ac_link" 4591 case "(($ac_try" in 4592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4593 *) ac_try_echo=$ac_try;; 4594 esac 4595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4596 (eval "$ac_link") 2>&5 4597 ac_status=$? 4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4599 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4600 { (case "(($ac_try" in 4601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4602 *) ac_try_echo=$ac_try;; 4603 esac 4604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4605 (eval "$ac_try") 2>&5 4606 ac_status=$? 4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4608 (exit $ac_status); }; }; then 4609 : 4610 else 4611 echo "$as_me: program exited with status $ac_status" >&5 4612 echo "$as_me: failed program was:" >&5 4613 sed 's/^/| /' conftest.$ac_ext >&5 4614 4615 ( exit $ac_status ) 4616 ac_cv_header_stdc=no 4617 fi 4618 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4619 fi 4620 4621 4622 fi 4623 fi 4624 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4625 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4340 if ac_fn_c_try_run "$LINENO"; then : 4341 4342 else 4343 ac_cv_header_stdc=no 4344 fi 4345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4346 conftest.$ac_objext conftest.beam conftest.$ac_ext 4347 fi 4348 4349 fi 4350 fi 4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4352 $as_echo "$ac_cv_header_stdc" >&6; } 4626 4353 if test $ac_cv_header_stdc = yes; then 4627 4354 4628 cat >>confdefs.h <<\_ACEOF 4629 #define STDC_HEADERS 1 4630 _ACEOF 4355 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4631 4356 4632 4357 fi 4633 4358 4634 4359 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4360 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4645 4361 inttypes.h stdint.h unistd.h 4646 do 4647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4648 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4651 echo $ECHO_N "(cached) $ECHO_C" >&6 4652 else 4653 cat >conftest.$ac_ext <<_ACEOF 4654 /* confdefs.h. */ 4655 _ACEOF 4656 cat confdefs.h >>conftest.$ac_ext 4657 cat >>conftest.$ac_ext <<_ACEOF 4362 do : 4363 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4364 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4365 " 4366 eval as_val=\$$as_ac_Header 4367 if test "x$as_val" = x""yes; then : 4368 cat >>confdefs.h <<_ACEOF 4369 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4370 _ACEOF 4371 4372 fi 4373 4374 done 4375 4376 4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4378 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4379 if test "${ac_cv_c_bigendian+set}" = set; then : 4380 $as_echo_n "(cached) " >&6 4381 else 4382 ac_cv_c_bigendian=unknown 4383 # See if we're dealing with a universal compiler. 4384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4658 4385 /* end confdefs.h. */ 4659 $ac_includes_default 4660 4661 #include <$ac_header> 4662 _ACEOF 4663 rm -f conftest.$ac_objext 4664 if { (ac_try="$ac_compile" 4665 case "(($ac_try" in 4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4667 *) ac_try_echo=$ac_try;; 4668 esac 4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4670 (eval "$ac_compile") 2>conftest.er1 4671 ac_status=$? 4672 grep -v '^ *+' conftest.er1 >conftest.err 4673 rm -f conftest.er1 4674 cat conftest.err >&5 4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4676 (exit $ac_status); } && { 4677 test -z "$ac_c_werror_flag" || 4678 test ! -s conftest.err 4679 } && test -s conftest.$ac_objext; then 4680 eval "$as_ac_Header=yes" 4681 else 4682 echo "$as_me: failed program was:" >&5 4683 sed 's/^/| /' conftest.$ac_ext >&5 4684 4685 eval "$as_ac_Header=no" 4686 fi 4687 4386 #ifndef __APPLE_CC__ 4387 not a universal capable compiler 4388 #endif 4389 typedef int dummy; 4390 4391 _ACEOF 4392 if ac_fn_c_try_compile "$LINENO"; then : 4393 4394 # Check for potential -arch flags. It is not universal unless 4395 # there are at least two -arch flags with different values. 4396 ac_arch= 4397 ac_prev= 4398 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4399 if test -n "$ac_prev"; then 4400 case $ac_word in 4401 i?86 | x86_64 | ppc | ppc64) 4402 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4403 ac_arch=$ac_word 4404 else 4405 ac_cv_c_bigendian=universal 4406 break 4407 fi 4408 ;; 4409 esac 4410 ac_prev= 4411 elif test "x$ac_word" = "x-arch"; then 4412 ac_prev=arch 4413 fi 4414 done 4415 fi 4688 4416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4689 fi 4690 ac_res=`eval echo '${'$as_ac_Header'}'` 4691 { echo "$as_me:$LINENO: result: $ac_res" >&5 4692 echo "${ECHO_T}$ac_res" >&6; } 4693 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4694 cat >>confdefs.h <<_ACEOF 4695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4696 _ACEOF 4697 4698 fi 4699 4700 done 4701 4702 4703 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4704 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4705 if test "${ac_cv_c_bigendian+set}" = set; then 4706 echo $ECHO_N "(cached) $ECHO_C" >&6 4707 else 4708 # See if sys/param.h defines the BYTE_ORDER macro. 4709 cat >conftest.$ac_ext <<_ACEOF 4710 /* confdefs.h. */ 4711 _ACEOF 4712 cat confdefs.h >>conftest.$ac_ext 4713 cat >>conftest.$ac_ext <<_ACEOF 4417 if test $ac_cv_c_bigendian = unknown; then 4418 # See if sys/param.h defines the BYTE_ORDER macro. 4419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4714 4420 /* end confdefs.h. */ 4715 4421 #include <sys/types.h> 4716 #include <sys/param.h>4422 #include <sys/param.h> 4717 4423 4718 4424 int 4719 4425 main () 4720 4426 { 4721 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4722 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4723 bogus endian macros 4724 #endif 4427 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4428 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4429 && LITTLE_ENDIAN) 4430 bogus endian macros 4431 #endif 4725 4432 4726 4433 ; … … 4728 4435 } 4729 4436 _ACEOF 4730 rm -f conftest.$ac_objext 4731 if { (ac_try="$ac_compile" 4732 case "(($ac_try" in 4733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4734 *) ac_try_echo=$ac_try;; 4735 esac 4736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4737 (eval "$ac_compile") 2>conftest.er1 4738 ac_status=$? 4739 grep -v '^ *+' conftest.er1 >conftest.err 4740 rm -f conftest.er1 4741 cat conftest.err >&5 4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4743 (exit $ac_status); } && { 4744 test -z "$ac_c_werror_flag" || 4745 test ! -s conftest.err 4746 } && test -s conftest.$ac_objext; then 4437 if ac_fn_c_try_compile "$LINENO"; then : 4747 4438 # It does; now see whether it defined to BIG_ENDIAN or not. 4748 cat >conftest.$ac_ext <<_ACEOF 4749 /* confdefs.h. */ 4750 _ACEOF 4751 cat confdefs.h >>conftest.$ac_ext 4752 cat >>conftest.$ac_ext <<_ACEOF 4439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4753 4440 /* end confdefs.h. */ 4754 4441 #include <sys/types.h> 4755 #include <sys/param.h>4442 #include <sys/param.h> 4756 4443 4757 4444 int … … 4759 4446 { 4760 4447 #if BYTE_ORDER != BIG_ENDIAN 4761 not big endian4762 #endif4448 not big endian 4449 #endif 4763 4450 4764 4451 ; … … 4766 4453 } 4767 4454 _ACEOF 4768 rm -f conftest.$ac_objext 4769 if { (ac_try="$ac_compile" 4770 case "(($ac_try" in 4771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4772 *) ac_try_echo=$ac_try;; 4773 esac 4774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4775 (eval "$ac_compile") 2>conftest.er1 4776 ac_status=$? 4777 grep -v '^ *+' conftest.er1 >conftest.err 4778 rm -f conftest.er1 4779 cat conftest.err >&5 4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4781 (exit $ac_status); } && { 4782 test -z "$ac_c_werror_flag" || 4783 test ! -s conftest.err 4784 } && test -s conftest.$ac_objext; then 4455 if ac_fn_c_try_compile "$LINENO"; then : 4785 4456 ac_cv_c_bigendian=yes 4786 4457 else 4787 echo "$as_me: failed program was:" >&5 4788 sed 's/^/| /' conftest.$ac_ext >&5 4789 4790 ac_cv_c_bigendian=no 4791 fi 4792 4458 ac_cv_c_bigendian=no 4459 fi 4793 4460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4794 else 4795 echo "$as_me: failed program was:" >&5 4796 sed 's/^/| /' conftest.$ac_ext >&5 4797 4798 # It does not; compile a test program. 4799 if test "$cross_compiling" = yes; then 4800 # try to guess the endianness by grepping values into an object file 4801 ac_cv_c_bigendian=unknown 4802 cat >conftest.$ac_ext <<_ACEOF 4803 /* confdefs.h. */ 4804 _ACEOF 4805 cat confdefs.h >>conftest.$ac_ext 4806 cat >>conftest.$ac_ext <<_ACEOF 4461 fi 4462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4463 fi 4464 if test $ac_cv_c_bigendian = unknown; then 4465 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4807 4467 /* end confdefs.h. */ 4808 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4809 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4810 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 4811 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4812 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4813 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 4468 #include <limits.h> 4469 4814 4470 int 4815 4471 main () 4816 4472 { 4817 _ascii (); _ebcdic (); 4473 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4474 bogus endian macros 4475 #endif 4476 4818 4477 ; 4819 4478 return 0; 4820 4479 } 4821 4480 _ACEOF 4822 rm -f conftest.$ac_objext 4823 if { (ac_try="$ac_compile" 4824 case "(($ac_try" in 4825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4826 *) ac_try_echo=$ac_try;; 4827 esac 4828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4829 (eval "$ac_compile") 2>conftest.er1 4830 ac_status=$? 4831 grep -v '^ *+' conftest.er1 >conftest.err 4832 rm -f conftest.er1 4833 cat conftest.err >&5 4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4835 (exit $ac_status); } && {4836 test -z "$ac_c_werror_flag" || 4837 test ! -s conftest.err 4838 } && test -s conftest.$ac_objext; then 4839 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4481 if ac_fn_c_try_compile "$LINENO"; then : 4482 # It does; now see whether it defined to _BIG_ENDIAN or not. 4483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4484 /* end confdefs.h. */ 4485 #include <limits.h> 4486 4487 int 4488 main () 4489 { 4490 #ifndef _BIG_ENDIAN 4491 not big endian 4492 #endif 4493 4494 ; 4495 return 0; 4496 } 4497 _ACEOF 4498 if ac_fn_c_try_compile "$LINENO"; then : 4840 4499 ac_cv_c_bigendian=yes 4841 fi 4842 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4843 if test "$ac_cv_c_bigendian" = unknown; then 4844 ac_cv_c_bigendian=no 4845 else 4846 # finding both strings is unlikely to happen, but who knows? 4847 ac_cv_c_bigendian=unknown 4848 fi 4849 fi 4850 else 4851 echo "$as_me: failed program was:" >&5 4852 sed 's/^/| /' conftest.$ac_ext >&5 4853 4854 4855 fi 4856 4500 else 4501 ac_cv_c_bigendian=no 4502 fi 4857 4503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4858 else 4859 cat >conftest.$ac_ext <<_ACEOF 4860 /* confdefs.h. */ 4861 _ACEOF 4862 cat confdefs.h >>conftest.$ac_ext 4863 cat >>conftest.$ac_ext <<_ACEOF 4504 fi 4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4506 fi 4507 if test $ac_cv_c_bigendian = unknown; then 4508 # Compile a test program. 4509 if test "$cross_compiling" = yes; then : 4510 # Try to guess by grepping values from an object file. 4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4512 /* end confdefs.h. */ 4513 short int ascii_mm[] = 4514 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4515 short int ascii_ii[] = 4516 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4517 int use_ascii (int i) { 4518 return ascii_mm[i] + ascii_ii[i]; 4519 } 4520 short int ebcdic_ii[] = 4521 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4522 short int ebcdic_mm[] = 4523 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4524 int use_ebcdic (int i) { 4525 return ebcdic_mm[i] + ebcdic_ii[i]; 4526 } 4527 extern int foo; 4528 4529 int 4530 main () 4531 { 4532 return use_ascii (foo) == use_ebcdic (foo); 4533 ; 4534 return 0; 4535 } 4536 _ACEOF 4537 if ac_fn_c_try_compile "$LINENO"; then : 4538 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4539 ac_cv_c_bigendian=yes 4540 fi 4541 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4542 if test "$ac_cv_c_bigendian" = unknown; then 4543 ac_cv_c_bigendian=no 4544 else 4545 # finding both strings is unlikely to happen, but who knows? 4546 ac_cv_c_bigendian=unknown 4547 fi 4548 fi 4549 fi 4550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4551 else 4552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4864 4553 /* end confdefs.h. */ 4865 4554 $ac_includes_default … … 4868 4557 { 4869 4558 4870 /* Are we little or big endian? From Harbison&Steele. */4871 union4872 {4873 long int l;4874 char c[sizeof (long int)];4875 } u;4876 u.l = 1;4877 return u.c[sizeof (long int) - 1] == 1;4559 /* Are we little or big endian? From Harbison&Steele. */ 4560 union 4561 { 4562 long int l; 4563 char c[sizeof (long int)]; 4564 } u; 4565 u.l = 1; 4566 return u.c[sizeof (long int) - 1] == 1; 4878 4567 4879 4568 ; … … 4881 4570 } 4882 4571 _ACEOF 4883 rm -f conftest$ac_exeext 4884 if { (ac_try="$ac_link" 4885 case "(($ac_try" in 4886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4887 *) ac_try_echo=$ac_try;; 4888 esac 4889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4890 (eval "$ac_link") 2>&5 4891 ac_status=$? 4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4894 { (case "(($ac_try" in 4895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4896 *) ac_try_echo=$ac_try;; 4897 esac 4898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4899 (eval "$ac_try") 2>&5 4900 ac_status=$? 4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4902 (exit $ac_status); }; }; then 4572 if ac_fn_c_try_run "$LINENO"; then : 4903 4573 ac_cv_c_bigendian=no 4904 4574 else 4905 echo "$as_me: program exited with status $ac_status" >&5 4906 echo "$as_me: failed program was:" >&5 4907 sed 's/^/| /' conftest.$ac_ext >&5 4908 4909 ( exit $ac_status ) 4910 ac_cv_c_bigendian=yes 4911 fi 4912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4913 fi 4914 4915 4916 fi 4917 4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4919 fi 4920 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4921 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4922 case $ac_cv_c_bigendian in 4923 yes) 4924 4925 cat >>confdefs.h <<\_ACEOF 4926 #define WORDS_BIGENDIAN 1 4927 _ACEOF 4928 ;; 4929 no) 4930 ;; 4931 *) 4932 { { echo "$as_me:$LINENO: error: unknown endianness 4933 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4934 echo "$as_me: error: unknown endianness 4935 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4936 { (exit 1); exit 1; }; } ;; 4937 esac 4575 ac_cv_c_bigendian=yes 4576 fi 4577 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4578 conftest.$ac_objext conftest.beam conftest.$ac_ext 4579 fi 4580 4581 fi 4582 fi 4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4584 $as_echo "$ac_cv_c_bigendian" >&6; } 4585 case $ac_cv_c_bigendian in #( 4586 yes) 4587 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4588 ;; #( 4589 no) 4590 ;; #( 4591 universal) 4592 4593 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4594 4595 ;; #( 4596 *) 4597 as_fn_error "unknown endianness 4598 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4599 esac 4938 4600 4939 4601 … … 4946 4608 case $target in 4947 4609 *mingw* | *cygw* | *win32* | *w32* ) 4948 cat >>confdefs.h <<\_ACEOF 4949 #define PJ_WIN32 1 4950 _ACEOF 4951 4952 cat >>confdefs.h <<\_ACEOF 4953 #define PJ_WIN32_WINNT 0x0400 4954 _ACEOF 4955 4956 cat >>confdefs.h <<\_ACEOF 4957 #define WIN32_LEAN_AND_MEAN 1 4958 _ACEOF 4610 $as_echo "#define PJ_WIN32 1" >>confdefs.h 4611 4612 $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 4613 4614 $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 4959 4615 4960 4616 ;; 4961 4617 *darwin*) 4962 cat >>confdefs.h <<\_ACEOF 4963 #define PJ_DARWINOS 1 4964 _ACEOF 4618 $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 4965 4619 4966 4620 ;; 4967 4621 *linux*) 4968 cat >>confdefs.h <<\_ACEOF 4969 #define PJ_LINUX 1 4970 _ACEOF 4622 $as_echo "#define PJ_LINUX 1" >>confdefs.h 4971 4623 4972 4624 ;; 4973 4625 *rtems*) 4974 cat >>confdefs.h <<\_ACEOF 4975 #define PJ_RTEMS 1 4976 _ACEOF 4626 $as_echo "#define PJ_RTEMS 1" >>confdefs.h 4977 4627 4978 4628 ;; 4979 4629 *sunos* | *solaris* ) 4980 cat >>confdefs.h <<\_ACEOF 4981 #define PJ_SUNOS 1 4982 _ACEOF 4630 $as_echo "#define PJ_SUNOS 1" >>confdefs.h 4983 4631 4984 4632 ;; … … 4991 4639 4992 4640 # Check whether --enable-floating-point was given. 4993 if test "${enable_floating_point+set}" = set; then 4641 if test "${enable_floating_point+set}" = set; then : 4994 4642 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 4995 cat >>confdefs.h <<\_ACEOF 4996 #define PJ_HAS_FLOATING_POINT 0 4997 _ACEOF 4998 4999 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 5000 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 4643 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 4644 4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 4646 $as_echo "Checking if floating point is disabled... yes" >&6; } 5001 4647 fi 5002 4648 else 5003 4649 5004 cat >>confdefs.h <<\_ACEOF 5005 #define PJ_HAS_FLOATING_POINT 1 5006 _ACEOF 5007 5008 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 5009 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 5010 5011 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 5012 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 5013 if test "${ac_cv_lib_m_fmod+set}" = set; then 5014 echo $ECHO_N "(cached) $ECHO_C" >&6 4650 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 4651 4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 4653 $as_echo "Checking if floating point is disabled... no" >&6; } 4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 4655 $as_echo_n "checking for fmod in -lm... " >&6; } 4656 if test "${ac_cv_lib_m_fmod+set}" = set; then : 4657 $as_echo_n "(cached) " >&6 5015 4658 else 5016 4659 ac_check_lib_save_LIBS=$LIBS 5017 4660 LIBS="-lm $LIBS" 5018 cat >conftest.$ac_ext <<_ACEOF 5019 /* confdefs.h. */ 5020 _ACEOF 5021 cat confdefs.h >>conftest.$ac_ext 5022 cat >>conftest.$ac_ext <<_ACEOF 4661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5023 4662 /* end confdefs.h. */ 5024 4663 … … 5038 4677 } 5039 4678 _ACEOF 5040 rm -f conftest.$ac_objext conftest$ac_exeext 5041 if { (ac_try="$ac_link" 5042 case "(($ac_try" in 5043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5044 *) ac_try_echo=$ac_try;; 5045 esac 5046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5047 (eval "$ac_link") 2>conftest.er1 5048 ac_status=$? 5049 grep -v '^ *+' conftest.er1 >conftest.err 5050 rm -f conftest.er1 5051 cat conftest.err >&5 5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5053 (exit $ac_status); } && { 5054 test -z "$ac_c_werror_flag" || 5055 test ! -s conftest.err 5056 } && test -s conftest$ac_exeext && 5057 $as_test_x conftest$ac_exeext; then 4679 if ac_fn_c_try_link "$LINENO"; then : 5058 4680 ac_cv_lib_m_fmod=yes 5059 4681 else 5060 echo "$as_me: failed program was:" >&5 5061 sed 's/^/| /' conftest.$ac_ext >&5 5062 5063 ac_cv_lib_m_fmod=no 5064 fi 5065 5066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5067 conftest$ac_exeext conftest.$ac_ext 4682 ac_cv_lib_m_fmod=no 4683 fi 4684 rm -f core conftest.err conftest.$ac_objext \ 4685 conftest$ac_exeext conftest.$ac_ext 5068 4686 LIBS=$ac_check_lib_save_LIBS 5069 4687 fi 5070 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&55071 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; }5072 if test $ac_cv_lib_m_fmod = yes; then4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 4689 $as_echo "$ac_cv_lib_m_fmod" >&6; } 4690 if test "x$ac_cv_lib_m_fmod" = x""yes; then : 5073 4691 cat >>confdefs.h <<_ACEOF 5074 4692 #define HAVE_LIBM 1 … … 5084 4702 5085 4703 5086 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5087 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5088 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5089 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5090 echo $ECHO_N "(cached) $ECHO_C" >&6 5091 fi 5092 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5093 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5094 else 5095 # Is the header compilable? 5096 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 5097 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 5098 cat >conftest.$ac_ext <<_ACEOF 5099 /* confdefs.h. */ 5100 _ACEOF 5101 cat confdefs.h >>conftest.$ac_ext 5102 cat >>conftest.$ac_ext <<_ACEOF 5103 /* end confdefs.h. */ 5104 $ac_includes_default 5105 #include <arpa/inet.h> 5106 _ACEOF 5107 rm -f conftest.$ac_objext 5108 if { (ac_try="$ac_compile" 5109 case "(($ac_try" in 5110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5111 *) ac_try_echo=$ac_try;; 5112 esac 5113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5114 (eval "$ac_compile") 2>conftest.er1 5115 ac_status=$? 5116 grep -v '^ *+' conftest.er1 >conftest.err 5117 rm -f conftest.er1 5118 cat conftest.err >&5 5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5120 (exit $ac_status); } && { 5121 test -z "$ac_c_werror_flag" || 5122 test ! -s conftest.err 5123 } && test -s conftest.$ac_objext; then 5124 ac_header_compiler=yes 5125 else 5126 echo "$as_me: failed program was:" >&5 5127 sed 's/^/| /' conftest.$ac_ext >&5 5128 5129 ac_header_compiler=no 5130 fi 5131 5132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5133 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5134 echo "${ECHO_T}$ac_header_compiler" >&6; } 5135 5136 # Is the header present? 5137 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 5138 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 5139 cat >conftest.$ac_ext <<_ACEOF 5140 /* confdefs.h. */ 5141 _ACEOF 5142 cat confdefs.h >>conftest.$ac_ext 5143 cat >>conftest.$ac_ext <<_ACEOF 5144 /* end confdefs.h. */ 5145 #include <arpa/inet.h> 5146 _ACEOF 5147 if { (ac_try="$ac_cpp conftest.$ac_ext" 5148 case "(($ac_try" in 5149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5150 *) ac_try_echo=$ac_try;; 5151 esac 5152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5154 ac_status=$? 5155 grep -v '^ *+' conftest.er1 >conftest.err 5156 rm -f conftest.er1 5157 cat conftest.err >&5 5158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5159 (exit $ac_status); } >/dev/null && { 5160 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5161 test ! -s conftest.err 5162 }; then 5163 ac_header_preproc=yes 5164 else 5165 echo "$as_me: failed program was:" >&5 5166 sed 's/^/| /' conftest.$ac_ext >&5 5167 5168 ac_header_preproc=no 5169 fi 5170 5171 rm -f conftest.err conftest.$ac_ext 5172 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5173 echo "${ECHO_T}$ac_header_preproc" >&6; } 5174 5175 # So? What about this header? 5176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5177 yes:no: ) 5178 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 5179 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5180 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 5181 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 5182 ac_header_preproc=yes 5183 ;; 5184 no:yes:* ) 5185 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 5186 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 5187 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 5188 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 5189 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 5190 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 5191 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 5192 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 5193 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 5194 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 5195 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 5196 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 5197 5198 ;; 5199 esac 5200 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5201 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5202 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5203 echo $ECHO_N "(cached) $ECHO_C" >&6 5204 else 5205 ac_cv_header_arpa_inet_h=$ac_header_preproc 5206 fi 5207 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5208 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5209 5210 fi 5211 if test $ac_cv_header_arpa_inet_h = yes; then 5212 cat >>confdefs.h <<\_ACEOF 5213 #define PJ_HAS_ARPA_INET_H 1 5214 _ACEOF 5215 5216 fi 5217 5218 5219 if test "${ac_cv_header_assert_h+set}" = set; then 5220 { echo "$as_me:$LINENO: checking for assert.h" >&5 5221 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5222 if test "${ac_cv_header_assert_h+set}" = set; then 5223 echo $ECHO_N "(cached) $ECHO_C" >&6 5224 fi 5225 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5226 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5227 else 5228 # Is the header compilable? 5229 { echo "$as_me:$LINENO: checking assert.h usability" >&5 5230 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 5231 cat >conftest.$ac_ext <<_ACEOF 5232 /* confdefs.h. */ 5233 _ACEOF 5234 cat confdefs.h >>conftest.$ac_ext 5235 cat >>conftest.$ac_ext <<_ACEOF 5236 /* end confdefs.h. */ 5237 $ac_includes_default 5238 #include <assert.h> 5239 _ACEOF 5240 rm -f conftest.$ac_objext 5241 if { (ac_try="$ac_compile" 5242 case "(($ac_try" in 5243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5244 *) ac_try_echo=$ac_try;; 5245 esac 5246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5247 (eval "$ac_compile") 2>conftest.er1 5248 ac_status=$? 5249 grep -v '^ *+' conftest.er1 >conftest.err 5250 rm -f conftest.er1 5251 cat conftest.err >&5 5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5253 (exit $ac_status); } && { 5254 test -z "$ac_c_werror_flag" || 5255 test ! -s conftest.err 5256 } && test -s conftest.$ac_objext; then 5257 ac_header_compiler=yes 5258 else 5259 echo "$as_me: failed program was:" >&5 5260 sed 's/^/| /' conftest.$ac_ext >&5 5261 5262 ac_header_compiler=no 5263 fi 5264 5265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5266 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5267 echo "${ECHO_T}$ac_header_compiler" >&6; } 5268 5269 # Is the header present? 5270 { echo "$as_me:$LINENO: checking assert.h presence" >&5 5271 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 5272 cat >conftest.$ac_ext <<_ACEOF 5273 /* confdefs.h. */ 5274 _ACEOF 5275 cat confdefs.h >>conftest.$ac_ext 5276 cat >>conftest.$ac_ext <<_ACEOF 5277 /* end confdefs.h. */ 5278 #include <assert.h> 5279 _ACEOF 5280 if { (ac_try="$ac_cpp conftest.$ac_ext" 5281 case "(($ac_try" in 5282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5283 *) ac_try_echo=$ac_try;; 5284 esac 5285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5286 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5287 ac_status=$? 5288 grep -v '^ *+' conftest.er1 >conftest.err 5289 rm -f conftest.er1 5290 cat conftest.err >&5 5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5292 (exit $ac_status); } >/dev/null && { 5293 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5294 test ! -s conftest.err 5295 }; then 5296 ac_header_preproc=yes 5297 else 5298 echo "$as_me: failed program was:" >&5 5299 sed 's/^/| /' conftest.$ac_ext >&5 5300 5301 ac_header_preproc=no 5302 fi 5303 5304 rm -f conftest.err conftest.$ac_ext 5305 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5306 echo "${ECHO_T}$ac_header_preproc" >&6; } 5307 5308 # So? What about this header? 5309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5310 yes:no: ) 5311 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 5312 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5313 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 5314 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 5315 ac_header_preproc=yes 5316 ;; 5317 no:yes:* ) 5318 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 5319 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 5320 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5 5321 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;} 5322 { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 5323 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 5324 { echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5 5325 echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;} 5326 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 5327 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 5328 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 5329 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 5330 5331 ;; 5332 esac 5333 { echo "$as_me:$LINENO: checking for assert.h" >&5 5334 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5335 if test "${ac_cv_header_assert_h+set}" = set; then 5336 echo $ECHO_N "(cached) $ECHO_C" >&6 5337 else 5338 ac_cv_header_assert_h=$ac_header_preproc 5339 fi 5340 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5341 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5342 5343 fi 5344 if test $ac_cv_header_assert_h = yes; then 5345 cat >>confdefs.h <<\_ACEOF 5346 #define PJ_HAS_ASSERT_H 1 5347 _ACEOF 5348 5349 fi 5350 5351 5352 if test "${ac_cv_header_ctype_h+set}" = set; then 5353 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5354 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5355 if test "${ac_cv_header_ctype_h+set}" = set; then 5356 echo $ECHO_N "(cached) $ECHO_C" >&6 5357 fi 5358 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5359 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5360 else 5361 # Is the header compilable? 5362 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 5363 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 5364 cat >conftest.$ac_ext <<_ACEOF 5365 /* confdefs.h. */ 5366 _ACEOF 5367 cat confdefs.h >>conftest.$ac_ext 5368 cat >>conftest.$ac_ext <<_ACEOF 5369 /* end confdefs.h. */ 5370 $ac_includes_default 5371 #include <ctype.h> 5372 _ACEOF 5373 rm -f conftest.$ac_objext 5374 if { (ac_try="$ac_compile" 5375 case "(($ac_try" in 5376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5377 *) ac_try_echo=$ac_try;; 5378 esac 5379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5380 (eval "$ac_compile") 2>conftest.er1 5381 ac_status=$? 5382 grep -v '^ *+' conftest.er1 >conftest.err 5383 rm -f conftest.er1 5384 cat conftest.err >&5 5385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5386 (exit $ac_status); } && { 5387 test -z "$ac_c_werror_flag" || 5388 test ! -s conftest.err 5389 } && test -s conftest.$ac_objext; then 5390 ac_header_compiler=yes 5391 else 5392 echo "$as_me: failed program was:" >&5 5393 sed 's/^/| /' conftest.$ac_ext >&5 5394 5395 ac_header_compiler=no 5396 fi 5397 5398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5399 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5400 echo "${ECHO_T}$ac_header_compiler" >&6; } 5401 5402 # Is the header present? 5403 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 5404 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 5405 cat >conftest.$ac_ext <<_ACEOF 5406 /* confdefs.h. */ 5407 _ACEOF 5408 cat confdefs.h >>conftest.$ac_ext 5409 cat >>conftest.$ac_ext <<_ACEOF 5410 /* end confdefs.h. */ 5411 #include <ctype.h> 5412 _ACEOF 5413 if { (ac_try="$ac_cpp conftest.$ac_ext" 5414 case "(($ac_try" in 5415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5416 *) ac_try_echo=$ac_try;; 5417 esac 5418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5419 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5420 ac_status=$? 5421 grep -v '^ *+' conftest.er1 >conftest.err 5422 rm -f conftest.er1 5423 cat conftest.err >&5 5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5425 (exit $ac_status); } >/dev/null && { 5426 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5427 test ! -s conftest.err 5428 }; then 5429 ac_header_preproc=yes 5430 else 5431 echo "$as_me: failed program was:" >&5 5432 sed 's/^/| /' conftest.$ac_ext >&5 5433 5434 ac_header_preproc=no 5435 fi 5436 5437 rm -f conftest.err conftest.$ac_ext 5438 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5439 echo "${ECHO_T}$ac_header_preproc" >&6; } 5440 5441 # So? What about this header? 5442 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5443 yes:no: ) 5444 { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 5445 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5446 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 5447 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 5448 ac_header_preproc=yes 5449 ;; 5450 no:yes:* ) 5451 { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 5452 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 5453 { echo "$as_me:$LINENO: WARNING: ctype.h: check for missing prerequisite headers?" >&5 5454 echo "$as_me: WARNING: ctype.h: check for missing prerequisite headers?" >&2;} 5455 { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 5456 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 5457 { echo "$as_me:$LINENO: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&5 5458 echo "$as_me: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&2;} 5459 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 5460 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 5461 { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 5462 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 5463 5464 ;; 5465 esac 5466 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5467 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5468 if test "${ac_cv_header_ctype_h+set}" = set; then 5469 echo $ECHO_N "(cached) $ECHO_C" >&6 5470 else 5471 ac_cv_header_ctype_h=$ac_header_preproc 5472 fi 5473 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5474 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5475 5476 fi 5477 if test $ac_cv_header_ctype_h = yes; then 5478 cat >>confdefs.h <<\_ACEOF 5479 #define PJ_HAS_CTYPE_H 1 5480 _ACEOF 4704 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 4705 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 4706 $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 4707 4708 fi 4709 4710 4711 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 4712 if test "x$ac_cv_header_assert_h" = x""yes; then : 4713 $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 4714 4715 fi 4716 4717 4718 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 4719 if test "x$ac_cv_header_ctype_h" = x""yes; then : 4720 $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 5481 4721 5482 4722 fi … … 5486 4726 case $target in 5487 4727 *mingw* | *cygw* | *win32* | *w32* ) 5488 cat >>confdefs.h <<\_ACEOF 5489 #define PJ_HAS_ERRNO_H 0 5490 _ACEOF 4728 $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 5491 4729 5492 4730 ;; 5493 4731 *) 5494 if test "${ac_cv_header_errno_h+set}" = set; then 5495 { echo "$as_me:$LINENO: checking for errno.h" >&5 5496 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 5497 if test "${ac_cv_header_errno_h+set}" = set; then 5498 echo $ECHO_N "(cached) $ECHO_C" >&6 5499 fi 5500 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5501 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 5502 else 5503 # Is the header compilable? 5504 { echo "$as_me:$LINENO: checking errno.h usability" >&5 5505 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 5506 cat >conftest.$ac_ext <<_ACEOF 5507 /* confdefs.h. */ 5508 _ACEOF 5509 cat confdefs.h >>conftest.$ac_ext 5510 cat >>conftest.$ac_ext <<_ACEOF 5511 /* end confdefs.h. */ 5512 $ac_includes_default 5513 #include <errno.h> 5514 _ACEOF 5515 rm -f conftest.$ac_objext 5516 if { (ac_try="$ac_compile" 5517 case "(($ac_try" in 5518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5519 *) ac_try_echo=$ac_try;; 5520 esac 5521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5522 (eval "$ac_compile") 2>conftest.er1 5523 ac_status=$? 5524 grep -v '^ *+' conftest.er1 >conftest.err 5525 rm -f conftest.er1 5526 cat conftest.err >&5 5527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5528 (exit $ac_status); } && { 5529 test -z "$ac_c_werror_flag" || 5530 test ! -s conftest.err 5531 } && test -s conftest.$ac_objext; then 5532 ac_header_compiler=yes 5533 else 5534 echo "$as_me: failed program was:" >&5 5535 sed 's/^/| /' conftest.$ac_ext >&5 5536 5537 ac_header_compiler=no 5538 fi 5539 5540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5541 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5542 echo "${ECHO_T}$ac_header_compiler" >&6; } 5543 5544 # Is the header present? 5545 { echo "$as_me:$LINENO: checking errno.h presence" >&5 5546 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; } 5547 cat >conftest.$ac_ext <<_ACEOF 5548 /* confdefs.h. */ 5549 _ACEOF 5550 cat confdefs.h >>conftest.$ac_ext 5551 cat >>conftest.$ac_ext <<_ACEOF 5552 /* end confdefs.h. */ 5553 #include <errno.h> 5554 _ACEOF 5555 if { (ac_try="$ac_cpp conftest.$ac_ext" 5556 case "(($ac_try" in 5557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5558 *) ac_try_echo=$ac_try;; 5559 esac 5560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5561 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5562 ac_status=$? 5563 grep -v '^ *+' conftest.er1 >conftest.err 5564 rm -f conftest.er1 5565 cat conftest.err >&5 5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5567 (exit $ac_status); } >/dev/null && { 5568 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5569 test ! -s conftest.err 5570 }; then 5571 ac_header_preproc=yes 5572 else 5573 echo "$as_me: failed program was:" >&5 5574 sed 's/^/| /' conftest.$ac_ext >&5 5575 5576 ac_header_preproc=no 5577 fi 5578 5579 rm -f conftest.err conftest.$ac_ext 5580 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5581 echo "${ECHO_T}$ac_header_preproc" >&6; } 5582 5583 # So? What about this header? 5584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5585 yes:no: ) 5586 { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 5587 echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5588 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 5589 echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 5590 ac_header_preproc=yes 5591 ;; 5592 no:yes:* ) 5593 { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 5594 echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 5595 { echo "$as_me:$LINENO: WARNING: errno.h: check for missing prerequisite headers?" >&5 5596 echo "$as_me: WARNING: errno.h: check for missing prerequisite headers?" >&2;} 5597 { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 5598 echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 5599 { echo "$as_me:$LINENO: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&5 5600 echo "$as_me: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&2;} 5601 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 5602 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 5603 { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 5604 echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 5605 5606 ;; 5607 esac 5608 { echo "$as_me:$LINENO: checking for errno.h" >&5 5609 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 5610 if test "${ac_cv_header_errno_h+set}" = set; then 5611 echo $ECHO_N "(cached) $ECHO_C" >&6 5612 else 5613 ac_cv_header_errno_h=$ac_header_preproc 5614 fi 5615 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5616 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 5617 5618 fi 5619 if test $ac_cv_header_errno_h = yes; then 5620 cat >>confdefs.h <<\_ACEOF 5621 #define PJ_HAS_ERRNO_H 1 5622 _ACEOF 4732 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 4733 if test "x$ac_cv_header_errno_h" = x""yes; then : 4734 $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 5623 4735 5624 4736 fi … … 5628 4740 esac 5629 4741 5630 if test "${ac_cv_header_fcntl_h+set}" = set; then 5631 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 5632 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 5633 if test "${ac_cv_header_fcntl_h+set}" = set; then 5634 echo $ECHO_N "(cached) $ECHO_C" >&6 5635 fi 5636 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 5637 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 5638 else 5639 # Is the header compilable? 5640 { echo "$as_me:$LINENO: checking fcntl.h usability" >&5 5641 echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6; } 5642 cat >conftest.$ac_ext <<_ACEOF 5643 /* confdefs.h. */ 5644 _ACEOF 5645 cat confdefs.h >>conftest.$ac_ext 5646 cat >>conftest.$ac_ext <<_ACEOF 5647 /* end confdefs.h. */ 5648 $ac_includes_default 5649 #include <fcntl.h> 5650 _ACEOF 5651 rm -f conftest.$ac_objext 5652 if { (ac_try="$ac_compile" 5653 case "(($ac_try" in 5654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5655 *) ac_try_echo=$ac_try;; 5656 esac 5657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5658 (eval "$ac_compile") 2>conftest.er1 5659 ac_status=$? 5660 grep -v '^ *+' conftest.er1 >conftest.err 5661 rm -f conftest.er1 5662 cat conftest.err >&5 5663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5664 (exit $ac_status); } && { 5665 test -z "$ac_c_werror_flag" || 5666 test ! -s conftest.err 5667 } && test -s conftest.$ac_objext; then 5668 ac_header_compiler=yes 5669 else 5670 echo "$as_me: failed program was:" >&5 5671 sed 's/^/| /' conftest.$ac_ext >&5 5672 5673 ac_header_compiler=no 5674 fi 5675 5676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5677 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5678 echo "${ECHO_T}$ac_header_compiler" >&6; } 5679 5680 # Is the header present? 5681 { echo "$as_me:$LINENO: checking fcntl.h presence" >&5 5682 echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6; } 5683 cat >conftest.$ac_ext <<_ACEOF 5684 /* confdefs.h. */ 5685 _ACEOF 5686 cat confdefs.h >>conftest.$ac_ext 5687 cat >>conftest.$ac_ext <<_ACEOF 5688 /* end confdefs.h. */ 5689 #include <fcntl.h> 5690 _ACEOF 5691 if { (ac_try="$ac_cpp conftest.$ac_ext" 5692 case "(($ac_try" in 5693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5694 *) ac_try_echo=$ac_try;; 5695 esac 5696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5698 ac_status=$? 5699 grep -v '^ *+' conftest.er1 >conftest.err 5700 rm -f conftest.er1 5701 cat conftest.err >&5 5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5703 (exit $ac_status); } >/dev/null && { 5704 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5705 test ! -s conftest.err 5706 }; then 5707 ac_header_preproc=yes 5708 else 5709 echo "$as_me: failed program was:" >&5 5710 sed 's/^/| /' conftest.$ac_ext >&5 5711 5712 ac_header_preproc=no 5713 fi 5714 5715 rm -f conftest.err conftest.$ac_ext 5716 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5717 echo "${ECHO_T}$ac_header_preproc" >&6; } 5718 5719 # So? What about this header? 5720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5721 yes:no: ) 5722 { echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 5723 echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5724 { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 5725 echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 5726 ac_header_preproc=yes 5727 ;; 5728 no:yes:* ) 5729 { echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 5730 echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 5731 { echo "$as_me:$LINENO: WARNING: fcntl.h: check for missing prerequisite headers?" >&5 5732 echo "$as_me: WARNING: fcntl.h: check for missing prerequisite headers?" >&2;} 5733 { echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 5734 echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 5735 { echo "$as_me:$LINENO: WARNING: fcntl.h: section \"Present But Cannot Be Compiled\"" >&5 5736 echo "$as_me: WARNING: fcntl.h: section \"Present But Cannot Be Compiled\"" >&2;} 5737 { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 5738 echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 5739 { echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 5740 echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 5741 5742 ;; 5743 esac 5744 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 5745 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 5746 if test "${ac_cv_header_fcntl_h+set}" = set; then 5747 echo $ECHO_N "(cached) $ECHO_C" >&6 5748 else 5749 ac_cv_header_fcntl_h=$ac_header_preproc 5750 fi 5751 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 5752 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 5753 5754 fi 5755 if test $ac_cv_header_fcntl_h = yes; then 5756 cat >>confdefs.h <<\_ACEOF 5757 #define PJ_HAS_FCNTL_H 1 5758 _ACEOF 5759 5760 fi 5761 5762 5763 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5764 { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 5765 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 5766 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5767 echo $ECHO_N "(cached) $ECHO_C" >&6 5768 fi 5769 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 5770 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 5771 else 5772 # Is the header compilable? 5773 { echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 5774 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6; } 5775 cat >conftest.$ac_ext <<_ACEOF 5776 /* confdefs.h. */ 5777 _ACEOF 5778 cat confdefs.h >>conftest.$ac_ext 5779 cat >>conftest.$ac_ext <<_ACEOF 5780 /* end confdefs.h. */ 5781 $ac_includes_default 5782 #include <linux/socket.h> 5783 _ACEOF 5784 rm -f conftest.$ac_objext 5785 if { (ac_try="$ac_compile" 5786 case "(($ac_try" in 5787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5788 *) ac_try_echo=$ac_try;; 5789 esac 5790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5791 (eval "$ac_compile") 2>conftest.er1 5792 ac_status=$? 5793 grep -v '^ *+' conftest.er1 >conftest.err 5794 rm -f conftest.er1 5795 cat conftest.err >&5 5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5797 (exit $ac_status); } && { 5798 test -z "$ac_c_werror_flag" || 5799 test ! -s conftest.err 5800 } && test -s conftest.$ac_objext; then 5801 ac_header_compiler=yes 5802 else 5803 echo "$as_me: failed program was:" >&5 5804 sed 's/^/| /' conftest.$ac_ext >&5 5805 5806 ac_header_compiler=no 5807 fi 5808 5809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5810 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5811 echo "${ECHO_T}$ac_header_compiler" >&6; } 5812 5813 # Is the header present? 5814 { echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 5815 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6; } 5816 cat >conftest.$ac_ext <<_ACEOF 5817 /* confdefs.h. */ 5818 _ACEOF 5819 cat confdefs.h >>conftest.$ac_ext 5820 cat >>conftest.$ac_ext <<_ACEOF 5821 /* end confdefs.h. */ 5822 #include <linux/socket.h> 5823 _ACEOF 5824 if { (ac_try="$ac_cpp conftest.$ac_ext" 5825 case "(($ac_try" in 5826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5827 *) ac_try_echo=$ac_try;; 5828 esac 5829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5830 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5831 ac_status=$? 5832 grep -v '^ *+' conftest.er1 >conftest.err 5833 rm -f conftest.er1 5834 cat conftest.err >&5 5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5836 (exit $ac_status); } >/dev/null && { 5837 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5838 test ! -s conftest.err 5839 }; then 5840 ac_header_preproc=yes 5841 else 5842 echo "$as_me: failed program was:" >&5 5843 sed 's/^/| /' conftest.$ac_ext >&5 5844 5845 ac_header_preproc=no 5846 fi 5847 5848 rm -f conftest.err conftest.$ac_ext 5849 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5850 echo "${ECHO_T}$ac_header_preproc" >&6; } 5851 5852 # So? What about this header? 5853 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5854 yes:no: ) 5855 { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 5856 echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5857 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 5858 echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 5859 ac_header_preproc=yes 5860 ;; 5861 no:yes:* ) 5862 { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 5863 echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 5864 { echo "$as_me:$LINENO: WARNING: linux/socket.h: check for missing prerequisite headers?" >&5 5865 echo "$as_me: WARNING: linux/socket.h: check for missing prerequisite headers?" >&2;} 5866 { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 5867 echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 5868 { echo "$as_me:$LINENO: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&5 5869 echo "$as_me: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&2;} 5870 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 5871 echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 5872 { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 5873 echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 5874 5875 ;; 5876 esac 5877 { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 5878 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 5879 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5880 echo $ECHO_N "(cached) $ECHO_C" >&6 5881 else 5882 ac_cv_header_linux_socket_h=$ac_header_preproc 5883 fi 5884 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 5885 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 5886 5887 fi 5888 if test $ac_cv_header_linux_socket_h = yes; then 5889 cat >>confdefs.h <<\_ACEOF 5890 #define PJ_HAS_LINUX_SOCKET_H 1 5891 _ACEOF 5892 5893 fi 5894 5895 5896 if test "${ac_cv_header_limits_h+set}" = set; then 5897 { echo "$as_me:$LINENO: checking for limits.h" >&5 5898 echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; } 5899 if test "${ac_cv_header_limits_h+set}" = set; then 5900 echo $ECHO_N "(cached) $ECHO_C" >&6 5901 fi 5902 { echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 5903 echo "${ECHO_T}$ac_cv_header_limits_h" >&6; } 5904 else 5905 # Is the header compilable? 5906 { echo "$as_me:$LINENO: checking limits.h usability" >&5 5907 echo $ECHO_N "checking limits.h usability... $ECHO_C" >&6; } 5908 cat >conftest.$ac_ext <<_ACEOF 5909 /* confdefs.h. */ 5910 _ACEOF 5911 cat confdefs.h >>conftest.$ac_ext 5912 cat >>conftest.$ac_ext <<_ACEOF 5913 /* end confdefs.h. */ 5914 $ac_includes_default 5915 #include <limits.h> 5916 _ACEOF 5917 rm -f conftest.$ac_objext 5918 if { (ac_try="$ac_compile" 5919 case "(($ac_try" in 5920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5921 *) ac_try_echo=$ac_try;; 5922 esac 5923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5924 (eval "$ac_compile") 2>conftest.er1 5925 ac_status=$? 5926 grep -v '^ *+' conftest.er1 >conftest.err 5927 rm -f conftest.er1 5928 cat conftest.err >&5 5929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5930 (exit $ac_status); } && { 5931 test -z "$ac_c_werror_flag" || 5932 test ! -s conftest.err 5933 } && test -s conftest.$ac_objext; then 5934 ac_header_compiler=yes 5935 else 5936 echo "$as_me: failed program was:" >&5 5937 sed 's/^/| /' conftest.$ac_ext >&5 5938 5939 ac_header_compiler=no 5940 fi 5941 5942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5943 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5944 echo "${ECHO_T}$ac_header_compiler" >&6; } 5945 5946 # Is the header present? 5947 { echo "$as_me:$LINENO: checking limits.h presence" >&5 5948 echo $ECHO_N "checking limits.h presence... $ECHO_C" >&6; } 5949 cat >conftest.$ac_ext <<_ACEOF 5950 /* confdefs.h. */ 5951 _ACEOF 5952 cat confdefs.h >>conftest.$ac_ext 5953 cat >>conftest.$ac_ext <<_ACEOF 5954 /* end confdefs.h. */ 5955 #include <limits.h> 5956 _ACEOF 5957 if { (ac_try="$ac_cpp conftest.$ac_ext" 5958 case "(($ac_try" in 5959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5960 *) ac_try_echo=$ac_try;; 5961 esac 5962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5964 ac_status=$? 5965 grep -v '^ *+' conftest.er1 >conftest.err 5966 rm -f conftest.er1 5967 cat conftest.err >&5 5968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5969 (exit $ac_status); } >/dev/null && { 5970 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5971 test ! -s conftest.err 5972 }; then 5973 ac_header_preproc=yes 5974 else 5975 echo "$as_me: failed program was:" >&5 5976 sed 's/^/| /' conftest.$ac_ext >&5 5977 5978 ac_header_preproc=no 5979 fi 5980 5981 rm -f conftest.err conftest.$ac_ext 5982 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5983 echo "${ECHO_T}$ac_header_preproc" >&6; } 5984 5985 # So? What about this header? 5986 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5987 yes:no: ) 5988 { echo "$as_me:$LINENO: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&5 5989 echo "$as_me: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5990 { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the compiler's result" >&5 5991 echo "$as_me: WARNING: limits.h: proceeding with the compiler's result" >&2;} 5992 ac_header_preproc=yes 5993 ;; 5994 no:yes:* ) 5995 { echo "$as_me:$LINENO: WARNING: limits.h: present but cannot be compiled" >&5 5996 echo "$as_me: WARNING: limits.h: present but cannot be compiled" >&2;} 5997 { echo "$as_me:$LINENO: WARNING: limits.h: check for missing prerequisite headers?" >&5 5998 echo "$as_me: WARNING: limits.h: check for missing prerequisite headers?" >&2;} 5999 { echo "$as_me:$LINENO: WARNING: limits.h: see the Autoconf documentation" >&5 6000 echo "$as_me: WARNING: limits.h: see the Autoconf documentation" >&2;} 6001 { echo "$as_me:$LINENO: WARNING: limits.h: section \"Present But Cannot Be Compiled\"" >&5 6002 echo "$as_me: WARNING: limits.h: section \"Present But Cannot Be Compiled\"" >&2;} 6003 { echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the preprocessor's result" >&5 6004 echo "$as_me: WARNING: limits.h: proceeding with the preprocessor's result" >&2;} 6005 { echo "$as_me:$LINENO: WARNING: limits.h: in the future, the compiler will take precedence" >&5 6006 echo "$as_me: WARNING: limits.h: in the future, the compiler will take precedence" >&2;} 6007 6008 ;; 6009 esac 6010 { echo "$as_me:$LINENO: checking for limits.h" >&5 6011 echo $ECHO_N "checking for limits.h... $ECHO_C" >&6; } 6012 if test "${ac_cv_header_limits_h+set}" = set; then 6013 echo $ECHO_N "(cached) $ECHO_C" >&6 6014 else 6015 ac_cv_header_limits_h=$ac_header_preproc 6016 fi 6017 { echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5 6018 echo "${ECHO_T}$ac_cv_header_limits_h" >&6; } 6019 6020 fi 6021 if test $ac_cv_header_limits_h = yes; then 6022 cat >>confdefs.h <<\_ACEOF 6023 #define PJ_HAS_LIMITS_H 1 6024 _ACEOF 6025 6026 fi 6027 6028 6029 if test "${ac_cv_header_malloc_h+set}" = set; then 6030 { echo "$as_me:$LINENO: checking for malloc.h" >&5 6031 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 6032 if test "${ac_cv_header_malloc_h+set}" = set; then 6033 echo $ECHO_N "(cached) $ECHO_C" >&6 6034 fi 6035 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 6036 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 6037 else 6038 # Is the header compilable? 6039 { echo "$as_me:$LINENO: checking malloc.h usability" >&5 6040 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6; } 6041 cat >conftest.$ac_ext <<_ACEOF 6042 /* confdefs.h. */ 6043 _ACEOF 6044 cat confdefs.h >>conftest.$ac_ext 6045 cat >>conftest.$ac_ext <<_ACEOF 6046 /* end confdefs.h. */ 6047 $ac_includes_default 6048 #include <malloc.h> 6049 _ACEOF 6050 rm -f conftest.$ac_objext 6051 if { (ac_try="$ac_compile" 6052 case "(($ac_try" in 6053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6054 *) ac_try_echo=$ac_try;; 6055 esac 6056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6057 (eval "$ac_compile") 2>conftest.er1 6058 ac_status=$? 6059 grep -v '^ *+' conftest.er1 >conftest.err 6060 rm -f conftest.er1 6061 cat conftest.err >&5 6062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6063 (exit $ac_status); } && { 6064 test -z "$ac_c_werror_flag" || 6065 test ! -s conftest.err 6066 } && test -s conftest.$ac_objext; then 6067 ac_header_compiler=yes 6068 else 6069 echo "$as_me: failed program was:" >&5 6070 sed 's/^/| /' conftest.$ac_ext >&5 6071 6072 ac_header_compiler=no 6073 fi 6074 6075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6076 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6077 echo "${ECHO_T}$ac_header_compiler" >&6; } 6078 6079 # Is the header present? 6080 { echo "$as_me:$LINENO: checking malloc.h presence" >&5 6081 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6; } 6082 cat >conftest.$ac_ext <<_ACEOF 6083 /* confdefs.h. */ 6084 _ACEOF 6085 cat confdefs.h >>conftest.$ac_ext 6086 cat >>conftest.$ac_ext <<_ACEOF 6087 /* end confdefs.h. */ 6088 #include <malloc.h> 6089 _ACEOF 6090 if { (ac_try="$ac_cpp conftest.$ac_ext" 6091 case "(($ac_try" in 6092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6093 *) ac_try_echo=$ac_try;; 6094 esac 6095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6096 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6097 ac_status=$? 6098 grep -v '^ *+' conftest.er1 >conftest.err 6099 rm -f conftest.er1 6100 cat conftest.err >&5 6101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6102 (exit $ac_status); } >/dev/null && { 6103 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6104 test ! -s conftest.err 6105 }; then 6106 ac_header_preproc=yes 6107 else 6108 echo "$as_me: failed program was:" >&5 6109 sed 's/^/| /' conftest.$ac_ext >&5 6110 6111 ac_header_preproc=no 6112 fi 6113 6114 rm -f conftest.err conftest.$ac_ext 6115 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6116 echo "${ECHO_T}$ac_header_preproc" >&6; } 6117 6118 # So? What about this header? 6119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6120 yes:no: ) 6121 { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 6122 echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6123 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 6124 echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 6125 ac_header_preproc=yes 6126 ;; 6127 no:yes:* ) 6128 { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 6129 echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 6130 { echo "$as_me:$LINENO: WARNING: malloc.h: check for missing prerequisite headers?" >&5 6131 echo "$as_me: WARNING: malloc.h: check for missing prerequisite headers?" >&2;} 6132 { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 6133 echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 6134 { echo "$as_me:$LINENO: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&5 6135 echo "$as_me: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} 6136 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 6137 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 6138 { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 6139 echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 6140 6141 ;; 6142 esac 6143 { echo "$as_me:$LINENO: checking for malloc.h" >&5 6144 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 6145 if test "${ac_cv_header_malloc_h+set}" = set; then 6146 echo $ECHO_N "(cached) $ECHO_C" >&6 6147 else 6148 ac_cv_header_malloc_h=$ac_header_preproc 6149 fi 6150 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 6151 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 6152 6153 fi 6154 if test $ac_cv_header_malloc_h = yes; then 6155 cat >>confdefs.h <<\_ACEOF 6156 #define PJ_HAS_MALLOC_H 1 6157 _ACEOF 6158 6159 fi 6160 6161 6162 if test "${ac_cv_header_netdb_h+set}" = set; then 6163 { echo "$as_me:$LINENO: checking for netdb.h" >&5 6164 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 6165 if test "${ac_cv_header_netdb_h+set}" = set; then 6166 echo $ECHO_N "(cached) $ECHO_C" >&6 6167 fi 6168 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 6169 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 6170 else 6171 # Is the header compilable? 6172 { echo "$as_me:$LINENO: checking netdb.h usability" >&5 6173 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6; } 6174 cat >conftest.$ac_ext <<_ACEOF 6175 /* confdefs.h. */ 6176 _ACEOF 6177 cat confdefs.h >>conftest.$ac_ext 6178 cat >>conftest.$ac_ext <<_ACEOF 6179 /* end confdefs.h. */ 6180 $ac_includes_default 6181 #include <netdb.h> 6182 _ACEOF 6183 rm -f conftest.$ac_objext 6184 if { (ac_try="$ac_compile" 6185 case "(($ac_try" in 6186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6187 *) ac_try_echo=$ac_try;; 6188 esac 6189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6190 (eval "$ac_compile") 2>conftest.er1 6191 ac_status=$? 6192 grep -v '^ *+' conftest.er1 >conftest.err 6193 rm -f conftest.er1 6194 cat conftest.err >&5 6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6196 (exit $ac_status); } && { 6197 test -z "$ac_c_werror_flag" || 6198 test ! -s conftest.err 6199 } && test -s conftest.$ac_objext; then 6200 ac_header_compiler=yes 6201 else 6202 echo "$as_me: failed program was:" >&5 6203 sed 's/^/| /' conftest.$ac_ext >&5 6204 6205 ac_header_compiler=no 6206 fi 6207 6208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6209 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6210 echo "${ECHO_T}$ac_header_compiler" >&6; } 6211 6212 # Is the header present? 6213 { echo "$as_me:$LINENO: checking netdb.h presence" >&5 6214 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6; } 6215 cat >conftest.$ac_ext <<_ACEOF 6216 /* confdefs.h. */ 6217 _ACEOF 6218 cat confdefs.h >>conftest.$ac_ext 6219 cat >>conftest.$ac_ext <<_ACEOF 6220 /* end confdefs.h. */ 6221 #include <netdb.h> 6222 _ACEOF 6223 if { (ac_try="$ac_cpp conftest.$ac_ext" 6224 case "(($ac_try" in 6225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6226 *) ac_try_echo=$ac_try;; 6227 esac 6228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6229 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6230 ac_status=$? 6231 grep -v '^ *+' conftest.er1 >conftest.err 6232 rm -f conftest.er1 6233 cat conftest.err >&5 6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6235 (exit $ac_status); } >/dev/null && { 6236 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6237 test ! -s conftest.err 6238 }; then 6239 ac_header_preproc=yes 6240 else 6241 echo "$as_me: failed program was:" >&5 6242 sed 's/^/| /' conftest.$ac_ext >&5 6243 6244 ac_header_preproc=no 6245 fi 6246 6247 rm -f conftest.err conftest.$ac_ext 6248 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6249 echo "${ECHO_T}$ac_header_preproc" >&6; } 6250 6251 # So? What about this header? 6252 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6253 yes:no: ) 6254 { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 6255 echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6256 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 6257 echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 6258 ac_header_preproc=yes 6259 ;; 6260 no:yes:* ) 6261 { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 6262 echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 6263 { echo "$as_me:$LINENO: WARNING: netdb.h: check for missing prerequisite headers?" >&5 6264 echo "$as_me: WARNING: netdb.h: check for missing prerequisite headers?" >&2;} 6265 { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 6266 echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 6267 { echo "$as_me:$LINENO: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&5 6268 echo "$as_me: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&2;} 6269 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 6270 echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 6271 { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 6272 echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 6273 6274 ;; 6275 esac 6276 { echo "$as_me:$LINENO: checking for netdb.h" >&5 6277 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 6278 if test "${ac_cv_header_netdb_h+set}" = set; then 6279 echo $ECHO_N "(cached) $ECHO_C" >&6 6280 else 6281 ac_cv_header_netdb_h=$ac_header_preproc 6282 fi 6283 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 6284 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 6285 6286 fi 6287 if test $ac_cv_header_netdb_h = yes; then 6288 cat >>confdefs.h <<\_ACEOF 6289 #define PJ_HAS_NETDB_H 1 6290 _ACEOF 6291 6292 fi 6293 6294 6295 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6296 { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 6297 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 6298 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6299 echo $ECHO_N "(cached) $ECHO_C" >&6 6300 fi 6301 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 6302 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 6303 else 6304 # Is the header compilable? 6305 { echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 6306 echo $ECHO_N "checking netinet/in_systm.h usability... $ECHO_C" >&6; } 6307 cat >conftest.$ac_ext <<_ACEOF 6308 /* confdefs.h. */ 6309 _ACEOF 6310 cat confdefs.h >>conftest.$ac_ext 6311 cat >>conftest.$ac_ext <<_ACEOF 6312 /* end confdefs.h. */ 6313 $ac_includes_default 6314 #include <netinet/in_systm.h> 6315 _ACEOF 6316 rm -f conftest.$ac_objext 6317 if { (ac_try="$ac_compile" 6318 case "(($ac_try" in 6319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6320 *) ac_try_echo=$ac_try;; 6321 esac 6322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6323 (eval "$ac_compile") 2>conftest.er1 6324 ac_status=$? 6325 grep -v '^ *+' conftest.er1 >conftest.err 6326 rm -f conftest.er1 6327 cat conftest.err >&5 6328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6329 (exit $ac_status); } && { 6330 test -z "$ac_c_werror_flag" || 6331 test ! -s conftest.err 6332 } && test -s conftest.$ac_objext; then 6333 ac_header_compiler=yes 6334 else 6335 echo "$as_me: failed program was:" >&5 6336 sed 's/^/| /' conftest.$ac_ext >&5 6337 6338 ac_header_compiler=no 6339 fi 6340 6341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6342 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6343 echo "${ECHO_T}$ac_header_compiler" >&6; } 6344 6345 # Is the header present? 6346 { echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 6347 echo $ECHO_N "checking netinet/in_systm.h presence... $ECHO_C" >&6; } 6348 cat >conftest.$ac_ext <<_ACEOF 6349 /* confdefs.h. */ 6350 _ACEOF 6351 cat confdefs.h >>conftest.$ac_ext 6352 cat >>conftest.$ac_ext <<_ACEOF 6353 /* end confdefs.h. */ 6354 #include <netinet/in_systm.h> 6355 _ACEOF 6356 if { (ac_try="$ac_cpp conftest.$ac_ext" 6357 case "(($ac_try" in 6358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6359 *) ac_try_echo=$ac_try;; 6360 esac 6361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6362 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6363 ac_status=$? 6364 grep -v '^ *+' conftest.er1 >conftest.err 6365 rm -f conftest.er1 6366 cat conftest.err >&5 6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6368 (exit $ac_status); } >/dev/null && { 6369 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6370 test ! -s conftest.err 6371 }; then 6372 ac_header_preproc=yes 6373 else 6374 echo "$as_me: failed program was:" >&5 6375 sed 's/^/| /' conftest.$ac_ext >&5 6376 6377 ac_header_preproc=no 6378 fi 6379 6380 rm -f conftest.err conftest.$ac_ext 6381 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6382 echo "${ECHO_T}$ac_header_preproc" >&6; } 6383 6384 # So? What about this header? 6385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6386 yes:no: ) 6387 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&5 6388 echo "$as_me: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6389 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&5 6390 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&2;} 6391 ac_header_preproc=yes 6392 ;; 6393 no:yes:* ) 6394 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: present but cannot be compiled" >&5 6395 echo "$as_me: WARNING: netinet/in_systm.h: present but cannot be compiled" >&2;} 6396 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: check for missing prerequisite headers?" >&5 6397 echo "$as_me: WARNING: netinet/in_systm.h: check for missing prerequisite headers?" >&2;} 6398 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&5 6399 echo "$as_me: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&2;} 6400 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: section \"Present But Cannot Be Compiled\"" >&5 6401 echo "$as_me: WARNING: netinet/in_systm.h: section \"Present But Cannot Be Compiled\"" >&2;} 6402 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&5 6403 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&2;} 6404 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 6405 echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 6406 6407 ;; 6408 esac 6409 { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 6410 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 6411 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6412 echo $ECHO_N "(cached) $ECHO_C" >&6 6413 else 6414 ac_cv_header_netinet_in_systm_h=$ac_header_preproc 6415 fi 6416 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 6417 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 6418 6419 fi 6420 if test $ac_cv_header_netinet_in_systm_h = yes; then 6421 cat >>confdefs.h <<\_ACEOF 6422 #define PJ_HAS_NETINET_IN_SYSTM_H 1 6423 _ACEOF 6424 6425 fi 6426 6427 6428 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6429 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 6430 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 6431 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6432 echo $ECHO_N "(cached) $ECHO_C" >&6 6433 fi 6434 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 6435 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 6436 else 6437 # Is the header compilable? 6438 { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 6439 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } 6440 cat >conftest.$ac_ext <<_ACEOF 6441 /* confdefs.h. */ 6442 _ACEOF 6443 cat confdefs.h >>conftest.$ac_ext 6444 cat >>conftest.$ac_ext <<_ACEOF 6445 /* end confdefs.h. */ 6446 $ac_includes_default 6447 #include <netinet/in.h> 6448 _ACEOF 6449 rm -f conftest.$ac_objext 6450 if { (ac_try="$ac_compile" 6451 case "(($ac_try" in 6452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6453 *) ac_try_echo=$ac_try;; 6454 esac 6455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6456 (eval "$ac_compile") 2>conftest.er1 6457 ac_status=$? 6458 grep -v '^ *+' conftest.er1 >conftest.err 6459 rm -f conftest.er1 6460 cat conftest.err >&5 6461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6462 (exit $ac_status); } && { 6463 test -z "$ac_c_werror_flag" || 6464 test ! -s conftest.err 6465 } && test -s conftest.$ac_objext; then 6466 ac_header_compiler=yes 6467 else 6468 echo "$as_me: failed program was:" >&5 6469 sed 's/^/| /' conftest.$ac_ext >&5 6470 6471 ac_header_compiler=no 6472 fi 6473 6474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6475 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6476 echo "${ECHO_T}$ac_header_compiler" >&6; } 6477 6478 # Is the header present? 6479 { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 6480 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } 6481 cat >conftest.$ac_ext <<_ACEOF 6482 /* confdefs.h. */ 6483 _ACEOF 6484 cat confdefs.h >>conftest.$ac_ext 6485 cat >>conftest.$ac_ext <<_ACEOF 6486 /* end confdefs.h. */ 6487 #include <netinet/in.h> 6488 _ACEOF 6489 if { (ac_try="$ac_cpp conftest.$ac_ext" 6490 case "(($ac_try" in 6491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6492 *) ac_try_echo=$ac_try;; 6493 esac 6494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6496 ac_status=$? 6497 grep -v '^ *+' conftest.er1 >conftest.err 6498 rm -f conftest.er1 6499 cat conftest.err >&5 6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6501 (exit $ac_status); } >/dev/null && { 6502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6503 test ! -s conftest.err 6504 }; then 6505 ac_header_preproc=yes 6506 else 6507 echo "$as_me: failed program was:" >&5 6508 sed 's/^/| /' conftest.$ac_ext >&5 6509 6510 ac_header_preproc=no 6511 fi 6512 6513 rm -f conftest.err conftest.$ac_ext 6514 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6515 echo "${ECHO_T}$ac_header_preproc" >&6; } 6516 6517 # So? What about this header? 6518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6519 yes:no: ) 6520 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 6521 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6522 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 6523 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 6524 ac_header_preproc=yes 6525 ;; 6526 no:yes:* ) 6527 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 6528 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 6529 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 6530 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} 6531 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 6532 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 6533 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 6534 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} 6535 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 6536 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 6537 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 6538 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 6539 6540 ;; 6541 esac 6542 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 6543 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 6544 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6545 echo $ECHO_N "(cached) $ECHO_C" >&6 6546 else 6547 ac_cv_header_netinet_in_h=$ac_header_preproc 6548 fi 6549 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 6550 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 6551 6552 fi 6553 if test $ac_cv_header_netinet_in_h = yes; then 6554 cat >>confdefs.h <<\_ACEOF 6555 #define PJ_HAS_NETINET_IN_H 1 6556 _ACEOF 6557 6558 fi 6559 6560 6561 { echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 6562 echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6; } 6563 if test "${ac_cv_header_netinet_ip_h+set}" = set; then 6564 echo $ECHO_N "(cached) $ECHO_C" >&6 6565 else 6566 cat >conftest.$ac_ext <<_ACEOF 6567 /* confdefs.h. */ 6568 _ACEOF 6569 cat confdefs.h >>conftest.$ac_ext 6570 cat >>conftest.$ac_ext <<_ACEOF 6571 /* end confdefs.h. */ 6572 #if PJ_HAS_SYS_TYPES_H 4742 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 4743 if test "x$ac_cv_header_fcntl_h" = x""yes; then : 4744 $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 4745 4746 fi 4747 4748 4749 ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 4750 if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 4751 $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 4752 4753 fi 4754 4755 4756 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 4757 if test "x$ac_cv_header_limits_h" = x""yes; then : 4758 $as_echo "#define PJ_HAS_LIMITS_H 1" >>confdefs.h 4759 4760 fi 4761 4762 4763 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 4764 if test "x$ac_cv_header_malloc_h" = x""yes; then : 4765 $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 4766 4767 fi 4768 4769 4770 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 4771 if test "x$ac_cv_header_netdb_h" = x""yes; then : 4772 $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 4773 4774 fi 4775 4776 4777 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 4778 if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 4779 $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 4780 4781 fi 4782 4783 4784 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 4785 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 4786 $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 4787 4788 fi 4789 4790 4791 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H 6573 4792 # include <sys/types.h> 6574 4793 #endif … … 6580 4799 #endif 6581 4800 6582 6583 #include <netinet/ip.h> 6584 _ACEOF 6585 rm -f conftest.$ac_objext 6586 if { (ac_try="$ac_compile" 6587 case "(($ac_try" in 6588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6589 *) ac_try_echo=$ac_try;; 6590 esac 6591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6592 (eval "$ac_compile") 2>conftest.er1 6593 ac_status=$? 6594 grep -v '^ *+' conftest.er1 >conftest.err 6595 rm -f conftest.er1 6596 cat conftest.err >&5 6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6598 (exit $ac_status); } && { 6599 test -z "$ac_c_werror_flag" || 6600 test ! -s conftest.err 6601 } && test -s conftest.$ac_objext; then 6602 ac_cv_header_netinet_ip_h=yes 6603 else 6604 echo "$as_me: failed program was:" >&5 6605 sed 's/^/| /' conftest.$ac_ext >&5 6606 6607 ac_cv_header_netinet_ip_h=no 6608 fi 6609 6610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6611 fi 6612 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 6613 echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6; } 6614 if test $ac_cv_header_netinet_ip_h = yes; then 6615 cat >>confdefs.h <<\_ACEOF 6616 #define PJ_HAS_NETINET_IP_H 1 6617 _ACEOF 6618 6619 fi 6620 6621 6622 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6623 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 6624 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 6625 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6626 echo $ECHO_N "(cached) $ECHO_C" >&6 6627 fi 6628 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 6629 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 6630 else 6631 # Is the header compilable? 6632 { echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5 6633 echo $ECHO_N "checking netinet/tcp.h usability... $ECHO_C" >&6; } 6634 cat >conftest.$ac_ext <<_ACEOF 6635 /* confdefs.h. */ 6636 _ACEOF 6637 cat confdefs.h >>conftest.$ac_ext 6638 cat >>conftest.$ac_ext <<_ACEOF 6639 /* end confdefs.h. */ 6640 $ac_includes_default 6641 #include <netinet/tcp.h> 6642 _ACEOF 6643 rm -f conftest.$ac_objext 6644 if { (ac_try="$ac_compile" 6645 case "(($ac_try" in 6646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6647 *) ac_try_echo=$ac_try;; 6648 esac 6649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6650 (eval "$ac_compile") 2>conftest.er1 6651 ac_status=$? 6652 grep -v '^ *+' conftest.er1 >conftest.err 6653 rm -f conftest.er1 6654 cat conftest.err >&5 6655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6656 (exit $ac_status); } && { 6657 test -z "$ac_c_werror_flag" || 6658 test ! -s conftest.err 6659 } && test -s conftest.$ac_objext; then 6660 ac_header_compiler=yes 6661 else 6662 echo "$as_me: failed program was:" >&5 6663 sed 's/^/| /' conftest.$ac_ext >&5 6664 6665 ac_header_compiler=no 6666 fi 6667 6668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6669 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6670 echo "${ECHO_T}$ac_header_compiler" >&6; } 6671 6672 # Is the header present? 6673 { echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5 6674 echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; } 6675 cat >conftest.$ac_ext <<_ACEOF 6676 /* confdefs.h. */ 6677 _ACEOF 6678 cat confdefs.h >>conftest.$ac_ext 6679 cat >>conftest.$ac_ext <<_ACEOF 6680 /* end confdefs.h. */ 6681 #include <netinet/tcp.h> 6682 _ACEOF 6683 if { (ac_try="$ac_cpp conftest.$ac_ext" 6684 case "(($ac_try" in 6685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6686 *) ac_try_echo=$ac_try;; 6687 esac 6688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6689 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6690 ac_status=$? 6691 grep -v '^ *+' conftest.er1 >conftest.err 6692 rm -f conftest.er1 6693 cat conftest.err >&5 6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6695 (exit $ac_status); } >/dev/null && { 6696 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6697 test ! -s conftest.err 6698 }; then 6699 ac_header_preproc=yes 6700 else 6701 echo "$as_me: failed program was:" >&5 6702 sed 's/^/| /' conftest.$ac_ext >&5 6703 6704 ac_header_preproc=no 6705 fi 6706 6707 rm -f conftest.err conftest.$ac_ext 6708 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6709 echo "${ECHO_T}$ac_header_preproc" >&6; } 6710 6711 # So? What about this header? 6712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6713 yes:no: ) 6714 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5 6715 echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6716 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&5 6717 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&2;} 6718 ac_header_preproc=yes 6719 ;; 6720 no:yes:* ) 6721 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5 6722 echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;} 6723 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&5 6724 echo "$as_me: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&2;} 6725 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5 6726 echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;} 6727 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&5 6728 echo "$as_me: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&2;} 6729 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&5 6730 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&2;} 6731 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5 6732 echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;} 6733 6734 ;; 6735 esac 6736 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 6737 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 6738 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6739 echo $ECHO_N "(cached) $ECHO_C" >&6 6740 else 6741 ac_cv_header_netinet_tcp_h=$ac_header_preproc 6742 fi 6743 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 6744 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 6745 6746 fi 6747 if test $ac_cv_header_netinet_tcp_h = yes; then 6748 cat >>confdefs.h <<\_ACEOF 6749 #define PJ_HAS_NETINET_TCP_H 1 6750 _ACEOF 6751 6752 fi 6753 6754 6755 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6756 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 6757 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 6758 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6759 echo $ECHO_N "(cached) $ECHO_C" >&6 6760 fi 6761 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 6762 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 6763 else 6764 # Is the header compilable? 6765 { echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 6766 echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6; } 6767 cat >conftest.$ac_ext <<_ACEOF 6768 /* confdefs.h. */ 6769 _ACEOF 6770 cat confdefs.h >>conftest.$ac_ext 6771 cat >>conftest.$ac_ext <<_ACEOF 6772 /* end confdefs.h. */ 6773 $ac_includes_default 6774 #include <ifaddrs.h> 6775 _ACEOF 6776 rm -f conftest.$ac_objext 6777 if { (ac_try="$ac_compile" 6778 case "(($ac_try" in 6779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6780 *) ac_try_echo=$ac_try;; 6781 esac 6782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6783 (eval "$ac_compile") 2>conftest.er1 6784 ac_status=$? 6785 grep -v '^ *+' conftest.er1 >conftest.err 6786 rm -f conftest.er1 6787 cat conftest.err >&5 6788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6789 (exit $ac_status); } && { 6790 test -z "$ac_c_werror_flag" || 6791 test ! -s conftest.err 6792 } && test -s conftest.$ac_objext; then 6793 ac_header_compiler=yes 6794 else 6795 echo "$as_me: failed program was:" >&5 6796 sed 's/^/| /' conftest.$ac_ext >&5 6797 6798 ac_header_compiler=no 6799 fi 6800 6801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6802 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6803 echo "${ECHO_T}$ac_header_compiler" >&6; } 6804 6805 # Is the header present? 6806 { echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 6807 echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6; } 6808 cat >conftest.$ac_ext <<_ACEOF 6809 /* confdefs.h. */ 6810 _ACEOF 6811 cat confdefs.h >>conftest.$ac_ext 6812 cat >>conftest.$ac_ext <<_ACEOF 6813 /* end confdefs.h. */ 6814 #include <ifaddrs.h> 6815 _ACEOF 6816 if { (ac_try="$ac_cpp conftest.$ac_ext" 6817 case "(($ac_try" in 6818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6819 *) ac_try_echo=$ac_try;; 6820 esac 6821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6822 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6823 ac_status=$? 6824 grep -v '^ *+' conftest.er1 >conftest.err 6825 rm -f conftest.er1 6826 cat conftest.err >&5 6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6828 (exit $ac_status); } >/dev/null && { 6829 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6830 test ! -s conftest.err 6831 }; then 6832 ac_header_preproc=yes 6833 else 6834 echo "$as_me: failed program was:" >&5 6835 sed 's/^/| /' conftest.$ac_ext >&5 6836 6837 ac_header_preproc=no 6838 fi 6839 6840 rm -f conftest.err conftest.$ac_ext 6841 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6842 echo "${ECHO_T}$ac_header_preproc" >&6; } 6843 6844 # So? What about this header? 6845 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6846 yes:no: ) 6847 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 6848 echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6849 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5 6850 echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;} 6851 ac_header_preproc=yes 6852 ;; 6853 no:yes:* ) 6854 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 6855 echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;} 6856 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&5 6857 echo "$as_me: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&2;} 6858 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5 6859 echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;} 6860 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: section \"Present But Cannot Be Compiled\"" >&5 6861 echo "$as_me: WARNING: ifaddrs.h: section \"Present But Cannot Be Compiled\"" >&2;} 6862 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 6863 echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;} 6864 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 6865 echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 6866 6867 ;; 6868 esac 6869 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 6870 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 6871 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6872 echo $ECHO_N "(cached) $ECHO_C" >&6 6873 else 6874 ac_cv_header_ifaddrs_h=$ac_header_preproc 6875 fi 6876 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 6877 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 6878 6879 fi 6880 if test $ac_cv_header_ifaddrs_h = yes; then 6881 { echo "$as_me:$LINENO: checking for getifaddrs" >&5 6882 echo $ECHO_N "checking for getifaddrs... $ECHO_C" >&6; } 6883 if test "${ac_cv_func_getifaddrs+set}" = set; then 6884 echo $ECHO_N "(cached) $ECHO_C" >&6 6885 else 6886 cat >conftest.$ac_ext <<_ACEOF 6887 /* confdefs.h. */ 6888 _ACEOF 6889 cat confdefs.h >>conftest.$ac_ext 6890 cat >>conftest.$ac_ext <<_ACEOF 6891 /* end confdefs.h. */ 6892 /* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs. 6893 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6894 #define getifaddrs innocuous_getifaddrs 6895 6896 /* System header to define __stub macros and hopefully few prototypes, 6897 which can conflict with char getifaddrs (); below. 6898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6899 <limits.h> exists even on freestanding compilers. */ 6900 6901 #ifdef __STDC__ 6902 # include <limits.h> 6903 #else 6904 # include <assert.h> 6905 #endif 6906 6907 #undef getifaddrs 6908 6909 /* Override any GCC internal prototype to avoid an error. 6910 Use char because int might match the return type of a GCC 6911 builtin and then its argument prototype would still apply. */ 6912 #ifdef __cplusplus 6913 extern "C" 6914 #endif 6915 char getifaddrs (); 6916 /* The GNU C library defines this for functions which it implements 6917 to always fail with ENOSYS. Some functions are actually named 6918 something starting with __ and the normal name is an alias. */ 6919 #if defined __stub_getifaddrs || defined __stub___getifaddrs 6920 choke me 6921 #endif 6922 6923 int 6924 main () 6925 { 6926 return getifaddrs (); 6927 ; 6928 return 0; 6929 } 6930 _ACEOF 6931 rm -f conftest.$ac_objext conftest$ac_exeext 6932 if { (ac_try="$ac_link" 6933 case "(($ac_try" in 6934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6935 *) ac_try_echo=$ac_try;; 6936 esac 6937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6938 (eval "$ac_link") 2>conftest.er1 6939 ac_status=$? 6940 grep -v '^ *+' conftest.er1 >conftest.err 6941 rm -f conftest.er1 6942 cat conftest.err >&5 6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6944 (exit $ac_status); } && { 6945 test -z "$ac_c_werror_flag" || 6946 test ! -s conftest.err 6947 } && test -s conftest$ac_exeext && 6948 $as_test_x conftest$ac_exeext; then 6949 ac_cv_func_getifaddrs=yes 6950 else 6951 echo "$as_me: failed program was:" >&5 6952 sed 's/^/| /' conftest.$ac_ext >&5 6953 6954 ac_cv_func_getifaddrs=no 6955 fi 6956 6957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6958 conftest$ac_exeext conftest.$ac_ext 6959 fi 6960 { echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5 6961 echo "${ECHO_T}$ac_cv_func_getifaddrs" >&6; } 6962 if test $ac_cv_func_getifaddrs = yes; then 6963 cat >>confdefs.h <<\_ACEOF 6964 #define PJ_HAS_IFADDRS_H 1 6965 _ACEOF 6966 6967 fi 6968 6969 fi 6970 6971 6972 if test "${ac_cv_header_semaphore_h+set}" = set; then 6973 { echo "$as_me:$LINENO: checking for semaphore.h" >&5 6974 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 6975 if test "${ac_cv_header_semaphore_h+set}" = set; then 6976 echo $ECHO_N "(cached) $ECHO_C" >&6 6977 fi 6978 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 6979 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 6980 else 6981 # Is the header compilable? 6982 { echo "$as_me:$LINENO: checking semaphore.h usability" >&5 6983 echo $ECHO_N "checking semaphore.h usability... $ECHO_C" >&6; } 6984 cat >conftest.$ac_ext <<_ACEOF 6985 /* confdefs.h. */ 6986 _ACEOF 6987 cat confdefs.h >>conftest.$ac_ext 6988 cat >>conftest.$ac_ext <<_ACEOF 6989 /* end confdefs.h. */ 6990 $ac_includes_default 6991 #include <semaphore.h> 6992 _ACEOF 6993 rm -f conftest.$ac_objext 6994 if { (ac_try="$ac_compile" 6995 case "(($ac_try" in 6996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6997 *) ac_try_echo=$ac_try;; 6998 esac 6999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7000 (eval "$ac_compile") 2>conftest.er1 7001 ac_status=$? 7002 grep -v '^ *+' conftest.er1 >conftest.err 7003 rm -f conftest.er1 7004 cat conftest.err >&5 7005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7006 (exit $ac_status); } && { 7007 test -z "$ac_c_werror_flag" || 7008 test ! -s conftest.err 7009 } && test -s conftest.$ac_objext; then 7010 ac_header_compiler=yes 7011 else 7012 echo "$as_me: failed program was:" >&5 7013 sed 's/^/| /' conftest.$ac_ext >&5 7014 7015 ac_header_compiler=no 7016 fi 7017 7018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7019 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7020 echo "${ECHO_T}$ac_header_compiler" >&6; } 7021 7022 # Is the header present? 7023 { echo "$as_me:$LINENO: checking semaphore.h presence" >&5 7024 echo $ECHO_N "checking semaphore.h presence... $ECHO_C" >&6; } 7025 cat >conftest.$ac_ext <<_ACEOF 7026 /* confdefs.h. */ 7027 _ACEOF 7028 cat confdefs.h >>conftest.$ac_ext 7029 cat >>conftest.$ac_ext <<_ACEOF 7030 /* end confdefs.h. */ 7031 #include <semaphore.h> 7032 _ACEOF 7033 if { (ac_try="$ac_cpp conftest.$ac_ext" 7034 case "(($ac_try" in 7035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7036 *) ac_try_echo=$ac_try;; 7037 esac 7038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7039 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7040 ac_status=$? 7041 grep -v '^ *+' conftest.er1 >conftest.err 7042 rm -f conftest.er1 7043 cat conftest.err >&5 7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7045 (exit $ac_status); } >/dev/null && { 7046 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7047 test ! -s conftest.err 7048 }; then 7049 ac_header_preproc=yes 7050 else 7051 echo "$as_me: failed program was:" >&5 7052 sed 's/^/| /' conftest.$ac_ext >&5 7053 7054 ac_header_preproc=no 7055 fi 7056 7057 rm -f conftest.err conftest.$ac_ext 7058 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7059 echo "${ECHO_T}$ac_header_preproc" >&6; } 7060 7061 # So? What about this header? 7062 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7063 yes:no: ) 7064 { echo "$as_me:$LINENO: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&5 7065 echo "$as_me: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7066 { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the compiler's result" >&5 7067 echo "$as_me: WARNING: semaphore.h: proceeding with the compiler's result" >&2;} 7068 ac_header_preproc=yes 7069 ;; 7070 no:yes:* ) 7071 { echo "$as_me:$LINENO: WARNING: semaphore.h: present but cannot be compiled" >&5 7072 echo "$as_me: WARNING: semaphore.h: present but cannot be compiled" >&2;} 7073 { echo "$as_me:$LINENO: WARNING: semaphore.h: check for missing prerequisite headers?" >&5 7074 echo "$as_me: WARNING: semaphore.h: check for missing prerequisite headers?" >&2;} 7075 { echo "$as_me:$LINENO: WARNING: semaphore.h: see the Autoconf documentation" >&5 7076 echo "$as_me: WARNING: semaphore.h: see the Autoconf documentation" >&2;} 7077 { echo "$as_me:$LINENO: WARNING: semaphore.h: section \"Present But Cannot Be Compiled\"" >&5 7078 echo "$as_me: WARNING: semaphore.h: section \"Present But Cannot Be Compiled\"" >&2;} 7079 { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the preprocessor's result" >&5 7080 echo "$as_me: WARNING: semaphore.h: proceeding with the preprocessor's result" >&2;} 7081 { echo "$as_me:$LINENO: WARNING: semaphore.h: in the future, the compiler will take precedence" >&5 7082 echo "$as_me: WARNING: semaphore.h: in the future, the compiler will take precedence" >&2;} 7083 7084 ;; 7085 esac 7086 { echo "$as_me:$LINENO: checking for semaphore.h" >&5 7087 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 7088 if test "${ac_cv_header_semaphore_h+set}" = set; then 7089 echo $ECHO_N "(cached) $ECHO_C" >&6 7090 else 7091 ac_cv_header_semaphore_h=$ac_header_preproc 7092 fi 7093 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 7094 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 7095 7096 fi 7097 if test $ac_cv_header_semaphore_h = yes; then 7098 cat >>confdefs.h <<\_ACEOF 7099 #define PJ_HAS_SEMAPHORE_H 1 7100 _ACEOF 7101 7102 fi 7103 7104 7105 if test "${ac_cv_header_setjmp_h+set}" = set; then 7106 { echo "$as_me:$LINENO: checking for setjmp.h" >&5 7107 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 7108 if test "${ac_cv_header_setjmp_h+set}" = set; then 7109 echo $ECHO_N "(cached) $ECHO_C" >&6 7110 fi 7111 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 7112 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 7113 else 7114 # Is the header compilable? 7115 { echo "$as_me:$LINENO: checking setjmp.h usability" >&5 7116 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6; } 7117 cat >conftest.$ac_ext <<_ACEOF 7118 /* confdefs.h. */ 7119 _ACEOF 7120 cat confdefs.h >>conftest.$ac_ext 7121 cat >>conftest.$ac_ext <<_ACEOF 7122 /* end confdefs.h. */ 7123 $ac_includes_default 7124 #include <setjmp.h> 7125 _ACEOF 7126 rm -f conftest.$ac_objext 7127 if { (ac_try="$ac_compile" 7128 case "(($ac_try" in 7129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7130 *) ac_try_echo=$ac_try;; 7131 esac 7132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7133 (eval "$ac_compile") 2>conftest.er1 7134 ac_status=$? 7135 grep -v '^ *+' conftest.er1 >conftest.err 7136 rm -f conftest.er1 7137 cat conftest.err >&5 7138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7139 (exit $ac_status); } && { 7140 test -z "$ac_c_werror_flag" || 7141 test ! -s conftest.err 7142 } && test -s conftest.$ac_objext; then 7143 ac_header_compiler=yes 7144 else 7145 echo "$as_me: failed program was:" >&5 7146 sed 's/^/| /' conftest.$ac_ext >&5 7147 7148 ac_header_compiler=no 7149 fi 7150 7151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7152 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7153 echo "${ECHO_T}$ac_header_compiler" >&6; } 7154 7155 # Is the header present? 7156 { echo "$as_me:$LINENO: checking setjmp.h presence" >&5 7157 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6; } 7158 cat >conftest.$ac_ext <<_ACEOF 7159 /* confdefs.h. */ 7160 _ACEOF 7161 cat confdefs.h >>conftest.$ac_ext 7162 cat >>conftest.$ac_ext <<_ACEOF 7163 /* end confdefs.h. */ 7164 #include <setjmp.h> 7165 _ACEOF 7166 if { (ac_try="$ac_cpp conftest.$ac_ext" 7167 case "(($ac_try" in 7168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7169 *) ac_try_echo=$ac_try;; 7170 esac 7171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7172 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7173 ac_status=$? 7174 grep -v '^ *+' conftest.er1 >conftest.err 7175 rm -f conftest.er1 7176 cat conftest.err >&5 7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7178 (exit $ac_status); } >/dev/null && { 7179 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7180 test ! -s conftest.err 7181 }; then 7182 ac_header_preproc=yes 7183 else 7184 echo "$as_me: failed program was:" >&5 7185 sed 's/^/| /' conftest.$ac_ext >&5 7186 7187 ac_header_preproc=no 7188 fi 7189 7190 rm -f conftest.err conftest.$ac_ext 7191 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7192 echo "${ECHO_T}$ac_header_preproc" >&6; } 7193 7194 # So? What about this header? 7195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7196 yes:no: ) 7197 { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 7198 echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7199 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 7200 echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 7201 ac_header_preproc=yes 7202 ;; 7203 no:yes:* ) 7204 { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 7205 echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 7206 { echo "$as_me:$LINENO: WARNING: setjmp.h: check for missing prerequisite headers?" >&5 7207 echo "$as_me: WARNING: setjmp.h: check for missing prerequisite headers?" >&2;} 7208 { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 7209 echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 7210 { echo "$as_me:$LINENO: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&5 7211 echo "$as_me: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&2;} 7212 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 7213 echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 7214 { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 7215 echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 7216 7217 ;; 7218 esac 7219 { echo "$as_me:$LINENO: checking for setjmp.h" >&5 7220 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 7221 if test "${ac_cv_header_setjmp_h+set}" = set; then 7222 echo $ECHO_N "(cached) $ECHO_C" >&6 7223 else 7224 ac_cv_header_setjmp_h=$ac_header_preproc 7225 fi 7226 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 7227 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 7228 7229 fi 7230 if test $ac_cv_header_setjmp_h = yes; then 7231 cat >>confdefs.h <<\_ACEOF 7232 #define PJ_HAS_SETJMP_H 1 7233 _ACEOF 7234 7235 fi 7236 7237 7238 if test "${ac_cv_header_stdarg_h+set}" = set; then 7239 { echo "$as_me:$LINENO: checking for stdarg.h" >&5 7240 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 7241 if test "${ac_cv_header_stdarg_h+set}" = set; then 7242 echo $ECHO_N "(cached) $ECHO_C" >&6 7243 fi 7244 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 7245 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 7246 else 7247 # Is the header compilable? 7248 { echo "$as_me:$LINENO: checking stdarg.h usability" >&5 7249 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; } 7250 cat >conftest.$ac_ext <<_ACEOF 7251 /* confdefs.h. */ 7252 _ACEOF 7253 cat confdefs.h >>conftest.$ac_ext 7254 cat >>conftest.$ac_ext <<_ACEOF 7255 /* end confdefs.h. */ 7256 $ac_includes_default 7257 #include <stdarg.h> 7258 _ACEOF 7259 rm -f conftest.$ac_objext 7260 if { (ac_try="$ac_compile" 7261 case "(($ac_try" in 7262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7263 *) ac_try_echo=$ac_try;; 7264 esac 7265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7266 (eval "$ac_compile") 2>conftest.er1 7267 ac_status=$? 7268 grep -v '^ *+' conftest.er1 >conftest.err 7269 rm -f conftest.er1 7270 cat conftest.err >&5 7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7272 (exit $ac_status); } && { 7273 test -z "$ac_c_werror_flag" || 7274 test ! -s conftest.err 7275 } && test -s conftest.$ac_objext; then 7276 ac_header_compiler=yes 7277 else 7278 echo "$as_me: failed program was:" >&5 7279 sed 's/^/| /' conftest.$ac_ext >&5 7280 7281 ac_header_compiler=no 7282 fi 7283 7284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7285 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7286 echo "${ECHO_T}$ac_header_compiler" >&6; } 7287 7288 # Is the header present? 7289 { echo "$as_me:$LINENO: checking stdarg.h presence" >&5 7290 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; } 7291 cat >conftest.$ac_ext <<_ACEOF 7292 /* confdefs.h. */ 7293 _ACEOF 7294 cat confdefs.h >>conftest.$ac_ext 7295 cat >>conftest.$ac_ext <<_ACEOF 7296 /* end confdefs.h. */ 7297 #include <stdarg.h> 7298 _ACEOF 7299 if { (ac_try="$ac_cpp conftest.$ac_ext" 7300 case "(($ac_try" in 7301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7302 *) ac_try_echo=$ac_try;; 7303 esac 7304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7305 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7306 ac_status=$? 7307 grep -v '^ *+' conftest.er1 >conftest.err 7308 rm -f conftest.er1 7309 cat conftest.err >&5 7310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7311 (exit $ac_status); } >/dev/null && { 7312 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7313 test ! -s conftest.err 7314 }; then 7315 ac_header_preproc=yes 7316 else 7317 echo "$as_me: failed program was:" >&5 7318 sed 's/^/| /' conftest.$ac_ext >&5 7319 7320 ac_header_preproc=no 7321 fi 7322 7323 rm -f conftest.err conftest.$ac_ext 7324 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7325 echo "${ECHO_T}$ac_header_preproc" >&6; } 7326 7327 # So? What about this header? 7328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7329 yes:no: ) 7330 { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 7331 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7332 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 7333 echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 7334 ac_header_preproc=yes 7335 ;; 7336 no:yes:* ) 7337 { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 7338 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 7339 { echo "$as_me:$LINENO: WARNING: stdarg.h: check for missing prerequisite headers?" >&5 7340 echo "$as_me: WARNING: stdarg.h: check for missing prerequisite headers?" >&2;} 7341 { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 7342 echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 7343 { echo "$as_me:$LINENO: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&5 7344 echo "$as_me: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&2;} 7345 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 7346 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 7347 { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 7348 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 7349 7350 ;; 7351 esac 7352 { echo "$as_me:$LINENO: checking for stdarg.h" >&5 7353 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 7354 if test "${ac_cv_header_stdarg_h+set}" = set; then 7355 echo $ECHO_N "(cached) $ECHO_C" >&6 7356 else 7357 ac_cv_header_stdarg_h=$ac_header_preproc 7358 fi 7359 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 7360 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 7361 7362 fi 7363 if test $ac_cv_header_stdarg_h = yes; then 7364 cat >>confdefs.h <<\_ACEOF 7365 #define PJ_HAS_STDARG_H 1 7366 _ACEOF 7367 7368 fi 7369 7370 7371 if test "${ac_cv_header_stddef_h+set}" = set; then 7372 { echo "$as_me:$LINENO: checking for stddef.h" >&5 7373 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 7374 if test "${ac_cv_header_stddef_h+set}" = set; then 7375 echo $ECHO_N "(cached) $ECHO_C" >&6 7376 fi 7377 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 7378 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 7379 else 7380 # Is the header compilable? 7381 { echo "$as_me:$LINENO: checking stddef.h usability" >&5 7382 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6; } 7383 cat >conftest.$ac_ext <<_ACEOF 7384 /* confdefs.h. */ 7385 _ACEOF 7386 cat confdefs.h >>conftest.$ac_ext 7387 cat >>conftest.$ac_ext <<_ACEOF 7388 /* end confdefs.h. */ 7389 $ac_includes_default 7390 #include <stddef.h> 7391 _ACEOF 7392 rm -f conftest.$ac_objext 7393 if { (ac_try="$ac_compile" 7394 case "(($ac_try" in 7395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7396 *) ac_try_echo=$ac_try;; 7397 esac 7398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7399 (eval "$ac_compile") 2>conftest.er1 7400 ac_status=$? 7401 grep -v '^ *+' conftest.er1 >conftest.err 7402 rm -f conftest.er1 7403 cat conftest.err >&5 7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7405 (exit $ac_status); } && { 7406 test -z "$ac_c_werror_flag" || 7407 test ! -s conftest.err 7408 } && test -s conftest.$ac_objext; then 7409 ac_header_compiler=yes 7410 else 7411 echo "$as_me: failed program was:" >&5 7412 sed 's/^/| /' conftest.$ac_ext >&5 7413 7414 ac_header_compiler=no 7415 fi 7416 7417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7418 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7419 echo "${ECHO_T}$ac_header_compiler" >&6; } 7420 7421 # Is the header present? 7422 { echo "$as_me:$LINENO: checking stddef.h presence" >&5 7423 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6; } 7424 cat >conftest.$ac_ext <<_ACEOF 7425 /* confdefs.h. */ 7426 _ACEOF 7427 cat confdefs.h >>conftest.$ac_ext 7428 cat >>conftest.$ac_ext <<_ACEOF 7429 /* end confdefs.h. */ 7430 #include <stddef.h> 7431 _ACEOF 7432 if { (ac_try="$ac_cpp conftest.$ac_ext" 7433 case "(($ac_try" in 7434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7435 *) ac_try_echo=$ac_try;; 7436 esac 7437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7438 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7439 ac_status=$? 7440 grep -v '^ *+' conftest.er1 >conftest.err 7441 rm -f conftest.er1 7442 cat conftest.err >&5 7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7444 (exit $ac_status); } >/dev/null && { 7445 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7446 test ! -s conftest.err 7447 }; then 7448 ac_header_preproc=yes 7449 else 7450 echo "$as_me: failed program was:" >&5 7451 sed 's/^/| /' conftest.$ac_ext >&5 7452 7453 ac_header_preproc=no 7454 fi 7455 7456 rm -f conftest.err conftest.$ac_ext 7457 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7458 echo "${ECHO_T}$ac_header_preproc" >&6; } 7459 7460 # So? What about this header? 7461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7462 yes:no: ) 7463 { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 7464 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7465 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 7466 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 7467 ac_header_preproc=yes 7468 ;; 7469 no:yes:* ) 7470 { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 7471 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 7472 { echo "$as_me:$LINENO: WARNING: stddef.h: check for missing prerequisite headers?" >&5 7473 echo "$as_me: WARNING: stddef.h: check for missing prerequisite headers?" >&2;} 7474 { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 7475 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 7476 { echo "$as_me:$LINENO: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&5 7477 echo "$as_me: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&2;} 7478 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 7479 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 7480 { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 7481 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 7482 7483 ;; 7484 esac 7485 { echo "$as_me:$LINENO: checking for stddef.h" >&5 7486 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 7487 if test "${ac_cv_header_stddef_h+set}" = set; then 7488 echo $ECHO_N "(cached) $ECHO_C" >&6 7489 else 7490 ac_cv_header_stddef_h=$ac_header_preproc 7491 fi 7492 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 7493 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 7494 7495 fi 7496 if test $ac_cv_header_stddef_h = yes; then 7497 cat >>confdefs.h <<\_ACEOF 7498 #define PJ_HAS_STDDEF_H 1 7499 _ACEOF 7500 7501 fi 7502 7503 7504 if test "${ac_cv_header_stdio_h+set}" = set; then 7505 { echo "$as_me:$LINENO: checking for stdio.h" >&5 7506 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 7507 if test "${ac_cv_header_stdio_h+set}" = set; then 7508 echo $ECHO_N "(cached) $ECHO_C" >&6 7509 fi 7510 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 7511 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 7512 else 7513 # Is the header compilable? 7514 { echo "$as_me:$LINENO: checking stdio.h usability" >&5 7515 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6; } 7516 cat >conftest.$ac_ext <<_ACEOF 7517 /* confdefs.h. */ 7518 _ACEOF 7519 cat confdefs.h >>conftest.$ac_ext 7520 cat >>conftest.$ac_ext <<_ACEOF 7521 /* end confdefs.h. */ 7522 $ac_includes_default 7523 #include <stdio.h> 7524 _ACEOF 7525 rm -f conftest.$ac_objext 7526 if { (ac_try="$ac_compile" 7527 case "(($ac_try" in 7528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7529 *) ac_try_echo=$ac_try;; 7530 esac 7531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7532 (eval "$ac_compile") 2>conftest.er1 7533 ac_status=$? 7534 grep -v '^ *+' conftest.er1 >conftest.err 7535 rm -f conftest.er1 7536 cat conftest.err >&5 7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7538 (exit $ac_status); } && { 7539 test -z "$ac_c_werror_flag" || 7540 test ! -s conftest.err 7541 } && test -s conftest.$ac_objext; then 7542 ac_header_compiler=yes 7543 else 7544 echo "$as_me: failed program was:" >&5 7545 sed 's/^/| /' conftest.$ac_ext >&5 7546 7547 ac_header_compiler=no 7548 fi 7549 7550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7551 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7552 echo "${ECHO_T}$ac_header_compiler" >&6; } 7553 7554 # Is the header present? 7555 { echo "$as_me:$LINENO: checking stdio.h presence" >&5 7556 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6; } 7557 cat >conftest.$ac_ext <<_ACEOF 7558 /* confdefs.h. */ 7559 _ACEOF 7560 cat confdefs.h >>conftest.$ac_ext 7561 cat >>conftest.$ac_ext <<_ACEOF 7562 /* end confdefs.h. */ 7563 #include <stdio.h> 7564 _ACEOF 7565 if { (ac_try="$ac_cpp conftest.$ac_ext" 7566 case "(($ac_try" in 7567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7568 *) ac_try_echo=$ac_try;; 7569 esac 7570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7571 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7572 ac_status=$? 7573 grep -v '^ *+' conftest.er1 >conftest.err 7574 rm -f conftest.er1 7575 cat conftest.err >&5 7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7577 (exit $ac_status); } >/dev/null && { 7578 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7579 test ! -s conftest.err 7580 }; then 7581 ac_header_preproc=yes 7582 else 7583 echo "$as_me: failed program was:" >&5 7584 sed 's/^/| /' conftest.$ac_ext >&5 7585 7586 ac_header_preproc=no 7587 fi 7588 7589 rm -f conftest.err conftest.$ac_ext 7590 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7591 echo "${ECHO_T}$ac_header_preproc" >&6; } 7592 7593 # So? What about this header? 7594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7595 yes:no: ) 7596 { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 7597 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7598 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 7599 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 7600 ac_header_preproc=yes 7601 ;; 7602 no:yes:* ) 7603 { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 7604 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 7605 { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5 7606 echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;} 7607 { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 7608 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 7609 { echo "$as_me:$LINENO: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&5 7610 echo "$as_me: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&2;} 7611 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 7612 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 7613 { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 7614 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 7615 7616 ;; 7617 esac 7618 { echo "$as_me:$LINENO: checking for stdio.h" >&5 7619 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 7620 if test "${ac_cv_header_stdio_h+set}" = set; then 7621 echo $ECHO_N "(cached) $ECHO_C" >&6 7622 else 7623 ac_cv_header_stdio_h=$ac_header_preproc 7624 fi 7625 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 7626 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 7627 7628 fi 7629 if test $ac_cv_header_stdio_h = yes; then 7630 cat >>confdefs.h <<\_ACEOF 7631 #define PJ_HAS_STDIO_H 1 7632 _ACEOF 7633 7634 fi 7635 7636 7637 if test "${ac_cv_header_stdint_h+set}" = set; then 7638 { echo "$as_me:$LINENO: checking for stdint.h" >&5 7639 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 7640 if test "${ac_cv_header_stdint_h+set}" = set; then 7641 echo $ECHO_N "(cached) $ECHO_C" >&6 7642 fi 7643 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 7644 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 7645 else 7646 # Is the header compilable? 7647 { echo "$as_me:$LINENO: checking stdint.h usability" >&5 7648 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6; } 7649 cat >conftest.$ac_ext <<_ACEOF 7650 /* confdefs.h. */ 7651 _ACEOF 7652 cat confdefs.h >>conftest.$ac_ext 7653 cat >>conftest.$ac_ext <<_ACEOF 7654 /* end confdefs.h. */ 7655 $ac_includes_default 7656 #include <stdint.h> 7657 _ACEOF 7658 rm -f conftest.$ac_objext 7659 if { (ac_try="$ac_compile" 7660 case "(($ac_try" in 7661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7662 *) ac_try_echo=$ac_try;; 7663 esac 7664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7665 (eval "$ac_compile") 2>conftest.er1 7666 ac_status=$? 7667 grep -v '^ *+' conftest.er1 >conftest.err 7668 rm -f conftest.er1 7669 cat conftest.err >&5 7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7671 (exit $ac_status); } && { 7672 test -z "$ac_c_werror_flag" || 7673 test ! -s conftest.err 7674 } && test -s conftest.$ac_objext; then 7675 ac_header_compiler=yes 7676 else 7677 echo "$as_me: failed program was:" >&5 7678 sed 's/^/| /' conftest.$ac_ext >&5 7679 7680 ac_header_compiler=no 7681 fi 7682 7683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7684 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7685 echo "${ECHO_T}$ac_header_compiler" >&6; } 7686 7687 # Is the header present? 7688 { echo "$as_me:$LINENO: checking stdint.h presence" >&5 7689 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6; } 7690 cat >conftest.$ac_ext <<_ACEOF 7691 /* confdefs.h. */ 7692 _ACEOF 7693 cat confdefs.h >>conftest.$ac_ext 7694 cat >>conftest.$ac_ext <<_ACEOF 7695 /* end confdefs.h. */ 7696 #include <stdint.h> 7697 _ACEOF 7698 if { (ac_try="$ac_cpp conftest.$ac_ext" 7699 case "(($ac_try" in 7700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7701 *) ac_try_echo=$ac_try;; 7702 esac 7703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7704 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7705 ac_status=$? 7706 grep -v '^ *+' conftest.er1 >conftest.err 7707 rm -f conftest.er1 7708 cat conftest.err >&5 7709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7710 (exit $ac_status); } >/dev/null && { 7711 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7712 test ! -s conftest.err 7713 }; then 7714 ac_header_preproc=yes 7715 else 7716 echo "$as_me: failed program was:" >&5 7717 sed 's/^/| /' conftest.$ac_ext >&5 7718 7719 ac_header_preproc=no 7720 fi 7721 7722 rm -f conftest.err conftest.$ac_ext 7723 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7724 echo "${ECHO_T}$ac_header_preproc" >&6; } 7725 7726 # So? What about this header? 7727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7728 yes:no: ) 7729 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 7730 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7731 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 7732 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 7733 ac_header_preproc=yes 7734 ;; 7735 no:yes:* ) 7736 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 7737 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 7738 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5 7739 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;} 7740 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 7741 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 7742 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5 7743 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;} 7744 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 7745 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 7746 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 7747 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 7748 7749 ;; 7750 esac 7751 { echo "$as_me:$LINENO: checking for stdint.h" >&5 7752 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 7753 if test "${ac_cv_header_stdint_h+set}" = set; then 7754 echo $ECHO_N "(cached) $ECHO_C" >&6 7755 else 7756 ac_cv_header_stdint_h=$ac_header_preproc 7757 fi 7758 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 7759 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 7760 7761 fi 7762 if test $ac_cv_header_stdint_h = yes; then 7763 cat >>confdefs.h <<\_ACEOF 7764 #define PJ_HAS_STDINT_H 1 7765 _ACEOF 7766 7767 fi 7768 7769 7770 if test "${ac_cv_header_stdlib_h+set}" = set; then 7771 { echo "$as_me:$LINENO: checking for stdlib.h" >&5 7772 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 7773 if test "${ac_cv_header_stdlib_h+set}" = set; then 7774 echo $ECHO_N "(cached) $ECHO_C" >&6 7775 fi 7776 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 7777 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 7778 else 7779 # Is the header compilable? 7780 { echo "$as_me:$LINENO: checking stdlib.h usability" >&5 7781 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; } 7782 cat >conftest.$ac_ext <<_ACEOF 7783 /* confdefs.h. */ 7784 _ACEOF 7785 cat confdefs.h >>conftest.$ac_ext 7786 cat >>conftest.$ac_ext <<_ACEOF 7787 /* end confdefs.h. */ 7788 $ac_includes_default 7789 #include <stdlib.h> 7790 _ACEOF 7791 rm -f conftest.$ac_objext 7792 if { (ac_try="$ac_compile" 7793 case "(($ac_try" in 7794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7795 *) ac_try_echo=$ac_try;; 7796 esac 7797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7798 (eval "$ac_compile") 2>conftest.er1 7799 ac_status=$? 7800 grep -v '^ *+' conftest.er1 >conftest.err 7801 rm -f conftest.er1 7802 cat conftest.err >&5 7803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7804 (exit $ac_status); } && { 7805 test -z "$ac_c_werror_flag" || 7806 test ! -s conftest.err 7807 } && test -s conftest.$ac_objext; then 7808 ac_header_compiler=yes 7809 else 7810 echo "$as_me: failed program was:" >&5 7811 sed 's/^/| /' conftest.$ac_ext >&5 7812 7813 ac_header_compiler=no 7814 fi 7815 7816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7817 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7818 echo "${ECHO_T}$ac_header_compiler" >&6; } 7819 7820 # Is the header present? 7821 { echo "$as_me:$LINENO: checking stdlib.h presence" >&5 7822 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; } 7823 cat >conftest.$ac_ext <<_ACEOF 7824 /* confdefs.h. */ 7825 _ACEOF 7826 cat confdefs.h >>conftest.$ac_ext 7827 cat >>conftest.$ac_ext <<_ACEOF 7828 /* end confdefs.h. */ 7829 #include <stdlib.h> 7830 _ACEOF 7831 if { (ac_try="$ac_cpp conftest.$ac_ext" 7832 case "(($ac_try" in 7833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7834 *) ac_try_echo=$ac_try;; 7835 esac 7836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7837 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7838 ac_status=$? 7839 grep -v '^ *+' conftest.er1 >conftest.err 7840 rm -f conftest.er1 7841 cat conftest.err >&5 7842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7843 (exit $ac_status); } >/dev/null && { 7844 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7845 test ! -s conftest.err 7846 }; then 7847 ac_header_preproc=yes 7848 else 7849 echo "$as_me: failed program was:" >&5 7850 sed 's/^/| /' conftest.$ac_ext >&5 7851 7852 ac_header_preproc=no 7853 fi 7854 7855 rm -f conftest.err conftest.$ac_ext 7856 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7857 echo "${ECHO_T}$ac_header_preproc" >&6; } 7858 7859 # So? What about this header? 7860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7861 yes:no: ) 7862 { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 7863 echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7864 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 7865 echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 7866 ac_header_preproc=yes 7867 ;; 7868 no:yes:* ) 7869 { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 7870 echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 7871 { echo "$as_me:$LINENO: WARNING: stdlib.h: check for missing prerequisite headers?" >&5 7872 echo "$as_me: WARNING: stdlib.h: check for missing prerequisite headers?" >&2;} 7873 { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 7874 echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 7875 { echo "$as_me:$LINENO: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&5 7876 echo "$as_me: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&2;} 7877 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 7878 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 7879 { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 7880 echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 7881 7882 ;; 7883 esac 7884 { echo "$as_me:$LINENO: checking for stdlib.h" >&5 7885 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 7886 if test "${ac_cv_header_stdlib_h+set}" = set; then 7887 echo $ECHO_N "(cached) $ECHO_C" >&6 7888 else 7889 ac_cv_header_stdlib_h=$ac_header_preproc 7890 fi 7891 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 7892 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 7893 7894 fi 7895 if test $ac_cv_header_stdlib_h = yes; then 7896 cat >>confdefs.h <<\_ACEOF 7897 #define PJ_HAS_STDLIB_H 1 7898 _ACEOF 7899 7900 fi 7901 7902 7903 if test "${ac_cv_header_string_h+set}" = set; then 7904 { echo "$as_me:$LINENO: checking for string.h" >&5 7905 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 7906 if test "${ac_cv_header_string_h+set}" = set; then 7907 echo $ECHO_N "(cached) $ECHO_C" >&6 7908 fi 7909 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 7910 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 7911 else 7912 # Is the header compilable? 7913 { echo "$as_me:$LINENO: checking string.h usability" >&5 7914 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6; } 7915 cat >conftest.$ac_ext <<_ACEOF 7916 /* confdefs.h. */ 7917 _ACEOF 7918 cat confdefs.h >>conftest.$ac_ext 7919 cat >>conftest.$ac_ext <<_ACEOF 7920 /* end confdefs.h. */ 7921 $ac_includes_default 7922 #include <string.h> 7923 _ACEOF 7924 rm -f conftest.$ac_objext 7925 if { (ac_try="$ac_compile" 7926 case "(($ac_try" in 7927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7928 *) ac_try_echo=$ac_try;; 7929 esac 7930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7931 (eval "$ac_compile") 2>conftest.er1 7932 ac_status=$? 7933 grep -v '^ *+' conftest.er1 >conftest.err 7934 rm -f conftest.er1 7935 cat conftest.err >&5 7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7937 (exit $ac_status); } && { 7938 test -z "$ac_c_werror_flag" || 7939 test ! -s conftest.err 7940 } && test -s conftest.$ac_objext; then 7941 ac_header_compiler=yes 7942 else 7943 echo "$as_me: failed program was:" >&5 7944 sed 's/^/| /' conftest.$ac_ext >&5 7945 7946 ac_header_compiler=no 7947 fi 7948 7949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7950 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7951 echo "${ECHO_T}$ac_header_compiler" >&6; } 7952 7953 # Is the header present? 7954 { echo "$as_me:$LINENO: checking string.h presence" >&5 7955 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6; } 7956 cat >conftest.$ac_ext <<_ACEOF 7957 /* confdefs.h. */ 7958 _ACEOF 7959 cat confdefs.h >>conftest.$ac_ext 7960 cat >>conftest.$ac_ext <<_ACEOF 7961 /* end confdefs.h. */ 7962 #include <string.h> 7963 _ACEOF 7964 if { (ac_try="$ac_cpp conftest.$ac_ext" 7965 case "(($ac_try" in 7966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7967 *) ac_try_echo=$ac_try;; 7968 esac 7969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7970 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7971 ac_status=$? 7972 grep -v '^ *+' conftest.er1 >conftest.err 7973 rm -f conftest.er1 7974 cat conftest.err >&5 7975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7976 (exit $ac_status); } >/dev/null && { 7977 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7978 test ! -s conftest.err 7979 }; then 7980 ac_header_preproc=yes 7981 else 7982 echo "$as_me: failed program was:" >&5 7983 sed 's/^/| /' conftest.$ac_ext >&5 7984 7985 ac_header_preproc=no 7986 fi 7987 7988 rm -f conftest.err conftest.$ac_ext 7989 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7990 echo "${ECHO_T}$ac_header_preproc" >&6; } 7991 7992 # So? What about this header? 7993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7994 yes:no: ) 7995 { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 7996 echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7997 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 7998 echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 7999 ac_header_preproc=yes 8000 ;; 8001 no:yes:* ) 8002 { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 8003 echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 8004 { echo "$as_me:$LINENO: WARNING: string.h: check for missing prerequisite headers?" >&5 8005 echo "$as_me: WARNING: string.h: check for missing prerequisite headers?" >&2;} 8006 { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 8007 echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 8008 { echo "$as_me:$LINENO: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&5 8009 echo "$as_me: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&2;} 8010 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 8011 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 8012 { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 8013 echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 8014 8015 ;; 8016 esac 8017 { echo "$as_me:$LINENO: checking for string.h" >&5 8018 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 8019 if test "${ac_cv_header_string_h+set}" = set; then 8020 echo $ECHO_N "(cached) $ECHO_C" >&6 8021 else 8022 ac_cv_header_string_h=$ac_header_preproc 8023 fi 8024 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 8025 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 8026 8027 fi 8028 if test $ac_cv_header_string_h = yes; then 8029 cat >>confdefs.h <<\_ACEOF 8030 #define PJ_HAS_STRING_H 1 8031 _ACEOF 8032 8033 fi 8034 8035 8036 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 8037 { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 8038 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 8039 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 8040 echo $ECHO_N "(cached) $ECHO_C" >&6 8041 fi 8042 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 8043 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 8044 else 8045 # Is the header compilable? 8046 { echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 8047 echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6; } 8048 cat >conftest.$ac_ext <<_ACEOF 8049 /* confdefs.h. */ 8050 _ACEOF 8051 cat confdefs.h >>conftest.$ac_ext 8052 cat >>conftest.$ac_ext <<_ACEOF 8053 /* end confdefs.h. */ 8054 $ac_includes_default 8055 #include <sys/ioctl.h> 8056 _ACEOF 8057 rm -f conftest.$ac_objext 8058 if { (ac_try="$ac_compile" 8059 case "(($ac_try" in 8060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8061 *) ac_try_echo=$ac_try;; 8062 esac 8063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8064 (eval "$ac_compile") 2>conftest.er1 8065 ac_status=$? 8066 grep -v '^ *+' conftest.er1 >conftest.err 8067 rm -f conftest.er1 8068 cat conftest.err >&5 8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8070 (exit $ac_status); } && { 8071 test -z "$ac_c_werror_flag" || 8072 test ! -s conftest.err 8073 } && test -s conftest.$ac_objext; then 8074 ac_header_compiler=yes 8075 else 8076 echo "$as_me: failed program was:" >&5 8077 sed 's/^/| /' conftest.$ac_ext >&5 8078 8079 ac_header_compiler=no 8080 fi 8081 8082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8083 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8084 echo "${ECHO_T}$ac_header_compiler" >&6; } 8085 8086 # Is the header present? 8087 { echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 8088 echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6; } 8089 cat >conftest.$ac_ext <<_ACEOF 8090 /* confdefs.h. */ 8091 _ACEOF 8092 cat confdefs.h >>conftest.$ac_ext 8093 cat >>conftest.$ac_ext <<_ACEOF 8094 /* end confdefs.h. */ 8095 #include <sys/ioctl.h> 8096 _ACEOF 8097 if { (ac_try="$ac_cpp conftest.$ac_ext" 8098 case "(($ac_try" in 8099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8100 *) ac_try_echo=$ac_try;; 8101 esac 8102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8103 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8104 ac_status=$? 8105 grep -v '^ *+' conftest.er1 >conftest.err 8106 rm -f conftest.er1 8107 cat conftest.err >&5 8108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8109 (exit $ac_status); } >/dev/null && { 8110 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8111 test ! -s conftest.err 8112 }; then 8113 ac_header_preproc=yes 8114 else 8115 echo "$as_me: failed program was:" >&5 8116 sed 's/^/| /' conftest.$ac_ext >&5 8117 8118 ac_header_preproc=no 8119 fi 8120 8121 rm -f conftest.err conftest.$ac_ext 8122 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8123 echo "${ECHO_T}$ac_header_preproc" >&6; } 8124 8125 # So? What about this header? 8126 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8127 yes:no: ) 8128 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 8129 echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8130 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 8131 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 8132 ac_header_preproc=yes 8133 ;; 8134 no:yes:* ) 8135 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 8136 echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 8137 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&5 8138 echo "$as_me: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&2;} 8139 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 8140 echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 8141 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: section \"Present But Cannot Be Compiled\"" >&5 8142 echo "$as_me: WARNING: sys/ioctl.h: section \"Present But Cannot Be Compiled\"" >&2;} 8143 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 8144 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 8145 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 8146 echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 8147 8148 ;; 8149 esac 8150 { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 8151 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 8152 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 8153 echo $ECHO_N "(cached) $ECHO_C" >&6 8154 else 8155 ac_cv_header_sys_ioctl_h=$ac_header_preproc 8156 fi 8157 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 8158 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 8159 8160 fi 8161 if test $ac_cv_header_sys_ioctl_h = yes; then 8162 cat >>confdefs.h <<\_ACEOF 8163 #define PJ_HAS_SYS_IOCTL_H 1 8164 _ACEOF 8165 8166 fi 8167 8168 8169 if test "${ac_cv_header_sys_select_h+set}" = set; then 8170 { echo "$as_me:$LINENO: checking for sys/select.h" >&5 8171 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 8172 if test "${ac_cv_header_sys_select_h+set}" = set; then 8173 echo $ECHO_N "(cached) $ECHO_C" >&6 8174 fi 8175 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 8176 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 8177 else 8178 # Is the header compilable? 8179 { echo "$as_me:$LINENO: checking sys/select.h usability" >&5 8180 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6; } 8181 cat >conftest.$ac_ext <<_ACEOF 8182 /* confdefs.h. */ 8183 _ACEOF 8184 cat confdefs.h >>conftest.$ac_ext 8185 cat >>conftest.$ac_ext <<_ACEOF 8186 /* end confdefs.h. */ 8187 $ac_includes_default 8188 #include <sys/select.h> 8189 _ACEOF 8190 rm -f conftest.$ac_objext 8191 if { (ac_try="$ac_compile" 8192 case "(($ac_try" in 8193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8194 *) ac_try_echo=$ac_try;; 8195 esac 8196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8197 (eval "$ac_compile") 2>conftest.er1 8198 ac_status=$? 8199 grep -v '^ *+' conftest.er1 >conftest.err 8200 rm -f conftest.er1 8201 cat conftest.err >&5 8202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8203 (exit $ac_status); } && { 8204 test -z "$ac_c_werror_flag" || 8205 test ! -s conftest.err 8206 } && test -s conftest.$ac_objext; then 8207 ac_header_compiler=yes 8208 else 8209 echo "$as_me: failed program was:" >&5 8210 sed 's/^/| /' conftest.$ac_ext >&5 8211 8212 ac_header_compiler=no 8213 fi 8214 8215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8216 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8217 echo "${ECHO_T}$ac_header_compiler" >&6; } 8218 8219 # Is the header present? 8220 { echo "$as_me:$LINENO: checking sys/select.h presence" >&5 8221 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6; } 8222 cat >conftest.$ac_ext <<_ACEOF 8223 /* confdefs.h. */ 8224 _ACEOF 8225 cat confdefs.h >>conftest.$ac_ext 8226 cat >>conftest.$ac_ext <<_ACEOF 8227 /* end confdefs.h. */ 8228 #include <sys/select.h> 8229 _ACEOF 8230 if { (ac_try="$ac_cpp conftest.$ac_ext" 8231 case "(($ac_try" in 8232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8233 *) ac_try_echo=$ac_try;; 8234 esac 8235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8236 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8237 ac_status=$? 8238 grep -v '^ *+' conftest.er1 >conftest.err 8239 rm -f conftest.er1 8240 cat conftest.err >&5 8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8242 (exit $ac_status); } >/dev/null && { 8243 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8244 test ! -s conftest.err 8245 }; then 8246 ac_header_preproc=yes 8247 else 8248 echo "$as_me: failed program was:" >&5 8249 sed 's/^/| /' conftest.$ac_ext >&5 8250 8251 ac_header_preproc=no 8252 fi 8253 8254 rm -f conftest.err conftest.$ac_ext 8255 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8256 echo "${ECHO_T}$ac_header_preproc" >&6; } 8257 8258 # So? What about this header? 8259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8260 yes:no: ) 8261 { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 8262 echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8263 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 8264 echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 8265 ac_header_preproc=yes 8266 ;; 8267 no:yes:* ) 8268 { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 8269 echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 8270 { echo "$as_me:$LINENO: WARNING: sys/select.h: check for missing prerequisite headers?" >&5 8271 echo "$as_me: WARNING: sys/select.h: check for missing prerequisite headers?" >&2;} 8272 { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 8273 echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 8274 { echo "$as_me:$LINENO: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&5 8275 echo "$as_me: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&2;} 8276 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 8277 echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 8278 { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 8279 echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 8280 8281 ;; 8282 esac 8283 { echo "$as_me:$LINENO: checking for sys/select.h" >&5 8284 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 8285 if test "${ac_cv_header_sys_select_h+set}" = set; then 8286 echo $ECHO_N "(cached) $ECHO_C" >&6 8287 else 8288 ac_cv_header_sys_select_h=$ac_header_preproc 8289 fi 8290 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 8291 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 8292 8293 fi 8294 if test $ac_cv_header_sys_select_h = yes; then 8295 cat >>confdefs.h <<\_ACEOF 8296 #define PJ_HAS_SYS_SELECT_H 1 8297 _ACEOF 8298 8299 fi 8300 8301 8302 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8303 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 8304 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 8305 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8306 echo $ECHO_N "(cached) $ECHO_C" >&6 8307 fi 8308 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 8309 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 8310 else 8311 # Is the header compilable? 8312 { echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 8313 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; } 8314 cat >conftest.$ac_ext <<_ACEOF 8315 /* confdefs.h. */ 8316 _ACEOF 8317 cat confdefs.h >>conftest.$ac_ext 8318 cat >>conftest.$ac_ext <<_ACEOF 8319 /* end confdefs.h. */ 8320 $ac_includes_default 8321 #include <sys/socket.h> 8322 _ACEOF 8323 rm -f conftest.$ac_objext 8324 if { (ac_try="$ac_compile" 8325 case "(($ac_try" in 8326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8327 *) ac_try_echo=$ac_try;; 8328 esac 8329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8330 (eval "$ac_compile") 2>conftest.er1 8331 ac_status=$? 8332 grep -v '^ *+' conftest.er1 >conftest.err 8333 rm -f conftest.er1 8334 cat conftest.err >&5 8335 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8336 (exit $ac_status); } && { 8337 test -z "$ac_c_werror_flag" || 8338 test ! -s conftest.err 8339 } && test -s conftest.$ac_objext; then 8340 ac_header_compiler=yes 8341 else 8342 echo "$as_me: failed program was:" >&5 8343 sed 's/^/| /' conftest.$ac_ext >&5 8344 8345 ac_header_compiler=no 8346 fi 8347 8348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8349 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8350 echo "${ECHO_T}$ac_header_compiler" >&6; } 8351 8352 # Is the header present? 8353 { echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 8354 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; } 8355 cat >conftest.$ac_ext <<_ACEOF 8356 /* confdefs.h. */ 8357 _ACEOF 8358 cat confdefs.h >>conftest.$ac_ext 8359 cat >>conftest.$ac_ext <<_ACEOF 8360 /* end confdefs.h. */ 8361 #include <sys/socket.h> 8362 _ACEOF 8363 if { (ac_try="$ac_cpp conftest.$ac_ext" 8364 case "(($ac_try" in 8365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8366 *) ac_try_echo=$ac_try;; 8367 esac 8368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8369 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8370 ac_status=$? 8371 grep -v '^ *+' conftest.er1 >conftest.err 8372 rm -f conftest.er1 8373 cat conftest.err >&5 8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8375 (exit $ac_status); } >/dev/null && { 8376 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8377 test ! -s conftest.err 8378 }; then 8379 ac_header_preproc=yes 8380 else 8381 echo "$as_me: failed program was:" >&5 8382 sed 's/^/| /' conftest.$ac_ext >&5 8383 8384 ac_header_preproc=no 8385 fi 8386 8387 rm -f conftest.err conftest.$ac_ext 8388 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8389 echo "${ECHO_T}$ac_header_preproc" >&6; } 8390 8391 # So? What about this header? 8392 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8393 yes:no: ) 8394 { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 8395 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8396 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 8397 echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 8398 ac_header_preproc=yes 8399 ;; 8400 no:yes:* ) 8401 { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 8402 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 8403 { echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5 8404 echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;} 8405 { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 8406 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 8407 { echo "$as_me:$LINENO: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&5 8408 echo "$as_me: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&2;} 8409 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 8410 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 8411 { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 8412 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 8413 8414 ;; 8415 esac 8416 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 8417 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 8418 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8419 echo $ECHO_N "(cached) $ECHO_C" >&6 8420 else 8421 ac_cv_header_sys_socket_h=$ac_header_preproc 8422 fi 8423 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 8424 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 8425 8426 fi 8427 if test $ac_cv_header_sys_socket_h = yes; then 8428 cat >>confdefs.h <<\_ACEOF 8429 #define PJ_HAS_SYS_SOCKET_H 1 8430 _ACEOF 8431 8432 fi 8433 8434 8435 if test "${ac_cv_header_sys_time_h+set}" = set; then 8436 { echo "$as_me:$LINENO: checking for sys/time.h" >&5 8437 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 8438 if test "${ac_cv_header_sys_time_h+set}" = set; then 8439 echo $ECHO_N "(cached) $ECHO_C" >&6 8440 fi 8441 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 8442 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 8443 else 8444 # Is the header compilable? 8445 { echo "$as_me:$LINENO: checking sys/time.h usability" >&5 8446 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6; } 8447 cat >conftest.$ac_ext <<_ACEOF 8448 /* confdefs.h. */ 8449 _ACEOF 8450 cat confdefs.h >>conftest.$ac_ext 8451 cat >>conftest.$ac_ext <<_ACEOF 8452 /* end confdefs.h. */ 8453 $ac_includes_default 8454 #include <sys/time.h> 8455 _ACEOF 8456 rm -f conftest.$ac_objext 8457 if { (ac_try="$ac_compile" 8458 case "(($ac_try" in 8459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8460 *) ac_try_echo=$ac_try;; 8461 esac 8462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8463 (eval "$ac_compile") 2>conftest.er1 8464 ac_status=$? 8465 grep -v '^ *+' conftest.er1 >conftest.err 8466 rm -f conftest.er1 8467 cat conftest.err >&5 8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8469 (exit $ac_status); } && { 8470 test -z "$ac_c_werror_flag" || 8471 test ! -s conftest.err 8472 } && test -s conftest.$ac_objext; then 8473 ac_header_compiler=yes 8474 else 8475 echo "$as_me: failed program was:" >&5 8476 sed 's/^/| /' conftest.$ac_ext >&5 8477 8478 ac_header_compiler=no 8479 fi 8480 8481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8482 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8483 echo "${ECHO_T}$ac_header_compiler" >&6; } 8484 8485 # Is the header present? 8486 { echo "$as_me:$LINENO: checking sys/time.h presence" >&5 8487 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6; } 8488 cat >conftest.$ac_ext <<_ACEOF 8489 /* confdefs.h. */ 8490 _ACEOF 8491 cat confdefs.h >>conftest.$ac_ext 8492 cat >>conftest.$ac_ext <<_ACEOF 8493 /* end confdefs.h. */ 8494 #include <sys/time.h> 8495 _ACEOF 8496 if { (ac_try="$ac_cpp conftest.$ac_ext" 8497 case "(($ac_try" in 8498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8499 *) ac_try_echo=$ac_try;; 8500 esac 8501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8503 ac_status=$? 8504 grep -v '^ *+' conftest.er1 >conftest.err 8505 rm -f conftest.er1 8506 cat conftest.err >&5 8507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8508 (exit $ac_status); } >/dev/null && { 8509 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8510 test ! -s conftest.err 8511 }; then 8512 ac_header_preproc=yes 8513 else 8514 echo "$as_me: failed program was:" >&5 8515 sed 's/^/| /' conftest.$ac_ext >&5 8516 8517 ac_header_preproc=no 8518 fi 8519 8520 rm -f conftest.err conftest.$ac_ext 8521 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8522 echo "${ECHO_T}$ac_header_preproc" >&6; } 8523 8524 # So? What about this header? 8525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8526 yes:no: ) 8527 { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 8528 echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8529 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 8530 echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 8531 ac_header_preproc=yes 8532 ;; 8533 no:yes:* ) 8534 { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 8535 echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 8536 { echo "$as_me:$LINENO: WARNING: sys/time.h: check for missing prerequisite headers?" >&5 8537 echo "$as_me: WARNING: sys/time.h: check for missing prerequisite headers?" >&2;} 8538 { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 8539 echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 8540 { echo "$as_me:$LINENO: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&5 8541 echo "$as_me: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&2;} 8542 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 8543 echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 8544 { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 8545 echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 8546 8547 ;; 8548 esac 8549 { echo "$as_me:$LINENO: checking for sys/time.h" >&5 8550 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 8551 if test "${ac_cv_header_sys_time_h+set}" = set; then 8552 echo $ECHO_N "(cached) $ECHO_C" >&6 8553 else 8554 ac_cv_header_sys_time_h=$ac_header_preproc 8555 fi 8556 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 8557 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 8558 8559 fi 8560 if test $ac_cv_header_sys_time_h = yes; then 8561 cat >>confdefs.h <<\_ACEOF 8562 #define PJ_HAS_SYS_TIME_H 1 8563 _ACEOF 8564 8565 fi 8566 8567 8568 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8569 { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 8570 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 8571 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8572 echo $ECHO_N "(cached) $ECHO_C" >&6 8573 fi 8574 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 8575 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 8576 else 8577 # Is the header compilable? 8578 { echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 8579 echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6; } 8580 cat >conftest.$ac_ext <<_ACEOF 8581 /* confdefs.h. */ 8582 _ACEOF 8583 cat confdefs.h >>conftest.$ac_ext 8584 cat >>conftest.$ac_ext <<_ACEOF 8585 /* end confdefs.h. */ 8586 $ac_includes_default 8587 #include <sys/timeb.h> 8588 _ACEOF 8589 rm -f conftest.$ac_objext 8590 if { (ac_try="$ac_compile" 8591 case "(($ac_try" in 8592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8593 *) ac_try_echo=$ac_try;; 8594 esac 8595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8596 (eval "$ac_compile") 2>conftest.er1 8597 ac_status=$? 8598 grep -v '^ *+' conftest.er1 >conftest.err 8599 rm -f conftest.er1 8600 cat conftest.err >&5 8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8602 (exit $ac_status); } && { 8603 test -z "$ac_c_werror_flag" || 8604 test ! -s conftest.err 8605 } && test -s conftest.$ac_objext; then 8606 ac_header_compiler=yes 8607 else 8608 echo "$as_me: failed program was:" >&5 8609 sed 's/^/| /' conftest.$ac_ext >&5 8610 8611 ac_header_compiler=no 8612 fi 8613 8614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8615 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8616 echo "${ECHO_T}$ac_header_compiler" >&6; } 8617 8618 # Is the header present? 8619 { echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 8620 echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6; } 8621 cat >conftest.$ac_ext <<_ACEOF 8622 /* confdefs.h. */ 8623 _ACEOF 8624 cat confdefs.h >>conftest.$ac_ext 8625 cat >>conftest.$ac_ext <<_ACEOF 8626 /* end confdefs.h. */ 8627 #include <sys/timeb.h> 8628 _ACEOF 8629 if { (ac_try="$ac_cpp conftest.$ac_ext" 8630 case "(($ac_try" in 8631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8632 *) ac_try_echo=$ac_try;; 8633 esac 8634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8636 ac_status=$? 8637 grep -v '^ *+' conftest.er1 >conftest.err 8638 rm -f conftest.er1 8639 cat conftest.err >&5 8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8641 (exit $ac_status); } >/dev/null && { 8642 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8643 test ! -s conftest.err 8644 }; then 8645 ac_header_preproc=yes 8646 else 8647 echo "$as_me: failed program was:" >&5 8648 sed 's/^/| /' conftest.$ac_ext >&5 8649 8650 ac_header_preproc=no 8651 fi 8652 8653 rm -f conftest.err conftest.$ac_ext 8654 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8655 echo "${ECHO_T}$ac_header_preproc" >&6; } 8656 8657 # So? What about this header? 8658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8659 yes:no: ) 8660 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 8661 echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8662 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 8663 echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 8664 ac_header_preproc=yes 8665 ;; 8666 no:yes:* ) 8667 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 8668 echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 8669 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&5 8670 echo "$as_me: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&2;} 8671 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 8672 echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 8673 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: section \"Present But Cannot Be Compiled\"" >&5 8674 echo "$as_me: WARNING: sys/timeb.h: section \"Present But Cannot Be Compiled\"" >&2;} 8675 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 8676 echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 8677 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 8678 echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 8679 8680 ;; 8681 esac 8682 { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 8683 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 8684 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8685 echo $ECHO_N "(cached) $ECHO_C" >&6 8686 else 8687 ac_cv_header_sys_timeb_h=$ac_header_preproc 8688 fi 8689 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 8690 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 8691 8692 fi 8693 if test $ac_cv_header_sys_timeb_h = yes; then 8694 cat >>confdefs.h <<\_ACEOF 8695 #define PJ_HAS_SYS_TIMEB_H 1 8696 _ACEOF 8697 8698 fi 8699 8700 8701 if test "${ac_cv_header_sys_types_h+set}" = set; then 8702 { echo "$as_me:$LINENO: checking for sys/types.h" >&5 8703 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 8704 if test "${ac_cv_header_sys_types_h+set}" = set; then 8705 echo $ECHO_N "(cached) $ECHO_C" >&6 8706 fi 8707 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 8708 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 8709 else 8710 # Is the header compilable? 8711 { echo "$as_me:$LINENO: checking sys/types.h usability" >&5 8712 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6; } 8713 cat >conftest.$ac_ext <<_ACEOF 8714 /* confdefs.h. */ 8715 _ACEOF 8716 cat confdefs.h >>conftest.$ac_ext 8717 cat >>conftest.$ac_ext <<_ACEOF 8718 /* end confdefs.h. */ 8719 $ac_includes_default 8720 #include <sys/types.h> 8721 _ACEOF 8722 rm -f conftest.$ac_objext 8723 if { (ac_try="$ac_compile" 8724 case "(($ac_try" in 8725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8726 *) ac_try_echo=$ac_try;; 8727 esac 8728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8729 (eval "$ac_compile") 2>conftest.er1 8730 ac_status=$? 8731 grep -v '^ *+' conftest.er1 >conftest.err 8732 rm -f conftest.er1 8733 cat conftest.err >&5 8734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8735 (exit $ac_status); } && { 8736 test -z "$ac_c_werror_flag" || 8737 test ! -s conftest.err 8738 } && test -s conftest.$ac_objext; then 8739 ac_header_compiler=yes 8740 else 8741 echo "$as_me: failed program was:" >&5 8742 sed 's/^/| /' conftest.$ac_ext >&5 8743 8744 ac_header_compiler=no 8745 fi 8746 8747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8748 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8749 echo "${ECHO_T}$ac_header_compiler" >&6; } 8750 8751 # Is the header present? 8752 { echo "$as_me:$LINENO: checking sys/types.h presence" >&5 8753 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6; } 8754 cat >conftest.$ac_ext <<_ACEOF 8755 /* confdefs.h. */ 8756 _ACEOF 8757 cat confdefs.h >>conftest.$ac_ext 8758 cat >>conftest.$ac_ext <<_ACEOF 8759 /* end confdefs.h. */ 8760 #include <sys/types.h> 8761 _ACEOF 8762 if { (ac_try="$ac_cpp conftest.$ac_ext" 8763 case "(($ac_try" in 8764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8765 *) ac_try_echo=$ac_try;; 8766 esac 8767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8769 ac_status=$? 8770 grep -v '^ *+' conftest.er1 >conftest.err 8771 rm -f conftest.er1 8772 cat conftest.err >&5 8773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8774 (exit $ac_status); } >/dev/null && { 8775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8776 test ! -s conftest.err 8777 }; then 8778 ac_header_preproc=yes 8779 else 8780 echo "$as_me: failed program was:" >&5 8781 sed 's/^/| /' conftest.$ac_ext >&5 8782 8783 ac_header_preproc=no 8784 fi 8785 8786 rm -f conftest.err conftest.$ac_ext 8787 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8788 echo "${ECHO_T}$ac_header_preproc" >&6; } 8789 8790 # So? What about this header? 8791 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8792 yes:no: ) 8793 { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 8794 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8795 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 8796 echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 8797 ac_header_preproc=yes 8798 ;; 8799 no:yes:* ) 8800 { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 8801 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 8802 { echo "$as_me:$LINENO: WARNING: sys/types.h: check for missing prerequisite headers?" >&5 8803 echo "$as_me: WARNING: sys/types.h: check for missing prerequisite headers?" >&2;} 8804 { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 8805 echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 8806 { echo "$as_me:$LINENO: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&5 8807 echo "$as_me: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&2;} 8808 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 8809 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 8810 { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 8811 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 8812 8813 ;; 8814 esac 8815 { echo "$as_me:$LINENO: checking for sys/types.h" >&5 8816 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 8817 if test "${ac_cv_header_sys_types_h+set}" = set; then 8818 echo $ECHO_N "(cached) $ECHO_C" >&6 8819 else 8820 ac_cv_header_sys_types_h=$ac_header_preproc 8821 fi 8822 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 8823 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 8824 8825 fi 8826 if test $ac_cv_header_sys_types_h = yes; then 8827 cat >>confdefs.h <<\_ACEOF 8828 #define PJ_HAS_SYS_TYPES_H 1 8829 _ACEOF 8830 8831 fi 8832 8833 8834 if test "${ac_cv_header_sys_filio_h+set}" = set; then 8835 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 8836 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 8837 if test "${ac_cv_header_sys_filio_h+set}" = set; then 8838 echo $ECHO_N "(cached) $ECHO_C" >&6 8839 fi 8840 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 8841 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 8842 else 8843 # Is the header compilable? 8844 { echo "$as_me:$LINENO: checking sys/filio.h usability" >&5 8845 echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6; } 8846 cat >conftest.$ac_ext <<_ACEOF 8847 /* confdefs.h. */ 8848 _ACEOF 8849 cat confdefs.h >>conftest.$ac_ext 8850 cat >>conftest.$ac_ext <<_ACEOF 8851 /* end confdefs.h. */ 8852 $ac_includes_default 8853 #include <sys/filio.h> 8854 _ACEOF 8855 rm -f conftest.$ac_objext 8856 if { (ac_try="$ac_compile" 8857 case "(($ac_try" in 8858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8859 *) ac_try_echo=$ac_try;; 8860 esac 8861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8862 (eval "$ac_compile") 2>conftest.er1 8863 ac_status=$? 8864 grep -v '^ *+' conftest.er1 >conftest.err 8865 rm -f conftest.er1 8866 cat conftest.err >&5 8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8868 (exit $ac_status); } && { 8869 test -z "$ac_c_werror_flag" || 8870 test ! -s conftest.err 8871 } && test -s conftest.$ac_objext; then 8872 ac_header_compiler=yes 8873 else 8874 echo "$as_me: failed program was:" >&5 8875 sed 's/^/| /' conftest.$ac_ext >&5 8876 8877 ac_header_compiler=no 8878 fi 8879 8880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8881 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8882 echo "${ECHO_T}$ac_header_compiler" >&6; } 8883 8884 # Is the header present? 8885 { echo "$as_me:$LINENO: checking sys/filio.h presence" >&5 8886 echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6; } 8887 cat >conftest.$ac_ext <<_ACEOF 8888 /* confdefs.h. */ 8889 _ACEOF 8890 cat confdefs.h >>conftest.$ac_ext 8891 cat >>conftest.$ac_ext <<_ACEOF 8892 /* end confdefs.h. */ 8893 #include <sys/filio.h> 8894 _ACEOF 8895 if { (ac_try="$ac_cpp conftest.$ac_ext" 8896 case "(($ac_try" in 8897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8898 *) ac_try_echo=$ac_try;; 8899 esac 8900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8901 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8902 ac_status=$? 8903 grep -v '^ *+' conftest.er1 >conftest.err 8904 rm -f conftest.er1 8905 cat conftest.err >&5 8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8907 (exit $ac_status); } >/dev/null && { 8908 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8909 test ! -s conftest.err 8910 }; then 8911 ac_header_preproc=yes 8912 else 8913 echo "$as_me: failed program was:" >&5 8914 sed 's/^/| /' conftest.$ac_ext >&5 8915 8916 ac_header_preproc=no 8917 fi 8918 8919 rm -f conftest.err conftest.$ac_ext 8920 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8921 echo "${ECHO_T}$ac_header_preproc" >&6; } 8922 8923 # So? What about this header? 8924 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8925 yes:no: ) 8926 { echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5 8927 echo "$as_me: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8928 { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the compiler's result" >&5 8929 echo "$as_me: WARNING: sys/filio.h: proceeding with the compiler's result" >&2;} 8930 ac_header_preproc=yes 8931 ;; 8932 no:yes:* ) 8933 { echo "$as_me:$LINENO: WARNING: sys/filio.h: present but cannot be compiled" >&5 8934 echo "$as_me: WARNING: sys/filio.h: present but cannot be compiled" >&2;} 8935 { echo "$as_me:$LINENO: WARNING: sys/filio.h: check for missing prerequisite headers?" >&5 8936 echo "$as_me: WARNING: sys/filio.h: check for missing prerequisite headers?" >&2;} 8937 { echo "$as_me:$LINENO: WARNING: sys/filio.h: see the Autoconf documentation" >&5 8938 echo "$as_me: WARNING: sys/filio.h: see the Autoconf documentation" >&2;} 8939 { echo "$as_me:$LINENO: WARNING: sys/filio.h: section \"Present But Cannot Be Compiled\"" >&5 8940 echo "$as_me: WARNING: sys/filio.h: section \"Present But Cannot Be Compiled\"" >&2;} 8941 { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&5 8942 echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;} 8943 { echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5 8944 echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;} 8945 8946 ;; 8947 esac 8948 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 8949 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 8950 if test "${ac_cv_header_sys_filio_h+set}" = set; then 8951 echo $ECHO_N "(cached) $ECHO_C" >&6 8952 else 8953 ac_cv_header_sys_filio_h=$ac_header_preproc 8954 fi 8955 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 8956 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 8957 8958 fi 8959 if test $ac_cv_header_sys_filio_h = yes; then 8960 cat >>confdefs.h <<\_ACEOF 8961 #define PJ_HAS_SYS_FILIO_H 1 8962 _ACEOF 8963 8964 fi 8965 8966 8967 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 8968 { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 8969 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 8970 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 8971 echo $ECHO_N "(cached) $ECHO_C" >&6 8972 fi 8973 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 8974 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 8975 else 8976 # Is the header compilable? 8977 { echo "$as_me:$LINENO: checking sys/sockio.h usability" >&5 8978 echo $ECHO_N "checking sys/sockio.h usability... $ECHO_C" >&6; } 8979 cat >conftest.$ac_ext <<_ACEOF 8980 /* confdefs.h. */ 8981 _ACEOF 8982 cat confdefs.h >>conftest.$ac_ext 8983 cat >>conftest.$ac_ext <<_ACEOF 8984 /* end confdefs.h. */ 8985 $ac_includes_default 8986 #include <sys/sockio.h> 8987 _ACEOF 8988 rm -f conftest.$ac_objext 8989 if { (ac_try="$ac_compile" 8990 case "(($ac_try" in 8991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8992 *) ac_try_echo=$ac_try;; 8993 esac 8994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8995 (eval "$ac_compile") 2>conftest.er1 8996 ac_status=$? 8997 grep -v '^ *+' conftest.er1 >conftest.err 8998 rm -f conftest.er1 8999 cat conftest.err >&5 9000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9001 (exit $ac_status); } && { 9002 test -z "$ac_c_werror_flag" || 9003 test ! -s conftest.err 9004 } && test -s conftest.$ac_objext; then 9005 ac_header_compiler=yes 9006 else 9007 echo "$as_me: failed program was:" >&5 9008 sed 's/^/| /' conftest.$ac_ext >&5 9009 9010 ac_header_compiler=no 9011 fi 9012 9013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9014 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9015 echo "${ECHO_T}$ac_header_compiler" >&6; } 9016 9017 # Is the header present? 9018 { echo "$as_me:$LINENO: checking sys/sockio.h presence" >&5 9019 echo $ECHO_N "checking sys/sockio.h presence... $ECHO_C" >&6; } 9020 cat >conftest.$ac_ext <<_ACEOF 9021 /* confdefs.h. */ 9022 _ACEOF 9023 cat confdefs.h >>conftest.$ac_ext 9024 cat >>conftest.$ac_ext <<_ACEOF 9025 /* end confdefs.h. */ 9026 #include <sys/sockio.h> 9027 _ACEOF 9028 if { (ac_try="$ac_cpp conftest.$ac_ext" 9029 case "(($ac_try" in 9030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9031 *) ac_try_echo=$ac_try;; 9032 esac 9033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9034 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9035 ac_status=$? 9036 grep -v '^ *+' conftest.er1 >conftest.err 9037 rm -f conftest.er1 9038 cat conftest.err >&5 9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9040 (exit $ac_status); } >/dev/null && { 9041 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9042 test ! -s conftest.err 9043 }; then 9044 ac_header_preproc=yes 9045 else 9046 echo "$as_me: failed program was:" >&5 9047 sed 's/^/| /' conftest.$ac_ext >&5 9048 9049 ac_header_preproc=no 9050 fi 9051 9052 rm -f conftest.err conftest.$ac_ext 9053 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9054 echo "${ECHO_T}$ac_header_preproc" >&6; } 9055 9056 # So? What about this header? 9057 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9058 yes:no: ) 9059 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&5 9060 echo "$as_me: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9061 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the compiler's result" >&5 9062 echo "$as_me: WARNING: sys/sockio.h: proceeding with the compiler's result" >&2;} 9063 ac_header_preproc=yes 9064 ;; 9065 no:yes:* ) 9066 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: present but cannot be compiled" >&5 9067 echo "$as_me: WARNING: sys/sockio.h: present but cannot be compiled" >&2;} 9068 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: check for missing prerequisite headers?" >&5 9069 echo "$as_me: WARNING: sys/sockio.h: check for missing prerequisite headers?" >&2;} 9070 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: see the Autoconf documentation" >&5 9071 echo "$as_me: WARNING: sys/sockio.h: see the Autoconf documentation" >&2;} 9072 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: section \"Present But Cannot Be Compiled\"" >&5 9073 echo "$as_me: WARNING: sys/sockio.h: section \"Present But Cannot Be Compiled\"" >&2;} 9074 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&5 9075 echo "$as_me: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&2;} 9076 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&5 9077 echo "$as_me: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&2;} 9078 9079 ;; 9080 esac 9081 { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 9082 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 9083 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 9084 echo $ECHO_N "(cached) $ECHO_C" >&6 9085 else 9086 ac_cv_header_sys_sockio_h=$ac_header_preproc 9087 fi 9088 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 9089 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 9090 9091 fi 9092 if test $ac_cv_header_sys_sockio_h = yes; then 9093 cat >>confdefs.h <<\_ACEOF 9094 #define PJ_HAS_SYS_SOCKIO_H 1 9095 _ACEOF 9096 9097 fi 9098 9099 9100 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 9101 { echo "$as_me:$LINENO: checking for sys/utsname.h" >&5 9102 echo $ECHO_N "checking for sys/utsname.h... $ECHO_C" >&6; } 9103 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 9104 echo $ECHO_N "(cached) $ECHO_C" >&6 9105 fi 9106 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_utsname_h" >&5 9107 echo "${ECHO_T}$ac_cv_header_sys_utsname_h" >&6; } 9108 else 9109 # Is the header compilable? 9110 { echo "$as_me:$LINENO: checking sys/utsname.h usability" >&5 9111 echo $ECHO_N "checking sys/utsname.h usability... $ECHO_C" >&6; } 9112 cat >conftest.$ac_ext <<_ACEOF 9113 /* confdefs.h. */ 9114 _ACEOF 9115 cat confdefs.h >>conftest.$ac_ext 9116 cat >>conftest.$ac_ext <<_ACEOF 9117 /* end confdefs.h. */ 9118 $ac_includes_default 9119 #include <sys/utsname.h> 9120 _ACEOF 9121 rm -f conftest.$ac_objext 9122 if { (ac_try="$ac_compile" 9123 case "(($ac_try" in 9124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9125 *) ac_try_echo=$ac_try;; 9126 esac 9127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9128 (eval "$ac_compile") 2>conftest.er1 9129 ac_status=$? 9130 grep -v '^ *+' conftest.er1 >conftest.err 9131 rm -f conftest.er1 9132 cat conftest.err >&5 9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9134 (exit $ac_status); } && { 9135 test -z "$ac_c_werror_flag" || 9136 test ! -s conftest.err 9137 } && test -s conftest.$ac_objext; then 9138 ac_header_compiler=yes 9139 else 9140 echo "$as_me: failed program was:" >&5 9141 sed 's/^/| /' conftest.$ac_ext >&5 9142 9143 ac_header_compiler=no 9144 fi 9145 9146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9147 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9148 echo "${ECHO_T}$ac_header_compiler" >&6; } 9149 9150 # Is the header present? 9151 { echo "$as_me:$LINENO: checking sys/utsname.h presence" >&5 9152 echo $ECHO_N "checking sys/utsname.h presence... $ECHO_C" >&6; } 9153 cat >conftest.$ac_ext <<_ACEOF 9154 /* confdefs.h. */ 9155 _ACEOF 9156 cat confdefs.h >>conftest.$ac_ext 9157 cat >>conftest.$ac_ext <<_ACEOF 9158 /* end confdefs.h. */ 9159 #include <sys/utsname.h> 9160 _ACEOF 9161 if { (ac_try="$ac_cpp conftest.$ac_ext" 9162 case "(($ac_try" in 9163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9164 *) ac_try_echo=$ac_try;; 9165 esac 9166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9167 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9168 ac_status=$? 9169 grep -v '^ *+' conftest.er1 >conftest.err 9170 rm -f conftest.er1 9171 cat conftest.err >&5 9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9173 (exit $ac_status); } >/dev/null && { 9174 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9175 test ! -s conftest.err 9176 }; then 9177 ac_header_preproc=yes 9178 else 9179 echo "$as_me: failed program was:" >&5 9180 sed 's/^/| /' conftest.$ac_ext >&5 9181 9182 ac_header_preproc=no 9183 fi 9184 9185 rm -f conftest.err conftest.$ac_ext 9186 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9187 echo "${ECHO_T}$ac_header_preproc" >&6; } 9188 9189 # So? What about this header? 9190 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9191 yes:no: ) 9192 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: accepted by the compiler, rejected by the preprocessor!" >&5 9193 echo "$as_me: WARNING: sys/utsname.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9194 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: proceeding with the compiler's result" >&5 9195 echo "$as_me: WARNING: sys/utsname.h: proceeding with the compiler's result" >&2;} 9196 ac_header_preproc=yes 9197 ;; 9198 no:yes:* ) 9199 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: present but cannot be compiled" >&5 9200 echo "$as_me: WARNING: sys/utsname.h: present but cannot be compiled" >&2;} 9201 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: check for missing prerequisite headers?" >&5 9202 echo "$as_me: WARNING: sys/utsname.h: check for missing prerequisite headers?" >&2;} 9203 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: see the Autoconf documentation" >&5 9204 echo "$as_me: WARNING: sys/utsname.h: see the Autoconf documentation" >&2;} 9205 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: section \"Present But Cannot Be Compiled\"" >&5 9206 echo "$as_me: WARNING: sys/utsname.h: section \"Present But Cannot Be Compiled\"" >&2;} 9207 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: proceeding with the preprocessor's result" >&5 9208 echo "$as_me: WARNING: sys/utsname.h: proceeding with the preprocessor's result" >&2;} 9209 { echo "$as_me:$LINENO: WARNING: sys/utsname.h: in the future, the compiler will take precedence" >&5 9210 echo "$as_me: WARNING: sys/utsname.h: in the future, the compiler will take precedence" >&2;} 9211 9212 ;; 9213 esac 9214 { echo "$as_me:$LINENO: checking for sys/utsname.h" >&5 9215 echo $ECHO_N "checking for sys/utsname.h... $ECHO_C" >&6; } 9216 if test "${ac_cv_header_sys_utsname_h+set}" = set; then 9217 echo $ECHO_N "(cached) $ECHO_C" >&6 9218 else 9219 ac_cv_header_sys_utsname_h=$ac_header_preproc 9220 fi 9221 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_utsname_h" >&5 9222 echo "${ECHO_T}$ac_cv_header_sys_utsname_h" >&6; } 9223 9224 fi 9225 if test $ac_cv_header_sys_utsname_h = yes; then 9226 cat >>confdefs.h <<\_ACEOF 9227 #define PJ_HAS_SYS_UTSNAME_H 1 9228 _ACEOF 9229 9230 fi 9231 9232 9233 if test "${ac_cv_header_time_h+set}" = set; then 9234 { echo "$as_me:$LINENO: checking for time.h" >&5 9235 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 9236 if test "${ac_cv_header_time_h+set}" = set; then 9237 echo $ECHO_N "(cached) $ECHO_C" >&6 9238 fi 9239 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 9240 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 9241 else 9242 # Is the header compilable? 9243 { echo "$as_me:$LINENO: checking time.h usability" >&5 9244 echo $ECHO_N "checking time.h usability... $ECHO_C" >&6; } 9245 cat >conftest.$ac_ext <<_ACEOF 9246 /* confdefs.h. */ 9247 _ACEOF 9248 cat confdefs.h >>conftest.$ac_ext 9249 cat >>conftest.$ac_ext <<_ACEOF 9250 /* end confdefs.h. */ 9251 $ac_includes_default 9252 #include <time.h> 9253 _ACEOF 9254 rm -f conftest.$ac_objext 9255 if { (ac_try="$ac_compile" 9256 case "(($ac_try" in 9257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9258 *) ac_try_echo=$ac_try;; 9259 esac 9260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9261 (eval "$ac_compile") 2>conftest.er1 9262 ac_status=$? 9263 grep -v '^ *+' conftest.er1 >conftest.err 9264 rm -f conftest.er1 9265 cat conftest.err >&5 9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9267 (exit $ac_status); } && { 9268 test -z "$ac_c_werror_flag" || 9269 test ! -s conftest.err 9270 } && test -s conftest.$ac_objext; then 9271 ac_header_compiler=yes 9272 else 9273 echo "$as_me: failed program was:" >&5 9274 sed 's/^/| /' conftest.$ac_ext >&5 9275 9276 ac_header_compiler=no 9277 fi 9278 9279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9280 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9281 echo "${ECHO_T}$ac_header_compiler" >&6; } 9282 9283 # Is the header present? 9284 { echo "$as_me:$LINENO: checking time.h presence" >&5 9285 echo $ECHO_N "checking time.h presence... $ECHO_C" >&6; } 9286 cat >conftest.$ac_ext <<_ACEOF 9287 /* confdefs.h. */ 9288 _ACEOF 9289 cat confdefs.h >>conftest.$ac_ext 9290 cat >>conftest.$ac_ext <<_ACEOF 9291 /* end confdefs.h. */ 9292 #include <time.h> 9293 _ACEOF 9294 if { (ac_try="$ac_cpp conftest.$ac_ext" 9295 case "(($ac_try" in 9296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9297 *) ac_try_echo=$ac_try;; 9298 esac 9299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9300 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9301 ac_status=$? 9302 grep -v '^ *+' conftest.er1 >conftest.err 9303 rm -f conftest.er1 9304 cat conftest.err >&5 9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9306 (exit $ac_status); } >/dev/null && { 9307 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9308 test ! -s conftest.err 9309 }; then 9310 ac_header_preproc=yes 9311 else 9312 echo "$as_me: failed program was:" >&5 9313 sed 's/^/| /' conftest.$ac_ext >&5 9314 9315 ac_header_preproc=no 9316 fi 9317 9318 rm -f conftest.err conftest.$ac_ext 9319 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9320 echo "${ECHO_T}$ac_header_preproc" >&6; } 9321 9322 # So? What about this header? 9323 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9324 yes:no: ) 9325 { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 9326 echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9327 { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 9328 echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 9329 ac_header_preproc=yes 9330 ;; 9331 no:yes:* ) 9332 { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 9333 echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 9334 { echo "$as_me:$LINENO: WARNING: time.h: check for missing prerequisite headers?" >&5 9335 echo "$as_me: WARNING: time.h: check for missing prerequisite headers?" >&2;} 9336 { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 9337 echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 9338 { echo "$as_me:$LINENO: WARNING: time.h: section \"Present But Cannot Be Compiled\"" >&5 9339 echo "$as_me: WARNING: time.h: section \"Present But Cannot Be Compiled\"" >&2;} 9340 { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 9341 echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 9342 { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 9343 echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 9344 9345 ;; 9346 esac 9347 { echo "$as_me:$LINENO: checking for time.h" >&5 9348 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 9349 if test "${ac_cv_header_time_h+set}" = set; then 9350 echo $ECHO_N "(cached) $ECHO_C" >&6 9351 else 9352 ac_cv_header_time_h=$ac_header_preproc 9353 fi 9354 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 9355 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 9356 9357 fi 9358 if test $ac_cv_header_time_h = yes; then 9359 cat >>confdefs.h <<\_ACEOF 9360 #define PJ_HAS_TIME_H 1 9361 _ACEOF 9362 9363 fi 9364 9365 9366 if test "${ac_cv_header_unistd_h+set}" = set; then 9367 { echo "$as_me:$LINENO: checking for unistd.h" >&5 9368 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 9369 if test "${ac_cv_header_unistd_h+set}" = set; then 9370 echo $ECHO_N "(cached) $ECHO_C" >&6 9371 fi 9372 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 9373 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 9374 else 9375 # Is the header compilable? 9376 { echo "$as_me:$LINENO: checking unistd.h usability" >&5 9377 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6; } 9378 cat >conftest.$ac_ext <<_ACEOF 9379 /* confdefs.h. */ 9380 _ACEOF 9381 cat confdefs.h >>conftest.$ac_ext 9382 cat >>conftest.$ac_ext <<_ACEOF 9383 /* end confdefs.h. */ 9384 $ac_includes_default 9385 #include <unistd.h> 9386 _ACEOF 9387 rm -f conftest.$ac_objext 9388 if { (ac_try="$ac_compile" 9389 case "(($ac_try" in 9390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9391 *) ac_try_echo=$ac_try;; 9392 esac 9393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9394 (eval "$ac_compile") 2>conftest.er1 9395 ac_status=$? 9396 grep -v '^ *+' conftest.er1 >conftest.err 9397 rm -f conftest.er1 9398 cat conftest.err >&5 9399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9400 (exit $ac_status); } && { 9401 test -z "$ac_c_werror_flag" || 9402 test ! -s conftest.err 9403 } && test -s conftest.$ac_objext; then 9404 ac_header_compiler=yes 9405 else 9406 echo "$as_me: failed program was:" >&5 9407 sed 's/^/| /' conftest.$ac_ext >&5 9408 9409 ac_header_compiler=no 9410 fi 9411 9412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9413 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9414 echo "${ECHO_T}$ac_header_compiler" >&6; } 9415 9416 # Is the header present? 9417 { echo "$as_me:$LINENO: checking unistd.h presence" >&5 9418 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6; } 9419 cat >conftest.$ac_ext <<_ACEOF 9420 /* confdefs.h. */ 9421 _ACEOF 9422 cat confdefs.h >>conftest.$ac_ext 9423 cat >>conftest.$ac_ext <<_ACEOF 9424 /* end confdefs.h. */ 9425 #include <unistd.h> 9426 _ACEOF 9427 if { (ac_try="$ac_cpp conftest.$ac_ext" 9428 case "(($ac_try" in 9429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9430 *) ac_try_echo=$ac_try;; 9431 esac 9432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9433 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9434 ac_status=$? 9435 grep -v '^ *+' conftest.er1 >conftest.err 9436 rm -f conftest.er1 9437 cat conftest.err >&5 9438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9439 (exit $ac_status); } >/dev/null && { 9440 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9441 test ! -s conftest.err 9442 }; then 9443 ac_header_preproc=yes 9444 else 9445 echo "$as_me: failed program was:" >&5 9446 sed 's/^/| /' conftest.$ac_ext >&5 9447 9448 ac_header_preproc=no 9449 fi 9450 9451 rm -f conftest.err conftest.$ac_ext 9452 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9453 echo "${ECHO_T}$ac_header_preproc" >&6; } 9454 9455 # So? What about this header? 9456 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9457 yes:no: ) 9458 { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 9459 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9460 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 9461 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 9462 ac_header_preproc=yes 9463 ;; 9464 no:yes:* ) 9465 { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 9466 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 9467 { echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5 9468 echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;} 9469 { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 9470 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 9471 { echo "$as_me:$LINENO: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&5 9472 echo "$as_me: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&2;} 9473 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 9474 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 9475 { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 9476 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 9477 9478 ;; 9479 esac 9480 { echo "$as_me:$LINENO: checking for unistd.h" >&5 9481 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 9482 if test "${ac_cv_header_unistd_h+set}" = set; then 9483 echo $ECHO_N "(cached) $ECHO_C" >&6 9484 else 9485 ac_cv_header_unistd_h=$ac_header_preproc 9486 fi 9487 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 9488 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 9489 9490 fi 9491 if test $ac_cv_header_unistd_h = yes; then 9492 cat >>confdefs.h <<\_ACEOF 9493 #define PJ_HAS_UNISTD_H 1 9494 _ACEOF 9495 9496 fi 9497 9498 9499 if test "${ac_cv_header_winsock_h+set}" = set; then 9500 { echo "$as_me:$LINENO: checking for winsock.h" >&5 9501 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 9502 if test "${ac_cv_header_winsock_h+set}" = set; then 9503 echo $ECHO_N "(cached) $ECHO_C" >&6 9504 fi 9505 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 9506 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 9507 else 9508 # Is the header compilable? 9509 { echo "$as_me:$LINENO: checking winsock.h usability" >&5 9510 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6; } 9511 cat >conftest.$ac_ext <<_ACEOF 9512 /* confdefs.h. */ 9513 _ACEOF 9514 cat confdefs.h >>conftest.$ac_ext 9515 cat >>conftest.$ac_ext <<_ACEOF 9516 /* end confdefs.h. */ 9517 $ac_includes_default 9518 #include <winsock.h> 9519 _ACEOF 9520 rm -f conftest.$ac_objext 9521 if { (ac_try="$ac_compile" 9522 case "(($ac_try" in 9523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9524 *) ac_try_echo=$ac_try;; 9525 esac 9526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9527 (eval "$ac_compile") 2>conftest.er1 9528 ac_status=$? 9529 grep -v '^ *+' conftest.er1 >conftest.err 9530 rm -f conftest.er1 9531 cat conftest.err >&5 9532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9533 (exit $ac_status); } && { 9534 test -z "$ac_c_werror_flag" || 9535 test ! -s conftest.err 9536 } && test -s conftest.$ac_objext; then 9537 ac_header_compiler=yes 9538 else 9539 echo "$as_me: failed program was:" >&5 9540 sed 's/^/| /' conftest.$ac_ext >&5 9541 9542 ac_header_compiler=no 9543 fi 9544 9545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9546 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9547 echo "${ECHO_T}$ac_header_compiler" >&6; } 9548 9549 # Is the header present? 9550 { echo "$as_me:$LINENO: checking winsock.h presence" >&5 9551 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6; } 9552 cat >conftest.$ac_ext <<_ACEOF 9553 /* confdefs.h. */ 9554 _ACEOF 9555 cat confdefs.h >>conftest.$ac_ext 9556 cat >>conftest.$ac_ext <<_ACEOF 9557 /* end confdefs.h. */ 9558 #include <winsock.h> 9559 _ACEOF 9560 if { (ac_try="$ac_cpp conftest.$ac_ext" 9561 case "(($ac_try" in 9562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9563 *) ac_try_echo=$ac_try;; 9564 esac 9565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9566 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9567 ac_status=$? 9568 grep -v '^ *+' conftest.er1 >conftest.err 9569 rm -f conftest.er1 9570 cat conftest.err >&5 9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9572 (exit $ac_status); } >/dev/null && { 9573 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9574 test ! -s conftest.err 9575 }; then 9576 ac_header_preproc=yes 9577 else 9578 echo "$as_me: failed program was:" >&5 9579 sed 's/^/| /' conftest.$ac_ext >&5 9580 9581 ac_header_preproc=no 9582 fi 9583 9584 rm -f conftest.err conftest.$ac_ext 9585 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9586 echo "${ECHO_T}$ac_header_preproc" >&6; } 9587 9588 # So? What about this header? 9589 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9590 yes:no: ) 9591 { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 9592 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9593 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 9594 echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 9595 ac_header_preproc=yes 9596 ;; 9597 no:yes:* ) 9598 { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 9599 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 9600 { echo "$as_me:$LINENO: WARNING: winsock.h: check for missing prerequisite headers?" >&5 9601 echo "$as_me: WARNING: winsock.h: check for missing prerequisite headers?" >&2;} 9602 { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 9603 echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 9604 { echo "$as_me:$LINENO: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&5 9605 echo "$as_me: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&2;} 9606 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 9607 echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 9608 { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 9609 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 9610 9611 ;; 9612 esac 9613 { echo "$as_me:$LINENO: checking for winsock.h" >&5 9614 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 9615 if test "${ac_cv_header_winsock_h+set}" = set; then 9616 echo $ECHO_N "(cached) $ECHO_C" >&6 9617 else 9618 ac_cv_header_winsock_h=$ac_header_preproc 9619 fi 9620 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 9621 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 9622 9623 fi 9624 if test $ac_cv_header_winsock_h = yes; then 9625 cat >>confdefs.h <<\_ACEOF 9626 #define PJ_HAS_WINSOCK_H 1 9627 _ACEOF 9628 9629 fi 9630 9631 9632 if test "${ac_cv_header_winsock2_h+set}" = set; then 9633 { echo "$as_me:$LINENO: checking for winsock2.h" >&5 9634 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 9635 if test "${ac_cv_header_winsock2_h+set}" = set; then 9636 echo $ECHO_N "(cached) $ECHO_C" >&6 9637 fi 9638 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 9639 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 9640 else 9641 # Is the header compilable? 9642 { echo "$as_me:$LINENO: checking winsock2.h usability" >&5 9643 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6; } 9644 cat >conftest.$ac_ext <<_ACEOF 9645 /* confdefs.h. */ 9646 _ACEOF 9647 cat confdefs.h >>conftest.$ac_ext 9648 cat >>conftest.$ac_ext <<_ACEOF 9649 /* end confdefs.h. */ 9650 $ac_includes_default 9651 #include <winsock2.h> 9652 _ACEOF 9653 rm -f conftest.$ac_objext 9654 if { (ac_try="$ac_compile" 9655 case "(($ac_try" in 9656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9657 *) ac_try_echo=$ac_try;; 9658 esac 9659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9660 (eval "$ac_compile") 2>conftest.er1 9661 ac_status=$? 9662 grep -v '^ *+' conftest.er1 >conftest.err 9663 rm -f conftest.er1 9664 cat conftest.err >&5 9665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9666 (exit $ac_status); } && { 9667 test -z "$ac_c_werror_flag" || 9668 test ! -s conftest.err 9669 } && test -s conftest.$ac_objext; then 9670 ac_header_compiler=yes 9671 else 9672 echo "$as_me: failed program was:" >&5 9673 sed 's/^/| /' conftest.$ac_ext >&5 9674 9675 ac_header_compiler=no 9676 fi 9677 9678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9679 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9680 echo "${ECHO_T}$ac_header_compiler" >&6; } 9681 9682 # Is the header present? 9683 { echo "$as_me:$LINENO: checking winsock2.h presence" >&5 9684 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6; } 9685 cat >conftest.$ac_ext <<_ACEOF 9686 /* confdefs.h. */ 9687 _ACEOF 9688 cat confdefs.h >>conftest.$ac_ext 9689 cat >>conftest.$ac_ext <<_ACEOF 9690 /* end confdefs.h. */ 9691 #include <winsock2.h> 9692 _ACEOF 9693 if { (ac_try="$ac_cpp conftest.$ac_ext" 9694 case "(($ac_try" in 9695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9696 *) ac_try_echo=$ac_try;; 9697 esac 9698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9700 ac_status=$? 9701 grep -v '^ *+' conftest.er1 >conftest.err 9702 rm -f conftest.er1 9703 cat conftest.err >&5 9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9705 (exit $ac_status); } >/dev/null && { 9706 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9707 test ! -s conftest.err 9708 }; then 9709 ac_header_preproc=yes 9710 else 9711 echo "$as_me: failed program was:" >&5 9712 sed 's/^/| /' conftest.$ac_ext >&5 9713 9714 ac_header_preproc=no 9715 fi 9716 9717 rm -f conftest.err conftest.$ac_ext 9718 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9719 echo "${ECHO_T}$ac_header_preproc" >&6; } 9720 9721 # So? What about this header? 9722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9723 yes:no: ) 9724 { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 9725 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9726 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 9727 echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 9728 ac_header_preproc=yes 9729 ;; 9730 no:yes:* ) 9731 { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 9732 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 9733 { echo "$as_me:$LINENO: WARNING: winsock2.h: check for missing prerequisite headers?" >&5 9734 echo "$as_me: WARNING: winsock2.h: check for missing prerequisite headers?" >&2;} 9735 { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 9736 echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 9737 { echo "$as_me:$LINENO: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&5 9738 echo "$as_me: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&2;} 9739 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 9740 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 9741 { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 9742 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 9743 9744 ;; 9745 esac 9746 { echo "$as_me:$LINENO: checking for winsock2.h" >&5 9747 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 9748 if test "${ac_cv_header_winsock2_h+set}" = set; then 9749 echo $ECHO_N "(cached) $ECHO_C" >&6 9750 else 9751 ac_cv_header_winsock2_h=$ac_header_preproc 9752 fi 9753 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 9754 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 9755 9756 fi 9757 if test $ac_cv_header_winsock2_h = yes; then 9758 cat >>confdefs.h <<\_ACEOF 9759 #define PJ_HAS_WINSOCK2_H 1 9760 _ACEOF 9761 9762 fi 9763 9764 9765 { echo "$as_me:$LINENO: checking for mswsock.h" >&5 9766 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6; } 9767 if test "${ac_cv_header_mswsock_h+set}" = set; then 9768 echo $ECHO_N "(cached) $ECHO_C" >&6 9769 else 9770 cat >conftest.$ac_ext <<_ACEOF 9771 /* confdefs.h. */ 9772 _ACEOF 9773 cat confdefs.h >>conftest.$ac_ext 9774 cat >>conftest.$ac_ext <<_ACEOF 9775 /* end confdefs.h. */ 9776 #if PJ_HAS_WINSOCK2_H 4801 " 4802 if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 4803 $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 4804 4805 fi 4806 4807 4808 ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 4809 if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 4810 $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 4811 4812 fi 4813 4814 4815 ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 4816 if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 4817 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs" 4818 if test "x$ac_cv_func_getifaddrs" = x""yes; then : 4819 $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 4820 4821 fi 4822 4823 fi 4824 4825 4826 ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 4827 if test "x$ac_cv_header_semaphore_h" = x""yes; then : 4828 $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 4829 4830 fi 4831 4832 4833 ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 4834 if test "x$ac_cv_header_setjmp_h" = x""yes; then : 4835 $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 4836 4837 fi 4838 4839 4840 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 4841 if test "x$ac_cv_header_stdarg_h" = x""yes; then : 4842 $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 4843 4844 fi 4845 4846 4847 ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 4848 if test "x$ac_cv_header_stddef_h" = x""yes; then : 4849 $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 4850 4851 fi 4852 4853 4854 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 4855 if test "x$ac_cv_header_stdio_h" = x""yes; then : 4856 $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 4857 4858 fi 4859 4860 4861 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 4862 if test "x$ac_cv_header_stdint_h" = x""yes; then : 4863 $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 4864 4865 fi 4866 4867 4868 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 4869 if test "x$ac_cv_header_stdlib_h" = x""yes; then : 4870 $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 4871 4872 fi 4873 4874 4875 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 4876 if test "x$ac_cv_header_string_h" = x""yes; then : 4877 $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 4878 4879 fi 4880 4881 4882 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 4883 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 4884 $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 4885 4886 fi 4887 4888 4889 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 4890 if test "x$ac_cv_header_sys_select_h" = x""yes; then : 4891 $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 4892 4893 fi 4894 4895 4896 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 4897 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 4898 $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 4899 4900 fi 4901 4902 4903 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 4904 if test "x$ac_cv_header_sys_time_h" = x""yes; then : 4905 $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 4906 4907 fi 4908 4909 4910 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 4911 if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 4912 $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 4913 4914 fi 4915 4916 4917 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 4918 if test "x$ac_cv_header_sys_types_h" = x""yes; then : 4919 $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 4920 4921 fi 4922 4923 4924 ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 4925 if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 4926 $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 4927 4928 fi 4929 4930 4931 ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 4932 if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 4933 $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 4934 4935 fi 4936 4937 4938 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" 4939 if test "x$ac_cv_header_sys_utsname_h" = x""yes; then : 4940 $as_echo "#define PJ_HAS_SYS_UTSNAME_H 1" >>confdefs.h 4941 4942 fi 4943 4944 4945 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 4946 if test "x$ac_cv_header_time_h" = x""yes; then : 4947 $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 4948 4949 fi 4950 4951 4952 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 4953 if test "x$ac_cv_header_unistd_h" = x""yes; then : 4954 $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 4955 4956 fi 4957 4958 4959 ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 4960 if test "x$ac_cv_header_winsock_h" = x""yes; then : 4961 $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 4962 4963 fi 4964 4965 4966 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 4967 if test "x$ac_cv_header_winsock2_h" = x""yes; then : 4968 $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 4969 4970 fi 4971 4972 4973 ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H 9777 4974 # include <winsock2.h> 9778 4975 #elif PJ_HAS_WINSOCK_H … … 9780 4977 #endif 9781 4978 9782 9783 #include <mswsock.h> 9784 _ACEOF 9785 rm -f conftest.$ac_objext 9786 if { (ac_try="$ac_compile" 9787 case "(($ac_try" in 9788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9789 *) ac_try_echo=$ac_try;; 9790 esac 9791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9792 (eval "$ac_compile") 2>conftest.er1 9793 ac_status=$? 9794 grep -v '^ *+' conftest.er1 >conftest.err 9795 rm -f conftest.er1 9796 cat conftest.err >&5 9797 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9798 (exit $ac_status); } && { 9799 test -z "$ac_c_werror_flag" || 9800 test ! -s conftest.err 9801 } && test -s conftest.$ac_objext; then 9802 ac_cv_header_mswsock_h=yes 9803 else 9804 echo "$as_me: failed program was:" >&5 9805 sed 's/^/| /' conftest.$ac_ext >&5 9806 9807 ac_cv_header_mswsock_h=no 9808 fi 9809 9810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9811 fi 9812 { echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 9813 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6; } 9814 if test $ac_cv_header_mswsock_h = yes; then 9815 cat >>confdefs.h <<\_ACEOF 9816 #define PJ_HAS_MSWSOCK_H 1 9817 _ACEOF 9818 9819 fi 9820 9821 9822 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9823 { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 9824 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 9825 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9826 echo $ECHO_N "(cached) $ECHO_C" >&6 9827 fi 9828 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 9829 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 9830 else 9831 # Is the header compilable? 9832 { echo "$as_me:$LINENO: checking ws2tcpip.h usability" >&5 9833 echo $ECHO_N "checking ws2tcpip.h usability... $ECHO_C" >&6; } 9834 cat >conftest.$ac_ext <<_ACEOF 9835 /* confdefs.h. */ 9836 _ACEOF 9837 cat confdefs.h >>conftest.$ac_ext 9838 cat >>conftest.$ac_ext <<_ACEOF 9839 /* end confdefs.h. */ 9840 $ac_includes_default 9841 #include <ws2tcpip.h> 9842 _ACEOF 9843 rm -f conftest.$ac_objext 9844 if { (ac_try="$ac_compile" 9845 case "(($ac_try" in 9846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9847 *) ac_try_echo=$ac_try;; 9848 esac 9849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9850 (eval "$ac_compile") 2>conftest.er1 9851 ac_status=$? 9852 grep -v '^ *+' conftest.er1 >conftest.err 9853 rm -f conftest.er1 9854 cat conftest.err >&5 9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9856 (exit $ac_status); } && { 9857 test -z "$ac_c_werror_flag" || 9858 test ! -s conftest.err 9859 } && test -s conftest.$ac_objext; then 9860 ac_header_compiler=yes 9861 else 9862 echo "$as_me: failed program was:" >&5 9863 sed 's/^/| /' conftest.$ac_ext >&5 9864 9865 ac_header_compiler=no 9866 fi 9867 9868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9869 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9870 echo "${ECHO_T}$ac_header_compiler" >&6; } 9871 9872 # Is the header present? 9873 { echo "$as_me:$LINENO: checking ws2tcpip.h presence" >&5 9874 echo $ECHO_N "checking ws2tcpip.h presence... $ECHO_C" >&6; } 9875 cat >conftest.$ac_ext <<_ACEOF 9876 /* confdefs.h. */ 9877 _ACEOF 9878 cat confdefs.h >>conftest.$ac_ext 9879 cat >>conftest.$ac_ext <<_ACEOF 9880 /* end confdefs.h. */ 9881 #include <ws2tcpip.h> 9882 _ACEOF 9883 if { (ac_try="$ac_cpp conftest.$ac_ext" 9884 case "(($ac_try" in 9885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9886 *) ac_try_echo=$ac_try;; 9887 esac 9888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9889 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9890 ac_status=$? 9891 grep -v '^ *+' conftest.er1 >conftest.err 9892 rm -f conftest.er1 9893 cat conftest.err >&5 9894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9895 (exit $ac_status); } >/dev/null && { 9896 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9897 test ! -s conftest.err 9898 }; then 9899 ac_header_preproc=yes 9900 else 9901 echo "$as_me: failed program was:" >&5 9902 sed 's/^/| /' conftest.$ac_ext >&5 9903 9904 ac_header_preproc=no 9905 fi 9906 9907 rm -f conftest.err conftest.$ac_ext 9908 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9909 echo "${ECHO_T}$ac_header_preproc" >&6; } 9910 9911 # So? What about this header? 9912 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9913 yes:no: ) 9914 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&5 9915 echo "$as_me: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9916 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&5 9917 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&2;} 9918 ac_header_preproc=yes 9919 ;; 9920 no:yes:* ) 9921 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: present but cannot be compiled" >&5 9922 echo "$as_me: WARNING: ws2tcpip.h: present but cannot be compiled" >&2;} 9923 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: check for missing prerequisite headers?" >&5 9924 echo "$as_me: WARNING: ws2tcpip.h: check for missing prerequisite headers?" >&2;} 9925 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: see the Autoconf documentation" >&5 9926 echo "$as_me: WARNING: ws2tcpip.h: see the Autoconf documentation" >&2;} 9927 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: section \"Present But Cannot Be Compiled\"" >&5 9928 echo "$as_me: WARNING: ws2tcpip.h: section \"Present But Cannot Be Compiled\"" >&2;} 9929 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&5 9930 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&2;} 9931 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&5 9932 echo "$as_me: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&2;} 9933 9934 ;; 9935 esac 9936 { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 9937 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 9938 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9939 echo $ECHO_N "(cached) $ECHO_C" >&6 9940 else 9941 ac_cv_header_ws2tcpip_h=$ac_header_preproc 9942 fi 9943 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 9944 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 9945 9946 fi 9947 if test $ac_cv_header_ws2tcpip_h = yes; then 9948 cat >>confdefs.h <<\_ACEOF 9949 #define PJ_HAS_WS2TCPIP_H 1 9950 _ACEOF 9951 9952 fi 9953 9954 9955 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 9956 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 9957 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 9958 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 9959 echo $ECHO_N "(cached) $ECHO_C" >&6 9960 fi 9961 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 9962 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 9963 else 9964 # Is the header compilable? 9965 { echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5 9966 echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6; } 9967 cat >conftest.$ac_ext <<_ACEOF 9968 /* confdefs.h. */ 9969 _ACEOF 9970 cat confdefs.h >>conftest.$ac_ext 9971 cat >>conftest.$ac_ext <<_ACEOF 9972 /* end confdefs.h. */ 9973 $ac_includes_default 9974 #include <uuid/uuid.h> 9975 _ACEOF 9976 rm -f conftest.$ac_objext 9977 if { (ac_try="$ac_compile" 9978 case "(($ac_try" in 9979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9980 *) ac_try_echo=$ac_try;; 9981 esac 9982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9983 (eval "$ac_compile") 2>conftest.er1 9984 ac_status=$? 9985 grep -v '^ *+' conftest.er1 >conftest.err 9986 rm -f conftest.er1 9987 cat conftest.err >&5 9988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9989 (exit $ac_status); } && { 9990 test -z "$ac_c_werror_flag" || 9991 test ! -s conftest.err 9992 } && test -s conftest.$ac_objext; then 9993 ac_header_compiler=yes 9994 else 9995 echo "$as_me: failed program was:" >&5 9996 sed 's/^/| /' conftest.$ac_ext >&5 9997 9998 ac_header_compiler=no 9999 fi 10000 10001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10002 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10003 echo "${ECHO_T}$ac_header_compiler" >&6; } 10004 10005 # Is the header present? 10006 { echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5 10007 echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6; } 10008 cat >conftest.$ac_ext <<_ACEOF 10009 /* confdefs.h. */ 10010 _ACEOF 10011 cat confdefs.h >>conftest.$ac_ext 10012 cat >>conftest.$ac_ext <<_ACEOF 10013 /* end confdefs.h. */ 10014 #include <uuid/uuid.h> 10015 _ACEOF 10016 if { (ac_try="$ac_cpp conftest.$ac_ext" 10017 case "(($ac_try" in 10018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10019 *) ac_try_echo=$ac_try;; 10020 esac 10021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10022 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10023 ac_status=$? 10024 grep -v '^ *+' conftest.er1 >conftest.err 10025 rm -f conftest.er1 10026 cat conftest.err >&5 10027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10028 (exit $ac_status); } >/dev/null && { 10029 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10030 test ! -s conftest.err 10031 }; then 10032 ac_header_preproc=yes 10033 else 10034 echo "$as_me: failed program was:" >&5 10035 sed 's/^/| /' conftest.$ac_ext >&5 10036 10037 ac_header_preproc=no 10038 fi 10039 10040 rm -f conftest.err conftest.$ac_ext 10041 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10042 echo "${ECHO_T}$ac_header_preproc" >&6; } 10043 10044 # So? What about this header? 10045 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10046 yes:no: ) 10047 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5 10048 echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10049 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5 10050 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;} 10051 ac_header_preproc=yes 10052 ;; 10053 no:yes:* ) 10054 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5 10055 echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;} 10056 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: check for missing prerequisite headers?" >&5 10057 echo "$as_me: WARNING: uuid/uuid.h: check for missing prerequisite headers?" >&2;} 10058 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5 10059 echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;} 10060 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: section \"Present But Cannot Be Compiled\"" >&5 10061 echo "$as_me: WARNING: uuid/uuid.h: section \"Present But Cannot Be Compiled\"" >&2;} 10062 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5 10063 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;} 10064 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5 10065 echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;} 10066 10067 ;; 10068 esac 10069 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 10070 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 10071 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 10072 echo $ECHO_N "(cached) $ECHO_C" >&6 10073 else 10074 ac_cv_header_uuid_uuid_h=$ac_header_preproc 10075 fi 10076 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 10077 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 10078 10079 fi 10080 if test $ac_cv_header_uuid_uuid_h = yes; then 4979 " 4980 if test "x$ac_cv_header_mswsock_h" = x""yes; then : 4981 $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 4982 4983 fi 4984 4985 4986 ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 4987 if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 4988 $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 4989 4990 fi 4991 4992 4993 ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 4994 if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 10081 4995 ac_has_uuid_h=1 10082 4996 fi 10083 4997 10084 4998 10085 { echo "$as_me:$LINENO: checking for net/if.h" >&5 10086 echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6; } 10087 if test "${ac_cv_header_net_if_h+set}" = set; then 10088 echo $ECHO_N "(cached) $ECHO_C" >&6 10089 else 10090 cat >conftest.$ac_ext <<_ACEOF 10091 /* confdefs.h. */ 10092 _ACEOF 10093 cat confdefs.h >>conftest.$ac_ext 10094 cat >>conftest.$ac_ext <<_ACEOF 10095 /* end confdefs.h. */ 10096 #if PJ_HAS_SYS_TYPES_H 4999 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H 10097 5000 # include <sys/types.h> 10098 5001 #endif … … 10102 5005 #endif 10103 5006 10104 10105 #include <net/if.h> 10106 _ACEOF 10107 rm -f conftest.$ac_objext 10108 if { (ac_try="$ac_compile" 10109 case "(($ac_try" in 10110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10111 *) ac_try_echo=$ac_try;; 10112 esac 10113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10114 (eval "$ac_compile") 2>conftest.er1 10115 ac_status=$? 10116 grep -v '^ *+' conftest.er1 >conftest.err 10117 rm -f conftest.er1 10118 cat conftest.err >&5 10119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10120 (exit $ac_status); } && { 10121 test -z "$ac_c_werror_flag" || 10122 test ! -s conftest.err 10123 } && test -s conftest.$ac_objext; then 10124 ac_cv_header_net_if_h=yes 10125 else 10126 echo "$as_me: failed program was:" >&5 10127 sed 's/^/| /' conftest.$ac_ext >&5 10128 10129 ac_cv_header_net_if_h=no 10130 fi 10131 10132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10133 fi 10134 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 10135 echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; } 10136 if test $ac_cv_header_net_if_h = yes; then 10137 cat >>confdefs.h <<\_ACEOF 10138 #define PJ_HAS_NET_IF_H 1 10139 _ACEOF 10140 10141 fi 10142 10143 10144 { echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 10145 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6; } 5007 " 5008 if test "x$ac_cv_header_net_if_h" = x""yes; then : 5009 $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 5010 5011 fi 5012 5013 5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 5015 $as_echo "Setting PJ_OS_NAME to $target" >&6; } 10146 5016 cat >>confdefs.h <<_ACEOF 10147 5017 #define PJ_OS_NAME "$target" … … 10149 5019 10150 5020 10151 { echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 10152 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 10153 cat >>confdefs.h <<\_ACEOF 10154 #define PJ_HAS_ERRNO_VAR 1 10155 _ACEOF 10156 10157 10158 { echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 10159 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 10160 cat >>confdefs.h <<\_ACEOF 10161 #define PJ_HAS_HIGH_RES_TIMER 1 10162 _ACEOF 10163 10164 10165 { echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 10166 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6; } 10167 cat >>confdefs.h <<\_ACEOF 10168 #define PJ_HAS_MALLOC 1 10169 _ACEOF 10170 10171 10172 { echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 10173 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 10174 cat >>confdefs.h <<\_ACEOF 10175 #define PJ_NATIVE_STRING_IS_UNICODE 0 10176 _ACEOF 10177 10178 10179 { echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 10180 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 10181 cat >>confdefs.h <<\_ACEOF 10182 #define PJ_ATOMIC_VALUE_TYPE long 10183 _ACEOF 10184 10185 10186 { echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 10187 echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6; } 10188 cat >conftest.$ac_ext <<_ACEOF 10189 /* confdefs.h. */ 10190 _ACEOF 10191 cat confdefs.h >>conftest.$ac_ext 10192 cat >>conftest.$ac_ext <<_ACEOF 5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 5022 $as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 5023 $as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h 5024 5025 5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 5027 $as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 5028 $as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h 5029 5030 5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 5032 $as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } 5033 $as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h 5034 5035 5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 5037 $as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 5038 $as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h 5039 5040 5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 5042 $as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 5043 $as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h 5044 5045 5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 5047 $as_echo_n "checking if inet_aton() is available... " >&6; } 5048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10193 5049 /* end confdefs.h. */ 10194 5050 #include <sys/types.h> … … 10203 5059 } 10204 5060 _ACEOF 10205 rm -f conftest.$ac_objext 10206 if { (ac_try="$ac_compile" 10207 case "(($ac_try" in 10208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10209 *) ac_try_echo=$ac_try;; 10210 esac 10211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10212 (eval "$ac_compile") 2>conftest.er1 10213 ac_status=$? 10214 grep -v '^ *+' conftest.er1 >conftest.err 10215 rm -f conftest.er1 10216 cat conftest.err >&5 10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10218 (exit $ac_status); } && { 10219 test -z "$ac_c_werror_flag" || 10220 test ! -s conftest.err 10221 } && test -s conftest.$ac_objext; then 10222 cat >>confdefs.h <<\_ACEOF 10223 #define PJ_SOCK_HAS_INET_ATON 1 10224 _ACEOF 10225 10226 { echo "$as_me:$LINENO: result: yes" >&5 10227 echo "${ECHO_T}yes" >&6; } 10228 else 10229 echo "$as_me: failed program was:" >&5 10230 sed 's/^/| /' conftest.$ac_ext >&5 10231 10232 { echo "$as_me:$LINENO: result: no" >&5 10233 echo "${ECHO_T}no" >&6; } 10234 fi 10235 5061 if ac_fn_c_try_compile "$LINENO"; then : 5062 $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h 5063 5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5065 $as_echo "yes" >&6; } 5066 else 5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5068 $as_echo "no" >&6; } 5069 fi 10236 5070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10237 5071 10238 { echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 10239 echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6; } 10240 cat >conftest.$ac_ext <<_ACEOF 10241 /* confdefs.h. */ 10242 _ACEOF 10243 cat confdefs.h >>conftest.$ac_ext 10244 cat >>conftest.$ac_ext <<_ACEOF 5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 5073 $as_echo_n "checking if inet_pton() is available... " >&6; } 5074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10245 5075 /* end confdefs.h. */ 10246 5076 #include <sys/types.h> … … 10255 5085 } 10256 5086 _ACEOF 10257 rm -f conftest.$ac_objext 10258 if { (ac_try="$ac_compile" 10259 case "(($ac_try" in 10260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10261 *) ac_try_echo=$ac_try;; 10262 esac 10263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10264 (eval "$ac_compile") 2>conftest.er1 10265 ac_status=$? 10266 grep -v '^ *+' conftest.er1 >conftest.err 10267 rm -f conftest.er1 10268 cat conftest.err >&5 10269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10270 (exit $ac_status); } && { 10271 test -z "$ac_c_werror_flag" || 10272 test ! -s conftest.err 10273 } && test -s conftest.$ac_objext; then 10274 cat >>confdefs.h <<\_ACEOF 10275 #define PJ_SOCK_HAS_INET_PTON 1 10276 _ACEOF 10277 10278 { echo "$as_me:$LINENO: result: yes" >&5 10279 echo "${ECHO_T}yes" >&6; } 10280 else 10281 echo "$as_me: failed program was:" >&5 10282 sed 's/^/| /' conftest.$ac_ext >&5 10283 10284 { echo "$as_me:$LINENO: result: no" >&5 10285 echo "${ECHO_T}no" >&6; } 10286 fi 10287 5087 if ac_fn_c_try_compile "$LINENO"; then : 5088 $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h 5089 5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5091 $as_echo "yes" >&6; } 5092 else 5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5094 $as_echo "no" >&6; } 5095 fi 10288 5096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10289 5097 10290 { echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 10291 echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6; } 10292 cat >conftest.$ac_ext <<_ACEOF 10293 /* confdefs.h. */ 10294 _ACEOF 10295 cat confdefs.h >>conftest.$ac_ext 10296 cat >>conftest.$ac_ext <<_ACEOF 5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 5099 $as_echo_n "checking if inet_ntop() is available... " >&6; } 5100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10297 5101 /* end confdefs.h. */ 10298 5102 #include <sys/types.h> … … 10307 5111 } 10308 5112 _ACEOF 10309 rm -f conftest.$ac_objext 10310 if { (ac_try="$ac_compile" 10311 case "(($ac_try" in 10312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10313 *) ac_try_echo=$ac_try;; 10314 esac 10315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10316 (eval "$ac_compile") 2>conftest.er1 10317 ac_status=$? 10318 grep -v '^ *+' conftest.er1 >conftest.err 10319 rm -f conftest.er1 10320 cat conftest.err >&5 10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10322 (exit $ac_status); } && { 10323 test -z "$ac_c_werror_flag" || 10324 test ! -s conftest.err 10325 } && test -s conftest.$ac_objext; then 10326 cat >>confdefs.h <<\_ACEOF 10327 #define PJ_SOCK_HAS_INET_NTOP 1 10328 _ACEOF 10329 10330 { echo "$as_me:$LINENO: result: yes" >&5 10331 echo "${ECHO_T}yes" >&6; } 10332 else 10333 echo "$as_me: failed program was:" >&5 10334 sed 's/^/| /' conftest.$ac_ext >&5 10335 10336 { echo "$as_me:$LINENO: result: no" >&5 10337 echo "${ECHO_T}no" >&6; } 10338 fi 10339 5113 if ac_fn_c_try_compile "$LINENO"; then : 5114 $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h 5115 5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5117 $as_echo "yes" >&6; } 5118 else 5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5120 $as_echo "no" >&6; } 5121 fi 10340 5122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10341 5123 10342 { echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 10343 echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6; } 10344 cat >conftest.$ac_ext <<_ACEOF 10345 /* confdefs.h. */ 10346 _ACEOF 10347 cat confdefs.h >>conftest.$ac_ext 10348 cat >>conftest.$ac_ext <<_ACEOF 5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 5125 $as_echo_n "checking if getaddrinfo() is available... " >&6; } 5126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10349 5127 /* end confdefs.h. */ 10350 5128 #include <sys/types.h> … … 10359 5137 } 10360 5138 _ACEOF 10361 rm -f conftest.$ac_objext 10362 if { (ac_try="$ac_compile" 10363 case "(($ac_try" in 10364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10365 *) ac_try_echo=$ac_try;; 10366 esac 10367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10368 (eval "$ac_compile") 2>conftest.er1 10369 ac_status=$? 10370 grep -v '^ *+' conftest.er1 >conftest.err 10371 rm -f conftest.er1 10372 cat conftest.err >&5 10373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10374 (exit $ac_status); } && { 10375 test -z "$ac_c_werror_flag" || 10376 test ! -s conftest.err 10377 } && test -s conftest.$ac_objext; then 10378 cat >>confdefs.h <<\_ACEOF 10379 #define PJ_SOCK_HAS_GETADDRINFO 1 10380 _ACEOF 10381 10382 { echo "$as_me:$LINENO: result: yes" >&5 10383 echo "${ECHO_T}yes" >&6; } 10384 else 10385 echo "$as_me: failed program was:" >&5 10386 sed 's/^/| /' conftest.$ac_ext >&5 10387 10388 { echo "$as_me:$LINENO: result: no" >&5 10389 echo "${ECHO_T}no" >&6; } 10390 fi 10391 5139 if ac_fn_c_try_compile "$LINENO"; then : 5140 $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h 5141 5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5143 $as_echo "yes" >&6; } 5144 else 5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5146 $as_echo "no" >&6; } 5147 fi 10392 5148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10393 5149 10394 { echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 10395 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6; } 10396 cat >conftest.$ac_ext <<_ACEOF 10397 /* confdefs.h. */ 10398 _ACEOF 10399 cat confdefs.h >>conftest.$ac_ext 10400 cat >>conftest.$ac_ext <<_ACEOF 5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 5151 $as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } 5152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10401 5153 /* end confdefs.h. */ 10402 5154 #include <sys/types.h> … … 10412 5164 } 10413 5165 _ACEOF 10414 rm -f conftest.$ac_objext 10415 if { (ac_try="$ac_compile" 10416 case "(($ac_try" in 10417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10418 *) ac_try_echo=$ac_try;; 10419 esac 10420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10421 (eval "$ac_compile") 2>conftest.er1 10422 ac_status=$? 10423 grep -v '^ *+' conftest.er1 >conftest.err 10424 rm -f conftest.er1 10425 cat conftest.err >&5 10426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10427 (exit $ac_status); } && { 10428 test -z "$ac_c_werror_flag" || 10429 test ! -s conftest.err 10430 } && test -s conftest.$ac_objext; then 10431 cat >>confdefs.h <<\_ACEOF 10432 #define PJ_SOCKADDR_HAS_LEN 1 10433 _ACEOF 10434 10435 { echo "$as_me:$LINENO: result: yes" >&5 10436 echo "${ECHO_T}yes" >&6; } 10437 else 10438 echo "$as_me: failed program was:" >&5 10439 sed 's/^/| /' conftest.$ac_ext >&5 10440 10441 { echo "$as_me:$LINENO: result: no" >&5 10442 echo "${ECHO_T}no" >&6; } 10443 fi 10444 5166 if ac_fn_c_try_compile "$LINENO"; then : 5167 $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h 5168 5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5170 $as_echo "yes" >&6; } 5171 else 5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5173 $as_echo "no" >&6; } 5174 fi 10445 5175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10446 5176 10447 { echo "$as_me:$LINENO: checking if socklen_t is available" >&5 10448 echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6; } 10449 cat >conftest.$ac_ext <<_ACEOF 10450 /* confdefs.h. */ 10451 _ACEOF 10452 cat confdefs.h >>conftest.$ac_ext 10453 cat >>conftest.$ac_ext <<_ACEOF 5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 5178 $as_echo_n "checking if socklen_t is available... " >&6; } 5179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10454 5180 /* end confdefs.h. */ 10455 5181 #include <sys/types.h> … … 10463 5189 } 10464 5190 _ACEOF 10465 rm -f conftest.$ac_objext 10466 if { (ac_try="$ac_compile" 10467 case "(($ac_try" in 10468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10469 *) ac_try_echo=$ac_try;; 10470 esac 10471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10472 (eval "$ac_compile") 2>conftest.er1 10473 ac_status=$? 10474 grep -v '^ *+' conftest.er1 >conftest.err 10475 rm -f conftest.er1 10476 cat conftest.err >&5 10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10478 (exit $ac_status); } && { 10479 test -z "$ac_c_werror_flag" || 10480 test ! -s conftest.err 10481 } && test -s conftest.$ac_objext; then 10482 cat >>confdefs.h <<\_ACEOF 10483 #define PJ_HAS_SOCKLEN_T 1 10484 _ACEOF 10485 10486 { echo "$as_me:$LINENO: result: yes" >&5 10487 echo "${ECHO_T}yes" >&6; } 10488 else 10489 echo "$as_me: failed program was:" >&5 10490 sed 's/^/| /' conftest.$ac_ext >&5 10491 10492 { echo "$as_me:$LINENO: result: no" >&5 10493 echo "${ECHO_T}no" >&6; } 10494 fi 10495 5191 if ac_fn_c_try_compile "$LINENO"; then : 5192 $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h 5193 5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5195 $as_echo "yes" >&6; } 5196 else 5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5198 $as_echo "no" >&6; } 5199 fi 10496 5200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10497 5201 10498 { echo "$as_me:$LINENO: checking if SO_ERROR is available" >&510499 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6; }5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&5 5203 $as_echo_n "checking if SO_ERROR is available... " >&6; } 10500 5204 case $target in 10501 5205 *mingw* | *cygw* | *win32* | *w32* ) 10502 cat >>confdefs.h <<\_ACEOF 10503 #define PJ_HAS_SO_ERROR 1 10504 _ACEOF 10505 10506 { echo "$as_me:$LINENO: result: yes" >&5 10507 echo "${ECHO_T}yes" >&6; } 5206 $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 5207 5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5209 $as_echo "yes" >&6; } 10508 5210 ;; 10509 5211 *) 10510 cat >conftest.$ac_ext <<_ACEOF 10511 /* confdefs.h. */ 10512 _ACEOF 10513 cat confdefs.h >>conftest.$ac_ext 10514 cat >>conftest.$ac_ext <<_ACEOF 5212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10515 5213 /* end confdefs.h. */ 10516 5214 #include <sys/types.h> … … 10526 5224 } 10527 5225 _ACEOF 10528 rm -f conftest.$ac_objext 10529 if { (ac_try="$ac_compile" 10530 case "(($ac_try" in 10531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10532 *) ac_try_echo=$ac_try;; 10533 esac 10534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10535 (eval "$ac_compile") 2>conftest.er1 10536 ac_status=$? 10537 grep -v '^ *+' conftest.er1 >conftest.err 10538 rm -f conftest.er1 10539 cat conftest.err >&5 10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10541 (exit $ac_status); } && { 10542 test -z "$ac_c_werror_flag" || 10543 test ! -s conftest.err 10544 } && test -s conftest.$ac_objext; then 10545 cat >>confdefs.h <<\_ACEOF 10546 #define PJ_HAS_SO_ERROR 1 10547 _ACEOF 10548 10549 { echo "$as_me:$LINENO: result: yes" >&5 10550 echo "${ECHO_T}yes" >&6; } 10551 else 10552 echo "$as_me: failed program was:" >&5 10553 sed 's/^/| /' conftest.$ac_ext >&5 10554 10555 { echo "$as_me:$LINENO: result: no" >&5 10556 echo "${ECHO_T}no" >&6; } 10557 fi 10558 5226 if ac_fn_c_try_compile "$LINENO"; then : 5227 $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 5228 5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5230 $as_echo "yes" >&6; } 5231 else 5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5233 $as_echo "no" >&6; } 5234 fi 10559 5235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10560 5236 ;; … … 10562 5238 10563 5239 10564 { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 10565 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6; } 10566 cat >conftest.$ac_ext <<_ACEOF 10567 /* confdefs.h. */ 10568 _ACEOF 10569 cat confdefs.h >>conftest.$ac_ext 10570 cat >>conftest.$ac_ext <<_ACEOF 5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 5241 $as_echo_n "checking if pthread_rwlock_t is available... " >&6; } 5242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10571 5243 /* end confdefs.h. */ 10572 5244 #include <pthread.h> … … 10579 5251 } 10580 5252 _ACEOF 10581 rm -f conftest.$ac_objext 10582 if { (ac_try="$ac_compile" 10583 case "(($ac_try" in 10584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10585 *) ac_try_echo=$ac_try;; 10586 esac 10587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10588 (eval "$ac_compile") 2>conftest.er1 10589 ac_status=$? 10590 grep -v '^ *+' conftest.er1 >conftest.err 10591 rm -f conftest.er1 10592 cat conftest.err >&5 10593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10594 (exit $ac_status); } && { 10595 test -z "$ac_c_werror_flag" || 10596 test ! -s conftest.err 10597 } && test -s conftest.$ac_objext; then 10598 cat >>confdefs.h <<\_ACEOF 10599 #define PJ_EMULATE_RWMUTEX 0 10600 _ACEOF 5253 if ac_fn_c_try_compile "$LINENO"; then : 5254 $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 10601 5255 10602 5256 ac_rwmutex="yes" 10603 { echo "$as_me:$LINENO: result: yes" >&5 10604 echo "${ECHO_T}yes" >&6; } 10605 else 10606 echo "$as_me: failed program was:" >&5 10607 sed 's/^/| /' conftest.$ac_ext >&5 10608 10609 cat >>confdefs.h <<\_ACEOF 10610 #define PJ_EMULATE_RWMUTEX 1 10611 _ACEOF 5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5258 $as_echo "yes" >&6; } 5259 else 5260 $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 10612 5261 10613 5262 ac_rwmutex="no" 10614 { echo "$as_me:$LINENO: result: no" >&5 10615 echo "${ECHO_T}no" >&6; } 10616 fi 10617 5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5264 $as_echo "no" >&6; } 5265 fi 10618 5266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10619 5267 10620 5268 if test "$ac_rwmutex" = "no"; then 10621 { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 10622 echo $ECHO_N "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... $ECHO_C" >&6; } 10623 cat >conftest.$ac_ext <<_ACEOF 10624 /* confdefs.h. */ 10625 _ACEOF 10626 cat confdefs.h >>conftest.$ac_ext 10627 cat >>conftest.$ac_ext <<_ACEOF 5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 5270 $as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } 5271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10628 5272 /* end confdefs.h. */ 10629 5273 #define _POSIX_READER_WRITER_LOCKS … … 10637 5281 } 10638 5282 _ACEOF 10639 rm -f conftest.$ac_objext 10640 if { (ac_try="$ac_compile" 10641 case "(($ac_try" in 10642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10643 *) ac_try_echo=$ac_try;; 10644 esac 10645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10646 (eval "$ac_compile") 2>conftest.er1 10647 ac_status=$? 10648 grep -v '^ *+' conftest.er1 >conftest.err 10649 rm -f conftest.er1 10650 cat conftest.err >&5 10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10652 (exit $ac_status); } && { 10653 test -z "$ac_c_werror_flag" || 10654 test ! -s conftest.err 10655 } && test -s conftest.$ac_objext; then 10656 cat >>confdefs.h <<\_ACEOF 10657 #define PJ_EMULATE_RWMUTEX 0 10658 _ACEOF 5283 if ac_fn_c_try_compile "$LINENO"; then : 5284 $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 10659 5285 10660 5286 CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 10661 { echo "$as_me:$LINENO: result: yes" >&5 10662 echo "${ECHO_T}yes" >&6; } 10663 else 10664 echo "$as_me: failed program was:" >&5 10665 sed 's/^/| /' conftest.$ac_ext >&5 10666 10667 cat >>confdefs.h <<\_ACEOF 10668 #define PJ_EMULATE_RWMUTEX 1 10669 _ACEOF 10670 10671 { echo "$as_me:$LINENO: result: no" >&5 10672 echo "${ECHO_T}no" >&6; } 10673 fi 10674 5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5288 $as_echo "yes" >&6; } 5289 else 5290 $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 5291 5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5293 $as_echo "no" >&6; } 5294 fi 10675 5295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10676 5296 fi 10677 5297 10678 { echo "$as_me:$LINENO: checking if pthread_mutexattr_settype() is available" >&5 10679 echo $ECHO_N "checking if pthread_mutexattr_settype() is available... $ECHO_C" >&6; } 10680 cat >conftest.$ac_ext <<_ACEOF 10681 /* confdefs.h. */ 10682 _ACEOF 10683 cat confdefs.h >>conftest.$ac_ext 10684 cat >>conftest.$ac_ext <<_ACEOF 5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 5299 $as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } 5300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10685 5301 /* end confdefs.h. */ 10686 5302 #include <pthread.h> … … 10693 5309 } 10694 5310 _ACEOF 10695 rm -f conftest.$ac_objext 10696 if { (ac_try="$ac_compile" 10697 case "(($ac_try" in 10698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10699 *) ac_try_echo=$ac_try;; 10700 esac 10701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10702 (eval "$ac_compile") 2>conftest.er1 10703 ac_status=$? 10704 grep -v '^ *+' conftest.er1 >conftest.err 10705 rm -f conftest.er1 10706 cat conftest.err >&5 10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10708 (exit $ac_status); } && { 10709 test -z "$ac_c_werror_flag" || 10710 test ! -s conftest.err 10711 } && test -s conftest.$ac_objext; then 10712 cat >>confdefs.h <<\_ACEOF 10713 #define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1 10714 _ACEOF 10715 10716 { echo "$as_me:$LINENO: result: yes" >&5 10717 echo "${ECHO_T}yes" >&6; } 10718 else 10719 echo "$as_me: failed program was:" >&5 10720 sed 's/^/| /' conftest.$ac_ext >&5 10721 10722 { echo "$as_me:$LINENO: result: no" >&5 10723 echo "${ECHO_T}no" >&6; } 10724 fi 10725 5311 if ac_fn_c_try_compile "$LINENO"; then : 5312 $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h 5313 5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5315 $as_echo "yes" >&6; } 5316 else 5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5318 $as_echo "no" >&6; } 5319 fi 10726 5320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10727 5321 10728 { echo "$as_me:$LINENO: checking if pthread_mutexattr_t has recursive member" >&5 10729 echo $ECHO_N "checking if pthread_mutexattr_t has recursive member... $ECHO_C" >&6; } 10730 cat >conftest.$ac_ext <<_ACEOF 10731 /* confdefs.h. */ 10732 _ACEOF 10733 cat confdefs.h >>conftest.$ac_ext 10734 cat >>conftest.$ac_ext <<_ACEOF 5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 5323 $as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } 5324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10735 5325 /* end confdefs.h. */ 10736 5326 #include <pthread.h> … … 10744 5334 } 10745 5335 _ACEOF 10746 rm -f conftest.$ac_objext 10747 if { (ac_try="$ac_compile" 10748 case "(($ac_try" in 10749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10750 *) ac_try_echo=$ac_try;; 10751 esac 10752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10753 (eval "$ac_compile") 2>conftest.er1 10754 ac_status=$? 10755 grep -v '^ *+' conftest.er1 >conftest.err 10756 rm -f conftest.er1 10757 cat conftest.err >&5 10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10759 (exit $ac_status); } && { 10760 test -z "$ac_c_werror_flag" || 10761 test ! -s conftest.err 10762 } && test -s conftest.$ac_objext; then 10763 cat >>confdefs.h <<\_ACEOF 10764 #define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1 10765 _ACEOF 10766 10767 { echo "$as_me:$LINENO: result: yes" >&5 10768 echo "${ECHO_T}yes" >&6; } 10769 else 10770 echo "$as_me: failed program was:" >&5 10771 sed 's/^/| /' conftest.$ac_ext >&5 10772 10773 { echo "$as_me:$LINENO: result: no" >&5 10774 echo "${ECHO_T}no" >&6; } 10775 fi 10776 5336 if ac_fn_c_try_compile "$LINENO"; then : 5337 $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h 5338 5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5340 $as_echo "yes" >&6; } 5341 else 5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5343 $as_echo "no" >&6; } 5344 fi 10777 5345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10778 5346 10779 5347 10780 { echo "$as_me:$LINENO: checking ioqueue backend" >&510781 echo $ECHO_N "checking ioqueue backend... $ECHO_C" >&6; }5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&5 5349 $as_echo_n "checking ioqueue backend... " >&6; } 10782 5350 # Check whether --enable-epoll was given. 10783 if test "${enable_epoll+set}" = set; then 5351 if test "${enable_epoll+set}" = set; then : 10784 5352 enableval=$enable_epoll; 10785 5353 ac_os_objs=ioqueue_epoll.o 10786 { echo "$as_me:$LINENO: result: /dev/epoll" >&510787 echo "${ECHO_T}/dev/epoll" >&6; }5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&5 5355 $as_echo "/dev/epoll" >&6; } 10788 5356 10789 5357 else 10790 5358 10791 5359 ac_os_objs=ioqueue_select.o 10792 { echo "$as_me:$LINENO: result: select()" >&510793 echo "${ECHO_T}select()" >&6; }5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 5361 $as_echo "select()" >&6; } 10794 5362 10795 5363 fi … … 10824 5392 10825 5393 # Check whether --with-external-speex was given. 10826 if test "${with_external_speex+set}" = set; then 5394 if test "${with_external_speex+set}" = set; then : 10827 5395 withval=$with_external_speex; 10828 5396 if test "x$with_external_speex" != "xno"; then 10829 5397 # Test Speex installation 10830 { echo "$as_me:$LINENO: checking if external Speex devkit is installed" >&5 10831 echo $ECHO_N "checking if external Speex devkit is installed... $ECHO_C" >&6; } 10832 cat >conftest.$ac_ext <<_ACEOF 10833 /* confdefs.h. */ 10834 _ACEOF 10835 cat confdefs.h >>conftest.$ac_ext 10836 cat >>conftest.$ac_ext <<_ACEOF 5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external Speex devkit is installed" >&5 5399 $as_echo_n "checking if external Speex devkit is installed... " >&6; } 5400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10837 5401 /* end confdefs.h. */ 10838 5402 #include <speex/speex.h> … … 10847 5411 } 10848 5412 _ACEOF 10849 rm -f conftest.$ac_objext 10850 if { (ac_try="$ac_compile" 10851 case "(($ac_try" in 10852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10853 *) ac_try_echo=$ac_try;; 10854 esac 10855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10856 (eval "$ac_compile") 2>conftest.er1 10857 ac_status=$? 10858 grep -v '^ *+' conftest.er1 >conftest.err 10859 rm -f conftest.er1 10860 cat conftest.err >&5 10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10862 (exit $ac_status); } && { 10863 test -z "$ac_c_werror_flag" || 10864 test ! -s conftest.err 10865 } && test -s conftest.$ac_objext; then 10866 { echo "$as_me:$LINENO: result: yes!!" >&5 10867 echo "${ECHO_T}yes!!" >&6; } 10868 cat >>confdefs.h <<\_ACEOF 10869 #define PJMEDIA_EXTERNAL_SPEEX_CODEC 1 10870 _ACEOF 5413 if ac_fn_c_try_compile "$LINENO"; then : 5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5415 $as_echo "yes!!" >&6; } 5416 $as_echo "#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1" >>confdefs.h 10871 5417 10872 5418 ac_external_speex="1" 10873 5419 10874 5420 else 10875 echo "$as_me: failed program was:" >&5 10876 sed 's/^/| /' conftest.$ac_ext >&5 10877 10878 { { 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 10879 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;} 10880 { (exit 1); exit 1; }; } 10881 fi 10882 5421 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 5422 fi 10883 5423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10884 5424 fi … … 10892 5432 10893 5433 # Check whether --with-external-gsm was given. 10894 if test "${with_external_gsm+set}" = set; then 5434 if test "${with_external_gsm+set}" = set; then : 10895 5435 withval=$with_external_gsm; 10896 5436 if test "x$with_external_gsm" != "xno"; then 10897 5437 # Test GSM library installation 10898 { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm/gsm.h" >&5 10899 echo $ECHO_N "checking if external GSM devkit is installed as gsm/gsm.h... $ECHO_C" >&6; } 10900 cat >conftest.$ac_ext <<_ACEOF 10901 /* confdefs.h. */ 10902 _ACEOF 10903 cat confdefs.h >>conftest.$ac_ext 10904 cat >>conftest.$ac_ext <<_ACEOF 5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm/gsm.h" >&5 5439 $as_echo_n "checking if external GSM devkit is installed as gsm/gsm.h... " >&6; } 5440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10905 5441 /* end confdefs.h. */ 10906 5442 #include <gsm/gsm.h> … … 10913 5449 } 10914 5450 _ACEOF 10915 rm -f conftest.$ac_objext 10916 if { (ac_try="$ac_compile" 10917 case "(($ac_try" in 10918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10919 *) ac_try_echo=$ac_try;; 10920 esac 10921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10922 (eval "$ac_compile") 2>conftest.er1 10923 ac_status=$? 10924 grep -v '^ *+' conftest.er1 >conftest.err 10925 rm -f conftest.er1 10926 cat conftest.err >&5 10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10928 (exit $ac_status); } && { 10929 test -z "$ac_c_werror_flag" || 10930 test ! -s conftest.err 10931 } && test -s conftest.$ac_objext; then 10932 { echo "$as_me:$LINENO: result: yes!!" >&5 10933 echo "${ECHO_T}yes!!" >&6; } 10934 cat >>confdefs.h <<\_ACEOF 10935 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 10936 _ACEOF 10937 10938 cat >>confdefs.h <<\_ACEOF 10939 #define PJMEDIA_EXTERNAL_GSM_GSM_H 1 10940 _ACEOF 5451 if ac_fn_c_try_compile "$LINENO"; then : 5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5453 $as_echo "yes!!" >&6; } 5454 $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 5455 5456 $as_echo "#define PJMEDIA_EXTERNAL_GSM_GSM_H 1" >>confdefs.h 10941 5457 10942 5458 ac_external_gsm="1" 10943 5459 10944 5460 else 10945 echo "$as_me: failed program was:" >&5 10946 sed 's/^/| /' conftest.$ac_ext >&5 10947 10948 10949 { echo "$as_me:$LINENO: result: no" >&5 10950 echo "${ECHO_T}no" >&6; } 10951 { echo "$as_me:$LINENO: checking if external GSM devkit is installed as gsm.h" >&5 10952 echo $ECHO_N "checking if external GSM devkit is installed as gsm.h... $ECHO_C" >&6; } 10953 cat >conftest.$ac_ext <<_ACEOF 10954 /* confdefs.h. */ 10955 _ACEOF 10956 cat confdefs.h >>conftest.$ac_ext 10957 cat >>conftest.$ac_ext <<_ACEOF 5461 5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5463 $as_echo "no" >&6; } 5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm.h" >&5 5465 $as_echo_n "checking if external GSM devkit is installed as gsm.h... " >&6; } 5466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10958 5467 /* end confdefs.h. */ 10959 5468 #include <gsm.h> … … 10966 5475 } 10967 5476 _ACEOF 10968 rm -f conftest.$ac_objext 10969 if { (ac_try="$ac_compile" 10970 case "(($ac_try" in 10971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10972 *) ac_try_echo=$ac_try;; 10973 esac 10974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10975 (eval "$ac_compile") 2>conftest.er1 10976 ac_status=$? 10977 grep -v '^ *+' conftest.er1 >conftest.err 10978 rm -f conftest.er1 10979 cat conftest.err >&5 10980 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10981 (exit $ac_status); } && { 10982 test -z "$ac_c_werror_flag" || 10983 test ! -s conftest.err 10984 } && test -s conftest.$ac_objext; then 10985 { echo "$as_me:$LINENO: result: yes!!" >&5 10986 echo "${ECHO_T}yes!!" >&6; } 10987 cat >>confdefs.h <<\_ACEOF 10988 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 10989 _ACEOF 10990 10991 cat >>confdefs.h <<\_ACEOF 10992 #define PJMEDIA_EXTERNAL_GSM_H 1 10993 _ACEOF 5477 if ac_fn_c_try_compile "$LINENO"; then : 5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5479 $as_echo "yes!!" >&6; } 5480 $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 5481 5482 $as_echo "#define PJMEDIA_EXTERNAL_GSM_H 1" >>confdefs.h 10994 5483 10995 5484 ac_external_gsm="1" 10996 5485 10997 5486 else 10998 echo "$as_me: failed program was:" >&5 10999 sed 's/^/| /' conftest.$ac_ext >&5 11000 11001 { { 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 11002 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;} 11003 { (exit 1); exit 1; }; } 11004 11005 11006 fi 11007 5487 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 5488 5489 5490 fi 11008 5491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11009 5492 11010 5493 11011 5494 fi 11012 11013 5495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11014 5496 fi … … 11022 5504 11023 5505 # Check whether --enable-sound was given. 11024 if test "${enable_sound+set}" = set; then 5506 if test "${enable_sound+set}" = set; then : 11025 5507 enableval=$enable_sound; if test "$enable_sound" = "no"; then 11026 5508 ac_pjmedia_snd=null 11027 { echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&511028 echo "${ECHO_T}Checking if sound is disabled... yes" >&6; }5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&5 5510 $as_echo "Checking if sound is disabled... yes" >&6; } 11029 5511 fi 11030 5512 … … 11036 5518 11037 5519 # Check whether --with-external-pa was given. 11038 if test "${with_external_pa+set}" = set; then 5520 if test "${with_external_pa+set}" = set; then : 11039 5521 withval=$with_external_pa; 11040 5522 if test "x$with_external_pa" != "xno"; then 11041 5523 # Test PortAudio installation 11042 { echo "$as_me:$LINENO: checking if external PortAudio devkit is installed" >&5 11043 echo $ECHO_N "checking if external PortAudio devkit is installed... $ECHO_C" >&6; } 11044 cat >conftest.$ac_ext <<_ACEOF 11045 /* confdefs.h. */ 11046 _ACEOF 11047 cat confdefs.h >>conftest.$ac_ext 11048 cat >>conftest.$ac_ext <<_ACEOF 5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external PortAudio devkit is installed" >&5 5525 $as_echo_n "checking if external PortAudio devkit is installed... " >&6; } 5526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11049 5527 /* end confdefs.h. */ 11050 5528 #include <portaudio.h> … … 11058 5536 } 11059 5537 _ACEOF 11060 rm -f conftest.$ac_objext 11061 if { (ac_try="$ac_compile" 11062 case "(($ac_try" in 11063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11064 *) ac_try_echo=$ac_try;; 11065 esac 11066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11067 (eval "$ac_compile") 2>conftest.er1 11068 ac_status=$? 11069 grep -v '^ *+' conftest.er1 >conftest.err 11070 rm -f conftest.er1 11071 cat conftest.err >&5 11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11073 (exit $ac_status); } && { 11074 test -z "$ac_c_werror_flag" || 11075 test ! -s conftest.err 11076 } && test -s conftest.$ac_objext; then 11077 { echo "$as_me:$LINENO: result: yes!!" >&5 11078 echo "${ECHO_T}yes!!" >&6; } 5538 if ac_fn_c_try_compile "$LINENO"; then : 5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5540 $as_echo "yes!!" >&6; } 11079 5541 ac_external_pa="1" 11080 5542 11081 5543 else 11082 echo "$as_me: failed program was:" >&5 11083 sed 's/^/| /' conftest.$ac_ext >&5 11084 11085 { { 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 11086 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;} 11087 { (exit 1); exit 1; }; } 11088 fi 11089 5544 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 5545 fi 11090 5546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11091 5547 fi … … 11096 5552 11097 5553 11098 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 11099 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 11100 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 11101 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 11102 echo $ECHO_N "(cached) $ECHO_C" >&6 11103 fi 11104 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 11105 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 11106 else 11107 # Is the header compilable? 11108 { echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5 11109 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; } 11110 cat >conftest.$ac_ext <<_ACEOF 11111 /* confdefs.h. */ 11112 _ACEOF 11113 cat confdefs.h >>conftest.$ac_ext 11114 cat >>conftest.$ac_ext <<_ACEOF 11115 /* end confdefs.h. */ 11116 $ac_includes_default 11117 #include <sys/soundcard.h> 11118 _ACEOF 11119 rm -f conftest.$ac_objext 11120 if { (ac_try="$ac_compile" 11121 case "(($ac_try" in 11122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11123 *) ac_try_echo=$ac_try;; 11124 esac 11125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11126 (eval "$ac_compile") 2>conftest.er1 11127 ac_status=$? 11128 grep -v '^ *+' conftest.er1 >conftest.err 11129 rm -f conftest.er1 11130 cat conftest.err >&5 11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11132 (exit $ac_status); } && { 11133 test -z "$ac_c_werror_flag" || 11134 test ! -s conftest.err 11135 } && test -s conftest.$ac_objext; then 11136 ac_header_compiler=yes 11137 else 11138 echo "$as_me: failed program was:" >&5 11139 sed 's/^/| /' conftest.$ac_ext >&5 11140 11141 ac_header_compiler=no 11142 fi 11143 11144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11145 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11146 echo "${ECHO_T}$ac_header_compiler" >&6; } 11147 11148 # Is the header present? 11149 { echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5 11150 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; } 11151 cat >conftest.$ac_ext <<_ACEOF 11152 /* confdefs.h. */ 11153 _ACEOF 11154 cat confdefs.h >>conftest.$ac_ext 11155 cat >>conftest.$ac_ext <<_ACEOF 11156 /* end confdefs.h. */ 11157 #include <sys/soundcard.h> 11158 _ACEOF 11159 if { (ac_try="$ac_cpp conftest.$ac_ext" 11160 case "(($ac_try" in 11161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11162 *) ac_try_echo=$ac_try;; 11163 esac 11164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11165 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11166 ac_status=$? 11167 grep -v '^ *+' conftest.er1 >conftest.err 11168 rm -f conftest.er1 11169 cat conftest.err >&5 11170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11171 (exit $ac_status); } >/dev/null && { 11172 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11173 test ! -s conftest.err 11174 }; then 11175 ac_header_preproc=yes 11176 else 11177 echo "$as_me: failed program was:" >&5 11178 sed 's/^/| /' conftest.$ac_ext >&5 11179 11180 ac_header_preproc=no 11181 fi 11182 11183 rm -f conftest.err conftest.$ac_ext 11184 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11185 echo "${ECHO_T}$ac_header_preproc" >&6; } 11186 11187 # So? What about this header? 11188 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11189 yes:no: ) 11190 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 11191 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11192 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5 11193 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;} 11194 ac_header_preproc=yes 11195 ;; 11196 no:yes:* ) 11197 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5 11198 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;} 11199 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5 11200 echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;} 11201 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5 11202 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;} 11203 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 11204 echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 11205 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5 11206 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;} 11207 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 11208 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} 11209 11210 ;; 11211 esac 11212 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 11213 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 11214 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 11215 echo $ECHO_N "(cached) $ECHO_C" >&6 11216 else 11217 ac_cv_header_sys_soundcard_h=$ac_header_preproc 11218 fi 11219 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 11220 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 11221 11222 fi 11223 if test $ac_cv_header_sys_soundcard_h = yes; then 5554 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 5555 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 11224 5556 ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 11225 5557 fi 11226 5558 11227 5559 11228 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 11229 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 11230 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 11231 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 11232 echo $ECHO_N "(cached) $ECHO_C" >&6 11233 fi 11234 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 11235 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 11236 else 11237 # Is the header compilable? 11238 { echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5 11239 echo $ECHO_N "checking linux/soundcard.h usability... $ECHO_C" >&6; } 11240 cat >conftest.$ac_ext <<_ACEOF 11241 /* confdefs.h. */ 11242 _ACEOF 11243 cat confdefs.h >>conftest.$ac_ext 11244 cat >>conftest.$ac_ext <<_ACEOF 11245 /* end confdefs.h. */ 11246 $ac_includes_default 11247 #include <linux/soundcard.h> 11248 _ACEOF 11249 rm -f conftest.$ac_objext 11250 if { (ac_try="$ac_compile" 11251 case "(($ac_try" in 11252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11253 *) ac_try_echo=$ac_try;; 11254 esac 11255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11256 (eval "$ac_compile") 2>conftest.er1 11257 ac_status=$? 11258 grep -v '^ *+' conftest.er1 >conftest.err 11259 rm -f conftest.er1 11260 cat conftest.err >&5 11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11262 (exit $ac_status); } && { 11263 test -z "$ac_c_werror_flag" || 11264 test ! -s conftest.err 11265 } && test -s conftest.$ac_objext; then 11266 ac_header_compiler=yes 11267 else 11268 echo "$as_me: failed program was:" >&5 11269 sed 's/^/| /' conftest.$ac_ext >&5 11270 11271 ac_header_compiler=no 11272 fi 11273 11274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11275 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11276 echo "${ECHO_T}$ac_header_compiler" >&6; } 11277 11278 # Is the header present? 11279 { echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5 11280 echo $ECHO_N "checking linux/soundcard.h presence... $ECHO_C" >&6; } 11281 cat >conftest.$ac_ext <<_ACEOF 11282 /* confdefs.h. */ 11283 _ACEOF 11284 cat confdefs.h >>conftest.$ac_ext 11285 cat >>conftest.$ac_ext <<_ACEOF 11286 /* end confdefs.h. */ 11287 #include <linux/soundcard.h> 11288 _ACEOF 11289 if { (ac_try="$ac_cpp conftest.$ac_ext" 11290 case "(($ac_try" in 11291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11292 *) ac_try_echo=$ac_try;; 11293 esac 11294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11295 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11296 ac_status=$? 11297 grep -v '^ *+' conftest.er1 >conftest.err 11298 rm -f conftest.er1 11299 cat conftest.err >&5 11300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11301 (exit $ac_status); } >/dev/null && { 11302 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11303 test ! -s conftest.err 11304 }; then 11305 ac_header_preproc=yes 11306 else 11307 echo "$as_me: failed program was:" >&5 11308 sed 's/^/| /' conftest.$ac_ext >&5 11309 11310 ac_header_preproc=no 11311 fi 11312 11313 rm -f conftest.err conftest.$ac_ext 11314 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11315 echo "${ECHO_T}$ac_header_preproc" >&6; } 11316 11317 # So? What about this header? 11318 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11319 yes:no: ) 11320 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 11321 echo "$as_me: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11322 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&5 11323 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&2;} 11324 ac_header_preproc=yes 11325 ;; 11326 no:yes:* ) 11327 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: present but cannot be compiled" >&5 11328 echo "$as_me: WARNING: linux/soundcard.h: present but cannot be compiled" >&2;} 11329 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: check for missing prerequisite headers?" >&5 11330 echo "$as_me: WARNING: linux/soundcard.h: check for missing prerequisite headers?" >&2;} 11331 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: see the Autoconf documentation" >&5 11332 echo "$as_me: WARNING: linux/soundcard.h: see the Autoconf documentation" >&2;} 11333 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 11334 echo "$as_me: WARNING: linux/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 11335 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&5 11336 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&2;} 11337 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 11338 echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} 11339 11340 ;; 11341 esac 11342 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 11343 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 11344 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 11345 echo $ECHO_N "(cached) $ECHO_C" >&6 11346 else 11347 ac_cv_header_linux_soundcard_h=$ac_header_preproc 11348 fi 11349 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 11350 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 11351 11352 fi 11353 if test $ac_cv_header_linux_soundcard_h = yes; then 5560 ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 5561 if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 11354 5562 ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 11355 5563 fi 11356 5564 11357 5565 11358 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 11359 { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 11360 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 11361 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 11362 echo $ECHO_N "(cached) $ECHO_C" >&6 11363 fi 11364 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 11365 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 11366 else 11367 # Is the header compilable? 11368 { echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&5 11369 echo $ECHO_N "checking machine/soundcard.h usability... $ECHO_C" >&6; } 11370 cat >conftest.$ac_ext <<_ACEOF 11371 /* confdefs.h. */ 11372 _ACEOF 11373 cat confdefs.h >>conftest.$ac_ext 11374 cat >>conftest.$ac_ext <<_ACEOF 11375 /* end confdefs.h. */ 11376 $ac_includes_default 11377 #include <machine/soundcard.h> 11378 _ACEOF 11379 rm -f conftest.$ac_objext 11380 if { (ac_try="$ac_compile" 11381 case "(($ac_try" in 11382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11383 *) ac_try_echo=$ac_try;; 11384 esac 11385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11386 (eval "$ac_compile") 2>conftest.er1 11387 ac_status=$? 11388 grep -v '^ *+' conftest.er1 >conftest.err 11389 rm -f conftest.er1 11390 cat conftest.err >&5 11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11392 (exit $ac_status); } && { 11393 test -z "$ac_c_werror_flag" || 11394 test ! -s conftest.err 11395 } && test -s conftest.$ac_objext; then 11396 ac_header_compiler=yes 11397 else 11398 echo "$as_me: failed program was:" >&5 11399 sed 's/^/| /' conftest.$ac_ext >&5 11400 11401 ac_header_compiler=no 11402 fi 11403 11404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11405 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11406 echo "${ECHO_T}$ac_header_compiler" >&6; } 11407 11408 # Is the header present? 11409 { echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&5 11410 echo $ECHO_N "checking machine/soundcard.h presence... $ECHO_C" >&6; } 11411 cat >conftest.$ac_ext <<_ACEOF 11412 /* confdefs.h. */ 11413 _ACEOF 11414 cat confdefs.h >>conftest.$ac_ext 11415 cat >>conftest.$ac_ext <<_ACEOF 11416 /* end confdefs.h. */ 11417 #include <machine/soundcard.h> 11418 _ACEOF 11419 if { (ac_try="$ac_cpp conftest.$ac_ext" 11420 case "(($ac_try" in 11421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11422 *) ac_try_echo=$ac_try;; 11423 esac 11424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11425 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11426 ac_status=$? 11427 grep -v '^ *+' conftest.er1 >conftest.err 11428 rm -f conftest.er1 11429 cat conftest.err >&5 11430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11431 (exit $ac_status); } >/dev/null && { 11432 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11433 test ! -s conftest.err 11434 }; then 11435 ac_header_preproc=yes 11436 else 11437 echo "$as_me: failed program was:" >&5 11438 sed 's/^/| /' conftest.$ac_ext >&5 11439 11440 ac_header_preproc=no 11441 fi 11442 11443 rm -f conftest.err conftest.$ac_ext 11444 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11445 echo "${ECHO_T}$ac_header_preproc" >&6; } 11446 11447 # So? What about this header? 11448 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11449 yes:no: ) 11450 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 11451 echo "$as_me: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11452 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&5 11453 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&2;} 11454 ac_header_preproc=yes 11455 ;; 11456 no:yes:* ) 11457 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: present but cannot be compiled" >&5 11458 echo "$as_me: WARNING: machine/soundcard.h: present but cannot be compiled" >&2;} 11459 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: check for missing prerequisite headers?" >&5 11460 echo "$as_me: WARNING: machine/soundcard.h: check for missing prerequisite headers?" >&2;} 11461 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: see the Autoconf documentation" >&5 11462 echo "$as_me: WARNING: machine/soundcard.h: see the Autoconf documentation" >&2;} 11463 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 11464 echo "$as_me: WARNING: machine/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 11465 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&5 11466 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&2;} 11467 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&5 11468 echo "$as_me: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&2;} 11469 11470 ;; 11471 esac 11472 { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 11473 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 11474 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 11475 echo $ECHO_N "(cached) $ECHO_C" >&6 11476 else 11477 ac_cv_header_machine_soundcard_h=$ac_header_preproc 11478 fi 11479 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 11480 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 11481 11482 fi 11483 if test $ac_cv_header_machine_soundcard_h = yes; then 5566 ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 5567 if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 11484 5568 ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 11485 5569 fi … … 11499 5583 arm-apple-darwin*) 11500 5584 LIBS="$LIBS -framework CoreAudio -framework CoreFoundation -framework AudioToolbox -framework CFNetwork -framework UIKit" 11501 { echo "$as_me:$LINENO: result: Checking sound device backend... AudioUnit" >&511502 echo "${ECHO_T}Checking sound device backend... AudioUnit" >&6; }5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... AudioUnit" >&5 5586 $as_echo "Checking sound device backend... AudioUnit" >&6; } 11503 5587 ;; 11504 5588 *darwin*) … … 11508 5592 #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 11509 5593 ac_pjmedia_snd=pa_old_darwinos 11510 { echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&511511 echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6; }5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&5 5595 $as_echo "Checking sound device backend... old coreaudio" >&6; } 11512 5596 else 11513 5597 ac_pjmedia_snd=pa_darwinos 11514 { echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&511515 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6; }5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&5 5599 $as_echo "Checking sound device backend... coreaudio" >&6; } 11516 5600 fi 11517 5601 ;; 11518 5602 *cygwin* | *mingw*) 11519 5603 ac_pjmedia_snd=pa_win32 11520 { echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&511521 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6; }5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&5 5605 $as_echo "Checking sound device backend... win32 sound" >&6; } 11522 5606 ;; 11523 5607 *rtems*) 11524 5608 ac_pjmedia_snd=null 11525 { echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&511526 echo "${ECHO_T}Checking sound device backend... null sound" >&6; }5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&5 5610 $as_echo "Checking sound device backend... null sound" >&6; } 11527 5611 ;; 11528 5612 *) 11529 5613 ac_pjmedia_snd=pa_unix 11530 if test "${ac_cv_header_alsa_version_h+set}" = set; then 11531 { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 11532 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 11533 if test "${ac_cv_header_alsa_version_h+set}" = set; then 11534 echo $ECHO_N "(cached) $ECHO_C" >&6 11535 fi 11536 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 11537 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 11538 else 11539 # Is the header compilable? 11540 { echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 11541 echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6; } 11542 cat >conftest.$ac_ext <<_ACEOF 11543 /* confdefs.h. */ 11544 _ACEOF 11545 cat confdefs.h >>conftest.$ac_ext 11546 cat >>conftest.$ac_ext <<_ACEOF 11547 /* end confdefs.h. */ 11548 $ac_includes_default 11549 #include <alsa/version.h> 11550 _ACEOF 11551 rm -f conftest.$ac_objext 11552 if { (ac_try="$ac_compile" 11553 case "(($ac_try" in 11554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11555 *) ac_try_echo=$ac_try;; 11556 esac 11557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11558 (eval "$ac_compile") 2>conftest.er1 11559 ac_status=$? 11560 grep -v '^ *+' conftest.er1 >conftest.err 11561 rm -f conftest.er1 11562 cat conftest.err >&5 11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11564 (exit $ac_status); } && { 11565 test -z "$ac_c_werror_flag" || 11566 test ! -s conftest.err 11567 } && test -s conftest.$ac_objext; then 11568 ac_header_compiler=yes 11569 else 11570 echo "$as_me: failed program was:" >&5 11571 sed 's/^/| /' conftest.$ac_ext >&5 11572 11573 ac_header_compiler=no 11574 fi 11575 11576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11577 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11578 echo "${ECHO_T}$ac_header_compiler" >&6; } 11579 11580 # Is the header present? 11581 { echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 11582 echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6; } 11583 cat >conftest.$ac_ext <<_ACEOF 11584 /* confdefs.h. */ 11585 _ACEOF 11586 cat confdefs.h >>conftest.$ac_ext 11587 cat >>conftest.$ac_ext <<_ACEOF 11588 /* end confdefs.h. */ 11589 #include <alsa/version.h> 11590 _ACEOF 11591 if { (ac_try="$ac_cpp conftest.$ac_ext" 11592 case "(($ac_try" in 11593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11594 *) ac_try_echo=$ac_try;; 11595 esac 11596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11597 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11598 ac_status=$? 11599 grep -v '^ *+' conftest.er1 >conftest.err 11600 rm -f conftest.er1 11601 cat conftest.err >&5 11602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11603 (exit $ac_status); } >/dev/null && { 11604 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11605 test ! -s conftest.err 11606 }; then 11607 ac_header_preproc=yes 11608 else 11609 echo "$as_me: failed program was:" >&5 11610 sed 's/^/| /' conftest.$ac_ext >&5 11611 11612 ac_header_preproc=no 11613 fi 11614 11615 rm -f conftest.err conftest.$ac_ext 11616 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11617 echo "${ECHO_T}$ac_header_preproc" >&6; } 11618 11619 # So? What about this header? 11620 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11621 yes:no: ) 11622 { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 11623 echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11624 { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 11625 echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 11626 ac_header_preproc=yes 11627 ;; 11628 no:yes:* ) 11629 { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 11630 echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 11631 { echo "$as_me:$LINENO: WARNING: alsa/version.h: check for missing prerequisite headers?" >&5 11632 echo "$as_me: WARNING: alsa/version.h: check for missing prerequisite headers?" >&2;} 11633 { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 11634 echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 11635 { echo "$as_me:$LINENO: WARNING: alsa/version.h: section \"Present But Cannot Be Compiled\"" >&5 11636 echo "$as_me: WARNING: alsa/version.h: section \"Present But Cannot Be Compiled\"" >&2;} 11637 { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 11638 echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 11639 { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 11640 echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 11641 11642 ;; 11643 esac 11644 { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 11645 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 11646 if test "${ac_cv_header_alsa_version_h+set}" = set; then 11647 echo $ECHO_N "(cached) $ECHO_C" >&6 11648 else 11649 ac_cv_header_alsa_version_h=$ac_header_preproc 11650 fi 11651 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 11652 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 11653 11654 fi 11655 if test $ac_cv_header_alsa_version_h = yes; then 5614 ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 5615 if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 11656 5616 ac_pa_use_alsa=1 11657 5617 … … 11664 5624 11665 5625 11666 { echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&511667 echo "${ECHO_T}Checking sound device backend... unix" >&6; }5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&5 5627 $as_echo "Checking sound device backend... unix" >&6; } 11668 5628 11669 5629 ac_pa_use_oss=1 11670 5630 11671 5631 # Check whether --enable-oss was given. 11672 if test "${enable_oss+set}" = set; then 5632 if test "${enable_oss+set}" = set; then : 11673 5633 enableval=$enable_oss; 11674 5634 if test "$enable_oss" = "no"; then 11675 5635 ac_pa_use_oss=0 11676 { echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&511677 echo "${ECHO_T}Checking if OSS audio is disabled... yes" >&6; }5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&5 5637 $as_echo "Checking if OSS audio is disabled... yes" >&6; } 11678 5638 fi 11679 5639 … … 11685 5645 11686 5646 # Check whether --enable-ext_sound was given. 11687 if test "${enable_ext_sound+set}" = set; then 5647 if test "${enable_ext_sound+set}" = set; then : 11688 5648 enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 11689 5649 ac_pjmedia_snd=external 11690 { echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&511691 echo "${ECHO_T}Checking if external sound is set... yes" >&6; }5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&5 5651 $as_echo "Checking if external sound is set... yes" >&6; } 11692 5652 fi 11693 5653 … … 11697 5657 11698 5658 # Check whether --enable-small-filter was given. 11699 if test "${enable_small_filter+set}" = set; then 5659 if test "${enable_small_filter+set}" = set; then : 11700 5660 enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 11701 5661 ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 11702 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&511703 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6; }5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&5 5663 $as_echo "Checking if small filter is disabled... yes" >&6; } 11704 5664 fi 11705 5665 else 11706 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&511707 echo "${ECHO_T}Checking if small filter is disabled... no" >&6; }5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&5 5667 $as_echo "Checking if small filter is disabled... no" >&6; } 11708 5668 fi 11709 5669 … … 11711 5671 11712 5672 # Check whether --enable-large-filter was given. 11713 if test "${enable_large_filter+set}" = set; then 5673 if test "${enable_large_filter+set}" = set; then : 11714 5674 enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 11715 5675 ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 11716 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&511717 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6; }5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&5 5677 $as_echo "Checking if large filter is disabled... yes" >&6; } 11718 5678 fi 11719 5679 else 11720 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&511721 echo "${ECHO_T}Checking if large filter is disabled... no" >&6; }5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&5 5681 $as_echo "Checking if large filter is disabled... no" >&6; } 11722 5682 fi 11723 5683 … … 11725 5685 11726 5686 # Check whether --enable-speex-aec was given. 11727 if test "${enable_speex_aec+set}" = set; then 5687 if test "${enable_speex_aec+set}" = set; then : 11728 5688 enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 11729 5689 ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 11730 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&511731 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6; }5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&5 5691 $as_echo "Checking if Speex AEC is disabled...yes" >&6; } 11732 5692 fi 11733 5693 else 11734 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&511735 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6; }5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&5 5695 $as_echo "Checking if Speex AEC is disabled...no" >&6; } 11736 5696 fi 11737 5697 … … 11739 5699 11740 5700 # Check whether --enable-g711-codec was given. 11741 if test "${enable_g711_codec+set}" = set; then 5701 if test "${enable_g711_codec+set}" = set; then : 11742 5702 enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 11743 5703 ac_no_g711_codec=1 11744 cat >>confdefs.h <<\_ACEOF 11745 #define PJMEDIA_HAS_G711_CODEC 0 11746 _ACEOF 11747 11748 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 11749 echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6; } 5704 $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h 5705 5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 5707 $as_echo "Checking if G.711 codec is disabled...yes" >&6; } 11750 5708 fi 11751 5709 else 11752 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&511753 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6; }5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&5 5711 $as_echo "Checking if G.711 codec is disabled...no" >&6; } 11754 5712 fi 11755 5713 … … 11758 5716 11759 5717 # Check whether --enable-l16-codec was given. 11760 if test "${enable_l16_codec+set}" = set; then 5718 if test "${enable_l16_codec+set}" = set; then : 11761 5719 enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 11762 5720 ac_no_l16_codec=1 11763 cat >>confdefs.h <<\_ACEOF 11764 #define PJMEDIA_HAS_L16_CODEC 0 11765 _ACEOF 11766 11767 { echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 11768 echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6; } 5721 $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h 5722 5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 5724 $as_echo "Checking if L16 codecs are disabled...yes" >&6; } 11769 5725 fi 11770 5726 else 11771 { echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&511772 echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6; }5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&5 5728 $as_echo "Checking if L16 codec is disabled...no" >&6; } 11773 5729 fi 11774 5730 … … 11777 5733 11778 5734 # Check whether --enable-gsm-codec was given. 11779 if test "${enable_gsm_codec+set}" = set; then 5735 if test "${enable_gsm_codec+set}" = set; then : 11780 5736 enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 11781 5737 ac_no_gsm_codec=1 11782 cat >>confdefs.h <<\_ACEOF 11783 #define PJMEDIA_HAS_GSM_CODEC 0 11784 _ACEOF 11785 11786 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 11787 echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6; } 5738 $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h 5739 5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 5741 $as_echo "Checking if GSM codec is disabled...yes" >&6; } 11788 5742 fi 11789 5743 else 11790 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&511791 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6; }5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&5 5745 $as_echo "Checking if GSM codec is disabled...no" >&6; } 11792 5746 fi 11793 5747 … … 11795 5749 11796 5750 # Check whether --enable-g722-codec was given. 11797 if test "${enable_g722_codec+set}" = set; then 5751 if test "${enable_g722_codec+set}" = set; then : 11798 5752 enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 11799 5753 ac_no_g722_codec=1 11800 cat >>confdefs.h <<\_ACEOF 11801 #define PJMEDIA_HAS_G722_CODEC 0 11802 _ACEOF 11803 11804 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 11805 echo "${ECHO_T}Checking if G.722 codec is disabled...yes" >&6; } 5754 $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h 5755 5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 5757 $as_echo "Checking if G.722 codec is disabled...yes" >&6; } 11806 5758 fi 11807 5759 else 11808 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&511809 echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6; }5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&5 5761 $as_echo "Checking if G.722 codec is disabled...no" >&6; } 11810 5762 fi 11811 5763 … … 11813 5765 11814 5766 # Check whether --enable-g7221-codec was given. 11815 if test "${enable_g7221_codec+set}" = set; then 5767 if test "${enable_g7221_codec+set}" = set; then : 11816 5768 enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then 11817 5769 ac_no_g7221_codec=1 11818 cat >>confdefs.h <<\_ACEOF 11819 #define PJMEDIA_HAS_G7221_CODEC 0 11820 _ACEOF 11821 11822 { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...yes" >&5 11823 echo "${ECHO_T}Checking if G.722.1 codec is disabled...yes" >&6; } 5770 $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h 5771 5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 5773 $as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } 11824 5774 fi 11825 5775 else 11826 { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...no" >&511827 echo "${ECHO_T}Checking if G.722.1 codec is disabled...no" >&6; }5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&5 5777 $as_echo "Checking if G.722.1 codec is disabled...no" >&6; } 11828 5778 fi 11829 5779 … … 11831 5781 11832 5782 # Check whether --enable-speex-codec was given. 11833 if test "${enable_speex_codec+set}" = set; then 5783 if test "${enable_speex_codec+set}" = set; then : 11834 5784 enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 11835 5785 ac_no_speex_codec=1 11836 cat >>confdefs.h <<\_ACEOF 11837 #define PJMEDIA_HAS_SPEEX_CODEC 0 11838 _ACEOF 11839 11840 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 11841 echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6; } 5786 $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h 5787 5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 5789 $as_echo "Checking if Speex codec is disabled...yes" >&6; } 11842 5790 fi 11843 5791 else 11844 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&511845 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6; }5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&5 5793 $as_echo "Checking if Speex codec is disabled...no" >&6; } 11846 5794 fi 11847 5795 … … 11849 5797 11850 5798 # Check whether --enable-ilbc-codec was given. 11851 if test "${enable_ilbc_codec+set}" = set; then 5799 if test "${enable_ilbc_codec+set}" = set; then : 11852 5800 enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 11853 5801 ac_no_ilbc_codec=1 11854 cat >>confdefs.h <<\_ACEOF 11855 #define PJMEDIA_HAS_ILBC_CODEC 0 11856 _ACEOF 11857 11858 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 11859 echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6; } 5802 $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h 5803 5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 5805 $as_echo "Checking if iLBC codec is disabled...yes" >&6; } 11860 5806 fi 11861 5807 else 11862 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&511863 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6; }5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&5 5809 $as_echo "Checking if iLBC codec is disabled...no" >&6; } 11864 5810 fi 11865 5811 11866 5812 11867 5813 # Check whether --enable-libsamplerate was given. 11868 if test "${enable_libsamplerate+set}" = set; then 11869 enableval=$enable_libsamplerate; 11870 { echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 11871 echo $ECHO_N "checking for src_new in -lsamplerate... $ECHO_C" >&6; } 11872 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then 11873 echo $ECHO_N "(cached) $ECHO_C" >&6 5814 if test "${enable_libsamplerate+set}" = set; then : 5815 enableval=$enable_libsamplerate; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 5816 $as_echo_n "checking for src_new in -lsamplerate... " >&6; } 5817 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 5818 $as_echo_n "(cached) " >&6 11874 5819 else 11875 5820 ac_check_lib_save_LIBS=$LIBS 11876 5821 LIBS="-lsamplerate $LIBS" 11877 cat >conftest.$ac_ext <<_ACEOF 11878 /* confdefs.h. */ 11879 _ACEOF 11880 cat confdefs.h >>conftest.$ac_ext 11881 cat >>conftest.$ac_ext <<_ACEOF 5822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11882 5823 /* end confdefs.h. */ 11883 5824 … … 11897 5838 } 11898 5839 _ACEOF 11899 rm -f conftest.$ac_objext conftest$ac_exeext 11900 if { (ac_try="$ac_link" 11901 case "(($ac_try" in 11902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11903 *) ac_try_echo=$ac_try;; 11904 esac 11905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11906 (eval "$ac_link") 2>conftest.er1 11907 ac_status=$? 11908 grep -v '^ *+' conftest.er1 >conftest.err 11909 rm -f conftest.er1 11910 cat conftest.err >&5 11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11912 (exit $ac_status); } && { 11913 test -z "$ac_c_werror_flag" || 11914 test ! -s conftest.err 11915 } && test -s conftest$ac_exeext && 11916 $as_test_x conftest$ac_exeext; then 5840 if ac_fn_c_try_link "$LINENO"; then : 11917 5841 ac_cv_lib_samplerate_src_new=yes 11918 5842 else 11919 echo "$as_me: failed program was:" >&5 11920 sed 's/^/| /' conftest.$ac_ext >&5 11921 11922 ac_cv_lib_samplerate_src_new=no 11923 fi 11924 11925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11926 conftest$ac_exeext conftest.$ac_ext 5843 ac_cv_lib_samplerate_src_new=no 5844 fi 5845 rm -f core conftest.err conftest.$ac_objext \ 5846 conftest$ac_exeext conftest.$ac_ext 11927 5847 LIBS=$ac_check_lib_save_LIBS 11928 5848 fi 11929 { echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&511930 echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6; }11931 if test $ac_cv_lib_samplerate_src_new = yes; then5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 5850 $as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 5851 if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 11932 5852 cat >>confdefs.h <<_ACEOF 11933 5853 #define HAVE_LIBSAMPLERATE 1 … … 11939 5859 11940 5860 else 11941 { echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&511942 echo "${ECHO_T}Skipping libsamplerate detection" >&6; }5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&5 5862 $as_echo "Skipping libsamplerate detection" >&6; } 11943 5863 11944 5864 fi … … 11947 5867 11948 5868 # Check whether --enable-resample_dll was given. 11949 if test "${enable_resample_dll+set}" = set; then 5869 if test "${enable_resample_dll+set}" = set; then : 11950 5870 enableval=$enable_resample_dll; if test "$enable_resample_dll" = "yes"; then 11951 5871 ac_resample_dll=1 11952 { echo "$as_me:$LINENO: result: Building libresample as shared library... yes" >&511953 echo "${ECHO_T}Building libresample as shared library... yes" >&6; }5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building libresample as shared library... yes" >&5 5873 $as_echo "Building libresample as shared library... yes" >&6; } 11954 5874 fi 11955 5875 else 11956 { echo "$as_me:$LINENO: result: Building libresample as shared library... no" >&511957 echo "${ECHO_T}Building libresample as shared library... no" >&6; }5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Building libresample as shared library... no" >&5 5877 $as_echo "Building libresample as shared library... no" >&6; } 11958 5878 11959 5879 fi … … 11961 5881 11962 5882 # Check whether --enable-ipp was given. 11963 if test "${enable_ipp+set}" = set; then 5883 if test "${enable_ipp+set}" = set; then : 11964 5884 enableval=$enable_ipp; 11965 5885 else … … 11971 5891 11972 5892 # Check whether --with-ipp was given. 11973 if test "${with_ipp+set}" = set; then 5893 if test "${with_ipp+set}" = set; then : 11974 5894 withval=$with_ipp; 11975 5895 else … … 11981 5901 11982 5902 # Check whether --with-ipp-samples was given. 11983 if test "${with_ipp_samples+set}" = set; then 5903 if test "${with_ipp_samples+set}" = set; then : 11984 5904 withval=$with_ipp_samples; 11985 5905 else … … 11991 5911 11992 5912 # Check whether --with-ipp-arch was given. 11993 if test "${with_ipp_arch+set}" = set; then 5913 if test "${with_ipp_arch+set}" = set; then : 11994 5914 withval=$with_ipp_arch; 11995 5915 else … … 12000 5920 12001 5921 if test "x$enable_ipp" != "xno"; then 12002 { echo "$as_me:$LINENO: checking Intel IPP location" >&512003 echo $ECHO_N "checking Intel IPP location... $ECHO_C" >&6; }5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&5 5923 $as_echo_n "checking Intel IPP location... " >&6; } 12004 5924 12005 5925 if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 12006 { echo "$as_me:$LINENO: result: $with_ipp" >&512007 echo "${ECHO_T}$with_ipp" >&6; }5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&5 5927 $as_echo "$with_ipp" >&6; } 12008 5928 IPPROOT=$with_ipp 12009 5929 elif test "x$IPPROOT" = "x"; then 12010 5930 if test -d /opt/intel/ipp; then 12011 5931 IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 12012 { echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&512013 echo "${ECHO_T}autodetected in $IPPROOT" >&6; }5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&5 5933 $as_echo "autodetected in $IPPROOT" >&6; } 12014 5934 fi 12015 5935 else 12016 { echo "$as_me:$LINENO: result: $IPPROOT" >&512017 echo "${ECHO_T}$IPPROOT" >&6; }5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&5 5937 $as_echo "$IPPROOT" >&6; } 12018 5938 fi 12019 5939 12020 5940 if test "x$with_ipp_arch" != "xno"; then 12021 5941 IPP_SUFFIX=$with_ipp_arch 12022 { echo "$as_me:$LINENO: result: IPP arch suffix is set to $IPP_SUFFIX" >&512023 echo "${ECHO_T}IPP arch suffix is set to $IPP_SUFFIX" >&6; }5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 5943 $as_echo "IPP arch suffix is set to $IPP_SUFFIX" >&6; } 12024 5944 else 12025 5945 IPP_SUFFIX="" 12026 { echo "$as_me:$LINENO: result: IPP arch suffix is set to empty" >&512027 echo "${ECHO_T}IPP arch suffix is set to empty" >&6; }5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to empty" >&5 5947 $as_echo "IPP arch suffix is set to empty" >&6; } 12028 5948 fi 12029 5949 12030 5950 if test x$IPPROOT = x; then 12031 { { 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 12032 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;} 12033 { (exit 1); exit 1; }; } 5951 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 12034 5952 elif test ! -d $IPPROOT; then 12035 { { echo "$as_me:$LINENO: error: not found" >&5 12036 echo "$as_me: error: not found" >&2;} 12037 { (exit 1); exit 1; }; } 5953 as_fn_error "not found" "$LINENO" 5 12038 5954 elif test ! -d $IPPROOT/include; then 12039 { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 12040 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 12041 { (exit 1); exit 1; }; } 5955 as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 12042 5956 else 12043 5957 # IPP directory looks okay. … … 12076 5990 # IPP7 12077 5991 if ! test -d $IPPROOT/../compiler; then 12078 { { echo "$as_me:$LINENO: error: Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" >&5 12079 echo "$as_me: error: Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" >&2;} 12080 { (exit 1); exit 1; }; } 5992 as_fn_error "Cannot find $IPPROOT/../compiler directory. Please set IPPROOT variable correctly" "$LINENO" 5 12081 5993 fi 12082 5994 IPP_CFLAGS="$IPP_CFLAGS" … … 12096 6008 12097 6009 12098 { echo "$as_me:$LINENO: checking Intel IPP usability" >&5 12099 echo $ECHO_N "checking Intel IPP usability... $ECHO_C" >&6; } 12100 cat >conftest.$ac_ext <<_ACEOF 12101 /* confdefs.h. */ 12102 _ACEOF 12103 cat confdefs.h >>conftest.$ac_ext 12104 cat >>conftest.$ac_ext <<_ACEOF 6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 6011 $as_echo_n "checking Intel IPP usability... " >&6; } 6012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12105 6013 /* end confdefs.h. */ 12106 6014 #include <ippcore.h> … … 12114 6022 } 12115 6023 _ACEOF 12116 rm -f conftest.$ac_objext conftest$ac_exeext 12117 if { (ac_try="$ac_link" 12118 case "(($ac_try" in 12119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12120 *) ac_try_echo=$ac_try;; 12121 esac 12122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12123 (eval "$ac_link") 2>conftest.er1 12124 ac_status=$? 12125 grep -v '^ *+' conftest.er1 >conftest.err 12126 rm -f conftest.er1 12127 cat conftest.err >&5 12128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12129 (exit $ac_status); } && { 12130 test -z "$ac_c_werror_flag" || 12131 test ! -s conftest.err 12132 } && test -s conftest$ac_exeext && 12133 $as_test_x conftest$ac_exeext; then 12134 { echo "$as_me:$LINENO: result: ok" >&5 12135 echo "${ECHO_T}ok" >&6; } 12136 else 12137 echo "$as_me: failed program was:" >&5 12138 sed 's/^/| /' conftest.$ac_ext >&5 12139 12140 { { echo "$as_me:$LINENO: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 12141 See \`config.log' for more details." >&5 12142 echo "$as_me: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 12143 See \`config.log' for more details." >&2;} 12144 { (exit run with --help for more info); exit run with --help for more info; }; } 12145 fi 12146 12147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12148 conftest$ac_exeext conftest.$ac_ext 6024 if ac_fn_c_try_link "$LINENO"; then : 6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6026 $as_echo "ok" >&6; } 6027 else 6028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6030 as_fn_error "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly, run with --help for more info 6031 See \`config.log' for more details." "$LINENO" 5; } 6032 fi 6033 rm -f core conftest.err conftest.$ac_objext \ 6034 conftest$ac_exeext conftest.$ac_ext 12149 6035 12150 6036 CFLAGS="$SAVED_CFLAGS" … … 12153 6039 fi 12154 6040 12155 { echo "$as_me:$LINENO: checking Intel IPP samples location" >&512156 echo $ECHO_N "checking Intel IPP samples location... $ECHO_C" >&6; }6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&5 6042 $as_echo_n "checking Intel IPP samples location... " >&6; } 12157 6043 12158 6044 if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 12159 { echo "$as_me:$LINENO: result: $with_ipp_samples" >&512160 echo "${ECHO_T}$with_ipp_samples" >&6; }6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&5 6046 $as_echo "$with_ipp_samples" >&6; } 12161 6047 IPPSAMPLES=$with_ipp_samples 12162 6048 elif test "x$IPPSAMPLES" = "x"; then 12163 6049 if test -d /opt/intel/ipp-samples; then 12164 6050 IPPSAMPLES=/opt/intel/ipp-samples 12165 { echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&512166 echo "${ECHO_T}autodetected in $IPPSAMPLES" >&6; }6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&5 6052 $as_echo "autodetected in $IPPSAMPLES" >&6; } 12167 6053 fi 12168 6054 else 12169 { echo "$as_me:$LINENO: result: $IPPSAMPLES" >&512170 echo "${ECHO_T}$IPPSAMPLES" >&6; }6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&5 6056 $as_echo "$IPPSAMPLES" >&6; } 12171 6057 fi 12172 6058 12173 6059 if test x$IPPSAMPLES = x; then 12174 { { 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 12175 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;} 12176 { (exit 1); exit 1; }; } 6060 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 12177 6061 elif test ! -d $IPPSAMPLES; then 12178 { { echo "$as_me:$LINENO: error: not found" >&5 12179 echo "$as_me: error: not found" >&2;} 12180 { (exit 1); exit 1; }; } 6062 as_fn_error "not found" "$LINENO" 5 12181 6063 elif test ! -d $IPPSAMPLES/speech-codecs; then 12182 { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 12183 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 12184 { (exit 1); exit 1; }; } 6064 as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 12185 6065 else 12186 6066 # Remove trailing backslash … … 12188 6068 12189 6069 # Guess the libusc.a/libspeech.a build location 12190 { echo "$as_me:$LINENO: checking Intel IPP USC build location" >&512191 echo $ECHO_N "checking Intel IPP USC build location... $ECHO_C" >&6; }6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&5 6071 $as_echo_n "checking Intel IPP USC build location... " >&6; } 12192 6072 if test -d $IPPSAMPLES/speech-codecs/bin; then 12193 6073 IPPVER=5 … … 12202 6082 IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*icc*/lib | head -1` 12203 6083 else 12204 { { echo "$as_me:$LINENO: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 12205 See \`config.log' for more details." >&5 12206 echo "$as_me: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 12207 See \`config.log' for more details." >&2;} 12208 { (exit 1); exit 1; }; } 6084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6086 as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 6087 See \`config.log' for more details." "$LINENO" 5; } 12209 6088 fi 12210 6089 else 12211 { { 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? 12212 See \`config.log' for more details." >&5 12213 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? 12214 See \`config.log' for more details." >&2;} 12215 { (exit 1); exit 1; }; } 6090 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6092 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? 6093 See \`config.log' for more details." "$LINENO" 5; } 12216 6094 fi 12217 6095 12218 6096 # Test the directory 12219 6097 if test ! -d $IPPSAMP_DIR; then 12220 { { echo "$as_me:$LINENO: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 12221 See \`config.log' for more details." >&5 12222 echo "$as_me: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 12223 See \`config.log' for more details." >&2;} 12224 { (exit 1); exit 1; }; } 6098 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6100 as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 6101 See \`config.log' for more details." "$LINENO" 5; } 12225 6102 exit 1; 12226 6103 fi … … 12233 6110 IPPSAMP_LDLIBS="-lspeech" 12234 6111 else 12235 { { echo "$as_me:$LINENO: error: bug in this script: unsupported IPP version 12236 See \`config.log' for more details." >&5 12237 echo "$as_me: error: bug in this script: unsupported IPP version 12238 See \`config.log' for more details." >&2;} 12239 { (exit 1); exit 1; }; } 6112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6114 as_fn_error "bug in this script: unsupported IPP version 6115 See \`config.log' for more details." "$LINENO" 5; } 12240 6116 fi 12241 6117 12242 6118 if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then 12243 { { echo "$as_me:$LINENO: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 12244 See \`config.log' for more details." >&5 12245 echo "$as_me: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 12246 See \`config.log' for more details." >&2;} 12247 { (exit 1); exit 1; }; } 6119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6121 as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 6122 See \`config.log' for more details." "$LINENO" 5; } 12248 6123 fi 12249 6124 12250 { echo "$as_me:$LINENO: result: $IPPSAMP_DIR" >&512251 echo "${ECHO_T}$IPPSAMP_DIR" >&6; }6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMP_DIR" >&5 6126 $as_echo "$IPPSAMP_DIR" >&6; } 12252 6127 12253 6128 SAVED_CFLAGS="$CFLAGS" … … 12260 6135 LIBS="$IPPSAMP_LDLIBS $LIBS" 12261 6136 12262 { echo "$as_me:$LINENO: checking Intel IPP USC usability" >&5 12263 echo $ECHO_N "checking Intel IPP USC usability... $ECHO_C" >&6; } 12264 cat >conftest.$ac_ext <<_ACEOF 12265 /* confdefs.h. */ 12266 _ACEOF 12267 cat confdefs.h >>conftest.$ac_ext 12268 cat >>conftest.$ac_ext <<_ACEOF 6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 6138 $as_echo_n "checking Intel IPP USC usability... " >&6; } 6139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12269 6140 /* end confdefs.h. */ 12270 6141 #include <usc.h> … … 12278 6149 } 12279 6150 _ACEOF 12280 rm -f conftest.$ac_objext conftest$ac_exeext 12281 if { (ac_try="$ac_link" 12282 case "(($ac_try" in 12283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12284 *) ac_try_echo=$ac_try;; 12285 esac 12286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12287 (eval "$ac_link") 2>conftest.er1 12288 ac_status=$? 12289 grep -v '^ *+' conftest.er1 >conftest.err 12290 rm -f conftest.er1 12291 cat conftest.err >&5 12292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12293 (exit $ac_status); } && { 12294 test -z "$ac_c_werror_flag" || 12295 test ! -s conftest.err 12296 } && test -s conftest$ac_exeext && 12297 $as_test_x conftest$ac_exeext; then 12298 { echo "$as_me:$LINENO: result: ok" >&5 12299 echo "${ECHO_T}ok" >&6; } 12300 else 12301 echo "$as_me: failed program was:" >&5 12302 sed 's/^/| /' conftest.$ac_ext >&5 12303 12304 { { echo "$as_me:$LINENO: error: failed 12305 See \`config.log' for more details." >&5 12306 echo "$as_me: error: failed 12307 See \`config.log' for more details." >&2;} 12308 { (exit 1); exit 1; }; } 12309 fi 12310 12311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12312 conftest$ac_exeext conftest.$ac_ext 6151 if ac_fn_c_try_link "$LINENO"; then : 6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6153 $as_echo "ok" >&6; } 6154 else 6155 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6157 as_fn_error "failed 6158 See \`config.log' for more details." "$LINENO" 5; } 6159 fi 6160 rm -f core conftest.err conftest.$ac_objext \ 6161 conftest$ac_exeext conftest.$ac_ext 12313 6162 12314 6163 CFLAGS="$SAVED_CFLAGS" … … 12330 6179 export IPP_LIBS=$IPP_LIBS" 12331 6180 else 12332 { echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&512333 echo "${ECHO_T}Skipping Intel IPP settings (not wanted)" >&6; }6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&5 6182 $as_echo "Skipping Intel IPP settings (not wanted)" >&6; } 12334 6183 fi 12335 6184 … … 12338 6187 12339 6188 # Check whether --enable-ssl was given. 12340 if test "${enable_ssl+set}" = set; then 6189 if test "${enable_ssl+set}" = set; then : 12341 6190 enableval=$enable_ssl; 12342 6191 if test "$enable_ssl" = "no"; then 12343 6192 ac_no_ssl=1 12344 { echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&512345 echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6; }6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&5 6194 $as_echo "Checking if SSL support is disabled... yes" >&6; } 12346 6195 fi 12347 6196 12348 6197 else 12349 6198 12350 { echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 12351 echo "${ECHO_T}checking for OpenSSL installations.." >&6; } 12352 12353 12354 12355 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 12356 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 12357 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 12358 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 12359 echo $ECHO_N "(cached) $ECHO_C" >&6 12360 fi 12361 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 12362 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 12363 else 12364 # Is the header compilable? 12365 { echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 12366 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; } 12367 cat >conftest.$ac_ext <<_ACEOF 12368 /* confdefs.h. */ 12369 _ACEOF 12370 cat confdefs.h >>conftest.$ac_ext 12371 cat >>conftest.$ac_ext <<_ACEOF 12372 /* end confdefs.h. */ 12373 $ac_includes_default 12374 #include <openssl/ssl.h> 12375 _ACEOF 12376 rm -f conftest.$ac_objext 12377 if { (ac_try="$ac_compile" 12378 case "(($ac_try" in 12379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12380 *) ac_try_echo=$ac_try;; 12381 esac 12382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12383 (eval "$ac_compile") 2>conftest.er1 12384 ac_status=$? 12385 grep -v '^ *+' conftest.er1 >conftest.err 12386 rm -f conftest.er1 12387 cat conftest.err >&5 12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12389 (exit $ac_status); } && { 12390 test -z "$ac_c_werror_flag" || 12391 test ! -s conftest.err 12392 } && test -s conftest.$ac_objext; then 12393 ac_header_compiler=yes 12394 else 12395 echo "$as_me: failed program was:" >&5 12396 sed 's/^/| /' conftest.$ac_ext >&5 12397 12398 ac_header_compiler=no 12399 fi 12400 12401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12402 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12403 echo "${ECHO_T}$ac_header_compiler" >&6; } 12404 12405 # Is the header present? 12406 { echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 12407 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; } 12408 cat >conftest.$ac_ext <<_ACEOF 12409 /* confdefs.h. */ 12410 _ACEOF 12411 cat confdefs.h >>conftest.$ac_ext 12412 cat >>conftest.$ac_ext <<_ACEOF 12413 /* end confdefs.h. */ 12414 #include <openssl/ssl.h> 12415 _ACEOF 12416 if { (ac_try="$ac_cpp conftest.$ac_ext" 12417 case "(($ac_try" in 12418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12419 *) ac_try_echo=$ac_try;; 12420 esac 12421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12422 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12423 ac_status=$? 12424 grep -v '^ *+' conftest.er1 >conftest.err 12425 rm -f conftest.er1 12426 cat conftest.err >&5 12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12428 (exit $ac_status); } >/dev/null && { 12429 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 12430 test ! -s conftest.err 12431 }; then 12432 ac_header_preproc=yes 12433 else 12434 echo "$as_me: failed program was:" >&5 12435 sed 's/^/| /' conftest.$ac_ext >&5 12436 12437 ac_header_preproc=no 12438 fi 12439 12440 rm -f conftest.err conftest.$ac_ext 12441 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12442 echo "${ECHO_T}$ac_header_preproc" >&6; } 12443 12444 # So? What about this header? 12445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 12446 yes:no: ) 12447 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 12448 echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 12449 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 12450 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 12451 ac_header_preproc=yes 12452 ;; 12453 no:yes:* ) 12454 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 12455 echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 12456 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&5 12457 echo "$as_me: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&2;} 12458 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 12459 echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 12460 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5 12461 echo "$as_me: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;} 12462 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 12463 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 12464 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 12465 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 12466 12467 ;; 12468 esac 12469 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 12470 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 12471 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 12472 echo $ECHO_N "(cached) $ECHO_C" >&6 12473 else 12474 ac_cv_header_openssl_ssl_h=$ac_header_preproc 12475 fi 12476 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 12477 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 12478 12479 fi 12480 if test $ac_cv_header_openssl_ssl_h = yes; then 6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 6200 $as_echo "checking for OpenSSL installations.." >&6; } 6201 6202 6203 6204 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 6205 if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 12481 6206 openssl_h_present=1 12482 6207 fi 12483 6208 12484 6209 12485 { echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&512486 echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6; }12487 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 12488 echo $ECHO_N "(cached) $ECHO_C" >&66210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 6211 $as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 6212 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 6213 $as_echo_n "(cached) " >&6 12489 6214 else 12490 6215 ac_check_lib_save_LIBS=$LIBS 12491 6216 LIBS="-lcrypto $LIBS" 12492 cat >conftest.$ac_ext <<_ACEOF 12493 /* confdefs.h. */ 12494 _ACEOF 12495 cat confdefs.h >>conftest.$ac_ext 12496 cat >>conftest.$ac_ext <<_ACEOF 6217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12497 6218 /* end confdefs.h. */ 12498 6219 … … 12512 6233 } 12513 6234 _ACEOF 12514 rm -f conftest.$ac_objext conftest$ac_exeext 12515 if { (ac_try="$ac_link" 12516 case "(($ac_try" in 12517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12518 *) ac_try_echo=$ac_try;; 12519 esac 12520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12521 (eval "$ac_link") 2>conftest.er1 12522 ac_status=$? 12523 grep -v '^ *+' conftest.er1 >conftest.err 12524 rm -f conftest.er1 12525 cat conftest.err >&5 12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12527 (exit $ac_status); } && { 12528 test -z "$ac_c_werror_flag" || 12529 test ! -s conftest.err 12530 } && test -s conftest$ac_exeext && 12531 $as_test_x conftest$ac_exeext; then 6235 if ac_fn_c_try_link "$LINENO"; then : 12532 6236 ac_cv_lib_crypto_ERR_load_BIO_strings=yes 12533 6237 else 12534 echo "$as_me: failed program was:" >&5 12535 sed 's/^/| /' conftest.$ac_ext >&5 12536 12537 ac_cv_lib_crypto_ERR_load_BIO_strings=no 12538 fi 12539 12540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12541 conftest$ac_exeext conftest.$ac_ext 6238 ac_cv_lib_crypto_ERR_load_BIO_strings=no 6239 fi 6240 rm -f core conftest.err conftest.$ac_objext \ 6241 conftest$ac_exeext conftest.$ac_ext 12542 6242 LIBS=$ac_check_lib_save_LIBS 12543 6243 fi 12544 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&512545 echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; }12546 if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 6245 $as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 6246 if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 12547 6247 libcrypto_present=1 && LIBS="$LIBS -lcrypto" 12548 6248 fi 12549 6249 12550 { echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&512551 echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6; }12552 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 12553 echo $ECHO_N "(cached) $ECHO_C" >&66250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 6251 $as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 6252 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 6253 $as_echo_n "(cached) " >&6 12554 6254 else 12555 6255 ac_check_lib_save_LIBS=$LIBS 12556 6256 LIBS="-lssl $LIBS" 12557 cat >conftest.$ac_ext <<_ACEOF 12558 /* confdefs.h. */ 12559 _ACEOF 12560 cat confdefs.h >>conftest.$ac_ext 12561 cat >>conftest.$ac_ext <<_ACEOF 6257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12562 6258 /* end confdefs.h. */ 12563 6259 … … 12577 6273 } 12578 6274 _ACEOF 12579 rm -f conftest.$ac_objext conftest$ac_exeext 12580 if { (ac_try="$ac_link" 12581 case "(($ac_try" in 12582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12583 *) ac_try_echo=$ac_try;; 12584 esac 12585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12586 (eval "$ac_link") 2>conftest.er1 12587 ac_status=$? 12588 grep -v '^ *+' conftest.er1 >conftest.err 12589 rm -f conftest.er1 12590 cat conftest.err >&5 12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12592 (exit $ac_status); } && { 12593 test -z "$ac_c_werror_flag" || 12594 test ! -s conftest.err 12595 } && test -s conftest$ac_exeext && 12596 $as_test_x conftest$ac_exeext; then 6275 if ac_fn_c_try_link "$LINENO"; then : 12597 6276 ac_cv_lib_ssl_SSL_library_init=yes 12598 6277 else 12599 echo "$as_me: failed program was:" >&5 12600 sed 's/^/| /' conftest.$ac_ext >&5 12601 12602 ac_cv_lib_ssl_SSL_library_init=no 12603 fi 12604 12605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12606 conftest$ac_exeext conftest.$ac_ext 6278 ac_cv_lib_ssl_SSL_library_init=no 6279 fi 6280 rm -f core conftest.err conftest.$ac_objext \ 6281 conftest$ac_exeext conftest.$ac_ext 12607 6282 LIBS=$ac_check_lib_save_LIBS 12608 6283 fi 12609 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&512610 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6; }12611 if test $ac_cv_lib_ssl_SSL_library_init = yes; then6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 6285 $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 6286 if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 12612 6287 libssl_present=1 && LIBS="$LIBS -lssl" 12613 6288 fi 12614 6289 12615 6290 if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 12616 { echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&512617 echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6; }6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&5 6292 $as_echo "OpenSSL library found, SSL support enabled" >&6; } 12618 6293 # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 12619 6294 #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 12620 cat >>confdefs.h <<\_ACEOF 12621 #define PJ_HAS_SSL_SOCK 1 12622 _ACEOF 6295 $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 12623 6296 12624 6297 else 12625 { echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&512626 echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6; }6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 6299 $as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; } 12627 6300 fi 12628 6301 … … 12632 6305 12633 6306 # Check whether --enable-opencore_amrnb was given. 12634 if test "${enable_opencore_amrnb+set}" = set; then 6307 if test "${enable_opencore_amrnb+set}" = set; then : 12635 6308 enableval=$enable_opencore_amrnb; 12636 6309 if test "$enable_opencore_amrnb" = "no"; then 12637 6310 ac_no_opencore_amrnb=1 12638 cat >>confdefs.h <<\_ACEOF 12639 #define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0 12640 _ACEOF 12641 12642 { echo "$as_me:$LINENO: result: Checking if OpenCORE AMR-NB support is disabled... yes" >&5 12643 echo "${ECHO_T}Checking if OpenCORE AMR-NB support is disabled... yes" >&6; } 6311 $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0" >>confdefs.h 6312 6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OpenCORE AMR-NB support is disabled... yes" >&5 6314 $as_echo "Checking if OpenCORE AMR-NB support is disabled... yes" >&6; } 12644 6315 fi 12645 6316 12646 6317 else 12647 6318 12648 { echo "$as_me:$LINENO: result: checking for OpenCORE AMR-NB installations.." >&5 12649 echo "${ECHO_T}checking for OpenCORE AMR-NB installations.." >&6; } 12650 12651 12652 if test "${ac_cv_header_opencore_amrnb_interf_enc_h+set}" = set; then 12653 { echo "$as_me:$LINENO: checking for opencore-amrnb/interf_enc.h" >&5 12654 echo $ECHO_N "checking for opencore-amrnb/interf_enc.h... $ECHO_C" >&6; } 12655 if test "${ac_cv_header_opencore_amrnb_interf_enc_h+set}" = set; then 12656 echo $ECHO_N "(cached) $ECHO_C" >&6 12657 fi 12658 { echo "$as_me:$LINENO: result: $ac_cv_header_opencore_amrnb_interf_enc_h" >&5 12659 echo "${ECHO_T}$ac_cv_header_opencore_amrnb_interf_enc_h" >&6; } 12660 else 12661 # Is the header compilable? 12662 { echo "$as_me:$LINENO: checking opencore-amrnb/interf_enc.h usability" >&5 12663 echo $ECHO_N "checking opencore-amrnb/interf_enc.h usability... $ECHO_C" >&6; } 12664 cat >conftest.$ac_ext <<_ACEOF 12665 /* confdefs.h. */ 12666 _ACEOF 12667 cat confdefs.h >>conftest.$ac_ext 12668 cat >>conftest.$ac_ext <<_ACEOF 12669 /* end confdefs.h. */ 12670 $ac_includes_default 12671 #include <opencore-amrnb/interf_enc.h> 12672 _ACEOF 12673 rm -f conftest.$ac_objext 12674 if { (ac_try="$ac_compile" 12675 case "(($ac_try" in 12676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12677 *) ac_try_echo=$ac_try;; 12678 esac 12679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12680 (eval "$ac_compile") 2>conftest.er1 12681 ac_status=$? 12682 grep -v '^ *+' conftest.er1 >conftest.err 12683 rm -f conftest.er1 12684 cat conftest.err >&5 12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12686 (exit $ac_status); } && { 12687 test -z "$ac_c_werror_flag" || 12688 test ! -s conftest.err 12689 } && test -s conftest.$ac_objext; then 12690 ac_header_compiler=yes 12691 else 12692 echo "$as_me: failed program was:" >&5 12693 sed 's/^/| /' conftest.$ac_ext >&5 12694 12695 ac_header_compiler=no 12696 fi 12697 12698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12699 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12700 echo "${ECHO_T}$ac_header_compiler" >&6; } 12701 12702 # Is the header present? 12703 { echo "$as_me:$LINENO: checking opencore-amrnb/interf_enc.h presence" >&5 12704 echo $ECHO_N "checking opencore-amrnb/interf_enc.h presence... $ECHO_C" >&6; } 12705 cat >conftest.$ac_ext <<_ACEOF 12706 /* confdefs.h. */ 12707 _ACEOF 12708 cat confdefs.h >>conftest.$ac_ext 12709 cat >>conftest.$ac_ext <<_ACEOF 12710 /* end confdefs.h. */ 12711 #include <opencore-amrnb/interf_enc.h> 12712 _ACEOF 12713 if { (ac_try="$ac_cpp conftest.$ac_ext" 12714 case "(($ac_try" in 12715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12716 *) ac_try_echo=$ac_try;; 12717 esac 12718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12720 ac_status=$? 12721 grep -v '^ *+' conftest.er1 >conftest.err 12722 rm -f conftest.er1 12723 cat conftest.err >&5 12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12725 (exit $ac_status); } >/dev/null && { 12726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 12727 test ! -s conftest.err 12728 }; then 12729 ac_header_preproc=yes 12730 else 12731 echo "$as_me: failed program was:" >&5 12732 sed 's/^/| /' conftest.$ac_ext >&5 12733 12734 ac_header_preproc=no 12735 fi 12736 12737 rm -f conftest.err conftest.$ac_ext 12738 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12739 echo "${ECHO_T}$ac_header_preproc" >&6; } 12740 12741 # So? What about this header? 12742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 12743 yes:no: ) 12744 { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: accepted by the compiler, rejected by the preprocessor!" >&5 12745 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 12746 { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: proceeding with the compiler's result" >&5 12747 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: proceeding with the compiler's result" >&2;} 12748 ac_header_preproc=yes 12749 ;; 12750 no:yes:* ) 12751 { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: present but cannot be compiled" >&5 12752 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: present but cannot be compiled" >&2;} 12753 { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: check for missing prerequisite headers?" >&5 12754 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: check for missing prerequisite headers?" >&2;} 12755 { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: see the Autoconf documentation" >&5 12756 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: see the Autoconf documentation" >&2;} 12757 { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: section \"Present But Cannot Be Compiled\"" >&5 12758 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: section \"Present But Cannot Be Compiled\"" >&2;} 12759 { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: proceeding with the preprocessor's result" >&5 12760 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: proceeding with the preprocessor's result" >&2;} 12761 { echo "$as_me:$LINENO: WARNING: opencore-amrnb/interf_enc.h: in the future, the compiler will take precedence" >&5 12762 echo "$as_me: WARNING: opencore-amrnb/interf_enc.h: in the future, the compiler will take precedence" >&2;} 12763 12764 ;; 12765 esac 12766 { echo "$as_me:$LINENO: checking for opencore-amrnb/interf_enc.h" >&5 12767 echo $ECHO_N "checking for opencore-amrnb/interf_enc.h... $ECHO_C" >&6; } 12768 if test "${ac_cv_header_opencore_amrnb_interf_enc_h+set}" = set; then 12769 echo $ECHO_N "(cached) $ECHO_C" >&6 12770 else 12771 ac_cv_header_opencore_amrnb_interf_enc_h=$ac_header_preproc 12772 fi 12773 { echo "$as_me:$LINENO: result: $ac_cv_header_opencore_amrnb_interf_enc_h" >&5 12774 echo "${ECHO_T}$ac_cv_header_opencore_amrnb_interf_enc_h" >&6; } 12775 12776 fi 12777 if test $ac_cv_header_opencore_amrnb_interf_enc_h = yes; then 6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenCORE AMR-NB installations.." >&5 6320 $as_echo "checking for OpenCORE AMR-NB installations.." >&6; } 6321 6322 6323 ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrnb/interf_enc.h" "ac_cv_header_opencore_amrnb_interf_enc_h" "$ac_includes_default" 6324 if test "x$ac_cv_header_opencore_amrnb_interf_enc_h" = x""yes; then : 12778 6325 opencore_amrnb_h_present=1 12779 6326 fi 12780 6327 12781 6328 12782 { echo "$as_me:$LINENO: checking for Encoder_Interface_init in -lopencore-amrnb" >&512783 echo $ECHO_N "checking for Encoder_Interface_init in -lopencore-amrnb... $ECHO_C" >&6; }12784 if test "${ac_cv_lib_opencore_amrnb_Encoder_Interface_init+set}" = set; then 12785 echo $ECHO_N "(cached) $ECHO_C" >&66329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Encoder_Interface_init in -lopencore-amrnb" >&5 6330 $as_echo_n "checking for Encoder_Interface_init in -lopencore-amrnb... " >&6; } 6331 if test "${ac_cv_lib_opencore_amrnb_Encoder_Interface_init+set}" = set; then : 6332 $as_echo_n "(cached) " >&6 12786 6333 else 12787 6334 ac_check_lib_save_LIBS=$LIBS 12788 6335 LIBS="-lopencore-amrnb $LIBS" 12789 cat >conftest.$ac_ext <<_ACEOF 12790 /* confdefs.h. */ 12791 _ACEOF 12792 cat confdefs.h >>conftest.$ac_ext 12793 cat >>conftest.$ac_ext <<_ACEOF 6336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12794 6337 /* end confdefs.h. */ 12795 6338 … … 12809 6352 } 12810 6353 _ACEOF 12811 rm -f conftest.$ac_objext conftest$ac_exeext 12812 if { (ac_try="$ac_link" 12813 case "(($ac_try" in 12814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12815 *) ac_try_echo=$ac_try;; 12816 esac 12817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12818 (eval "$ac_link") 2>conftest.er1 12819 ac_status=$? 12820 grep -v '^ *+' conftest.er1 >conftest.err 12821 rm -f conftest.er1 12822 cat conftest.err >&5 12823 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12824 (exit $ac_status); } && { 12825 test -z "$ac_c_werror_flag" || 12826 test ! -s conftest.err 12827 } && test -s conftest$ac_exeext && 12828 $as_test_x conftest$ac_exeext; then 6354 if ac_fn_c_try_link "$LINENO"; then : 12829 6355 ac_cv_lib_opencore_amrnb_Encoder_Interface_init=yes 12830 6356 else 12831 echo "$as_me: failed program was:" >&5 12832 sed 's/^/| /' conftest.$ac_ext >&5 12833 12834 ac_cv_lib_opencore_amrnb_Encoder_Interface_init=no 12835 fi 12836 12837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12838 conftest$ac_exeext conftest.$ac_ext 6357 ac_cv_lib_opencore_amrnb_Encoder_Interface_init=no 6358 fi 6359 rm -f core conftest.err conftest.$ac_objext \ 6360 conftest$ac_exeext conftest.$ac_ext 12839 6361 LIBS=$ac_check_lib_save_LIBS 12840 6362 fi 12841 { echo "$as_me:$LINENO: result: $ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&512842 echo "${ECHO_T}$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&6; }12843 if test $ac_cv_lib_opencore_amrnb_Encoder_Interface_init = yes; then6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&5 6364 $as_echo "$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" >&6; } 6365 if test "x$ac_cv_lib_opencore_amrnb_Encoder_Interface_init" = x""yes; then : 12844 6366 opencore_amrnb_present=1 && LIBS="$LIBS -lopencore-amrnb" 12845 6367 fi 12846 6368 12847 6369 if test "x$opencore_amrnb_h_present" = "x1" -a "x$opencore_amrnb_present" = "x1"; then 12848 { echo "$as_me:$LINENO: result: OpenCORE AMR-NB library found, AMR-NB support enabled" >&5 12849 echo "${ECHO_T}OpenCORE AMR-NB library found, AMR-NB support enabled" >&6; } 12850 cat >>confdefs.h <<\_ACEOF 12851 #define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 1 12852 _ACEOF 6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenCORE AMR-NB library found, AMR-NB support enabled" >&5 6371 $as_echo "OpenCORE AMR-NB library found, AMR-NB support enabled" >&6; } 6372 $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 1" >>confdefs.h 12853 6373 12854 6374 else 12855 6375 ac_no_opencore_amrnb=1 12856 cat >>confdefs.h <<\_ACEOF 12857 #define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0 12858 _ACEOF 6376 $as_echo "#define PJMEDIA_HAS_OPENCORE_AMRNB_CODEC 0" >>confdefs.h 12859 6377 12860 6378 fi … … 12865 6383 12866 6384 12867 { echo "$as_me:$LINENO: checking if select() needs correct nfds" >&512868 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6; }6385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&5 6386 $as_echo_n "checking if select() needs correct nfds... " >&6; } 12869 6387 case $target in 12870 *rtems*) cat >>confdefs.h <<\_ACEOF 12871 #define PJ_SELECT_NEEDS_NFDS 1 12872 _ACEOF 12873 12874 { echo "$as_me:$LINENO: result: yes" >&5 12875 echo "${ECHO_T}yes" >&6; } 6388 *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h 6389 6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6391 $as_echo "yes" >&6; } 12876 6392 ;; 12877 *) cat >>confdefs.h <<\_ACEOF 12878 #define PJ_SELECT_NEEDS_NFDS 0 12879 _ACEOF 12880 12881 { echo "$as_me:$LINENO: result: no (default)" >&5 12882 echo "${ECHO_T}no (default)" >&6; } 12883 { echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 12884 echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6; } 6393 *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h 6394 6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6396 $as_echo "no (default)" >&6; } 6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 6398 $as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } 12885 6399 ;; 12886 6400 esac 12887 6401 12888 { echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&512889 echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6; }6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&5 6403 $as_echo_n "checking if pj_thread_create() should enforce stack size... " >&6; } 12890 6404 case $target in 12891 *rtems*) cat >>confdefs.h <<\_ACEOF 12892 #define PJ_THREAD_SET_STACK_SIZE 1 12893 _ACEOF 12894 12895 { echo "$as_me:$LINENO: result: yes" >&5 12896 echo "${ECHO_T}yes" >&6; } 6405 *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h 6406 6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6408 $as_echo "yes" >&6; } 12897 6409 ;; 12898 *) cat >>confdefs.h <<\_ACEOF 12899 #define PJ_THREAD_SET_STACK_SIZE 0 12900 _ACEOF 12901 12902 { echo "$as_me:$LINENO: result: no (default)" >&5 12903 echo "${ECHO_T}no (default)" >&6; } 6410 *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h 6411 6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6413 $as_echo "no (default)" >&6; } 12904 6414 ;; 12905 6415 esac 12906 6416 12907 { echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&512908 echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6; }6417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&5 6418 $as_echo_n "checking if pj_thread_create() should allocate stack... " >&6; } 12909 6419 case $target in 12910 *rtems*) cat >>confdefs.h <<\_ACEOF 12911 #define PJ_THREAD_ALLOCATE_STACK 1 12912 _ACEOF 12913 12914 { echo "$as_me:$LINENO: result: yes" >&5 12915 echo "${ECHO_T}yes" >&6; } 6420 *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h 6421 6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6423 $as_echo "yes" >&6; } 12916 6424 ;; 12917 *) cat >>confdefs.h <<\_ACEOF 12918 #define PJ_THREAD_ALLOCATE_STACK 0 12919 _ACEOF 12920 12921 { echo "$as_me:$LINENO: result: no (default)" >&5 12922 echo "${ECHO_T}no (default)" >&6; } 6425 *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h 6426 6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6428 $as_echo "no (default)" >&6; } 12923 6429 ;; 12924 6430 esac … … 12926 6432 case $target in 12927 6433 *mingw* | *cygw* | *win32* | *w32* ) 12928 cat >>confdefs.h <<\_ACEOF 12929 #define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 12930 _ACEOF 6434 $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 12931 6435 12932 6436 ;; 12933 *) cat >>confdefs.h <<\_ACEOF 12934 #define PJ_BLOCKING_ERROR_VAL EAGAIN 12935 _ACEOF 12936 12937 { echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 12938 echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 6437 *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h 6438 6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 6440 $as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 12939 6441 ;; 12940 6442 esac … … 12942 6444 case $target in 12943 6445 *mingw* | *cygw* | *win32* | *w32* ) 12944 cat >>confdefs.h <<\_ACEOF 12945 #define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 12946 _ACEOF 6446 $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 12947 6447 12948 6448 ;; 12949 *) cat >>confdefs.h <<\_ACEOF 12950 #define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 12951 _ACEOF 12952 12953 { echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 12954 echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 6449 *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h 6450 6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 6452 $as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 12955 6453 ;; 12956 6454 esac … … 13007 6505 *${as_nl}*) 13008 6506 case $ac_var in #( 13009 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&513010 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;6507 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6508 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13011 6509 esac 13012 6510 case $ac_var in #( 13013 6511 _ | IFS | as_nl) ;; #( 13014 *) $as_unset $ac_var ;; 6512 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6513 *) { eval $ac_var=; unset $ac_var;} ;; 13015 6514 esac ;; 13016 6515 esac … … 13020 6519 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13021 6520 *${as_nl}ac_space=\ *) 13022 # `set' does not quote correctly, so add quotes (double-quote13023 # substitution turns \\\\ into \\, and sed turns \\ into \ ).6521 # `set' does not quote correctly, so add quotes: double-quote 6522 # substitution turns \\\\ into \\, and sed turns \\ into \. 13024 6523 sed -n \ 13025 6524 "s/'/'\\\\''/g; … … 13044 6543 if test -w "$cache_file"; then 13045 6544 test "x$cache_file" != "x/dev/null" && 13046 { echo "$as_me:$LINENO: updating cache $cache_file" >&513047 echo "$as_me: updating cache $cache_file" >&6;}6545 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6546 $as_echo "$as_me: updating cache $cache_file" >&6;} 13048 6547 cat confcache >$cache_file 13049 6548 else 13050 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&513051 echo "$as_me: not updating unwritable cache $cache_file" >&6;}6549 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6550 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13052 6551 fi 13053 6552 fi … … 13065 6564 # 1. Remove the extension, and $U if already installed. 13066 6565 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13067 ac_i=` echo "$ac_i" | sed "$ac_script"`6566 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13068 6567 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13069 6568 # will be set to the directory where LIBOBJS objects are built. 13070 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"13071 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'6569 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6570 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13072 6571 done 13073 6572 LIBOBJS=$ac_libobjs … … 13077 6576 13078 6577 6578 13079 6579 : ${CONFIG_STATUS=./config.status} 6580 ac_write_fail=0 13080 6581 ac_clean_files_save=$ac_clean_files 13081 6582 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13082 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 13083 echo "$as_me: creating $CONFIG_STATUS" >&6;} 13084 cat >$CONFIG_STATUS <<_ACEOF 6583 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6584 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6585 as_write_fail=0 6586 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13085 6587 #! $SHELL 13086 6588 # Generated by $as_me. … … 13092 6594 ac_cs_recheck=false 13093 6595 ac_cs_silent=false 6596 13094 6597 SHELL=\${CONFIG_SHELL-$SHELL} 13095 _ACEOF 13096 13097 cat >>$CONFIG_STATUS <<\_A CEOF13098 ## -------------------- -##13099 ## M4sh Initialization. 13100 ## -------------------- -##6598 export SHELL 6599 _ASEOF 6600 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6601 ## -------------------- ## 6602 ## M4sh Initialization. ## 6603 ## -------------------- ## 13101 6604 13102 6605 # Be more Bourne compatible 13103 6606 DUALCASE=1; export DUALCASE # for MKS sh 13104 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6607 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13105 6608 emulate sh 13106 6609 NULLCMD=: 13107 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which6610 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13108 6611 # is contrary to our usage. Disable this feature. 13109 6612 alias -g '${1+"$@"}'='"$@"' 13110 6613 setopt NO_GLOB_SUBST 13111 6614 else 13112 case `(set -o) 2>/dev/null` in 13113 *posix*) set -o posix ;; 6615 case `(set -o) 2>/dev/null` in #( 6616 *posix*) : 6617 set -o posix ;; #( 6618 *) : 6619 ;; 13114 6620 esac 13115 13116 fi 13117 13118 13119 13120 13121 # PATH needs CR 13122 # Avoid depending upon Character Ranges. 13123 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13124 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13125 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13126 as_cr_digits='0123456789' 13127 as_cr_alnum=$as_cr_Letters$as_cr_digits 6621 fi 6622 6623 6624 as_nl=' 6625 ' 6626 export as_nl 6627 # Printing a long string crashes Solaris 7 /usr/bin/printf. 6628 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6629 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6630 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6631 # Prefer a ksh shell builtin over an external printf program on Solaris, 6632 # but without wasting forks for bash or zsh. 6633 if test -z "$BASH_VERSION$ZSH_VERSION" \ 6634 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6635 as_echo='print -r --' 6636 as_echo_n='print -rn --' 6637 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6638 as_echo='printf %s\n' 6639 as_echo_n='printf %s' 6640 else 6641 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6642 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6643 as_echo_n='/usr/ucb/echo -n' 6644 else 6645 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6646 as_echo_n_body='eval 6647 arg=$1; 6648 case $arg in #( 6649 *"$as_nl"*) 6650 expr "X$arg" : "X\\(.*\\)$as_nl"; 6651 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6652 esac; 6653 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6654 ' 6655 export as_echo_n_body 6656 as_echo_n='sh -c $as_echo_n_body as_echo' 6657 fi 6658 export as_echo_body 6659 as_echo='sh -c $as_echo_body as_echo' 6660 fi 13128 6661 13129 6662 # The user is always right. 13130 6663 if test "${PATH_SEPARATOR+set}" != set; then 13131 echo "#! /bin/sh" >conf$$.sh 13132 echo "exit 0" >>conf$$.sh 13133 chmod +x conf$$.sh 13134 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 13135 PATH_SEPARATOR=';' 13136 else 13137 PATH_SEPARATOR=: 13138 fi 13139 rm -f conf$$.sh 13140 fi 13141 13142 # Support unset when possible. 13143 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 13144 as_unset=unset 13145 else 13146 as_unset=false 6664 PATH_SEPARATOR=: 6665 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6666 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6667 PATH_SEPARATOR=';' 6668 } 13147 6669 fi 13148 6670 … … 13153 6675 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 13154 6676 # splitting by setting IFS to empty value.) 13155 as_nl='13156 '13157 6677 IFS=" "" $as_nl" 13158 6678 13159 6679 # Find who we are. Look in the path if we contain no directory separator. 13160 case $0 in 6680 case $0 in #(( 13161 6681 *[\\/]* ) as_myself=$0 ;; 13162 6682 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 13165 6685 IFS=$as_save_IFS 13166 6686 test -z "$as_dir" && as_dir=. 13167 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break13168 done6687 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6688 done 13169 6689 IFS=$as_save_IFS 13170 6690 … … 13177 6697 fi 13178 6698 if test ! -f "$as_myself"; then 13179 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13180 { (exit 1); exit 1; } 13181 fi 13182 13183 # Work around bugs in pre-3.0 UWIN ksh. 13184 for as_var in ENV MAIL MAILPATH 13185 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6699 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6700 exit 1 6701 fi 6702 6703 # Unset variables that we do not need and which cause bugs (e.g. in 6704 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6705 # suppresses any "Segmentation fault" message there. '((' could 6706 # trigger a bug in pdksh 5.2.14. 6707 for as_var in BASH_ENV ENV MAIL MAILPATH 6708 do eval test x\${$as_var+set} = xset \ 6709 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13186 6710 done 13187 6711 PS1='$ ' … … 13190 6714 13191 6715 # NLS nuisances. 13192 for as_var in \ 13193 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 13194 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 13195 LC_TELEPHONE LC_TIME 13196 do 13197 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 13198 eval $as_var=C; export $as_var 13199 else 13200 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6716 LC_ALL=C 6717 export LC_ALL 6718 LANGUAGE=C 6719 export LANGUAGE 6720 6721 # CDPATH. 6722 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6723 6724 6725 # as_fn_error ERROR [LINENO LOG_FD] 6726 # --------------------------------- 6727 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6728 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6729 # script with status $?, using 1 if that was 0. 6730 as_fn_error () 6731 { 6732 as_status=$?; test $as_status -eq 0 && as_status=1 6733 if test "$3"; then 6734 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6735 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 13201 6736 fi 13202 done 13203 13204 # Required to use basename. 6737 $as_echo "$as_me: error: $1" >&2 6738 as_fn_exit $as_status 6739 } # as_fn_error 6740 6741 6742 # as_fn_set_status STATUS 6743 # ----------------------- 6744 # Set $? to STATUS, without forking. 6745 as_fn_set_status () 6746 { 6747 return $1 6748 } # as_fn_set_status 6749 6750 # as_fn_exit STATUS 6751 # ----------------- 6752 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6753 as_fn_exit () 6754 { 6755 set +e 6756 as_fn_set_status $1 6757 exit $1 6758 } # as_fn_exit 6759 6760 # as_fn_unset VAR 6761 # --------------- 6762 # Portably unset VAR. 6763 as_fn_unset () 6764 { 6765 { eval $1=; unset $1;} 6766 } 6767 as_unset=as_fn_unset 6768 # as_fn_append VAR VALUE 6769 # ---------------------- 6770 # Append the text in VALUE to the end of the definition contained in VAR. Take 6771 # advantage of any shell optimizations that allow amortized linear growth over 6772 # repeated appends, instead of the typical quadratic growth present in naive 6773 # implementations. 6774 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6775 eval 'as_fn_append () 6776 { 6777 eval $1+=\$2 6778 }' 6779 else 6780 as_fn_append () 6781 { 6782 eval $1=\$$1\$2 6783 } 6784 fi # as_fn_append 6785 6786 # as_fn_arith ARG... 6787 # ------------------ 6788 # Perform arithmetic evaluation on the ARGs, and store the result in the 6789 # global $as_val. Take advantage of shells that can avoid forks. The arguments 6790 # must be portable across $(()) and expr. 6791 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6792 eval 'as_fn_arith () 6793 { 6794 as_val=$(( $* )) 6795 }' 6796 else 6797 as_fn_arith () 6798 { 6799 as_val=`expr "$@" || test $? -eq 1` 6800 } 6801 fi # as_fn_arith 6802 6803 13205 6804 if expr a : '\(a\)' >/dev/null 2>&1 && 13206 6805 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 13216 6815 fi 13217 6816 13218 13219 # Name of the executable. 6817 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6818 as_dirname=dirname 6819 else 6820 as_dirname=false 6821 fi 6822 13220 6823 as_me=`$as_basename -- "$0" || 13221 6824 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13222 6825 X"$0" : 'X\(//\)$' \| \ 13223 6826 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13224 echo X/"$0" |6827 $as_echo X/"$0" | 13225 6828 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13226 6829 s//\1/ … … 13237 6840 s/.*/./; q'` 13238 6841 13239 # CDPATH. 13240 $as_unset CDPATH 13241 13242 13243 13244 as_lineno_1=$LINENO 13245 as_lineno_2=$LINENO 13246 test "x$as_lineno_1" != "x$as_lineno_2" && 13247 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 13248 13249 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 13250 # uniformly replaced by the line number. The first 'sed' inserts a 13251 # line-number line after each line using $LINENO; the second 'sed' 13252 # does the real work. The second script uses 'N' to pair each 13253 # line-number line with the line containing $LINENO, and appends 13254 # trailing '-' during substitution so that $LINENO is not a special 13255 # case at line end. 13256 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 13257 # scripts with optimization help from Paolo Bonzini. Blame Lee 13258 # E. McMahon (1931-1989) for sed's syntax. :-) 13259 sed -n ' 13260 p 13261 /[$]LINENO/= 13262 ' <$as_myself | 13263 sed ' 13264 s/[$]LINENO.*/&-/ 13265 t lineno 13266 b 13267 :lineno 13268 N 13269 :loop 13270 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 13271 t loop 13272 s/-\n.*// 13273 ' >$as_me.lineno && 13274 chmod +x "$as_me.lineno" || 13275 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 13276 { (exit 1); exit 1; }; } 13277 13278 # Don't try to exec as it changes $[0], causing all sort of problems 13279 # (the dirname of $[0] is not the place where we might find the 13280 # original and so on. Autoconf is especially sensitive to this). 13281 . "./$as_me.lineno" 13282 # Exit status is that of the last command. 13283 exit 13284 } 13285 13286 13287 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13288 as_dirname=dirname 13289 else 13290 as_dirname=false 13291 fi 6842 # Avoid depending upon Character Ranges. 6843 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6844 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6845 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6846 as_cr_digits='0123456789' 6847 as_cr_alnum=$as_cr_Letters$as_cr_digits 13292 6848 13293 6849 ECHO_C= ECHO_N= ECHO_T= 13294 case `echo -n x` in 6850 case `echo -n x` in #((((( 13295 6851 -n*) 13296 case `echo 'x \c'` in6852 case `echo 'xy\c'` in 13297 6853 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13298 *) ECHO_C='\c';; 6854 xy) ECHO_C='\c';; 6855 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 6856 ECHO_T=' ';; 13299 6857 esac;; 13300 6858 *) … … 13302 6860 esac 13303 6861 13304 if expr a : '\(a\)' >/dev/null 2>&1 &&13305 test "X`expr 00001 : '.*\(...\)'`" = X001; then13306 as_expr=expr13307 else13308 as_expr=false13309 fi13310 13311 6862 rm -f conf$$ conf$$.exe conf$$.file 13312 6863 if test -d conf$$.dir; then … … 13314 6865 else 13315 6866 rm -f conf$$.dir 13316 mkdir conf$$.dir 13317 fi 13318 echo >conf$$.file 13319 if ln -s conf$$.file conf$$ 2>/dev/null; then 13320 as_ln_s='ln -s' 13321 # ... but there are two gotchas: 13322 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13323 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13324 # In both cases, we have to default to `cp -p'. 13325 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6867 mkdir conf$$.dir 2>/dev/null 6868 fi 6869 if (echo >conf$$.file) 2>/dev/null; then 6870 if ln -s conf$$.file conf$$ 2>/dev/null; then 6871 as_ln_s='ln -s' 6872 # ... but there are two gotchas: 6873 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6874 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6875 # In both cases, we have to default to `cp -p'. 6876 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6877 as_ln_s='cp -p' 6878 elif ln conf$$.file conf$$ 2>/dev/null; then 6879 as_ln_s=ln 6880 else 13326 6881 as_ln_s='cp -p' 13327 elif ln conf$$.file conf$$ 2>/dev/null; then 13328 as_ln_s=ln 6882 fi 13329 6883 else 13330 6884 as_ln_s='cp -p' … … 13333 6887 rmdir conf$$.dir 2>/dev/null 13334 6888 13335 if mkdir -p . 2>/dev/null; then 13336 as_mkdir_p=: 13337 else 13338 test -d ./-p && rmdir ./-p 13339 as_mkdir_p=false 13340 fi 13341 13342 if test -x / >/dev/null 2>&1; then 13343 as_test_x='test -x' 13344 else 13345 if ls -dL / >/dev/null 2>&1; then 13346 as_ls_L_option=L 13347 else 13348 as_ls_L_option= 13349 fi 13350 as_test_x=' 13351 eval sh -c '\'' 13352 if test -d "$1"; then 13353 test -d "$1/."; 13354 else 13355 case $1 in 13356 -*)set "./$1";; 13357 esac; 13358 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 13359 ???[sx]*):;;*)false;;esac;fi 13360 '\'' sh 13361 ' 13362 fi 13363 as_executable_p=$as_test_x 13364 13365 # Sed expression to map a string onto a valid CPP name. 13366 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13367 13368 # Sed expression to map a string onto a valid variable name. 13369 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13370 13371 13372 exec 6>&1 13373 13374 # Save the log message, to keep $[0] and so on meaningful, and to 13375 # report actual input values of CONFIG_FILES etc. instead of their 13376 # values after options handling. 13377 ac_log=" 13378 This file was extended by pjproject $as_me 1.x, which was 13379 generated by GNU Autoconf 2.61. Invocation command line was 13380 13381 CONFIG_FILES = $CONFIG_FILES 13382 CONFIG_HEADERS = $CONFIG_HEADERS 13383 CONFIG_LINKS = $CONFIG_LINKS 13384 CONFIG_COMMANDS = $CONFIG_COMMANDS 13385 $ $0 $@ 13386 13387 on `(hostname || uname -n) 2>/dev/null | sed 1q` 13388 " 13389 13390 _ACEOF 13391 13392 cat >>$CONFIG_STATUS <<_ACEOF 13393 # Files that config.status was made for. 13394 config_files="$ac_config_files" 13395 config_headers="$ac_config_headers" 13396 13397 _ACEOF 13398 13399 cat >>$CONFIG_STATUS <<\_ACEOF 13400 ac_cs_usage="\ 13401 \`$as_me' instantiates files from templates according to the 13402 current configuration. 13403 13404 Usage: $0 [OPTIONS] [FILE]... 13405 13406 -h, --help print this help, then exit 13407 -V, --version print version number and configuration settings, then exit 13408 -q, --quiet do not print progress messages 13409 -d, --debug don't remove temporary files 13410 --recheck update $as_me by reconfiguring in the same conditions 13411 --file=FILE[:TEMPLATE] 13412 instantiate the configuration file FILE 13413 --header=FILE[:TEMPLATE] 13414 instantiate the configuration header FILE 13415 13416 Configuration files: 13417 $config_files 13418 13419 Configuration headers: 13420 $config_headers 13421 13422 Report bugs to <bug-autoconf@gnu.org>." 13423 13424 _ACEOF 13425 cat >>$CONFIG_STATUS <<_ACEOF 13426 ac_cs_version="\\ 13427 pjproject config.status 1.x 13428 configured by $0, generated by GNU Autoconf 2.61, 13429 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 13430 13431 Copyright (C) 2006 Free Software Foundation, Inc. 13432 This config.status script is free software; the Free Software Foundation 13433 gives unlimited permission to copy, distribute and modify it." 13434 13435 ac_pwd='$ac_pwd' 13436 srcdir='$srcdir' 13437 _ACEOF 13438 13439 cat >>$CONFIG_STATUS <<\_ACEOF 13440 # If no file are specified by the user, then we need to provide default 13441 # value. By we need to know if files were specified by the user. 13442 ac_need_defaults=: 13443 while test $# != 0 13444 do 13445 case $1 in 13446 --*=*) 13447 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13448 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13449 ac_shift=: 13450 ;; 13451 *) 13452 ac_option=$1 13453 ac_optarg=$2 13454 ac_shift=shift 13455 ;; 13456 esac 13457 13458 case $ac_option in 13459 # Handling of the options. 13460 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13461 ac_cs_recheck=: ;; 13462 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13463 echo "$ac_cs_version"; exit ;; 13464 --debug | --debu | --deb | --de | --d | -d ) 13465 debug=: ;; 13466 --file | --fil | --fi | --f ) 13467 $ac_shift 13468 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 13469 ac_need_defaults=false;; 13470 --header | --heade | --head | --hea ) 13471 $ac_shift 13472 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 13473 ac_need_defaults=false;; 13474 --he | --h) 13475 # Conflict between --help and --header 13476 { echo "$as_me: error: ambiguous option: $1 13477 Try \`$0 --help' for more information." >&2 13478 { (exit 1); exit 1; }; };; 13479 --help | --hel | -h ) 13480 echo "$ac_cs_usage"; exit ;; 13481 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13482 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13483 ac_cs_silent=: ;; 13484 13485 # This is an error. 13486 -*) { echo "$as_me: error: unrecognized option: $1 13487 Try \`$0 --help' for more information." >&2 13488 { (exit 1); exit 1; }; } ;; 13489 13490 *) ac_config_targets="$ac_config_targets $1" 13491 ac_need_defaults=false ;; 13492 13493 esac 13494 shift 13495 done 13496 13497 ac_configure_extra_args= 13498 13499 if $ac_cs_silent; then 13500 exec 6>/dev/null 13501 ac_configure_extra_args="$ac_configure_extra_args --silent" 13502 fi 13503 13504 _ACEOF 13505 cat >>$CONFIG_STATUS <<_ACEOF 13506 if \$ac_cs_recheck; then 13507 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 13508 CONFIG_SHELL=$SHELL 13509 export CONFIG_SHELL 13510 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13511 fi 13512 13513 _ACEOF 13514 cat >>$CONFIG_STATUS <<\_ACEOF 13515 exec 5>>config.log 13516 { 13517 echo 13518 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13519 ## Running $as_me. ## 13520 _ASBOX 13521 echo "$ac_log" 13522 } >&5 13523 13524 _ACEOF 13525 cat >>$CONFIG_STATUS <<_ACEOF 13526 _ACEOF 13527 13528 cat >>$CONFIG_STATUS <<\_ACEOF 13529 13530 # Handling of arguments. 13531 for ac_config_target in $ac_config_targets 13532 do 13533 case $ac_config_target in 13534 "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 13535 "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 13536 "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 13537 "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 13538 "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 13539 "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 13540 "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 13541 "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 13542 "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 13543 "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 13544 "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 13545 "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 13546 "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 13547 "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 13548 13549 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13550 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13551 { (exit 1); exit 1; }; };; 13552 esac 13553 done 13554 13555 13556 # If the user did not use the arguments to specify the items to instantiate, 13557 # then the envvar interface is used. Set only those that are not. 13558 # We use the long form for the default assignment because of an extremely 13559 # bizarre bug on SunOS 4.1.3. 13560 if $ac_need_defaults; then 13561 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13562 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13563 fi 13564 13565 # Have a temporary directory for convenience. Make it in the build tree 13566 # simply because there is no reason against having it here, and in addition, 13567 # creating and moving files from /tmp can sometimes cause problems. 13568 # Hook for its removal unless debugging. 13569 # Note that there is a small window in which the directory will not be cleaned: 13570 # after its creation but before its name has been assigned to `$tmp'. 13571 $debug || 13572 { 13573 tmp= 13574 trap 'exit_status=$? 13575 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 13576 ' 0 13577 trap '{ (exit 1); exit 1; }' 1 2 13 15 13578 } 13579 # Create a (secure) tmp directory for tmp files. 13580 13581 { 13582 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13583 test -n "$tmp" && test -d "$tmp" 13584 } || 13585 { 13586 tmp=./conf$$-$RANDOM 13587 (umask 077 && mkdir "$tmp") 13588 } || 13589 { 13590 echo "$me: cannot create a temporary directory in ." >&2 13591 { (exit 1); exit 1; } 13592 } 13593 13594 # 13595 # Set up the sed scripts for CONFIG_FILES section. 13596 # 13597 13598 # No need to generate the scripts if there are no CONFIG_FILES. 13599 # This happens for instance when ./config.status config.h 13600 if test -n "$CONFIG_FILES"; then 13601 13602 _ACEOF 13603 13604 13605 13606 ac_delim='%!_!# ' 13607 for ac_last_try in false false false false false :; do 13608 cat >conf$$subs.sed <<_ACEOF 13609 SHELL!$SHELL$ac_delim 13610 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 13611 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 13612 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 13613 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 13614 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 13615 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 13616 exec_prefix!$exec_prefix$ac_delim 13617 prefix!$prefix$ac_delim 13618 program_transform_name!$program_transform_name$ac_delim 13619 bindir!$bindir$ac_delim 13620 sbindir!$sbindir$ac_delim 13621 libexecdir!$libexecdir$ac_delim 13622 datarootdir!$datarootdir$ac_delim 13623 datadir!$datadir$ac_delim 13624 sysconfdir!$sysconfdir$ac_delim 13625 sharedstatedir!$sharedstatedir$ac_delim 13626 localstatedir!$localstatedir$ac_delim 13627 includedir!$includedir$ac_delim 13628 oldincludedir!$oldincludedir$ac_delim 13629 docdir!$docdir$ac_delim 13630 infodir!$infodir$ac_delim 13631 htmldir!$htmldir$ac_delim 13632 dvidir!$dvidir$ac_delim 13633 pdfdir!$pdfdir$ac_delim 13634 psdir!$psdir$ac_delim 13635 libdir!$libdir$ac_delim 13636 localedir!$localedir$ac_delim 13637 mandir!$mandir$ac_delim 13638 DEFS!$DEFS$ac_delim 13639 ECHO_C!$ECHO_C$ac_delim 13640 ECHO_N!$ECHO_N$ac_delim 13641 ECHO_T!$ECHO_T$ac_delim 13642 LIBS!$LIBS$ac_delim 13643 build_alias!$build_alias$ac_delim 13644 host_alias!$host_alias$ac_delim 13645 target_alias!$target_alias$ac_delim 13646 build!$build$ac_delim 13647 build_cpu!$build_cpu$ac_delim 13648 build_vendor!$build_vendor$ac_delim 13649 build_os!$build_os$ac_delim 13650 host!$host$ac_delim 13651 host_cpu!$host_cpu$ac_delim 13652 host_vendor!$host_vendor$ac_delim 13653 host_os!$host_os$ac_delim 13654 target!$target$ac_delim 13655 target_cpu!$target_cpu$ac_delim 13656 target_vendor!$target_vendor$ac_delim 13657 target_os!$target_os$ac_delim 13658 CC!$CC$ac_delim 13659 CFLAGS!$CFLAGS$ac_delim 13660 LDFLAGS!$LDFLAGS$ac_delim 13661 CPPFLAGS!$CPPFLAGS$ac_delim 13662 ac_ct_CC!$ac_ct_CC$ac_delim 13663 EXEEXT!$EXEEXT$ac_delim 13664 OBJEXT!$OBJEXT$ac_delim 13665 CXX!$CXX$ac_delim 13666 CXXFLAGS!$CXXFLAGS$ac_delim 13667 ac_ct_CXX!$ac_ct_CXX$ac_delim 13668 AR!$AR$ac_delim 13669 LD!$LD$ac_delim 13670 LDOUT!$LDOUT$ac_delim 13671 RANLIB!$RANLIB$ac_delim 13672 LIBEXT!$LIBEXT$ac_delim 13673 LIBEXT2!$LIBEXT2$ac_delim 13674 CC_OUT!$CC_OUT$ac_delim 13675 CC_INC!$CC_INC$ac_delim 13676 CC_DEF!$CC_DEF$ac_delim 13677 CC_OPTIMIZE!$CC_OPTIMIZE$ac_delim 13678 CC_CFLAGS!$CC_CFLAGS$ac_delim 13679 ac_pjdir!$ac_pjdir$ac_delim 13680 ac_build_mak_vars!$ac_build_mak_vars$ac_delim 13681 ac_shlib_suffix!$ac_shlib_suffix$ac_delim 13682 CPP!$CPP$ac_delim 13683 GREP!$GREP$ac_delim 13684 EGREP!$EGREP$ac_delim 13685 ac_os_objs!$ac_os_objs$ac_delim 13686 ac_external_speex!$ac_external_speex$ac_delim 13687 ac_external_gsm!$ac_external_gsm$ac_delim 13688 ac_pjmedia_snd!$ac_pjmedia_snd$ac_delim 13689 ac_external_pa!$ac_external_pa$ac_delim 13690 ac_pa_cflags!$ac_pa_cflags$ac_delim 13691 ac_pa_use_alsa!$ac_pa_use_alsa$ac_delim 13692 ac_pa_use_oss!$ac_pa_use_oss$ac_delim 13693 ac_no_small_filter!$ac_no_small_filter$ac_delim 13694 ac_no_large_filter!$ac_no_large_filter$ac_delim 13695 ac_no_speex_aec!$ac_no_speex_aec$ac_delim 13696 ac_no_g711_codec!$ac_no_g711_codec$ac_delim 13697 ac_no_l16_codec!$ac_no_l16_codec$ac_delim 13698 ac_no_gsm_codec!$ac_no_gsm_codec$ac_delim 13699 ac_no_g722_codec!$ac_no_g722_codec$ac_delim 13700 ac_no_g7221_codec!$ac_no_g7221_codec$ac_delim 13701 ac_no_speex_codec!$ac_no_speex_codec$ac_delim 13702 ac_no_ilbc_codec!$ac_no_ilbc_codec$ac_delim 13703 ac_resample_dll!$ac_resample_dll$ac_delim 13704 ac_no_ssl!$ac_no_ssl$ac_delim 13705 openssl_h_present!$openssl_h_present$ac_delim 13706 _ACEOF 13707 13708 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 13709 break 13710 elif $ac_last_try; then 13711 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13712 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13713 { (exit 1); exit 1; }; } 13714 else 13715 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13716 fi 13717 done 13718 13719 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 13720 if test -n "$ac_eof"; then 13721 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 13722 ac_eof=`expr $ac_eof + 1` 13723 fi 13724 13725 cat >>$CONFIG_STATUS <<_ACEOF 13726 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 13727 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13728 _ACEOF 13729 sed ' 13730 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 13731 s/^/s,@/; s/!/@,|#_!!_#|/ 13732 :n 13733 t n 13734 s/'"$ac_delim"'$/,g/; t 13735 s/$/\\/; p 13736 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 13737 ' >>$CONFIG_STATUS <conf$$subs.sed 13738 rm -f conf$$subs.sed 13739 cat >>$CONFIG_STATUS <<_ACEOF 13740 CEOF$ac_eof 13741 _ACEOF 13742 13743 13744 ac_delim='%!_!# ' 13745 for ac_last_try in false false false false false :; do 13746 cat >conf$$subs.sed <<_ACEOF 13747 libssl_present!$libssl_present$ac_delim 13748 libcrypto_present!$libcrypto_present$ac_delim 13749 ac_no_opencore_amrnb!$ac_no_opencore_amrnb$ac_delim 13750 opencore_amrnb_h_present!$opencore_amrnb_h_present$ac_delim 13751 opencore_amrnb_present!$opencore_amrnb_present$ac_delim 13752 ac_cross_compile!$ac_cross_compile$ac_delim 13753 ac_linux_poll!$ac_linux_poll$ac_delim 13754 ac_host!$ac_host$ac_delim 13755 ac_main_obj!$ac_main_obj$ac_delim 13756 LIBOBJS!$LIBOBJS$ac_delim 13757 LTLIBOBJS!$LTLIBOBJS$ac_delim 13758 _ACEOF 13759 13760 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 11; then 13761 break 13762 elif $ac_last_try; then 13763 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 13764 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 13765 { (exit 1); exit 1; }; } 13766 else 13767 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 13768 fi 13769 done 13770 13771 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 13772 if test -n "$ac_eof"; then 13773 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 13774 ac_eof=`expr $ac_eof + 1` 13775 fi 13776 13777 cat >>$CONFIG_STATUS <<_ACEOF 13778 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 13779 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 13780 _ACEOF 13781 sed ' 13782 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 13783 s/^/s,@/; s/!/@,|#_!!_#|/ 13784 :n 13785 t n 13786 s/'"$ac_delim"'$/,g/; t 13787 s/$/\\/; p 13788 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 13789 ' >>$CONFIG_STATUS <conf$$subs.sed 13790 rm -f conf$$subs.sed 13791 cat >>$CONFIG_STATUS <<_ACEOF 13792 :end 13793 s/|#_!!_#|//g 13794 CEOF$ac_eof 13795 _ACEOF 13796 13797 13798 # VPATH may cause trouble with some makes, so we remove $(srcdir), 13799 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 13800 # trailing colons and then remove the whole line if VPATH becomes empty 13801 # (actually we leave an empty line to preserve line numbers). 13802 if test "x$srcdir" = x.; then 13803 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 13804 s/:*\$(srcdir):*/:/ 13805 s/:*\${srcdir}:*/:/ 13806 s/:*@srcdir@:*/:/ 13807 s/^\([^=]*=[ ]*\):*/\1/ 13808 s/:*$// 13809 s/^[^=]*=[ ]*$// 13810 }' 13811 fi 13812 13813 cat >>$CONFIG_STATUS <<\_ACEOF 13814 fi # test -n "$CONFIG_FILES" 13815 13816 13817 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 13818 do 13819 case $ac_tag in 13820 :[FHLC]) ac_mode=$ac_tag; continue;; 13821 esac 13822 case $ac_mode$ac_tag in 13823 :[FHL]*:*);; 13824 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 13825 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 13826 { (exit 1); exit 1; }; };; 13827 :[FH]-) ac_tag=-:-;; 13828 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13829 esac 13830 ac_save_IFS=$IFS 13831 IFS=: 13832 set x $ac_tag 13833 IFS=$ac_save_IFS 13834 shift 13835 ac_file=$1 13836 shift 13837 13838 case $ac_mode in 13839 :L) ac_source=$1;; 13840 :[FH]) 13841 ac_file_inputs= 13842 for ac_f 13843 do 13844 case $ac_f in 13845 -) ac_f="$tmp/stdin";; 13846 *) # Look for the file first in the build tree, then in the source tree 13847 # (if the path is not absolute). The absolute path cannot be DOS-style, 13848 # because $ac_f cannot contain `:'. 13849 test -f "$ac_f" || 13850 case $ac_f in 13851 [\\/$]*) false;; 13852 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13853 esac || 13854 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 13855 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 13856 { (exit 1); exit 1; }; };; 13857 esac 13858 ac_file_inputs="$ac_file_inputs $ac_f" 13859 done 13860 13861 # Let's still pretend it is `configure' which instantiates (i.e., don't 13862 # use $as_me), people would be surprised to read: 13863 # /* config.h. Generated by config.status. */ 13864 configure_input="Generated from "`IFS=: 13865 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 13866 if test x"$ac_file" != x-; then 13867 configure_input="$ac_file. $configure_input" 13868 { echo "$as_me:$LINENO: creating $ac_file" >&5 13869 echo "$as_me: creating $ac_file" >&6;} 13870 fi 13871 13872 case $ac_tag in 13873 *:-:* | *:-) cat >"$tmp/stdin";; 13874 esac 13875 ;; 13876 esac 13877 13878 ac_dir=`$as_dirname -- "$ac_file" || 13879 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13880 X"$ac_file" : 'X\(//\)[^/]' \| \ 13881 X"$ac_file" : 'X\(//\)$' \| \ 13882 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13883 echo X"$ac_file" | 13884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13885 s//\1/ 13886 q 13887 } 13888 /^X\(\/\/\)[^/].*/{ 13889 s//\1/ 13890 q 13891 } 13892 /^X\(\/\/\)$/{ 13893 s//\1/ 13894 q 13895 } 13896 /^X\(\/\).*/{ 13897 s//\1/ 13898 q 13899 } 13900 s/.*/./; q'` 13901 { as_dir="$ac_dir" 6889 6890 # as_fn_mkdir_p 6891 # ------------- 6892 # Create "$as_dir" as a directory, including parents if necessary. 6893 as_fn_mkdir_p () 6894 { 6895 13902 6896 case $as_dir in #( 13903 6897 -*) as_dir=./$as_dir;; 13904 6898 esac 13905 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; }|| {6899 test -d "$as_dir" || eval $as_mkdir_p || { 13906 6900 as_dirs= 13907 6901 while :; do 13908 6902 case $as_dir in #( 13909 *\'*) as_qdir=` echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(6903 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13910 6904 *) as_qdir=$as_dir;; 13911 6905 esac … … 13916 6910 X"$as_dir" : 'X\(//\)$' \| \ 13917 6911 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13918 echo X"$as_dir" |6912 $as_echo X"$as_dir" | 13919 6913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13920 6914 s//\1/ … … 13937 6931 done 13938 6932 test -z "$as_dirs" || eval "mkdir $as_dirs" 13939 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 13940 echo "$as_me: error: cannot create directory $as_dir" >&2;} 13941 { (exit 1); exit 1; }; }; } 6933 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 6934 6935 6936 } # as_fn_mkdir_p 6937 if mkdir -p . 2>/dev/null; then 6938 as_mkdir_p='mkdir -p "$as_dir"' 6939 else 6940 test -d ./-p && rmdir ./-p 6941 as_mkdir_p=false 6942 fi 6943 6944 if test -x / >/dev/null 2>&1; then 6945 as_test_x='test -x' 6946 else 6947 if ls -dL / >/dev/null 2>&1; then 6948 as_ls_L_option=L 6949 else 6950 as_ls_L_option= 6951 fi 6952 as_test_x=' 6953 eval sh -c '\'' 6954 if test -d "$1"; then 6955 test -d "$1/."; 6956 else 6957 case $1 in #( 6958 -*)set "./$1";; 6959 esac; 6960 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 6961 ???[sx]*):;;*)false;;esac;fi 6962 '\'' sh 6963 ' 6964 fi 6965 as_executable_p=$as_test_x 6966 6967 # Sed expression to map a string onto a valid CPP name. 6968 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6969 6970 # Sed expression to map a string onto a valid variable name. 6971 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6972 6973 6974 exec 6>&1 6975 ## ----------------------------------- ## 6976 ## Main body of $CONFIG_STATUS script. ## 6977 ## ----------------------------------- ## 6978 _ASEOF 6979 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 6980 6981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6982 # Save the log message, to keep $0 and so on meaningful, and to 6983 # report actual input values of CONFIG_FILES etc. instead of their 6984 # values after options handling. 6985 ac_log=" 6986 This file was extended by pjproject $as_me 1.x, which was 6987 generated by GNU Autoconf 2.65. Invocation command line was 6988 6989 CONFIG_FILES = $CONFIG_FILES 6990 CONFIG_HEADERS = $CONFIG_HEADERS 6991 CONFIG_LINKS = $CONFIG_LINKS 6992 CONFIG_COMMANDS = $CONFIG_COMMANDS 6993 $ $0 $@ 6994 6995 on `(hostname || uname -n) 2>/dev/null | sed 1q` 6996 " 6997 6998 _ACEOF 6999 7000 case $ac_config_files in *" 7001 "*) set x $ac_config_files; shift; ac_config_files=$*;; 7002 esac 7003 7004 case $ac_config_headers in *" 7005 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7006 esac 7007 7008 7009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7010 # Files that config.status was made for. 7011 config_files="$ac_config_files" 7012 config_headers="$ac_config_headers" 7013 7014 _ACEOF 7015 7016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7017 ac_cs_usage="\ 7018 \`$as_me' instantiates files and other configuration actions 7019 from templates according to the current configuration. Unless the files 7020 and actions are specified as TAGs, all are instantiated by default. 7021 7022 Usage: $0 [OPTION]... [TAG]... 7023 7024 -h, --help print this help, then exit 7025 -V, --version print version number and configuration settings, then exit 7026 --config print configuration, then exit 7027 -q, --quiet, --silent 7028 do not print progress messages 7029 -d, --debug don't remove temporary files 7030 --recheck update $as_me by reconfiguring in the same conditions 7031 --file=FILE[:TEMPLATE] 7032 instantiate the configuration file FILE 7033 --header=FILE[:TEMPLATE] 7034 instantiate the configuration header FILE 7035 7036 Configuration files: 7037 $config_files 7038 7039 Configuration headers: 7040 $config_headers 7041 7042 Report bugs to the package provider." 7043 7044 _ACEOF 7045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7046 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7047 ac_cs_version="\\ 7048 pjproject config.status 1.x 7049 configured by $0, generated by GNU Autoconf 2.65, 7050 with options \\"\$ac_cs_config\\" 7051 7052 Copyright (C) 2009 Free Software Foundation, Inc. 7053 This config.status script is free software; the Free Software Foundation 7054 gives unlimited permission to copy, distribute and modify it." 7055 7056 ac_pwd='$ac_pwd' 7057 srcdir='$srcdir' 7058 test -n "\$AWK" || AWK=awk 7059 _ACEOF 7060 7061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7062 # The default lists apply if the user does not specify any file. 7063 ac_need_defaults=: 7064 while test $# != 0 7065 do 7066 case $1 in 7067 --*=*) 7068 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7069 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7070 ac_shift=: 7071 ;; 7072 *) 7073 ac_option=$1 7074 ac_optarg=$2 7075 ac_shift=shift 7076 ;; 7077 esac 7078 7079 case $ac_option in 7080 # Handling of the options. 7081 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7082 ac_cs_recheck=: ;; 7083 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7084 $as_echo "$ac_cs_version"; exit ;; 7085 --config | --confi | --conf | --con | --co | --c ) 7086 $as_echo "$ac_cs_config"; exit ;; 7087 --debug | --debu | --deb | --de | --d | -d ) 7088 debug=: ;; 7089 --file | --fil | --fi | --f ) 7090 $ac_shift 7091 case $ac_optarg in 7092 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7093 esac 7094 as_fn_append CONFIG_FILES " '$ac_optarg'" 7095 ac_need_defaults=false;; 7096 --header | --heade | --head | --hea ) 7097 $ac_shift 7098 case $ac_optarg in 7099 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7100 esac 7101 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7102 ac_need_defaults=false;; 7103 --he | --h) 7104 # Conflict between --help and --header 7105 as_fn_error "ambiguous option: \`$1' 7106 Try \`$0 --help' for more information.";; 7107 --help | --hel | -h ) 7108 $as_echo "$ac_cs_usage"; exit ;; 7109 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7110 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7111 ac_cs_silent=: ;; 7112 7113 # This is an error. 7114 -*) as_fn_error "unrecognized option: \`$1' 7115 Try \`$0 --help' for more information." ;; 7116 7117 *) as_fn_append ac_config_targets " $1" 7118 ac_need_defaults=false ;; 7119 7120 esac 7121 shift 7122 done 7123 7124 ac_configure_extra_args= 7125 7126 if $ac_cs_silent; then 7127 exec 6>/dev/null 7128 ac_configure_extra_args="$ac_configure_extra_args --silent" 7129 fi 7130 7131 _ACEOF 7132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7133 if \$ac_cs_recheck; then 7134 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7135 shift 7136 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7137 CONFIG_SHELL='$SHELL' 7138 export CONFIG_SHELL 7139 exec "\$@" 7140 fi 7141 7142 _ACEOF 7143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7144 exec 5>>config.log 7145 { 7146 echo 7147 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7148 ## Running $as_me. ## 7149 _ASBOX 7150 $as_echo "$ac_log" 7151 } >&5 7152 7153 _ACEOF 7154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7155 _ACEOF 7156 7157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7158 7159 # Handling of arguments. 7160 for ac_config_target in $ac_config_targets 7161 do 7162 case $ac_config_target in 7163 "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 7164 "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 7165 "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 7166 "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 7167 "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 7168 "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 7169 "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 7170 "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;; 7171 "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 7172 "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 7173 "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 7174 "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 7175 "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 7176 "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 7177 7178 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7179 esac 7180 done 7181 7182 7183 # If the user did not use the arguments to specify the items to instantiate, 7184 # then the envvar interface is used. Set only those that are not. 7185 # We use the long form for the default assignment because of an extremely 7186 # bizarre bug on SunOS 4.1.3. 7187 if $ac_need_defaults; then 7188 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7189 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7190 fi 7191 7192 # Have a temporary directory for convenience. Make it in the build tree 7193 # simply because there is no reason against having it here, and in addition, 7194 # creating and moving files from /tmp can sometimes cause problems. 7195 # Hook for its removal unless debugging. 7196 # Note that there is a small window in which the directory will not be cleaned: 7197 # after its creation but before its name has been assigned to `$tmp'. 7198 $debug || 7199 { 7200 tmp= 7201 trap 'exit_status=$? 7202 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7203 ' 0 7204 trap 'as_fn_exit 1' 1 2 13 15 7205 } 7206 # Create a (secure) tmp directory for tmp files. 7207 7208 { 7209 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7210 test -n "$tmp" && test -d "$tmp" 7211 } || 7212 { 7213 tmp=./conf$$-$RANDOM 7214 (umask 077 && mkdir "$tmp") 7215 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 7216 7217 # Set up the scripts for CONFIG_FILES section. 7218 # No need to generate them if there are no CONFIG_FILES. 7219 # This happens for instance with `./config.status config.h'. 7220 if test -n "$CONFIG_FILES"; then 7221 7222 7223 ac_cr=`echo X | tr X '\015'` 7224 # On cygwin, bash can eat \r inside `` if the user requested igncr. 7225 # But we know of no other shell where ac_cr would be empty at this 7226 # point, so we can use a bashism as a fallback. 7227 if test "x$ac_cr" = x; then 7228 eval ac_cr=\$\'\\r\' 7229 fi 7230 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7231 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7232 ac_cs_awk_cr='\r' 7233 else 7234 ac_cs_awk_cr=$ac_cr 7235 fi 7236 7237 echo 'BEGIN {' >"$tmp/subs1.awk" && 7238 _ACEOF 7239 7240 7241 { 7242 echo "cat >conf$$subs.awk <<_ACEOF" && 7243 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7244 echo "_ACEOF" 7245 } >conf$$subs.sh || 7246 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7247 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 7248 ac_delim='%!_!# ' 7249 for ac_last_try in false false false false false :; do 7250 . ./conf$$subs.sh || 7251 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7252 7253 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7254 if test $ac_delim_n = $ac_delim_num; then 7255 break 7256 elif $ac_last_try; then 7257 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 7258 else 7259 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7260 fi 7261 done 7262 rm -f conf$$subs.sh 7263 7264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7265 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 7266 _ACEOF 7267 sed -n ' 7268 h 7269 s/^/S["/; s/!.*/"]=/ 7270 p 7271 g 7272 s/^[^!]*!// 7273 :repl 7274 t repl 7275 s/'"$ac_delim"'$// 7276 t delim 7277 :nl 7278 h 7279 s/\(.\{148\}\)..*/\1/ 7280 t more1 7281 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7282 p 7283 n 7284 b repl 7285 :more1 7286 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7287 p 7288 g 7289 s/.\{148\}// 7290 t nl 7291 :delim 7292 h 7293 s/\(.\{148\}\)..*/\1/ 7294 t more2 7295 s/["\\]/\\&/g; s/^/"/; s/$/"/ 7296 p 7297 b 7298 :more2 7299 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7300 p 7301 g 7302 s/.\{148\}// 7303 t delim 7304 ' <conf$$subs.awk | sed ' 7305 /^[^""]/{ 7306 N 7307 s/\n// 7308 } 7309 ' >>$CONFIG_STATUS || ac_write_fail=1 7310 rm -f conf$$subs.awk 7311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7312 _ACAWK 7313 cat >>"\$tmp/subs1.awk" <<_ACAWK && 7314 for (key in S) S_is_set[key] = 1 7315 FS = "" 7316 7317 } 7318 { 7319 line = $ 0 7320 nfields = split(line, field, "@") 7321 substed = 0 7322 len = length(field[1]) 7323 for (i = 2; i < nfields; i++) { 7324 key = field[i] 7325 keylen = length(key) 7326 if (S_is_set[key]) { 7327 value = S[key] 7328 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7329 len += length(value) + length(field[++i]) 7330 substed = 1 7331 } else 7332 len += 1 + keylen 7333 } 7334 7335 print line 7336 } 7337 7338 _ACAWK 7339 _ACEOF 7340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7341 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7342 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7343 else 7344 cat 7345 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 7346 || as_fn_error "could not setup config files machinery" "$LINENO" 5 7347 _ACEOF 7348 7349 # VPATH may cause trouble with some makes, so we remove $(srcdir), 7350 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7351 # trailing colons and then remove the whole line if VPATH becomes empty 7352 # (actually we leave an empty line to preserve line numbers). 7353 if test "x$srcdir" = x.; then 7354 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7355 s/:*\$(srcdir):*/:/ 7356 s/:*\${srcdir}:*/:/ 7357 s/:*@srcdir@:*/:/ 7358 s/^\([^=]*=[ ]*\):*/\1/ 7359 s/:*$// 7360 s/^[^=]*=[ ]*$// 7361 }' 7362 fi 7363 7364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7365 fi # test -n "$CONFIG_FILES" 7366 7367 # Set up the scripts for CONFIG_HEADERS section. 7368 # No need to generate them if there are no CONFIG_HEADERS. 7369 # This happens for instance with `./config.status Makefile'. 7370 if test -n "$CONFIG_HEADERS"; then 7371 cat >"$tmp/defines.awk" <<\_ACAWK || 7372 BEGIN { 7373 _ACEOF 7374 7375 # Transform confdefs.h into an awk script `defines.awk', embedded as 7376 # here-document in config.status, that substitutes the proper values into 7377 # config.h.in to produce config.h. 7378 7379 # Create a delimiter string that does not exist in confdefs.h, to ease 7380 # handling of long lines. 7381 ac_delim='%!_!# ' 7382 for ac_last_try in false false :; do 7383 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 7384 if test -z "$ac_t"; then 7385 break 7386 elif $ac_last_try; then 7387 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 7388 else 7389 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7390 fi 7391 done 7392 7393 # For the awk script, D is an array of macro values keyed by name, 7394 # likewise P contains macro parameters if any. Preserve backslash 7395 # newline sequences. 7396 7397 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7398 sed -n ' 7399 s/.\{148\}/&'"$ac_delim"'/g 7400 t rset 7401 :rset 7402 s/^[ ]*#[ ]*define[ ][ ]*/ / 7403 t def 7404 d 7405 :def 7406 s/\\$// 7407 t bsnl 7408 s/["\\]/\\&/g 7409 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7410 D["\1"]=" \3"/p 7411 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7412 d 7413 :bsnl 7414 s/["\\]/\\&/g 7415 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7416 D["\1"]=" \3\\\\\\n"\\/p 7417 t cont 7418 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7419 t cont 7420 d 7421 :cont 7422 n 7423 s/.\{148\}/&'"$ac_delim"'/g 7424 t clear 7425 :clear 7426 s/\\$// 7427 t bsnlc 7428 s/["\\]/\\&/g; s/^/"/; s/$/"/p 7429 d 7430 :bsnlc 7431 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7432 b cont 7433 ' <confdefs.h | sed ' 7434 s/'"$ac_delim"'/"\\\ 7435 "/g' >>$CONFIG_STATUS || ac_write_fail=1 7436 7437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7438 for (key in D) D_is_set[key] = 1 7439 FS = "" 7440 } 7441 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7442 line = \$ 0 7443 split(line, arg, " ") 7444 if (arg[1] == "#") { 7445 defundef = arg[2] 7446 mac1 = arg[3] 7447 } else { 7448 defundef = substr(arg[1], 2) 7449 mac1 = arg[2] 7450 } 7451 split(mac1, mac2, "(") #) 7452 macro = mac2[1] 7453 prefix = substr(line, 1, index(line, defundef) - 1) 7454 if (D_is_set[macro]) { 7455 # Preserve the white space surrounding the "#". 7456 print prefix "define", macro P[macro] D[macro] 7457 next 7458 } else { 7459 # Replace #undef with comments. This is necessary, for example, 7460 # in the case of _POSIX_SOURCE, which is predefined and required 7461 # on some systems where configure will not decide to define it. 7462 if (defundef == "undef") { 7463 print "/*", prefix defundef, macro, "*/" 7464 next 7465 } 7466 } 7467 } 7468 { print } 7469 _ACAWK 7470 _ACEOF 7471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7472 as_fn_error "could not setup config headers machinery" "$LINENO" 5 7473 fi # test -n "$CONFIG_HEADERS" 7474 7475 7476 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 7477 shift 7478 for ac_tag 7479 do 7480 case $ac_tag in 7481 :[FHLC]) ac_mode=$ac_tag; continue;; 7482 esac 7483 case $ac_mode$ac_tag in 7484 :[FHL]*:*);; 7485 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 7486 :[FH]-) ac_tag=-:-;; 7487 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7488 esac 7489 ac_save_IFS=$IFS 7490 IFS=: 7491 set x $ac_tag 7492 IFS=$ac_save_IFS 7493 shift 7494 ac_file=$1 7495 shift 7496 7497 case $ac_mode in 7498 :L) ac_source=$1;; 7499 :[FH]) 7500 ac_file_inputs= 7501 for ac_f 7502 do 7503 case $ac_f in 7504 -) ac_f="$tmp/stdin";; 7505 *) # Look for the file first in the build tree, then in the source tree 7506 # (if the path is not absolute). The absolute path cannot be DOS-style, 7507 # because $ac_f cannot contain `:'. 7508 test -f "$ac_f" || 7509 case $ac_f in 7510 [\\/$]*) false;; 7511 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7512 esac || 7513 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7514 esac 7515 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7516 as_fn_append ac_file_inputs " '$ac_f'" 7517 done 7518 7519 # Let's still pretend it is `configure' which instantiates (i.e., don't 7520 # use $as_me), people would be surprised to read: 7521 # /* config.h. Generated by config.status. */ 7522 configure_input='Generated from '` 7523 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7524 `' by configure.' 7525 if test x"$ac_file" != x-; then 7526 configure_input="$ac_file. $configure_input" 7527 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7528 $as_echo "$as_me: creating $ac_file" >&6;} 7529 fi 7530 # Neutralize special characters interpreted by sed in replacement strings. 7531 case $configure_input in #( 7532 *\&* | *\|* | *\\* ) 7533 ac_sed_conf_input=`$as_echo "$configure_input" | 7534 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7535 *) ac_sed_conf_input=$configure_input;; 7536 esac 7537 7538 case $ac_tag in 7539 *:-:* | *:-) cat >"$tmp/stdin" \ 7540 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 7541 esac 7542 ;; 7543 esac 7544 7545 ac_dir=`$as_dirname -- "$ac_file" || 7546 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7547 X"$ac_file" : 'X\(//\)[^/]' \| \ 7548 X"$ac_file" : 'X\(//\)$' \| \ 7549 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7550 $as_echo X"$ac_file" | 7551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7552 s//\1/ 7553 q 7554 } 7555 /^X\(\/\/\)[^/].*/{ 7556 s//\1/ 7557 q 7558 } 7559 /^X\(\/\/\)$/{ 7560 s//\1/ 7561 q 7562 } 7563 /^X\(\/\).*/{ 7564 s//\1/ 7565 q 7566 } 7567 s/.*/./; q'` 7568 as_dir="$ac_dir"; as_fn_mkdir_p 13942 7569 ac_builddir=. 13943 7570 … … 13945 7572 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13946 7573 *) 13947 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`7574 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13948 7575 # A ".." for each directory in $ac_dir_suffix. 13949 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`7576 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13950 7577 case $ac_top_builddir_sub in 13951 7578 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 13983 7610 _ACEOF 13984 7611 13985 cat >>$CONFIG_STATUS <<\_ACEOF 7612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13986 7613 # If the template does not know about datarootdir, expand it. 13987 7614 # FIXME: This hack should be removed a few years after 2.60. 13988 7615 ac_datarootdir_hack=; ac_datarootdir_seen= 13989 13990 case `sed -n '/datarootdir/ {7616 ac_sed_dataroot=' 7617 /datarootdir/ { 13991 7618 p 13992 7619 q … … 13996 7623 /@infodir@/p 13997 7624 /@localedir@/p 13998 /@mandir@/p 13999 ' $ac_file_inputs` in7625 /@mandir@/p' 7626 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14000 7627 *datarootdir*) ac_datarootdir_seen=yes;; 14001 7628 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14002 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&514003 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}14004 _ACEOF 14005 cat >>$CONFIG_STATUS <<_ACEOF 7629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7630 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7631 _ACEOF 7632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14006 7633 ac_datarootdir_hack=' 14007 7634 s&@datadir@&$datadir&g … … 14010 7637 s&@localedir@&$localedir&g 14011 7638 s&@mandir@&$mandir&g 14012 7639 s&\\\${datarootdir}&$datarootdir&g' ;; 14013 7640 esac 14014 7641 _ACEOF … … 14017 7644 # Shell code in configure.ac might set extrasub. 14018 7645 # FIXME: do we really want to maintain this feature? 14019 cat >>$CONFIG_STATUS <<_ACEOF 14020 sed"$ac_vpsub7646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7647 ac_sed_extra="$ac_vpsub 14021 7648 $extrasub 14022 7649 _ACEOF 14023 cat >>$CONFIG_STATUS <<\_ACEOF 7650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14024 7651 :t 14025 7652 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14026 s &@configure_input@&$configure_input&;t t7653 s|@configure_input@|$ac_sed_conf_input|;t t 14027 7654 s&@top_builddir@&$ac_top_builddir_sub&;t t 7655 s&@top_build_prefix@&$ac_top_build_prefix&;t t 14028 7656 s&@srcdir@&$ac_srcdir&;t t 14029 7657 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 14034 7662 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14035 7663 $ac_datarootdir_hack 14036 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 7664 " 7665 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 7666 || as_fn_error "could not create $ac_file" "$LINENO" 5 14037 7667 14038 7668 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14039 7669 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 14040 7670 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 14041 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'7671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14042 7672 which seems to be undefined. Please make sure it is defined." >&5 14043 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'7673 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14044 7674 which seems to be undefined. Please make sure it is defined." >&2;} 14045 7675 14046 7676 rm -f "$tmp/stdin" 14047 7677 case $ac_file in 14048 -) cat "$tmp/out"; rm -f "$tmp/out";; 14049 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 14050 esac 7678 -) cat "$tmp/out" && rm -f "$tmp/out";; 7679 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 7680 esac \ 7681 || as_fn_error "could not create $ac_file" "$LINENO" 5 14051 7682 ;; 14052 7683 :H) … … 14054 7685 # CONFIG_HEADER 14055 7686 # 14056 _ACEOF14057 14058 # Transform confdefs.h into a sed script `conftest.defines', that14059 # substitutes the proper values into config.h.in to produce config.h.14060 rm -f conftest.defines conftest.tail14061 # First, append a space to every undef/define line, to ease matching.14062 echo 's/$/ /' >conftest.defines14063 # Then, protect against being on the right side of a sed subst, or in14064 # an unquoted here document, in config.status. If some macros were14065 # called several times there might be several #defines for the same14066 # symbol, which is useless. But do not sort them, since the last14067 # AC_DEFINE must be honored.14068 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*14069 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where14070 # NAME is the cpp macro being defined, VALUE is the value it is being given.14071 # PARAMS is the parameter list in the macro definition--in most cases, it's14072 # just an empty string.14073 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'14074 ac_dB='\\)[ (].*,\\1define\\2'14075 ac_dC=' '14076 ac_dD=' ,'14077 14078 uniq confdefs.h |14079 sed -n '14080 t rset14081 :rset14082 s/^[ ]*#[ ]*define[ ][ ]*//14083 t ok14084 d14085 :ok14086 s/[\\&,]/\\&/g14087 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p14088 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p14089 ' >>conftest.defines14090 14091 # Remove the space that was appended to ease matching.14092 # Then replace #undef with comments. This is necessary, for14093 # example, in the case of _POSIX_SOURCE, which is predefined and required14094 # on some systems where configure will not decide to define it.14095 # (The regexp can be short, since the line contains either #define or #undef.)14096 echo 's/ $//14097 s,^[ #]*u.*,/* & */,' >>conftest.defines14098 14099 # Break up conftest.defines:14100 ac_max_sed_lines=5014101 14102 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"14103 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"14104 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"14105 # et cetera.14106 ac_in='$ac_file_inputs'14107 ac_out='"$tmp/out1"'14108 ac_nxt='"$tmp/out2"'14109 14110 while :14111 do14112 # Write a here document:14113 cat >>$CONFIG_STATUS <<_ACEOF14114 # First, check the format of the line:14115 cat >"\$tmp/defines.sed" <<\\CEOF14116 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def14117 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def14118 b14119 :def14120 _ACEOF14121 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS14122 echo 'CEOF14123 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS14124 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in14125 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail14126 grep . conftest.tail >/dev/null || break14127 rm -f conftest.defines14128 mv conftest.tail conftest.defines14129 done14130 rm -f conftest.defines conftest.tail14131 14132 echo "ac_result=$ac_in" >>$CONFIG_STATUS14133 cat >>$CONFIG_STATUS <<\_ACEOF14134 7687 if test x"$ac_file" != x-; then 14135 echo "/* $configure_input */" >"$tmp/config.h" 14136 cat "$ac_result" >>"$tmp/config.h" 14137 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 14138 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 14139 echo "$as_me: $ac_file is unchanged" >&6;} 7688 { 7689 $as_echo "/* $configure_input */" \ 7690 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 7691 } >"$tmp/config.h" \ 7692 || as_fn_error "could not create $ac_file" "$LINENO" 5 7693 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 7694 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7695 $as_echo "$as_me: $ac_file is unchanged" >&6;} 14140 7696 else 14141 rm -f $ac_file 14142 mv "$tmp/config.h" $ac_file 7697 rm -f "$ac_file" 7698 mv "$tmp/config.h" "$ac_file" \ 7699 || as_fn_error "could not create $ac_file" "$LINENO" 5 14143 7700 fi 14144 7701 else 14145 echo "/* $configure_input */" 14146 cat "$ac_result" 7702 $as_echo "/* $configure_input */" \ 7703 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 7704 || as_fn_error "could not create -" "$LINENO" 5 14147 7705 fi 14148 rm -f "$tmp/out12"14149 7706 ;; 14150 7707 … … 14155 7712 14156 7713 14157 { (exit 0); exit 0; } 14158 _ACEOF 14159 chmod +x $CONFIG_STATUS 7714 as_fn_exit 0 7715 _ACEOF 14160 7716 ac_clean_files=$ac_clean_files_save 7717 7718 test $ac_write_fail = 0 || 7719 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 14161 7720 14162 7721 … … 14179 7738 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14180 7739 # would make configure fail if this is the last instruction. 14181 $ac_cs_success || { (exit 1); exit 1; } 14182 fi 14183 14184 14185 14186 { echo "$as_me:$LINENO: result: 7740 $ac_cs_success || as_fn_exit $? 7741 fi 7742 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7744 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7745 fi 7746 7747 7748 7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 14187 7750 14188 7751 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. … … 14194 7757 The next step now is to run 'make dep' and 'make'. 14195 7758 " >&5 14196 echo "${ECHO_T} 7759 $as_echo " 14197 7760 14198 7761 Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h. -
pjproject/branches/1.x/aconfigure.ac
r3968 r4107 879 879 [ippStaticInit();])], 880 880 [AC_MSG_RESULT(ok)], 881 [AC_MSG_FAILURE( Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly, run with --help for more info)])881 [AC_MSG_FAILURE([Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly, run with --help for more info])]) 882 882 883 883 CFLAGS="$SAVED_CFLAGS"
Note: See TracChangeset
for help on using the changeset viewer.