Changeset 3158 for pjproject/trunk/aconfigure
- Timestamp:
- May 1, 2010 10:05:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r3099 r3158 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 1for pjproject 1.x.3 # Generated by GNU Autoconf 2.64 for pjproject 1.x. 4 4 # 5 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software 7 # Foundation, Inc. 8 # 7 9 # This configure script is free software; the Free Software Foundation 8 10 # gives unlimited permission to copy, distribute and modify it. 9 ## -------------------- -##10 ## M4sh Initialization. 11 ## -------------------- -##11 ## -------------------- ## 12 ## M4sh Initialization. ## 13 ## -------------------- ## 12 14 13 15 # Be more Bourne compatible 14 16 DUALCASE=1; export DUALCASE # for MKS sh 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16 18 emulate sh 17 19 NULLCMD=: 18 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19 21 # is contrary to our usage. Disable this feature. 20 22 alias -g '${1+"$@"}'='"$@"' 21 23 setopt NO_GLOB_SUBST 22 24 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 25 30 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 31 fi 32 33 34 as_nl=' 35 ' 36 export as_nl 37 # Printing a long string crashes Solaris 7 /usr/bin/printf. 38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41 # Prefer a ksh shell builtin over an external printf program on Solaris, 42 # but without wasting forks for bash or zsh. 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 39 71 40 72 # The user is always right. 41 73 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 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 58 79 fi 59 80 … … 64 85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 86 # splitting by setting IFS to empty value.) 66 as_nl='67 '68 87 IFS=" "" $as_nl" 69 88 70 89 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 90 case $0 in #(( 72 91 *[\\/]* ) as_myself=$0 ;; 73 92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 76 95 IFS=$as_save_IFS 77 96 test -z "$as_dir" && as_dir=. 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break79 done97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 98 done 80 99 IFS=$as_save_IFS 81 100 … … 88 107 fi 89 108 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 109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 110 exit 1 111 fi 112 113 # Unset variables that we do not need and which cause bugs (e.g. in 114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 115 # suppresses any "Segmentation fault" message there. '((' could 116 # trigger a bug in pdksh 5.2.14. 117 for as_var in BASH_ENV ENV MAIL MAILPATH 118 do eval test x\${$as_var+set} = xset \ 119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 97 120 done 98 121 PS1='$ ' … … 101 124 102 125 # 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 126 LC_ALL=C 127 export LC_ALL 128 LANGUAGE=C 129 export LANGUAGE 130 131 # CDPATH. 132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 133 134 if test "x$CONFIG_SHELL" = x; then 135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 136 emulate sh 137 NULLCMD=: 138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 139 # is contrary to our usage. Disable this feature. 140 alias -g '\${1+\"\$@\"}'='\"\$@\"' 141 setopt NO_GLOB_SUBST 142 else 143 case \`(set -o) 2>/dev/null\` in #( 144 *posix*) : 145 set -o posix ;; #( 146 *) : 147 ;; 148 esac 149 fi 150 " 151 as_required="as_fn_return () { (exit \$1); } 152 as_fn_success () { as_fn_return 0; } 153 as_fn_failure () { as_fn_return 1; } 154 as_fn_ret_success () { return 0; } 155 as_fn_ret_failure () { return 1; } 156 157 exitcode=0 158 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 163 164 else 165 exitcode=1; echo positional parameters were not saved. 166 fi 167 test x\$exitcode = x0 || exit 1" 168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 172 test \$(( 1 + 1 )) = 2 || exit 1" 173 if (eval "$as_required") 2>/dev/null; then : 174 as_have_required=yes 175 else 176 as_have_required=no 177 fi 178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 179 180 else 181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 182 as_found=false 183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 107 184 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 185 IFS=$as_save_IFS 186 test -z "$as_dir" && as_dir=. 187 as_found=: 188 case $as_dir in #( 189 /*) 190 for as_base in sh bash ksh sh5; do 191 # Try only shells that exist, to save several forks. 192 as_shell=$as_dir/$as_base 193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 195 CONFIG_SHELL=$as_shell as_have_required=yes 196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 break 2 198 fi 199 fi 200 done;; 201 esac 202 as_found=false 203 done 204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 206 CONFIG_SHELL=$SHELL as_have_required=yes 207 fi; } 208 IFS=$as_save_IFS 209 210 211 if test "x$CONFIG_SHELL" != x; then : 212 # We cannot yet assume a decent shell, so we have to provide a 213 # neutralization value for shells without unset; and this also 214 # works around shells that cannot unset nonexistent variables. 215 BASH_ENV=/dev/null 216 ENV=/dev/null 217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 218 export CONFIG_SHELL 219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 220 fi 221 222 if test x$as_have_required = xno; then : 223 $as_echo "$0: This script requires a shell more modern than all" 224 $as_echo "$0: the shells that I found on your system." 225 if test x${ZSH_VERSION+set} = xset ; then 226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 227 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 110 228 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 230 $0: including any error possibly output before this 231 $0: message. Then install a modern shell, or manually run 232 $0: the script under such a shell if you do have one." 112 233 fi 113 done 114 115 # Required to use basename. 234 exit 1 235 fi 236 fi 237 fi 238 SHELL=${CONFIG_SHELL-/bin/sh} 239 export SHELL 240 # Unset more variables known to interfere with behavior of common tools. 241 CLICOLOR_FORCE= GREP_OPTIONS= 242 unset CLICOLOR_FORCE GREP_OPTIONS 243 244 ## --------------------- ## 245 ## M4sh Shell Functions. ## 246 ## --------------------- ## 247 # as_fn_unset VAR 248 # --------------- 249 # Portably unset VAR. 250 as_fn_unset () 251 { 252 { eval $1=; unset $1;} 253 } 254 as_unset=as_fn_unset 255 256 # as_fn_set_status STATUS 257 # ----------------------- 258 # Set $? to STATUS, without forking. 259 as_fn_set_status () 260 { 261 return $1 262 } # as_fn_set_status 263 264 # as_fn_exit STATUS 265 # ----------------- 266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 267 as_fn_exit () 268 { 269 set +e 270 as_fn_set_status $1 271 exit $1 272 } # as_fn_exit 273 274 # as_fn_mkdir_p 275 # ------------- 276 # Create "$as_dir" as a directory, including parents if necessary. 277 as_fn_mkdir_p () 278 { 279 280 case $as_dir in #( 281 -*) as_dir=./$as_dir;; 282 esac 283 test -d "$as_dir" || eval $as_mkdir_p || { 284 as_dirs= 285 while :; do 286 case $as_dir in #( 287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 288 *) as_qdir=$as_dir;; 289 esac 290 as_dirs="'$as_qdir' $as_dirs" 291 as_dir=`$as_dirname -- "$as_dir" || 292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 293 X"$as_dir" : 'X\(//\)[^/]' \| \ 294 X"$as_dir" : 'X\(//\)$' \| \ 295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 296 $as_echo X"$as_dir" | 297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 298 s//\1/ 299 q 300 } 301 /^X\(\/\/\)[^/].*/{ 302 s//\1/ 303 q 304 } 305 /^X\(\/\/\)$/{ 306 s//\1/ 307 q 308 } 309 /^X\(\/\).*/{ 310 s//\1/ 311 q 312 } 313 s/.*/./; q'` 314 test -d "$as_dir" && break 315 done 316 test -z "$as_dirs" || eval "mkdir $as_dirs" 317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 318 319 320 } # as_fn_mkdir_p 321 # as_fn_append VAR VALUE 322 # ---------------------- 323 # Append the text in VALUE to the end of the definition contained in VAR. Take 324 # advantage of any shell optimizations that allow amortized linear growth over 325 # repeated appends, instead of the typical quadratic growth present in naive 326 # implementations. 327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 328 eval 'as_fn_append () 329 { 330 eval $1+=\$2 331 }' 332 else 333 as_fn_append () 334 { 335 eval $1=\$$1\$2 336 } 337 fi # as_fn_append 338 339 # as_fn_arith ARG... 340 # ------------------ 341 # Perform arithmetic evaluation on the ARGs, and store the result in the 342 # global $as_val. Take advantage of shells that can avoid forks. The arguments 343 # must be portable across $(()) and expr. 344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 345 eval 'as_fn_arith () 346 { 347 as_val=$(( $* )) 348 }' 349 else 350 as_fn_arith () 351 { 352 as_val=`expr "$@" || test $? -eq 1` 353 } 354 fi # as_fn_arith 355 356 357 # as_fn_error ERROR [LINENO LOG_FD] 358 # --------------------------------- 359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 361 # script with status $?, using 1 if that was 0. 362 as_fn_error () 363 { 364 as_status=$?; test $as_status -eq 0 && as_status=1 365 if test "$3"; then 366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 368 fi 369 $as_echo "$as_me: error: $1" >&2 370 as_fn_exit $as_status 371 } # as_fn_error 372 116 373 if expr a : '\(a\)' >/dev/null 2>&1 && 117 374 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 127 384 fi 128 385 129 130 # Name of the executable. 386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 387 as_dirname=dirname 388 else 389 as_dirname=false 390 fi 391 131 392 as_me=`$as_basename -- "$0" || 132 393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 394 X"$0" : 'X\(//\)$' \| \ 134 395 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" |396 $as_echo X/"$0" | 136 397 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 398 s//\1/ … … 148 409 s/.*/./; q'` 149 410 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. :-) 411 # Avoid depending upon Character Ranges. 412 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 415 as_cr_digits='0123456789' 416 as_cr_alnum=$as_cr_Letters$as_cr_digits 417 418 419 as_lineno_1=$LINENO as_lineno_1a=$LINENO 420 as_lineno_2=$LINENO as_lineno_2a=$LINENO 421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 438 424 sed -n ' 439 425 p … … 452 438 ' >$as_me.lineno && 453 439 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; }; } 440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 456 441 457 442 # Don't try to exec as it changes $[0], causing all sort of problems … … 463 448 } 464 449 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 450 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 451 case `echo -n x` in #((((( 474 452 -n*) 475 case `echo 'x \c'` in453 case `echo 'xy\c'` in 476 454 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 455 xy) ECHO_C='\c';; 456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 457 ECHO_T=' ';; 478 458 esac;; 479 459 *) … … 481 461 esac 482 462 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 463 rm -f conf$$ conf$$.exe conf$$.file 491 464 if test -d conf$$.dir; then … … 493 466 else 494 467 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 || 468 mkdir conf$$.dir 2>/dev/null 469 fi 470 if (echo >conf$$.file) 2>/dev/null; then 471 if ln -s conf$$.file conf$$ 2>/dev/null; then 472 as_ln_s='ln -s' 473 # ... but there are two gotchas: 474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 476 # In both cases, we have to default to `cp -p'. 477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 478 as_ln_s='cp -p' 479 elif ln conf$$.file conf$$ 2>/dev/null; then 480 as_ln_s=ln 481 else 505 482 as_ln_s='cp -p' 506 elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 483 fi 508 484 else 509 485 as_ln_s='cp -p' … … 513 489 514 490 if mkdir -p . 2>/dev/null; then 515 as_mkdir_p= :491 as_mkdir_p='mkdir -p "$as_dir"' 516 492 else 517 493 test -d ./-p && rmdir ./-p … … 530 506 eval sh -c '\'' 531 507 if test -d "$1"; then 532 508 test -d "$1/."; 533 509 else 534 case $1 in 535 510 case $1 in #( 511 -*)set "./$1";; 536 512 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 538 514 ???[sx]*):;;*)false;;esac;fi 539 515 '\'' sh … … 547 523 # Sed expression to map a string onto a valid variable name. 548 524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 549 550 525 551 526 … … 568 543 MFLAGS= 569 544 MAKEFLAGS= 570 SHELL=${CONFIG_SHELL-/bin/sh}571 545 572 546 # Identity of this package. … … 576 550 PACKAGE_STRING='pjproject 1.x' 577 551 PACKAGE_BUGREPORT='' 552 PACKAGE_URL='' 578 553 579 554 # Factoring default headers for most tests. … … 613 588 #endif" 614 589 615 ac_subst_vars='SHELL 590 ac_subst_vars='LTLIBOBJS 591 LIBOBJS 592 ac_main_obj 593 ac_host 594 ac_linux_poll 595 ac_cross_compile 596 libcrypto_present 597 libssl_present 598 openssl_h_present 599 ac_no_ssl 600 ac_no_ilbc_codec 601 ac_no_speex_codec 602 ac_no_g7221_codec 603 ac_no_g722_codec 604 ac_no_gsm_codec 605 ac_no_l16_codec 606 ac_no_g711_codec 607 ac_no_speex_aec 608 ac_no_large_filter 609 ac_no_small_filter 610 ac_pa_use_oss 611 ac_pa_use_alsa 612 ac_pa_cflags 613 ac_external_pa 614 ac_pjmedia_snd 615 ac_external_gsm 616 ac_external_speex 617 ac_os_objs 618 EGREP 619 GREP 620 CPP 621 ac_build_mak_vars 622 ac_pjdir 623 ac_ct_CXX 624 CXXFLAGS 625 CXX 626 OBJEXT 627 EXEEXT 628 ac_ct_CC 629 CPPFLAGS 630 LDFLAGS 631 CFLAGS 632 CC 633 target_os 634 target_vendor 635 target_cpu 636 target 637 host_os 638 host_vendor 639 host_cpu 640 host 641 build_os 642 build_vendor 643 build_cpu 644 build 645 target_alias 646 host_alias 647 build_alias 648 LIBS 649 ECHO_T 650 ECHO_N 651 ECHO_C 652 DEFS 653 mandir 654 localedir 655 libdir 656 psdir 657 pdfdir 658 dvidir 659 htmldir 660 infodir 661 docdir 662 oldincludedir 663 includedir 664 localstatedir 665 sharedstatedir 666 sysconfdir 667 datadir 668 datarootdir 669 libexecdir 670 sbindir 671 bindir 672 program_transform_name 673 prefix 674 exec_prefix 675 PACKAGE_URL 676 PACKAGE_BUGREPORT 677 PACKAGE_STRING 678 PACKAGE_VERSION 679 PACKAGE_TARNAME 680 PACKAGE_NAME 616 681 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 ac_pjdir 675 ac_build_mak_vars 676 CPP 677 GREP 678 EGREP 679 ac_os_objs 680 ac_external_speex 681 ac_external_gsm 682 ac_pjmedia_snd 683 ac_external_pa 684 ac_pa_cflags 685 ac_pa_use_alsa 686 ac_pa_use_oss 687 ac_no_small_filter 688 ac_no_large_filter 689 ac_no_speex_aec 690 ac_no_g711_codec 691 ac_no_l16_codec 692 ac_no_gsm_codec 693 ac_no_g722_codec 694 ac_no_g7221_codec 695 ac_no_speex_codec 696 ac_no_ilbc_codec 697 ac_no_ssl 698 openssl_h_present 699 libssl_present 700 libcrypto_present 701 ac_cross_compile 702 ac_linux_poll 703 ac_host 704 ac_main_obj 705 LIBOBJS 706 LTLIBOBJS' 682 SHELL' 707 683 ac_subst_files='' 684 ac_user_opts=' 685 enable_option_checking 686 enable_floating_point 687 enable_epoll 688 with_external_speex 689 with_external_gsm 690 enable_sound 691 with_external_pa 692 enable_oss 693 enable_ext_sound 694 enable_small_filter 695 enable_large_filter 696 enable_speex_aec 697 enable_g711_codec 698 enable_l16_codec 699 enable_gsm_codec 700 enable_g722_codec 701 enable_g7221_codec 702 enable_speex_codec 703 enable_ilbc_codec 704 enable_libsamplerate 705 enable_ipp 706 with_ipp 707 with_ipp_samples 708 with_ipp_arch 709 enable_ssl 710 ' 708 711 ac_precious_vars='build_alias 709 712 host_alias … … 723 726 ac_init_help= 724 727 ac_init_version=false 728 ac_unrecognized_opts= 729 ac_unrecognized_sep= 725 730 # The variables have the same names as the options, with 726 731 # dashes changed to underlines. … … 821 826 822 827 -disable-* | --disable-*) 823 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`828 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 824 829 # Reject names that are not valid shell variable names. 825 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 826 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 827 { (exit 1); exit 1; }; } 828 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 829 eval enable_$ac_feature=no ;; 830 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 831 as_fn_error "invalid feature name: $ac_useropt" 832 ac_useropt_orig=$ac_useropt 833 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 834 case $ac_user_opts in 835 *" 836 "enable_$ac_useropt" 837 "*) ;; 838 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 839 ac_unrecognized_sep=', ';; 840 esac 841 eval enable_$ac_useropt=no ;; 830 842 831 843 -docdir | --docdir | --docdi | --doc | --do) … … 840 852 841 853 -enable-* | --enable-*) 842 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`854 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 843 855 # Reject names that are not valid shell variable names. 844 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 845 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 846 { (exit 1); exit 1; }; } 847 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 848 eval enable_$ac_feature=\$ac_optarg ;; 856 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 857 as_fn_error "invalid feature name: $ac_useropt" 858 ac_useropt_orig=$ac_useropt 859 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 860 case $ac_user_opts in 861 *" 862 "enable_$ac_useropt" 863 "*) ;; 864 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 865 ac_unrecognized_sep=', ';; 866 esac 867 eval enable_$ac_useropt=\$ac_optarg ;; 849 868 850 869 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1037 1056 1038 1057 -with-* | --with-*) 1039 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1058 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1040 1059 # Reject names that are not valid shell variable names. 1041 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1042 { echo "$as_me: error: invalid package name: $ac_package" >&2 1043 { (exit 1); exit 1; }; } 1044 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1045 eval with_$ac_package=\$ac_optarg ;; 1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1061 as_fn_error "invalid package name: $ac_useropt" 1062 ac_useropt_orig=$ac_useropt 1063 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1064 case $ac_user_opts in 1065 *" 1066 "with_$ac_useropt" 1067 "*) ;; 1068 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1069 ac_unrecognized_sep=', ';; 1070 esac 1071 eval with_$ac_useropt=\$ac_optarg ;; 1046 1072 1047 1073 -without-* | --without-*) 1048 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1074 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1049 1075 # Reject names that are not valid shell variable names. 1050 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1051 { echo "$as_me: error: invalid package name: $ac_package" >&2 1052 { (exit 1); exit 1; }; } 1053 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1054 eval with_$ac_package=no ;; 1076 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1077 as_fn_error "invalid package name: $ac_useropt" 1078 ac_useropt_orig=$ac_useropt 1079 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1080 case $ac_user_opts in 1081 *" 1082 "with_$ac_useropt" 1083 "*) ;; 1084 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1085 ac_unrecognized_sep=', ';; 1086 esac 1087 eval with_$ac_useropt=no ;; 1055 1088 1056 1089 --x) … … 1072 1105 x_libraries=$ac_optarg ;; 1073 1106 1074 -*) { echo "$as_me: error: unrecognized option: $ac_option 1075 Try \`$0 --help' for more information." >&2 1076 { (exit 1); exit 1; }; } 1107 -*) as_fn_error "unrecognized option: \`$ac_option' 1108 Try \`$0 --help' for more information." 1077 1109 ;; 1078 1110 … … 1080 1112 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1081 1113 # Reject names that are not valid shell variable names. 1082 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1083 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1084 { (exit 1); exit 1; }; } 1114 case $ac_envvar in #( 1115 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1116 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1117 esac 1085 1118 eval $ac_envvar=\$ac_optarg 1086 1119 export $ac_envvar ;; … … 1088 1121 *) 1089 1122 # FIXME: should be removed in autoconf 3.0. 1090 echo "$as_me: WARNING: you should use --build, --host, --target" >&21123 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1091 1124 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1092 echo "$as_me: WARNING: invalid host type: $ac_option" >&21125 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1093 1126 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1094 1127 ;; … … 1099 1132 if test -n "$ac_prev"; then 1100 1133 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1101 { echo "$as_me: error: missing argument to $ac_option" >&2 1102 { (exit 1); exit 1; }; } 1103 fi 1104 1105 # Be sure to have absolute directory names. 1134 as_fn_error "missing argument to $ac_option" 1135 fi 1136 1137 if test -n "$ac_unrecognized_opts"; then 1138 case $enable_option_checking in 1139 no) ;; 1140 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1141 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1142 esac 1143 fi 1144 1145 # Check all directory arguments for consistency. 1106 1146 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1107 1147 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1110 1150 do 1111 1151 eval ac_val=\$$ac_var 1152 # Remove trailing slashes. 1153 case $ac_val in 1154 */ ) 1155 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1156 eval $ac_var=\$ac_val;; 1157 esac 1158 # Be sure to have absolute directory names. 1112 1159 case $ac_val in 1113 1160 [\\/$]* | ?:[\\/]* ) continue;; 1114 1161 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1115 1162 esac 1116 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1117 { (exit 1); exit 1; }; } 1163 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1118 1164 done 1119 1165 … … 1129 1175 if test "x$build_alias" = x; then 1130 1176 cross_compiling=maybe 1131 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1177 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1132 1178 If a cross compiler is detected then cross compile mode will be used." >&2 1133 1179 elif test "x$build_alias" != "x$host_alias"; then … … 1145 1191 ac_ls_di=`ls -di .` && 1146 1192 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1147 { echo "$as_me: error: Working directory cannot be determined" >&2 1148 { (exit 1); exit 1; }; } 1193 as_fn_error "working directory cannot be determined" 1149 1194 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1150 { echo "$as_me: error: pwd does not report name of working directory" >&2 1151 { (exit 1); exit 1; }; } 1195 as_fn_error "pwd does not report name of working directory" 1152 1196 1153 1197 … … 1156 1200 ac_srcdir_defaulted=yes 1157 1201 # Try the directory containing this script, then the parent directory. 1158 ac_confdir=`$as_dirname -- "$ 0" ||1159 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1160 X"$ 0" : 'X\(//\)[^/]' \| \1161 X"$ 0" : 'X\(//\)$' \| \1162 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1163 echo X"$0" |1202 ac_confdir=`$as_dirname -- "$as_myself" || 1203 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1204 X"$as_myself" : 'X\(//\)[^/]' \| \ 1205 X"$as_myself" : 'X\(//\)$' \| \ 1206 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1207 $as_echo X"$as_myself" | 1164 1208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1165 1209 s//\1/ … … 1188 1232 if test ! -r "$srcdir/$ac_unique_file"; then 1189 1233 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1190 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1191 { (exit 1); exit 1; }; } 1234 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1192 1235 fi 1193 1236 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1194 1237 ac_abs_confdir=`( 1195 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1196 { (exit 1); exit 1; }; } 1238 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1197 1239 pwd)` 1198 1240 # When building in place, set srcdir=. … … 1242 1284 Installation directories: 1243 1285 --prefix=PREFIX install architecture-independent files in PREFIX 1244 1286 [$ac_default_prefix] 1245 1287 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1246 1288 [PREFIX] 1247 1289 1248 1290 By default, \`make install' will install all the files in … … 1254 1296 1255 1297 Fine tuning of the installation directories: 1256 --bindir=DIR user executables [EPREFIX/bin]1257 --sbindir=DIR system admin executables [EPREFIX/sbin]1258 --libexecdir=DIR program executables [EPREFIX/libexec]1259 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1260 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1261 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1262 --libdir=DIR object code libraries [EPREFIX/lib]1263 --includedir=DIR C header files [PREFIX/include]1264 --oldincludedir=DIR C header files for non-gcc [/usr/include]1265 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1266 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1267 --infodir=DIR info documentation [DATAROOTDIR/info]1268 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1269 --mandir=DIR man documentation [DATAROOTDIR/man]1270 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject]1271 --htmldir=DIR html documentation [DOCDIR]1272 --dvidir=DIR dvi documentation [DOCDIR]1273 --pdfdir=DIR pdf documentation [DOCDIR]1274 --psdir=DIR ps documentation [DOCDIR]1298 --bindir=DIR user executables [EPREFIX/bin] 1299 --sbindir=DIR system admin executables [EPREFIX/sbin] 1300 --libexecdir=DIR program executables [EPREFIX/libexec] 1301 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1302 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1303 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1304 --libdir=DIR object code libraries [EPREFIX/lib] 1305 --includedir=DIR C header files [PREFIX/include] 1306 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1307 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1308 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1309 --infodir=DIR info documentation [DATAROOTDIR/info] 1310 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1311 --mandir=DIR man documentation [DATAROOTDIR/man] 1312 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1313 --htmldir=DIR html documentation [DOCDIR] 1314 --dvidir=DIR dvi documentation [DOCDIR] 1315 --pdfdir=DIR pdf documentation [DOCDIR] 1316 --psdir=DIR ps documentation [DOCDIR] 1275 1317 _ACEOF 1276 1318 … … 1291 1333 1292 1334 Optional Features: 1335 --disable-option-checking ignore unrecognized --enable/--with options 1293 1336 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1294 1337 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1357 1400 it to find libraries and programs with nonstandard names/locations. 1358 1401 1402 Report bugs to the package provider. 1359 1403 _ACEOF 1360 1404 ac_status=$? … … 1364 1408 # If there are subdirs, report their specific --help. 1365 1409 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1366 test -d "$ac_dir" || continue 1410 test -d "$ac_dir" || 1411 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1412 continue 1367 1413 ac_builddir=. 1368 1414 … … 1370 1416 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1371 1417 *) 1372 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1418 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1373 1419 # A ".." for each directory in $ac_dir_suffix. 1374 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1420 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1375 1421 case $ac_top_builddir_sub in 1376 1422 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1408 1454 $SHELL "$ac_srcdir/configure" --help=recursive 1409 1455 else 1410 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21456 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1411 1457 fi || ac_status=$? 1412 1458 cd "$ac_pwd" || { ac_status=$?; break; } … … 1418 1464 cat <<\_ACEOF 1419 1465 pjproject configure 1.x 1420 generated by GNU Autoconf 2.61 1421 1422 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1423 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1466 generated by GNU Autoconf 2.64 1467 1468 Copyright (C) 2009 Free Software Foundation, Inc. 1424 1469 This configure script is free software; the Free Software Foundation 1425 1470 gives unlimited permission to copy, distribute and modify it. … … 1427 1472 exit 1428 1473 fi 1474 1475 ## ------------------------ ## 1476 ## Autoconf initialization. ## 1477 ## ------------------------ ## 1478 1479 # ac_fn_c_try_compile LINENO 1480 # -------------------------- 1481 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1482 ac_fn_c_try_compile () 1483 { 1484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1485 rm -f conftest.$ac_objext 1486 if { { ac_try="$ac_compile" 1487 case "(($ac_try" in 1488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1489 *) ac_try_echo=$ac_try;; 1490 esac 1491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1492 $as_echo "$ac_try_echo"; } >&5 1493 (eval "$ac_compile") 2>conftest.err 1494 ac_status=$? 1495 if test -s conftest.err; then 1496 grep -v '^ *+' conftest.err >conftest.er1 1497 cat conftest.er1 >&5 1498 mv -f conftest.er1 conftest.err 1499 fi 1500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1501 test $ac_status = 0; } && { 1502 test -z "$ac_c_werror_flag" || 1503 test ! -s conftest.err 1504 } && test -s conftest.$ac_objext; then : 1505 ac_retval=0 1506 else 1507 $as_echo "$as_me: failed program was:" >&5 1508 sed 's/^/| /' conftest.$ac_ext >&5 1509 1510 ac_retval=1 1511 fi 1512 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1513 return $ac_retval 1514 1515 } # ac_fn_c_try_compile 1516 1517 # ac_fn_cxx_try_compile LINENO 1518 # ---------------------------- 1519 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1520 ac_fn_cxx_try_compile () 1521 { 1522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1523 rm -f conftest.$ac_objext 1524 if { { ac_try="$ac_compile" 1525 case "(($ac_try" in 1526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1527 *) ac_try_echo=$ac_try;; 1528 esac 1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1530 $as_echo "$ac_try_echo"; } >&5 1531 (eval "$ac_compile") 2>conftest.err 1532 ac_status=$? 1533 if test -s conftest.err; then 1534 grep -v '^ *+' conftest.err >conftest.er1 1535 cat conftest.er1 >&5 1536 mv -f conftest.er1 conftest.err 1537 fi 1538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1539 test $ac_status = 0; } && { 1540 test -z "$ac_cxx_werror_flag" || 1541 test ! -s conftest.err 1542 } && test -s conftest.$ac_objext; then : 1543 ac_retval=0 1544 else 1545 $as_echo "$as_me: failed program was:" >&5 1546 sed 's/^/| /' conftest.$ac_ext >&5 1547 1548 ac_retval=1 1549 fi 1550 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1551 return $ac_retval 1552 1553 } # ac_fn_cxx_try_compile 1554 1555 # ac_fn_c_try_link LINENO 1556 # ----------------------- 1557 # Try to link conftest.$ac_ext, and return whether this succeeded. 1558 ac_fn_c_try_link () 1559 { 1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1561 rm -f conftest.$ac_objext conftest$ac_exeext 1562 if { { ac_try="$ac_link" 1563 case "(($ac_try" in 1564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1565 *) ac_try_echo=$ac_try;; 1566 esac 1567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1568 $as_echo "$ac_try_echo"; } >&5 1569 (eval "$ac_link") 2>conftest.err 1570 ac_status=$? 1571 if test -s conftest.err; then 1572 grep -v '^ *+' conftest.err >conftest.er1 1573 cat conftest.er1 >&5 1574 mv -f conftest.er1 conftest.err 1575 fi 1576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1577 test $ac_status = 0; } && { 1578 test -z "$ac_c_werror_flag" || 1579 test ! -s conftest.err 1580 } && test -s conftest$ac_exeext && { 1581 test "$cross_compiling" = yes || 1582 $as_test_x conftest$ac_exeext 1583 }; then : 1584 ac_retval=0 1585 else 1586 $as_echo "$as_me: failed program was:" >&5 1587 sed 's/^/| /' conftest.$ac_ext >&5 1588 1589 ac_retval=1 1590 fi 1591 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1592 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1593 # interfere with the next link command; also delete a directory that is 1594 # left behind by Apple's compiler. We do this before executing the actions. 1595 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1596 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1597 return $ac_retval 1598 1599 } # ac_fn_c_try_link 1600 1601 # ac_fn_c_try_run LINENO 1602 # ---------------------- 1603 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1604 # that executables *can* be run. 1605 ac_fn_c_try_run () 1606 { 1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1608 if { { ac_try="$ac_link" 1609 case "(($ac_try" in 1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1611 *) ac_try_echo=$ac_try;; 1612 esac 1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1614 $as_echo "$ac_try_echo"; } >&5 1615 (eval "$ac_link") 2>&5 1616 ac_status=$? 1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1618 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1619 { { case "(($ac_try" in 1620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1621 *) ac_try_echo=$ac_try;; 1622 esac 1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1624 $as_echo "$ac_try_echo"; } >&5 1625 (eval "$ac_try") 2>&5 1626 ac_status=$? 1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1628 test $ac_status = 0; }; }; then : 1629 ac_retval=0 1630 else 1631 $as_echo "$as_me: program exited with status $ac_status" >&5 1632 $as_echo "$as_me: failed program was:" >&5 1633 sed 's/^/| /' conftest.$ac_ext >&5 1634 1635 ac_retval=$ac_status 1636 fi 1637 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1638 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1639 return $ac_retval 1640 1641 } # ac_fn_c_try_run 1642 1643 # ac_fn_c_try_cpp LINENO 1644 # ---------------------- 1645 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1646 ac_fn_c_try_cpp () 1647 { 1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1649 if { { ac_try="$ac_cpp conftest.$ac_ext" 1650 case "(($ac_try" in 1651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1652 *) ac_try_echo=$ac_try;; 1653 esac 1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1655 $as_echo "$ac_try_echo"; } >&5 1656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1657 ac_status=$? 1658 if test -s conftest.err; then 1659 grep -v '^ *+' conftest.err >conftest.er1 1660 cat conftest.er1 >&5 1661 mv -f conftest.er1 conftest.err 1662 fi 1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1664 test $ac_status = 0; } >/dev/null && { 1665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1666 test ! -s conftest.err 1667 }; then : 1668 ac_retval=0 1669 else 1670 $as_echo "$as_me: failed program was:" >&5 1671 sed 's/^/| /' conftest.$ac_ext >&5 1672 1673 ac_retval=1 1674 fi 1675 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1676 return $ac_retval 1677 1678 } # ac_fn_c_try_cpp 1679 1680 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1681 # ------------------------------------------------------- 1682 # Tests whether HEADER exists and can be compiled using the include files in 1683 # INCLUDES, setting the cache variable VAR accordingly. 1684 ac_fn_c_check_header_compile () 1685 { 1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1688 $as_echo_n "checking for $2... " >&6; } 1689 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1690 $as_echo_n "(cached) " >&6 1691 else 1692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1693 /* end confdefs.h. */ 1694 $4 1695 #include <$2> 1696 _ACEOF 1697 if ac_fn_c_try_compile "$LINENO"; then : 1698 eval "$3=yes" 1699 else 1700 eval "$3=no" 1701 fi 1702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1703 fi 1704 eval ac_res=\$$3 1705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1706 $as_echo "$ac_res" >&6; } 1707 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1708 1709 } # ac_fn_c_check_header_compile 1710 1711 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1712 # ------------------------------------------------------- 1713 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1714 # the include files in INCLUDES and setting the cache variable VAR 1715 # accordingly. 1716 ac_fn_c_check_header_mongrel () 1717 { 1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1719 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1721 $as_echo_n "checking for $2... " >&6; } 1722 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1723 $as_echo_n "(cached) " >&6 1724 fi 1725 eval ac_res=\$$3 1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1727 $as_echo "$ac_res" >&6; } 1728 else 1729 # Is the header compilable? 1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1731 $as_echo_n "checking $2 usability... " >&6; } 1732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1733 /* end confdefs.h. */ 1734 $4 1735 #include <$2> 1736 _ACEOF 1737 if ac_fn_c_try_compile "$LINENO"; then : 1738 ac_header_compiler=yes 1739 else 1740 ac_header_compiler=no 1741 fi 1742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1744 $as_echo "$ac_header_compiler" >&6; } 1745 1746 # Is the header present? 1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1748 $as_echo_n "checking $2 presence... " >&6; } 1749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1750 /* end confdefs.h. */ 1751 #include <$2> 1752 _ACEOF 1753 if ac_fn_c_try_cpp "$LINENO"; then : 1754 ac_header_preproc=yes 1755 else 1756 ac_header_preproc=no 1757 fi 1758 rm -f conftest.err conftest.$ac_ext 1759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1760 $as_echo "$ac_header_preproc" >&6; } 1761 1762 # So? What about this header? 1763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1764 yes:no: ) 1765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1766 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1768 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1769 ;; 1770 no:yes:* ) 1771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1772 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1774 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1776 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1778 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1780 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1781 ;; 1782 esac 1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1784 $as_echo_n "checking for $2... " >&6; } 1785 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1786 $as_echo_n "(cached) " >&6 1787 else 1788 eval "$3=\$ac_header_compiler" 1789 fi 1790 eval ac_res=\$$3 1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1792 $as_echo "$ac_res" >&6; } 1793 fi 1794 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1795 1796 } # ac_fn_c_check_header_mongrel 1429 1797 cat >config.log <<_ACEOF 1430 1798 This file contains any messages produced by compilers while … … 1432 1800 1433 1801 It was created by pjproject $as_me 1.x, which was 1434 generated by GNU Autoconf 2.6 1. Invocation command line was1802 generated by GNU Autoconf 2.64. Invocation command line was 1435 1803 1436 1804 $ $0 $@ … … 1468 1836 IFS=$as_save_IFS 1469 1837 test -z "$as_dir" && as_dir=. 1470 echo "PATH: $as_dir"1471 done1838 $as_echo "PATH: $as_dir" 1839 done 1472 1840 IFS=$as_save_IFS 1473 1841 … … 1503 1871 continue ;; 1504 1872 *\'*) 1505 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1873 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1506 1874 esac 1507 1875 case $ac_pass in 1508 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1876 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1509 1877 2) 1510 a c_configure_args1="$ac_configure_args1'$ac_arg'"1878 as_fn_append ac_configure_args1 " '$ac_arg'" 1511 1879 if test $ac_must_keep_next = true; then 1512 1880 ac_must_keep_next=false # Got value, back to normal. … … 1524 1892 esac 1525 1893 fi 1526 a c_configure_args="$ac_configure_args'$ac_arg'"1894 as_fn_append ac_configure_args " '$ac_arg'" 1527 1895 ;; 1528 1896 esac 1529 1897 done 1530 1898 done 1531 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1532 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}1899 { ac_configure_args0=; unset ac_configure_args0;} 1900 { ac_configure_args1=; unset ac_configure_args1;} 1533 1901 1534 1902 # When interrupted or exit'd, cleanup temporary files, and complete … … 1555 1923 *${as_nl}*) 1556 1924 case $ac_var in #( 1557 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51558 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;1925 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1926 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1559 1927 esac 1560 1928 case $ac_var in #( 1561 1929 _ | IFS | as_nl) ;; #( 1562 *) $as_unset $ac_var ;; 1930 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1931 *) { eval $ac_var=; unset $ac_var;} ;; 1563 1932 esac ;; 1564 1933 esac … … 1589 1958 eval ac_val=\$$ac_var 1590 1959 case $ac_val in 1591 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1960 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1592 1961 esac 1593 echo "$ac_var='\''$ac_val'\''"1962 $as_echo "$ac_var='\''$ac_val'\''" 1594 1963 done | sort 1595 1964 echo … … 1606 1975 eval ac_val=\$$ac_var 1607 1976 case $ac_val in 1608 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1977 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1609 1978 esac 1610 echo "$ac_var='\''$ac_val'\''"1979 $as_echo "$ac_var='\''$ac_val'\''" 1611 1980 done | sort 1612 1981 echo … … 1624 1993 fi 1625 1994 test "$ac_signal" != 0 && 1626 echo "$as_me: caught signal $ac_signal"1627 echo "$as_me: exit $exit_status"1995 $as_echo "$as_me: caught signal $ac_signal" 1996 $as_echo "$as_me: exit $exit_status" 1628 1997 } >&5 1629 1998 rm -f core *.core core.conftest.* && … … 1632 2001 ' 0 1633 2002 for ac_signal in 1 2 13 15; do 1634 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2003 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1635 2004 done 1636 2005 ac_signal=0 … … 1639 2008 rm -f -r conftest* confdefs.h 1640 2009 2010 $as_echo "/* confdefs.h */" > confdefs.h 2011 1641 2012 # Predefined preprocessor variables. 1642 2013 … … 1645 2016 _ACEOF 1646 2017 1647 1648 2018 cat >>confdefs.h <<_ACEOF 1649 2019 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1650 2020 _ACEOF 1651 2021 1652 1653 2022 cat >>confdefs.h <<_ACEOF 1654 2023 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1655 2024 _ACEOF 1656 2025 1657 1658 2026 cat >>confdefs.h <<_ACEOF 1659 2027 #define PACKAGE_STRING "$PACKAGE_STRING" 1660 2028 _ACEOF 1661 2029 1662 1663 2030 cat >>confdefs.h <<_ACEOF 1664 2031 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1665 2032 _ACEOF 1666 2033 2034 cat >>confdefs.h <<_ACEOF 2035 #define PACKAGE_URL "$PACKAGE_URL" 2036 _ACEOF 2037 1667 2038 1668 2039 # Let the site file select an alternate cache file if it wants to. 1669 # Prefer explicitly selected file to automatically selected ones. 2040 # Prefer an explicitly selected file to automatically selected ones. 2041 ac_site_file1=NONE 2042 ac_site_file2=NONE 1670 2043 if test -n "$CONFIG_SITE"; then 1671 set x "$CONFIG_SITE"2044 ac_site_file1=$CONFIG_SITE 1672 2045 elif test "x$prefix" != xNONE; then 1673 set x "$prefix/share/config.site" "$prefix/etc/config.site"1674 else1675 set x "$ac_default_prefix/share/config.site" \ 1676 "$ac_default_prefix/etc/config.site" 1677 fi 1678 shift 1679 for ac_site_file 2046 ac_site_file1=$prefix/share/config.site 2047 ac_site_file2=$prefix/etc/config.site 2048 else 2049 ac_site_file1=$ac_default_prefix/share/config.site 2050 ac_site_file2=$ac_default_prefix/etc/config.site 2051 fi 2052 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1680 2053 do 2054 test "x$ac_site_file" = xNONE && continue 1681 2055 if test -r "$ac_site_file"; then 1682 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51683 echo "$as_me: loading site script $ac_site_file" >&6;}2056 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2057 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1684 2058 sed 's/^/| /' "$ac_site_file" >&5 1685 2059 . "$ac_site_file" … … 1691 2065 # files actually), so we avoid doing that. 1692 2066 if test -f "$cache_file"; then 1693 { echo "$as_me:$LINENO: loading cache $cache_file" >&51694 echo "$as_me: loading cache $cache_file" >&6;}2067 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2068 $as_echo "$as_me: loading cache $cache_file" >&6;} 1695 2069 case $cache_file in 1696 2070 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1699 2073 fi 1700 2074 else 1701 { echo "$as_me:$LINENO: creating cache $cache_file" >&51702 echo "$as_me: creating cache $cache_file" >&6;}2075 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2076 $as_echo "$as_me: creating cache $cache_file" >&6;} 1703 2077 >$cache_file 1704 2078 fi … … 1714 2088 case $ac_old_set,$ac_new_set in 1715 2089 set,) 1716 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51717 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2091 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1718 2092 ac_cache_corrupted=: ;; 1719 2093 ,set) 1720 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51721 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2094 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2095 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1722 2096 ac_cache_corrupted=: ;; 1723 2097 ,);; 1724 2098 *) 1725 2099 if test "x$ac_old_val" != "x$ac_new_val"; then 1726 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1727 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1728 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1729 echo "$as_me: former value: $ac_old_val" >&2;} 1730 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1731 echo "$as_me: current value: $ac_new_val" >&2;} 1732 ac_cache_corrupted=: 2100 # differences in whitespace do not lead to failure. 2101 ac_old_val_w=`echo x $ac_old_val` 2102 ac_new_val_w=`echo x $ac_new_val` 2103 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2105 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2106 ac_cache_corrupted=: 2107 else 2108 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2109 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2110 eval $ac_var=\$ac_old_val 2111 fi 2112 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2113 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2114 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2115 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1733 2116 fi;; 1734 2117 esac … … 1736 2119 if test "$ac_new_set" = set; then 1737 2120 case $ac_new_val in 1738 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2121 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1739 2122 *) ac_arg=$ac_var=$ac_new_val ;; 1740 2123 esac 1741 2124 case " $ac_configure_args " in 1742 2125 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1743 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2126 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1744 2127 esac 1745 2128 fi 1746 2129 done 1747 2130 if $ac_cache_corrupted; then 1748 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1749 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1750 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1751 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1752 { (exit 1); exit 1; }; } 1753 fi 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 2131 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2133 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2134 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2135 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2136 fi 2137 ## -------------------- ## 2138 ## Main body of script. ## 2139 ## -------------------- ## 1778 2140 1779 2141 ac_ext=c … … 1789 2151 ac_aux_dir= 1790 2152 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1791 if test -f "$ac_dir/install-sh"; then 1792 ac_aux_dir=$ac_dir 1793 ac_install_sh="$ac_aux_dir/install-sh -c" 1794 break 1795 elif test -f "$ac_dir/install.sh"; then 1796 ac_aux_dir=$ac_dir 1797 ac_install_sh="$ac_aux_dir/install.sh -c" 1798 break 1799 elif test -f "$ac_dir/shtool"; then 1800 ac_aux_dir=$ac_dir 1801 ac_install_sh="$ac_aux_dir/shtool install -c" 1802 break 1803 fi 2153 for ac_t in install-sh install.sh shtool; do 2154 if test -f "$ac_dir/$ac_t"; then 2155 ac_aux_dir=$ac_dir 2156 ac_install_sh="$ac_aux_dir/$ac_t -c" 2157 break 2 2158 fi 2159 done 1804 2160 done 1805 2161 if test -z "$ac_aux_dir"; then 1806 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1807 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1808 { (exit 1); exit 1; }; } 2162 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1809 2163 fi 1810 2164 … … 1820 2174 # Make sure we can run config.sub. 1821 2175 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1822 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1823 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1824 { (exit 1); exit 1; }; } 1825 1826 { echo "$as_me:$LINENO: checking build system type" >&5 1827 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1828 if test "${ac_cv_build+set}" = set; then 1829 echo $ECHO_N "(cached) $ECHO_C" >&6 2176 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2177 2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2179 $as_echo_n "checking build system type... " >&6; } 2180 if test "${ac_cv_build+set}" = set; then : 2181 $as_echo_n "(cached) " >&6 1830 2182 else 1831 2183 ac_build_alias=$build_alias … … 1833 2185 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1834 2186 test "x$ac_build_alias" = x && 1835 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1836 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1837 { (exit 1); exit 1; }; } 2187 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1838 2188 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1839 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1840 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1841 { (exit 1); exit 1; }; } 1842 1843 fi 1844 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1845 echo "${ECHO_T}$ac_cv_build" >&6; } 2189 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2190 2191 fi 2192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2193 $as_echo "$ac_cv_build" >&6; } 1846 2194 case $ac_cv_build in 1847 2195 *-*-*) ;; 1848 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1849 echo "$as_me: error: invalid value of canonical build" >&2;} 1850 { (exit 1); exit 1; }; };; 2196 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1851 2197 esac 1852 2198 build=$ac_cv_build … … 1864 2210 1865 2211 1866 { echo "$as_me:$LINENO: checking host system type" >&51867 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }1868 if test "${ac_cv_host+set}" = set; then 1869 echo $ECHO_N "(cached) $ECHO_C" >&62212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2213 $as_echo_n "checking host system type... " >&6; } 2214 if test "${ac_cv_host+set}" = set; then : 2215 $as_echo_n "(cached) " >&6 1870 2216 else 1871 2217 if test "x$host_alias" = x; then … … 1873 2219 else 1874 2220 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1875 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1876 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1877 { (exit 1); exit 1; }; } 1878 fi 1879 1880 fi 1881 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1882 echo "${ECHO_T}$ac_cv_host" >&6; } 2221 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2222 fi 2223 2224 fi 2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2226 $as_echo "$ac_cv_host" >&6; } 1883 2227 case $ac_cv_host in 1884 2228 *-*-*) ;; 1885 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1886 echo "$as_me: error: invalid value of canonical host" >&2;} 1887 { (exit 1); exit 1; }; };; 2229 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1888 2230 esac 1889 2231 host=$ac_cv_host … … 1901 2243 1902 2244 1903 { echo "$as_me:$LINENO: checking target system type" >&51904 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }1905 if test "${ac_cv_target+set}" = set; then 1906 echo $ECHO_N "(cached) $ECHO_C" >&62245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2246 $as_echo_n "checking target system type... " >&6; } 2247 if test "${ac_cv_target+set}" = set; then : 2248 $as_echo_n "(cached) " >&6 1907 2249 else 1908 2250 if test "x$target_alias" = x; then … … 1910 2252 else 1911 2253 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1912 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1913 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1914 { (exit 1); exit 1; }; } 1915 fi 1916 1917 fi 1918 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1919 echo "${ECHO_T}$ac_cv_target" >&6; } 2254 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2255 fi 2256 2257 fi 2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2259 $as_echo "$ac_cv_target" >&6; } 1920 2260 case $ac_cv_target in 1921 2261 *-*-*) ;; 1922 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1923 echo "$as_me: error: invalid value of canonical target" >&2;} 1924 { (exit 1); exit 1; }; };; 2262 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 1925 2263 esac 1926 2264 target=$ac_cv_target … … 1966 2304 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1967 2305 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1968 { echo "$as_me:$LINENO: checking for $ac_word" >&51969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1970 if test "${ac_cv_prog_CC+set}" = set; then 1971 echo $ECHO_N "(cached) $ECHO_C" >&62306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2307 $as_echo_n "checking for $ac_word... " >&6; } 2308 if test "${ac_cv_prog_CC+set}" = set; then : 2309 $as_echo_n "(cached) " >&6 1972 2310 else 1973 2311 if test -n "$CC"; then … … 1979 2317 IFS=$as_save_IFS 1980 2318 test -z "$as_dir" && as_dir=. 1981 for ac_exec_ext in '' $ac_executable_extensions; do2319 for ac_exec_ext in '' $ac_executable_extensions; do 1982 2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1983 2321 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1985 2323 break 2 1986 2324 fi 1987 2325 done 1988 done2326 done 1989 2327 IFS=$as_save_IFS 1990 2328 … … 1993 2331 CC=$ac_cv_prog_CC 1994 2332 if test -n "$CC"; then 1995 { echo "$as_me:$LINENO: result: $CC" >&51996 echo "${ECHO_T}$CC" >&6; }1997 else 1998 { echo "$as_me:$LINENO: result: no" >&51999 echo "${ECHO_T}no" >&6; }2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2334 $as_echo "$CC" >&6; } 2335 else 2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2337 $as_echo "no" >&6; } 2000 2338 fi 2001 2339 … … 2006 2344 # Extract the first word of "gcc", so it can be a program name with args. 2007 2345 set dummy gcc; ac_word=$2 2008 { echo "$as_me:$LINENO: checking for $ac_word" >&52009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2010 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2011 echo $ECHO_N "(cached) $ECHO_C" >&62346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2347 $as_echo_n "checking for $ac_word... " >&6; } 2348 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2349 $as_echo_n "(cached) " >&6 2012 2350 else 2013 2351 if test -n "$ac_ct_CC"; then … … 2019 2357 IFS=$as_save_IFS 2020 2358 test -z "$as_dir" && as_dir=. 2021 for ac_exec_ext in '' $ac_executable_extensions; do2359 for ac_exec_ext in '' $ac_executable_extensions; do 2022 2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2023 2361 ac_cv_prog_ac_ct_CC="gcc" 2024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2025 2363 break 2 2026 2364 fi 2027 2365 done 2028 done2366 done 2029 2367 IFS=$as_save_IFS 2030 2368 … … 2033 2371 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2034 2372 if test -n "$ac_ct_CC"; then 2035 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52036 echo "${ECHO_T}$ac_ct_CC" >&6; }2037 else 2038 { echo "$as_me:$LINENO: result: no" >&52039 echo "${ECHO_T}no" >&6; }2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2374 $as_echo "$ac_ct_CC" >&6; } 2375 else 2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2377 $as_echo "no" >&6; } 2040 2378 fi 2041 2379 … … 2045 2383 case $cross_compiling:$ac_tool_warned in 2046 2384 yes:) 2047 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2048 whose name does not start with the host triplet. If you think this 2049 configuration is useful to you, please write to autoconf@gnu.org." >&5 2050 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2051 whose name does not start with the host triplet. If you think this 2052 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2053 2387 ac_tool_warned=yes ;; 2054 2388 esac … … 2063 2397 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2064 2398 set dummy ${ac_tool_prefix}cc; ac_word=$2 2065 { echo "$as_me:$LINENO: checking for $ac_word" >&52066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2067 if test "${ac_cv_prog_CC+set}" = set; then 2068 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 2069 2403 else 2070 2404 if test -n "$CC"; then … … 2076 2410 IFS=$as_save_IFS 2077 2411 test -z "$as_dir" && as_dir=. 2078 for ac_exec_ext in '' $ac_executable_extensions; do2412 for ac_exec_ext in '' $ac_executable_extensions; do 2079 2413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2080 2414 ac_cv_prog_CC="${ac_tool_prefix}cc" 2081 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 2082 2416 break 2 2083 2417 fi 2084 2418 done 2085 done2419 done 2086 2420 IFS=$as_save_IFS 2087 2421 … … 2090 2424 CC=$ac_cv_prog_CC 2091 2425 if test -n "$CC"; then 2092 { echo "$as_me:$LINENO: result: $CC" >&52093 echo "${ECHO_T}$CC" >&6; }2094 else 2095 { echo "$as_me:$LINENO: result: no" >&52096 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; } 2097 2431 fi 2098 2432 … … 2103 2437 # Extract the first word of "cc", so it can be a program name with args. 2104 2438 set dummy cc; ac_word=$2 2105 { echo "$as_me:$LINENO: checking for $ac_word" >&52106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2107 if test "${ac_cv_prog_CC+set}" = set; then 2108 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_CC+set}" = set; then : 2442 $as_echo_n "(cached) " >&6 2109 2443 else 2110 2444 if test -n "$CC"; then … … 2117 2451 IFS=$as_save_IFS 2118 2452 test -z "$as_dir" && as_dir=. 2119 for ac_exec_ext in '' $ac_executable_extensions; do2453 for ac_exec_ext in '' $ac_executable_extensions; do 2120 2454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2121 2455 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2124 2458 fi 2125 2459 ac_cv_prog_CC="cc" 2126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2127 2461 break 2 2128 2462 fi 2129 2463 done 2130 done2464 done 2131 2465 IFS=$as_save_IFS 2132 2466 … … 2147 2481 CC=$ac_cv_prog_CC 2148 2482 if test -n "$CC"; then 2149 { echo "$as_me:$LINENO: result: $CC" >&52150 echo "${ECHO_T}$CC" >&6; }2151 else 2152 { echo "$as_me:$LINENO: result: no" >&52153 echo "${ECHO_T}no" >&6; }2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2484 $as_echo "$CC" >&6; } 2485 else 2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2487 $as_echo "no" >&6; } 2154 2488 fi 2155 2489 … … 2162 2496 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2163 2497 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2164 { echo "$as_me:$LINENO: checking for $ac_word" >&52165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2166 if test "${ac_cv_prog_CC+set}" = set; then 2167 echo $ECHO_N "(cached) $ECHO_C" >&62498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2499 $as_echo_n "checking for $ac_word... " >&6; } 2500 if test "${ac_cv_prog_CC+set}" = set; then : 2501 $as_echo_n "(cached) " >&6 2168 2502 else 2169 2503 if test -n "$CC"; then … … 2175 2509 IFS=$as_save_IFS 2176 2510 test -z "$as_dir" && as_dir=. 2177 for ac_exec_ext in '' $ac_executable_extensions; do2511 for ac_exec_ext in '' $ac_executable_extensions; do 2178 2512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2179 2513 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2181 2515 break 2 2182 2516 fi 2183 2517 done 2184 done2518 done 2185 2519 IFS=$as_save_IFS 2186 2520 … … 2189 2523 CC=$ac_cv_prog_CC 2190 2524 if test -n "$CC"; then 2191 { echo "$as_me:$LINENO: result: $CC" >&52192 echo "${ECHO_T}$CC" >&6; }2193 else 2194 { echo "$as_me:$LINENO: result: no" >&52195 echo "${ECHO_T}no" >&6; }2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2526 $as_echo "$CC" >&6; } 2527 else 2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2529 $as_echo "no" >&6; } 2196 2530 fi 2197 2531 … … 2206 2540 # Extract the first word of "$ac_prog", so it can be a program name with args. 2207 2541 set dummy $ac_prog; ac_word=$2 2208 { echo "$as_me:$LINENO: checking for $ac_word" >&52209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2210 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2211 echo $ECHO_N "(cached) $ECHO_C" >&62542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2543 $as_echo_n "checking for $ac_word... " >&6; } 2544 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2545 $as_echo_n "(cached) " >&6 2212 2546 else 2213 2547 if test -n "$ac_ct_CC"; then … … 2219 2553 IFS=$as_save_IFS 2220 2554 test -z "$as_dir" && as_dir=. 2221 for ac_exec_ext in '' $ac_executable_extensions; do2555 for ac_exec_ext in '' $ac_executable_extensions; do 2222 2556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2223 2557 ac_cv_prog_ac_ct_CC="$ac_prog" 2224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2225 2559 break 2 2226 2560 fi 2227 2561 done 2228 done2562 done 2229 2563 IFS=$as_save_IFS 2230 2564 … … 2233 2567 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2234 2568 if test -n "$ac_ct_CC"; then 2235 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52236 echo "${ECHO_T}$ac_ct_CC" >&6; }2237 else 2238 { echo "$as_me:$LINENO: result: no" >&52239 echo "${ECHO_T}no" >&6; }2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2570 $as_echo "$ac_ct_CC" >&6; } 2571 else 2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2573 $as_echo "no" >&6; } 2240 2574 fi 2241 2575 … … 2249 2583 case $cross_compiling:$ac_tool_warned in 2250 2584 yes:) 2251 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2252 whose name does not start with the host triplet. If you think this 2253 configuration is useful to you, please write to autoconf@gnu.org." >&5 2254 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2255 whose name does not start with the host triplet. If you think this 2256 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2257 2587 ac_tool_warned=yes ;; 2258 2588 esac … … 2264 2594 2265 2595 2266 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2267 See \`config.log' for more details." >&5 2268 echo "$as_me: error: no acceptable C compiler found in \$PATH 2269 See \`config.log' for more details." >&2;} 2270 { (exit 1); exit 1; }; } 2596 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2598 as_fn_error "no acceptable C compiler found in \$PATH 2599 See \`config.log' for more details." "$LINENO" 5; } 2271 2600 2272 2601 # Provide some information about the compiler. 2273 echo "$as_me:$LINENO: checking for C compiler version" >&5 2274 ac_compiler=`set X $ac_compile; echo $2` 2275 { (ac_try="$ac_compiler --version >&5" 2602 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2603 set X $ac_compile 2604 ac_compiler=$2 2605 for ac_option in --version -v -V -qversion; do 2606 { { ac_try="$ac_compiler $ac_option >&5" 2276 2607 case "(($ac_try" in 2277 2608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2278 2609 *) ac_try_echo=$ac_try;; 2279 2610 esac 2280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2281 (eval "$ac_compiler --version >&5") 2>&5 2611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2612 $as_echo "$ac_try_echo"; } >&5 2613 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2282 2614 ac_status=$? 2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2284 (exit $ac_status); } 2285 { (ac_try="$ac_compiler -v >&5" 2615 if test -s conftest.err; then 2616 sed '10a\ 2617 ... rest of stderr output deleted ... 2618 10q' conftest.err >conftest.er1 2619 cat conftest.er1 >&5 2620 rm -f conftest.er1 conftest.err 2621 fi 2622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2623 test $ac_status = 0; } 2624 done 2625 2626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2627 /* end confdefs.h. */ 2628 #include <stdio.h> 2629 int 2630 main () 2631 { 2632 FILE *f = fopen ("conftest.out", "w"); 2633 return ferror (f) || fclose (f) != 0; 2634 2635 ; 2636 return 0; 2637 } 2638 _ACEOF 2639 ac_clean_files_save=$ac_clean_files 2640 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 2641 # Try to create an executable without -o first, disregard a.out. 2642 # It will help us diagnose broken compilers, and finding out an intuition 2643 # of exeext. 2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2645 $as_echo_n "checking for C compiler default output file name... " >&6; } 2646 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2647 2648 # The possible output files: 2649 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2650 2651 ac_rmfiles= 2652 for ac_file in $ac_files 2653 do 2654 case $ac_file in 2655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2656 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2657 esac 2658 done 2659 rm -f $ac_rmfiles 2660 2661 if { { ac_try="$ac_link_default" 2286 2662 case "(($ac_try" in 2287 2663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2288 2664 *) ac_try_echo=$ac_try;; 2289 2665 esac 2290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2291 (eval "$ac_compiler -v >&5") 2>&5 2292 ac_status=$? 2293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2294 (exit $ac_status); } 2295 { (ac_try="$ac_compiler -V >&5" 2296 case "(($ac_try" in 2297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2298 *) ac_try_echo=$ac_try;; 2299 esac 2300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2301 (eval "$ac_compiler -V >&5") 2>&5 2302 ac_status=$? 2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2304 (exit $ac_status); } 2305 2306 cat >conftest.$ac_ext <<_ACEOF 2307 /* confdefs.h. */ 2308 _ACEOF 2309 cat confdefs.h >>conftest.$ac_ext 2310 cat >>conftest.$ac_ext <<_ACEOF 2311 /* end confdefs.h. */ 2312 2313 int 2314 main () 2315 { 2316 2317 ; 2318 return 0; 2319 } 2320 _ACEOF 2321 ac_clean_files_save=$ac_clean_files 2322 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2323 # Try to create an executable without -o first, disregard a.out. 2324 # It will help us diagnose broken compilers, and finding out an intuition 2325 # of exeext. 2326 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2327 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2328 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2329 # 2330 # List of possible output files, starting from the most likely. 2331 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2332 # only as a last resort. b.out is created by i960 compilers. 2333 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2334 # 2335 # The IRIX 6 linker writes into existing files which may not be 2336 # executable, retaining their permissions. Remove them first so a 2337 # subsequent execution test works. 2338 ac_rmfiles= 2339 for ac_file in $ac_files 2340 do 2341 case $ac_file in 2342 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2343 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2344 esac 2345 done 2346 rm -f $ac_rmfiles 2347 2348 if { (ac_try="$ac_link_default" 2349 case "(($ac_try" in 2350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2351 *) ac_try_echo=$ac_try;; 2352 esac 2353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2667 $as_echo "$ac_try_echo"; } >&5 2354 2668 (eval "$ac_link_default") 2>&5 2355 2669 ac_status=$? 2356 echo "$as_me:$LINENO: \$? = $ac_status" >&52357 (exit $ac_status); }; then2670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2671 test $ac_status = 0; }; then : 2358 2672 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2359 2673 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2365 2679 test -f "$ac_file" || continue 2366 2680 case $ac_file in 2367 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )2681 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2368 2682 ;; 2369 2683 [ab].out ) … … 2372 2686 break;; 2373 2687 *.* ) 2374 2688 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2375 2689 then :; else 2376 2690 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2391 2705 ac_file='' 2392 2706 fi 2393 2394 { echo "$as_me:$LINENO: result: $ac_file" >&5 2395 echo "${ECHO_T}$ac_file" >&6; } 2396 if test -z "$ac_file"; then 2397 echo "$as_me: failed program was:" >&5 2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2708 $as_echo "$ac_file" >&6; } 2709 if test -z "$ac_file"; then : 2710 $as_echo "$as_me: failed program was:" >&5 2398 2711 sed 's/^/| /' conftest.$ac_ext >&5 2399 2712 2400 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2401 See \`config.log' for more details." >&5 2402 echo "$as_me: error: C compiler cannot create executables 2403 See \`config.log' for more details." >&2;} 2404 { (exit 77); exit 77; }; } 2405 fi 2406 2713 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2715 { as_fn_set_status 77 2716 as_fn_error "C compiler cannot create executables 2717 See \`config.log' for more details." "$LINENO" 5; }; } 2718 fi 2407 2719 ac_exeext=$ac_cv_exeext 2408 2720 2409 2721 # Check that the compiler produces executables we can run. If not, either 2410 2722 # the compiler is broken, or we cross compile. 2411 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2412 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2413 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2724 $as_echo_n "checking whether the C compiler works... " >&6; } 2414 2725 # If not cross compiling, check that we can run a simple program. 2415 2726 if test "$cross_compiling" != yes; then 2416 2727 if { ac_try='./$ac_file' 2417 { (case "(($ac_try" in2728 { { case "(($ac_try" in 2418 2729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2419 2730 *) ac_try_echo=$ac_try;; 2420 2731 esac 2421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2733 $as_echo "$ac_try_echo"; } >&5 2422 2734 (eval "$ac_try") 2>&5 2423 2735 ac_status=$? 2424 echo "$as_me:$LINENO: \$? = $ac_status" >&52425 (exit $ac_status); }; }; then2736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2737 test $ac_status = 0; }; }; then 2426 2738 cross_compiling=no 2427 2739 else … … 2429 2741 cross_compiling=yes 2430 2742 else 2431 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2745 as_fn_error "cannot run C compiled programs. 2432 2746 If you meant to cross compile, use \`--host'. 2433 See \`config.log' for more details." >&5 2434 echo "$as_me: error: cannot run C compiled programs. 2435 If you meant to cross compile, use \`--host'. 2436 See \`config.log' for more details." >&2;} 2437 { (exit 1); exit 1; }; } 2747 See \`config.log' for more details." "$LINENO" 5; } 2438 2748 fi 2439 2749 fi 2440 2750 fi 2441 { echo "$as_me:$LINENO: result: yes" >&52442 echo "${ECHO_T}yes" >&6; }2443 2444 rm -f a.out a.exe conftest$ac_cv_exeext b.out2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2752 $as_echo "yes" >&6; } 2753 2754 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out 2445 2755 ac_clean_files=$ac_clean_files_save 2446 2756 # Check that the compiler produces executables we can run. If not, either 2447 2757 # the compiler is broken, or we cross compile. 2448 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&52449 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }2450 { echo "$as_me:$LINENO: result: $cross_compiling" >&52451 echo "${ECHO_T}$cross_compiling" >&6; }2452 2453 { echo "$as_me:$LINENO: checking for suffix of executables" >&52454 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }2455 if { (ac_try="$ac_link"2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2759 $as_echo_n "checking whether we are cross compiling... " >&6; } 2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2761 $as_echo "$cross_compiling" >&6; } 2762 2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2764 $as_echo_n "checking for suffix of executables... " >&6; } 2765 if { { ac_try="$ac_link" 2456 2766 case "(($ac_try" in 2457 2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2458 2768 *) ac_try_echo=$ac_try;; 2459 2769 esac 2460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2771 $as_echo "$ac_try_echo"; } >&5 2461 2772 (eval "$ac_link") 2>&5 2462 2773 ac_status=$? 2463 echo "$as_me:$LINENO: \$? = $ac_status" >&52464 (exit $ac_status); }; then2774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2775 test $ac_status = 0; }; then : 2465 2776 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2466 2777 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2470 2781 test -f "$ac_file" || continue 2471 2782 case $ac_file in 2472 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;2783 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2473 2784 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2474 2785 break;; … … 2477 2788 done 2478 2789 else 2479 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2480 See \`config.log' for more details." >&5 2481 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2482 See \`config.log' for more details." >&2;} 2483 { (exit 1); exit 1; }; } 2484 fi 2485 2790 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2792 as_fn_error "cannot compute suffix of executables: cannot compile and link 2793 See \`config.log' for more details." "$LINENO" 5; } 2794 fi 2486 2795 rm -f conftest$ac_cv_exeext 2487 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52488 echo "${ECHO_T}$ac_cv_exeext" >&6; }2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2797 $as_echo "$ac_cv_exeext" >&6; } 2489 2798 2490 2799 rm -f conftest.$ac_ext 2491 2800 EXEEXT=$ac_cv_exeext 2492 2801 ac_exeext=$EXEEXT 2493 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2494 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2495 if test "${ac_cv_objext+set}" = set; then 2496 echo $ECHO_N "(cached) $ECHO_C" >&6 2497 else 2498 cat >conftest.$ac_ext <<_ACEOF 2499 /* confdefs.h. */ 2500 _ACEOF 2501 cat confdefs.h >>conftest.$ac_ext 2502 cat >>conftest.$ac_ext <<_ACEOF 2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2803 $as_echo_n "checking for suffix of object files... " >&6; } 2804 if test "${ac_cv_objext+set}" = set; then : 2805 $as_echo_n "(cached) " >&6 2806 else 2807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2503 2808 /* end confdefs.h. */ 2504 2809 … … 2512 2817 _ACEOF 2513 2818 rm -f conftest.o conftest.obj 2514 if { (ac_try="$ac_compile"2819 if { { ac_try="$ac_compile" 2515 2820 case "(($ac_try" in 2516 2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2517 2822 *) ac_try_echo=$ac_try;; 2518 2823 esac 2519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2825 $as_echo "$ac_try_echo"; } >&5 2520 2826 (eval "$ac_compile") 2>&5 2521 2827 ac_status=$? 2522 echo "$as_me:$LINENO: \$? = $ac_status" >&52523 (exit $ac_status); }; then2828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2829 test $ac_status = 0; }; then : 2524 2830 for ac_file in conftest.o conftest.obj conftest.*; do 2525 2831 test -f "$ac_file" || continue; 2526 2832 case $ac_file in 2527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;2833 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2528 2834 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2529 2835 break;; … … 2531 2837 done 2532 2838 else 2533 echo "$as_me: failed program was:" >&52839 $as_echo "$as_me: failed program was:" >&5 2534 2840 sed 's/^/| /' conftest.$ac_ext >&5 2535 2841 2536 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2537 See \`config.log' for more details." >&5 2538 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2539 See \`config.log' for more details." >&2;} 2540 { (exit 1); exit 1; }; } 2541 fi 2542 2842 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2844 as_fn_error "cannot compute suffix of object files: cannot compile 2845 See \`config.log' for more details." "$LINENO" 5; } 2846 fi 2543 2847 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2544 2848 fi 2545 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52546 echo "${ECHO_T}$ac_cv_objext" >&6; }2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2850 $as_echo "$ac_cv_objext" >&6; } 2547 2851 OBJEXT=$ac_cv_objext 2548 2852 ac_objext=$OBJEXT 2549 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2550 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2551 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2552 echo $ECHO_N "(cached) $ECHO_C" >&6 2553 else 2554 cat >conftest.$ac_ext <<_ACEOF 2555 /* confdefs.h. */ 2556 _ACEOF 2557 cat confdefs.h >>conftest.$ac_ext 2558 cat >>conftest.$ac_ext <<_ACEOF 2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2854 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2855 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2856 $as_echo_n "(cached) " >&6 2857 else 2858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2559 2859 /* end confdefs.h. */ 2560 2860 … … 2570 2870 } 2571 2871 _ACEOF 2572 rm -f conftest.$ac_objext 2573 if { (ac_try="$ac_compile" 2574 case "(($ac_try" in 2575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2576 *) ac_try_echo=$ac_try;; 2577 esac 2578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2579 (eval "$ac_compile") 2>conftest.er1 2580 ac_status=$? 2581 grep -v '^ *+' conftest.er1 >conftest.err 2582 rm -f conftest.er1 2583 cat conftest.err >&5 2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2585 (exit $ac_status); } && { 2586 test -z "$ac_c_werror_flag" || 2587 test ! -s conftest.err 2588 } && test -s conftest.$ac_objext; then 2872 if ac_fn_c_try_compile "$LINENO"; then : 2589 2873 ac_compiler_gnu=yes 2590 2874 else 2591 echo "$as_me: failed program was:" >&5 2592 sed 's/^/| /' conftest.$ac_ext >&5 2593 2594 ac_compiler_gnu=no 2595 fi 2596 2875 ac_compiler_gnu=no 2876 fi 2597 2877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2598 2878 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2599 2879 2600 2880 fi 2601 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2602 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2603 GCC=`test $ac_compiler_gnu = yes && echo yes` 2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2882 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2883 if test $ac_compiler_gnu = yes; then 2884 GCC=yes 2885 else 2886 GCC= 2887 fi 2604 2888 ac_test_CFLAGS=${CFLAGS+set} 2605 2889 ac_save_CFLAGS=$CFLAGS 2606 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52607 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2608 if test "${ac_cv_prog_cc_g+set}" = set; then 2609 echo $ECHO_N "(cached) $ECHO_C" >&62890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2891 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2892 if test "${ac_cv_prog_cc_g+set}" = set; then : 2893 $as_echo_n "(cached) " >&6 2610 2894 else 2611 2895 ac_save_c_werror_flag=$ac_c_werror_flag … … 2613 2897 ac_cv_prog_cc_g=no 2614 2898 CFLAGS="-g" 2615 cat >conftest.$ac_ext <<_ACEOF 2616 /* confdefs.h. */ 2617 _ACEOF 2618 cat confdefs.h >>conftest.$ac_ext 2619 cat >>conftest.$ac_ext <<_ACEOF 2899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2620 2900 /* end confdefs.h. */ 2621 2901 … … 2628 2908 } 2629 2909 _ACEOF 2630 rm -f conftest.$ac_objext 2631 if { (ac_try="$ac_compile" 2632 case "(($ac_try" in 2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2634 *) ac_try_echo=$ac_try;; 2635 esac 2636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2637 (eval "$ac_compile") 2>conftest.er1 2638 ac_status=$? 2639 grep -v '^ *+' conftest.er1 >conftest.err 2640 rm -f conftest.er1 2641 cat conftest.err >&5 2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2643 (exit $ac_status); } && { 2644 test -z "$ac_c_werror_flag" || 2645 test ! -s conftest.err 2646 } && test -s conftest.$ac_objext; then 2910 if ac_fn_c_try_compile "$LINENO"; then : 2647 2911 ac_cv_prog_cc_g=yes 2648 2912 else 2649 echo "$as_me: failed program was:" >&5 2650 sed 's/^/| /' conftest.$ac_ext >&5 2651 2652 CFLAGS="" 2653 cat >conftest.$ac_ext <<_ACEOF 2654 /* confdefs.h. */ 2655 _ACEOF 2656 cat confdefs.h >>conftest.$ac_ext 2657 cat >>conftest.$ac_ext <<_ACEOF 2913 CFLAGS="" 2914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2658 2915 /* end confdefs.h. */ 2659 2916 … … 2666 2923 } 2667 2924 _ACEOF 2668 rm -f conftest.$ac_objext 2669 if { (ac_try="$ac_compile" 2670 case "(($ac_try" in 2671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2672 *) ac_try_echo=$ac_try;; 2673 esac 2674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2675 (eval "$ac_compile") 2>conftest.er1 2676 ac_status=$? 2677 grep -v '^ *+' conftest.er1 >conftest.err 2678 rm -f conftest.er1 2679 cat conftest.err >&5 2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2681 (exit $ac_status); } && { 2682 test -z "$ac_c_werror_flag" || 2683 test ! -s conftest.err 2684 } && test -s conftest.$ac_objext; then 2685 : 2686 else 2687 echo "$as_me: failed program was:" >&5 2688 sed 's/^/| /' conftest.$ac_ext >&5 2689 2690 ac_c_werror_flag=$ac_save_c_werror_flag 2925 if ac_fn_c_try_compile "$LINENO"; then : 2926 2927 else 2928 ac_c_werror_flag=$ac_save_c_werror_flag 2691 2929 CFLAGS="-g" 2692 cat >conftest.$ac_ext <<_ACEOF 2693 /* confdefs.h. */ 2694 _ACEOF 2695 cat confdefs.h >>conftest.$ac_ext 2696 cat >>conftest.$ac_ext <<_ACEOF 2930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2697 2931 /* end confdefs.h. */ 2698 2932 … … 2705 2939 } 2706 2940 _ACEOF 2707 rm -f conftest.$ac_objext 2708 if { (ac_try="$ac_compile" 2709 case "(($ac_try" in 2710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2711 *) ac_try_echo=$ac_try;; 2712 esac 2713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2714 (eval "$ac_compile") 2>conftest.er1 2715 ac_status=$? 2716 grep -v '^ *+' conftest.er1 >conftest.err 2717 rm -f conftest.er1 2718 cat conftest.err >&5 2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2720 (exit $ac_status); } && { 2721 test -z "$ac_c_werror_flag" || 2722 test ! -s conftest.err 2723 } && test -s conftest.$ac_objext; then 2941 if ac_fn_c_try_compile "$LINENO"; then : 2724 2942 ac_cv_prog_cc_g=yes 2725 else 2726 echo "$as_me: failed program was:" >&5 2727 sed 's/^/| /' conftest.$ac_ext >&5 2728 2729 2730 fi 2731 2943 fi 2732 2944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2733 2945 fi 2734 2735 2946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2736 2947 fi 2737 2738 2948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2739 2949 ac_c_werror_flag=$ac_save_c_werror_flag 2740 2950 fi 2741 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52742 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2952 $as_echo "$ac_cv_prog_cc_g" >&6; } 2743 2953 if test "$ac_test_CFLAGS" = set; then 2744 2954 CFLAGS=$ac_save_CFLAGS … … 2756 2966 fi 2757 2967 fi 2758 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52759 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2760 if test "${ac_cv_prog_cc_c89+set}" = set; then 2761 echo $ECHO_N "(cached) $ECHO_C" >&62968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2969 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2970 if test "${ac_cv_prog_cc_c89+set}" = set; then : 2971 $as_echo_n "(cached) " >&6 2762 2972 else 2763 2973 ac_cv_prog_cc_c89=no 2764 2974 ac_save_CC=$CC 2765 cat >conftest.$ac_ext <<_ACEOF 2766 /* confdefs.h. */ 2767 _ACEOF 2768 cat confdefs.h >>conftest.$ac_ext 2769 cat >>conftest.$ac_ext <<_ACEOF 2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2770 2976 /* end confdefs.h. */ 2771 2977 #include <stdarg.h> … … 2824 3030 do 2825 3031 CC="$ac_save_CC $ac_arg" 2826 rm -f conftest.$ac_objext 2827 if { (ac_try="$ac_compile" 2828 case "(($ac_try" in 2829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2830 *) ac_try_echo=$ac_try;; 2831 esac 2832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2833 (eval "$ac_compile") 2>conftest.er1 2834 ac_status=$? 2835 grep -v '^ *+' conftest.er1 >conftest.err 2836 rm -f conftest.er1 2837 cat conftest.err >&5 2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2839 (exit $ac_status); } && { 2840 test -z "$ac_c_werror_flag" || 2841 test ! -s conftest.err 2842 } && test -s conftest.$ac_objext; then 3032 if ac_fn_c_try_compile "$LINENO"; then : 2843 3033 ac_cv_prog_cc_c89=$ac_arg 2844 else 2845 echo "$as_me: failed program was:" >&5 2846 sed 's/^/| /' conftest.$ac_ext >&5 2847 2848 2849 fi 2850 3034 fi 2851 3035 rm -f core conftest.err conftest.$ac_objext 2852 3036 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2859 3043 case "x$ac_cv_prog_cc_c89" in 2860 3044 x) 2861 { echo "$as_me:$LINENO: result: none needed" >&52862 echo "${ECHO_T}none needed" >&6; } ;;3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3046 $as_echo "none needed" >&6; } ;; 2863 3047 xno) 2864 { echo "$as_me:$LINENO: result: unsupported" >&52865 echo "${ECHO_T}unsupported" >&6; } ;;3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3049 $as_echo "unsupported" >&6; } ;; 2866 3050 *) 2867 3051 CC="$CC $ac_cv_prog_cc_c89" 2868 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52869 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3053 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2870 3054 esac 2871 3055 if test "x$ac_cv_prog_cc_c89" != xno; then : 3056 3057 fi 2872 3058 2873 3059 ac_ext=c … … 2891 3077 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2892 3078 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2893 { echo "$as_me:$LINENO: checking for $ac_word" >&52894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2895 if test "${ac_cv_prog_CXX+set}" = set; then 2896 echo $ECHO_N "(cached) $ECHO_C" >&63079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3080 $as_echo_n "checking for $ac_word... " >&6; } 3081 if test "${ac_cv_prog_CXX+set}" = set; then : 3082 $as_echo_n "(cached) " >&6 2897 3083 else 2898 3084 if test -n "$CXX"; then … … 2904 3090 IFS=$as_save_IFS 2905 3091 test -z "$as_dir" && as_dir=. 2906 for ac_exec_ext in '' $ac_executable_extensions; do3092 for ac_exec_ext in '' $ac_executable_extensions; do 2907 3093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2908 3094 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2910 3096 break 2 2911 3097 fi 2912 3098 done 2913 done3099 done 2914 3100 IFS=$as_save_IFS 2915 3101 … … 2918 3104 CXX=$ac_cv_prog_CXX 2919 3105 if test -n "$CXX"; then 2920 { echo "$as_me:$LINENO: result: $CXX" >&52921 echo "${ECHO_T}$CXX" >&6; }2922 else 2923 { echo "$as_me:$LINENO: result: no" >&52924 echo "${ECHO_T}no" >&6; }3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3107 $as_echo "$CXX" >&6; } 3108 else 3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3110 $as_echo "no" >&6; } 2925 3111 fi 2926 3112 … … 2935 3121 # Extract the first word of "$ac_prog", so it can be a program name with args. 2936 3122 set dummy $ac_prog; ac_word=$2 2937 { echo "$as_me:$LINENO: checking for $ac_word" >&52938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2939 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2940 echo $ECHO_N "(cached) $ECHO_C" >&63123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3124 $as_echo_n "checking for $ac_word... " >&6; } 3125 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3126 $as_echo_n "(cached) " >&6 2941 3127 else 2942 3128 if test -n "$ac_ct_CXX"; then … … 2948 3134 IFS=$as_save_IFS 2949 3135 test -z "$as_dir" && as_dir=. 2950 for ac_exec_ext in '' $ac_executable_extensions; do3136 for ac_exec_ext in '' $ac_executable_extensions; do 2951 3137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2952 3138 ac_cv_prog_ac_ct_CXX="$ac_prog" 2953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2954 3140 break 2 2955 3141 fi 2956 3142 done 2957 done3143 done 2958 3144 IFS=$as_save_IFS 2959 3145 … … 2962 3148 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2963 3149 if test -n "$ac_ct_CXX"; then 2964 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&52965 echo "${ECHO_T}$ac_ct_CXX" >&6; }2966 else 2967 { echo "$as_me:$LINENO: result: no" >&52968 echo "${ECHO_T}no" >&6; }3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3151 $as_echo "$ac_ct_CXX" >&6; } 3152 else 3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3154 $as_echo "no" >&6; } 2969 3155 fi 2970 3156 … … 2978 3164 case $cross_compiling:$ac_tool_warned in 2979 3165 yes:) 2980 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2981 whose name does not start with the host triplet. If you think this 2982 configuration is useful to you, please write to autoconf@gnu.org." >&5 2983 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2984 whose name does not start with the host triplet. If you think this 2985 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2986 3168 ac_tool_warned=yes ;; 2987 3169 esac … … 2993 3175 fi 2994 3176 # Provide some information about the compiler. 2995 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 2996 ac_compiler=`set X $ac_compile; echo $2` 2997 { (ac_try="$ac_compiler --version >&5" 3177 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3178 set X $ac_compile 3179 ac_compiler=$2 3180 for ac_option in --version -v -V -qversion; do 3181 { { ac_try="$ac_compiler $ac_option >&5" 2998 3182 case "(($ac_try" in 2999 3183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3000 3184 *) ac_try_echo=$ac_try;; 3001 3185 esac 3002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3003 (eval "$ac_compiler --version >&5") 2>&5 3186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3187 $as_echo "$ac_try_echo"; } >&5 3188 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3004 3189 ac_status=$? 3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3006 (exit $ac_status); } 3007 { (ac_try="$ac_compiler -v >&5" 3008 case "(($ac_try" in 3009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3010 *) ac_try_echo=$ac_try;; 3011 esac 3012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3013 (eval "$ac_compiler -v >&5") 2>&5 3014 ac_status=$? 3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3016 (exit $ac_status); } 3017 { (ac_try="$ac_compiler -V >&5" 3018 case "(($ac_try" in 3019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3020 *) ac_try_echo=$ac_try;; 3021 esac 3022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3023 (eval "$ac_compiler -V >&5") 2>&5 3024 ac_status=$? 3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3026 (exit $ac_status); } 3027 3028 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3029 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3030 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3031 echo $ECHO_N "(cached) $ECHO_C" >&6 3032 else 3033 cat >conftest.$ac_ext <<_ACEOF 3034 /* confdefs.h. */ 3035 _ACEOF 3036 cat confdefs.h >>conftest.$ac_ext 3037 cat >>conftest.$ac_ext <<_ACEOF 3190 if test -s conftest.err; then 3191 sed '10a\ 3192 ... rest of stderr output deleted ... 3193 10q' conftest.err >conftest.er1 3194 cat conftest.er1 >&5 3195 rm -f conftest.er1 conftest.err 3196 fi 3197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3198 test $ac_status = 0; } 3199 done 3200 3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3202 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3203 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3204 $as_echo_n "(cached) " >&6 3205 else 3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3038 3207 /* end confdefs.h. */ 3039 3208 … … 3049 3218 } 3050 3219 _ACEOF 3051 rm -f conftest.$ac_objext 3052 if { (ac_try="$ac_compile" 3053 case "(($ac_try" in 3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3055 *) ac_try_echo=$ac_try;; 3056 esac 3057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3058 (eval "$ac_compile") 2>conftest.er1 3059 ac_status=$? 3060 grep -v '^ *+' conftest.er1 >conftest.err 3061 rm -f conftest.er1 3062 cat conftest.err >&5 3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3064 (exit $ac_status); } && { 3065 test -z "$ac_cxx_werror_flag" || 3066 test ! -s conftest.err 3067 } && test -s conftest.$ac_objext; then 3220 if ac_fn_cxx_try_compile "$LINENO"; then : 3068 3221 ac_compiler_gnu=yes 3069 3222 else 3070 echo "$as_me: failed program was:" >&5 3071 sed 's/^/| /' conftest.$ac_ext >&5 3072 3073 ac_compiler_gnu=no 3074 fi 3075 3223 ac_compiler_gnu=no 3224 fi 3076 3225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3077 3226 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3078 3227 3079 3228 fi 3080 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3081 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3082 GXX=`test $ac_compiler_gnu = yes && echo yes` 3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3230 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3231 if test $ac_compiler_gnu = yes; then 3232 GXX=yes 3233 else 3234 GXX= 3235 fi 3083 3236 ac_test_CXXFLAGS=${CXXFLAGS+set} 3084 3237 ac_save_CXXFLAGS=$CXXFLAGS 3085 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53086 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3087 if test "${ac_cv_prog_cxx_g+set}" = set; then 3088 echo $ECHO_N "(cached) $ECHO_C" >&63238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3239 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3240 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3241 $as_echo_n "(cached) " >&6 3089 3242 else 3090 3243 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3092 3245 ac_cv_prog_cxx_g=no 3093 3246 CXXFLAGS="-g" 3094 cat >conftest.$ac_ext <<_ACEOF 3095 /* confdefs.h. */ 3096 _ACEOF 3097 cat confdefs.h >>conftest.$ac_ext 3098 cat >>conftest.$ac_ext <<_ACEOF 3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3099 3248 /* end confdefs.h. */ 3100 3249 … … 3107 3256 } 3108 3257 _ACEOF 3109 rm -f conftest.$ac_objext 3110 if { (ac_try="$ac_compile" 3111 case "(($ac_try" in 3112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3113 *) ac_try_echo=$ac_try;; 3114 esac 3115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3116 (eval "$ac_compile") 2>conftest.er1 3117 ac_status=$? 3118 grep -v '^ *+' conftest.er1 >conftest.err 3119 rm -f conftest.er1 3120 cat conftest.err >&5 3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3122 (exit $ac_status); } && { 3123 test -z "$ac_cxx_werror_flag" || 3124 test ! -s conftest.err 3125 } && test -s conftest.$ac_objext; then 3258 if ac_fn_cxx_try_compile "$LINENO"; then : 3126 3259 ac_cv_prog_cxx_g=yes 3127 3260 else 3128 echo "$as_me: failed program was:" >&5 3129 sed 's/^/| /' conftest.$ac_ext >&5 3130 3131 CXXFLAGS="" 3132 cat >conftest.$ac_ext <<_ACEOF 3133 /* confdefs.h. */ 3134 _ACEOF 3135 cat confdefs.h >>conftest.$ac_ext 3136 cat >>conftest.$ac_ext <<_ACEOF 3261 CXXFLAGS="" 3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3137 3263 /* end confdefs.h. */ 3138 3264 … … 3145 3271 } 3146 3272 _ACEOF 3147 rm -f conftest.$ac_objext 3148 if { (ac_try="$ac_compile" 3149 case "(($ac_try" in 3150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3151 *) ac_try_echo=$ac_try;; 3152 esac 3153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3154 (eval "$ac_compile") 2>conftest.er1 3155 ac_status=$? 3156 grep -v '^ *+' conftest.er1 >conftest.err 3157 rm -f conftest.er1 3158 cat conftest.err >&5 3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3160 (exit $ac_status); } && { 3161 test -z "$ac_cxx_werror_flag" || 3162 test ! -s conftest.err 3163 } && test -s conftest.$ac_objext; then 3164 : 3165 else 3166 echo "$as_me: failed program was:" >&5 3167 sed 's/^/| /' conftest.$ac_ext >&5 3168 3169 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3273 if ac_fn_cxx_try_compile "$LINENO"; then : 3274 3275 else 3276 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3170 3277 CXXFLAGS="-g" 3171 cat >conftest.$ac_ext <<_ACEOF 3172 /* confdefs.h. */ 3173 _ACEOF 3174 cat confdefs.h >>conftest.$ac_ext 3175 cat >>conftest.$ac_ext <<_ACEOF 3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3176 3279 /* end confdefs.h. */ 3177 3280 … … 3184 3287 } 3185 3288 _ACEOF 3186 rm -f conftest.$ac_objext 3187 if { (ac_try="$ac_compile" 3188 case "(($ac_try" in 3189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3190 *) ac_try_echo=$ac_try;; 3191 esac 3192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3193 (eval "$ac_compile") 2>conftest.er1 3194 ac_status=$? 3195 grep -v '^ *+' conftest.er1 >conftest.err 3196 rm -f conftest.er1 3197 cat conftest.err >&5 3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3199 (exit $ac_status); } && { 3200 test -z "$ac_cxx_werror_flag" || 3201 test ! -s conftest.err 3202 } && test -s conftest.$ac_objext; then 3289 if ac_fn_cxx_try_compile "$LINENO"; then : 3203 3290 ac_cv_prog_cxx_g=yes 3204 else 3205 echo "$as_me: failed program was:" >&5 3206 sed 's/^/| /' conftest.$ac_ext >&5 3207 3208 3209 fi 3210 3291 fi 3211 3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3212 3293 fi 3213 3214 3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3215 3295 fi 3216 3217 3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3218 3297 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3219 3298 fi 3220 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53221 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3300 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3222 3301 if test "$ac_test_CXXFLAGS" = set; then 3223 3302 CXXFLAGS=$ac_save_CXXFLAGS … … 3260 3339 3261 3340 3262 3263 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3264 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 3265 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 3266 echo $ECHO_N "(cached) $ECHO_C" >&6 3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3342 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3343 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 3344 $as_echo_n "(cached) " >&6 3267 3345 else 3268 3346 ac_check_lib_save_LIBS=$LIBS 3269 3347 LIBS="-lpthread $LIBS" 3270 cat >conftest.$ac_ext <<_ACEOF 3271 /* confdefs.h. */ 3272 _ACEOF 3273 cat confdefs.h >>conftest.$ac_ext 3274 cat >>conftest.$ac_ext <<_ACEOF 3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3275 3349 /* end confdefs.h. */ 3276 3350 … … 3290 3364 } 3291 3365 _ACEOF 3292 rm -f conftest.$ac_objext conftest$ac_exeext 3293 if { (ac_try="$ac_link" 3294 case "(($ac_try" in 3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3296 *) ac_try_echo=$ac_try;; 3297 esac 3298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3299 (eval "$ac_link") 2>conftest.er1 3300 ac_status=$? 3301 grep -v '^ *+' conftest.er1 >conftest.err 3302 rm -f conftest.er1 3303 cat conftest.err >&5 3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3305 (exit $ac_status); } && { 3306 test -z "$ac_c_werror_flag" || 3307 test ! -s conftest.err 3308 } && test -s conftest$ac_exeext && 3309 $as_test_x conftest$ac_exeext; then 3366 if ac_fn_c_try_link "$LINENO"; then : 3310 3367 ac_cv_lib_pthread_pthread_create=yes 3311 3368 else 3312 echo "$as_me: failed program was:" >&5 3313 sed 's/^/| /' conftest.$ac_ext >&5 3314 3315 ac_cv_lib_pthread_pthread_create=no 3316 fi 3317 3318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3319 conftest$ac_exeext conftest.$ac_ext 3369 ac_cv_lib_pthread_pthread_create=no 3370 fi 3371 rm -f core conftest.err conftest.$ac_objext \ 3372 conftest$ac_exeext conftest.$ac_ext 3320 3373 LIBS=$ac_check_lib_save_LIBS 3321 3374 fi 3322 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&53323 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }3324 if test $ac_cv_lib_pthread_pthread_create = yes; then3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 3376 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 3377 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 3325 3378 cat >>confdefs.h <<_ACEOF 3326 3379 #define HAVE_LIBPTHREAD 1 … … 3331 3384 fi 3332 3385 3333 3334 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3335 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 3336 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 3337 echo $ECHO_N "(cached) $ECHO_C" >&6 3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 3387 $as_echo_n "checking for puts in -lwsock32... " >&6; } 3388 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 3389 $as_echo_n "(cached) " >&6 3338 3390 else 3339 3391 ac_check_lib_save_LIBS=$LIBS 3340 3392 LIBS="-lwsock32 $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 3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3346 3394 /* end confdefs.h. */ 3347 3395 … … 3361 3409 } 3362 3410 _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 3411 if ac_fn_c_try_link "$LINENO"; then : 3381 3412 ac_cv_lib_wsock32_puts=yes 3382 3413 else 3383 echo "$as_me: failed program was:" >&5 3384 sed 's/^/| /' conftest.$ac_ext >&5 3385 3386 ac_cv_lib_wsock32_puts=no 3387 fi 3388 3389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3390 conftest$ac_exeext conftest.$ac_ext 3414 ac_cv_lib_wsock32_puts=no 3415 fi 3416 rm -f core conftest.err conftest.$ac_objext \ 3417 conftest$ac_exeext conftest.$ac_ext 3391 3418 LIBS=$ac_check_lib_save_LIBS 3392 3419 fi 3393 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&53394 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; }3395 if test $ac_cv_lib_wsock32_puts = yes; then3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 3421 $as_echo "$ac_cv_lib_wsock32_puts" >&6; } 3422 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 3396 3423 cat >>confdefs.h <<_ACEOF 3397 3424 #define HAVE_LIBWSOCK32 1 … … 3402 3429 fi 3403 3430 3404 3405 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3406 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 3407 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 3408 echo $ECHO_N "(cached) $ECHO_C" >&6 3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 3432 $as_echo_n "checking for puts in -lws2_32... " >&6; } 3433 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 3434 $as_echo_n "(cached) " >&6 3409 3435 else 3410 3436 ac_check_lib_save_LIBS=$LIBS 3411 3437 LIBS="-lws2_32 $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 3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3417 3439 /* end confdefs.h. */ 3418 3440 … … 3432 3454 } 3433 3455 _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 3456 if ac_fn_c_try_link "$LINENO"; then : 3452 3457 ac_cv_lib_ws2_32_puts=yes 3453 3458 else 3454 echo "$as_me: failed program was:" >&5 3455 sed 's/^/| /' conftest.$ac_ext >&5 3456 3457 ac_cv_lib_ws2_32_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 3459 ac_cv_lib_ws2_32_puts=no 3460 fi 3461 rm -f core conftest.err conftest.$ac_objext \ 3462 conftest$ac_exeext conftest.$ac_ext 3462 3463 LIBS=$ac_check_lib_save_LIBS 3463 3464 fi 3464 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&53465 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; }3466 if test $ac_cv_lib_ws2_32_puts = yes; then3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 3466 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 3467 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 3467 3468 cat >>confdefs.h <<_ACEOF 3468 3469 #define HAVE_LIBWS2_32 1 … … 3473 3474 fi 3474 3475 3475 3476 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3477 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 3478 if test "${ac_cv_lib_ole32_puts+set}" = set; then 3479 echo $ECHO_N "(cached) $ECHO_C" >&6 3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 3477 $as_echo_n "checking for puts in -lole32... " >&6; } 3478 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 3479 $as_echo_n "(cached) " >&6 3480 3480 else 3481 3481 ac_check_lib_save_LIBS=$LIBS 3482 3482 LIBS="-lole32 $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 3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3488 3484 /* end confdefs.h. */ 3489 3485 … … 3503 3499 } 3504 3500 _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 3501 if ac_fn_c_try_link "$LINENO"; then : 3523 3502 ac_cv_lib_ole32_puts=yes 3524 3503 else 3525 echo "$as_me: failed program was:" >&5 3526 sed 's/^/| /' conftest.$ac_ext >&5 3527 3528 ac_cv_lib_ole32_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 3504 ac_cv_lib_ole32_puts=no 3505 fi 3506 rm -f core conftest.err conftest.$ac_objext \ 3507 conftest$ac_exeext conftest.$ac_ext 3533 3508 LIBS=$ac_check_lib_save_LIBS 3534 3509 fi 3535 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&53536 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; }3537 if test $ac_cv_lib_ole32_puts = yes; then3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 3511 $as_echo "$ac_cv_lib_ole32_puts" >&6; } 3512 if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 3538 3513 cat >>confdefs.h <<_ACEOF 3539 3514 #define HAVE_LIBOLE32 1 … … 3544 3519 fi 3545 3520 3546 3547 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3548 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 3549 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3550 echo $ECHO_N "(cached) $ECHO_C" >&6 3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 3522 $as_echo_n "checking for puts in -lwinmm... " >&6; } 3523 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 3524 $as_echo_n "(cached) " >&6 3551 3525 else 3552 3526 ac_check_lib_save_LIBS=$LIBS 3553 3527 LIBS="-lwinmm $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 3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3559 3529 /* end confdefs.h. */ 3560 3530 … … 3574 3544 } 3575 3545 _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 3546 if ac_fn_c_try_link "$LINENO"; then : 3594 3547 ac_cv_lib_winmm_puts=yes 3595 3548 else 3596 echo "$as_me: failed program was:" >&5 3597 sed 's/^/| /' conftest.$ac_ext >&5 3598 3599 ac_cv_lib_winmm_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 3549 ac_cv_lib_winmm_puts=no 3550 fi 3551 rm -f core conftest.err conftest.$ac_objext \ 3552 conftest$ac_exeext conftest.$ac_ext 3604 3553 LIBS=$ac_check_lib_save_LIBS 3605 3554 fi 3606 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&53607 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; }3608 if test $ac_cv_lib_winmm_puts = yes; then3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 3556 $as_echo "$ac_cv_lib_winmm_puts" >&6; } 3557 if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 3609 3558 cat >>confdefs.h <<_ACEOF 3610 3559 #define HAVE_LIBWINMM 1 … … 3615 3564 fi 3616 3565 3617 3618 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3619 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 3620 if test "${ac_cv_lib_socket_puts+set}" = set; then 3621 echo $ECHO_N "(cached) $ECHO_C" >&6 3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 3567 $as_echo_n "checking for puts in -lsocket... " >&6; } 3568 if test "${ac_cv_lib_socket_puts+set}" = set; then : 3569 $as_echo_n "(cached) " >&6 3622 3570 else 3623 3571 ac_check_lib_save_LIBS=$LIBS 3624 3572 LIBS="-lsocket $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 3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3630 3574 /* end confdefs.h. */ 3631 3575 … … 3645 3589 } 3646 3590 _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 3591 if ac_fn_c_try_link "$LINENO"; then : 3665 3592 ac_cv_lib_socket_puts=yes 3666 3593 else 3667 echo "$as_me: failed program was:" >&5 3668 sed 's/^/| /' conftest.$ac_ext >&5 3669 3670 ac_cv_lib_socket_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 3594 ac_cv_lib_socket_puts=no 3595 fi 3596 rm -f core conftest.err conftest.$ac_objext \ 3597 conftest$ac_exeext conftest.$ac_ext 3675 3598 LIBS=$ac_check_lib_save_LIBS 3676 3599 fi 3677 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&53678 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; }3679 if test $ac_cv_lib_socket_puts = yes; then3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 3601 $as_echo "$ac_cv_lib_socket_puts" >&6; } 3602 if test "x$ac_cv_lib_socket_puts" = x""yes; then : 3680 3603 cat >>confdefs.h <<_ACEOF 3681 3604 #define HAVE_LIBSOCKET 1 … … 3686 3609 fi 3687 3610 3688 3689 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3690 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 3691 if test "${ac_cv_lib_rt_puts+set}" = set; then 3692 echo $ECHO_N "(cached) $ECHO_C" >&6 3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 3612 $as_echo_n "checking for puts in -lrt... " >&6; } 3613 if test "${ac_cv_lib_rt_puts+set}" = set; then : 3614 $as_echo_n "(cached) " >&6 3693 3615 else 3694 3616 ac_check_lib_save_LIBS=$LIBS 3695 3617 LIBS="-lrt $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 3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3701 3619 /* end confdefs.h. */ 3702 3620 … … 3716 3634 } 3717 3635 _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 3636 if ac_fn_c_try_link "$LINENO"; then : 3736 3637 ac_cv_lib_rt_puts=yes 3737 3638 else 3738 echo "$as_me: failed program was:" >&5 3739 sed 's/^/| /' conftest.$ac_ext >&5 3740 3741 ac_cv_lib_rt_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 3639 ac_cv_lib_rt_puts=no 3640 fi 3641 rm -f core conftest.err conftest.$ac_objext \ 3642 conftest$ac_exeext conftest.$ac_ext 3746 3643 LIBS=$ac_check_lib_save_LIBS 3747 3644 fi 3748 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&53749 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; }3750 if test $ac_cv_lib_rt_puts = yes; then3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 3646 $as_echo "$ac_cv_lib_rt_puts" >&6; } 3647 if test "x$ac_cv_lib_rt_puts" = x""yes; then : 3751 3648 cat >>confdefs.h <<_ACEOF 3752 3649 #define HAVE_LIBRT 1 … … 3757 3654 fi 3758 3655 3759 3760 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3761 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 3762 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3763 echo $ECHO_N "(cached) $ECHO_C" >&6 3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 3657 $as_echo_n "checking for puts in -lnsl... " >&6; } 3658 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 3659 $as_echo_n "(cached) " >&6 3764 3660 else 3765 3661 ac_check_lib_save_LIBS=$LIBS 3766 3662 LIBS="-lnsl $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 3663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3772 3664 /* end confdefs.h. */ 3773 3665 … … 3787 3679 } 3788 3680 _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 3681 if ac_fn_c_try_link "$LINENO"; then : 3807 3682 ac_cv_lib_nsl_puts=yes 3808 3683 else 3809 echo "$as_me: failed program was:" >&5 3810 sed 's/^/| /' conftest.$ac_ext >&5 3811 3812 ac_cv_lib_nsl_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 3684 ac_cv_lib_nsl_puts=no 3685 fi 3686 rm -f core conftest.err conftest.$ac_objext \ 3687 conftest$ac_exeext conftest.$ac_ext 3817 3688 LIBS=$ac_check_lib_save_LIBS 3818 3689 fi 3819 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&53820 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; }3821 if test $ac_cv_lib_nsl_puts = yes; then3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 3691 $as_echo "$ac_cv_lib_nsl_puts" >&6; } 3692 if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 3822 3693 cat >>confdefs.h <<_ACEOF 3823 3694 #define HAVE_LIBNSL 1 … … 3828 3699 fi 3829 3700 3830 3831 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3832 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3833 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3834 echo $ECHO_N "(cached) $ECHO_C" >&6 3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3702 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3703 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3704 $as_echo_n "(cached) " >&6 3835 3705 else 3836 3706 ac_check_lib_save_LIBS=$LIBS 3837 3707 LIBS="-luuid $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 3708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3843 3709 /* end confdefs.h. */ 3844 3710 … … 3858 3724 } 3859 3725 _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 3726 if ac_fn_c_try_link "$LINENO"; then : 3878 3727 ac_cv_lib_uuid_uuid_generate=yes 3879 3728 else 3880 echo "$as_me: failed program was:" >&5 3881 sed 's/^/| /' conftest.$ac_ext >&5 3882 3883 ac_cv_lib_uuid_uuid_generate=no 3884 fi 3885 3886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3887 conftest$ac_exeext conftest.$ac_ext 3729 ac_cv_lib_uuid_uuid_generate=no 3730 fi 3731 rm -f core conftest.err conftest.$ac_objext \ 3732 conftest$ac_exeext conftest.$ac_ext 3888 3733 LIBS=$ac_check_lib_save_LIBS 3889 3734 fi 3890 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53891 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }3892 if test $ac_cv_lib_uuid_uuid_generate = yes; then3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3736 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3737 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 3893 3738 cat >>confdefs.h <<_ACEOF 3894 3739 #define HAVE_LIBUUID 1 … … 3899 3744 fi 3900 3745 3901 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53902 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; }3903 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3904 echo $ECHO_N "(cached) $ECHO_C" >&63746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3747 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3748 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3749 $as_echo_n "(cached) " >&6 3905 3750 else 3906 3751 ac_check_lib_save_LIBS=$LIBS 3907 3752 LIBS="-luuid $LIBS" 3908 cat >conftest.$ac_ext <<_ACEOF 3909 /* confdefs.h. */ 3910 _ACEOF 3911 cat confdefs.h >>conftest.$ac_ext 3912 cat >>conftest.$ac_ext <<_ACEOF 3753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3913 3754 /* end confdefs.h. */ 3914 3755 … … 3928 3769 } 3929 3770 _ACEOF 3930 rm -f conftest.$ac_objext conftest$ac_exeext 3931 if { (ac_try="$ac_link" 3932 case "(($ac_try" in 3933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3934 *) ac_try_echo=$ac_try;; 3935 esac 3936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3937 (eval "$ac_link") 2>conftest.er1 3938 ac_status=$? 3939 grep -v '^ *+' conftest.er1 >conftest.err 3940 rm -f conftest.er1 3941 cat conftest.err >&5 3942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3943 (exit $ac_status); } && { 3944 test -z "$ac_c_werror_flag" || 3945 test ! -s conftest.err 3946 } && test -s conftest$ac_exeext && 3947 $as_test_x conftest$ac_exeext; then 3771 if ac_fn_c_try_link "$LINENO"; then : 3948 3772 ac_cv_lib_uuid_uuid_generate=yes 3949 3773 else 3950 echo "$as_me: failed program was:" >&5 3951 sed 's/^/| /' conftest.$ac_ext >&5 3952 3953 ac_cv_lib_uuid_uuid_generate=no 3954 fi 3955 3956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3957 conftest$ac_exeext conftest.$ac_ext 3774 ac_cv_lib_uuid_uuid_generate=no 3775 fi 3776 rm -f core conftest.err conftest.$ac_objext \ 3777 conftest$ac_exeext conftest.$ac_ext 3958 3778 LIBS=$ac_check_lib_save_LIBS 3959 3779 fi 3960 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53961 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }3962 if test $ac_cv_lib_uuid_uuid_generate = yes; then3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3781 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3782 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 3963 3783 ac_has_uuid_lib=1 3964 3784 fi 3965 3785 3966 3786 3967 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&53968 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; }3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 3788 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 3969 3789 cat >>confdefs.h <<_ACEOF 3970 3790 #define PJ_M_NAME "$target_cpu" … … 3972 3792 3973 3793 3974 { echo "$as_me:$LINENO: checking memory alignment" >&53975 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; }3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 3795 $as_echo_n "checking memory alignment... " >&6; } 3976 3796 case $target in 3977 3797 ia64-* | x86_64-* ) 3978 cat >>confdefs.h <<\_ACEOF 3979 #define PJ_POOL_ALIGNMENT 8 3980 _ACEOF 3981 3982 { echo "$as_me:$LINENO: result: 8 bytes" >&5 3983 echo "${ECHO_T}8 bytes" >&6; } 3798 $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 3799 3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 3801 $as_echo "8 bytes" >&6; } 3984 3802 ;; 3985 3803 * ) 3986 cat >>confdefs.h <<\_ACEOF 3987 #define PJ_POOL_ALIGNMENT 4 3988 _ACEOF 3989 3990 { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 3991 echo "${ECHO_T}4 bytes (default)" >&6; } 3804 $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 3805 3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 3807 $as_echo "4 bytes (default)" >&6; } 3992 3808 ;; 3993 3809 esac … … 3999 3815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4000 3816 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4001 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&54002 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3818 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4003 3819 # On Suns, sometimes $CPP names a directory. 4004 3820 if test -n "$CPP" && test -d "$CPP"; then … … 4006 3822 fi 4007 3823 if test -z "$CPP"; then 4008 if test "${ac_cv_prog_CPP+set}" = set; then 4009 echo $ECHO_N "(cached) $ECHO_C" >&63824 if test "${ac_cv_prog_CPP+set}" = set; then : 3825 $as_echo_n "(cached) " >&6 4010 3826 else 4011 3827 # Double quotes because CPP needs to be expanded … … 4021 3837 # On the NeXT, cc -E runs the code through the compiler's parser, 4022 3838 # not just through cpp. "Syntax error" is here to catch this case. 4023 cat >conftest.$ac_ext <<_ACEOF 4024 /* confdefs.h. */ 4025 _ACEOF 4026 cat confdefs.h >>conftest.$ac_ext 4027 cat >>conftest.$ac_ext <<_ACEOF 3839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4028 3840 /* end confdefs.h. */ 4029 3841 #ifdef __STDC__ … … 4034 3846 Syntax error 4035 3847 _ACEOF 4036 if { (ac_try="$ac_cpp conftest.$ac_ext" 4037 case "(($ac_try" in 4038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4039 *) ac_try_echo=$ac_try;; 4040 esac 4041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4042 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4043 ac_status=$? 4044 grep -v '^ *+' conftest.er1 >conftest.err 4045 rm -f conftest.er1 4046 cat conftest.err >&5 4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4048 (exit $ac_status); } >/dev/null && { 4049 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4050 test ! -s conftest.err 4051 }; then 4052 : 4053 else 4054 echo "$as_me: failed program was:" >&5 4055 sed 's/^/| /' conftest.$ac_ext >&5 4056 3848 if ac_fn_c_try_cpp "$LINENO"; then : 3849 3850 else 4057 3851 # Broken: fails on valid input. 4058 3852 continue 4059 3853 fi 4060 4061 3854 rm -f conftest.err conftest.$ac_ext 4062 3855 4063 3856 # OK, works on sane cases. Now check whether nonexistent headers 4064 3857 # can be detected and how. 4065 cat >conftest.$ac_ext <<_ACEOF 4066 /* confdefs.h. */ 4067 _ACEOF 4068 cat confdefs.h >>conftest.$ac_ext 4069 cat >>conftest.$ac_ext <<_ACEOF 3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4070 3859 /* end confdefs.h. */ 4071 3860 #include <ac_nonexistent.h> 4072 3861 _ACEOF 4073 if { (ac_try="$ac_cpp conftest.$ac_ext" 4074 case "(($ac_try" in 4075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4076 *) ac_try_echo=$ac_try;; 4077 esac 4078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4079 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4080 ac_status=$? 4081 grep -v '^ *+' conftest.er1 >conftest.err 4082 rm -f conftest.er1 4083 cat conftest.err >&5 4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4085 (exit $ac_status); } >/dev/null && { 4086 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4087 test ! -s conftest.err 4088 }; then 3862 if ac_fn_c_try_cpp "$LINENO"; then : 4089 3863 # Broken: success on invalid input. 4090 3864 continue 4091 3865 else 4092 echo "$as_me: failed program was:" >&54093 sed 's/^/| /' conftest.$ac_ext >&54094 4095 3866 # Passes both tests. 4096 3867 ac_preproc_ok=: 4097 3868 break 4098 3869 fi 4099 4100 3870 rm -f conftest.err conftest.$ac_ext 4101 3871 … … 4103 3873 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4104 3874 rm -f conftest.err conftest.$ac_ext 4105 if $ac_preproc_ok; then 3875 if $ac_preproc_ok; then : 4106 3876 break 4107 3877 fi … … 4115 3885 ac_cv_prog_CPP=$CPP 4116 3886 fi 4117 { echo "$as_me:$LINENO: result: $CPP" >&54118 echo "${ECHO_T}$CPP" >&6; }3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3888 $as_echo "$CPP" >&6; } 4119 3889 ac_preproc_ok=false 4120 3890 for ac_c_preproc_warn_flag in '' yes … … 4126 3896 # On the NeXT, cc -E runs the code through the compiler's parser, 4127 3897 # not just through cpp. "Syntax error" is here to catch this case. 4128 cat >conftest.$ac_ext <<_ACEOF 4129 /* confdefs.h. */ 4130 _ACEOF 4131 cat confdefs.h >>conftest.$ac_ext 4132 cat >>conftest.$ac_ext <<_ACEOF 3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4133 3899 /* end confdefs.h. */ 4134 3900 #ifdef __STDC__ … … 4139 3905 Syntax error 4140 3906 _ACEOF 4141 if { (ac_try="$ac_cpp conftest.$ac_ext" 4142 case "(($ac_try" in 4143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4144 *) ac_try_echo=$ac_try;; 4145 esac 4146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4148 ac_status=$? 4149 grep -v '^ *+' conftest.er1 >conftest.err 4150 rm -f conftest.er1 4151 cat conftest.err >&5 4152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4153 (exit $ac_status); } >/dev/null && { 4154 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4155 test ! -s conftest.err 4156 }; then 4157 : 4158 else 4159 echo "$as_me: failed program was:" >&5 4160 sed 's/^/| /' conftest.$ac_ext >&5 4161 3907 if ac_fn_c_try_cpp "$LINENO"; then : 3908 3909 else 4162 3910 # Broken: fails on valid input. 4163 3911 continue 4164 3912 fi 4165 4166 3913 rm -f conftest.err conftest.$ac_ext 4167 3914 4168 3915 # OK, works on sane cases. Now check whether nonexistent headers 4169 3916 # can be detected and how. 4170 cat >conftest.$ac_ext <<_ACEOF 4171 /* confdefs.h. */ 4172 _ACEOF 4173 cat confdefs.h >>conftest.$ac_ext 4174 cat >>conftest.$ac_ext <<_ACEOF 3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4175 3918 /* end confdefs.h. */ 4176 3919 #include <ac_nonexistent.h> 4177 3920 _ACEOF 4178 if { (ac_try="$ac_cpp conftest.$ac_ext" 4179 case "(($ac_try" in 4180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4181 *) ac_try_echo=$ac_try;; 4182 esac 4183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4185 ac_status=$? 4186 grep -v '^ *+' conftest.er1 >conftest.err 4187 rm -f conftest.er1 4188 cat conftest.err >&5 4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4190 (exit $ac_status); } >/dev/null && { 4191 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4192 test ! -s conftest.err 4193 }; then 3921 if ac_fn_c_try_cpp "$LINENO"; then : 4194 3922 # Broken: success on invalid input. 4195 3923 continue 4196 3924 else 4197 echo "$as_me: failed program was:" >&54198 sed 's/^/| /' conftest.$ac_ext >&54199 4200 3925 # Passes both tests. 4201 3926 ac_preproc_ok=: 4202 3927 break 4203 3928 fi 4204 4205 3929 rm -f conftest.err conftest.$ac_ext 4206 3930 … … 4208 3932 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4209 3933 rm -f conftest.err conftest.$ac_ext 4210 if $ac_preproc_ok; then 4211 : 4212 else 4213 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4214 See \`config.log' for more details." >&5 4215 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4216 See \`config.log' for more details." >&2;} 4217 { (exit 1); exit 1; }; } 3934 if $ac_preproc_ok; then : 3935 3936 else 3937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3939 as_fn_error "C preprocessor \"$CPP\" fails sanity check 3940 See \`config.log' for more details." "$LINENO" 5; } 4218 3941 fi 4219 3942 … … 4225 3948 4226 3949 4227 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4228 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4229 if test "${ac_cv_path_GREP+set}" = set; then 4230 echo $ECHO_N "(cached) $ECHO_C" >&6 4231 else 4232 # Extract the first word of "grep ggrep" to use in msg output 4233 if test -z "$GREP"; then 4234 set dummy grep ggrep; ac_prog_name=$2 4235 if test "${ac_cv_path_GREP+set}" = set; then 4236 echo $ECHO_N "(cached) $ECHO_C" >&6 4237 else 3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3951 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3952 if test "${ac_cv_path_GREP+set}" = set; then : 3953 $as_echo_n "(cached) " >&6 3954 else 3955 if test -z "$GREP"; then 4238 3956 ac_path_GREP_found=false 4239 # Loop through the user's path and test for each of PROGNAME-LIST4240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3957 # Loop through the user's path and test for each of PROGNAME-LIST 3958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4241 3959 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4242 3960 do 4243 3961 IFS=$as_save_IFS 4244 3962 test -z "$as_dir" && as_dir=. 4245 for ac_prog in grep ggrep; do4246 for ac_exec_ext in '' $ac_executable_extensions; do4247 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4248 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4249 3963 for ac_prog in grep ggrep; do 3964 for ac_exec_ext in '' $ac_executable_extensions; do 3965 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3966 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3967 # Check for GNU ac_path_GREP and select it if it is found. 4250 3968 # Check for GNU $ac_path_GREP 4251 3969 case `"$ac_path_GREP" --version 2>&1` in … … 4254 3972 *) 4255 3973 ac_count=0 4256 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"3974 $as_echo_n 0123456789 >"conftest.in" 4257 3975 while : 4258 3976 do … … 4260 3978 mv "conftest.tmp" "conftest.in" 4261 3979 cp "conftest.in" "conftest.nl" 4262 echo 'GREP' >> "conftest.nl"3980 $as_echo 'GREP' >> "conftest.nl" 4263 3981 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4264 3982 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4265 a c_count=`expr $ac_count + 1`3983 as_fn_arith $ac_count + 1 && ac_count=$as_val 4266 3984 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4267 3985 # Best one so far, save it but keep looking for a better one … … 4275 3993 esac 4276 3994 4277 4278 $ac_path_GREP_found && break 33995 $ac_path_GREP_found && break 3 3996 done 4279 3997 done 4280 done 4281 4282 done 3998 done 4283 3999 IFS=$as_save_IFS 4284 4285 4286 fi 4287 4288 GREP="$ac_cv_path_GREP" 4289 if test -z "$GREP"; then 4290 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4291 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4292 { (exit 1); exit 1; }; } 4293 fi 4294 4000 if test -z "$ac_cv_path_GREP"; then 4001 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4002 fi 4295 4003 else 4296 4004 ac_cv_path_GREP=$GREP 4297 4005 fi 4298 4006 4299 4300 fi 4301 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4302 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4007 fi 4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4009 $as_echo "$ac_cv_path_GREP" >&6; } 4303 4010 GREP="$ac_cv_path_GREP" 4304 4011 4305 4012 4306 { echo "$as_me:$LINENO: checking for egrep" >&54307 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4308 if test "${ac_cv_path_EGREP+set}" = set; then 4309 echo $ECHO_N "(cached) $ECHO_C" >&64013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4014 $as_echo_n "checking for egrep... " >&6; } 4015 if test "${ac_cv_path_EGREP+set}" = set; then : 4016 $as_echo_n "(cached) " >&6 4310 4017 else 4311 4018 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4312 4019 then ac_cv_path_EGREP="$GREP -E" 4313 4020 else 4314 # Extract the first word of "egrep" to use in msg output 4315 if test -z "$EGREP"; then 4316 set dummy egrep; ac_prog_name=$2 4317 if test "${ac_cv_path_EGREP+set}" = set; then 4318 echo $ECHO_N "(cached) $ECHO_C" >&6 4319 else 4021 if test -z "$EGREP"; then 4320 4022 ac_path_EGREP_found=false 4321 # Loop through the user's path and test for each of PROGNAME-LIST4322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4023 # Loop through the user's path and test for each of PROGNAME-LIST 4024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4323 4025 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4324 4026 do 4325 4027 IFS=$as_save_IFS 4326 4028 test -z "$as_dir" && as_dir=. 4327 for ac_prog in egrep; do4328 for ac_exec_ext in '' $ac_executable_extensions; do4329 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4330 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4331 4029 for ac_prog in egrep; do 4030 for ac_exec_ext in '' $ac_executable_extensions; do 4031 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4032 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4033 # Check for GNU ac_path_EGREP and select it if it is found. 4332 4034 # Check for GNU $ac_path_EGREP 4333 4035 case `"$ac_path_EGREP" --version 2>&1` in … … 4336 4038 *) 4337 4039 ac_count=0 4338 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4040 $as_echo_n 0123456789 >"conftest.in" 4339 4041 while : 4340 4042 do … … 4342 4044 mv "conftest.tmp" "conftest.in" 4343 4045 cp "conftest.in" "conftest.nl" 4344 echo 'EGREP' >> "conftest.nl"4046 $as_echo 'EGREP' >> "conftest.nl" 4345 4047 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4346 4048 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4347 a c_count=`expr $ac_count + 1`4049 as_fn_arith $ac_count + 1 && ac_count=$as_val 4348 4050 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4349 4051 # Best one so far, save it but keep looking for a better one … … 4357 4059 esac 4358 4060 4359 4360 $ac_path_EGREP_found && break 34061 $ac_path_EGREP_found && break 3 4062 done 4361 4063 done 4362 done 4363 4364 done 4064 done 4365 4065 IFS=$as_save_IFS 4366 4367 4368 fi 4369 4370 EGREP="$ac_cv_path_EGREP" 4371 if test -z "$EGREP"; then 4372 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4373 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4374 { (exit 1); exit 1; }; } 4375 fi 4376 4066 if test -z "$ac_cv_path_EGREP"; then 4067 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4068 fi 4377 4069 else 4378 4070 ac_cv_path_EGREP=$EGREP 4379 4071 fi 4380 4072 4381 4382 4073 fi 4383 4074 fi 4384 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54385 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4076 $as_echo "$ac_cv_path_EGREP" >&6; } 4386 4077 EGREP="$ac_cv_path_EGREP" 4387 4078 4388 4079 4389 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4390 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4391 if test "${ac_cv_header_stdc+set}" = set; then 4392 echo $ECHO_N "(cached) $ECHO_C" >&6 4393 else 4394 cat >conftest.$ac_ext <<_ACEOF 4395 /* confdefs.h. */ 4396 _ACEOF 4397 cat confdefs.h >>conftest.$ac_ext 4398 cat >>conftest.$ac_ext <<_ACEOF 4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4081 $as_echo_n "checking for ANSI C header files... " >&6; } 4082 if test "${ac_cv_header_stdc+set}" = set; then : 4083 $as_echo_n "(cached) " >&6 4084 else 4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4399 4086 /* end confdefs.h. */ 4400 4087 #include <stdlib.h> … … 4411 4098 } 4412 4099 _ACEOF 4413 rm -f conftest.$ac_objext 4414 if { (ac_try="$ac_compile" 4415 case "(($ac_try" in 4416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4417 *) ac_try_echo=$ac_try;; 4418 esac 4419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4420 (eval "$ac_compile") 2>conftest.er1 4421 ac_status=$? 4422 grep -v '^ *+' conftest.er1 >conftest.err 4423 rm -f conftest.er1 4424 cat conftest.err >&5 4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4426 (exit $ac_status); } && { 4427 test -z "$ac_c_werror_flag" || 4428 test ! -s conftest.err 4429 } && test -s conftest.$ac_objext; then 4100 if ac_fn_c_try_compile "$LINENO"; then : 4430 4101 ac_cv_header_stdc=yes 4431 4102 else 4432 echo "$as_me: failed program was:" >&5 4433 sed 's/^/| /' conftest.$ac_ext >&5 4434 4435 ac_cv_header_stdc=no 4436 fi 4437 4103 ac_cv_header_stdc=no 4104 fi 4438 4105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4439 4106 4440 4107 if test $ac_cv_header_stdc = yes; then 4441 4108 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4442 cat >conftest.$ac_ext <<_ACEOF 4443 /* confdefs.h. */ 4444 _ACEOF 4445 cat confdefs.h >>conftest.$ac_ext 4446 cat >>conftest.$ac_ext <<_ACEOF 4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4447 4110 /* end confdefs.h. */ 4448 4111 #include <string.h> … … 4450 4113 _ACEOF 4451 4114 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4452 $EGREP "memchr" >/dev/null 2>&1; then 4453 : 4115 $EGREP "memchr" >/dev/null 2>&1; then : 4116 4454 4117 else 4455 4118 ac_cv_header_stdc=no … … 4461 4124 if test $ac_cv_header_stdc = yes; then 4462 4125 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4463 cat >conftest.$ac_ext <<_ACEOF 4464 /* confdefs.h. */ 4465 _ACEOF 4466 cat confdefs.h >>conftest.$ac_ext 4467 cat >>conftest.$ac_ext <<_ACEOF 4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4468 4127 /* end confdefs.h. */ 4469 4128 #include <stdlib.h> … … 4471 4130 _ACEOF 4472 4131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4473 $EGREP "free" >/dev/null 2>&1; then 4474 : 4132 $EGREP "free" >/dev/null 2>&1; then : 4133 4475 4134 else 4476 4135 ac_cv_header_stdc=no … … 4482 4141 if test $ac_cv_header_stdc = yes; then 4483 4142 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4484 if test "$cross_compiling" = yes; then 4143 if test "$cross_compiling" = yes; then : 4485 4144 : 4486 4145 else 4487 cat >conftest.$ac_ext <<_ACEOF 4488 /* confdefs.h. */ 4489 _ACEOF 4490 cat confdefs.h >>conftest.$ac_ext 4491 cat >>conftest.$ac_ext <<_ACEOF 4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4492 4147 /* end confdefs.h. */ 4493 4148 #include <ctype.h> … … 4516 4171 } 4517 4172 _ACEOF 4518 rm -f conftest$ac_exeext 4519 if { (ac_try="$ac_link" 4520 case "(($ac_try" in 4521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4522 *) ac_try_echo=$ac_try;; 4523 esac 4524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4525 (eval "$ac_link") 2>&5 4526 ac_status=$? 4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4528 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4529 { (case "(($ac_try" in 4530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4531 *) ac_try_echo=$ac_try;; 4532 esac 4533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4534 (eval "$ac_try") 2>&5 4535 ac_status=$? 4536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4537 (exit $ac_status); }; }; then 4538 : 4539 else 4540 echo "$as_me: program exited with status $ac_status" >&5 4541 echo "$as_me: failed program was:" >&5 4542 sed 's/^/| /' conftest.$ac_ext >&5 4543 4544 ( exit $ac_status ) 4545 ac_cv_header_stdc=no 4546 fi 4547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4548 fi 4549 4550 4551 fi 4552 fi 4553 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4554 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4173 if ac_fn_c_try_run "$LINENO"; then : 4174 4175 else 4176 ac_cv_header_stdc=no 4177 fi 4178 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4179 conftest.$ac_objext conftest.beam conftest.$ac_ext 4180 fi 4181 4182 fi 4183 fi 4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4185 $as_echo "$ac_cv_header_stdc" >&6; } 4555 4186 if test $ac_cv_header_stdc = yes; then 4556 4187 4557 cat >>confdefs.h <<\_ACEOF 4558 #define STDC_HEADERS 1 4559 _ACEOF 4188 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4560 4189 4561 4190 fi 4562 4191 4563 4192 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4193 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4574 4194 inttypes.h stdint.h unistd.h 4575 do 4576 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4577 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4579 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4580 echo $ECHO_N "(cached) $ECHO_C" >&6 4581 else 4582 cat >conftest.$ac_ext <<_ACEOF 4583 /* confdefs.h. */ 4584 _ACEOF 4585 cat confdefs.h >>conftest.$ac_ext 4586 cat >>conftest.$ac_ext <<_ACEOF 4195 do : 4196 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4197 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4198 " 4199 eval as_val=\$$as_ac_Header 4200 if test "x$as_val" = x""yes; then : 4201 cat >>confdefs.h <<_ACEOF 4202 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4203 _ACEOF 4204 4205 fi 4206 4207 done 4208 4209 4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4211 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4212 if test "${ac_cv_c_bigendian+set}" = set; then : 4213 $as_echo_n "(cached) " >&6 4214 else 4215 ac_cv_c_bigendian=unknown 4216 # See if we're dealing with a universal compiler. 4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4587 4218 /* end confdefs.h. */ 4588 $ac_includes_default 4589 4590 #include <$ac_header> 4591 _ACEOF 4592 rm -f conftest.$ac_objext 4593 if { (ac_try="$ac_compile" 4594 case "(($ac_try" in 4595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4596 *) ac_try_echo=$ac_try;; 4597 esac 4598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4599 (eval "$ac_compile") 2>conftest.er1 4600 ac_status=$? 4601 grep -v '^ *+' conftest.er1 >conftest.err 4602 rm -f conftest.er1 4603 cat conftest.err >&5 4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4605 (exit $ac_status); } && { 4606 test -z "$ac_c_werror_flag" || 4607 test ! -s conftest.err 4608 } && test -s conftest.$ac_objext; then 4609 eval "$as_ac_Header=yes" 4610 else 4611 echo "$as_me: failed program was:" >&5 4612 sed 's/^/| /' conftest.$ac_ext >&5 4613 4614 eval "$as_ac_Header=no" 4615 fi 4616 4219 #ifndef __APPLE_CC__ 4220 not a universal capable compiler 4221 #endif 4222 typedef int dummy; 4223 4224 _ACEOF 4225 if ac_fn_c_try_compile "$LINENO"; then : 4226 4227 # Check for potential -arch flags. It is not universal unless 4228 # there are at least two -arch flags with different values. 4229 ac_arch= 4230 ac_prev= 4231 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4232 if test -n "$ac_prev"; then 4233 case $ac_word in 4234 i?86 | x86_64 | ppc | ppc64) 4235 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4236 ac_arch=$ac_word 4237 else 4238 ac_cv_c_bigendian=universal 4239 break 4240 fi 4241 ;; 4242 esac 4243 ac_prev= 4244 elif test "x$ac_word" = "x-arch"; then 4245 ac_prev=arch 4246 fi 4247 done 4248 fi 4617 4249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4618 fi 4619 ac_res=`eval echo '${'$as_ac_Header'}'` 4620 { echo "$as_me:$LINENO: result: $ac_res" >&5 4621 echo "${ECHO_T}$ac_res" >&6; } 4622 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4623 cat >>confdefs.h <<_ACEOF 4624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4625 _ACEOF 4626 4627 fi 4628 4629 done 4630 4631 4632 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4633 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4634 if test "${ac_cv_c_bigendian+set}" = set; then 4635 echo $ECHO_N "(cached) $ECHO_C" >&6 4636 else 4637 # See if sys/param.h defines the BYTE_ORDER macro. 4638 cat >conftest.$ac_ext <<_ACEOF 4639 /* confdefs.h. */ 4640 _ACEOF 4641 cat confdefs.h >>conftest.$ac_ext 4642 cat >>conftest.$ac_ext <<_ACEOF 4250 if test $ac_cv_c_bigendian = unknown; then 4251 # See if sys/param.h defines the BYTE_ORDER macro. 4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4643 4253 /* end confdefs.h. */ 4644 4254 #include <sys/types.h> 4645 #include <sys/param.h>4255 #include <sys/param.h> 4646 4256 4647 4257 int 4648 4258 main () 4649 4259 { 4650 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4651 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4652 bogus endian macros 4653 #endif 4260 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4261 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4262 && LITTLE_ENDIAN) 4263 bogus endian macros 4264 #endif 4654 4265 4655 4266 ; … … 4657 4268 } 4658 4269 _ACEOF 4659 rm -f conftest.$ac_objext 4660 if { (ac_try="$ac_compile" 4661 case "(($ac_try" in 4662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4663 *) ac_try_echo=$ac_try;; 4664 esac 4665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4666 (eval "$ac_compile") 2>conftest.er1 4667 ac_status=$? 4668 grep -v '^ *+' conftest.er1 >conftest.err 4669 rm -f conftest.er1 4670 cat conftest.err >&5 4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4672 (exit $ac_status); } && { 4673 test -z "$ac_c_werror_flag" || 4674 test ! -s conftest.err 4675 } && test -s conftest.$ac_objext; then 4270 if ac_fn_c_try_compile "$LINENO"; then : 4676 4271 # It does; now see whether it defined to BIG_ENDIAN or not. 4677 cat >conftest.$ac_ext <<_ACEOF 4678 /* confdefs.h. */ 4679 _ACEOF 4680 cat confdefs.h >>conftest.$ac_ext 4681 cat >>conftest.$ac_ext <<_ACEOF 4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4682 4273 /* end confdefs.h. */ 4683 4274 #include <sys/types.h> 4684 #include <sys/param.h>4275 #include <sys/param.h> 4685 4276 4686 4277 int … … 4688 4279 { 4689 4280 #if BYTE_ORDER != BIG_ENDIAN 4690 not big endian4691 #endif4281 not big endian 4282 #endif 4692 4283 4693 4284 ; … … 4695 4286 } 4696 4287 _ACEOF 4697 rm -f conftest.$ac_objext 4698 if { (ac_try="$ac_compile" 4699 case "(($ac_try" in 4700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4701 *) ac_try_echo=$ac_try;; 4702 esac 4703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4704 (eval "$ac_compile") 2>conftest.er1 4705 ac_status=$? 4706 grep -v '^ *+' conftest.er1 >conftest.err 4707 rm -f conftest.er1 4708 cat conftest.err >&5 4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4710 (exit $ac_status); } && { 4711 test -z "$ac_c_werror_flag" || 4712 test ! -s conftest.err 4713 } && test -s conftest.$ac_objext; then 4288 if ac_fn_c_try_compile "$LINENO"; then : 4714 4289 ac_cv_c_bigendian=yes 4715 4290 else 4716 echo "$as_me: failed program was:" >&5 4717 sed 's/^/| /' conftest.$ac_ext >&5 4718 4719 ac_cv_c_bigendian=no 4720 fi 4721 4291 ac_cv_c_bigendian=no 4292 fi 4722 4293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4723 else 4724 echo "$as_me: failed program was:" >&5 4725 sed 's/^/| /' conftest.$ac_ext >&5 4726 4727 # It does not; compile a test program. 4728 if test "$cross_compiling" = yes; then 4729 # try to guess the endianness by grepping values into an object file 4730 ac_cv_c_bigendian=unknown 4731 cat >conftest.$ac_ext <<_ACEOF 4732 /* confdefs.h. */ 4733 _ACEOF 4734 cat confdefs.h >>conftest.$ac_ext 4735 cat >>conftest.$ac_ext <<_ACEOF 4294 fi 4295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4296 fi 4297 if test $ac_cv_c_bigendian = unknown; then 4298 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4736 4300 /* end confdefs.h. */ 4737 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4738 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4739 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 4740 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4741 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4742 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 4301 #include <limits.h> 4302 4743 4303 int 4744 4304 main () 4745 4305 { 4746 _ascii (); _ebcdic (); 4306 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4307 bogus endian macros 4308 #endif 4309 4747 4310 ; 4748 4311 return 0; 4749 4312 } 4750 4313 _ACEOF 4751 rm -f conftest.$ac_objext 4752 if { (ac_try="$ac_compile" 4753 case "(($ac_try" in 4754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4755 *) ac_try_echo=$ac_try;; 4756 esac 4757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4758 (eval "$ac_compile") 2>conftest.er1 4759 ac_status=$? 4760 grep -v '^ *+' conftest.er1 >conftest.err 4761 rm -f conftest.er1 4762 cat conftest.err >&5 4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4764 (exit $ac_status); } && {4765 test -z "$ac_c_werror_flag" || 4766 test ! -s conftest.err 4767 } && test -s conftest.$ac_objext; then 4768 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4314 if ac_fn_c_try_compile "$LINENO"; then : 4315 # It does; now see whether it defined to _BIG_ENDIAN or not. 4316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4317 /* end confdefs.h. */ 4318 #include <limits.h> 4319 4320 int 4321 main () 4322 { 4323 #ifndef _BIG_ENDIAN 4324 not big endian 4325 #endif 4326 4327 ; 4328 return 0; 4329 } 4330 _ACEOF 4331 if ac_fn_c_try_compile "$LINENO"; then : 4769 4332 ac_cv_c_bigendian=yes 4770 fi 4771 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4772 if test "$ac_cv_c_bigendian" = unknown; then 4773 ac_cv_c_bigendian=no 4774 else 4775 # finding both strings is unlikely to happen, but who knows? 4776 ac_cv_c_bigendian=unknown 4777 fi 4778 fi 4779 else 4780 echo "$as_me: failed program was:" >&5 4781 sed 's/^/| /' conftest.$ac_ext >&5 4782 4783 4784 fi 4785 4333 else 4334 ac_cv_c_bigendian=no 4335 fi 4786 4336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4787 else 4788 cat >conftest.$ac_ext <<_ACEOF 4789 /* confdefs.h. */ 4790 _ACEOF 4791 cat confdefs.h >>conftest.$ac_ext 4792 cat >>conftest.$ac_ext <<_ACEOF 4337 fi 4338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4339 fi 4340 if test $ac_cv_c_bigendian = unknown; then 4341 # Compile a test program. 4342 if test "$cross_compiling" = yes; then : 4343 # Try to guess by grepping values from an object file. 4344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4345 /* end confdefs.h. */ 4346 short int ascii_mm[] = 4347 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4348 short int ascii_ii[] = 4349 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4350 int use_ascii (int i) { 4351 return ascii_mm[i] + ascii_ii[i]; 4352 } 4353 short int ebcdic_ii[] = 4354 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4355 short int ebcdic_mm[] = 4356 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4357 int use_ebcdic (int i) { 4358 return ebcdic_mm[i] + ebcdic_ii[i]; 4359 } 4360 extern int foo; 4361 4362 int 4363 main () 4364 { 4365 return use_ascii (foo) == use_ebcdic (foo); 4366 ; 4367 return 0; 4368 } 4369 _ACEOF 4370 if ac_fn_c_try_compile "$LINENO"; then : 4371 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4372 ac_cv_c_bigendian=yes 4373 fi 4374 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4375 if test "$ac_cv_c_bigendian" = unknown; then 4376 ac_cv_c_bigendian=no 4377 else 4378 # finding both strings is unlikely to happen, but who knows? 4379 ac_cv_c_bigendian=unknown 4380 fi 4381 fi 4382 fi 4383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4384 else 4385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4793 4386 /* end confdefs.h. */ 4794 4387 $ac_includes_default … … 4797 4390 { 4798 4391 4799 /* Are we little or big endian? From Harbison&Steele. */4800 union4801 {4802 long int l;4803 char c[sizeof (long int)];4804 } u;4805 u.l = 1;4806 return u.c[sizeof (long int) - 1] == 1;4392 /* Are we little or big endian? From Harbison&Steele. */ 4393 union 4394 { 4395 long int l; 4396 char c[sizeof (long int)]; 4397 } u; 4398 u.l = 1; 4399 return u.c[sizeof (long int) - 1] == 1; 4807 4400 4808 4401 ; … … 4810 4403 } 4811 4404 _ACEOF 4812 rm -f conftest$ac_exeext 4813 if { (ac_try="$ac_link" 4814 case "(($ac_try" in 4815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4816 *) ac_try_echo=$ac_try;; 4817 esac 4818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4819 (eval "$ac_link") 2>&5 4820 ac_status=$? 4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4823 { (case "(($ac_try" in 4824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4825 *) ac_try_echo=$ac_try;; 4826 esac 4827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4828 (eval "$ac_try") 2>&5 4829 ac_status=$? 4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4831 (exit $ac_status); }; }; then 4405 if ac_fn_c_try_run "$LINENO"; then : 4832 4406 ac_cv_c_bigendian=no 4833 4407 else 4834 echo "$as_me: program exited with status $ac_status" >&5 4835 echo "$as_me: failed program was:" >&5 4836 sed 's/^/| /' conftest.$ac_ext >&5 4837 4838 ( exit $ac_status ) 4839 ac_cv_c_bigendian=yes 4840 fi 4841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4842 fi 4843 4844 4845 fi 4846 4847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4848 fi 4849 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4850 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4851 case $ac_cv_c_bigendian in 4852 yes) 4853 4854 cat >>confdefs.h <<\_ACEOF 4855 #define WORDS_BIGENDIAN 1 4856 _ACEOF 4857 ;; 4858 no) 4859 ;; 4860 *) 4861 { { echo "$as_me:$LINENO: error: unknown endianness 4862 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4863 echo "$as_me: error: unknown endianness 4864 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4865 { (exit 1); exit 1; }; } ;; 4866 esac 4408 ac_cv_c_bigendian=yes 4409 fi 4410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4411 conftest.$ac_objext conftest.beam conftest.$ac_ext 4412 fi 4413 4414 fi 4415 fi 4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4417 $as_echo "$ac_cv_c_bigendian" >&6; } 4418 case $ac_cv_c_bigendian in #( 4419 yes) 4420 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4421 ;; #( 4422 no) 4423 ;; #( 4424 universal) 4425 4426 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4427 4428 ;; #( 4429 *) 4430 as_fn_error "unknown endianness 4431 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4432 esac 4867 4433 4868 4434 4869 4435 case $target in 4870 4436 *mingw* | *cygw* | *win32* | *w32* ) 4871 cat >>confdefs.h <<\_ACEOF 4872 #define PJ_WIN32 1 4873 _ACEOF 4874 4875 cat >>confdefs.h <<\_ACEOF 4876 #define PJ_WIN32_WINNT 0x0400 4877 _ACEOF 4878 4879 cat >>confdefs.h <<\_ACEOF 4880 #define WIN32_LEAN_AND_MEAN 1 4881 _ACEOF 4437 $as_echo "#define PJ_WIN32 1" >>confdefs.h 4438 4439 $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 4440 4441 $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 4882 4442 4883 4443 ;; 4884 4444 *darwin*) 4885 cat >>confdefs.h <<\_ACEOF 4886 #define PJ_DARWINOS 1 4887 _ACEOF 4445 $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 4888 4446 4889 4447 ;; 4890 4448 *linux*) 4891 cat >>confdefs.h <<\_ACEOF 4892 #define PJ_LINUX 1 4893 _ACEOF 4449 $as_echo "#define PJ_LINUX 1" >>confdefs.h 4894 4450 4895 4451 ;; 4896 4452 *rtems*) 4897 cat >>confdefs.h <<\_ACEOF 4898 #define PJ_RTEMS 1 4899 _ACEOF 4453 $as_echo "#define PJ_RTEMS 1" >>confdefs.h 4900 4454 4901 4455 ;; 4902 4456 *sunos* | *solaris* ) 4903 cat >>confdefs.h <<\_ACEOF 4904 #define PJ_SUNOS 1 4905 _ACEOF 4457 $as_echo "#define PJ_SUNOS 1" >>confdefs.h 4906 4458 4907 4459 ;; … … 4914 4466 4915 4467 # Check whether --enable-floating-point was given. 4916 if test "${enable_floating_point+set}" = set; then 4468 if test "${enable_floating_point+set}" = set; then : 4917 4469 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 4918 cat >>confdefs.h <<\_ACEOF 4919 #define PJ_HAS_FLOATING_POINT 0 4920 _ACEOF 4921 4922 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 4923 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 4470 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 4471 4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 4473 $as_echo "Checking if floating point is disabled... yes" >&6; } 4924 4474 fi 4925 4475 else 4926 4476 4927 cat >>confdefs.h <<\_ACEOF 4928 #define PJ_HAS_FLOATING_POINT 1 4929 _ACEOF 4930 4931 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 4932 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 4933 4934 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 4935 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 4936 if test "${ac_cv_lib_m_fmod+set}" = set; then 4937 echo $ECHO_N "(cached) $ECHO_C" >&6 4477 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 4478 4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 4480 $as_echo "Checking if floating point is disabled... no" >&6; } 4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 4482 $as_echo_n "checking for fmod in -lm... " >&6; } 4483 if test "${ac_cv_lib_m_fmod+set}" = set; then : 4484 $as_echo_n "(cached) " >&6 4938 4485 else 4939 4486 ac_check_lib_save_LIBS=$LIBS 4940 4487 LIBS="-lm $LIBS" 4941 cat >conftest.$ac_ext <<_ACEOF 4942 /* confdefs.h. */ 4943 _ACEOF 4944 cat confdefs.h >>conftest.$ac_ext 4945 cat >>conftest.$ac_ext <<_ACEOF 4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4946 4489 /* end confdefs.h. */ 4947 4490 … … 4961 4504 } 4962 4505 _ACEOF 4963 rm -f conftest.$ac_objext conftest$ac_exeext 4964 if { (ac_try="$ac_link" 4965 case "(($ac_try" in 4966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4967 *) ac_try_echo=$ac_try;; 4968 esac 4969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4970 (eval "$ac_link") 2>conftest.er1 4971 ac_status=$? 4972 grep -v '^ *+' conftest.er1 >conftest.err 4973 rm -f conftest.er1 4974 cat conftest.err >&5 4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4976 (exit $ac_status); } && { 4977 test -z "$ac_c_werror_flag" || 4978 test ! -s conftest.err 4979 } && test -s conftest$ac_exeext && 4980 $as_test_x conftest$ac_exeext; then 4506 if ac_fn_c_try_link "$LINENO"; then : 4981 4507 ac_cv_lib_m_fmod=yes 4982 4508 else 4983 echo "$as_me: failed program was:" >&5 4984 sed 's/^/| /' conftest.$ac_ext >&5 4985 4986 ac_cv_lib_m_fmod=no 4987 fi 4988 4989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4990 conftest$ac_exeext conftest.$ac_ext 4509 ac_cv_lib_m_fmod=no 4510 fi 4511 rm -f core conftest.err conftest.$ac_objext \ 4512 conftest$ac_exeext conftest.$ac_ext 4991 4513 LIBS=$ac_check_lib_save_LIBS 4992 4514 fi 4993 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&54994 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; }4995 if test $ac_cv_lib_m_fmod = yes; then4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 4516 $as_echo "$ac_cv_lib_m_fmod" >&6; } 4517 if test "x$ac_cv_lib_m_fmod" = x""yes; then : 4996 4518 cat >>confdefs.h <<_ACEOF 4997 4519 #define HAVE_LIBM 1 … … 5007 4529 5008 4530 5009 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5010 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5011 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5012 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5013 echo $ECHO_N "(cached) $ECHO_C" >&6 5014 fi 5015 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5016 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5017 else 5018 # Is the header compilable? 5019 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 5020 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 5021 cat >conftest.$ac_ext <<_ACEOF 5022 /* confdefs.h. */ 5023 _ACEOF 5024 cat confdefs.h >>conftest.$ac_ext 5025 cat >>conftest.$ac_ext <<_ACEOF 5026 /* end confdefs.h. */ 5027 $ac_includes_default 5028 #include <arpa/inet.h> 5029 _ACEOF 5030 rm -f conftest.$ac_objext 5031 if { (ac_try="$ac_compile" 5032 case "(($ac_try" in 5033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5034 *) ac_try_echo=$ac_try;; 5035 esac 5036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5037 (eval "$ac_compile") 2>conftest.er1 5038 ac_status=$? 5039 grep -v '^ *+' conftest.er1 >conftest.err 5040 rm -f conftest.er1 5041 cat conftest.err >&5 5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5043 (exit $ac_status); } && { 5044 test -z "$ac_c_werror_flag" || 5045 test ! -s conftest.err 5046 } && test -s conftest.$ac_objext; then 5047 ac_header_compiler=yes 5048 else 5049 echo "$as_me: failed program was:" >&5 5050 sed 's/^/| /' conftest.$ac_ext >&5 5051 5052 ac_header_compiler=no 5053 fi 5054 5055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5056 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5057 echo "${ECHO_T}$ac_header_compiler" >&6; } 5058 5059 # Is the header present? 5060 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 5061 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 5062 cat >conftest.$ac_ext <<_ACEOF 5063 /* confdefs.h. */ 5064 _ACEOF 5065 cat confdefs.h >>conftest.$ac_ext 5066 cat >>conftest.$ac_ext <<_ACEOF 5067 /* end confdefs.h. */ 5068 #include <arpa/inet.h> 5069 _ACEOF 5070 if { (ac_try="$ac_cpp conftest.$ac_ext" 5071 case "(($ac_try" in 5072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5073 *) ac_try_echo=$ac_try;; 5074 esac 5075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5076 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5077 ac_status=$? 5078 grep -v '^ *+' conftest.er1 >conftest.err 5079 rm -f conftest.er1 5080 cat conftest.err >&5 5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5082 (exit $ac_status); } >/dev/null && { 5083 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5084 test ! -s conftest.err 5085 }; then 5086 ac_header_preproc=yes 5087 else 5088 echo "$as_me: failed program was:" >&5 5089 sed 's/^/| /' conftest.$ac_ext >&5 5090 5091 ac_header_preproc=no 5092 fi 5093 5094 rm -f conftest.err conftest.$ac_ext 5095 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5096 echo "${ECHO_T}$ac_header_preproc" >&6; } 5097 5098 # So? What about this header? 5099 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5100 yes:no: ) 5101 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 5102 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5103 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 5104 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 5105 ac_header_preproc=yes 5106 ;; 5107 no:yes:* ) 5108 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 5109 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 5110 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 5111 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 5112 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 5113 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 5114 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 5115 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 5116 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 5117 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 5118 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 5119 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 5120 5121 ;; 5122 esac 5123 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5124 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5125 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5126 echo $ECHO_N "(cached) $ECHO_C" >&6 5127 else 5128 ac_cv_header_arpa_inet_h=$ac_header_preproc 5129 fi 5130 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5131 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5132 5133 fi 5134 if test $ac_cv_header_arpa_inet_h = yes; then 5135 cat >>confdefs.h <<\_ACEOF 5136 #define PJ_HAS_ARPA_INET_H 1 5137 _ACEOF 5138 5139 fi 5140 5141 5142 if test "${ac_cv_header_assert_h+set}" = set; then 5143 { echo "$as_me:$LINENO: checking for assert.h" >&5 5144 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5145 if test "${ac_cv_header_assert_h+set}" = set; then 5146 echo $ECHO_N "(cached) $ECHO_C" >&6 5147 fi 5148 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5149 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5150 else 5151 # Is the header compilable? 5152 { echo "$as_me:$LINENO: checking assert.h usability" >&5 5153 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 5154 cat >conftest.$ac_ext <<_ACEOF 5155 /* confdefs.h. */ 5156 _ACEOF 5157 cat confdefs.h >>conftest.$ac_ext 5158 cat >>conftest.$ac_ext <<_ACEOF 5159 /* end confdefs.h. */ 5160 $ac_includes_default 5161 #include <assert.h> 5162 _ACEOF 5163 rm -f conftest.$ac_objext 5164 if { (ac_try="$ac_compile" 5165 case "(($ac_try" in 5166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5167 *) ac_try_echo=$ac_try;; 5168 esac 5169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5170 (eval "$ac_compile") 2>conftest.er1 5171 ac_status=$? 5172 grep -v '^ *+' conftest.er1 >conftest.err 5173 rm -f conftest.er1 5174 cat conftest.err >&5 5175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5176 (exit $ac_status); } && { 5177 test -z "$ac_c_werror_flag" || 5178 test ! -s conftest.err 5179 } && test -s conftest.$ac_objext; then 5180 ac_header_compiler=yes 5181 else 5182 echo "$as_me: failed program was:" >&5 5183 sed 's/^/| /' conftest.$ac_ext >&5 5184 5185 ac_header_compiler=no 5186 fi 5187 5188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5189 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5190 echo "${ECHO_T}$ac_header_compiler" >&6; } 5191 5192 # Is the header present? 5193 { echo "$as_me:$LINENO: checking assert.h presence" >&5 5194 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 5195 cat >conftest.$ac_ext <<_ACEOF 5196 /* confdefs.h. */ 5197 _ACEOF 5198 cat confdefs.h >>conftest.$ac_ext 5199 cat >>conftest.$ac_ext <<_ACEOF 5200 /* end confdefs.h. */ 5201 #include <assert.h> 5202 _ACEOF 5203 if { (ac_try="$ac_cpp conftest.$ac_ext" 5204 case "(($ac_try" in 5205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5206 *) ac_try_echo=$ac_try;; 5207 esac 5208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5209 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5210 ac_status=$? 5211 grep -v '^ *+' conftest.er1 >conftest.err 5212 rm -f conftest.er1 5213 cat conftest.err >&5 5214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5215 (exit $ac_status); } >/dev/null && { 5216 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5217 test ! -s conftest.err 5218 }; then 5219 ac_header_preproc=yes 5220 else 5221 echo "$as_me: failed program was:" >&5 5222 sed 's/^/| /' conftest.$ac_ext >&5 5223 5224 ac_header_preproc=no 5225 fi 5226 5227 rm -f conftest.err conftest.$ac_ext 5228 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5229 echo "${ECHO_T}$ac_header_preproc" >&6; } 5230 5231 # So? What about this header? 5232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5233 yes:no: ) 5234 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 5235 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5236 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 5237 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 5238 ac_header_preproc=yes 5239 ;; 5240 no:yes:* ) 5241 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 5242 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 5243 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5 5244 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;} 5245 { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 5246 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 5247 { echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5 5248 echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;} 5249 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 5250 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 5251 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 5252 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 5253 5254 ;; 5255 esac 5256 { echo "$as_me:$LINENO: checking for assert.h" >&5 5257 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5258 if test "${ac_cv_header_assert_h+set}" = set; then 5259 echo $ECHO_N "(cached) $ECHO_C" >&6 5260 else 5261 ac_cv_header_assert_h=$ac_header_preproc 5262 fi 5263 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5264 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5265 5266 fi 5267 if test $ac_cv_header_assert_h = yes; then 5268 cat >>confdefs.h <<\_ACEOF 5269 #define PJ_HAS_ASSERT_H 1 5270 _ACEOF 5271 5272 fi 5273 5274 5275 if test "${ac_cv_header_ctype_h+set}" = set; then 5276 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5277 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5278 if test "${ac_cv_header_ctype_h+set}" = set; then 5279 echo $ECHO_N "(cached) $ECHO_C" >&6 5280 fi 5281 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5282 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5283 else 5284 # Is the header compilable? 5285 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 5286 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 5287 cat >conftest.$ac_ext <<_ACEOF 5288 /* confdefs.h. */ 5289 _ACEOF 5290 cat confdefs.h >>conftest.$ac_ext 5291 cat >>conftest.$ac_ext <<_ACEOF 5292 /* end confdefs.h. */ 5293 $ac_includes_default 5294 #include <ctype.h> 5295 _ACEOF 5296 rm -f conftest.$ac_objext 5297 if { (ac_try="$ac_compile" 5298 case "(($ac_try" in 5299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5300 *) ac_try_echo=$ac_try;; 5301 esac 5302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5303 (eval "$ac_compile") 2>conftest.er1 5304 ac_status=$? 5305 grep -v '^ *+' conftest.er1 >conftest.err 5306 rm -f conftest.er1 5307 cat conftest.err >&5 5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5309 (exit $ac_status); } && { 5310 test -z "$ac_c_werror_flag" || 5311 test ! -s conftest.err 5312 } && test -s conftest.$ac_objext; then 5313 ac_header_compiler=yes 5314 else 5315 echo "$as_me: failed program was:" >&5 5316 sed 's/^/| /' conftest.$ac_ext >&5 5317 5318 ac_header_compiler=no 5319 fi 5320 5321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5322 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5323 echo "${ECHO_T}$ac_header_compiler" >&6; } 5324 5325 # Is the header present? 5326 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 5327 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 5328 cat >conftest.$ac_ext <<_ACEOF 5329 /* confdefs.h. */ 5330 _ACEOF 5331 cat confdefs.h >>conftest.$ac_ext 5332 cat >>conftest.$ac_ext <<_ACEOF 5333 /* end confdefs.h. */ 5334 #include <ctype.h> 5335 _ACEOF 5336 if { (ac_try="$ac_cpp conftest.$ac_ext" 5337 case "(($ac_try" in 5338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5339 *) ac_try_echo=$ac_try;; 5340 esac 5341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5342 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5343 ac_status=$? 5344 grep -v '^ *+' conftest.er1 >conftest.err 5345 rm -f conftest.er1 5346 cat conftest.err >&5 5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5348 (exit $ac_status); } >/dev/null && { 5349 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5350 test ! -s conftest.err 5351 }; then 5352 ac_header_preproc=yes 5353 else 5354 echo "$as_me: failed program was:" >&5 5355 sed 's/^/| /' conftest.$ac_ext >&5 5356 5357 ac_header_preproc=no 5358 fi 5359 5360 rm -f conftest.err conftest.$ac_ext 5361 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5362 echo "${ECHO_T}$ac_header_preproc" >&6; } 5363 5364 # So? What about this header? 5365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5366 yes:no: ) 5367 { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 5368 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5369 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 5370 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 5371 ac_header_preproc=yes 5372 ;; 5373 no:yes:* ) 5374 { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 5375 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 5376 { echo "$as_me:$LINENO: WARNING: ctype.h: check for missing prerequisite headers?" >&5 5377 echo "$as_me: WARNING: ctype.h: check for missing prerequisite headers?" >&2;} 5378 { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 5379 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 5380 { echo "$as_me:$LINENO: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&5 5381 echo "$as_me: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&2;} 5382 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 5383 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 5384 { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 5385 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 5386 5387 ;; 5388 esac 5389 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5390 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5391 if test "${ac_cv_header_ctype_h+set}" = set; then 5392 echo $ECHO_N "(cached) $ECHO_C" >&6 5393 else 5394 ac_cv_header_ctype_h=$ac_header_preproc 5395 fi 5396 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5397 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5398 5399 fi 5400 if test $ac_cv_header_ctype_h = yes; then 5401 cat >>confdefs.h <<\_ACEOF 5402 #define PJ_HAS_CTYPE_H 1 5403 _ACEOF 4531 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 4532 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 4533 $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 4534 4535 fi 4536 4537 4538 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 4539 if test "x$ac_cv_header_assert_h" = x""yes; then : 4540 $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 4541 4542 fi 4543 4544 4545 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 4546 if test "x$ac_cv_header_ctype_h" = x""yes; then : 4547 $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 5404 4548 5405 4549 fi … … 5409 4553 case $target in 5410 4554 *mingw* | *cygw* | *win32* | *w32* ) 5411 cat >>confdefs.h <<\_ACEOF 5412 #define PJ_HAS_ERRNO_H 0 5413 _ACEOF 4555 $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 5414 4556 5415 4557 ;; 5416 4558 *) 5417 if test "${ac_cv_header_errno_h+set}" = set; then 5418 { echo "$as_me:$LINENO: checking for errno.h" >&5 5419 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 5420 if test "${ac_cv_header_errno_h+set}" = set; then 5421 echo $ECHO_N "(cached) $ECHO_C" >&6 5422 fi 5423 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5424 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 5425 else 5426 # Is the header compilable? 5427 { echo "$as_me:$LINENO: checking errno.h usability" >&5 5428 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 5429 cat >conftest.$ac_ext <<_ACEOF 5430 /* confdefs.h. */ 5431 _ACEOF 5432 cat confdefs.h >>conftest.$ac_ext 5433 cat >>conftest.$ac_ext <<_ACEOF 5434 /* end confdefs.h. */ 5435 $ac_includes_default 5436 #include <errno.h> 5437 _ACEOF 5438 rm -f conftest.$ac_objext 5439 if { (ac_try="$ac_compile" 5440 case "(($ac_try" in 5441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5442 *) ac_try_echo=$ac_try;; 5443 esac 5444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5445 (eval "$ac_compile") 2>conftest.er1 5446 ac_status=$? 5447 grep -v '^ *+' conftest.er1 >conftest.err 5448 rm -f conftest.er1 5449 cat conftest.err >&5 5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5451 (exit $ac_status); } && { 5452 test -z "$ac_c_werror_flag" || 5453 test ! -s conftest.err 5454 } && test -s conftest.$ac_objext; then 5455 ac_header_compiler=yes 5456 else 5457 echo "$as_me: failed program was:" >&5 5458 sed 's/^/| /' conftest.$ac_ext >&5 5459 5460 ac_header_compiler=no 5461 fi 5462 5463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5464 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5465 echo "${ECHO_T}$ac_header_compiler" >&6; } 5466 5467 # Is the header present? 5468 { echo "$as_me:$LINENO: checking errno.h presence" >&5 5469 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; } 5470 cat >conftest.$ac_ext <<_ACEOF 5471 /* confdefs.h. */ 5472 _ACEOF 5473 cat confdefs.h >>conftest.$ac_ext 5474 cat >>conftest.$ac_ext <<_ACEOF 5475 /* end confdefs.h. */ 5476 #include <errno.h> 5477 _ACEOF 5478 if { (ac_try="$ac_cpp conftest.$ac_ext" 5479 case "(($ac_try" in 5480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5481 *) ac_try_echo=$ac_try;; 5482 esac 5483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5484 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5485 ac_status=$? 5486 grep -v '^ *+' conftest.er1 >conftest.err 5487 rm -f conftest.er1 5488 cat conftest.err >&5 5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5490 (exit $ac_status); } >/dev/null && { 5491 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5492 test ! -s conftest.err 5493 }; then 5494 ac_header_preproc=yes 5495 else 5496 echo "$as_me: failed program was:" >&5 5497 sed 's/^/| /' conftest.$ac_ext >&5 5498 5499 ac_header_preproc=no 5500 fi 5501 5502 rm -f conftest.err conftest.$ac_ext 5503 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5504 echo "${ECHO_T}$ac_header_preproc" >&6; } 5505 5506 # So? What about this header? 5507 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5508 yes:no: ) 5509 { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 5510 echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5511 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 5512 echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 5513 ac_header_preproc=yes 5514 ;; 5515 no:yes:* ) 5516 { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 5517 echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 5518 { echo "$as_me:$LINENO: WARNING: errno.h: check for missing prerequisite headers?" >&5 5519 echo "$as_me: WARNING: errno.h: check for missing prerequisite headers?" >&2;} 5520 { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 5521 echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 5522 { echo "$as_me:$LINENO: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&5 5523 echo "$as_me: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&2;} 5524 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 5525 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 5526 { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 5527 echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 5528 5529 ;; 5530 esac 5531 { echo "$as_me:$LINENO: checking for errno.h" >&5 5532 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 5533 if test "${ac_cv_header_errno_h+set}" = set; then 5534 echo $ECHO_N "(cached) $ECHO_C" >&6 5535 else 5536 ac_cv_header_errno_h=$ac_header_preproc 5537 fi 5538 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5539 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 5540 5541 fi 5542 if test $ac_cv_header_errno_h = yes; then 5543 cat >>confdefs.h <<\_ACEOF 5544 #define PJ_HAS_ERRNO_H 1 5545 _ACEOF 4559 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 4560 if test "x$ac_cv_header_errno_h" = x""yes; then : 4561 $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 5546 4562 5547 4563 fi … … 5551 4567 esac 5552 4568 5553 if test "${ac_cv_header_fcntl_h+set}" = set; then 5554 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 5555 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 5556 if test "${ac_cv_header_fcntl_h+set}" = set; then 5557 echo $ECHO_N "(cached) $ECHO_C" >&6 5558 fi 5559 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 5560 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 5561 else 5562 # Is the header compilable? 5563 { echo "$as_me:$LINENO: checking fcntl.h usability" >&5 5564 echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6; } 5565 cat >conftest.$ac_ext <<_ACEOF 5566 /* confdefs.h. */ 5567 _ACEOF 5568 cat confdefs.h >>conftest.$ac_ext 5569 cat >>conftest.$ac_ext <<_ACEOF 5570 /* end confdefs.h. */ 5571 $ac_includes_default 5572 #include <fcntl.h> 5573 _ACEOF 5574 rm -f conftest.$ac_objext 5575 if { (ac_try="$ac_compile" 5576 case "(($ac_try" in 5577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5578 *) ac_try_echo=$ac_try;; 5579 esac 5580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5581 (eval "$ac_compile") 2>conftest.er1 5582 ac_status=$? 5583 grep -v '^ *+' conftest.er1 >conftest.err 5584 rm -f conftest.er1 5585 cat conftest.err >&5 5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5587 (exit $ac_status); } && { 5588 test -z "$ac_c_werror_flag" || 5589 test ! -s conftest.err 5590 } && test -s conftest.$ac_objext; then 5591 ac_header_compiler=yes 5592 else 5593 echo "$as_me: failed program was:" >&5 5594 sed 's/^/| /' conftest.$ac_ext >&5 5595 5596 ac_header_compiler=no 5597 fi 5598 5599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5600 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5601 echo "${ECHO_T}$ac_header_compiler" >&6; } 5602 5603 # Is the header present? 5604 { echo "$as_me:$LINENO: checking fcntl.h presence" >&5 5605 echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6; } 5606 cat >conftest.$ac_ext <<_ACEOF 5607 /* confdefs.h. */ 5608 _ACEOF 5609 cat confdefs.h >>conftest.$ac_ext 5610 cat >>conftest.$ac_ext <<_ACEOF 5611 /* end confdefs.h. */ 5612 #include <fcntl.h> 5613 _ACEOF 5614 if { (ac_try="$ac_cpp conftest.$ac_ext" 5615 case "(($ac_try" in 5616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5617 *) ac_try_echo=$ac_try;; 5618 esac 5619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5620 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5621 ac_status=$? 5622 grep -v '^ *+' conftest.er1 >conftest.err 5623 rm -f conftest.er1 5624 cat conftest.err >&5 5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5626 (exit $ac_status); } >/dev/null && { 5627 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5628 test ! -s conftest.err 5629 }; then 5630 ac_header_preproc=yes 5631 else 5632 echo "$as_me: failed program was:" >&5 5633 sed 's/^/| /' conftest.$ac_ext >&5 5634 5635 ac_header_preproc=no 5636 fi 5637 5638 rm -f conftest.err conftest.$ac_ext 5639 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5640 echo "${ECHO_T}$ac_header_preproc" >&6; } 5641 5642 # So? What about this header? 5643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5644 yes:no: ) 5645 { echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 5646 echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5647 { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 5648 echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 5649 ac_header_preproc=yes 5650 ;; 5651 no:yes:* ) 5652 { echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 5653 echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 5654 { echo "$as_me:$LINENO: WARNING: fcntl.h: check for missing prerequisite headers?" >&5 5655 echo "$as_me: WARNING: fcntl.h: check for missing prerequisite headers?" >&2;} 5656 { echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 5657 echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 5658 { echo "$as_me:$LINENO: WARNING: fcntl.h: section \"Present But Cannot Be Compiled\"" >&5 5659 echo "$as_me: WARNING: fcntl.h: section \"Present But Cannot Be Compiled\"" >&2;} 5660 { echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 5661 echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 5662 { echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 5663 echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 5664 5665 ;; 5666 esac 5667 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 5668 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 5669 if test "${ac_cv_header_fcntl_h+set}" = set; then 5670 echo $ECHO_N "(cached) $ECHO_C" >&6 5671 else 5672 ac_cv_header_fcntl_h=$ac_header_preproc 5673 fi 5674 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 5675 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 5676 5677 fi 5678 if test $ac_cv_header_fcntl_h = yes; then 5679 cat >>confdefs.h <<\_ACEOF 5680 #define PJ_HAS_FCNTL_H 1 5681 _ACEOF 5682 5683 fi 5684 5685 5686 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5687 { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 5688 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 5689 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5690 echo $ECHO_N "(cached) $ECHO_C" >&6 5691 fi 5692 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 5693 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 5694 else 5695 # Is the header compilable? 5696 { echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 5697 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6; } 5698 cat >conftest.$ac_ext <<_ACEOF 5699 /* confdefs.h. */ 5700 _ACEOF 5701 cat confdefs.h >>conftest.$ac_ext 5702 cat >>conftest.$ac_ext <<_ACEOF 5703 /* end confdefs.h. */ 5704 $ac_includes_default 5705 #include <linux/socket.h> 5706 _ACEOF 5707 rm -f conftest.$ac_objext 5708 if { (ac_try="$ac_compile" 5709 case "(($ac_try" in 5710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5711 *) ac_try_echo=$ac_try;; 5712 esac 5713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5714 (eval "$ac_compile") 2>conftest.er1 5715 ac_status=$? 5716 grep -v '^ *+' conftest.er1 >conftest.err 5717 rm -f conftest.er1 5718 cat conftest.err >&5 5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5720 (exit $ac_status); } && { 5721 test -z "$ac_c_werror_flag" || 5722 test ! -s conftest.err 5723 } && test -s conftest.$ac_objext; then 5724 ac_header_compiler=yes 5725 else 5726 echo "$as_me: failed program was:" >&5 5727 sed 's/^/| /' conftest.$ac_ext >&5 5728 5729 ac_header_compiler=no 5730 fi 5731 5732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5733 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5734 echo "${ECHO_T}$ac_header_compiler" >&6; } 5735 5736 # Is the header present? 5737 { echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 5738 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6; } 5739 cat >conftest.$ac_ext <<_ACEOF 5740 /* confdefs.h. */ 5741 _ACEOF 5742 cat confdefs.h >>conftest.$ac_ext 5743 cat >>conftest.$ac_ext <<_ACEOF 5744 /* end confdefs.h. */ 5745 #include <linux/socket.h> 5746 _ACEOF 5747 if { (ac_try="$ac_cpp conftest.$ac_ext" 5748 case "(($ac_try" in 5749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5750 *) ac_try_echo=$ac_try;; 5751 esac 5752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5753 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5754 ac_status=$? 5755 grep -v '^ *+' conftest.er1 >conftest.err 5756 rm -f conftest.er1 5757 cat conftest.err >&5 5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5759 (exit $ac_status); } >/dev/null && { 5760 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5761 test ! -s conftest.err 5762 }; then 5763 ac_header_preproc=yes 5764 else 5765 echo "$as_me: failed program was:" >&5 5766 sed 's/^/| /' conftest.$ac_ext >&5 5767 5768 ac_header_preproc=no 5769 fi 5770 5771 rm -f conftest.err conftest.$ac_ext 5772 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5773 echo "${ECHO_T}$ac_header_preproc" >&6; } 5774 5775 # So? What about this header? 5776 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5777 yes:no: ) 5778 { echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 5779 echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5780 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 5781 echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 5782 ac_header_preproc=yes 5783 ;; 5784 no:yes:* ) 5785 { echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 5786 echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 5787 { echo "$as_me:$LINENO: WARNING: linux/socket.h: check for missing prerequisite headers?" >&5 5788 echo "$as_me: WARNING: linux/socket.h: check for missing prerequisite headers?" >&2;} 5789 { echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 5790 echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 5791 { echo "$as_me:$LINENO: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&5 5792 echo "$as_me: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&2;} 5793 { echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 5794 echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 5795 { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 5796 echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 5797 5798 ;; 5799 esac 5800 { echo "$as_me:$LINENO: checking for linux/socket.h" >&5 5801 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6; } 5802 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5803 echo $ECHO_N "(cached) $ECHO_C" >&6 5804 else 5805 ac_cv_header_linux_socket_h=$ac_header_preproc 5806 fi 5807 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 5808 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6; } 5809 5810 fi 5811 if test $ac_cv_header_linux_socket_h = yes; then 5812 cat >>confdefs.h <<\_ACEOF 5813 #define PJ_HAS_LINUX_SOCKET_H 1 5814 _ACEOF 5815 5816 fi 5817 5818 5819 if test "${ac_cv_header_malloc_h+set}" = set; then 5820 { echo "$as_me:$LINENO: checking for malloc.h" >&5 5821 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 5822 if test "${ac_cv_header_malloc_h+set}" = set; then 5823 echo $ECHO_N "(cached) $ECHO_C" >&6 5824 fi 5825 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 5826 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 5827 else 5828 # Is the header compilable? 5829 { echo "$as_me:$LINENO: checking malloc.h usability" >&5 5830 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6; } 5831 cat >conftest.$ac_ext <<_ACEOF 5832 /* confdefs.h. */ 5833 _ACEOF 5834 cat confdefs.h >>conftest.$ac_ext 5835 cat >>conftest.$ac_ext <<_ACEOF 5836 /* end confdefs.h. */ 5837 $ac_includes_default 5838 #include <malloc.h> 5839 _ACEOF 5840 rm -f conftest.$ac_objext 5841 if { (ac_try="$ac_compile" 5842 case "(($ac_try" in 5843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5844 *) ac_try_echo=$ac_try;; 5845 esac 5846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5847 (eval "$ac_compile") 2>conftest.er1 5848 ac_status=$? 5849 grep -v '^ *+' conftest.er1 >conftest.err 5850 rm -f conftest.er1 5851 cat conftest.err >&5 5852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5853 (exit $ac_status); } && { 5854 test -z "$ac_c_werror_flag" || 5855 test ! -s conftest.err 5856 } && test -s conftest.$ac_objext; then 5857 ac_header_compiler=yes 5858 else 5859 echo "$as_me: failed program was:" >&5 5860 sed 's/^/| /' conftest.$ac_ext >&5 5861 5862 ac_header_compiler=no 5863 fi 5864 5865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5866 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5867 echo "${ECHO_T}$ac_header_compiler" >&6; } 5868 5869 # Is the header present? 5870 { echo "$as_me:$LINENO: checking malloc.h presence" >&5 5871 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6; } 5872 cat >conftest.$ac_ext <<_ACEOF 5873 /* confdefs.h. */ 5874 _ACEOF 5875 cat confdefs.h >>conftest.$ac_ext 5876 cat >>conftest.$ac_ext <<_ACEOF 5877 /* end confdefs.h. */ 5878 #include <malloc.h> 5879 _ACEOF 5880 if { (ac_try="$ac_cpp conftest.$ac_ext" 5881 case "(($ac_try" in 5882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5883 *) ac_try_echo=$ac_try;; 5884 esac 5885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5886 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5887 ac_status=$? 5888 grep -v '^ *+' conftest.er1 >conftest.err 5889 rm -f conftest.er1 5890 cat conftest.err >&5 5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5892 (exit $ac_status); } >/dev/null && { 5893 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5894 test ! -s conftest.err 5895 }; then 5896 ac_header_preproc=yes 5897 else 5898 echo "$as_me: failed program was:" >&5 5899 sed 's/^/| /' conftest.$ac_ext >&5 5900 5901 ac_header_preproc=no 5902 fi 5903 5904 rm -f conftest.err conftest.$ac_ext 5905 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5906 echo "${ECHO_T}$ac_header_preproc" >&6; } 5907 5908 # So? What about this header? 5909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5910 yes:no: ) 5911 { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 5912 echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5913 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 5914 echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 5915 ac_header_preproc=yes 5916 ;; 5917 no:yes:* ) 5918 { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 5919 echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 5920 { echo "$as_me:$LINENO: WARNING: malloc.h: check for missing prerequisite headers?" >&5 5921 echo "$as_me: WARNING: malloc.h: check for missing prerequisite headers?" >&2;} 5922 { echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 5923 echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 5924 { echo "$as_me:$LINENO: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&5 5925 echo "$as_me: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} 5926 { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 5927 echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 5928 { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 5929 echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 5930 5931 ;; 5932 esac 5933 { echo "$as_me:$LINENO: checking for malloc.h" >&5 5934 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6; } 5935 if test "${ac_cv_header_malloc_h+set}" = set; then 5936 echo $ECHO_N "(cached) $ECHO_C" >&6 5937 else 5938 ac_cv_header_malloc_h=$ac_header_preproc 5939 fi 5940 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 5941 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6; } 5942 5943 fi 5944 if test $ac_cv_header_malloc_h = yes; then 5945 cat >>confdefs.h <<\_ACEOF 5946 #define PJ_HAS_MALLOC_H 1 5947 _ACEOF 5948 5949 fi 5950 5951 5952 if test "${ac_cv_header_netdb_h+set}" = set; then 5953 { echo "$as_me:$LINENO: checking for netdb.h" >&5 5954 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 5955 if test "${ac_cv_header_netdb_h+set}" = set; then 5956 echo $ECHO_N "(cached) $ECHO_C" >&6 5957 fi 5958 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 5959 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 5960 else 5961 # Is the header compilable? 5962 { echo "$as_me:$LINENO: checking netdb.h usability" >&5 5963 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6; } 5964 cat >conftest.$ac_ext <<_ACEOF 5965 /* confdefs.h. */ 5966 _ACEOF 5967 cat confdefs.h >>conftest.$ac_ext 5968 cat >>conftest.$ac_ext <<_ACEOF 5969 /* end confdefs.h. */ 5970 $ac_includes_default 5971 #include <netdb.h> 5972 _ACEOF 5973 rm -f conftest.$ac_objext 5974 if { (ac_try="$ac_compile" 5975 case "(($ac_try" in 5976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5977 *) ac_try_echo=$ac_try;; 5978 esac 5979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5980 (eval "$ac_compile") 2>conftest.er1 5981 ac_status=$? 5982 grep -v '^ *+' conftest.er1 >conftest.err 5983 rm -f conftest.er1 5984 cat conftest.err >&5 5985 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5986 (exit $ac_status); } && { 5987 test -z "$ac_c_werror_flag" || 5988 test ! -s conftest.err 5989 } && test -s conftest.$ac_objext; then 5990 ac_header_compiler=yes 5991 else 5992 echo "$as_me: failed program was:" >&5 5993 sed 's/^/| /' conftest.$ac_ext >&5 5994 5995 ac_header_compiler=no 5996 fi 5997 5998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5999 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6000 echo "${ECHO_T}$ac_header_compiler" >&6; } 6001 6002 # Is the header present? 6003 { echo "$as_me:$LINENO: checking netdb.h presence" >&5 6004 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6; } 6005 cat >conftest.$ac_ext <<_ACEOF 6006 /* confdefs.h. */ 6007 _ACEOF 6008 cat confdefs.h >>conftest.$ac_ext 6009 cat >>conftest.$ac_ext <<_ACEOF 6010 /* end confdefs.h. */ 6011 #include <netdb.h> 6012 _ACEOF 6013 if { (ac_try="$ac_cpp conftest.$ac_ext" 6014 case "(($ac_try" in 6015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6016 *) ac_try_echo=$ac_try;; 6017 esac 6018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6019 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6020 ac_status=$? 6021 grep -v '^ *+' conftest.er1 >conftest.err 6022 rm -f conftest.er1 6023 cat conftest.err >&5 6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6025 (exit $ac_status); } >/dev/null && { 6026 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6027 test ! -s conftest.err 6028 }; then 6029 ac_header_preproc=yes 6030 else 6031 echo "$as_me: failed program was:" >&5 6032 sed 's/^/| /' conftest.$ac_ext >&5 6033 6034 ac_header_preproc=no 6035 fi 6036 6037 rm -f conftest.err conftest.$ac_ext 6038 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6039 echo "${ECHO_T}$ac_header_preproc" >&6; } 6040 6041 # So? What about this header? 6042 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6043 yes:no: ) 6044 { echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 6045 echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6046 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 6047 echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 6048 ac_header_preproc=yes 6049 ;; 6050 no:yes:* ) 6051 { echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 6052 echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 6053 { echo "$as_me:$LINENO: WARNING: netdb.h: check for missing prerequisite headers?" >&5 6054 echo "$as_me: WARNING: netdb.h: check for missing prerequisite headers?" >&2;} 6055 { echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 6056 echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 6057 { echo "$as_me:$LINENO: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&5 6058 echo "$as_me: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&2;} 6059 { echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 6060 echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 6061 { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 6062 echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 6063 6064 ;; 6065 esac 6066 { echo "$as_me:$LINENO: checking for netdb.h" >&5 6067 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6; } 6068 if test "${ac_cv_header_netdb_h+set}" = set; then 6069 echo $ECHO_N "(cached) $ECHO_C" >&6 6070 else 6071 ac_cv_header_netdb_h=$ac_header_preproc 6072 fi 6073 { echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 6074 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6; } 6075 6076 fi 6077 if test $ac_cv_header_netdb_h = yes; then 6078 cat >>confdefs.h <<\_ACEOF 6079 #define PJ_HAS_NETDB_H 1 6080 _ACEOF 6081 6082 fi 6083 6084 6085 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6086 { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 6087 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 6088 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6089 echo $ECHO_N "(cached) $ECHO_C" >&6 6090 fi 6091 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 6092 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 6093 else 6094 # Is the header compilable? 6095 { echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 6096 echo $ECHO_N "checking netinet/in_systm.h usability... $ECHO_C" >&6; } 6097 cat >conftest.$ac_ext <<_ACEOF 6098 /* confdefs.h. */ 6099 _ACEOF 6100 cat confdefs.h >>conftest.$ac_ext 6101 cat >>conftest.$ac_ext <<_ACEOF 6102 /* end confdefs.h. */ 6103 $ac_includes_default 6104 #include <netinet/in_systm.h> 6105 _ACEOF 6106 rm -f conftest.$ac_objext 6107 if { (ac_try="$ac_compile" 6108 case "(($ac_try" in 6109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6110 *) ac_try_echo=$ac_try;; 6111 esac 6112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6113 (eval "$ac_compile") 2>conftest.er1 6114 ac_status=$? 6115 grep -v '^ *+' conftest.er1 >conftest.err 6116 rm -f conftest.er1 6117 cat conftest.err >&5 6118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6119 (exit $ac_status); } && { 6120 test -z "$ac_c_werror_flag" || 6121 test ! -s conftest.err 6122 } && test -s conftest.$ac_objext; then 6123 ac_header_compiler=yes 6124 else 6125 echo "$as_me: failed program was:" >&5 6126 sed 's/^/| /' conftest.$ac_ext >&5 6127 6128 ac_header_compiler=no 6129 fi 6130 6131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6132 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6133 echo "${ECHO_T}$ac_header_compiler" >&6; } 6134 6135 # Is the header present? 6136 { echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 6137 echo $ECHO_N "checking netinet/in_systm.h presence... $ECHO_C" >&6; } 6138 cat >conftest.$ac_ext <<_ACEOF 6139 /* confdefs.h. */ 6140 _ACEOF 6141 cat confdefs.h >>conftest.$ac_ext 6142 cat >>conftest.$ac_ext <<_ACEOF 6143 /* end confdefs.h. */ 6144 #include <netinet/in_systm.h> 6145 _ACEOF 6146 if { (ac_try="$ac_cpp conftest.$ac_ext" 6147 case "(($ac_try" in 6148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6149 *) ac_try_echo=$ac_try;; 6150 esac 6151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6152 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6153 ac_status=$? 6154 grep -v '^ *+' conftest.er1 >conftest.err 6155 rm -f conftest.er1 6156 cat conftest.err >&5 6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6158 (exit $ac_status); } >/dev/null && { 6159 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6160 test ! -s conftest.err 6161 }; then 6162 ac_header_preproc=yes 6163 else 6164 echo "$as_me: failed program was:" >&5 6165 sed 's/^/| /' conftest.$ac_ext >&5 6166 6167 ac_header_preproc=no 6168 fi 6169 6170 rm -f conftest.err conftest.$ac_ext 6171 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6172 echo "${ECHO_T}$ac_header_preproc" >&6; } 6173 6174 # So? What about this header? 6175 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6176 yes:no: ) 6177 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&5 6178 echo "$as_me: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6179 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&5 6180 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&2;} 6181 ac_header_preproc=yes 6182 ;; 6183 no:yes:* ) 6184 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: present but cannot be compiled" >&5 6185 echo "$as_me: WARNING: netinet/in_systm.h: present but cannot be compiled" >&2;} 6186 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: check for missing prerequisite headers?" >&5 6187 echo "$as_me: WARNING: netinet/in_systm.h: check for missing prerequisite headers?" >&2;} 6188 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&5 6189 echo "$as_me: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&2;} 6190 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: section \"Present But Cannot Be Compiled\"" >&5 6191 echo "$as_me: WARNING: netinet/in_systm.h: section \"Present But Cannot Be Compiled\"" >&2;} 6192 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&5 6193 echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&2;} 6194 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 6195 echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 6196 6197 ;; 6198 esac 6199 { echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 6200 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6; } 6201 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6202 echo $ECHO_N "(cached) $ECHO_C" >&6 6203 else 6204 ac_cv_header_netinet_in_systm_h=$ac_header_preproc 6205 fi 6206 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 6207 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6; } 6208 6209 fi 6210 if test $ac_cv_header_netinet_in_systm_h = yes; then 6211 cat >>confdefs.h <<\_ACEOF 6212 #define PJ_HAS_NETINET_IN_SYSTM_H 1 6213 _ACEOF 6214 6215 fi 6216 6217 6218 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6219 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 6220 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 6221 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6222 echo $ECHO_N "(cached) $ECHO_C" >&6 6223 fi 6224 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 6225 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 6226 else 6227 # Is the header compilable? 6228 { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 6229 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } 6230 cat >conftest.$ac_ext <<_ACEOF 6231 /* confdefs.h. */ 6232 _ACEOF 6233 cat confdefs.h >>conftest.$ac_ext 6234 cat >>conftest.$ac_ext <<_ACEOF 6235 /* end confdefs.h. */ 6236 $ac_includes_default 6237 #include <netinet/in.h> 6238 _ACEOF 6239 rm -f conftest.$ac_objext 6240 if { (ac_try="$ac_compile" 6241 case "(($ac_try" in 6242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6243 *) ac_try_echo=$ac_try;; 6244 esac 6245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6246 (eval "$ac_compile") 2>conftest.er1 6247 ac_status=$? 6248 grep -v '^ *+' conftest.er1 >conftest.err 6249 rm -f conftest.er1 6250 cat conftest.err >&5 6251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6252 (exit $ac_status); } && { 6253 test -z "$ac_c_werror_flag" || 6254 test ! -s conftest.err 6255 } && test -s conftest.$ac_objext; then 6256 ac_header_compiler=yes 6257 else 6258 echo "$as_me: failed program was:" >&5 6259 sed 's/^/| /' conftest.$ac_ext >&5 6260 6261 ac_header_compiler=no 6262 fi 6263 6264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6265 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6266 echo "${ECHO_T}$ac_header_compiler" >&6; } 6267 6268 # Is the header present? 6269 { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 6270 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } 6271 cat >conftest.$ac_ext <<_ACEOF 6272 /* confdefs.h. */ 6273 _ACEOF 6274 cat confdefs.h >>conftest.$ac_ext 6275 cat >>conftest.$ac_ext <<_ACEOF 6276 /* end confdefs.h. */ 6277 #include <netinet/in.h> 6278 _ACEOF 6279 if { (ac_try="$ac_cpp conftest.$ac_ext" 6280 case "(($ac_try" in 6281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6282 *) ac_try_echo=$ac_try;; 6283 esac 6284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6285 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6286 ac_status=$? 6287 grep -v '^ *+' conftest.er1 >conftest.err 6288 rm -f conftest.er1 6289 cat conftest.err >&5 6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6291 (exit $ac_status); } >/dev/null && { 6292 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6293 test ! -s conftest.err 6294 }; then 6295 ac_header_preproc=yes 6296 else 6297 echo "$as_me: failed program was:" >&5 6298 sed 's/^/| /' conftest.$ac_ext >&5 6299 6300 ac_header_preproc=no 6301 fi 6302 6303 rm -f conftest.err conftest.$ac_ext 6304 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6305 echo "${ECHO_T}$ac_header_preproc" >&6; } 6306 6307 # So? What about this header? 6308 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6309 yes:no: ) 6310 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 6311 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6312 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 6313 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 6314 ac_header_preproc=yes 6315 ;; 6316 no:yes:* ) 6317 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 6318 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 6319 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 6320 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} 6321 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 6322 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 6323 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 6324 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} 6325 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 6326 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 6327 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 6328 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 6329 6330 ;; 6331 esac 6332 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 6333 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } 6334 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6335 echo $ECHO_N "(cached) $ECHO_C" >&6 6336 else 6337 ac_cv_header_netinet_in_h=$ac_header_preproc 6338 fi 6339 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 6340 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } 6341 6342 fi 6343 if test $ac_cv_header_netinet_in_h = yes; then 6344 cat >>confdefs.h <<\_ACEOF 6345 #define PJ_HAS_NETINET_IN_H 1 6346 _ACEOF 6347 6348 fi 6349 6350 6351 { echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 6352 echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6; } 6353 if test "${ac_cv_header_netinet_ip_h+set}" = set; then 6354 echo $ECHO_N "(cached) $ECHO_C" >&6 6355 else 6356 cat >conftest.$ac_ext <<_ACEOF 6357 /* confdefs.h. */ 6358 _ACEOF 6359 cat confdefs.h >>conftest.$ac_ext 6360 cat >>conftest.$ac_ext <<_ACEOF 6361 /* end confdefs.h. */ 6362 #if PJ_HAS_SYS_TYPES_H 4569 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 4570 if test "x$ac_cv_header_fcntl_h" = x""yes; then : 4571 $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 4572 4573 fi 4574 4575 4576 ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 4577 if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 4578 $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 4579 4580 fi 4581 4582 4583 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 4584 if test "x$ac_cv_header_malloc_h" = x""yes; then : 4585 $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 4586 4587 fi 4588 4589 4590 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 4591 if test "x$ac_cv_header_netdb_h" = x""yes; then : 4592 $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 4593 4594 fi 4595 4596 4597 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 4598 if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 4599 $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 4600 4601 fi 4602 4603 4604 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 4605 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 4606 $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 4607 4608 fi 4609 4610 4611 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H 6363 4612 # include <sys/types.h> 6364 4613 #endif … … 6370 4619 #endif 6371 4620 6372 6373 #include <netinet/ip.h> 6374 _ACEOF 6375 rm -f conftest.$ac_objext 6376 if { (ac_try="$ac_compile" 6377 case "(($ac_try" in 6378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6379 *) ac_try_echo=$ac_try;; 6380 esac 6381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6382 (eval "$ac_compile") 2>conftest.er1 6383 ac_status=$? 6384 grep -v '^ *+' conftest.er1 >conftest.err 6385 rm -f conftest.er1 6386 cat conftest.err >&5 6387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6388 (exit $ac_status); } && { 6389 test -z "$ac_c_werror_flag" || 6390 test ! -s conftest.err 6391 } && test -s conftest.$ac_objext; then 6392 ac_cv_header_netinet_ip_h=yes 6393 else 6394 echo "$as_me: failed program was:" >&5 6395 sed 's/^/| /' conftest.$ac_ext >&5 6396 6397 ac_cv_header_netinet_ip_h=no 6398 fi 6399 6400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6401 fi 6402 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 6403 echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6; } 6404 if test $ac_cv_header_netinet_ip_h = yes; then 6405 cat >>confdefs.h <<\_ACEOF 6406 #define PJ_HAS_NETINET_IP_H 1 6407 _ACEOF 6408 6409 fi 6410 6411 6412 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6413 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 6414 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 6415 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6416 echo $ECHO_N "(cached) $ECHO_C" >&6 6417 fi 6418 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 6419 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 6420 else 6421 # Is the header compilable? 6422 { echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5 6423 echo $ECHO_N "checking netinet/tcp.h usability... $ECHO_C" >&6; } 6424 cat >conftest.$ac_ext <<_ACEOF 6425 /* confdefs.h. */ 6426 _ACEOF 6427 cat confdefs.h >>conftest.$ac_ext 6428 cat >>conftest.$ac_ext <<_ACEOF 6429 /* end confdefs.h. */ 6430 $ac_includes_default 6431 #include <netinet/tcp.h> 6432 _ACEOF 6433 rm -f conftest.$ac_objext 6434 if { (ac_try="$ac_compile" 6435 case "(($ac_try" in 6436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6437 *) ac_try_echo=$ac_try;; 6438 esac 6439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6440 (eval "$ac_compile") 2>conftest.er1 6441 ac_status=$? 6442 grep -v '^ *+' conftest.er1 >conftest.err 6443 rm -f conftest.er1 6444 cat conftest.err >&5 6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6446 (exit $ac_status); } && { 6447 test -z "$ac_c_werror_flag" || 6448 test ! -s conftest.err 6449 } && test -s conftest.$ac_objext; then 6450 ac_header_compiler=yes 6451 else 6452 echo "$as_me: failed program was:" >&5 6453 sed 's/^/| /' conftest.$ac_ext >&5 6454 6455 ac_header_compiler=no 6456 fi 6457 6458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6459 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6460 echo "${ECHO_T}$ac_header_compiler" >&6; } 6461 6462 # Is the header present? 6463 { echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5 6464 echo $ECHO_N "checking netinet/tcp.h presence... $ECHO_C" >&6; } 6465 cat >conftest.$ac_ext <<_ACEOF 6466 /* confdefs.h. */ 6467 _ACEOF 6468 cat confdefs.h >>conftest.$ac_ext 6469 cat >>conftest.$ac_ext <<_ACEOF 6470 /* end confdefs.h. */ 6471 #include <netinet/tcp.h> 6472 _ACEOF 6473 if { (ac_try="$ac_cpp conftest.$ac_ext" 6474 case "(($ac_try" in 6475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6476 *) ac_try_echo=$ac_try;; 6477 esac 6478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6479 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6480 ac_status=$? 6481 grep -v '^ *+' conftest.er1 >conftest.err 6482 rm -f conftest.er1 6483 cat conftest.err >&5 6484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6485 (exit $ac_status); } >/dev/null && { 6486 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6487 test ! -s conftest.err 6488 }; then 6489 ac_header_preproc=yes 6490 else 6491 echo "$as_me: failed program was:" >&5 6492 sed 's/^/| /' conftest.$ac_ext >&5 6493 6494 ac_header_preproc=no 6495 fi 6496 6497 rm -f conftest.err conftest.$ac_ext 6498 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6499 echo "${ECHO_T}$ac_header_preproc" >&6; } 6500 6501 # So? What about this header? 6502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6503 yes:no: ) 6504 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5 6505 echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6506 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&5 6507 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&2;} 6508 ac_header_preproc=yes 6509 ;; 6510 no:yes:* ) 6511 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5 6512 echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;} 6513 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&5 6514 echo "$as_me: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&2;} 6515 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5 6516 echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;} 6517 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&5 6518 echo "$as_me: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&2;} 6519 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&5 6520 echo "$as_me: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&2;} 6521 { echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5 6522 echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;} 6523 6524 ;; 6525 esac 6526 { echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 6527 echo $ECHO_N "checking for netinet/tcp.h... $ECHO_C" >&6; } 6528 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6529 echo $ECHO_N "(cached) $ECHO_C" >&6 6530 else 6531 ac_cv_header_netinet_tcp_h=$ac_header_preproc 6532 fi 6533 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 6534 echo "${ECHO_T}$ac_cv_header_netinet_tcp_h" >&6; } 6535 6536 fi 6537 if test $ac_cv_header_netinet_tcp_h = yes; then 6538 cat >>confdefs.h <<\_ACEOF 6539 #define PJ_HAS_NETINET_TCP_H 1 6540 _ACEOF 6541 6542 fi 6543 6544 6545 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6546 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 6547 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 6548 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6549 echo $ECHO_N "(cached) $ECHO_C" >&6 6550 fi 6551 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 6552 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 6553 else 6554 # Is the header compilable? 6555 { echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 6556 echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6; } 6557 cat >conftest.$ac_ext <<_ACEOF 6558 /* confdefs.h. */ 6559 _ACEOF 6560 cat confdefs.h >>conftest.$ac_ext 6561 cat >>conftest.$ac_ext <<_ACEOF 6562 /* end confdefs.h. */ 6563 $ac_includes_default 6564 #include <ifaddrs.h> 6565 _ACEOF 6566 rm -f conftest.$ac_objext 6567 if { (ac_try="$ac_compile" 6568 case "(($ac_try" in 6569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6570 *) ac_try_echo=$ac_try;; 6571 esac 6572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6573 (eval "$ac_compile") 2>conftest.er1 6574 ac_status=$? 6575 grep -v '^ *+' conftest.er1 >conftest.err 6576 rm -f conftest.er1 6577 cat conftest.err >&5 6578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6579 (exit $ac_status); } && { 6580 test -z "$ac_c_werror_flag" || 6581 test ! -s conftest.err 6582 } && test -s conftest.$ac_objext; then 6583 ac_header_compiler=yes 6584 else 6585 echo "$as_me: failed program was:" >&5 6586 sed 's/^/| /' conftest.$ac_ext >&5 6587 6588 ac_header_compiler=no 6589 fi 6590 6591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6592 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6593 echo "${ECHO_T}$ac_header_compiler" >&6; } 6594 6595 # Is the header present? 6596 { echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 6597 echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6; } 6598 cat >conftest.$ac_ext <<_ACEOF 6599 /* confdefs.h. */ 6600 _ACEOF 6601 cat confdefs.h >>conftest.$ac_ext 6602 cat >>conftest.$ac_ext <<_ACEOF 6603 /* end confdefs.h. */ 6604 #include <ifaddrs.h> 6605 _ACEOF 6606 if { (ac_try="$ac_cpp conftest.$ac_ext" 6607 case "(($ac_try" in 6608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6609 *) ac_try_echo=$ac_try;; 6610 esac 6611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6612 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6613 ac_status=$? 6614 grep -v '^ *+' conftest.er1 >conftest.err 6615 rm -f conftest.er1 6616 cat conftest.err >&5 6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6618 (exit $ac_status); } >/dev/null && { 6619 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6620 test ! -s conftest.err 6621 }; then 6622 ac_header_preproc=yes 6623 else 6624 echo "$as_me: failed program was:" >&5 6625 sed 's/^/| /' conftest.$ac_ext >&5 6626 6627 ac_header_preproc=no 6628 fi 6629 6630 rm -f conftest.err conftest.$ac_ext 6631 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6632 echo "${ECHO_T}$ac_header_preproc" >&6; } 6633 6634 # So? What about this header? 6635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6636 yes:no: ) 6637 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 6638 echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6639 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5 6640 echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;} 6641 ac_header_preproc=yes 6642 ;; 6643 no:yes:* ) 6644 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 6645 echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;} 6646 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&5 6647 echo "$as_me: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&2;} 6648 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5 6649 echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;} 6650 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: section \"Present But Cannot Be Compiled\"" >&5 6651 echo "$as_me: WARNING: ifaddrs.h: section \"Present But Cannot Be Compiled\"" >&2;} 6652 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 6653 echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;} 6654 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 6655 echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 6656 6657 ;; 6658 esac 6659 { echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 6660 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6; } 6661 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6662 echo $ECHO_N "(cached) $ECHO_C" >&6 6663 else 6664 ac_cv_header_ifaddrs_h=$ac_header_preproc 6665 fi 6666 { echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 6667 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6; } 6668 6669 fi 6670 if test $ac_cv_header_ifaddrs_h = yes; then 6671 cat >>confdefs.h <<\_ACEOF 6672 #define PJ_HAS_IFADDRS_H 1 6673 _ACEOF 6674 6675 fi 6676 6677 6678 if test "${ac_cv_header_semaphore_h+set}" = set; then 6679 { echo "$as_me:$LINENO: checking for semaphore.h" >&5 6680 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 6681 if test "${ac_cv_header_semaphore_h+set}" = set; then 6682 echo $ECHO_N "(cached) $ECHO_C" >&6 6683 fi 6684 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 6685 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 6686 else 6687 # Is the header compilable? 6688 { echo "$as_me:$LINENO: checking semaphore.h usability" >&5 6689 echo $ECHO_N "checking semaphore.h usability... $ECHO_C" >&6; } 6690 cat >conftest.$ac_ext <<_ACEOF 6691 /* confdefs.h. */ 6692 _ACEOF 6693 cat confdefs.h >>conftest.$ac_ext 6694 cat >>conftest.$ac_ext <<_ACEOF 6695 /* end confdefs.h. */ 6696 $ac_includes_default 6697 #include <semaphore.h> 6698 _ACEOF 6699 rm -f conftest.$ac_objext 6700 if { (ac_try="$ac_compile" 6701 case "(($ac_try" in 6702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6703 *) ac_try_echo=$ac_try;; 6704 esac 6705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6706 (eval "$ac_compile") 2>conftest.er1 6707 ac_status=$? 6708 grep -v '^ *+' conftest.er1 >conftest.err 6709 rm -f conftest.er1 6710 cat conftest.err >&5 6711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6712 (exit $ac_status); } && { 6713 test -z "$ac_c_werror_flag" || 6714 test ! -s conftest.err 6715 } && test -s conftest.$ac_objext; then 6716 ac_header_compiler=yes 6717 else 6718 echo "$as_me: failed program was:" >&5 6719 sed 's/^/| /' conftest.$ac_ext >&5 6720 6721 ac_header_compiler=no 6722 fi 6723 6724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6725 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6726 echo "${ECHO_T}$ac_header_compiler" >&6; } 6727 6728 # Is the header present? 6729 { echo "$as_me:$LINENO: checking semaphore.h presence" >&5 6730 echo $ECHO_N "checking semaphore.h presence... $ECHO_C" >&6; } 6731 cat >conftest.$ac_ext <<_ACEOF 6732 /* confdefs.h. */ 6733 _ACEOF 6734 cat confdefs.h >>conftest.$ac_ext 6735 cat >>conftest.$ac_ext <<_ACEOF 6736 /* end confdefs.h. */ 6737 #include <semaphore.h> 6738 _ACEOF 6739 if { (ac_try="$ac_cpp conftest.$ac_ext" 6740 case "(($ac_try" in 6741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6742 *) ac_try_echo=$ac_try;; 6743 esac 6744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6746 ac_status=$? 6747 grep -v '^ *+' conftest.er1 >conftest.err 6748 rm -f conftest.er1 6749 cat conftest.err >&5 6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6751 (exit $ac_status); } >/dev/null && { 6752 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6753 test ! -s conftest.err 6754 }; then 6755 ac_header_preproc=yes 6756 else 6757 echo "$as_me: failed program was:" >&5 6758 sed 's/^/| /' conftest.$ac_ext >&5 6759 6760 ac_header_preproc=no 6761 fi 6762 6763 rm -f conftest.err conftest.$ac_ext 6764 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6765 echo "${ECHO_T}$ac_header_preproc" >&6; } 6766 6767 # So? What about this header? 6768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6769 yes:no: ) 6770 { echo "$as_me:$LINENO: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&5 6771 echo "$as_me: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6772 { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the compiler's result" >&5 6773 echo "$as_me: WARNING: semaphore.h: proceeding with the compiler's result" >&2;} 6774 ac_header_preproc=yes 6775 ;; 6776 no:yes:* ) 6777 { echo "$as_me:$LINENO: WARNING: semaphore.h: present but cannot be compiled" >&5 6778 echo "$as_me: WARNING: semaphore.h: present but cannot be compiled" >&2;} 6779 { echo "$as_me:$LINENO: WARNING: semaphore.h: check for missing prerequisite headers?" >&5 6780 echo "$as_me: WARNING: semaphore.h: check for missing prerequisite headers?" >&2;} 6781 { echo "$as_me:$LINENO: WARNING: semaphore.h: see the Autoconf documentation" >&5 6782 echo "$as_me: WARNING: semaphore.h: see the Autoconf documentation" >&2;} 6783 { echo "$as_me:$LINENO: WARNING: semaphore.h: section \"Present But Cannot Be Compiled\"" >&5 6784 echo "$as_me: WARNING: semaphore.h: section \"Present But Cannot Be Compiled\"" >&2;} 6785 { echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the preprocessor's result" >&5 6786 echo "$as_me: WARNING: semaphore.h: proceeding with the preprocessor's result" >&2;} 6787 { echo "$as_me:$LINENO: WARNING: semaphore.h: in the future, the compiler will take precedence" >&5 6788 echo "$as_me: WARNING: semaphore.h: in the future, the compiler will take precedence" >&2;} 6789 6790 ;; 6791 esac 6792 { echo "$as_me:$LINENO: checking for semaphore.h" >&5 6793 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6; } 6794 if test "${ac_cv_header_semaphore_h+set}" = set; then 6795 echo $ECHO_N "(cached) $ECHO_C" >&6 6796 else 6797 ac_cv_header_semaphore_h=$ac_header_preproc 6798 fi 6799 { echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 6800 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6; } 6801 6802 fi 6803 if test $ac_cv_header_semaphore_h = yes; then 6804 cat >>confdefs.h <<\_ACEOF 6805 #define PJ_HAS_SEMAPHORE_H 1 6806 _ACEOF 6807 6808 fi 6809 6810 6811 if test "${ac_cv_header_setjmp_h+set}" = set; then 6812 { echo "$as_me:$LINENO: checking for setjmp.h" >&5 6813 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 6814 if test "${ac_cv_header_setjmp_h+set}" = set; then 6815 echo $ECHO_N "(cached) $ECHO_C" >&6 6816 fi 6817 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 6818 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 6819 else 6820 # Is the header compilable? 6821 { echo "$as_me:$LINENO: checking setjmp.h usability" >&5 6822 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6; } 6823 cat >conftest.$ac_ext <<_ACEOF 6824 /* confdefs.h. */ 6825 _ACEOF 6826 cat confdefs.h >>conftest.$ac_ext 6827 cat >>conftest.$ac_ext <<_ACEOF 6828 /* end confdefs.h. */ 6829 $ac_includes_default 6830 #include <setjmp.h> 6831 _ACEOF 6832 rm -f conftest.$ac_objext 6833 if { (ac_try="$ac_compile" 6834 case "(($ac_try" in 6835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6836 *) ac_try_echo=$ac_try;; 6837 esac 6838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6839 (eval "$ac_compile") 2>conftest.er1 6840 ac_status=$? 6841 grep -v '^ *+' conftest.er1 >conftest.err 6842 rm -f conftest.er1 6843 cat conftest.err >&5 6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6845 (exit $ac_status); } && { 6846 test -z "$ac_c_werror_flag" || 6847 test ! -s conftest.err 6848 } && test -s conftest.$ac_objext; then 6849 ac_header_compiler=yes 6850 else 6851 echo "$as_me: failed program was:" >&5 6852 sed 's/^/| /' conftest.$ac_ext >&5 6853 6854 ac_header_compiler=no 6855 fi 6856 6857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6858 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6859 echo "${ECHO_T}$ac_header_compiler" >&6; } 6860 6861 # Is the header present? 6862 { echo "$as_me:$LINENO: checking setjmp.h presence" >&5 6863 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6; } 6864 cat >conftest.$ac_ext <<_ACEOF 6865 /* confdefs.h. */ 6866 _ACEOF 6867 cat confdefs.h >>conftest.$ac_ext 6868 cat >>conftest.$ac_ext <<_ACEOF 6869 /* end confdefs.h. */ 6870 #include <setjmp.h> 6871 _ACEOF 6872 if { (ac_try="$ac_cpp conftest.$ac_ext" 6873 case "(($ac_try" in 6874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6875 *) ac_try_echo=$ac_try;; 6876 esac 6877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6878 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6879 ac_status=$? 6880 grep -v '^ *+' conftest.er1 >conftest.err 6881 rm -f conftest.er1 6882 cat conftest.err >&5 6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6884 (exit $ac_status); } >/dev/null && { 6885 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6886 test ! -s conftest.err 6887 }; then 6888 ac_header_preproc=yes 6889 else 6890 echo "$as_me: failed program was:" >&5 6891 sed 's/^/| /' conftest.$ac_ext >&5 6892 6893 ac_header_preproc=no 6894 fi 6895 6896 rm -f conftest.err conftest.$ac_ext 6897 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6898 echo "${ECHO_T}$ac_header_preproc" >&6; } 6899 6900 # So? What about this header? 6901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6902 yes:no: ) 6903 { echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 6904 echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6905 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 6906 echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 6907 ac_header_preproc=yes 6908 ;; 6909 no:yes:* ) 6910 { echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 6911 echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 6912 { echo "$as_me:$LINENO: WARNING: setjmp.h: check for missing prerequisite headers?" >&5 6913 echo "$as_me: WARNING: setjmp.h: check for missing prerequisite headers?" >&2;} 6914 { echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 6915 echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 6916 { echo "$as_me:$LINENO: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&5 6917 echo "$as_me: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&2;} 6918 { echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 6919 echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 6920 { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 6921 echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 6922 6923 ;; 6924 esac 6925 { echo "$as_me:$LINENO: checking for setjmp.h" >&5 6926 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6; } 6927 if test "${ac_cv_header_setjmp_h+set}" = set; then 6928 echo $ECHO_N "(cached) $ECHO_C" >&6 6929 else 6930 ac_cv_header_setjmp_h=$ac_header_preproc 6931 fi 6932 { echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 6933 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6; } 6934 6935 fi 6936 if test $ac_cv_header_setjmp_h = yes; then 6937 cat >>confdefs.h <<\_ACEOF 6938 #define PJ_HAS_SETJMP_H 1 6939 _ACEOF 6940 6941 fi 6942 6943 6944 if test "${ac_cv_header_stdarg_h+set}" = set; then 6945 { echo "$as_me:$LINENO: checking for stdarg.h" >&5 6946 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 6947 if test "${ac_cv_header_stdarg_h+set}" = set; then 6948 echo $ECHO_N "(cached) $ECHO_C" >&6 6949 fi 6950 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 6951 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 6952 else 6953 # Is the header compilable? 6954 { echo "$as_me:$LINENO: checking stdarg.h usability" >&5 6955 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6; } 6956 cat >conftest.$ac_ext <<_ACEOF 6957 /* confdefs.h. */ 6958 _ACEOF 6959 cat confdefs.h >>conftest.$ac_ext 6960 cat >>conftest.$ac_ext <<_ACEOF 6961 /* end confdefs.h. */ 6962 $ac_includes_default 6963 #include <stdarg.h> 6964 _ACEOF 6965 rm -f conftest.$ac_objext 6966 if { (ac_try="$ac_compile" 6967 case "(($ac_try" in 6968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6969 *) ac_try_echo=$ac_try;; 6970 esac 6971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6972 (eval "$ac_compile") 2>conftest.er1 6973 ac_status=$? 6974 grep -v '^ *+' conftest.er1 >conftest.err 6975 rm -f conftest.er1 6976 cat conftest.err >&5 6977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6978 (exit $ac_status); } && { 6979 test -z "$ac_c_werror_flag" || 6980 test ! -s conftest.err 6981 } && test -s conftest.$ac_objext; then 6982 ac_header_compiler=yes 6983 else 6984 echo "$as_me: failed program was:" >&5 6985 sed 's/^/| /' conftest.$ac_ext >&5 6986 6987 ac_header_compiler=no 6988 fi 6989 6990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6991 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6992 echo "${ECHO_T}$ac_header_compiler" >&6; } 6993 6994 # Is the header present? 6995 { echo "$as_me:$LINENO: checking stdarg.h presence" >&5 6996 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6; } 6997 cat >conftest.$ac_ext <<_ACEOF 6998 /* confdefs.h. */ 6999 _ACEOF 7000 cat confdefs.h >>conftest.$ac_ext 7001 cat >>conftest.$ac_ext <<_ACEOF 7002 /* end confdefs.h. */ 7003 #include <stdarg.h> 7004 _ACEOF 7005 if { (ac_try="$ac_cpp conftest.$ac_ext" 7006 case "(($ac_try" in 7007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7008 *) ac_try_echo=$ac_try;; 7009 esac 7010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7011 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7012 ac_status=$? 7013 grep -v '^ *+' conftest.er1 >conftest.err 7014 rm -f conftest.er1 7015 cat conftest.err >&5 7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7017 (exit $ac_status); } >/dev/null && { 7018 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7019 test ! -s conftest.err 7020 }; then 7021 ac_header_preproc=yes 7022 else 7023 echo "$as_me: failed program was:" >&5 7024 sed 's/^/| /' conftest.$ac_ext >&5 7025 7026 ac_header_preproc=no 7027 fi 7028 7029 rm -f conftest.err conftest.$ac_ext 7030 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7031 echo "${ECHO_T}$ac_header_preproc" >&6; } 7032 7033 # So? What about this header? 7034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7035 yes:no: ) 7036 { echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 7037 echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7038 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 7039 echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 7040 ac_header_preproc=yes 7041 ;; 7042 no:yes:* ) 7043 { echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 7044 echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 7045 { echo "$as_me:$LINENO: WARNING: stdarg.h: check for missing prerequisite headers?" >&5 7046 echo "$as_me: WARNING: stdarg.h: check for missing prerequisite headers?" >&2;} 7047 { echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 7048 echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 7049 { echo "$as_me:$LINENO: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&5 7050 echo "$as_me: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&2;} 7051 { echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 7052 echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 7053 { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 7054 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 7055 7056 ;; 7057 esac 7058 { echo "$as_me:$LINENO: checking for stdarg.h" >&5 7059 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6; } 7060 if test "${ac_cv_header_stdarg_h+set}" = set; then 7061 echo $ECHO_N "(cached) $ECHO_C" >&6 7062 else 7063 ac_cv_header_stdarg_h=$ac_header_preproc 7064 fi 7065 { echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 7066 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6; } 7067 7068 fi 7069 if test $ac_cv_header_stdarg_h = yes; then 7070 cat >>confdefs.h <<\_ACEOF 7071 #define PJ_HAS_STDARG_H 1 7072 _ACEOF 7073 7074 fi 7075 7076 7077 if test "${ac_cv_header_stddef_h+set}" = set; then 7078 { echo "$as_me:$LINENO: checking for stddef.h" >&5 7079 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 7080 if test "${ac_cv_header_stddef_h+set}" = set; then 7081 echo $ECHO_N "(cached) $ECHO_C" >&6 7082 fi 7083 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 7084 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 7085 else 7086 # Is the header compilable? 7087 { echo "$as_me:$LINENO: checking stddef.h usability" >&5 7088 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6; } 7089 cat >conftest.$ac_ext <<_ACEOF 7090 /* confdefs.h. */ 7091 _ACEOF 7092 cat confdefs.h >>conftest.$ac_ext 7093 cat >>conftest.$ac_ext <<_ACEOF 7094 /* end confdefs.h. */ 7095 $ac_includes_default 7096 #include <stddef.h> 7097 _ACEOF 7098 rm -f conftest.$ac_objext 7099 if { (ac_try="$ac_compile" 7100 case "(($ac_try" in 7101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7102 *) ac_try_echo=$ac_try;; 7103 esac 7104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7105 (eval "$ac_compile") 2>conftest.er1 7106 ac_status=$? 7107 grep -v '^ *+' conftest.er1 >conftest.err 7108 rm -f conftest.er1 7109 cat conftest.err >&5 7110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7111 (exit $ac_status); } && { 7112 test -z "$ac_c_werror_flag" || 7113 test ! -s conftest.err 7114 } && test -s conftest.$ac_objext; then 7115 ac_header_compiler=yes 7116 else 7117 echo "$as_me: failed program was:" >&5 7118 sed 's/^/| /' conftest.$ac_ext >&5 7119 7120 ac_header_compiler=no 7121 fi 7122 7123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7124 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7125 echo "${ECHO_T}$ac_header_compiler" >&6; } 7126 7127 # Is the header present? 7128 { echo "$as_me:$LINENO: checking stddef.h presence" >&5 7129 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6; } 7130 cat >conftest.$ac_ext <<_ACEOF 7131 /* confdefs.h. */ 7132 _ACEOF 7133 cat confdefs.h >>conftest.$ac_ext 7134 cat >>conftest.$ac_ext <<_ACEOF 7135 /* end confdefs.h. */ 7136 #include <stddef.h> 7137 _ACEOF 7138 if { (ac_try="$ac_cpp conftest.$ac_ext" 7139 case "(($ac_try" in 7140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7141 *) ac_try_echo=$ac_try;; 7142 esac 7143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7144 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7145 ac_status=$? 7146 grep -v '^ *+' conftest.er1 >conftest.err 7147 rm -f conftest.er1 7148 cat conftest.err >&5 7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7150 (exit $ac_status); } >/dev/null && { 7151 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7152 test ! -s conftest.err 7153 }; then 7154 ac_header_preproc=yes 7155 else 7156 echo "$as_me: failed program was:" >&5 7157 sed 's/^/| /' conftest.$ac_ext >&5 7158 7159 ac_header_preproc=no 7160 fi 7161 7162 rm -f conftest.err conftest.$ac_ext 7163 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7164 echo "${ECHO_T}$ac_header_preproc" >&6; } 7165 7166 # So? What about this header? 7167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7168 yes:no: ) 7169 { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 7170 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7171 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 7172 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 7173 ac_header_preproc=yes 7174 ;; 7175 no:yes:* ) 7176 { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 7177 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 7178 { echo "$as_me:$LINENO: WARNING: stddef.h: check for missing prerequisite headers?" >&5 7179 echo "$as_me: WARNING: stddef.h: check for missing prerequisite headers?" >&2;} 7180 { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 7181 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 7182 { echo "$as_me:$LINENO: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&5 7183 echo "$as_me: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&2;} 7184 { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 7185 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 7186 { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 7187 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 7188 7189 ;; 7190 esac 7191 { echo "$as_me:$LINENO: checking for stddef.h" >&5 7192 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; } 7193 if test "${ac_cv_header_stddef_h+set}" = set; then 7194 echo $ECHO_N "(cached) $ECHO_C" >&6 7195 else 7196 ac_cv_header_stddef_h=$ac_header_preproc 7197 fi 7198 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 7199 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; } 7200 7201 fi 7202 if test $ac_cv_header_stddef_h = yes; then 7203 cat >>confdefs.h <<\_ACEOF 7204 #define PJ_HAS_STDDEF_H 1 7205 _ACEOF 7206 7207 fi 7208 7209 7210 if test "${ac_cv_header_stdio_h+set}" = set; then 7211 { echo "$as_me:$LINENO: checking for stdio.h" >&5 7212 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 7213 if test "${ac_cv_header_stdio_h+set}" = set; then 7214 echo $ECHO_N "(cached) $ECHO_C" >&6 7215 fi 7216 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 7217 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 7218 else 7219 # Is the header compilable? 7220 { echo "$as_me:$LINENO: checking stdio.h usability" >&5 7221 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6; } 7222 cat >conftest.$ac_ext <<_ACEOF 7223 /* confdefs.h. */ 7224 _ACEOF 7225 cat confdefs.h >>conftest.$ac_ext 7226 cat >>conftest.$ac_ext <<_ACEOF 7227 /* end confdefs.h. */ 7228 $ac_includes_default 7229 #include <stdio.h> 7230 _ACEOF 7231 rm -f conftest.$ac_objext 7232 if { (ac_try="$ac_compile" 7233 case "(($ac_try" in 7234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7235 *) ac_try_echo=$ac_try;; 7236 esac 7237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7238 (eval "$ac_compile") 2>conftest.er1 7239 ac_status=$? 7240 grep -v '^ *+' conftest.er1 >conftest.err 7241 rm -f conftest.er1 7242 cat conftest.err >&5 7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7244 (exit $ac_status); } && { 7245 test -z "$ac_c_werror_flag" || 7246 test ! -s conftest.err 7247 } && test -s conftest.$ac_objext; then 7248 ac_header_compiler=yes 7249 else 7250 echo "$as_me: failed program was:" >&5 7251 sed 's/^/| /' conftest.$ac_ext >&5 7252 7253 ac_header_compiler=no 7254 fi 7255 7256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7257 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7258 echo "${ECHO_T}$ac_header_compiler" >&6; } 7259 7260 # Is the header present? 7261 { echo "$as_me:$LINENO: checking stdio.h presence" >&5 7262 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6; } 7263 cat >conftest.$ac_ext <<_ACEOF 7264 /* confdefs.h. */ 7265 _ACEOF 7266 cat confdefs.h >>conftest.$ac_ext 7267 cat >>conftest.$ac_ext <<_ACEOF 7268 /* end confdefs.h. */ 7269 #include <stdio.h> 7270 _ACEOF 7271 if { (ac_try="$ac_cpp conftest.$ac_ext" 7272 case "(($ac_try" in 7273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7274 *) ac_try_echo=$ac_try;; 7275 esac 7276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7277 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7278 ac_status=$? 7279 grep -v '^ *+' conftest.er1 >conftest.err 7280 rm -f conftest.er1 7281 cat conftest.err >&5 7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7283 (exit $ac_status); } >/dev/null && { 7284 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7285 test ! -s conftest.err 7286 }; then 7287 ac_header_preproc=yes 7288 else 7289 echo "$as_me: failed program was:" >&5 7290 sed 's/^/| /' conftest.$ac_ext >&5 7291 7292 ac_header_preproc=no 7293 fi 7294 7295 rm -f conftest.err conftest.$ac_ext 7296 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7297 echo "${ECHO_T}$ac_header_preproc" >&6; } 7298 7299 # So? What about this header? 7300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7301 yes:no: ) 7302 { echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 7303 echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7304 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 7305 echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 7306 ac_header_preproc=yes 7307 ;; 7308 no:yes:* ) 7309 { echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 7310 echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 7311 { echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5 7312 echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;} 7313 { echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 7314 echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 7315 { echo "$as_me:$LINENO: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&5 7316 echo "$as_me: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&2;} 7317 { echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 7318 echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 7319 { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 7320 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 7321 7322 ;; 7323 esac 7324 { echo "$as_me:$LINENO: checking for stdio.h" >&5 7325 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6; } 7326 if test "${ac_cv_header_stdio_h+set}" = set; then 7327 echo $ECHO_N "(cached) $ECHO_C" >&6 7328 else 7329 ac_cv_header_stdio_h=$ac_header_preproc 7330 fi 7331 { echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 7332 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6; } 7333 7334 fi 7335 if test $ac_cv_header_stdio_h = yes; then 7336 cat >>confdefs.h <<\_ACEOF 7337 #define PJ_HAS_STDIO_H 1 7338 _ACEOF 7339 7340 fi 7341 7342 7343 if test "${ac_cv_header_stdint_h+set}" = set; then 7344 { echo "$as_me:$LINENO: checking for stdint.h" >&5 7345 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 7346 if test "${ac_cv_header_stdint_h+set}" = set; then 7347 echo $ECHO_N "(cached) $ECHO_C" >&6 7348 fi 7349 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 7350 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 7351 else 7352 # Is the header compilable? 7353 { echo "$as_me:$LINENO: checking stdint.h usability" >&5 7354 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6; } 7355 cat >conftest.$ac_ext <<_ACEOF 7356 /* confdefs.h. */ 7357 _ACEOF 7358 cat confdefs.h >>conftest.$ac_ext 7359 cat >>conftest.$ac_ext <<_ACEOF 7360 /* end confdefs.h. */ 7361 $ac_includes_default 7362 #include <stdint.h> 7363 _ACEOF 7364 rm -f conftest.$ac_objext 7365 if { (ac_try="$ac_compile" 7366 case "(($ac_try" in 7367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7368 *) ac_try_echo=$ac_try;; 7369 esac 7370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7371 (eval "$ac_compile") 2>conftest.er1 7372 ac_status=$? 7373 grep -v '^ *+' conftest.er1 >conftest.err 7374 rm -f conftest.er1 7375 cat conftest.err >&5 7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7377 (exit $ac_status); } && { 7378 test -z "$ac_c_werror_flag" || 7379 test ! -s conftest.err 7380 } && test -s conftest.$ac_objext; then 7381 ac_header_compiler=yes 7382 else 7383 echo "$as_me: failed program was:" >&5 7384 sed 's/^/| /' conftest.$ac_ext >&5 7385 7386 ac_header_compiler=no 7387 fi 7388 7389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7390 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7391 echo "${ECHO_T}$ac_header_compiler" >&6; } 7392 7393 # Is the header present? 7394 { echo "$as_me:$LINENO: checking stdint.h presence" >&5 7395 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6; } 7396 cat >conftest.$ac_ext <<_ACEOF 7397 /* confdefs.h. */ 7398 _ACEOF 7399 cat confdefs.h >>conftest.$ac_ext 7400 cat >>conftest.$ac_ext <<_ACEOF 7401 /* end confdefs.h. */ 7402 #include <stdint.h> 7403 _ACEOF 7404 if { (ac_try="$ac_cpp conftest.$ac_ext" 7405 case "(($ac_try" in 7406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7407 *) ac_try_echo=$ac_try;; 7408 esac 7409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7410 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7411 ac_status=$? 7412 grep -v '^ *+' conftest.er1 >conftest.err 7413 rm -f conftest.er1 7414 cat conftest.err >&5 7415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7416 (exit $ac_status); } >/dev/null && { 7417 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7418 test ! -s conftest.err 7419 }; then 7420 ac_header_preproc=yes 7421 else 7422 echo "$as_me: failed program was:" >&5 7423 sed 's/^/| /' conftest.$ac_ext >&5 7424 7425 ac_header_preproc=no 7426 fi 7427 7428 rm -f conftest.err conftest.$ac_ext 7429 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7430 echo "${ECHO_T}$ac_header_preproc" >&6; } 7431 7432 # So? What about this header? 7433 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7434 yes:no: ) 7435 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 7436 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7437 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 7438 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 7439 ac_header_preproc=yes 7440 ;; 7441 no:yes:* ) 7442 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 7443 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 7444 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5 7445 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;} 7446 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 7447 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 7448 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5 7449 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;} 7450 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 7451 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 7452 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 7453 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 7454 7455 ;; 7456 esac 7457 { echo "$as_me:$LINENO: checking for stdint.h" >&5 7458 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } 7459 if test "${ac_cv_header_stdint_h+set}" = set; then 7460 echo $ECHO_N "(cached) $ECHO_C" >&6 7461 else 7462 ac_cv_header_stdint_h=$ac_header_preproc 7463 fi 7464 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 7465 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; } 7466 7467 fi 7468 if test $ac_cv_header_stdint_h = yes; then 7469 cat >>confdefs.h <<\_ACEOF 7470 #define PJ_HAS_STDINT_H 1 7471 _ACEOF 7472 7473 fi 7474 7475 7476 if test "${ac_cv_header_stdlib_h+set}" = set; then 7477 { echo "$as_me:$LINENO: checking for stdlib.h" >&5 7478 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 7479 if test "${ac_cv_header_stdlib_h+set}" = set; then 7480 echo $ECHO_N "(cached) $ECHO_C" >&6 7481 fi 7482 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 7483 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 7484 else 7485 # Is the header compilable? 7486 { echo "$as_me:$LINENO: checking stdlib.h usability" >&5 7487 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6; } 7488 cat >conftest.$ac_ext <<_ACEOF 7489 /* confdefs.h. */ 7490 _ACEOF 7491 cat confdefs.h >>conftest.$ac_ext 7492 cat >>conftest.$ac_ext <<_ACEOF 7493 /* end confdefs.h. */ 7494 $ac_includes_default 7495 #include <stdlib.h> 7496 _ACEOF 7497 rm -f conftest.$ac_objext 7498 if { (ac_try="$ac_compile" 7499 case "(($ac_try" in 7500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7501 *) ac_try_echo=$ac_try;; 7502 esac 7503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7504 (eval "$ac_compile") 2>conftest.er1 7505 ac_status=$? 7506 grep -v '^ *+' conftest.er1 >conftest.err 7507 rm -f conftest.er1 7508 cat conftest.err >&5 7509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7510 (exit $ac_status); } && { 7511 test -z "$ac_c_werror_flag" || 7512 test ! -s conftest.err 7513 } && test -s conftest.$ac_objext; then 7514 ac_header_compiler=yes 7515 else 7516 echo "$as_me: failed program was:" >&5 7517 sed 's/^/| /' conftest.$ac_ext >&5 7518 7519 ac_header_compiler=no 7520 fi 7521 7522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7523 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7524 echo "${ECHO_T}$ac_header_compiler" >&6; } 7525 7526 # Is the header present? 7527 { echo "$as_me:$LINENO: checking stdlib.h presence" >&5 7528 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6; } 7529 cat >conftest.$ac_ext <<_ACEOF 7530 /* confdefs.h. */ 7531 _ACEOF 7532 cat confdefs.h >>conftest.$ac_ext 7533 cat >>conftest.$ac_ext <<_ACEOF 7534 /* end confdefs.h. */ 7535 #include <stdlib.h> 7536 _ACEOF 7537 if { (ac_try="$ac_cpp conftest.$ac_ext" 7538 case "(($ac_try" in 7539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7540 *) ac_try_echo=$ac_try;; 7541 esac 7542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7543 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7544 ac_status=$? 7545 grep -v '^ *+' conftest.er1 >conftest.err 7546 rm -f conftest.er1 7547 cat conftest.err >&5 7548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7549 (exit $ac_status); } >/dev/null && { 7550 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7551 test ! -s conftest.err 7552 }; then 7553 ac_header_preproc=yes 7554 else 7555 echo "$as_me: failed program was:" >&5 7556 sed 's/^/| /' conftest.$ac_ext >&5 7557 7558 ac_header_preproc=no 7559 fi 7560 7561 rm -f conftest.err conftest.$ac_ext 7562 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7563 echo "${ECHO_T}$ac_header_preproc" >&6; } 7564 7565 # So? What about this header? 7566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7567 yes:no: ) 7568 { echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 7569 echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7570 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 7571 echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 7572 ac_header_preproc=yes 7573 ;; 7574 no:yes:* ) 7575 { echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 7576 echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 7577 { echo "$as_me:$LINENO: WARNING: stdlib.h: check for missing prerequisite headers?" >&5 7578 echo "$as_me: WARNING: stdlib.h: check for missing prerequisite headers?" >&2;} 7579 { echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 7580 echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 7581 { echo "$as_me:$LINENO: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&5 7582 echo "$as_me: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&2;} 7583 { echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 7584 echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 7585 { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 7586 echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 7587 7588 ;; 7589 esac 7590 { echo "$as_me:$LINENO: checking for stdlib.h" >&5 7591 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6; } 7592 if test "${ac_cv_header_stdlib_h+set}" = set; then 7593 echo $ECHO_N "(cached) $ECHO_C" >&6 7594 else 7595 ac_cv_header_stdlib_h=$ac_header_preproc 7596 fi 7597 { echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 7598 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6; } 7599 7600 fi 7601 if test $ac_cv_header_stdlib_h = yes; then 7602 cat >>confdefs.h <<\_ACEOF 7603 #define PJ_HAS_STDLIB_H 1 7604 _ACEOF 7605 7606 fi 7607 7608 7609 if test "${ac_cv_header_string_h+set}" = set; then 7610 { echo "$as_me:$LINENO: checking for string.h" >&5 7611 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 7612 if test "${ac_cv_header_string_h+set}" = set; then 7613 echo $ECHO_N "(cached) $ECHO_C" >&6 7614 fi 7615 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 7616 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 7617 else 7618 # Is the header compilable? 7619 { echo "$as_me:$LINENO: checking string.h usability" >&5 7620 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6; } 7621 cat >conftest.$ac_ext <<_ACEOF 7622 /* confdefs.h. */ 7623 _ACEOF 7624 cat confdefs.h >>conftest.$ac_ext 7625 cat >>conftest.$ac_ext <<_ACEOF 7626 /* end confdefs.h. */ 7627 $ac_includes_default 7628 #include <string.h> 7629 _ACEOF 7630 rm -f conftest.$ac_objext 7631 if { (ac_try="$ac_compile" 7632 case "(($ac_try" in 7633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7634 *) ac_try_echo=$ac_try;; 7635 esac 7636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7637 (eval "$ac_compile") 2>conftest.er1 7638 ac_status=$? 7639 grep -v '^ *+' conftest.er1 >conftest.err 7640 rm -f conftest.er1 7641 cat conftest.err >&5 7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7643 (exit $ac_status); } && { 7644 test -z "$ac_c_werror_flag" || 7645 test ! -s conftest.err 7646 } && test -s conftest.$ac_objext; then 7647 ac_header_compiler=yes 7648 else 7649 echo "$as_me: failed program was:" >&5 7650 sed 's/^/| /' conftest.$ac_ext >&5 7651 7652 ac_header_compiler=no 7653 fi 7654 7655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7656 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7657 echo "${ECHO_T}$ac_header_compiler" >&6; } 7658 7659 # Is the header present? 7660 { echo "$as_me:$LINENO: checking string.h presence" >&5 7661 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6; } 7662 cat >conftest.$ac_ext <<_ACEOF 7663 /* confdefs.h. */ 7664 _ACEOF 7665 cat confdefs.h >>conftest.$ac_ext 7666 cat >>conftest.$ac_ext <<_ACEOF 7667 /* end confdefs.h. */ 7668 #include <string.h> 7669 _ACEOF 7670 if { (ac_try="$ac_cpp conftest.$ac_ext" 7671 case "(($ac_try" in 7672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7673 *) ac_try_echo=$ac_try;; 7674 esac 7675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7677 ac_status=$? 7678 grep -v '^ *+' conftest.er1 >conftest.err 7679 rm -f conftest.er1 7680 cat conftest.err >&5 7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7682 (exit $ac_status); } >/dev/null && { 7683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7684 test ! -s conftest.err 7685 }; then 7686 ac_header_preproc=yes 7687 else 7688 echo "$as_me: failed program was:" >&5 7689 sed 's/^/| /' conftest.$ac_ext >&5 7690 7691 ac_header_preproc=no 7692 fi 7693 7694 rm -f conftest.err conftest.$ac_ext 7695 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7696 echo "${ECHO_T}$ac_header_preproc" >&6; } 7697 7698 # So? What about this header? 7699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7700 yes:no: ) 7701 { echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 7702 echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7703 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 7704 echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 7705 ac_header_preproc=yes 7706 ;; 7707 no:yes:* ) 7708 { echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 7709 echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 7710 { echo "$as_me:$LINENO: WARNING: string.h: check for missing prerequisite headers?" >&5 7711 echo "$as_me: WARNING: string.h: check for missing prerequisite headers?" >&2;} 7712 { echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 7713 echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 7714 { echo "$as_me:$LINENO: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&5 7715 echo "$as_me: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&2;} 7716 { echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 7717 echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 7718 { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 7719 echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 7720 7721 ;; 7722 esac 7723 { echo "$as_me:$LINENO: checking for string.h" >&5 7724 echo $ECHO_N "checking for string.h... $ECHO_C" >&6; } 7725 if test "${ac_cv_header_string_h+set}" = set; then 7726 echo $ECHO_N "(cached) $ECHO_C" >&6 7727 else 7728 ac_cv_header_string_h=$ac_header_preproc 7729 fi 7730 { echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 7731 echo "${ECHO_T}$ac_cv_header_string_h" >&6; } 7732 7733 fi 7734 if test $ac_cv_header_string_h = yes; then 7735 cat >>confdefs.h <<\_ACEOF 7736 #define PJ_HAS_STRING_H 1 7737 _ACEOF 7738 7739 fi 7740 7741 7742 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 7743 { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 7744 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 7745 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 7746 echo $ECHO_N "(cached) $ECHO_C" >&6 7747 fi 7748 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 7749 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 7750 else 7751 # Is the header compilable? 7752 { echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 7753 echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6; } 7754 cat >conftest.$ac_ext <<_ACEOF 7755 /* confdefs.h. */ 7756 _ACEOF 7757 cat confdefs.h >>conftest.$ac_ext 7758 cat >>conftest.$ac_ext <<_ACEOF 7759 /* end confdefs.h. */ 7760 $ac_includes_default 7761 #include <sys/ioctl.h> 7762 _ACEOF 7763 rm -f conftest.$ac_objext 7764 if { (ac_try="$ac_compile" 7765 case "(($ac_try" in 7766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7767 *) ac_try_echo=$ac_try;; 7768 esac 7769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7770 (eval "$ac_compile") 2>conftest.er1 7771 ac_status=$? 7772 grep -v '^ *+' conftest.er1 >conftest.err 7773 rm -f conftest.er1 7774 cat conftest.err >&5 7775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7776 (exit $ac_status); } && { 7777 test -z "$ac_c_werror_flag" || 7778 test ! -s conftest.err 7779 } && test -s conftest.$ac_objext; then 7780 ac_header_compiler=yes 7781 else 7782 echo "$as_me: failed program was:" >&5 7783 sed 's/^/| /' conftest.$ac_ext >&5 7784 7785 ac_header_compiler=no 7786 fi 7787 7788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7789 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7790 echo "${ECHO_T}$ac_header_compiler" >&6; } 7791 7792 # Is the header present? 7793 { echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 7794 echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6; } 7795 cat >conftest.$ac_ext <<_ACEOF 7796 /* confdefs.h. */ 7797 _ACEOF 7798 cat confdefs.h >>conftest.$ac_ext 7799 cat >>conftest.$ac_ext <<_ACEOF 7800 /* end confdefs.h. */ 7801 #include <sys/ioctl.h> 7802 _ACEOF 7803 if { (ac_try="$ac_cpp conftest.$ac_ext" 7804 case "(($ac_try" in 7805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7806 *) ac_try_echo=$ac_try;; 7807 esac 7808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7810 ac_status=$? 7811 grep -v '^ *+' conftest.er1 >conftest.err 7812 rm -f conftest.er1 7813 cat conftest.err >&5 7814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7815 (exit $ac_status); } >/dev/null && { 7816 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7817 test ! -s conftest.err 7818 }; then 7819 ac_header_preproc=yes 7820 else 7821 echo "$as_me: failed program was:" >&5 7822 sed 's/^/| /' conftest.$ac_ext >&5 7823 7824 ac_header_preproc=no 7825 fi 7826 7827 rm -f conftest.err conftest.$ac_ext 7828 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7829 echo "${ECHO_T}$ac_header_preproc" >&6; } 7830 7831 # So? What about this header? 7832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7833 yes:no: ) 7834 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 7835 echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7836 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 7837 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 7838 ac_header_preproc=yes 7839 ;; 7840 no:yes:* ) 7841 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 7842 echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 7843 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&5 7844 echo "$as_me: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&2;} 7845 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 7846 echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 7847 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: section \"Present But Cannot Be Compiled\"" >&5 7848 echo "$as_me: WARNING: sys/ioctl.h: section \"Present But Cannot Be Compiled\"" >&2;} 7849 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 7850 echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 7851 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 7852 echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 7853 7854 ;; 7855 esac 7856 { echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 7857 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6; } 7858 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 7859 echo $ECHO_N "(cached) $ECHO_C" >&6 7860 else 7861 ac_cv_header_sys_ioctl_h=$ac_header_preproc 7862 fi 7863 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 7864 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6; } 7865 7866 fi 7867 if test $ac_cv_header_sys_ioctl_h = yes; then 7868 cat >>confdefs.h <<\_ACEOF 7869 #define PJ_HAS_SYS_IOCTL_H 1 7870 _ACEOF 7871 7872 fi 7873 7874 7875 if test "${ac_cv_header_sys_select_h+set}" = set; then 7876 { echo "$as_me:$LINENO: checking for sys/select.h" >&5 7877 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 7878 if test "${ac_cv_header_sys_select_h+set}" = set; then 7879 echo $ECHO_N "(cached) $ECHO_C" >&6 7880 fi 7881 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 7882 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 7883 else 7884 # Is the header compilable? 7885 { echo "$as_me:$LINENO: checking sys/select.h usability" >&5 7886 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6; } 7887 cat >conftest.$ac_ext <<_ACEOF 7888 /* confdefs.h. */ 7889 _ACEOF 7890 cat confdefs.h >>conftest.$ac_ext 7891 cat >>conftest.$ac_ext <<_ACEOF 7892 /* end confdefs.h. */ 7893 $ac_includes_default 7894 #include <sys/select.h> 7895 _ACEOF 7896 rm -f conftest.$ac_objext 7897 if { (ac_try="$ac_compile" 7898 case "(($ac_try" in 7899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7900 *) ac_try_echo=$ac_try;; 7901 esac 7902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7903 (eval "$ac_compile") 2>conftest.er1 7904 ac_status=$? 7905 grep -v '^ *+' conftest.er1 >conftest.err 7906 rm -f conftest.er1 7907 cat conftest.err >&5 7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7909 (exit $ac_status); } && { 7910 test -z "$ac_c_werror_flag" || 7911 test ! -s conftest.err 7912 } && test -s conftest.$ac_objext; then 7913 ac_header_compiler=yes 7914 else 7915 echo "$as_me: failed program was:" >&5 7916 sed 's/^/| /' conftest.$ac_ext >&5 7917 7918 ac_header_compiler=no 7919 fi 7920 7921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7922 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7923 echo "${ECHO_T}$ac_header_compiler" >&6; } 7924 7925 # Is the header present? 7926 { echo "$as_me:$LINENO: checking sys/select.h presence" >&5 7927 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6; } 7928 cat >conftest.$ac_ext <<_ACEOF 7929 /* confdefs.h. */ 7930 _ACEOF 7931 cat confdefs.h >>conftest.$ac_ext 7932 cat >>conftest.$ac_ext <<_ACEOF 7933 /* end confdefs.h. */ 7934 #include <sys/select.h> 7935 _ACEOF 7936 if { (ac_try="$ac_cpp conftest.$ac_ext" 7937 case "(($ac_try" in 7938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7939 *) ac_try_echo=$ac_try;; 7940 esac 7941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7942 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7943 ac_status=$? 7944 grep -v '^ *+' conftest.er1 >conftest.err 7945 rm -f conftest.er1 7946 cat conftest.err >&5 7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7948 (exit $ac_status); } >/dev/null && { 7949 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7950 test ! -s conftest.err 7951 }; then 7952 ac_header_preproc=yes 7953 else 7954 echo "$as_me: failed program was:" >&5 7955 sed 's/^/| /' conftest.$ac_ext >&5 7956 7957 ac_header_preproc=no 7958 fi 7959 7960 rm -f conftest.err conftest.$ac_ext 7961 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7962 echo "${ECHO_T}$ac_header_preproc" >&6; } 7963 7964 # So? What about this header? 7965 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7966 yes:no: ) 7967 { echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 7968 echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7969 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 7970 echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 7971 ac_header_preproc=yes 7972 ;; 7973 no:yes:* ) 7974 { echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 7975 echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 7976 { echo "$as_me:$LINENO: WARNING: sys/select.h: check for missing prerequisite headers?" >&5 7977 echo "$as_me: WARNING: sys/select.h: check for missing prerequisite headers?" >&2;} 7978 { echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 7979 echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 7980 { echo "$as_me:$LINENO: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&5 7981 echo "$as_me: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&2;} 7982 { echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 7983 echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 7984 { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 7985 echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 7986 7987 ;; 7988 esac 7989 { echo "$as_me:$LINENO: checking for sys/select.h" >&5 7990 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; } 7991 if test "${ac_cv_header_sys_select_h+set}" = set; then 7992 echo $ECHO_N "(cached) $ECHO_C" >&6 7993 else 7994 ac_cv_header_sys_select_h=$ac_header_preproc 7995 fi 7996 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 7997 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; } 7998 7999 fi 8000 if test $ac_cv_header_sys_select_h = yes; then 8001 cat >>confdefs.h <<\_ACEOF 8002 #define PJ_HAS_SYS_SELECT_H 1 8003 _ACEOF 8004 8005 fi 8006 8007 8008 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8009 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 8010 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 8011 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8012 echo $ECHO_N "(cached) $ECHO_C" >&6 8013 fi 8014 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 8015 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 8016 else 8017 # Is the header compilable? 8018 { echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 8019 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; } 8020 cat >conftest.$ac_ext <<_ACEOF 8021 /* confdefs.h. */ 8022 _ACEOF 8023 cat confdefs.h >>conftest.$ac_ext 8024 cat >>conftest.$ac_ext <<_ACEOF 8025 /* end confdefs.h. */ 8026 $ac_includes_default 8027 #include <sys/socket.h> 8028 _ACEOF 8029 rm -f conftest.$ac_objext 8030 if { (ac_try="$ac_compile" 8031 case "(($ac_try" in 8032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8033 *) ac_try_echo=$ac_try;; 8034 esac 8035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8036 (eval "$ac_compile") 2>conftest.er1 8037 ac_status=$? 8038 grep -v '^ *+' conftest.er1 >conftest.err 8039 rm -f conftest.er1 8040 cat conftest.err >&5 8041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8042 (exit $ac_status); } && { 8043 test -z "$ac_c_werror_flag" || 8044 test ! -s conftest.err 8045 } && test -s conftest.$ac_objext; then 8046 ac_header_compiler=yes 8047 else 8048 echo "$as_me: failed program was:" >&5 8049 sed 's/^/| /' conftest.$ac_ext >&5 8050 8051 ac_header_compiler=no 8052 fi 8053 8054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8055 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8056 echo "${ECHO_T}$ac_header_compiler" >&6; } 8057 8058 # Is the header present? 8059 { echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 8060 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; } 8061 cat >conftest.$ac_ext <<_ACEOF 8062 /* confdefs.h. */ 8063 _ACEOF 8064 cat confdefs.h >>conftest.$ac_ext 8065 cat >>conftest.$ac_ext <<_ACEOF 8066 /* end confdefs.h. */ 8067 #include <sys/socket.h> 8068 _ACEOF 8069 if { (ac_try="$ac_cpp conftest.$ac_ext" 8070 case "(($ac_try" in 8071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8072 *) ac_try_echo=$ac_try;; 8073 esac 8074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8075 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8076 ac_status=$? 8077 grep -v '^ *+' conftest.er1 >conftest.err 8078 rm -f conftest.er1 8079 cat conftest.err >&5 8080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8081 (exit $ac_status); } >/dev/null && { 8082 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8083 test ! -s conftest.err 8084 }; then 8085 ac_header_preproc=yes 8086 else 8087 echo "$as_me: failed program was:" >&5 8088 sed 's/^/| /' conftest.$ac_ext >&5 8089 8090 ac_header_preproc=no 8091 fi 8092 8093 rm -f conftest.err conftest.$ac_ext 8094 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8095 echo "${ECHO_T}$ac_header_preproc" >&6; } 8096 8097 # So? What about this header? 8098 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8099 yes:no: ) 8100 { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 8101 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8102 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 8103 echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 8104 ac_header_preproc=yes 8105 ;; 8106 no:yes:* ) 8107 { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 8108 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 8109 { echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5 8110 echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;} 8111 { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 8112 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 8113 { echo "$as_me:$LINENO: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&5 8114 echo "$as_me: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&2;} 8115 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 8116 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 8117 { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 8118 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 8119 8120 ;; 8121 esac 8122 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5 8123 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; } 8124 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8125 echo $ECHO_N "(cached) $ECHO_C" >&6 8126 else 8127 ac_cv_header_sys_socket_h=$ac_header_preproc 8128 fi 8129 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 8130 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; } 8131 8132 fi 8133 if test $ac_cv_header_sys_socket_h = yes; then 8134 cat >>confdefs.h <<\_ACEOF 8135 #define PJ_HAS_SYS_SOCKET_H 1 8136 _ACEOF 8137 8138 fi 8139 8140 8141 if test "${ac_cv_header_sys_time_h+set}" = set; then 8142 { echo "$as_me:$LINENO: checking for sys/time.h" >&5 8143 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 8144 if test "${ac_cv_header_sys_time_h+set}" = set; then 8145 echo $ECHO_N "(cached) $ECHO_C" >&6 8146 fi 8147 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 8148 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 8149 else 8150 # Is the header compilable? 8151 { echo "$as_me:$LINENO: checking sys/time.h usability" >&5 8152 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6; } 8153 cat >conftest.$ac_ext <<_ACEOF 8154 /* confdefs.h. */ 8155 _ACEOF 8156 cat confdefs.h >>conftest.$ac_ext 8157 cat >>conftest.$ac_ext <<_ACEOF 8158 /* end confdefs.h. */ 8159 $ac_includes_default 8160 #include <sys/time.h> 8161 _ACEOF 8162 rm -f conftest.$ac_objext 8163 if { (ac_try="$ac_compile" 8164 case "(($ac_try" in 8165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8166 *) ac_try_echo=$ac_try;; 8167 esac 8168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8169 (eval "$ac_compile") 2>conftest.er1 8170 ac_status=$? 8171 grep -v '^ *+' conftest.er1 >conftest.err 8172 rm -f conftest.er1 8173 cat conftest.err >&5 8174 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8175 (exit $ac_status); } && { 8176 test -z "$ac_c_werror_flag" || 8177 test ! -s conftest.err 8178 } && test -s conftest.$ac_objext; then 8179 ac_header_compiler=yes 8180 else 8181 echo "$as_me: failed program was:" >&5 8182 sed 's/^/| /' conftest.$ac_ext >&5 8183 8184 ac_header_compiler=no 8185 fi 8186 8187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8188 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8189 echo "${ECHO_T}$ac_header_compiler" >&6; } 8190 8191 # Is the header present? 8192 { echo "$as_me:$LINENO: checking sys/time.h presence" >&5 8193 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6; } 8194 cat >conftest.$ac_ext <<_ACEOF 8195 /* confdefs.h. */ 8196 _ACEOF 8197 cat confdefs.h >>conftest.$ac_ext 8198 cat >>conftest.$ac_ext <<_ACEOF 8199 /* end confdefs.h. */ 8200 #include <sys/time.h> 8201 _ACEOF 8202 if { (ac_try="$ac_cpp conftest.$ac_ext" 8203 case "(($ac_try" in 8204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8205 *) ac_try_echo=$ac_try;; 8206 esac 8207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8208 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8209 ac_status=$? 8210 grep -v '^ *+' conftest.er1 >conftest.err 8211 rm -f conftest.er1 8212 cat conftest.err >&5 8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8214 (exit $ac_status); } >/dev/null && { 8215 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8216 test ! -s conftest.err 8217 }; then 8218 ac_header_preproc=yes 8219 else 8220 echo "$as_me: failed program was:" >&5 8221 sed 's/^/| /' conftest.$ac_ext >&5 8222 8223 ac_header_preproc=no 8224 fi 8225 8226 rm -f conftest.err conftest.$ac_ext 8227 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8228 echo "${ECHO_T}$ac_header_preproc" >&6; } 8229 8230 # So? What about this header? 8231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8232 yes:no: ) 8233 { echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 8234 echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8235 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 8236 echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 8237 ac_header_preproc=yes 8238 ;; 8239 no:yes:* ) 8240 { echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 8241 echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 8242 { echo "$as_me:$LINENO: WARNING: sys/time.h: check for missing prerequisite headers?" >&5 8243 echo "$as_me: WARNING: sys/time.h: check for missing prerequisite headers?" >&2;} 8244 { echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 8245 echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 8246 { echo "$as_me:$LINENO: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&5 8247 echo "$as_me: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&2;} 8248 { echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 8249 echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 8250 { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 8251 echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 8252 8253 ;; 8254 esac 8255 { echo "$as_me:$LINENO: checking for sys/time.h" >&5 8256 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6; } 8257 if test "${ac_cv_header_sys_time_h+set}" = set; then 8258 echo $ECHO_N "(cached) $ECHO_C" >&6 8259 else 8260 ac_cv_header_sys_time_h=$ac_header_preproc 8261 fi 8262 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 8263 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6; } 8264 8265 fi 8266 if test $ac_cv_header_sys_time_h = yes; then 8267 cat >>confdefs.h <<\_ACEOF 8268 #define PJ_HAS_SYS_TIME_H 1 8269 _ACEOF 8270 8271 fi 8272 8273 8274 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8275 { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 8276 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 8277 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8278 echo $ECHO_N "(cached) $ECHO_C" >&6 8279 fi 8280 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 8281 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 8282 else 8283 # Is the header compilable? 8284 { echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 8285 echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6; } 8286 cat >conftest.$ac_ext <<_ACEOF 8287 /* confdefs.h. */ 8288 _ACEOF 8289 cat confdefs.h >>conftest.$ac_ext 8290 cat >>conftest.$ac_ext <<_ACEOF 8291 /* end confdefs.h. */ 8292 $ac_includes_default 8293 #include <sys/timeb.h> 8294 _ACEOF 8295 rm -f conftest.$ac_objext 8296 if { (ac_try="$ac_compile" 8297 case "(($ac_try" in 8298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8299 *) ac_try_echo=$ac_try;; 8300 esac 8301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8302 (eval "$ac_compile") 2>conftest.er1 8303 ac_status=$? 8304 grep -v '^ *+' conftest.er1 >conftest.err 8305 rm -f conftest.er1 8306 cat conftest.err >&5 8307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8308 (exit $ac_status); } && { 8309 test -z "$ac_c_werror_flag" || 8310 test ! -s conftest.err 8311 } && test -s conftest.$ac_objext; then 8312 ac_header_compiler=yes 8313 else 8314 echo "$as_me: failed program was:" >&5 8315 sed 's/^/| /' conftest.$ac_ext >&5 8316 8317 ac_header_compiler=no 8318 fi 8319 8320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8321 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8322 echo "${ECHO_T}$ac_header_compiler" >&6; } 8323 8324 # Is the header present? 8325 { echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 8326 echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6; } 8327 cat >conftest.$ac_ext <<_ACEOF 8328 /* confdefs.h. */ 8329 _ACEOF 8330 cat confdefs.h >>conftest.$ac_ext 8331 cat >>conftest.$ac_ext <<_ACEOF 8332 /* end confdefs.h. */ 8333 #include <sys/timeb.h> 8334 _ACEOF 8335 if { (ac_try="$ac_cpp conftest.$ac_ext" 8336 case "(($ac_try" in 8337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8338 *) ac_try_echo=$ac_try;; 8339 esac 8340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8341 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8342 ac_status=$? 8343 grep -v '^ *+' conftest.er1 >conftest.err 8344 rm -f conftest.er1 8345 cat conftest.err >&5 8346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8347 (exit $ac_status); } >/dev/null && { 8348 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8349 test ! -s conftest.err 8350 }; then 8351 ac_header_preproc=yes 8352 else 8353 echo "$as_me: failed program was:" >&5 8354 sed 's/^/| /' conftest.$ac_ext >&5 8355 8356 ac_header_preproc=no 8357 fi 8358 8359 rm -f conftest.err conftest.$ac_ext 8360 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8361 echo "${ECHO_T}$ac_header_preproc" >&6; } 8362 8363 # So? What about this header? 8364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8365 yes:no: ) 8366 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 8367 echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8368 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 8369 echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 8370 ac_header_preproc=yes 8371 ;; 8372 no:yes:* ) 8373 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 8374 echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 8375 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&5 8376 echo "$as_me: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&2;} 8377 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 8378 echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 8379 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: section \"Present But Cannot Be Compiled\"" >&5 8380 echo "$as_me: WARNING: sys/timeb.h: section \"Present But Cannot Be Compiled\"" >&2;} 8381 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 8382 echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 8383 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 8384 echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 8385 8386 ;; 8387 esac 8388 { echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 8389 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6; } 8390 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8391 echo $ECHO_N "(cached) $ECHO_C" >&6 8392 else 8393 ac_cv_header_sys_timeb_h=$ac_header_preproc 8394 fi 8395 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 8396 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6; } 8397 8398 fi 8399 if test $ac_cv_header_sys_timeb_h = yes; then 8400 cat >>confdefs.h <<\_ACEOF 8401 #define PJ_HAS_SYS_TIMEB_H 1 8402 _ACEOF 8403 8404 fi 8405 8406 8407 if test "${ac_cv_header_sys_types_h+set}" = set; then 8408 { echo "$as_me:$LINENO: checking for sys/types.h" >&5 8409 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 8410 if test "${ac_cv_header_sys_types_h+set}" = set; then 8411 echo $ECHO_N "(cached) $ECHO_C" >&6 8412 fi 8413 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 8414 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 8415 else 8416 # Is the header compilable? 8417 { echo "$as_me:$LINENO: checking sys/types.h usability" >&5 8418 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6; } 8419 cat >conftest.$ac_ext <<_ACEOF 8420 /* confdefs.h. */ 8421 _ACEOF 8422 cat confdefs.h >>conftest.$ac_ext 8423 cat >>conftest.$ac_ext <<_ACEOF 8424 /* end confdefs.h. */ 8425 $ac_includes_default 8426 #include <sys/types.h> 8427 _ACEOF 8428 rm -f conftest.$ac_objext 8429 if { (ac_try="$ac_compile" 8430 case "(($ac_try" in 8431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8432 *) ac_try_echo=$ac_try;; 8433 esac 8434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8435 (eval "$ac_compile") 2>conftest.er1 8436 ac_status=$? 8437 grep -v '^ *+' conftest.er1 >conftest.err 8438 rm -f conftest.er1 8439 cat conftest.err >&5 8440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8441 (exit $ac_status); } && { 8442 test -z "$ac_c_werror_flag" || 8443 test ! -s conftest.err 8444 } && test -s conftest.$ac_objext; then 8445 ac_header_compiler=yes 8446 else 8447 echo "$as_me: failed program was:" >&5 8448 sed 's/^/| /' conftest.$ac_ext >&5 8449 8450 ac_header_compiler=no 8451 fi 8452 8453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8454 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8455 echo "${ECHO_T}$ac_header_compiler" >&6; } 8456 8457 # Is the header present? 8458 { echo "$as_me:$LINENO: checking sys/types.h presence" >&5 8459 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6; } 8460 cat >conftest.$ac_ext <<_ACEOF 8461 /* confdefs.h. */ 8462 _ACEOF 8463 cat confdefs.h >>conftest.$ac_ext 8464 cat >>conftest.$ac_ext <<_ACEOF 8465 /* end confdefs.h. */ 8466 #include <sys/types.h> 8467 _ACEOF 8468 if { (ac_try="$ac_cpp conftest.$ac_ext" 8469 case "(($ac_try" in 8470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8471 *) ac_try_echo=$ac_try;; 8472 esac 8473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8474 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8475 ac_status=$? 8476 grep -v '^ *+' conftest.er1 >conftest.err 8477 rm -f conftest.er1 8478 cat conftest.err >&5 8479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8480 (exit $ac_status); } >/dev/null && { 8481 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8482 test ! -s conftest.err 8483 }; then 8484 ac_header_preproc=yes 8485 else 8486 echo "$as_me: failed program was:" >&5 8487 sed 's/^/| /' conftest.$ac_ext >&5 8488 8489 ac_header_preproc=no 8490 fi 8491 8492 rm -f conftest.err conftest.$ac_ext 8493 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8494 echo "${ECHO_T}$ac_header_preproc" >&6; } 8495 8496 # So? What about this header? 8497 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8498 yes:no: ) 8499 { echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 8500 echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8501 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 8502 echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 8503 ac_header_preproc=yes 8504 ;; 8505 no:yes:* ) 8506 { echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 8507 echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 8508 { echo "$as_me:$LINENO: WARNING: sys/types.h: check for missing prerequisite headers?" >&5 8509 echo "$as_me: WARNING: sys/types.h: check for missing prerequisite headers?" >&2;} 8510 { echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 8511 echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 8512 { echo "$as_me:$LINENO: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&5 8513 echo "$as_me: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&2;} 8514 { echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 8515 echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 8516 { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 8517 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 8518 8519 ;; 8520 esac 8521 { echo "$as_me:$LINENO: checking for sys/types.h" >&5 8522 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6; } 8523 if test "${ac_cv_header_sys_types_h+set}" = set; then 8524 echo $ECHO_N "(cached) $ECHO_C" >&6 8525 else 8526 ac_cv_header_sys_types_h=$ac_header_preproc 8527 fi 8528 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 8529 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6; } 8530 8531 fi 8532 if test $ac_cv_header_sys_types_h = yes; then 8533 cat >>confdefs.h <<\_ACEOF 8534 #define PJ_HAS_SYS_TYPES_H 1 8535 _ACEOF 8536 8537 fi 8538 8539 8540 if test "${ac_cv_header_sys_filio_h+set}" = set; then 8541 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 8542 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 8543 if test "${ac_cv_header_sys_filio_h+set}" = set; then 8544 echo $ECHO_N "(cached) $ECHO_C" >&6 8545 fi 8546 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 8547 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 8548 else 8549 # Is the header compilable? 8550 { echo "$as_me:$LINENO: checking sys/filio.h usability" >&5 8551 echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6; } 8552 cat >conftest.$ac_ext <<_ACEOF 8553 /* confdefs.h. */ 8554 _ACEOF 8555 cat confdefs.h >>conftest.$ac_ext 8556 cat >>conftest.$ac_ext <<_ACEOF 8557 /* end confdefs.h. */ 8558 $ac_includes_default 8559 #include <sys/filio.h> 8560 _ACEOF 8561 rm -f conftest.$ac_objext 8562 if { (ac_try="$ac_compile" 8563 case "(($ac_try" in 8564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8565 *) ac_try_echo=$ac_try;; 8566 esac 8567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8568 (eval "$ac_compile") 2>conftest.er1 8569 ac_status=$? 8570 grep -v '^ *+' conftest.er1 >conftest.err 8571 rm -f conftest.er1 8572 cat conftest.err >&5 8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8574 (exit $ac_status); } && { 8575 test -z "$ac_c_werror_flag" || 8576 test ! -s conftest.err 8577 } && test -s conftest.$ac_objext; then 8578 ac_header_compiler=yes 8579 else 8580 echo "$as_me: failed program was:" >&5 8581 sed 's/^/| /' conftest.$ac_ext >&5 8582 8583 ac_header_compiler=no 8584 fi 8585 8586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8587 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8588 echo "${ECHO_T}$ac_header_compiler" >&6; } 8589 8590 # Is the header present? 8591 { echo "$as_me:$LINENO: checking sys/filio.h presence" >&5 8592 echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6; } 8593 cat >conftest.$ac_ext <<_ACEOF 8594 /* confdefs.h. */ 8595 _ACEOF 8596 cat confdefs.h >>conftest.$ac_ext 8597 cat >>conftest.$ac_ext <<_ACEOF 8598 /* end confdefs.h. */ 8599 #include <sys/filio.h> 8600 _ACEOF 8601 if { (ac_try="$ac_cpp conftest.$ac_ext" 8602 case "(($ac_try" in 8603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8604 *) ac_try_echo=$ac_try;; 8605 esac 8606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8608 ac_status=$? 8609 grep -v '^ *+' conftest.er1 >conftest.err 8610 rm -f conftest.er1 8611 cat conftest.err >&5 8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8613 (exit $ac_status); } >/dev/null && { 8614 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8615 test ! -s conftest.err 8616 }; then 8617 ac_header_preproc=yes 8618 else 8619 echo "$as_me: failed program was:" >&5 8620 sed 's/^/| /' conftest.$ac_ext >&5 8621 8622 ac_header_preproc=no 8623 fi 8624 8625 rm -f conftest.err conftest.$ac_ext 8626 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8627 echo "${ECHO_T}$ac_header_preproc" >&6; } 8628 8629 # So? What about this header? 8630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8631 yes:no: ) 8632 { echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5 8633 echo "$as_me: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8634 { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the compiler's result" >&5 8635 echo "$as_me: WARNING: sys/filio.h: proceeding with the compiler's result" >&2;} 8636 ac_header_preproc=yes 8637 ;; 8638 no:yes:* ) 8639 { echo "$as_me:$LINENO: WARNING: sys/filio.h: present but cannot be compiled" >&5 8640 echo "$as_me: WARNING: sys/filio.h: present but cannot be compiled" >&2;} 8641 { echo "$as_me:$LINENO: WARNING: sys/filio.h: check for missing prerequisite headers?" >&5 8642 echo "$as_me: WARNING: sys/filio.h: check for missing prerequisite headers?" >&2;} 8643 { echo "$as_me:$LINENO: WARNING: sys/filio.h: see the Autoconf documentation" >&5 8644 echo "$as_me: WARNING: sys/filio.h: see the Autoconf documentation" >&2;} 8645 { echo "$as_me:$LINENO: WARNING: sys/filio.h: section \"Present But Cannot Be Compiled\"" >&5 8646 echo "$as_me: WARNING: sys/filio.h: section \"Present But Cannot Be Compiled\"" >&2;} 8647 { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&5 8648 echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;} 8649 { echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5 8650 echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;} 8651 8652 ;; 8653 esac 8654 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5 8655 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; } 8656 if test "${ac_cv_header_sys_filio_h+set}" = set; then 8657 echo $ECHO_N "(cached) $ECHO_C" >&6 8658 else 8659 ac_cv_header_sys_filio_h=$ac_header_preproc 8660 fi 8661 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5 8662 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; } 8663 8664 fi 8665 if test $ac_cv_header_sys_filio_h = yes; then 8666 cat >>confdefs.h <<\_ACEOF 8667 #define PJ_HAS_SYS_FILIO_H 1 8668 _ACEOF 8669 8670 fi 8671 8672 8673 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 8674 { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 8675 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 8676 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 8677 echo $ECHO_N "(cached) $ECHO_C" >&6 8678 fi 8679 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 8680 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 8681 else 8682 # Is the header compilable? 8683 { echo "$as_me:$LINENO: checking sys/sockio.h usability" >&5 8684 echo $ECHO_N "checking sys/sockio.h usability... $ECHO_C" >&6; } 8685 cat >conftest.$ac_ext <<_ACEOF 8686 /* confdefs.h. */ 8687 _ACEOF 8688 cat confdefs.h >>conftest.$ac_ext 8689 cat >>conftest.$ac_ext <<_ACEOF 8690 /* end confdefs.h. */ 8691 $ac_includes_default 8692 #include <sys/sockio.h> 8693 _ACEOF 8694 rm -f conftest.$ac_objext 8695 if { (ac_try="$ac_compile" 8696 case "(($ac_try" in 8697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8698 *) ac_try_echo=$ac_try;; 8699 esac 8700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8701 (eval "$ac_compile") 2>conftest.er1 8702 ac_status=$? 8703 grep -v '^ *+' conftest.er1 >conftest.err 8704 rm -f conftest.er1 8705 cat conftest.err >&5 8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8707 (exit $ac_status); } && { 8708 test -z "$ac_c_werror_flag" || 8709 test ! -s conftest.err 8710 } && test -s conftest.$ac_objext; then 8711 ac_header_compiler=yes 8712 else 8713 echo "$as_me: failed program was:" >&5 8714 sed 's/^/| /' conftest.$ac_ext >&5 8715 8716 ac_header_compiler=no 8717 fi 8718 8719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8720 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8721 echo "${ECHO_T}$ac_header_compiler" >&6; } 8722 8723 # Is the header present? 8724 { echo "$as_me:$LINENO: checking sys/sockio.h presence" >&5 8725 echo $ECHO_N "checking sys/sockio.h presence... $ECHO_C" >&6; } 8726 cat >conftest.$ac_ext <<_ACEOF 8727 /* confdefs.h. */ 8728 _ACEOF 8729 cat confdefs.h >>conftest.$ac_ext 8730 cat >>conftest.$ac_ext <<_ACEOF 8731 /* end confdefs.h. */ 8732 #include <sys/sockio.h> 8733 _ACEOF 8734 if { (ac_try="$ac_cpp conftest.$ac_ext" 8735 case "(($ac_try" in 8736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8737 *) ac_try_echo=$ac_try;; 8738 esac 8739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8741 ac_status=$? 8742 grep -v '^ *+' conftest.er1 >conftest.err 8743 rm -f conftest.er1 8744 cat conftest.err >&5 8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8746 (exit $ac_status); } >/dev/null && { 8747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8748 test ! -s conftest.err 8749 }; then 8750 ac_header_preproc=yes 8751 else 8752 echo "$as_me: failed program was:" >&5 8753 sed 's/^/| /' conftest.$ac_ext >&5 8754 8755 ac_header_preproc=no 8756 fi 8757 8758 rm -f conftest.err conftest.$ac_ext 8759 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8760 echo "${ECHO_T}$ac_header_preproc" >&6; } 8761 8762 # So? What about this header? 8763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8764 yes:no: ) 8765 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&5 8766 echo "$as_me: WARNING: sys/sockio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8767 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the compiler's result" >&5 8768 echo "$as_me: WARNING: sys/sockio.h: proceeding with the compiler's result" >&2;} 8769 ac_header_preproc=yes 8770 ;; 8771 no:yes:* ) 8772 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: present but cannot be compiled" >&5 8773 echo "$as_me: WARNING: sys/sockio.h: present but cannot be compiled" >&2;} 8774 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: check for missing prerequisite headers?" >&5 8775 echo "$as_me: WARNING: sys/sockio.h: check for missing prerequisite headers?" >&2;} 8776 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: see the Autoconf documentation" >&5 8777 echo "$as_me: WARNING: sys/sockio.h: see the Autoconf documentation" >&2;} 8778 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: section \"Present But Cannot Be Compiled\"" >&5 8779 echo "$as_me: WARNING: sys/sockio.h: section \"Present But Cannot Be Compiled\"" >&2;} 8780 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&5 8781 echo "$as_me: WARNING: sys/sockio.h: proceeding with the preprocessor's result" >&2;} 8782 { echo "$as_me:$LINENO: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&5 8783 echo "$as_me: WARNING: sys/sockio.h: in the future, the compiler will take precedence" >&2;} 8784 8785 ;; 8786 esac 8787 { echo "$as_me:$LINENO: checking for sys/sockio.h" >&5 8788 echo $ECHO_N "checking for sys/sockio.h... $ECHO_C" >&6; } 8789 if test "${ac_cv_header_sys_sockio_h+set}" = set; then 8790 echo $ECHO_N "(cached) $ECHO_C" >&6 8791 else 8792 ac_cv_header_sys_sockio_h=$ac_header_preproc 8793 fi 8794 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_sockio_h" >&5 8795 echo "${ECHO_T}$ac_cv_header_sys_sockio_h" >&6; } 8796 8797 fi 8798 if test $ac_cv_header_sys_sockio_h = yes; then 8799 cat >>confdefs.h <<\_ACEOF 8800 #define PJ_HAS_SYS_SOCKIO_H 1 8801 _ACEOF 8802 8803 fi 8804 8805 8806 if test "${ac_cv_header_time_h+set}" = set; then 8807 { echo "$as_me:$LINENO: checking for time.h" >&5 8808 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 8809 if test "${ac_cv_header_time_h+set}" = set; then 8810 echo $ECHO_N "(cached) $ECHO_C" >&6 8811 fi 8812 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 8813 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 8814 else 8815 # Is the header compilable? 8816 { echo "$as_me:$LINENO: checking time.h usability" >&5 8817 echo $ECHO_N "checking time.h usability... $ECHO_C" >&6; } 8818 cat >conftest.$ac_ext <<_ACEOF 8819 /* confdefs.h. */ 8820 _ACEOF 8821 cat confdefs.h >>conftest.$ac_ext 8822 cat >>conftest.$ac_ext <<_ACEOF 8823 /* end confdefs.h. */ 8824 $ac_includes_default 8825 #include <time.h> 8826 _ACEOF 8827 rm -f conftest.$ac_objext 8828 if { (ac_try="$ac_compile" 8829 case "(($ac_try" in 8830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8831 *) ac_try_echo=$ac_try;; 8832 esac 8833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8834 (eval "$ac_compile") 2>conftest.er1 8835 ac_status=$? 8836 grep -v '^ *+' conftest.er1 >conftest.err 8837 rm -f conftest.er1 8838 cat conftest.err >&5 8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8840 (exit $ac_status); } && { 8841 test -z "$ac_c_werror_flag" || 8842 test ! -s conftest.err 8843 } && test -s conftest.$ac_objext; then 8844 ac_header_compiler=yes 8845 else 8846 echo "$as_me: failed program was:" >&5 8847 sed 's/^/| /' conftest.$ac_ext >&5 8848 8849 ac_header_compiler=no 8850 fi 8851 8852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8853 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8854 echo "${ECHO_T}$ac_header_compiler" >&6; } 8855 8856 # Is the header present? 8857 { echo "$as_me:$LINENO: checking time.h presence" >&5 8858 echo $ECHO_N "checking time.h presence... $ECHO_C" >&6; } 8859 cat >conftest.$ac_ext <<_ACEOF 8860 /* confdefs.h. */ 8861 _ACEOF 8862 cat confdefs.h >>conftest.$ac_ext 8863 cat >>conftest.$ac_ext <<_ACEOF 8864 /* end confdefs.h. */ 8865 #include <time.h> 8866 _ACEOF 8867 if { (ac_try="$ac_cpp conftest.$ac_ext" 8868 case "(($ac_try" in 8869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8870 *) ac_try_echo=$ac_try;; 8871 esac 8872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8874 ac_status=$? 8875 grep -v '^ *+' conftest.er1 >conftest.err 8876 rm -f conftest.er1 8877 cat conftest.err >&5 8878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8879 (exit $ac_status); } >/dev/null && { 8880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8881 test ! -s conftest.err 8882 }; then 8883 ac_header_preproc=yes 8884 else 8885 echo "$as_me: failed program was:" >&5 8886 sed 's/^/| /' conftest.$ac_ext >&5 8887 8888 ac_header_preproc=no 8889 fi 8890 8891 rm -f conftest.err conftest.$ac_ext 8892 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8893 echo "${ECHO_T}$ac_header_preproc" >&6; } 8894 8895 # So? What about this header? 8896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8897 yes:no: ) 8898 { echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 8899 echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8900 { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 8901 echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 8902 ac_header_preproc=yes 8903 ;; 8904 no:yes:* ) 8905 { echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 8906 echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 8907 { echo "$as_me:$LINENO: WARNING: time.h: check for missing prerequisite headers?" >&5 8908 echo "$as_me: WARNING: time.h: check for missing prerequisite headers?" >&2;} 8909 { echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 8910 echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 8911 { echo "$as_me:$LINENO: WARNING: time.h: section \"Present But Cannot Be Compiled\"" >&5 8912 echo "$as_me: WARNING: time.h: section \"Present But Cannot Be Compiled\"" >&2;} 8913 { echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 8914 echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 8915 { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 8916 echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 8917 8918 ;; 8919 esac 8920 { echo "$as_me:$LINENO: checking for time.h" >&5 8921 echo $ECHO_N "checking for time.h... $ECHO_C" >&6; } 8922 if test "${ac_cv_header_time_h+set}" = set; then 8923 echo $ECHO_N "(cached) $ECHO_C" >&6 8924 else 8925 ac_cv_header_time_h=$ac_header_preproc 8926 fi 8927 { echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 8928 echo "${ECHO_T}$ac_cv_header_time_h" >&6; } 8929 8930 fi 8931 if test $ac_cv_header_time_h = yes; then 8932 cat >>confdefs.h <<\_ACEOF 8933 #define PJ_HAS_TIME_H 1 8934 _ACEOF 8935 8936 fi 8937 8938 8939 if test "${ac_cv_header_unistd_h+set}" = set; then 8940 { echo "$as_me:$LINENO: checking for unistd.h" >&5 8941 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 8942 if test "${ac_cv_header_unistd_h+set}" = set; then 8943 echo $ECHO_N "(cached) $ECHO_C" >&6 8944 fi 8945 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 8946 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 8947 else 8948 # Is the header compilable? 8949 { echo "$as_me:$LINENO: checking unistd.h usability" >&5 8950 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6; } 8951 cat >conftest.$ac_ext <<_ACEOF 8952 /* confdefs.h. */ 8953 _ACEOF 8954 cat confdefs.h >>conftest.$ac_ext 8955 cat >>conftest.$ac_ext <<_ACEOF 8956 /* end confdefs.h. */ 8957 $ac_includes_default 8958 #include <unistd.h> 8959 _ACEOF 8960 rm -f conftest.$ac_objext 8961 if { (ac_try="$ac_compile" 8962 case "(($ac_try" in 8963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8964 *) ac_try_echo=$ac_try;; 8965 esac 8966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8967 (eval "$ac_compile") 2>conftest.er1 8968 ac_status=$? 8969 grep -v '^ *+' conftest.er1 >conftest.err 8970 rm -f conftest.er1 8971 cat conftest.err >&5 8972 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8973 (exit $ac_status); } && { 8974 test -z "$ac_c_werror_flag" || 8975 test ! -s conftest.err 8976 } && test -s conftest.$ac_objext; then 8977 ac_header_compiler=yes 8978 else 8979 echo "$as_me: failed program was:" >&5 8980 sed 's/^/| /' conftest.$ac_ext >&5 8981 8982 ac_header_compiler=no 8983 fi 8984 8985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8986 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8987 echo "${ECHO_T}$ac_header_compiler" >&6; } 8988 8989 # Is the header present? 8990 { echo "$as_me:$LINENO: checking unistd.h presence" >&5 8991 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6; } 8992 cat >conftest.$ac_ext <<_ACEOF 8993 /* confdefs.h. */ 8994 _ACEOF 8995 cat confdefs.h >>conftest.$ac_ext 8996 cat >>conftest.$ac_ext <<_ACEOF 8997 /* end confdefs.h. */ 8998 #include <unistd.h> 8999 _ACEOF 9000 if { (ac_try="$ac_cpp conftest.$ac_ext" 9001 case "(($ac_try" in 9002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9003 *) ac_try_echo=$ac_try;; 9004 esac 9005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9007 ac_status=$? 9008 grep -v '^ *+' conftest.er1 >conftest.err 9009 rm -f conftest.er1 9010 cat conftest.err >&5 9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9012 (exit $ac_status); } >/dev/null && { 9013 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9014 test ! -s conftest.err 9015 }; then 9016 ac_header_preproc=yes 9017 else 9018 echo "$as_me: failed program was:" >&5 9019 sed 's/^/| /' conftest.$ac_ext >&5 9020 9021 ac_header_preproc=no 9022 fi 9023 9024 rm -f conftest.err conftest.$ac_ext 9025 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9026 echo "${ECHO_T}$ac_header_preproc" >&6; } 9027 9028 # So? What about this header? 9029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9030 yes:no: ) 9031 { echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 9032 echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9033 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 9034 echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 9035 ac_header_preproc=yes 9036 ;; 9037 no:yes:* ) 9038 { echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 9039 echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 9040 { echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5 9041 echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;} 9042 { echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 9043 echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 9044 { echo "$as_me:$LINENO: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&5 9045 echo "$as_me: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&2;} 9046 { echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 9047 echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 9048 { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 9049 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 9050 9051 ;; 9052 esac 9053 { echo "$as_me:$LINENO: checking for unistd.h" >&5 9054 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6; } 9055 if test "${ac_cv_header_unistd_h+set}" = set; then 9056 echo $ECHO_N "(cached) $ECHO_C" >&6 9057 else 9058 ac_cv_header_unistd_h=$ac_header_preproc 9059 fi 9060 { echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 9061 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6; } 9062 9063 fi 9064 if test $ac_cv_header_unistd_h = yes; then 9065 cat >>confdefs.h <<\_ACEOF 9066 #define PJ_HAS_UNISTD_H 1 9067 _ACEOF 9068 9069 fi 9070 9071 9072 if test "${ac_cv_header_winsock_h+set}" = set; then 9073 { echo "$as_me:$LINENO: checking for winsock.h" >&5 9074 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 9075 if test "${ac_cv_header_winsock_h+set}" = set; then 9076 echo $ECHO_N "(cached) $ECHO_C" >&6 9077 fi 9078 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 9079 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 9080 else 9081 # Is the header compilable? 9082 { echo "$as_me:$LINENO: checking winsock.h usability" >&5 9083 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6; } 9084 cat >conftest.$ac_ext <<_ACEOF 9085 /* confdefs.h. */ 9086 _ACEOF 9087 cat confdefs.h >>conftest.$ac_ext 9088 cat >>conftest.$ac_ext <<_ACEOF 9089 /* end confdefs.h. */ 9090 $ac_includes_default 9091 #include <winsock.h> 9092 _ACEOF 9093 rm -f conftest.$ac_objext 9094 if { (ac_try="$ac_compile" 9095 case "(($ac_try" in 9096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9097 *) ac_try_echo=$ac_try;; 9098 esac 9099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9100 (eval "$ac_compile") 2>conftest.er1 9101 ac_status=$? 9102 grep -v '^ *+' conftest.er1 >conftest.err 9103 rm -f conftest.er1 9104 cat conftest.err >&5 9105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9106 (exit $ac_status); } && { 9107 test -z "$ac_c_werror_flag" || 9108 test ! -s conftest.err 9109 } && test -s conftest.$ac_objext; then 9110 ac_header_compiler=yes 9111 else 9112 echo "$as_me: failed program was:" >&5 9113 sed 's/^/| /' conftest.$ac_ext >&5 9114 9115 ac_header_compiler=no 9116 fi 9117 9118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9119 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9120 echo "${ECHO_T}$ac_header_compiler" >&6; } 9121 9122 # Is the header present? 9123 { echo "$as_me:$LINENO: checking winsock.h presence" >&5 9124 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6; } 9125 cat >conftest.$ac_ext <<_ACEOF 9126 /* confdefs.h. */ 9127 _ACEOF 9128 cat confdefs.h >>conftest.$ac_ext 9129 cat >>conftest.$ac_ext <<_ACEOF 9130 /* end confdefs.h. */ 9131 #include <winsock.h> 9132 _ACEOF 9133 if { (ac_try="$ac_cpp conftest.$ac_ext" 9134 case "(($ac_try" in 9135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9136 *) ac_try_echo=$ac_try;; 9137 esac 9138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9139 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9140 ac_status=$? 9141 grep -v '^ *+' conftest.er1 >conftest.err 9142 rm -f conftest.er1 9143 cat conftest.err >&5 9144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9145 (exit $ac_status); } >/dev/null && { 9146 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9147 test ! -s conftest.err 9148 }; then 9149 ac_header_preproc=yes 9150 else 9151 echo "$as_me: failed program was:" >&5 9152 sed 's/^/| /' conftest.$ac_ext >&5 9153 9154 ac_header_preproc=no 9155 fi 9156 9157 rm -f conftest.err conftest.$ac_ext 9158 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9159 echo "${ECHO_T}$ac_header_preproc" >&6; } 9160 9161 # So? What about this header? 9162 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9163 yes:no: ) 9164 { echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 9165 echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9166 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 9167 echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 9168 ac_header_preproc=yes 9169 ;; 9170 no:yes:* ) 9171 { echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 9172 echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 9173 { echo "$as_me:$LINENO: WARNING: winsock.h: check for missing prerequisite headers?" >&5 9174 echo "$as_me: WARNING: winsock.h: check for missing prerequisite headers?" >&2;} 9175 { echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 9176 echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 9177 { echo "$as_me:$LINENO: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&5 9178 echo "$as_me: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&2;} 9179 { echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 9180 echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 9181 { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 9182 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 9183 9184 ;; 9185 esac 9186 { echo "$as_me:$LINENO: checking for winsock.h" >&5 9187 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6; } 9188 if test "${ac_cv_header_winsock_h+set}" = set; then 9189 echo $ECHO_N "(cached) $ECHO_C" >&6 9190 else 9191 ac_cv_header_winsock_h=$ac_header_preproc 9192 fi 9193 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 9194 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6; } 9195 9196 fi 9197 if test $ac_cv_header_winsock_h = yes; then 9198 cat >>confdefs.h <<\_ACEOF 9199 #define PJ_HAS_WINSOCK_H 1 9200 _ACEOF 9201 9202 fi 9203 9204 9205 if test "${ac_cv_header_winsock2_h+set}" = set; then 9206 { echo "$as_me:$LINENO: checking for winsock2.h" >&5 9207 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 9208 if test "${ac_cv_header_winsock2_h+set}" = set; then 9209 echo $ECHO_N "(cached) $ECHO_C" >&6 9210 fi 9211 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 9212 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 9213 else 9214 # Is the header compilable? 9215 { echo "$as_me:$LINENO: checking winsock2.h usability" >&5 9216 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6; } 9217 cat >conftest.$ac_ext <<_ACEOF 9218 /* confdefs.h. */ 9219 _ACEOF 9220 cat confdefs.h >>conftest.$ac_ext 9221 cat >>conftest.$ac_ext <<_ACEOF 9222 /* end confdefs.h. */ 9223 $ac_includes_default 9224 #include <winsock2.h> 9225 _ACEOF 9226 rm -f conftest.$ac_objext 9227 if { (ac_try="$ac_compile" 9228 case "(($ac_try" in 9229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9230 *) ac_try_echo=$ac_try;; 9231 esac 9232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9233 (eval "$ac_compile") 2>conftest.er1 9234 ac_status=$? 9235 grep -v '^ *+' conftest.er1 >conftest.err 9236 rm -f conftest.er1 9237 cat conftest.err >&5 9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9239 (exit $ac_status); } && { 9240 test -z "$ac_c_werror_flag" || 9241 test ! -s conftest.err 9242 } && test -s conftest.$ac_objext; then 9243 ac_header_compiler=yes 9244 else 9245 echo "$as_me: failed program was:" >&5 9246 sed 's/^/| /' conftest.$ac_ext >&5 9247 9248 ac_header_compiler=no 9249 fi 9250 9251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9252 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9253 echo "${ECHO_T}$ac_header_compiler" >&6; } 9254 9255 # Is the header present? 9256 { echo "$as_me:$LINENO: checking winsock2.h presence" >&5 9257 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6; } 9258 cat >conftest.$ac_ext <<_ACEOF 9259 /* confdefs.h. */ 9260 _ACEOF 9261 cat confdefs.h >>conftest.$ac_ext 9262 cat >>conftest.$ac_ext <<_ACEOF 9263 /* end confdefs.h. */ 9264 #include <winsock2.h> 9265 _ACEOF 9266 if { (ac_try="$ac_cpp conftest.$ac_ext" 9267 case "(($ac_try" in 9268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9269 *) ac_try_echo=$ac_try;; 9270 esac 9271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9272 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9273 ac_status=$? 9274 grep -v '^ *+' conftest.er1 >conftest.err 9275 rm -f conftest.er1 9276 cat conftest.err >&5 9277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9278 (exit $ac_status); } >/dev/null && { 9279 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9280 test ! -s conftest.err 9281 }; then 9282 ac_header_preproc=yes 9283 else 9284 echo "$as_me: failed program was:" >&5 9285 sed 's/^/| /' conftest.$ac_ext >&5 9286 9287 ac_header_preproc=no 9288 fi 9289 9290 rm -f conftest.err conftest.$ac_ext 9291 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9292 echo "${ECHO_T}$ac_header_preproc" >&6; } 9293 9294 # So? What about this header? 9295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9296 yes:no: ) 9297 { echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 9298 echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9299 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 9300 echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 9301 ac_header_preproc=yes 9302 ;; 9303 no:yes:* ) 9304 { echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 9305 echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 9306 { echo "$as_me:$LINENO: WARNING: winsock2.h: check for missing prerequisite headers?" >&5 9307 echo "$as_me: WARNING: winsock2.h: check for missing prerequisite headers?" >&2;} 9308 { echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 9309 echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 9310 { echo "$as_me:$LINENO: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&5 9311 echo "$as_me: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&2;} 9312 { echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 9313 echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 9314 { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 9315 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 9316 9317 ;; 9318 esac 9319 { echo "$as_me:$LINENO: checking for winsock2.h" >&5 9320 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6; } 9321 if test "${ac_cv_header_winsock2_h+set}" = set; then 9322 echo $ECHO_N "(cached) $ECHO_C" >&6 9323 else 9324 ac_cv_header_winsock2_h=$ac_header_preproc 9325 fi 9326 { echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 9327 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6; } 9328 9329 fi 9330 if test $ac_cv_header_winsock2_h = yes; then 9331 cat >>confdefs.h <<\_ACEOF 9332 #define PJ_HAS_WINSOCK2_H 1 9333 _ACEOF 9334 9335 fi 9336 9337 9338 { echo "$as_me:$LINENO: checking for mswsock.h" >&5 9339 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6; } 9340 if test "${ac_cv_header_mswsock_h+set}" = set; then 9341 echo $ECHO_N "(cached) $ECHO_C" >&6 9342 else 9343 cat >conftest.$ac_ext <<_ACEOF 9344 /* confdefs.h. */ 9345 _ACEOF 9346 cat confdefs.h >>conftest.$ac_ext 9347 cat >>conftest.$ac_ext <<_ACEOF 9348 /* end confdefs.h. */ 9349 #if PJ_HAS_WINSOCK2_H 4621 " 4622 if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 4623 $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 4624 4625 fi 4626 4627 4628 ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 4629 if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 4630 $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 4631 4632 fi 4633 4634 4635 ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 4636 if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 4637 $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 4638 4639 fi 4640 4641 4642 ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 4643 if test "x$ac_cv_header_semaphore_h" = x""yes; then : 4644 $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 4645 4646 fi 4647 4648 4649 ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 4650 if test "x$ac_cv_header_setjmp_h" = x""yes; then : 4651 $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 4652 4653 fi 4654 4655 4656 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 4657 if test "x$ac_cv_header_stdarg_h" = x""yes; then : 4658 $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 4659 4660 fi 4661 4662 4663 ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 4664 if test "x$ac_cv_header_stddef_h" = x""yes; then : 4665 $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 4666 4667 fi 4668 4669 4670 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 4671 if test "x$ac_cv_header_stdio_h" = x""yes; then : 4672 $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 4673 4674 fi 4675 4676 4677 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 4678 if test "x$ac_cv_header_stdint_h" = x""yes; then : 4679 $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 4680 4681 fi 4682 4683 4684 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 4685 if test "x$ac_cv_header_stdlib_h" = x""yes; then : 4686 $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 4687 4688 fi 4689 4690 4691 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 4692 if test "x$ac_cv_header_string_h" = x""yes; then : 4693 $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 4694 4695 fi 4696 4697 4698 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 4699 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 4700 $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 4701 4702 fi 4703 4704 4705 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 4706 if test "x$ac_cv_header_sys_select_h" = x""yes; then : 4707 $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 4708 4709 fi 4710 4711 4712 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 4713 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 4714 $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 4715 4716 fi 4717 4718 4719 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 4720 if test "x$ac_cv_header_sys_time_h" = x""yes; then : 4721 $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 4722 4723 fi 4724 4725 4726 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 4727 if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 4728 $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 4729 4730 fi 4731 4732 4733 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 4734 if test "x$ac_cv_header_sys_types_h" = x""yes; then : 4735 $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 4736 4737 fi 4738 4739 4740 ac_fn_c_check_header_mongrel "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default" 4741 if test "x$ac_cv_header_sys_filio_h" = x""yes; then : 4742 $as_echo "#define PJ_HAS_SYS_FILIO_H 1" >>confdefs.h 4743 4744 fi 4745 4746 4747 ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default" 4748 if test "x$ac_cv_header_sys_sockio_h" = x""yes; then : 4749 $as_echo "#define PJ_HAS_SYS_SOCKIO_H 1" >>confdefs.h 4750 4751 fi 4752 4753 4754 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 4755 if test "x$ac_cv_header_time_h" = x""yes; then : 4756 $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 4757 4758 fi 4759 4760 4761 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 4762 if test "x$ac_cv_header_unistd_h" = x""yes; then : 4763 $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 4764 4765 fi 4766 4767 4768 ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 4769 if test "x$ac_cv_header_winsock_h" = x""yes; then : 4770 $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 4771 4772 fi 4773 4774 4775 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 4776 if test "x$ac_cv_header_winsock2_h" = x""yes; then : 4777 $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 4778 4779 fi 4780 4781 4782 ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H 9350 4783 # include <winsock2.h> 9351 4784 #elif PJ_HAS_WINSOCK_H … … 9353 4786 #endif 9354 4787 9355 9356 #include <mswsock.h> 9357 _ACEOF 9358 rm -f conftest.$ac_objext 9359 if { (ac_try="$ac_compile" 9360 case "(($ac_try" in 9361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9362 *) ac_try_echo=$ac_try;; 9363 esac 9364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9365 (eval "$ac_compile") 2>conftest.er1 9366 ac_status=$? 9367 grep -v '^ *+' conftest.er1 >conftest.err 9368 rm -f conftest.er1 9369 cat conftest.err >&5 9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9371 (exit $ac_status); } && { 9372 test -z "$ac_c_werror_flag" || 9373 test ! -s conftest.err 9374 } && test -s conftest.$ac_objext; then 9375 ac_cv_header_mswsock_h=yes 9376 else 9377 echo "$as_me: failed program was:" >&5 9378 sed 's/^/| /' conftest.$ac_ext >&5 9379 9380 ac_cv_header_mswsock_h=no 9381 fi 9382 9383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9384 fi 9385 { echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 9386 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6; } 9387 if test $ac_cv_header_mswsock_h = yes; then 9388 cat >>confdefs.h <<\_ACEOF 9389 #define PJ_HAS_MSWSOCK_H 1 9390 _ACEOF 9391 9392 fi 9393 9394 9395 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9396 { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 9397 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 9398 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9399 echo $ECHO_N "(cached) $ECHO_C" >&6 9400 fi 9401 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 9402 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 9403 else 9404 # Is the header compilable? 9405 { echo "$as_me:$LINENO: checking ws2tcpip.h usability" >&5 9406 echo $ECHO_N "checking ws2tcpip.h usability... $ECHO_C" >&6; } 9407 cat >conftest.$ac_ext <<_ACEOF 9408 /* confdefs.h. */ 9409 _ACEOF 9410 cat confdefs.h >>conftest.$ac_ext 9411 cat >>conftest.$ac_ext <<_ACEOF 9412 /* end confdefs.h. */ 9413 $ac_includes_default 9414 #include <ws2tcpip.h> 9415 _ACEOF 9416 rm -f conftest.$ac_objext 9417 if { (ac_try="$ac_compile" 9418 case "(($ac_try" in 9419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9420 *) ac_try_echo=$ac_try;; 9421 esac 9422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9423 (eval "$ac_compile") 2>conftest.er1 9424 ac_status=$? 9425 grep -v '^ *+' conftest.er1 >conftest.err 9426 rm -f conftest.er1 9427 cat conftest.err >&5 9428 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9429 (exit $ac_status); } && { 9430 test -z "$ac_c_werror_flag" || 9431 test ! -s conftest.err 9432 } && test -s conftest.$ac_objext; then 9433 ac_header_compiler=yes 9434 else 9435 echo "$as_me: failed program was:" >&5 9436 sed 's/^/| /' conftest.$ac_ext >&5 9437 9438 ac_header_compiler=no 9439 fi 9440 9441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9442 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9443 echo "${ECHO_T}$ac_header_compiler" >&6; } 9444 9445 # Is the header present? 9446 { echo "$as_me:$LINENO: checking ws2tcpip.h presence" >&5 9447 echo $ECHO_N "checking ws2tcpip.h presence... $ECHO_C" >&6; } 9448 cat >conftest.$ac_ext <<_ACEOF 9449 /* confdefs.h. */ 9450 _ACEOF 9451 cat confdefs.h >>conftest.$ac_ext 9452 cat >>conftest.$ac_ext <<_ACEOF 9453 /* end confdefs.h. */ 9454 #include <ws2tcpip.h> 9455 _ACEOF 9456 if { (ac_try="$ac_cpp conftest.$ac_ext" 9457 case "(($ac_try" in 9458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9459 *) ac_try_echo=$ac_try;; 9460 esac 9461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9462 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9463 ac_status=$? 9464 grep -v '^ *+' conftest.er1 >conftest.err 9465 rm -f conftest.er1 9466 cat conftest.err >&5 9467 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9468 (exit $ac_status); } >/dev/null && { 9469 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9470 test ! -s conftest.err 9471 }; then 9472 ac_header_preproc=yes 9473 else 9474 echo "$as_me: failed program was:" >&5 9475 sed 's/^/| /' conftest.$ac_ext >&5 9476 9477 ac_header_preproc=no 9478 fi 9479 9480 rm -f conftest.err conftest.$ac_ext 9481 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9482 echo "${ECHO_T}$ac_header_preproc" >&6; } 9483 9484 # So? What about this header? 9485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9486 yes:no: ) 9487 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&5 9488 echo "$as_me: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9489 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&5 9490 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&2;} 9491 ac_header_preproc=yes 9492 ;; 9493 no:yes:* ) 9494 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: present but cannot be compiled" >&5 9495 echo "$as_me: WARNING: ws2tcpip.h: present but cannot be compiled" >&2;} 9496 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: check for missing prerequisite headers?" >&5 9497 echo "$as_me: WARNING: ws2tcpip.h: check for missing prerequisite headers?" >&2;} 9498 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: see the Autoconf documentation" >&5 9499 echo "$as_me: WARNING: ws2tcpip.h: see the Autoconf documentation" >&2;} 9500 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: section \"Present But Cannot Be Compiled\"" >&5 9501 echo "$as_me: WARNING: ws2tcpip.h: section \"Present But Cannot Be Compiled\"" >&2;} 9502 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&5 9503 echo "$as_me: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&2;} 9504 { echo "$as_me:$LINENO: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&5 9505 echo "$as_me: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&2;} 9506 9507 ;; 9508 esac 9509 { echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 9510 echo $ECHO_N "checking for ws2tcpip.h... $ECHO_C" >&6; } 9511 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9512 echo $ECHO_N "(cached) $ECHO_C" >&6 9513 else 9514 ac_cv_header_ws2tcpip_h=$ac_header_preproc 9515 fi 9516 { echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 9517 echo "${ECHO_T}$ac_cv_header_ws2tcpip_h" >&6; } 9518 9519 fi 9520 if test $ac_cv_header_ws2tcpip_h = yes; then 9521 cat >>confdefs.h <<\_ACEOF 9522 #define PJ_HAS_WS2TCPIP_H 1 9523 _ACEOF 9524 9525 fi 9526 9527 9528 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 9529 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 9530 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 9531 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 9532 echo $ECHO_N "(cached) $ECHO_C" >&6 9533 fi 9534 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 9535 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 9536 else 9537 # Is the header compilable? 9538 { echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5 9539 echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6; } 9540 cat >conftest.$ac_ext <<_ACEOF 9541 /* confdefs.h. */ 9542 _ACEOF 9543 cat confdefs.h >>conftest.$ac_ext 9544 cat >>conftest.$ac_ext <<_ACEOF 9545 /* end confdefs.h. */ 9546 $ac_includes_default 9547 #include <uuid/uuid.h> 9548 _ACEOF 9549 rm -f conftest.$ac_objext 9550 if { (ac_try="$ac_compile" 9551 case "(($ac_try" in 9552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9553 *) ac_try_echo=$ac_try;; 9554 esac 9555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9556 (eval "$ac_compile") 2>conftest.er1 9557 ac_status=$? 9558 grep -v '^ *+' conftest.er1 >conftest.err 9559 rm -f conftest.er1 9560 cat conftest.err >&5 9561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9562 (exit $ac_status); } && { 9563 test -z "$ac_c_werror_flag" || 9564 test ! -s conftest.err 9565 } && test -s conftest.$ac_objext; then 9566 ac_header_compiler=yes 9567 else 9568 echo "$as_me: failed program was:" >&5 9569 sed 's/^/| /' conftest.$ac_ext >&5 9570 9571 ac_header_compiler=no 9572 fi 9573 9574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9575 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9576 echo "${ECHO_T}$ac_header_compiler" >&6; } 9577 9578 # Is the header present? 9579 { echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5 9580 echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6; } 9581 cat >conftest.$ac_ext <<_ACEOF 9582 /* confdefs.h. */ 9583 _ACEOF 9584 cat confdefs.h >>conftest.$ac_ext 9585 cat >>conftest.$ac_ext <<_ACEOF 9586 /* end confdefs.h. */ 9587 #include <uuid/uuid.h> 9588 _ACEOF 9589 if { (ac_try="$ac_cpp conftest.$ac_ext" 9590 case "(($ac_try" in 9591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9592 *) ac_try_echo=$ac_try;; 9593 esac 9594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9595 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9596 ac_status=$? 9597 grep -v '^ *+' conftest.er1 >conftest.err 9598 rm -f conftest.er1 9599 cat conftest.err >&5 9600 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9601 (exit $ac_status); } >/dev/null && { 9602 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9603 test ! -s conftest.err 9604 }; then 9605 ac_header_preproc=yes 9606 else 9607 echo "$as_me: failed program was:" >&5 9608 sed 's/^/| /' conftest.$ac_ext >&5 9609 9610 ac_header_preproc=no 9611 fi 9612 9613 rm -f conftest.err conftest.$ac_ext 9614 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9615 echo "${ECHO_T}$ac_header_preproc" >&6; } 9616 9617 # So? What about this header? 9618 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9619 yes:no: ) 9620 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5 9621 echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9622 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5 9623 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;} 9624 ac_header_preproc=yes 9625 ;; 9626 no:yes:* ) 9627 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5 9628 echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;} 9629 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: check for missing prerequisite headers?" >&5 9630 echo "$as_me: WARNING: uuid/uuid.h: check for missing prerequisite headers?" >&2;} 9631 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5 9632 echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;} 9633 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: section \"Present But Cannot Be Compiled\"" >&5 9634 echo "$as_me: WARNING: uuid/uuid.h: section \"Present But Cannot Be Compiled\"" >&2;} 9635 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5 9636 echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;} 9637 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5 9638 echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;} 9639 9640 ;; 9641 esac 9642 { echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 9643 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6; } 9644 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 9645 echo $ECHO_N "(cached) $ECHO_C" >&6 9646 else 9647 ac_cv_header_uuid_uuid_h=$ac_header_preproc 9648 fi 9649 { echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 9650 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6; } 9651 9652 fi 9653 if test $ac_cv_header_uuid_uuid_h = yes; then 4788 " 4789 if test "x$ac_cv_header_mswsock_h" = x""yes; then : 4790 $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 4791 4792 fi 4793 4794 4795 ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 4796 if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 4797 $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 4798 4799 fi 4800 4801 4802 ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 4803 if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 9654 4804 ac_has_uuid_h=1 9655 4805 fi 9656 4806 9657 4807 9658 { echo "$as_me:$LINENO: checking for net/if.h" >&5 9659 echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6; } 9660 if test "${ac_cv_header_net_if_h+set}" = set; then 9661 echo $ECHO_N "(cached) $ECHO_C" >&6 9662 else 9663 cat >conftest.$ac_ext <<_ACEOF 9664 /* confdefs.h. */ 9665 _ACEOF 9666 cat confdefs.h >>conftest.$ac_ext 9667 cat >>conftest.$ac_ext <<_ACEOF 9668 /* end confdefs.h. */ 9669 #if PJ_HAS_SYS_TYPES_H 4808 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H 9670 4809 # include <sys/types.h> 9671 4810 #endif … … 9675 4814 #endif 9676 4815 9677 9678 #include <net/if.h> 9679 _ACEOF 9680 rm -f conftest.$ac_objext 9681 if { (ac_try="$ac_compile" 9682 case "(($ac_try" in 9683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9684 *) ac_try_echo=$ac_try;; 9685 esac 9686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9687 (eval "$ac_compile") 2>conftest.er1 9688 ac_status=$? 9689 grep -v '^ *+' conftest.er1 >conftest.err 9690 rm -f conftest.er1 9691 cat conftest.err >&5 9692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9693 (exit $ac_status); } && { 9694 test -z "$ac_c_werror_flag" || 9695 test ! -s conftest.err 9696 } && test -s conftest.$ac_objext; then 9697 ac_cv_header_net_if_h=yes 9698 else 9699 echo "$as_me: failed program was:" >&5 9700 sed 's/^/| /' conftest.$ac_ext >&5 9701 9702 ac_cv_header_net_if_h=no 9703 fi 9704 9705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9706 fi 9707 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 9708 echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; } 9709 if test $ac_cv_header_net_if_h = yes; then 9710 cat >>confdefs.h <<\_ACEOF 9711 #define PJ_HAS_NET_IF_H 1 9712 _ACEOF 9713 9714 fi 9715 9716 9717 { echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 9718 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6; } 4816 " 4817 if test "x$ac_cv_header_net_if_h" = x""yes; then : 4818 $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 4819 4820 fi 4821 4822 4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 4824 $as_echo "Setting PJ_OS_NAME to $target" >&6; } 9719 4825 cat >>confdefs.h <<_ACEOF 9720 4826 #define PJ_OS_NAME "$target" … … 9722 4828 9723 4829 9724 { echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 9725 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 9726 cat >>confdefs.h <<\_ACEOF 9727 #define PJ_HAS_ERRNO_VAR 1 9728 _ACEOF 9729 9730 9731 { echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 9732 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 9733 cat >>confdefs.h <<\_ACEOF 9734 #define PJ_HAS_HIGH_RES_TIMER 1 9735 _ACEOF 9736 9737 9738 { echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 9739 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6; } 9740 cat >>confdefs.h <<\_ACEOF 9741 #define PJ_HAS_MALLOC 1 9742 _ACEOF 9743 9744 9745 { echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 9746 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 9747 cat >>confdefs.h <<\_ACEOF 9748 #define PJ_NATIVE_STRING_IS_UNICODE 0 9749 _ACEOF 9750 9751 9752 { echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 9753 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 9754 cat >>confdefs.h <<\_ACEOF 9755 #define PJ_ATOMIC_VALUE_TYPE long 9756 _ACEOF 9757 9758 9759 { echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 9760 echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6; } 9761 cat >conftest.$ac_ext <<_ACEOF 9762 /* confdefs.h. */ 9763 _ACEOF 9764 cat confdefs.h >>conftest.$ac_ext 9765 cat >>conftest.$ac_ext <<_ACEOF 4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 4831 $as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 4832 $as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h 4833 4834 4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 4836 $as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 4837 $as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h 4838 4839 4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 4841 $as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } 4842 $as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h 4843 4844 4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 4846 $as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 4847 $as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h 4848 4849 4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 4851 $as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 4852 $as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h 4853 4854 4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 4856 $as_echo_n "checking if inet_aton() is available... " >&6; } 4857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9766 4858 /* end confdefs.h. */ 9767 4859 #include <sys/types.h> … … 9776 4868 } 9777 4869 _ACEOF 9778 rm -f conftest.$ac_objext 9779 if { (ac_try="$ac_compile" 9780 case "(($ac_try" in 9781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9782 *) ac_try_echo=$ac_try;; 9783 esac 9784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9785 (eval "$ac_compile") 2>conftest.er1 9786 ac_status=$? 9787 grep -v '^ *+' conftest.er1 >conftest.err 9788 rm -f conftest.er1 9789 cat conftest.err >&5 9790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9791 (exit $ac_status); } && { 9792 test -z "$ac_c_werror_flag" || 9793 test ! -s conftest.err 9794 } && test -s conftest.$ac_objext; then 9795 cat >>confdefs.h <<\_ACEOF 9796 #define PJ_SOCK_HAS_INET_ATON 1 9797 _ACEOF 9798 9799 { echo "$as_me:$LINENO: result: yes" >&5 9800 echo "${ECHO_T}yes" >&6; } 9801 else 9802 echo "$as_me: failed program was:" >&5 9803 sed 's/^/| /' conftest.$ac_ext >&5 9804 9805 { echo "$as_me:$LINENO: result: no" >&5 9806 echo "${ECHO_T}no" >&6; } 9807 fi 9808 4870 if ac_fn_c_try_compile "$LINENO"; then : 4871 $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h 4872 4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4874 $as_echo "yes" >&6; } 4875 else 4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4877 $as_echo "no" >&6; } 4878 fi 9809 4879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9810 4880 9811 { echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 9812 echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6; } 9813 cat >conftest.$ac_ext <<_ACEOF 9814 /* confdefs.h. */ 9815 _ACEOF 9816 cat confdefs.h >>conftest.$ac_ext 9817 cat >>conftest.$ac_ext <<_ACEOF 4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 4882 $as_echo_n "checking if inet_pton() is available... " >&6; } 4883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9818 4884 /* end confdefs.h. */ 9819 4885 #include <sys/types.h> … … 9828 4894 } 9829 4895 _ACEOF 9830 rm -f conftest.$ac_objext 9831 if { (ac_try="$ac_compile" 9832 case "(($ac_try" in 9833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9834 *) ac_try_echo=$ac_try;; 9835 esac 9836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9837 (eval "$ac_compile") 2>conftest.er1 9838 ac_status=$? 9839 grep -v '^ *+' conftest.er1 >conftest.err 9840 rm -f conftest.er1 9841 cat conftest.err >&5 9842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9843 (exit $ac_status); } && { 9844 test -z "$ac_c_werror_flag" || 9845 test ! -s conftest.err 9846 } && test -s conftest.$ac_objext; then 9847 cat >>confdefs.h <<\_ACEOF 9848 #define PJ_SOCK_HAS_INET_PTON 1 9849 _ACEOF 9850 9851 { echo "$as_me:$LINENO: result: yes" >&5 9852 echo "${ECHO_T}yes" >&6; } 9853 else 9854 echo "$as_me: failed program was:" >&5 9855 sed 's/^/| /' conftest.$ac_ext >&5 9856 9857 { echo "$as_me:$LINENO: result: no" >&5 9858 echo "${ECHO_T}no" >&6; } 9859 fi 9860 4896 if ac_fn_c_try_compile "$LINENO"; then : 4897 $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h 4898 4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4900 $as_echo "yes" >&6; } 4901 else 4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4903 $as_echo "no" >&6; } 4904 fi 9861 4905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9862 4906 9863 { echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 9864 echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6; } 9865 cat >conftest.$ac_ext <<_ACEOF 9866 /* confdefs.h. */ 9867 _ACEOF 9868 cat confdefs.h >>conftest.$ac_ext 9869 cat >>conftest.$ac_ext <<_ACEOF 4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 4908 $as_echo_n "checking if inet_ntop() is available... " >&6; } 4909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9870 4910 /* end confdefs.h. */ 9871 4911 #include <sys/types.h> … … 9880 4920 } 9881 4921 _ACEOF 9882 rm -f conftest.$ac_objext 9883 if { (ac_try="$ac_compile" 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_compile") 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); } && { 9896 test -z "$ac_c_werror_flag" || 9897 test ! -s conftest.err 9898 } && test -s conftest.$ac_objext; then 9899 cat >>confdefs.h <<\_ACEOF 9900 #define PJ_SOCK_HAS_INET_NTOP 1 9901 _ACEOF 9902 9903 { echo "$as_me:$LINENO: result: yes" >&5 9904 echo "${ECHO_T}yes" >&6; } 9905 else 9906 echo "$as_me: failed program was:" >&5 9907 sed 's/^/| /' conftest.$ac_ext >&5 9908 9909 { echo "$as_me:$LINENO: result: no" >&5 9910 echo "${ECHO_T}no" >&6; } 9911 fi 9912 4922 if ac_fn_c_try_compile "$LINENO"; then : 4923 $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h 4924 4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4926 $as_echo "yes" >&6; } 4927 else 4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4929 $as_echo "no" >&6; } 4930 fi 9913 4931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9914 4932 9915 { echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 9916 echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6; } 9917 cat >conftest.$ac_ext <<_ACEOF 9918 /* confdefs.h. */ 9919 _ACEOF 9920 cat confdefs.h >>conftest.$ac_ext 9921 cat >>conftest.$ac_ext <<_ACEOF 4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 4934 $as_echo_n "checking if getaddrinfo() is available... " >&6; } 4935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9922 4936 /* end confdefs.h. */ 9923 4937 #include <sys/types.h> … … 9932 4946 } 9933 4947 _ACEOF 9934 rm -f conftest.$ac_objext 9935 if { (ac_try="$ac_compile" 9936 case "(($ac_try" in 9937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9938 *) ac_try_echo=$ac_try;; 9939 esac 9940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9941 (eval "$ac_compile") 2>conftest.er1 9942 ac_status=$? 9943 grep -v '^ *+' conftest.er1 >conftest.err 9944 rm -f conftest.er1 9945 cat conftest.err >&5 9946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9947 (exit $ac_status); } && { 9948 test -z "$ac_c_werror_flag" || 9949 test ! -s conftest.err 9950 } && test -s conftest.$ac_objext; then 9951 cat >>confdefs.h <<\_ACEOF 9952 #define PJ_SOCK_HAS_GETADDRINFO 1 9953 _ACEOF 9954 9955 { echo "$as_me:$LINENO: result: yes" >&5 9956 echo "${ECHO_T}yes" >&6; } 9957 else 9958 echo "$as_me: failed program was:" >&5 9959 sed 's/^/| /' conftest.$ac_ext >&5 9960 9961 { echo "$as_me:$LINENO: result: no" >&5 9962 echo "${ECHO_T}no" >&6; } 9963 fi 9964 4948 if ac_fn_c_try_compile "$LINENO"; then : 4949 $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h 4950 4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4952 $as_echo "yes" >&6; } 4953 else 4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4955 $as_echo "no" >&6; } 4956 fi 9965 4957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9966 4958 9967 { echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 9968 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6; } 9969 cat >conftest.$ac_ext <<_ACEOF 9970 /* confdefs.h. */ 9971 _ACEOF 9972 cat confdefs.h >>conftest.$ac_ext 9973 cat >>conftest.$ac_ext <<_ACEOF 4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 4960 $as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } 4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9974 4962 /* end confdefs.h. */ 9975 4963 #include <sys/types.h> … … 9985 4973 } 9986 4974 _ACEOF 9987 rm -f conftest.$ac_objext 9988 if { (ac_try="$ac_compile" 9989 case "(($ac_try" in 9990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9991 *) ac_try_echo=$ac_try;; 9992 esac 9993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9994 (eval "$ac_compile") 2>conftest.er1 9995 ac_status=$? 9996 grep -v '^ *+' conftest.er1 >conftest.err 9997 rm -f conftest.er1 9998 cat conftest.err >&5 9999 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10000 (exit $ac_status); } && { 10001 test -z "$ac_c_werror_flag" || 10002 test ! -s conftest.err 10003 } && test -s conftest.$ac_objext; then 10004 cat >>confdefs.h <<\_ACEOF 10005 #define PJ_SOCKADDR_HAS_LEN 1 10006 _ACEOF 10007 10008 { echo "$as_me:$LINENO: result: yes" >&5 10009 echo "${ECHO_T}yes" >&6; } 10010 else 10011 echo "$as_me: failed program was:" >&5 10012 sed 's/^/| /' conftest.$ac_ext >&5 10013 10014 { echo "$as_me:$LINENO: result: no" >&5 10015 echo "${ECHO_T}no" >&6; } 10016 fi 10017 4975 if ac_fn_c_try_compile "$LINENO"; then : 4976 $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h 4977 4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4979 $as_echo "yes" >&6; } 4980 else 4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4982 $as_echo "no" >&6; } 4983 fi 10018 4984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10019 4985 10020 { echo "$as_me:$LINENO: checking if socklen_t is available" >&5 10021 echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6; } 10022 cat >conftest.$ac_ext <<_ACEOF 10023 /* confdefs.h. */ 10024 _ACEOF 10025 cat confdefs.h >>conftest.$ac_ext 10026 cat >>conftest.$ac_ext <<_ACEOF 4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 4987 $as_echo_n "checking if socklen_t is available... " >&6; } 4988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10027 4989 /* end confdefs.h. */ 10028 4990 #include <sys/types.h> … … 10036 4998 } 10037 4999 _ACEOF 10038 rm -f conftest.$ac_objext 10039 if { (ac_try="$ac_compile" 10040 case "(($ac_try" in 10041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10042 *) ac_try_echo=$ac_try;; 10043 esac 10044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10045 (eval "$ac_compile") 2>conftest.er1 10046 ac_status=$? 10047 grep -v '^ *+' conftest.er1 >conftest.err 10048 rm -f conftest.er1 10049 cat conftest.err >&5 10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10051 (exit $ac_status); } && { 10052 test -z "$ac_c_werror_flag" || 10053 test ! -s conftest.err 10054 } && test -s conftest.$ac_objext; then 10055 cat >>confdefs.h <<\_ACEOF 10056 #define PJ_HAS_SOCKLEN_T 1 10057 _ACEOF 10058 10059 { echo "$as_me:$LINENO: result: yes" >&5 10060 echo "${ECHO_T}yes" >&6; } 10061 else 10062 echo "$as_me: failed program was:" >&5 10063 sed 's/^/| /' conftest.$ac_ext >&5 10064 10065 { echo "$as_me:$LINENO: result: no" >&5 10066 echo "${ECHO_T}no" >&6; } 10067 fi 10068 5000 if ac_fn_c_try_compile "$LINENO"; then : 5001 $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h 5002 5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5004 $as_echo "yes" >&6; } 5005 else 5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5007 $as_echo "no" >&6; } 5008 fi 10069 5009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10070 5010 10071 { echo "$as_me:$LINENO: checking if SO_ERROR is available" >&510072 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6; }5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&5 5012 $as_echo_n "checking if SO_ERROR is available... " >&6; } 10073 5013 case $target in 10074 5014 *mingw* | *cygw* | *win32* | *w32* ) 10075 cat >>confdefs.h <<\_ACEOF 10076 #define PJ_HAS_SO_ERROR 1 10077 _ACEOF 10078 10079 { echo "$as_me:$LINENO: result: yes" >&5 10080 echo "${ECHO_T}yes" >&6; } 5015 $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 5016 5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5018 $as_echo "yes" >&6; } 10081 5019 ;; 10082 5020 *) 10083 cat >conftest.$ac_ext <<_ACEOF 10084 /* confdefs.h. */ 10085 _ACEOF 10086 cat confdefs.h >>conftest.$ac_ext 10087 cat >>conftest.$ac_ext <<_ACEOF 5021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10088 5022 /* end confdefs.h. */ 10089 5023 #include <sys/types.h> … … 10099 5033 } 10100 5034 _ACEOF 10101 rm -f conftest.$ac_objext 10102 if { (ac_try="$ac_compile" 10103 case "(($ac_try" in 10104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10105 *) ac_try_echo=$ac_try;; 10106 esac 10107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10108 (eval "$ac_compile") 2>conftest.er1 10109 ac_status=$? 10110 grep -v '^ *+' conftest.er1 >conftest.err 10111 rm -f conftest.er1 10112 cat conftest.err >&5 10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10114 (exit $ac_status); } && { 10115 test -z "$ac_c_werror_flag" || 10116 test ! -s conftest.err 10117 } && test -s conftest.$ac_objext; then 10118 cat >>confdefs.h <<\_ACEOF 10119 #define PJ_HAS_SO_ERROR 1 10120 _ACEOF 10121 10122 { echo "$as_me:$LINENO: result: yes" >&5 10123 echo "${ECHO_T}yes" >&6; } 10124 else 10125 echo "$as_me: failed program was:" >&5 10126 sed 's/^/| /' conftest.$ac_ext >&5 10127 10128 { echo "$as_me:$LINENO: result: no" >&5 10129 echo "${ECHO_T}no" >&6; } 10130 fi 10131 5035 if ac_fn_c_try_compile "$LINENO"; then : 5036 $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 5037 5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5039 $as_echo "yes" >&6; } 5040 else 5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5042 $as_echo "no" >&6; } 5043 fi 10132 5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10133 5045 ;; … … 10135 5047 10136 5048 10137 { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 10138 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6; } 10139 cat >conftest.$ac_ext <<_ACEOF 10140 /* confdefs.h. */ 10141 _ACEOF 10142 cat confdefs.h >>conftest.$ac_ext 10143 cat >>conftest.$ac_ext <<_ACEOF 5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 5050 $as_echo_n "checking if pthread_rwlock_t is available... " >&6; } 5051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10144 5052 /* end confdefs.h. */ 10145 5053 #include <pthread.h> … … 10152 5060 } 10153 5061 _ACEOF 10154 rm -f conftest.$ac_objext 10155 if { (ac_try="$ac_compile" 10156 case "(($ac_try" in 10157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10158 *) ac_try_echo=$ac_try;; 10159 esac 10160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10161 (eval "$ac_compile") 2>conftest.er1 10162 ac_status=$? 10163 grep -v '^ *+' conftest.er1 >conftest.err 10164 rm -f conftest.er1 10165 cat conftest.err >&5 10166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10167 (exit $ac_status); } && { 10168 test -z "$ac_c_werror_flag" || 10169 test ! -s conftest.err 10170 } && test -s conftest.$ac_objext; then 10171 cat >>confdefs.h <<\_ACEOF 10172 #define PJ_EMULATE_RWMUTEX 0 10173 _ACEOF 5062 if ac_fn_c_try_compile "$LINENO"; then : 5063 $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 10174 5064 10175 5065 ac_rwmutex="yes" 10176 { echo "$as_me:$LINENO: result: yes" >&5 10177 echo "${ECHO_T}yes" >&6; } 10178 else 10179 echo "$as_me: failed program was:" >&5 10180 sed 's/^/| /' conftest.$ac_ext >&5 10181 10182 cat >>confdefs.h <<\_ACEOF 10183 #define PJ_EMULATE_RWMUTEX 1 10184 _ACEOF 5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5067 $as_echo "yes" >&6; } 5068 else 5069 $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 10185 5070 10186 5071 ac_rwmutex="no" 10187 { echo "$as_me:$LINENO: result: no" >&5 10188 echo "${ECHO_T}no" >&6; } 10189 fi 10190 5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5073 $as_echo "no" >&6; } 5074 fi 10191 5075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10192 5076 10193 5077 if test "$ac_rwmutex" = "no"; then 10194 { echo "$as_me:$LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 10195 echo $ECHO_N "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... $ECHO_C" >&6; } 10196 cat >conftest.$ac_ext <<_ACEOF 10197 /* confdefs.h. */ 10198 _ACEOF 10199 cat confdefs.h >>conftest.$ac_ext 10200 cat >>conftest.$ac_ext <<_ACEOF 5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 5079 $as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } 5080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10201 5081 /* end confdefs.h. */ 10202 5082 #define _POSIX_READER_WRITER_LOCKS … … 10210 5090 } 10211 5091 _ACEOF 10212 rm -f conftest.$ac_objext 10213 if { (ac_try="$ac_compile" 10214 case "(($ac_try" in 10215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10216 *) ac_try_echo=$ac_try;; 10217 esac 10218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10219 (eval "$ac_compile") 2>conftest.er1 10220 ac_status=$? 10221 grep -v '^ *+' conftest.er1 >conftest.err 10222 rm -f conftest.er1 10223 cat conftest.err >&5 10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10225 (exit $ac_status); } && { 10226 test -z "$ac_c_werror_flag" || 10227 test ! -s conftest.err 10228 } && test -s conftest.$ac_objext; then 10229 cat >>confdefs.h <<\_ACEOF 10230 #define PJ_EMULATE_RWMUTEX 0 10231 _ACEOF 5092 if ac_fn_c_try_compile "$LINENO"; then : 5093 $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 10232 5094 10233 5095 CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 10234 { echo "$as_me:$LINENO: result: yes" >&5 10235 echo "${ECHO_T}yes" >&6; } 10236 else 10237 echo "$as_me: failed program was:" >&5 10238 sed 's/^/| /' conftest.$ac_ext >&5 10239 10240 cat >>confdefs.h <<\_ACEOF 10241 #define PJ_EMULATE_RWMUTEX 1 10242 _ACEOF 10243 10244 { echo "$as_me:$LINENO: result: no" >&5 10245 echo "${ECHO_T}no" >&6; } 10246 fi 10247 5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5097 $as_echo "yes" >&6; } 5098 else 5099 $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 5100 5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5102 $as_echo "no" >&6; } 5103 fi 10248 5104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10249 5105 fi 10250 5106 10251 { echo "$as_me:$LINENO: checking if pthread_mutexattr_settype() is available" >&5 10252 echo $ECHO_N "checking if pthread_mutexattr_settype() is available... $ECHO_C" >&6; } 10253 cat >conftest.$ac_ext <<_ACEOF 10254 /* confdefs.h. */ 10255 _ACEOF 10256 cat confdefs.h >>conftest.$ac_ext 10257 cat >>conftest.$ac_ext <<_ACEOF 5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 5108 $as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } 5109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10258 5110 /* end confdefs.h. */ 10259 5111 #include <pthread.h> … … 10266 5118 } 10267 5119 _ACEOF 10268 rm -f conftest.$ac_objext 10269 if { (ac_try="$ac_compile" 10270 case "(($ac_try" in 10271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10272 *) ac_try_echo=$ac_try;; 10273 esac 10274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10275 (eval "$ac_compile") 2>conftest.er1 10276 ac_status=$? 10277 grep -v '^ *+' conftest.er1 >conftest.err 10278 rm -f conftest.er1 10279 cat conftest.err >&5 10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10281 (exit $ac_status); } && { 10282 test -z "$ac_c_werror_flag" || 10283 test ! -s conftest.err 10284 } && test -s conftest.$ac_objext; then 10285 cat >>confdefs.h <<\_ACEOF 10286 #define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1 10287 _ACEOF 10288 10289 { echo "$as_me:$LINENO: result: yes" >&5 10290 echo "${ECHO_T}yes" >&6; } 10291 else 10292 echo "$as_me: failed program was:" >&5 10293 sed 's/^/| /' conftest.$ac_ext >&5 10294 10295 { echo "$as_me:$LINENO: result: no" >&5 10296 echo "${ECHO_T}no" >&6; } 10297 fi 10298 5120 if ac_fn_c_try_compile "$LINENO"; then : 5121 $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h 5122 5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5124 $as_echo "yes" >&6; } 5125 else 5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5127 $as_echo "no" >&6; } 5128 fi 10299 5129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10300 5130 10301 { echo "$as_me:$LINENO: checking if pthread_mutexattr_t has recursive member" >&5 10302 echo $ECHO_N "checking if pthread_mutexattr_t has recursive member... $ECHO_C" >&6; } 10303 cat >conftest.$ac_ext <<_ACEOF 10304 /* confdefs.h. */ 10305 _ACEOF 10306 cat confdefs.h >>conftest.$ac_ext 10307 cat >>conftest.$ac_ext <<_ACEOF 5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 5132 $as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } 5133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10308 5134 /* end confdefs.h. */ 10309 5135 #include <pthread.h> … … 10317 5143 } 10318 5144 _ACEOF 10319 rm -f conftest.$ac_objext 10320 if { (ac_try="$ac_compile" 10321 case "(($ac_try" in 10322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10323 *) ac_try_echo=$ac_try;; 10324 esac 10325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10326 (eval "$ac_compile") 2>conftest.er1 10327 ac_status=$? 10328 grep -v '^ *+' conftest.er1 >conftest.err 10329 rm -f conftest.er1 10330 cat conftest.err >&5 10331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10332 (exit $ac_status); } && { 10333 test -z "$ac_c_werror_flag" || 10334 test ! -s conftest.err 10335 } && test -s conftest.$ac_objext; then 10336 cat >>confdefs.h <<\_ACEOF 10337 #define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1 10338 _ACEOF 10339 10340 { echo "$as_me:$LINENO: result: yes" >&5 10341 echo "${ECHO_T}yes" >&6; } 10342 else 10343 echo "$as_me: failed program was:" >&5 10344 sed 's/^/| /' conftest.$ac_ext >&5 10345 10346 { echo "$as_me:$LINENO: result: no" >&5 10347 echo "${ECHO_T}no" >&6; } 10348 fi 10349 5145 if ac_fn_c_try_compile "$LINENO"; then : 5146 $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h 5147 5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5149 $as_echo "yes" >&6; } 5150 else 5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5152 $as_echo "no" >&6; } 5153 fi 10350 5154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10351 5155 10352 5156 10353 { echo "$as_me:$LINENO: checking ioqueue backend" >&510354 echo $ECHO_N "checking ioqueue backend... $ECHO_C" >&6; }5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&5 5158 $as_echo_n "checking ioqueue backend... " >&6; } 10355 5159 # Check whether --enable-epoll was given. 10356 if test "${enable_epoll+set}" = set; then 5160 if test "${enable_epoll+set}" = set; then : 10357 5161 enableval=$enable_epoll; 10358 5162 ac_os_objs=ioqueue_epoll.o 10359 { echo "$as_me:$LINENO: result: /dev/epoll" >&510360 echo "${ECHO_T}/dev/epoll" >&6; }5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&5 5164 $as_echo "/dev/epoll" >&6; } 10361 5165 10362 5166 else 10363 5167 10364 5168 ac_os_objs=ioqueue_select.o 10365 { echo "$as_me:$LINENO: result: select()" >&510366 echo "${ECHO_T}select()" >&6; }5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 5170 $as_echo "select()" >&6; } 10367 5171 10368 5172 fi … … 10392 5196 10393 5197 # Check whether --with-external-speex was given. 10394 if test "${with_external_speex+set}" = set; then 5198 if test "${with_external_speex+set}" = set; then : 10395 5199 withval=$with_external_speex; 10396 5200 if test "x$with_external_speex" != "xno"; then 10397 5201 # Test Speex installation 10398 { echo "$as_me:$LINENO: checking if external Speex devkit is installed" >&5 10399 echo $ECHO_N "checking if external Speex devkit is installed... $ECHO_C" >&6; } 10400 cat >conftest.$ac_ext <<_ACEOF 10401 /* confdefs.h. */ 10402 _ACEOF 10403 cat confdefs.h >>conftest.$ac_ext 10404 cat >>conftest.$ac_ext <<_ACEOF 5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external Speex devkit is installed" >&5 5203 $as_echo_n "checking if external Speex devkit is installed... " >&6; } 5204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10405 5205 /* end confdefs.h. */ 10406 5206 #include <speex/speex.h> … … 10415 5215 } 10416 5216 _ACEOF 10417 rm -f conftest.$ac_objext 10418 if { (ac_try="$ac_compile" 10419 case "(($ac_try" in 10420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10421 *) ac_try_echo=$ac_try;; 10422 esac 10423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10424 (eval "$ac_compile") 2>conftest.er1 10425 ac_status=$? 10426 grep -v '^ *+' conftest.er1 >conftest.err 10427 rm -f conftest.er1 10428 cat conftest.err >&5 10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10430 (exit $ac_status); } && { 10431 test -z "$ac_c_werror_flag" || 10432 test ! -s conftest.err 10433 } && test -s conftest.$ac_objext; then 10434 { echo "$as_me:$LINENO: result: yes!!" >&5 10435 echo "${ECHO_T}yes!!" >&6; } 10436 cat >>confdefs.h <<\_ACEOF 10437 #define PJMEDIA_EXTERNAL_SPEEX_CODEC 1 10438 _ACEOF 5217 if ac_fn_c_try_compile "$LINENO"; then : 5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5219 $as_echo "yes!!" >&6; } 5220 $as_echo "#define PJMEDIA_EXTERNAL_SPEEX_CODEC 1" >>confdefs.h 10439 5221 10440 5222 ac_external_speex="1" 10441 5223 10442 5224 else 10443 echo "$as_me: failed program was:" >&5 10444 sed 's/^/| /' conftest.$ac_ext >&5 10445 10446 { { 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 10447 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;} 10448 { (exit 1); exit 1; }; } 10449 fi 10450 5225 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 5226 fi 10451 5227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10452 5228 fi … … 10460 5236 10461 5237 # Check whether --with-external-gsm was given. 10462 if test "${with_external_gsm+set}" = set; then 5238 if test "${with_external_gsm+set}" = set; then : 10463 5239 withval=$with_external_gsm; 10464 5240 if test "x$with_external_gsm" != "xno"; then 10465 # Test GSM library installation 10466 { echo "$as_me:$LINENO: checking if external GSM devkit is installed" >&5 10467 echo $ECHO_N "checking if external GSM devkit is installed... $ECHO_C" >&6; } 10468 cat >conftest.$ac_ext <<_ACEOF 10469 /* confdefs.h. */ 10470 _ACEOF 10471 cat confdefs.h >>conftest.$ac_ext 10472 cat >>conftest.$ac_ext <<_ACEOF 5241 # Test GSM library installation 5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm/gsm.h" >&5 5243 $as_echo_n "checking if external GSM devkit is installed as gsm/gsm.h... " >&6; } 5244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10473 5245 /* end confdefs.h. */ 10474 5246 #include <gsm/gsm.h> 10475 10476 5247 int 10477 5248 main () … … 10481 5252 return 0; 10482 5253 } 10483 10484 _ACEOF 10485 rm -f conftest.$ac_objext 10486 if { (ac_try="$ac_compile" 10487 case "(($ac_try" in 10488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10489 *) ac_try_echo=$ac_try;; 10490 esac 10491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10492 (eval "$ac_compile") 2>conftest.er1 10493 ac_status=$? 10494 grep -v '^ *+' conftest.er1 >conftest.err 10495 rm -f conftest.er1 10496 cat conftest.err >&5 10497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10498 (exit $ac_status); } && { 10499 test -z "$ac_c_werror_flag" || 10500 test ! -s conftest.err 10501 } && test -s conftest.$ac_objext; then 10502 { echo "$as_me:$LINENO: result: yes!!" >&5 10503 echo "${ECHO_T}yes!!" >&6; } 10504 cat >>confdefs.h <<\_ACEOF 10505 #define PJMEDIA_EXTERNAL_GSM_CODEC 1 10506 _ACEOF 10507 10508 ac_external_gsm="1" 10509 10510 else 10511 echo "$as_me: failed program was:" >&5 10512 sed 's/^/| /' conftest.$ac_ext >&5 10513 10514 { { 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 10515 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;} 10516 { (exit 1); exit 1; }; } 10517 fi 10518 5254 _ACEOF 5255 if ac_fn_c_try_compile "$LINENO"; then : 5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5257 $as_echo "yes!!" >&6; } 5258 $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 5259 5260 $as_echo "#define PJMEDIA_EXTERNAL_GSM_GSM_H 1" >>confdefs.h 5261 5262 ac_external_gsm="1" 5263 5264 else 5265 5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5267 $as_echo "no" >&6; } 5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external GSM devkit is installed as gsm.h" >&5 5269 $as_echo_n "checking if external GSM devkit is installed as gsm.h... " >&6; } 5270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5271 /* end confdefs.h. */ 5272 #include <gsm.h> 5273 int 5274 main () 5275 { 5276 gsm_create(); 5277 ; 5278 return 0; 5279 } 5280 _ACEOF 5281 if ac_fn_c_try_compile "$LINENO"; then : 5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5283 $as_echo "yes!!" >&6; } 5284 $as_echo "#define PJMEDIA_EXTERNAL_GSM_CODEC 1" >>confdefs.h 5285 5286 $as_echo "#define PJMEDIA_EXTERNAL_GSM_H 1" >>confdefs.h 5287 5288 ac_external_gsm="1" 5289 5290 else 5291 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 5292 5293 5294 fi 5295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5296 5297 5298 fi 10519 5299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10520 5300 fi … … 10528 5308 10529 5309 # Check whether --enable-sound was given. 10530 if test "${enable_sound+set}" = set; then 5310 if test "${enable_sound+set}" = set; then : 10531 5311 enableval=$enable_sound; if test "$enable_sound" = "no"; then 10532 5312 ac_pjmedia_snd=null 10533 { echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&510534 echo "${ECHO_T}Checking if sound is disabled... yes" >&6; }5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&5 5314 $as_echo "Checking if sound is disabled... yes" >&6; } 10535 5315 fi 10536 5316 … … 10542 5322 10543 5323 # Check whether --with-external-pa was given. 10544 if test "${with_external_pa+set}" = set; then 5324 if test "${with_external_pa+set}" = set; then : 10545 5325 withval=$with_external_pa; 10546 5326 if test "x$with_external_pa" != "xno"; then 10547 5327 # Test PortAudio installation 10548 { echo "$as_me:$LINENO: checking if external PortAudio devkit is installed" >&5 10549 echo $ECHO_N "checking if external PortAudio devkit is installed... $ECHO_C" >&6; } 10550 cat >conftest.$ac_ext <<_ACEOF 10551 /* confdefs.h. */ 10552 _ACEOF 10553 cat confdefs.h >>conftest.$ac_ext 10554 cat >>conftest.$ac_ext <<_ACEOF 5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if external PortAudio devkit is installed" >&5 5329 $as_echo_n "checking if external PortAudio devkit is installed... " >&6; } 5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10555 5331 /* end confdefs.h. */ 10556 5332 #include <portaudio.h> … … 10564 5340 } 10565 5341 _ACEOF 10566 rm -f conftest.$ac_objext 10567 if { (ac_try="$ac_compile" 10568 case "(($ac_try" in 10569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10570 *) ac_try_echo=$ac_try;; 10571 esac 10572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10573 (eval "$ac_compile") 2>conftest.er1 10574 ac_status=$? 10575 grep -v '^ *+' conftest.er1 >conftest.err 10576 rm -f conftest.er1 10577 cat conftest.err >&5 10578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10579 (exit $ac_status); } && { 10580 test -z "$ac_c_werror_flag" || 10581 test ! -s conftest.err 10582 } && test -s conftest.$ac_objext; then 10583 { echo "$as_me:$LINENO: result: yes!!" >&5 10584 echo "${ECHO_T}yes!!" >&6; } 5342 if ac_fn_c_try_compile "$LINENO"; then : 5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes!!" >&5 5344 $as_echo "yes!!" >&6; } 10585 5345 ac_external_pa="1" 10586 5346 10587 5347 else 10588 echo "$as_me: failed program was:" >&5 10589 sed 's/^/| /' conftest.$ac_ext >&5 10590 10591 { { echo "$as_me:$LINENO: error: Unable to use 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 10592 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;} 10593 { (exit 1); exit 1; }; } 10594 fi 10595 5348 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 5349 fi 10596 5350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10597 5351 fi … … 10602 5356 10603 5357 10604 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 10605 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 10606 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 10607 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 10608 echo $ECHO_N "(cached) $ECHO_C" >&6 10609 fi 10610 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 10611 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 10612 else 10613 # Is the header compilable? 10614 { echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5 10615 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; } 10616 cat >conftest.$ac_ext <<_ACEOF 10617 /* confdefs.h. */ 10618 _ACEOF 10619 cat confdefs.h >>conftest.$ac_ext 10620 cat >>conftest.$ac_ext <<_ACEOF 10621 /* end confdefs.h. */ 10622 $ac_includes_default 10623 #include <sys/soundcard.h> 10624 _ACEOF 10625 rm -f conftest.$ac_objext 10626 if { (ac_try="$ac_compile" 10627 case "(($ac_try" in 10628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10629 *) ac_try_echo=$ac_try;; 10630 esac 10631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10632 (eval "$ac_compile") 2>conftest.er1 10633 ac_status=$? 10634 grep -v '^ *+' conftest.er1 >conftest.err 10635 rm -f conftest.er1 10636 cat conftest.err >&5 10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10638 (exit $ac_status); } && { 10639 test -z "$ac_c_werror_flag" || 10640 test ! -s conftest.err 10641 } && test -s conftest.$ac_objext; then 10642 ac_header_compiler=yes 10643 else 10644 echo "$as_me: failed program was:" >&5 10645 sed 's/^/| /' conftest.$ac_ext >&5 10646 10647 ac_header_compiler=no 10648 fi 10649 10650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10651 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10652 echo "${ECHO_T}$ac_header_compiler" >&6; } 10653 10654 # Is the header present? 10655 { echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5 10656 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; } 10657 cat >conftest.$ac_ext <<_ACEOF 10658 /* confdefs.h. */ 10659 _ACEOF 10660 cat confdefs.h >>conftest.$ac_ext 10661 cat >>conftest.$ac_ext <<_ACEOF 10662 /* end confdefs.h. */ 10663 #include <sys/soundcard.h> 10664 _ACEOF 10665 if { (ac_try="$ac_cpp conftest.$ac_ext" 10666 case "(($ac_try" in 10667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10668 *) ac_try_echo=$ac_try;; 10669 esac 10670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10671 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10672 ac_status=$? 10673 grep -v '^ *+' conftest.er1 >conftest.err 10674 rm -f conftest.er1 10675 cat conftest.err >&5 10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10677 (exit $ac_status); } >/dev/null && { 10678 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10679 test ! -s conftest.err 10680 }; then 10681 ac_header_preproc=yes 10682 else 10683 echo "$as_me: failed program was:" >&5 10684 sed 's/^/| /' conftest.$ac_ext >&5 10685 10686 ac_header_preproc=no 10687 fi 10688 10689 rm -f conftest.err conftest.$ac_ext 10690 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10691 echo "${ECHO_T}$ac_header_preproc" >&6; } 10692 10693 # So? What about this header? 10694 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10695 yes:no: ) 10696 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 10697 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10698 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5 10699 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;} 10700 ac_header_preproc=yes 10701 ;; 10702 no:yes:* ) 10703 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5 10704 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;} 10705 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5 10706 echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;} 10707 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5 10708 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;} 10709 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 10710 echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 10711 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5 10712 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;} 10713 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 10714 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} 10715 10716 ;; 10717 esac 10718 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 10719 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; } 10720 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 10721 echo $ECHO_N "(cached) $ECHO_C" >&6 10722 else 10723 ac_cv_header_sys_soundcard_h=$ac_header_preproc 10724 fi 10725 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 10726 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; } 10727 10728 fi 10729 if test $ac_cv_header_sys_soundcard_h = yes; then 5358 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 5359 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 10730 5360 ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 10731 5361 fi 10732 5362 10733 5363 10734 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 10735 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 10736 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 10737 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 10738 echo $ECHO_N "(cached) $ECHO_C" >&6 10739 fi 10740 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 10741 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 10742 else 10743 # Is the header compilable? 10744 { echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5 10745 echo $ECHO_N "checking linux/soundcard.h usability... $ECHO_C" >&6; } 10746 cat >conftest.$ac_ext <<_ACEOF 10747 /* confdefs.h. */ 10748 _ACEOF 10749 cat confdefs.h >>conftest.$ac_ext 10750 cat >>conftest.$ac_ext <<_ACEOF 10751 /* end confdefs.h. */ 10752 $ac_includes_default 10753 #include <linux/soundcard.h> 10754 _ACEOF 10755 rm -f conftest.$ac_objext 10756 if { (ac_try="$ac_compile" 10757 case "(($ac_try" in 10758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10759 *) ac_try_echo=$ac_try;; 10760 esac 10761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10762 (eval "$ac_compile") 2>conftest.er1 10763 ac_status=$? 10764 grep -v '^ *+' conftest.er1 >conftest.err 10765 rm -f conftest.er1 10766 cat conftest.err >&5 10767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10768 (exit $ac_status); } && { 10769 test -z "$ac_c_werror_flag" || 10770 test ! -s conftest.err 10771 } && test -s conftest.$ac_objext; then 10772 ac_header_compiler=yes 10773 else 10774 echo "$as_me: failed program was:" >&5 10775 sed 's/^/| /' conftest.$ac_ext >&5 10776 10777 ac_header_compiler=no 10778 fi 10779 10780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10781 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10782 echo "${ECHO_T}$ac_header_compiler" >&6; } 10783 10784 # Is the header present? 10785 { echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5 10786 echo $ECHO_N "checking linux/soundcard.h presence... $ECHO_C" >&6; } 10787 cat >conftest.$ac_ext <<_ACEOF 10788 /* confdefs.h. */ 10789 _ACEOF 10790 cat confdefs.h >>conftest.$ac_ext 10791 cat >>conftest.$ac_ext <<_ACEOF 10792 /* end confdefs.h. */ 10793 #include <linux/soundcard.h> 10794 _ACEOF 10795 if { (ac_try="$ac_cpp conftest.$ac_ext" 10796 case "(($ac_try" in 10797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10798 *) ac_try_echo=$ac_try;; 10799 esac 10800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10802 ac_status=$? 10803 grep -v '^ *+' conftest.er1 >conftest.err 10804 rm -f conftest.er1 10805 cat conftest.err >&5 10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10807 (exit $ac_status); } >/dev/null && { 10808 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10809 test ! -s conftest.err 10810 }; then 10811 ac_header_preproc=yes 10812 else 10813 echo "$as_me: failed program was:" >&5 10814 sed 's/^/| /' conftest.$ac_ext >&5 10815 10816 ac_header_preproc=no 10817 fi 10818 10819 rm -f conftest.err conftest.$ac_ext 10820 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10821 echo "${ECHO_T}$ac_header_preproc" >&6; } 10822 10823 # So? What about this header? 10824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10825 yes:no: ) 10826 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 10827 echo "$as_me: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10828 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&5 10829 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&2;} 10830 ac_header_preproc=yes 10831 ;; 10832 no:yes:* ) 10833 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: present but cannot be compiled" >&5 10834 echo "$as_me: WARNING: linux/soundcard.h: present but cannot be compiled" >&2;} 10835 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: check for missing prerequisite headers?" >&5 10836 echo "$as_me: WARNING: linux/soundcard.h: check for missing prerequisite headers?" >&2;} 10837 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: see the Autoconf documentation" >&5 10838 echo "$as_me: WARNING: linux/soundcard.h: see the Autoconf documentation" >&2;} 10839 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 10840 echo "$as_me: WARNING: linux/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 10841 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&5 10842 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&2;} 10843 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 10844 echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} 10845 10846 ;; 10847 esac 10848 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 10849 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; } 10850 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 10851 echo $ECHO_N "(cached) $ECHO_C" >&6 10852 else 10853 ac_cv_header_linux_soundcard_h=$ac_header_preproc 10854 fi 10855 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 10856 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; } 10857 10858 fi 10859 if test $ac_cv_header_linux_soundcard_h = yes; then 5364 ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 5365 if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 10860 5366 ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 10861 5367 fi 10862 5368 10863 5369 10864 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 10865 { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 10866 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 10867 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 10868 echo $ECHO_N "(cached) $ECHO_C" >&6 10869 fi 10870 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 10871 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 10872 else 10873 # Is the header compilable? 10874 { echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&5 10875 echo $ECHO_N "checking machine/soundcard.h usability... $ECHO_C" >&6; } 10876 cat >conftest.$ac_ext <<_ACEOF 10877 /* confdefs.h. */ 10878 _ACEOF 10879 cat confdefs.h >>conftest.$ac_ext 10880 cat >>conftest.$ac_ext <<_ACEOF 10881 /* end confdefs.h. */ 10882 $ac_includes_default 10883 #include <machine/soundcard.h> 10884 _ACEOF 10885 rm -f conftest.$ac_objext 10886 if { (ac_try="$ac_compile" 10887 case "(($ac_try" in 10888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10889 *) ac_try_echo=$ac_try;; 10890 esac 10891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10892 (eval "$ac_compile") 2>conftest.er1 10893 ac_status=$? 10894 grep -v '^ *+' conftest.er1 >conftest.err 10895 rm -f conftest.er1 10896 cat conftest.err >&5 10897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10898 (exit $ac_status); } && { 10899 test -z "$ac_c_werror_flag" || 10900 test ! -s conftest.err 10901 } && test -s conftest.$ac_objext; then 10902 ac_header_compiler=yes 10903 else 10904 echo "$as_me: failed program was:" >&5 10905 sed 's/^/| /' conftest.$ac_ext >&5 10906 10907 ac_header_compiler=no 10908 fi 10909 10910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10911 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10912 echo "${ECHO_T}$ac_header_compiler" >&6; } 10913 10914 # Is the header present? 10915 { echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&5 10916 echo $ECHO_N "checking machine/soundcard.h presence... $ECHO_C" >&6; } 10917 cat >conftest.$ac_ext <<_ACEOF 10918 /* confdefs.h. */ 10919 _ACEOF 10920 cat confdefs.h >>conftest.$ac_ext 10921 cat >>conftest.$ac_ext <<_ACEOF 10922 /* end confdefs.h. */ 10923 #include <machine/soundcard.h> 10924 _ACEOF 10925 if { (ac_try="$ac_cpp conftest.$ac_ext" 10926 case "(($ac_try" in 10927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10928 *) ac_try_echo=$ac_try;; 10929 esac 10930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10931 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10932 ac_status=$? 10933 grep -v '^ *+' conftest.er1 >conftest.err 10934 rm -f conftest.er1 10935 cat conftest.err >&5 10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10937 (exit $ac_status); } >/dev/null && { 10938 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10939 test ! -s conftest.err 10940 }; then 10941 ac_header_preproc=yes 10942 else 10943 echo "$as_me: failed program was:" >&5 10944 sed 's/^/| /' conftest.$ac_ext >&5 10945 10946 ac_header_preproc=no 10947 fi 10948 10949 rm -f conftest.err conftest.$ac_ext 10950 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10951 echo "${ECHO_T}$ac_header_preproc" >&6; } 10952 10953 # So? What about this header? 10954 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10955 yes:no: ) 10956 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 10957 echo "$as_me: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10958 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&5 10959 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&2;} 10960 ac_header_preproc=yes 10961 ;; 10962 no:yes:* ) 10963 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: present but cannot be compiled" >&5 10964 echo "$as_me: WARNING: machine/soundcard.h: present but cannot be compiled" >&2;} 10965 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: check for missing prerequisite headers?" >&5 10966 echo "$as_me: WARNING: machine/soundcard.h: check for missing prerequisite headers?" >&2;} 10967 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: see the Autoconf documentation" >&5 10968 echo "$as_me: WARNING: machine/soundcard.h: see the Autoconf documentation" >&2;} 10969 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 10970 echo "$as_me: WARNING: machine/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 10971 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&5 10972 echo "$as_me: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&2;} 10973 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&5 10974 echo "$as_me: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&2;} 10975 10976 ;; 10977 esac 10978 { echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 10979 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6; } 10980 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 10981 echo $ECHO_N "(cached) $ECHO_C" >&6 10982 else 10983 ac_cv_header_machine_soundcard_h=$ac_header_preproc 10984 fi 10985 { echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 10986 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6; } 10987 10988 fi 10989 if test $ac_cv_header_machine_soundcard_h = yes; then 5370 ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 5371 if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 10990 5372 ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 10991 5373 fi … … 11009 5391 #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 11010 5392 ac_pjmedia_snd=pa_old_darwinos 11011 { echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&511012 echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6; }5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&5 5394 $as_echo "Checking sound device backend... old coreaudio" >&6; } 11013 5395 else 11014 5396 ac_pjmedia_snd=pa_darwinos 11015 { echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&511016 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6; }5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&5 5398 $as_echo "Checking sound device backend... coreaudio" >&6; } 11017 5399 fi 11018 5400 ;; 11019 5401 *cygwin* | *mingw*) 11020 5402 ac_pjmedia_snd=pa_win32 11021 { echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&511022 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6; }5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&5 5404 $as_echo "Checking sound device backend... win32 sound" >&6; } 11023 5405 ;; 11024 5406 *rtems*) 11025 5407 ac_pjmedia_snd=null 11026 { echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&511027 echo "${ECHO_T}Checking sound device backend... null sound" >&6; }5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&5 5409 $as_echo "Checking sound device backend... null sound" >&6; } 11028 5410 ;; 11029 5411 *) 11030 5412 ac_pjmedia_snd=pa_unix 11031 if test "${ac_cv_header_alsa_version_h+set}" = set; then 11032 { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 11033 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 11034 if test "${ac_cv_header_alsa_version_h+set}" = set; then 11035 echo $ECHO_N "(cached) $ECHO_C" >&6 11036 fi 11037 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 11038 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 11039 else 11040 # Is the header compilable? 11041 { echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 11042 echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6; } 11043 cat >conftest.$ac_ext <<_ACEOF 11044 /* confdefs.h. */ 11045 _ACEOF 11046 cat confdefs.h >>conftest.$ac_ext 11047 cat >>conftest.$ac_ext <<_ACEOF 11048 /* end confdefs.h. */ 11049 $ac_includes_default 11050 #include <alsa/version.h> 11051 _ACEOF 11052 rm -f conftest.$ac_objext 11053 if { (ac_try="$ac_compile" 11054 case "(($ac_try" in 11055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11056 *) ac_try_echo=$ac_try;; 11057 esac 11058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11059 (eval "$ac_compile") 2>conftest.er1 11060 ac_status=$? 11061 grep -v '^ *+' conftest.er1 >conftest.err 11062 rm -f conftest.er1 11063 cat conftest.err >&5 11064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11065 (exit $ac_status); } && { 11066 test -z "$ac_c_werror_flag" || 11067 test ! -s conftest.err 11068 } && test -s conftest.$ac_objext; then 11069 ac_header_compiler=yes 11070 else 11071 echo "$as_me: failed program was:" >&5 11072 sed 's/^/| /' conftest.$ac_ext >&5 11073 11074 ac_header_compiler=no 11075 fi 11076 11077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11078 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11079 echo "${ECHO_T}$ac_header_compiler" >&6; } 11080 11081 # Is the header present? 11082 { echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 11083 echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6; } 11084 cat >conftest.$ac_ext <<_ACEOF 11085 /* confdefs.h. */ 11086 _ACEOF 11087 cat confdefs.h >>conftest.$ac_ext 11088 cat >>conftest.$ac_ext <<_ACEOF 11089 /* end confdefs.h. */ 11090 #include <alsa/version.h> 11091 _ACEOF 11092 if { (ac_try="$ac_cpp conftest.$ac_ext" 11093 case "(($ac_try" in 11094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11095 *) ac_try_echo=$ac_try;; 11096 esac 11097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11098 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11099 ac_status=$? 11100 grep -v '^ *+' conftest.er1 >conftest.err 11101 rm -f conftest.er1 11102 cat conftest.err >&5 11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11104 (exit $ac_status); } >/dev/null && { 11105 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11106 test ! -s conftest.err 11107 }; then 11108 ac_header_preproc=yes 11109 else 11110 echo "$as_me: failed program was:" >&5 11111 sed 's/^/| /' conftest.$ac_ext >&5 11112 11113 ac_header_preproc=no 11114 fi 11115 11116 rm -f conftest.err conftest.$ac_ext 11117 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11118 echo "${ECHO_T}$ac_header_preproc" >&6; } 11119 11120 # So? What about this header? 11121 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11122 yes:no: ) 11123 { echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 11124 echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11125 { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 11126 echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 11127 ac_header_preproc=yes 11128 ;; 11129 no:yes:* ) 11130 { echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 11131 echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 11132 { echo "$as_me:$LINENO: WARNING: alsa/version.h: check for missing prerequisite headers?" >&5 11133 echo "$as_me: WARNING: alsa/version.h: check for missing prerequisite headers?" >&2;} 11134 { echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 11135 echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 11136 { echo "$as_me:$LINENO: WARNING: alsa/version.h: section \"Present But Cannot Be Compiled\"" >&5 11137 echo "$as_me: WARNING: alsa/version.h: section \"Present But Cannot Be Compiled\"" >&2;} 11138 { echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 11139 echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 11140 { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 11141 echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 11142 11143 ;; 11144 esac 11145 { echo "$as_me:$LINENO: checking for alsa/version.h" >&5 11146 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6; } 11147 if test "${ac_cv_header_alsa_version_h+set}" = set; then 11148 echo $ECHO_N "(cached) $ECHO_C" >&6 11149 else 11150 ac_cv_header_alsa_version_h=$ac_header_preproc 11151 fi 11152 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 11153 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6; } 11154 11155 fi 11156 if test $ac_cv_header_alsa_version_h = yes; then 5413 ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 5414 if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 11157 5415 ac_pa_use_alsa=1 11158 5416 … … 11165 5423 11166 5424 11167 { echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&511168 echo "${ECHO_T}Checking sound device backend... unix" >&6; }5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&5 5426 $as_echo "Checking sound device backend... unix" >&6; } 11169 5427 11170 5428 ac_pa_use_oss=1 11171 5429 11172 5430 # Check whether --enable-oss was given. 11173 if test "${enable_oss+set}" = set; then 5431 if test "${enable_oss+set}" = set; then : 11174 5432 enableval=$enable_oss; 11175 5433 if test "$enable_oss" = "no"; then 11176 5434 ac_pa_use_oss=0 11177 { echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&511178 echo "${ECHO_T}Checking if OSS audio is disabled... yes" >&6; }5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&5 5436 $as_echo "Checking if OSS audio is disabled... yes" >&6; } 11179 5437 fi 11180 5438 … … 11186 5444 11187 5445 # Check whether --enable-ext_sound was given. 11188 if test "${enable_ext_sound+set}" = set; then 5446 if test "${enable_ext_sound+set}" = set; then : 11189 5447 enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 11190 5448 ac_pjmedia_snd=external 11191 { echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&511192 echo "${ECHO_T}Checking if external sound is set... yes" >&6; }5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&5 5450 $as_echo "Checking if external sound is set... yes" >&6; } 11193 5451 fi 11194 5452 … … 11198 5456 11199 5457 # Check whether --enable-small-filter was given. 11200 if test "${enable_small_filter+set}" = set; then 5458 if test "${enable_small_filter+set}" = set; then : 11201 5459 enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 11202 5460 ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 11203 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&511204 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6; }5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&5 5462 $as_echo "Checking if small filter is disabled... yes" >&6; } 11205 5463 fi 11206 5464 else 11207 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&511208 echo "${ECHO_T}Checking if small filter is disabled... no" >&6; }5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&5 5466 $as_echo "Checking if small filter is disabled... no" >&6; } 11209 5467 fi 11210 5468 … … 11212 5470 11213 5471 # Check whether --enable-large-filter was given. 11214 if test "${enable_large_filter+set}" = set; then 5472 if test "${enable_large_filter+set}" = set; then : 11215 5473 enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 11216 5474 ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 11217 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&511218 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6; }5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&5 5476 $as_echo "Checking if large filter is disabled... yes" >&6; } 11219 5477 fi 11220 5478 else 11221 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&511222 echo "${ECHO_T}Checking if large filter is disabled... no" >&6; }5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&5 5480 $as_echo "Checking if large filter is disabled... no" >&6; } 11223 5481 fi 11224 5482 … … 11226 5484 11227 5485 # Check whether --enable-speex-aec was given. 11228 if test "${enable_speex_aec+set}" = set; then 5486 if test "${enable_speex_aec+set}" = set; then : 11229 5487 enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 11230 5488 ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 11231 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&511232 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6; }5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&5 5490 $as_echo "Checking if Speex AEC is disabled...yes" >&6; } 11233 5491 fi 11234 5492 else 11235 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&511236 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6; }5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&5 5494 $as_echo "Checking if Speex AEC is disabled...no" >&6; } 11237 5495 fi 11238 5496 … … 11240 5498 11241 5499 # Check whether --enable-g711-codec was given. 11242 if test "${enable_g711_codec+set}" = set; then 5500 if test "${enable_g711_codec+set}" = set; then : 11243 5501 enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 11244 5502 ac_no_g711_codec=1 11245 cat >>confdefs.h <<\_ACEOF 11246 #define PJMEDIA_HAS_G711_CODEC 0 11247 _ACEOF 11248 11249 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 11250 echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6; } 5503 $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h 5504 5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 5506 $as_echo "Checking if G.711 codec is disabled...yes" >&6; } 11251 5507 fi 11252 5508 else 11253 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&511254 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6; }5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&5 5510 $as_echo "Checking if G.711 codec is disabled...no" >&6; } 11255 5511 fi 11256 5512 … … 11259 5515 11260 5516 # Check whether --enable-l16-codec was given. 11261 if test "${enable_l16_codec+set}" = set; then 5517 if test "${enable_l16_codec+set}" = set; then : 11262 5518 enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 11263 5519 ac_no_l16_codec=1 11264 cat >>confdefs.h <<\_ACEOF 11265 #define PJMEDIA_HAS_L16_CODEC 0 11266 _ACEOF 11267 11268 { echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 11269 echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6; } 5520 $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h 5521 5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 5523 $as_echo "Checking if L16 codecs are disabled...yes" >&6; } 11270 5524 fi 11271 5525 else 11272 { echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&511273 echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6; }5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&5 5527 $as_echo "Checking if L16 codec is disabled...no" >&6; } 11274 5528 fi 11275 5529 … … 11278 5532 11279 5533 # Check whether --enable-gsm-codec was given. 11280 if test "${enable_gsm_codec+set}" = set; then 5534 if test "${enable_gsm_codec+set}" = set; then : 11281 5535 enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 11282 5536 ac_no_gsm_codec=1 11283 cat >>confdefs.h <<\_ACEOF 11284 #define PJMEDIA_HAS_GSM_CODEC 0 11285 _ACEOF 11286 11287 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 11288 echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6; } 5537 $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h 5538 5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 5540 $as_echo "Checking if GSM codec is disabled...yes" >&6; } 11289 5541 fi 11290 5542 else 11291 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&511292 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6; }5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&5 5544 $as_echo "Checking if GSM codec is disabled...no" >&6; } 11293 5545 fi 11294 5546 … … 11296 5548 11297 5549 # Check whether --enable-g722-codec was given. 11298 if test "${enable_g722_codec+set}" = set; then 5550 if test "${enable_g722_codec+set}" = set; then : 11299 5551 enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 11300 5552 ac_no_g722_codec=1 11301 cat >>confdefs.h <<\_ACEOF 11302 #define PJMEDIA_HAS_G722_CODEC 0 11303 _ACEOF 11304 11305 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 11306 echo "${ECHO_T}Checking if G.722 codec is disabled...yes" >&6; } 5553 $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h 5554 5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 5556 $as_echo "Checking if G.722 codec is disabled...yes" >&6; } 11307 5557 fi 11308 5558 else 11309 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&511310 echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6; }5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&5 5560 $as_echo "Checking if G.722 codec is disabled...no" >&6; } 11311 5561 fi 11312 5562 … … 11314 5564 11315 5565 # Check whether --enable-g7221-codec was given. 11316 if test "${enable_g7221_codec+set}" = set; then 5566 if test "${enable_g7221_codec+set}" = set; then : 11317 5567 enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then 11318 5568 ac_no_g7221_codec=1 11319 cat >>confdefs.h <<\_ACEOF 11320 #define PJMEDIA_HAS_G7221_CODEC 0 11321 _ACEOF 11322 11323 { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...yes" >&5 11324 echo "${ECHO_T}Checking if G.722.1 codec is disabled...yes" >&6; } 5569 $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h 5570 5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 5572 $as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } 11325 5573 fi 11326 5574 else 11327 { echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...no" >&511328 echo "${ECHO_T}Checking if G.722.1 codec is disabled...no" >&6; }5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&5 5576 $as_echo "Checking if G.722.1 codec is disabled...no" >&6; } 11329 5577 fi 11330 5578 … … 11332 5580 11333 5581 # Check whether --enable-speex-codec was given. 11334 if test "${enable_speex_codec+set}" = set; then 5582 if test "${enable_speex_codec+set}" = set; then : 11335 5583 enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 11336 5584 ac_no_speex_codec=1 11337 cat >>confdefs.h <<\_ACEOF 11338 #define PJMEDIA_HAS_SPEEX_CODEC 0 11339 _ACEOF 11340 11341 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 11342 echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6; } 5585 $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h 5586 5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 5588 $as_echo "Checking if Speex codec is disabled...yes" >&6; } 11343 5589 fi 11344 5590 else 11345 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&511346 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6; }5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&5 5592 $as_echo "Checking if Speex codec is disabled...no" >&6; } 11347 5593 fi 11348 5594 … … 11350 5596 11351 5597 # Check whether --enable-ilbc-codec was given. 11352 if test "${enable_ilbc_codec+set}" = set; then 5598 if test "${enable_ilbc_codec+set}" = set; then : 11353 5599 enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 11354 5600 ac_no_ilbc_codec=1 11355 cat >>confdefs.h <<\_ACEOF 11356 #define PJMEDIA_HAS_ILBC_CODEC 0 11357 _ACEOF 11358 11359 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 11360 echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6; } 5601 $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h 5602 5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 5604 $as_echo "Checking if iLBC codec is disabled...yes" >&6; } 11361 5605 fi 11362 5606 else 11363 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&511364 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6; }5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&5 5608 $as_echo "Checking if iLBC codec is disabled...no" >&6; } 11365 5609 fi 11366 5610 11367 5611 11368 5612 # Check whether --enable-libsamplerate was given. 11369 if test "${enable_libsamplerate+set}" = set; then 11370 enableval=$enable_libsamplerate; 11371 { echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 11372 echo $ECHO_N "checking for src_new in -lsamplerate... $ECHO_C" >&6; } 11373 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then 11374 echo $ECHO_N "(cached) $ECHO_C" >&6 5613 if test "${enable_libsamplerate+set}" = set; then : 5614 enableval=$enable_libsamplerate; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 5615 $as_echo_n "checking for src_new in -lsamplerate... " >&6; } 5616 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 5617 $as_echo_n "(cached) " >&6 11375 5618 else 11376 5619 ac_check_lib_save_LIBS=$LIBS 11377 5620 LIBS="-lsamplerate $LIBS" 11378 cat >conftest.$ac_ext <<_ACEOF 11379 /* confdefs.h. */ 11380 _ACEOF 11381 cat confdefs.h >>conftest.$ac_ext 11382 cat >>conftest.$ac_ext <<_ACEOF 5621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11383 5622 /* end confdefs.h. */ 11384 5623 … … 11398 5637 } 11399 5638 _ACEOF 11400 rm -f conftest.$ac_objext conftest$ac_exeext 11401 if { (ac_try="$ac_link" 11402 case "(($ac_try" in 11403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11404 *) ac_try_echo=$ac_try;; 11405 esac 11406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11407 (eval "$ac_link") 2>conftest.er1 11408 ac_status=$? 11409 grep -v '^ *+' conftest.er1 >conftest.err 11410 rm -f conftest.er1 11411 cat conftest.err >&5 11412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11413 (exit $ac_status); } && { 11414 test -z "$ac_c_werror_flag" || 11415 test ! -s conftest.err 11416 } && test -s conftest$ac_exeext && 11417 $as_test_x conftest$ac_exeext; then 5639 if ac_fn_c_try_link "$LINENO"; then : 11418 5640 ac_cv_lib_samplerate_src_new=yes 11419 5641 else 11420 echo "$as_me: failed program was:" >&5 11421 sed 's/^/| /' conftest.$ac_ext >&5 11422 11423 ac_cv_lib_samplerate_src_new=no 11424 fi 11425 11426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11427 conftest$ac_exeext conftest.$ac_ext 5642 ac_cv_lib_samplerate_src_new=no 5643 fi 5644 rm -f core conftest.err conftest.$ac_objext \ 5645 conftest$ac_exeext conftest.$ac_ext 11428 5646 LIBS=$ac_check_lib_save_LIBS 11429 5647 fi 11430 { echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&511431 echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6; }11432 if test $ac_cv_lib_samplerate_src_new = yes; then5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 5649 $as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 5650 if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 11433 5651 cat >>confdefs.h <<_ACEOF 11434 5652 #define HAVE_LIBSAMPLERATE 1 … … 11440 5658 11441 5659 else 11442 { echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&511443 echo "${ECHO_T}Skipping libsamplerate detection" >&6; }5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&5 5661 $as_echo "Skipping libsamplerate detection" >&6; } 11444 5662 11445 5663 fi … … 11448 5666 11449 5667 # Check whether --enable-ipp was given. 11450 if test "${enable_ipp+set}" = set; then 5668 if test "${enable_ipp+set}" = set; then : 11451 5669 enableval=$enable_ipp; 11452 5670 else … … 11458 5676 11459 5677 # Check whether --with-ipp was given. 11460 if test "${with_ipp+set}" = set; then 5678 if test "${with_ipp+set}" = set; then : 11461 5679 withval=$with_ipp; 11462 5680 else … … 11468 5686 11469 5687 # Check whether --with-ipp-samples was given. 11470 if test "${with_ipp_samples+set}" = set; then 5688 if test "${with_ipp_samples+set}" = set; then : 11471 5689 withval=$with_ipp_samples; 11472 5690 else … … 11478 5696 11479 5697 # Check whether --with-ipp-arch was given. 11480 if test "${with_ipp_arch+set}" = set; then 5698 if test "${with_ipp_arch+set}" = set; then : 11481 5699 withval=$with_ipp_arch; 11482 5700 else … … 11487 5705 11488 5706 if test "x$enable_ipp" != "xno"; then 11489 { echo "$as_me:$LINENO: checking Intel IPP location" >&511490 echo $ECHO_N "checking Intel IPP location... $ECHO_C" >&6; }5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&5 5708 $as_echo_n "checking Intel IPP location... " >&6; } 11491 5709 11492 5710 if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 11493 { echo "$as_me:$LINENO: result: $with_ipp" >&511494 echo "${ECHO_T}$with_ipp" >&6; }5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&5 5712 $as_echo "$with_ipp" >&6; } 11495 5713 IPPROOT=$with_ipp 11496 5714 elif test "x$IPPROOT" = "x"; then 11497 5715 if test -d /opt/intel/ipp; then 11498 5716 IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 11499 { echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&511500 echo "${ECHO_T}autodetected in $IPPROOT" >&6; }5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&5 5718 $as_echo "autodetected in $IPPROOT" >&6; } 11501 5719 fi 11502 5720 else 11503 { echo "$as_me:$LINENO: result: $IPPROOT" >&511504 echo "${ECHO_T}$IPPROOT" >&6; }5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&5 5722 $as_echo "$IPPROOT" >&6; } 11505 5723 fi 11506 5724 11507 5725 if test "x$with_ipp_arch" != "xno"; then 11508 5726 IPP_SUFFIX="em64t" 11509 { echo "$as_me:$LINENO: result: IPP arch suffix is set to $IPP_SUFFIX" >&511510 echo "${ECHO_T}IPP arch suffix is set to $IPP_SUFFIX" >&6; }5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to $IPP_SUFFIX" >&5 5728 $as_echo "IPP arch suffix is set to $IPP_SUFFIX" >&6; } 11511 5729 else 11512 5730 IPP_SUFFIX="" 11513 { echo "$as_me:$LINENO: result: IPP arch suffix is set to empty" >&511514 echo "${ECHO_T}IPP arch suffix is set to empty" >&6; }5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPP arch suffix is set to empty" >&5 5732 $as_echo "IPP arch suffix is set to empty" >&6; } 11515 5733 fi 11516 5734 11517 5735 if test x$IPPROOT = x; then 11518 { { 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 11519 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;} 11520 { (exit 1); exit 1; }; } 5736 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 11521 5737 elif test ! -d $IPPROOT; then 11522 { { echo "$as_me:$LINENO: error: not found" >&5 11523 echo "$as_me: error: not found" >&2;} 11524 { (exit 1); exit 1; }; } 5738 as_fn_error "not found" "$LINENO" 5 11525 5739 elif test ! -d $IPPROOT/include; then 11526 { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 11527 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 11528 { (exit 1); exit 1; }; } 5740 as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 11529 5741 else 11530 5742 # IPP directory looks okay. … … 11559 5771 11560 5772 11561 { echo "$as_me:$LINENO: checking Intel IPP usability" >&5 11562 echo $ECHO_N "checking Intel IPP usability... $ECHO_C" >&6; } 11563 cat >conftest.$ac_ext <<_ACEOF 11564 /* confdefs.h. */ 11565 _ACEOF 11566 cat confdefs.h >>conftest.$ac_ext 11567 cat >>conftest.$ac_ext <<_ACEOF 5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 5774 $as_echo_n "checking Intel IPP usability... " >&6; } 5775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11568 5776 /* end confdefs.h. */ 11569 5777 #include <ippcore.h> … … 11577 5785 } 11578 5786 _ACEOF 11579 rm -f conftest.$ac_objext conftest$ac_exeext 11580 if { (ac_try="$ac_link" 11581 case "(($ac_try" in 11582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11583 *) ac_try_echo=$ac_try;; 11584 esac 11585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11586 (eval "$ac_link") 2>conftest.er1 11587 ac_status=$? 11588 grep -v '^ *+' conftest.er1 >conftest.err 11589 rm -f conftest.er1 11590 cat conftest.err >&5 11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11592 (exit $ac_status); } && { 11593 test -z "$ac_c_werror_flag" || 11594 test ! -s conftest.err 11595 } && test -s conftest$ac_exeext && 11596 $as_test_x conftest$ac_exeext; then 11597 { echo "$as_me:$LINENO: result: ok" >&5 11598 echo "${ECHO_T}ok" >&6; } 11599 else 11600 echo "$as_me: failed program was:" >&5 11601 sed 's/^/| /' conftest.$ac_ext >&5 11602 11603 { { echo "$as_me:$LINENO: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 11604 See \`config.log' for more details." >&5 11605 echo "$as_me: error: Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 11606 See \`config.log' for more details." >&2;} 11607 { (exit run with --help for more info); exit run with --help for more info; }; } 11608 fi 11609 11610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11611 conftest$ac_exeext conftest.$ac_ext 5787 if ac_fn_c_try_link "$LINENO"; then : 5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 5789 $as_echo "ok" >&6; } 5790 else 5791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5793 { as_fn_set_status run with --help for more info 5794 as_fn_error "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly 5795 See \`config.log' for more details." "$LINENO" 5; }; } 5796 fi 5797 rm -f core conftest.err conftest.$ac_objext \ 5798 conftest$ac_exeext conftest.$ac_ext 11612 5799 11613 5800 CFLAGS="$SAVED_CFLAGS" … … 11616 5803 fi 11617 5804 11618 { echo "$as_me:$LINENO: checking Intel IPP samples location" >&511619 echo $ECHO_N "checking Intel IPP samples location... $ECHO_C" >&6; }5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&5 5806 $as_echo_n "checking Intel IPP samples location... " >&6; } 11620 5807 11621 5808 if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 11622 { echo "$as_me:$LINENO: result: $with_ipp_samples" >&511623 echo "${ECHO_T}$with_ipp_samples" >&6; }5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&5 5810 $as_echo "$with_ipp_samples" >&6; } 11624 5811 IPPSAMPLES=$with_ipp_samples 11625 5812 elif test "x$IPPSAMPLES" = "x"; then 11626 5813 if test -d /opt/intel/ipp-samples; then 11627 5814 IPPSAMPLES=/opt/intel/ipp-samples 11628 { echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&511629 echo "${ECHO_T}autodetected in $IPPSAMPLES" >&6; }5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&5 5816 $as_echo "autodetected in $IPPSAMPLES" >&6; } 11630 5817 fi 11631 5818 else 11632 { echo "$as_me:$LINENO: result: $IPPSAMPLES" >&511633 echo "${ECHO_T}$IPPSAMPLES" >&6; }5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&5 5820 $as_echo "$IPPSAMPLES" >&6; } 11634 5821 fi 11635 5822 11636 5823 if test x$IPPSAMPLES = x; then 11637 { { 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 11638 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;} 11639 { (exit 1); exit 1; }; } 5824 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 11640 5825 elif test ! -d $IPPSAMPLES; then 11641 { { echo "$as_me:$LINENO: error: not found" >&5 11642 echo "$as_me: error: not found" >&2;} 11643 { (exit 1); exit 1; }; } 5826 as_fn_error "not found" "$LINENO" 5 11644 5827 elif test ! -d $IPPSAMPLES/speech-codecs; then 11645 { { echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 11646 echo "$as_me: error: directory doesn't seem to be valid" >&2;} 11647 { (exit 1); exit 1; }; } 5828 as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 11648 5829 else 11649 5830 # Remove trailing backslash … … 11651 5832 11652 5833 # Guess the libusc.a/libspeech.a build location 11653 { echo "$as_me:$LINENO: checking Intel IPP USC build location" >&511654 echo $ECHO_N "checking Intel IPP USC build location... $ECHO_C" >&6; }5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&5 5835 $as_echo_n "checking Intel IPP USC build location... " >&6; } 11655 5836 if test -d $IPPSAMPLES/speech-codecs/bin; then 11656 5837 IPPVER=5 … … 11665 5846 IPPSAMP_DIR=`ls -d $IPPSAMPLES/speech-codecs/_bin/*icc*/lib | head -1` 11666 5847 else 11667 { { echo "$as_me:$LINENO: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 11668 See \`config.log' for more details." >&5 11669 echo "$as_me: error: Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 11670 See \`config.log' for more details." >&2;} 11671 { (exit 1); exit 1; }; } 5848 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5850 as_fn_error "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 5851 See \`config.log' for more details." "$LINENO" 5; } 11672 5852 fi 11673 5853 else 11674 { { 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? 11675 See \`config.log' for more details." >&5 11676 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? 11677 See \`config.log' for more details." >&2;} 11678 { (exit 1); exit 1; }; } 5854 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5856 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? 5857 See \`config.log' for more details." "$LINENO" 5; } 11679 5858 fi 11680 5859 11681 5860 # Test the directory 11682 5861 if test ! -d $IPPSAMP_DIR; then 11683 { { echo "$as_me:$LINENO: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 11684 See \`config.log' for more details." >&5 11685 echo "$as_me: error: There's something wrong with this script, directory $IPPSAMP_DIR does not exist 11686 See \`config.log' for more details." >&2;} 11687 { (exit 1); exit 1; }; } 5862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5864 as_fn_error "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 5865 See \`config.log' for more details." "$LINENO" 5; } 11688 5866 exit 1; 11689 5867 fi … … 11696 5874 IPPSAMP_LDLIBS="-lspeech" 11697 5875 else 11698 { { echo "$as_me:$LINENO: error: bug in this script: unsupported IPP version 11699 See \`config.log' for more details." >&5 11700 echo "$as_me: error: bug in this script: unsupported IPP version 11701 See \`config.log' for more details." >&2;} 11702 { (exit 1); exit 1; }; } 5876 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5878 as_fn_error "bug in this script: unsupported IPP version 5879 See \`config.log' for more details." "$LINENO" 5; } 11703 5880 fi 11704 5881 11705 5882 if test ! -f $IPPSAMP_DIR/$IPPSAMP_LIBS; then 11706 { { echo "$as_me:$LINENO: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 11707 See \`config.log' for more details." >&5 11708 echo "$as_me: error: $IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 11709 See \`config.log' for more details." >&2;} 11710 { (exit 1); exit 1; }; } 5883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5885 as_fn_error "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 5886 See \`config.log' for more details." "$LINENO" 5; } 11711 5887 fi 11712 5888 11713 { echo "$as_me:$LINENO: result: $IPPSAMP_DIR" >&511714 echo "${ECHO_T}$IPPSAMP_DIR" >&6; }5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMP_DIR" >&5 5890 $as_echo "$IPPSAMP_DIR" >&6; } 11715 5891 11716 5892 SAVED_CFLAGS="$CFLAGS" … … 11723 5899 LIBS="$IPPSAMP_LDLIBS $LIBS" 11724 5900 11725 { echo "$as_me:$LINENO: checking Intel IPP USC usability" >&5 11726 echo $ECHO_N "checking Intel IPP USC usability... $ECHO_C" >&6; } 11727 cat >conftest.$ac_ext <<_ACEOF 11728 /* confdefs.h. */ 11729 _ACEOF 11730 cat confdefs.h >>conftest.$ac_ext 11731 cat >>conftest.$ac_ext <<_ACEOF 5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 5902 $as_echo_n "checking Intel IPP USC usability... " >&6; } 5903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11732 5904 /* end confdefs.h. */ 11733 5905 #include <usc.h> … … 11741 5913 } 11742 5914 _ACEOF 11743 rm -f conftest.$ac_objext conftest$ac_exeext 11744 if { (ac_try="$ac_link" 11745 case "(($ac_try" in 11746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11747 *) ac_try_echo=$ac_try;; 11748 esac 11749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11750 (eval "$ac_link") 2>conftest.er1 11751 ac_status=$? 11752 grep -v '^ *+' conftest.er1 >conftest.err 11753 rm -f conftest.er1 11754 cat conftest.err >&5 11755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11756 (exit $ac_status); } && { 11757 test -z "$ac_c_werror_flag" || 11758 test ! -s conftest.err 11759 } && test -s conftest$ac_exeext && 11760 $as_test_x conftest$ac_exeext; then 11761 { echo "$as_me:$LINENO: result: ok" >&5 11762 echo "${ECHO_T}ok" >&6; } 11763 else 11764 echo "$as_me: failed program was:" >&5 11765 sed 's/^/| /' conftest.$ac_ext >&5 11766 11767 { { echo "$as_me:$LINENO: error: failed 11768 See \`config.log' for more details." >&5 11769 echo "$as_me: error: failed 11770 See \`config.log' for more details." >&2;} 11771 { (exit 1); exit 1; }; } 11772 fi 11773 11774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11775 conftest$ac_exeext conftest.$ac_ext 5915 if ac_fn_c_try_link "$LINENO"; then : 5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 5917 $as_echo "ok" >&6; } 5918 else 5919 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5921 as_fn_error "failed 5922 See \`config.log' for more details." "$LINENO" 5; } 5923 fi 5924 rm -f core conftest.err conftest.$ac_objext \ 5925 conftest$ac_exeext conftest.$ac_ext 11776 5926 11777 5927 CFLAGS="$SAVED_CFLAGS" … … 11793 5943 export IPP_LIBS=$IPP_LIBS" 11794 5944 else 11795 { echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&511796 echo "${ECHO_T}Skipping Intel IPP settings (not wanted)" >&6; }5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&5 5946 $as_echo "Skipping Intel IPP settings (not wanted)" >&6; } 11797 5947 fi 11798 5948 … … 11801 5951 11802 5952 # Check whether --enable-ssl was given. 11803 if test "${enable_ssl+set}" = set; then 5953 if test "${enable_ssl+set}" = set; then : 11804 5954 enableval=$enable_ssl; 11805 5955 if test "$enable_ssl" = "no"; then 11806 5956 ac_no_ssl=1 11807 { echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&511808 echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6; }5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&5 5958 $as_echo "Checking if SSL support is disabled... yes" >&6; } 11809 5959 fi 11810 5960 11811 5961 else 11812 5962 11813 { echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 11814 echo "${ECHO_T}checking for OpenSSL installations.." >&6; } 11815 11816 11817 11818 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 11819 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 11820 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 11821 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 11822 echo $ECHO_N "(cached) $ECHO_C" >&6 11823 fi 11824 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 11825 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 11826 else 11827 # Is the header compilable? 11828 { echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 11829 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; } 11830 cat >conftest.$ac_ext <<_ACEOF 11831 /* confdefs.h. */ 11832 _ACEOF 11833 cat confdefs.h >>conftest.$ac_ext 11834 cat >>conftest.$ac_ext <<_ACEOF 11835 /* end confdefs.h. */ 11836 $ac_includes_default 11837 #include <openssl/ssl.h> 11838 _ACEOF 11839 rm -f conftest.$ac_objext 11840 if { (ac_try="$ac_compile" 11841 case "(($ac_try" in 11842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11843 *) ac_try_echo=$ac_try;; 11844 esac 11845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11846 (eval "$ac_compile") 2>conftest.er1 11847 ac_status=$? 11848 grep -v '^ *+' conftest.er1 >conftest.err 11849 rm -f conftest.er1 11850 cat conftest.err >&5 11851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11852 (exit $ac_status); } && { 11853 test -z "$ac_c_werror_flag" || 11854 test ! -s conftest.err 11855 } && test -s conftest.$ac_objext; then 11856 ac_header_compiler=yes 11857 else 11858 echo "$as_me: failed program was:" >&5 11859 sed 's/^/| /' conftest.$ac_ext >&5 11860 11861 ac_header_compiler=no 11862 fi 11863 11864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11865 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11866 echo "${ECHO_T}$ac_header_compiler" >&6; } 11867 11868 # Is the header present? 11869 { echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 11870 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; } 11871 cat >conftest.$ac_ext <<_ACEOF 11872 /* confdefs.h. */ 11873 _ACEOF 11874 cat confdefs.h >>conftest.$ac_ext 11875 cat >>conftest.$ac_ext <<_ACEOF 11876 /* end confdefs.h. */ 11877 #include <openssl/ssl.h> 11878 _ACEOF 11879 if { (ac_try="$ac_cpp conftest.$ac_ext" 11880 case "(($ac_try" in 11881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11882 *) ac_try_echo=$ac_try;; 11883 esac 11884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11885 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11886 ac_status=$? 11887 grep -v '^ *+' conftest.er1 >conftest.err 11888 rm -f conftest.er1 11889 cat conftest.err >&5 11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11891 (exit $ac_status); } >/dev/null && { 11892 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11893 test ! -s conftest.err 11894 }; then 11895 ac_header_preproc=yes 11896 else 11897 echo "$as_me: failed program was:" >&5 11898 sed 's/^/| /' conftest.$ac_ext >&5 11899 11900 ac_header_preproc=no 11901 fi 11902 11903 rm -f conftest.err conftest.$ac_ext 11904 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11905 echo "${ECHO_T}$ac_header_preproc" >&6; } 11906 11907 # So? What about this header? 11908 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11909 yes:no: ) 11910 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 11911 echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11912 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 11913 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 11914 ac_header_preproc=yes 11915 ;; 11916 no:yes:* ) 11917 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 11918 echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 11919 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&5 11920 echo "$as_me: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&2;} 11921 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 11922 echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 11923 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5 11924 echo "$as_me: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;} 11925 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 11926 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 11927 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 11928 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 11929 11930 ;; 11931 esac 11932 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 11933 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; } 11934 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 11935 echo $ECHO_N "(cached) $ECHO_C" >&6 11936 else 11937 ac_cv_header_openssl_ssl_h=$ac_header_preproc 11938 fi 11939 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 11940 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; } 11941 11942 fi 11943 if test $ac_cv_header_openssl_ssl_h = yes; then 5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 5964 $as_echo "checking for OpenSSL installations.." >&6; } 5965 5966 5967 5968 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 5969 if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 11944 5970 openssl_h_present=1 11945 5971 fi 11946 5972 11947 5973 11948 { echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&511949 echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6; }11950 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 11951 echo $ECHO_N "(cached) $ECHO_C" >&65974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 5975 $as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 5976 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 5977 $as_echo_n "(cached) " >&6 11952 5978 else 11953 5979 ac_check_lib_save_LIBS=$LIBS 11954 5980 LIBS="-lcrypto $LIBS" 11955 cat >conftest.$ac_ext <<_ACEOF 11956 /* confdefs.h. */ 11957 _ACEOF 11958 cat confdefs.h >>conftest.$ac_ext 11959 cat >>conftest.$ac_ext <<_ACEOF 5981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11960 5982 /* end confdefs.h. */ 11961 5983 … … 11975 5997 } 11976 5998 _ACEOF 11977 rm -f conftest.$ac_objext conftest$ac_exeext 11978 if { (ac_try="$ac_link" 11979 case "(($ac_try" in 11980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11981 *) ac_try_echo=$ac_try;; 11982 esac 11983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11984 (eval "$ac_link") 2>conftest.er1 11985 ac_status=$? 11986 grep -v '^ *+' conftest.er1 >conftest.err 11987 rm -f conftest.er1 11988 cat conftest.err >&5 11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11990 (exit $ac_status); } && { 11991 test -z "$ac_c_werror_flag" || 11992 test ! -s conftest.err 11993 } && test -s conftest$ac_exeext && 11994 $as_test_x conftest$ac_exeext; then 5999 if ac_fn_c_try_link "$LINENO"; then : 11995 6000 ac_cv_lib_crypto_ERR_load_BIO_strings=yes 11996 6001 else 11997 echo "$as_me: failed program was:" >&5 11998 sed 's/^/| /' conftest.$ac_ext >&5 11999 12000 ac_cv_lib_crypto_ERR_load_BIO_strings=no 12001 fi 12002 12003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12004 conftest$ac_exeext conftest.$ac_ext 6002 ac_cv_lib_crypto_ERR_load_BIO_strings=no 6003 fi 6004 rm -f core conftest.err conftest.$ac_objext \ 6005 conftest$ac_exeext conftest.$ac_ext 12005 6006 LIBS=$ac_check_lib_save_LIBS 12006 6007 fi 12007 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&512008 echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; }12009 if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 6009 $as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 6010 if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 12010 6011 libcrypto_present=1 && LIBS="$LIBS -lcrypto" 12011 6012 fi 12012 6013 12013 { echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&512014 echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6; }12015 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 12016 echo $ECHO_N "(cached) $ECHO_C" >&66014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 6015 $as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 6016 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 6017 $as_echo_n "(cached) " >&6 12017 6018 else 12018 6019 ac_check_lib_save_LIBS=$LIBS 12019 6020 LIBS="-lssl $LIBS" 12020 cat >conftest.$ac_ext <<_ACEOF 12021 /* confdefs.h. */ 12022 _ACEOF 12023 cat confdefs.h >>conftest.$ac_ext 12024 cat >>conftest.$ac_ext <<_ACEOF 6021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12025 6022 /* end confdefs.h. */ 12026 6023 … … 12040 6037 } 12041 6038 _ACEOF 12042 rm -f conftest.$ac_objext conftest$ac_exeext 12043 if { (ac_try="$ac_link" 12044 case "(($ac_try" in 12045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12046 *) ac_try_echo=$ac_try;; 12047 esac 12048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12049 (eval "$ac_link") 2>conftest.er1 12050 ac_status=$? 12051 grep -v '^ *+' conftest.er1 >conftest.err 12052 rm -f conftest.er1 12053 cat conftest.err >&5 12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12055 (exit $ac_status); } && { 12056 test -z "$ac_c_werror_flag" || 12057 test ! -s conftest.err 12058 } && test -s conftest$ac_exeext && 12059 $as_test_x conftest$ac_exeext; then 6039 if ac_fn_c_try_link "$LINENO"; then : 12060 6040 ac_cv_lib_ssl_SSL_library_init=yes 12061 6041 else 12062 echo "$as_me: failed program was:" >&5 12063 sed 's/^/| /' conftest.$ac_ext >&5 12064 12065 ac_cv_lib_ssl_SSL_library_init=no 12066 fi 12067 12068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12069 conftest$ac_exeext conftest.$ac_ext 6042 ac_cv_lib_ssl_SSL_library_init=no 6043 fi 6044 rm -f core conftest.err conftest.$ac_objext \ 6045 conftest$ac_exeext conftest.$ac_ext 12070 6046 LIBS=$ac_check_lib_save_LIBS 12071 6047 fi 12072 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&512073 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6; }12074 if test $ac_cv_lib_ssl_SSL_library_init = yes; then6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 6049 $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 6050 if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 12075 6051 libssl_present=1 && LIBS="$LIBS -lssl" 12076 6052 fi 12077 6053 12078 6054 if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 12079 { echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&512080 echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6; }6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&5 6056 $as_echo "OpenSSL library found, SSL support enabled" >&6; } 12081 6057 # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 12082 6058 #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 12083 cat >>confdefs.h <<\_ACEOF 12084 #define PJ_HAS_SSL_SOCK 1 12085 _ACEOF 6059 $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 12086 6060 12087 6061 else 12088 { echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&512089 echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6; }6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 6063 $as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; } 12090 6064 fi 12091 6065 … … 12096 6070 12097 6071 12098 { echo "$as_me:$LINENO: checking if select() needs correct nfds" >&512099 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6; }6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&5 6073 $as_echo_n "checking if select() needs correct nfds... " >&6; } 12100 6074 case $target in 12101 *rtems*) cat >>confdefs.h <<\_ACEOF 12102 #define PJ_SELECT_NEEDS_NFDS 1 12103 _ACEOF 12104 12105 { echo "$as_me:$LINENO: result: yes" >&5 12106 echo "${ECHO_T}yes" >&6; } 6075 *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h 6076 6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6078 $as_echo "yes" >&6; } 12107 6079 ;; 12108 *) cat >>confdefs.h <<\_ACEOF 12109 #define PJ_SELECT_NEEDS_NFDS 0 12110 _ACEOF 12111 12112 { echo "$as_me:$LINENO: result: no (default)" >&5 12113 echo "${ECHO_T}no (default)" >&6; } 12114 { echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 12115 echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6; } 6080 *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h 6081 6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6083 $as_echo "no (default)" >&6; } 6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 6085 $as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } 12116 6086 ;; 12117 6087 esac 12118 6088 12119 { echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&512120 echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6; }6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&5 6090 $as_echo_n "checking if pj_thread_create() should enforce stack size... " >&6; } 12121 6091 case $target in 12122 *rtems*) cat >>confdefs.h <<\_ACEOF 12123 #define PJ_THREAD_SET_STACK_SIZE 1 12124 _ACEOF 12125 12126 { echo "$as_me:$LINENO: result: yes" >&5 12127 echo "${ECHO_T}yes" >&6; } 6092 *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h 6093 6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6095 $as_echo "yes" >&6; } 12128 6096 ;; 12129 *) cat >>confdefs.h <<\_ACEOF 12130 #define PJ_THREAD_SET_STACK_SIZE 0 12131 _ACEOF 12132 12133 { echo "$as_me:$LINENO: result: no (default)" >&5 12134 echo "${ECHO_T}no (default)" >&6; } 6097 *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h 6098 6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6100 $as_echo "no (default)" >&6; } 12135 6101 ;; 12136 6102 esac 12137 6103 12138 { echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&512139 echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6; }6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&5 6105 $as_echo_n "checking if pj_thread_create() should allocate stack... " >&6; } 12140 6106 case $target in 12141 *rtems*) cat >>confdefs.h <<\_ACEOF 12142 #define PJ_THREAD_ALLOCATE_STACK 1 12143 _ACEOF 12144 12145 { echo "$as_me:$LINENO: result: yes" >&5 12146 echo "${ECHO_T}yes" >&6; } 6107 *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h 6108 6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6110 $as_echo "yes" >&6; } 12147 6111 ;; 12148 *) cat >>confdefs.h <<\_ACEOF 12149 #define PJ_THREAD_ALLOCATE_STACK 0 12150 _ACEOF 12151 12152 { echo "$as_me:$LINENO: result: no (default)" >&5 12153 echo "${ECHO_T}no (default)" >&6; } 6112 *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h 6113 6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 6115 $as_echo "no (default)" >&6; } 12154 6116 ;; 12155 6117 esac … … 12157 6119 case $target in 12158 6120 *mingw* | *cygw* | *win32* | *w32* ) 12159 cat >>confdefs.h <<\_ACEOF 12160 #define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 12161 _ACEOF 6121 $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 12162 6122 12163 6123 ;; 12164 *) cat >>confdefs.h <<\_ACEOF 12165 #define PJ_BLOCKING_ERROR_VAL EAGAIN 12166 _ACEOF 12167 12168 { echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 12169 echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 6124 *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h 6125 6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 6127 $as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 12170 6128 ;; 12171 6129 esac … … 12173 6131 case $target in 12174 6132 *mingw* | *cygw* | *win32* | *w32* ) 12175 cat >>confdefs.h <<\_ACEOF 12176 #define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 12177 _ACEOF 6133 $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 12178 6134 12179 6135 ;; 12180 *) cat >>confdefs.h <<\_ACEOF 12181 #define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 12182 _ACEOF 12183 12184 { echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 12185 echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 6136 *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h 6137 6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 6139 $as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 12186 6140 ;; 12187 6141 esac … … 12238 6192 *${as_nl}*) 12239 6193 case $ac_var in #( 12240 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&512241 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;6194 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6195 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12242 6196 esac 12243 6197 case $ac_var in #( 12244 6198 _ | IFS | as_nl) ;; #( 12245 *) $as_unset $ac_var ;; 6199 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6200 *) { eval $ac_var=; unset $ac_var;} ;; 12246 6201 esac ;; 12247 6202 esac … … 12251 6206 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12252 6207 *${as_nl}ac_space=\ *) 12253 # `set' does not quote correctly, so add quotes (double-quote12254 # substitution turns \\\\ into \\, and sed turns \\ into \ ).6208 # `set' does not quote correctly, so add quotes: double-quote 6209 # substitution turns \\\\ into \\, and sed turns \\ into \. 12255 6210 sed -n \ 12256 6211 "s/'/'\\\\''/g; … … 12275 6230 if test -w "$cache_file"; then 12276 6231 test "x$cache_file" != "x/dev/null" && 12277 { echo "$as_me:$LINENO: updating cache $cache_file" >&512278 echo "$as_me: updating cache $cache_file" >&6;}6232 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6233 $as_echo "$as_me: updating cache $cache_file" >&6;} 12279 6234 cat confcache >$cache_file 12280 6235 else 12281 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&512282 echo "$as_me: not updating unwritable cache $cache_file" >&6;}6236 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6237 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12283 6238 fi 12284 6239 fi … … 12296 6251 # 1. Remove the extension, and $U if already installed. 12297 6252 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 12298 ac_i=` echo "$ac_i" | sed "$ac_script"`6253 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 12299 6254 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12300 6255 # will be set to the directory where LIBOBJS objects are built. 12301 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"12302 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'6256 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6257 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12303 6258 done 12304 6259 LIBOBJS=$ac_libobjs … … 12308 6263 12309 6264 6265 12310 6266 : ${CONFIG_STATUS=./config.status} 6267 ac_write_fail=0 12311 6268 ac_clean_files_save=$ac_clean_files 12312 6269 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12313 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 12314 echo "$as_me: creating $CONFIG_STATUS" >&6;} 12315 cat >$CONFIG_STATUS <<_ACEOF 6270 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6271 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6272 as_write_fail=0 6273 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12316 6274 #! $SHELL 12317 6275 # Generated by $as_me. … … 12323 6281 ac_cs_recheck=false 12324 6282 ac_cs_silent=false 6283 12325 6284 SHELL=\${CONFIG_SHELL-$SHELL} 12326 _ACEOF 12327 12328 cat >>$CONFIG_STATUS <<\_A CEOF12329 ## -------------------- -##12330 ## M4sh Initialization. 12331 ## -------------------- -##6285 export SHELL 6286 _ASEOF 6287 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6288 ## -------------------- ## 6289 ## M4sh Initialization. ## 6290 ## -------------------- ## 12332 6291 12333 6292 # Be more Bourne compatible 12334 6293 DUALCASE=1; export DUALCASE # for MKS sh 12335 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6294 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12336 6295 emulate sh 12337 6296 NULLCMD=: 12338 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which6297 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 12339 6298 # is contrary to our usage. Disable this feature. 12340 6299 alias -g '${1+"$@"}'='"$@"' 12341 6300 setopt NO_GLOB_SUBST 12342 6301 else 12343 case `(set -o) 2>/dev/null` in 12344 *posix*) set -o posix ;; 6302 case `(set -o) 2>/dev/null` in #( 6303 *posix*) : 6304 set -o posix ;; #( 6305 *) : 6306 ;; 12345 6307 esac 12346 12347 fi 12348 12349 12350 12351 12352 # PATH needs CR 12353 # Avoid depending upon Character Ranges. 12354 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12355 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12356 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12357 as_cr_digits='0123456789' 12358 as_cr_alnum=$as_cr_Letters$as_cr_digits 6308 fi 6309 6310 6311 as_nl=' 6312 ' 6313 export as_nl 6314 # Printing a long string crashes Solaris 7 /usr/bin/printf. 6315 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6316 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6317 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6318 # Prefer a ksh shell builtin over an external printf program on Solaris, 6319 # but without wasting forks for bash or zsh. 6320 if test -z "$BASH_VERSION$ZSH_VERSION" \ 6321 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6322 as_echo='print -r --' 6323 as_echo_n='print -rn --' 6324 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6325 as_echo='printf %s\n' 6326 as_echo_n='printf %s' 6327 else 6328 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6329 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6330 as_echo_n='/usr/ucb/echo -n' 6331 else 6332 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6333 as_echo_n_body='eval 6334 arg=$1; 6335 case $arg in #( 6336 *"$as_nl"*) 6337 expr "X$arg" : "X\\(.*\\)$as_nl"; 6338 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6339 esac; 6340 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6341 ' 6342 export as_echo_n_body 6343 as_echo_n='sh -c $as_echo_n_body as_echo' 6344 fi 6345 export as_echo_body 6346 as_echo='sh -c $as_echo_body as_echo' 6347 fi 12359 6348 12360 6349 # The user is always right. 12361 6350 if test "${PATH_SEPARATOR+set}" != set; then 12362 echo "#! /bin/sh" >conf$$.sh 12363 echo "exit 0" >>conf$$.sh 12364 chmod +x conf$$.sh 12365 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 12366 PATH_SEPARATOR=';' 12367 else 12368 PATH_SEPARATOR=: 12369 fi 12370 rm -f conf$$.sh 12371 fi 12372 12373 # Support unset when possible. 12374 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 12375 as_unset=unset 12376 else 12377 as_unset=false 6351 PATH_SEPARATOR=: 6352 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6353 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6354 PATH_SEPARATOR=';' 6355 } 12378 6356 fi 12379 6357 … … 12384 6362 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 12385 6363 # splitting by setting IFS to empty value.) 12386 as_nl='12387 '12388 6364 IFS=" "" $as_nl" 12389 6365 12390 6366 # Find who we are. Look in the path if we contain no directory separator. 12391 case $0 in 6367 case $0 in #(( 12392 6368 *[\\/]* ) as_myself=$0 ;; 12393 6369 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 12396 6372 IFS=$as_save_IFS 12397 6373 test -z "$as_dir" && as_dir=. 12398 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break12399 done6374 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6375 done 12400 6376 IFS=$as_save_IFS 12401 6377 … … 12408 6384 fi 12409 6385 if test ! -f "$as_myself"; then 12410 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12411 { (exit 1); exit 1; } 12412 fi 12413 12414 # Work around bugs in pre-3.0 UWIN ksh. 12415 for as_var in ENV MAIL MAILPATH 12416 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6386 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6387 exit 1 6388 fi 6389 6390 # Unset variables that we do not need and which cause bugs (e.g. in 6391 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6392 # suppresses any "Segmentation fault" message there. '((' could 6393 # trigger a bug in pdksh 5.2.14. 6394 for as_var in BASH_ENV ENV MAIL MAILPATH 6395 do eval test x\${$as_var+set} = xset \ 6396 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12417 6397 done 12418 6398 PS1='$ ' … … 12421 6401 12422 6402 # NLS nuisances. 12423 for as_var in \ 12424 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 12425 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 12426 LC_TELEPHONE LC_TIME 12427 do 12428 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 12429 eval $as_var=C; export $as_var 12430 else 12431 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6403 LC_ALL=C 6404 export LC_ALL 6405 LANGUAGE=C 6406 export LANGUAGE 6407 6408 # CDPATH. 6409 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6410 6411 6412 # as_fn_error ERROR [LINENO LOG_FD] 6413 # --------------------------------- 6414 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6415 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6416 # script with status $?, using 1 if that was 0. 6417 as_fn_error () 6418 { 6419 as_status=$?; test $as_status -eq 0 && as_status=1 6420 if test "$3"; then 6421 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6422 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 12432 6423 fi 12433 done 12434 12435 # Required to use basename. 6424 $as_echo "$as_me: error: $1" >&2 6425 as_fn_exit $as_status 6426 } # as_fn_error 6427 6428 6429 # as_fn_set_status STATUS 6430 # ----------------------- 6431 # Set $? to STATUS, without forking. 6432 as_fn_set_status () 6433 { 6434 return $1 6435 } # as_fn_set_status 6436 6437 # as_fn_exit STATUS 6438 # ----------------- 6439 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6440 as_fn_exit () 6441 { 6442 set +e 6443 as_fn_set_status $1 6444 exit $1 6445 } # as_fn_exit 6446 6447 # as_fn_unset VAR 6448 # --------------- 6449 # Portably unset VAR. 6450 as_fn_unset () 6451 { 6452 { eval $1=; unset $1;} 6453 } 6454 as_unset=as_fn_unset 6455 # as_fn_append VAR VALUE 6456 # ---------------------- 6457 # Append the text in VALUE to the end of the definition contained in VAR. Take 6458 # advantage of any shell optimizations that allow amortized linear growth over 6459 # repeated appends, instead of the typical quadratic growth present in naive 6460 # implementations. 6461 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6462 eval 'as_fn_append () 6463 { 6464 eval $1+=\$2 6465 }' 6466 else 6467 as_fn_append () 6468 { 6469 eval $1=\$$1\$2 6470 } 6471 fi # as_fn_append 6472 6473 # as_fn_arith ARG... 6474 # ------------------ 6475 # Perform arithmetic evaluation on the ARGs, and store the result in the 6476 # global $as_val. Take advantage of shells that can avoid forks. The arguments 6477 # must be portable across $(()) and expr. 6478 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6479 eval 'as_fn_arith () 6480 { 6481 as_val=$(( $* )) 6482 }' 6483 else 6484 as_fn_arith () 6485 { 6486 as_val=`expr "$@" || test $? -eq 1` 6487 } 6488 fi # as_fn_arith 6489 6490 12436 6491 if expr a : '\(a\)' >/dev/null 2>&1 && 12437 6492 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 12447 6502 fi 12448 6503 12449 12450 # Name of the executable. 6504 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6505 as_dirname=dirname 6506 else 6507 as_dirname=false 6508 fi 6509 12451 6510 as_me=`$as_basename -- "$0" || 12452 6511 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 12453 6512 X"$0" : 'X\(//\)$' \| \ 12454 6513 X"$0" : 'X\(/\)' \| . 2>/dev/null || 12455 echo X/"$0" |6514 $as_echo X/"$0" | 12456 6515 sed '/^.*\/\([^/][^/]*\)\/*$/{ 12457 6516 s//\1/ … … 12468 6527 s/.*/./; q'` 12469 6528 12470 # CDPATH. 12471 $as_unset CDPATH 12472 12473 12474 12475 as_lineno_1=$LINENO 12476 as_lineno_2=$LINENO 12477 test "x$as_lineno_1" != "x$as_lineno_2" && 12478 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 12479 12480 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 12481 # uniformly replaced by the line number. The first 'sed' inserts a 12482 # line-number line after each line using $LINENO; the second 'sed' 12483 # does the real work. The second script uses 'N' to pair each 12484 # line-number line with the line containing $LINENO, and appends 12485 # trailing '-' during substitution so that $LINENO is not a special 12486 # case at line end. 12487 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 12488 # scripts with optimization help from Paolo Bonzini. Blame Lee 12489 # E. McMahon (1931-1989) for sed's syntax. :-) 12490 sed -n ' 12491 p 12492 /[$]LINENO/= 12493 ' <$as_myself | 12494 sed ' 12495 s/[$]LINENO.*/&-/ 12496 t lineno 12497 b 12498 :lineno 12499 N 12500 :loop 12501 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 12502 t loop 12503 s/-\n.*// 12504 ' >$as_me.lineno && 12505 chmod +x "$as_me.lineno" || 12506 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 12507 { (exit 1); exit 1; }; } 12508 12509 # Don't try to exec as it changes $[0], causing all sort of problems 12510 # (the dirname of $[0] is not the place where we might find the 12511 # original and so on. Autoconf is especially sensitive to this). 12512 . "./$as_me.lineno" 12513 # Exit status is that of the last command. 12514 exit 12515 } 12516 12517 12518 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12519 as_dirname=dirname 12520 else 12521 as_dirname=false 12522 fi 6529 # Avoid depending upon Character Ranges. 6530 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6531 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6532 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6533 as_cr_digits='0123456789' 6534 as_cr_alnum=$as_cr_Letters$as_cr_digits 12523 6535 12524 6536 ECHO_C= ECHO_N= ECHO_T= 12525 case `echo -n x` in 6537 case `echo -n x` in #((((( 12526 6538 -n*) 12527 case `echo 'x \c'` in6539 case `echo 'xy\c'` in 12528 6540 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12529 *) ECHO_C='\c';; 6541 xy) ECHO_C='\c';; 6542 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 6543 ECHO_T=' ';; 12530 6544 esac;; 12531 6545 *) … … 12533 6547 esac 12534 6548 12535 if expr a : '\(a\)' >/dev/null 2>&1 &&12536 test "X`expr 00001 : '.*\(...\)'`" = X001; then12537 as_expr=expr12538 else12539 as_expr=false12540 fi12541 12542 6549 rm -f conf$$ conf$$.exe conf$$.file 12543 6550 if test -d conf$$.dir; then … … 12545 6552 else 12546 6553 rm -f conf$$.dir 12547 mkdir conf$$.dir 12548 fi 12549 echo >conf$$.file 12550 if ln -s conf$$.file conf$$ 2>/dev/null; then 12551 as_ln_s='ln -s' 12552 # ... but there are two gotchas: 12553 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12554 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12555 # In both cases, we have to default to `cp -p'. 12556 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6554 mkdir conf$$.dir 2>/dev/null 6555 fi 6556 if (echo >conf$$.file) 2>/dev/null; then 6557 if ln -s conf$$.file conf$$ 2>/dev/null; then 6558 as_ln_s='ln -s' 6559 # ... but there are two gotchas: 6560 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6561 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6562 # In both cases, we have to default to `cp -p'. 6563 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6564 as_ln_s='cp -p' 6565 elif ln conf$$.file conf$$ 2>/dev/null; then 6566 as_ln_s=ln 6567 else 12557 6568 as_ln_s='cp -p' 12558 elif ln conf$$.file conf$$ 2>/dev/null; then 12559 as_ln_s=ln 6569 fi 12560 6570 else 12561 6571 as_ln_s='cp -p' … … 12564 6574 rmdir conf$$.dir 2>/dev/null 12565 6575 12566 if mkdir -p . 2>/dev/null; then 12567 as_mkdir_p=: 12568 else 12569 test -d ./-p && rmdir ./-p 12570 as_mkdir_p=false 12571 fi 12572 12573 if test -x / >/dev/null 2>&1; then 12574 as_test_x='test -x' 12575 else 12576 if ls -dL / >/dev/null 2>&1; then 12577 as_ls_L_option=L 12578 else 12579 as_ls_L_option= 12580 fi 12581 as_test_x=' 12582 eval sh -c '\'' 12583 if test -d "$1"; then 12584 test -d "$1/."; 12585 else 12586 case $1 in 12587 -*)set "./$1";; 12588 esac; 12589 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 12590 ???[sx]*):;;*)false;;esac;fi 12591 '\'' sh 12592 ' 12593 fi 12594 as_executable_p=$as_test_x 12595 12596 # Sed expression to map a string onto a valid CPP name. 12597 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 12598 12599 # Sed expression to map a string onto a valid variable name. 12600 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 12601 12602 12603 exec 6>&1 12604 12605 # Save the log message, to keep $[0] and so on meaningful, and to 12606 # report actual input values of CONFIG_FILES etc. instead of their 12607 # values after options handling. 12608 ac_log=" 12609 This file was extended by pjproject $as_me 1.x, which was 12610 generated by GNU Autoconf 2.61. Invocation command line was 12611 12612 CONFIG_FILES = $CONFIG_FILES 12613 CONFIG_HEADERS = $CONFIG_HEADERS 12614 CONFIG_LINKS = $CONFIG_LINKS 12615 CONFIG_COMMANDS = $CONFIG_COMMANDS 12616 $ $0 $@ 12617 12618 on `(hostname || uname -n) 2>/dev/null | sed 1q` 12619 " 12620 12621 _ACEOF 12622 12623 cat >>$CONFIG_STATUS <<_ACEOF 12624 # Files that config.status was made for. 12625 config_files="$ac_config_files" 12626 config_headers="$ac_config_headers" 12627 12628 _ACEOF 12629 12630 cat >>$CONFIG_STATUS <<\_ACEOF 12631 ac_cs_usage="\ 12632 \`$as_me' instantiates files from templates according to the 12633 current configuration. 12634 12635 Usage: $0 [OPTIONS] [FILE]... 12636 12637 -h, --help print this help, then exit 12638 -V, --version print version number and configuration settings, then exit 12639 -q, --quiet do not print progress messages 12640 -d, --debug don't remove temporary files 12641 --recheck update $as_me by reconfiguring in the same conditions 12642 --file=FILE[:TEMPLATE] 12643 instantiate the configuration file FILE 12644 --header=FILE[:TEMPLATE] 12645 instantiate the configuration header FILE 12646 12647 Configuration files: 12648 $config_files 12649 12650 Configuration headers: 12651 $config_headers 12652 12653 Report bugs to <bug-autoconf@gnu.org>." 12654 12655 _ACEOF 12656 cat >>$CONFIG_STATUS <<_ACEOF 12657 ac_cs_version="\\ 12658 pjproject config.status 1.x 12659 configured by $0, generated by GNU Autoconf 2.61, 12660 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 12661 12662 Copyright (C) 2006 Free Software Foundation, Inc. 12663 This config.status script is free software; the Free Software Foundation 12664 gives unlimited permission to copy, distribute and modify it." 12665 12666 ac_pwd='$ac_pwd' 12667 srcdir='$srcdir' 12668 _ACEOF 12669 12670 cat >>$CONFIG_STATUS <<\_ACEOF 12671 # If no file are specified by the user, then we need to provide default 12672 # value. By we need to know if files were specified by the user. 12673 ac_need_defaults=: 12674 while test $# != 0 12675 do 12676 case $1 in 12677 --*=*) 12678 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12679 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 12680 ac_shift=: 12681 ;; 12682 *) 12683 ac_option=$1 12684 ac_optarg=$2 12685 ac_shift=shift 12686 ;; 12687 esac 12688 12689 case $ac_option in 12690 # Handling of the options. 12691 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 12692 ac_cs_recheck=: ;; 12693 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 12694 echo "$ac_cs_version"; exit ;; 12695 --debug | --debu | --deb | --de | --d | -d ) 12696 debug=: ;; 12697 --file | --fil | --fi | --f ) 12698 $ac_shift 12699 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 12700 ac_need_defaults=false;; 12701 --header | --heade | --head | --hea ) 12702 $ac_shift 12703 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 12704 ac_need_defaults=false;; 12705 --he | --h) 12706 # Conflict between --help and --header 12707 { echo "$as_me: error: ambiguous option: $1 12708 Try \`$0 --help' for more information." >&2 12709 { (exit 1); exit 1; }; };; 12710 --help | --hel | -h ) 12711 echo "$ac_cs_usage"; exit ;; 12712 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 12713 | -silent | --silent | --silen | --sile | --sil | --si | --s) 12714 ac_cs_silent=: ;; 12715 12716 # This is an error. 12717 -*) { echo "$as_me: error: unrecognized option: $1 12718 Try \`$0 --help' for more information." >&2 12719 { (exit 1); exit 1; }; } ;; 12720 12721 *) ac_config_targets="$ac_config_targets $1" 12722 ac_need_defaults=false ;; 12723 12724 esac 12725 shift 12726 done 12727 12728 ac_configure_extra_args= 12729 12730 if $ac_cs_silent; then 12731 exec 6>/dev/null 12732 ac_configure_extra_args="$ac_configure_extra_args --silent" 12733 fi 12734 12735 _ACEOF 12736 cat >>$CONFIG_STATUS <<_ACEOF 12737 if \$ac_cs_recheck; then 12738 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 12739 CONFIG_SHELL=$SHELL 12740 export CONFIG_SHELL 12741 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 12742 fi 12743 12744 _ACEOF 12745 cat >>$CONFIG_STATUS <<\_ACEOF 12746 exec 5>>config.log 12747 { 12748 echo 12749 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 12750 ## Running $as_me. ## 12751 _ASBOX 12752 echo "$ac_log" 12753 } >&5 12754 12755 _ACEOF 12756 cat >>$CONFIG_STATUS <<_ACEOF 12757 _ACEOF 12758 12759 cat >>$CONFIG_STATUS <<\_ACEOF 12760 12761 # Handling of arguments. 12762 for ac_config_target in $ac_config_targets 12763 do 12764 case $ac_config_target in 12765 "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 12766 "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 12767 "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 12768 "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 12769 "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 12770 "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 12771 "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 12772 "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 12773 "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 12774 "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 12775 "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 12776 "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 12777 "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 12778 12779 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 12780 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12781 { (exit 1); exit 1; }; };; 12782 esac 12783 done 12784 12785 12786 # If the user did not use the arguments to specify the items to instantiate, 12787 # then the envvar interface is used. Set only those that are not. 12788 # We use the long form for the default assignment because of an extremely 12789 # bizarre bug on SunOS 4.1.3. 12790 if $ac_need_defaults; then 12791 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 12792 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 12793 fi 12794 12795 # Have a temporary directory for convenience. Make it in the build tree 12796 # simply because there is no reason against having it here, and in addition, 12797 # creating and moving files from /tmp can sometimes cause problems. 12798 # Hook for its removal unless debugging. 12799 # Note that there is a small window in which the directory will not be cleaned: 12800 # after its creation but before its name has been assigned to `$tmp'. 12801 $debug || 12802 { 12803 tmp= 12804 trap 'exit_status=$? 12805 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 12806 ' 0 12807 trap '{ (exit 1); exit 1; }' 1 2 13 15 12808 } 12809 # Create a (secure) tmp directory for tmp files. 12810 12811 { 12812 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 12813 test -n "$tmp" && test -d "$tmp" 12814 } || 12815 { 12816 tmp=./conf$$-$RANDOM 12817 (umask 077 && mkdir "$tmp") 12818 } || 12819 { 12820 echo "$me: cannot create a temporary directory in ." >&2 12821 { (exit 1); exit 1; } 12822 } 12823 12824 # 12825 # Set up the sed scripts for CONFIG_FILES section. 12826 # 12827 12828 # No need to generate the scripts if there are no CONFIG_FILES. 12829 # This happens for instance when ./config.status config.h 12830 if test -n "$CONFIG_FILES"; then 12831 12832 _ACEOF 12833 12834 12835 12836 ac_delim='%!_!# ' 12837 for ac_last_try in false false false false false :; do 12838 cat >conf$$subs.sed <<_ACEOF 12839 SHELL!$SHELL$ac_delim 12840 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 12841 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 12842 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 12843 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 12844 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 12845 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 12846 exec_prefix!$exec_prefix$ac_delim 12847 prefix!$prefix$ac_delim 12848 program_transform_name!$program_transform_name$ac_delim 12849 bindir!$bindir$ac_delim 12850 sbindir!$sbindir$ac_delim 12851 libexecdir!$libexecdir$ac_delim 12852 datarootdir!$datarootdir$ac_delim 12853 datadir!$datadir$ac_delim 12854 sysconfdir!$sysconfdir$ac_delim 12855 sharedstatedir!$sharedstatedir$ac_delim 12856 localstatedir!$localstatedir$ac_delim 12857 includedir!$includedir$ac_delim 12858 oldincludedir!$oldincludedir$ac_delim 12859 docdir!$docdir$ac_delim 12860 infodir!$infodir$ac_delim 12861 htmldir!$htmldir$ac_delim 12862 dvidir!$dvidir$ac_delim 12863 pdfdir!$pdfdir$ac_delim 12864 psdir!$psdir$ac_delim 12865 libdir!$libdir$ac_delim 12866 localedir!$localedir$ac_delim 12867 mandir!$mandir$ac_delim 12868 DEFS!$DEFS$ac_delim 12869 ECHO_C!$ECHO_C$ac_delim 12870 ECHO_N!$ECHO_N$ac_delim 12871 ECHO_T!$ECHO_T$ac_delim 12872 LIBS!$LIBS$ac_delim 12873 build_alias!$build_alias$ac_delim 12874 host_alias!$host_alias$ac_delim 12875 target_alias!$target_alias$ac_delim 12876 build!$build$ac_delim 12877 build_cpu!$build_cpu$ac_delim 12878 build_vendor!$build_vendor$ac_delim 12879 build_os!$build_os$ac_delim 12880 host!$host$ac_delim 12881 host_cpu!$host_cpu$ac_delim 12882 host_vendor!$host_vendor$ac_delim 12883 host_os!$host_os$ac_delim 12884 target!$target$ac_delim 12885 target_cpu!$target_cpu$ac_delim 12886 target_vendor!$target_vendor$ac_delim 12887 target_os!$target_os$ac_delim 12888 CC!$CC$ac_delim 12889 CFLAGS!$CFLAGS$ac_delim 12890 LDFLAGS!$LDFLAGS$ac_delim 12891 CPPFLAGS!$CPPFLAGS$ac_delim 12892 ac_ct_CC!$ac_ct_CC$ac_delim 12893 EXEEXT!$EXEEXT$ac_delim 12894 OBJEXT!$OBJEXT$ac_delim 12895 CXX!$CXX$ac_delim 12896 CXXFLAGS!$CXXFLAGS$ac_delim 12897 ac_ct_CXX!$ac_ct_CXX$ac_delim 12898 ac_pjdir!$ac_pjdir$ac_delim 12899 ac_build_mak_vars!$ac_build_mak_vars$ac_delim 12900 CPP!$CPP$ac_delim 12901 GREP!$GREP$ac_delim 12902 EGREP!$EGREP$ac_delim 12903 ac_os_objs!$ac_os_objs$ac_delim 12904 ac_external_speex!$ac_external_speex$ac_delim 12905 ac_external_gsm!$ac_external_gsm$ac_delim 12906 ac_pjmedia_snd!$ac_pjmedia_snd$ac_delim 12907 ac_external_pa!$ac_external_pa$ac_delim 12908 ac_pa_cflags!$ac_pa_cflags$ac_delim 12909 ac_pa_use_alsa!$ac_pa_use_alsa$ac_delim 12910 ac_pa_use_oss!$ac_pa_use_oss$ac_delim 12911 ac_no_small_filter!$ac_no_small_filter$ac_delim 12912 ac_no_large_filter!$ac_no_large_filter$ac_delim 12913 ac_no_speex_aec!$ac_no_speex_aec$ac_delim 12914 ac_no_g711_codec!$ac_no_g711_codec$ac_delim 12915 ac_no_l16_codec!$ac_no_l16_codec$ac_delim 12916 ac_no_gsm_codec!$ac_no_gsm_codec$ac_delim 12917 ac_no_g722_codec!$ac_no_g722_codec$ac_delim 12918 ac_no_g7221_codec!$ac_no_g7221_codec$ac_delim 12919 ac_no_speex_codec!$ac_no_speex_codec$ac_delim 12920 ac_no_ilbc_codec!$ac_no_ilbc_codec$ac_delim 12921 ac_no_ssl!$ac_no_ssl$ac_delim 12922 openssl_h_present!$openssl_h_present$ac_delim 12923 libssl_present!$libssl_present$ac_delim 12924 libcrypto_present!$libcrypto_present$ac_delim 12925 ac_cross_compile!$ac_cross_compile$ac_delim 12926 ac_linux_poll!$ac_linux_poll$ac_delim 12927 ac_host!$ac_host$ac_delim 12928 ac_main_obj!$ac_main_obj$ac_delim 12929 LIBOBJS!$LIBOBJS$ac_delim 12930 LTLIBOBJS!$LTLIBOBJS$ac_delim 12931 _ACEOF 12932 12933 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then 12934 break 12935 elif $ac_last_try; then 12936 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 12937 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 12938 { (exit 1); exit 1; }; } 12939 else 12940 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 12941 fi 12942 done 12943 12944 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 12945 if test -n "$ac_eof"; then 12946 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 12947 ac_eof=`expr $ac_eof + 1` 12948 fi 12949 12950 cat >>$CONFIG_STATUS <<_ACEOF 12951 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 12952 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 12953 _ACEOF 12954 sed ' 12955 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 12956 s/^/s,@/; s/!/@,|#_!!_#|/ 12957 :n 12958 t n 12959 s/'"$ac_delim"'$/,g/; t 12960 s/$/\\/; p 12961 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 12962 ' >>$CONFIG_STATUS <conf$$subs.sed 12963 rm -f conf$$subs.sed 12964 cat >>$CONFIG_STATUS <<_ACEOF 12965 :end 12966 s/|#_!!_#|//g 12967 CEOF$ac_eof 12968 _ACEOF 12969 12970 12971 # VPATH may cause trouble with some makes, so we remove $(srcdir), 12972 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 12973 # trailing colons and then remove the whole line if VPATH becomes empty 12974 # (actually we leave an empty line to preserve line numbers). 12975 if test "x$srcdir" = x.; then 12976 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 12977 s/:*\$(srcdir):*/:/ 12978 s/:*\${srcdir}:*/:/ 12979 s/:*@srcdir@:*/:/ 12980 s/^\([^=]*=[ ]*\):*/\1/ 12981 s/:*$// 12982 s/^[^=]*=[ ]*$// 12983 }' 12984 fi 12985 12986 cat >>$CONFIG_STATUS <<\_ACEOF 12987 fi # test -n "$CONFIG_FILES" 12988 12989 12990 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 12991 do 12992 case $ac_tag in 12993 :[FHLC]) ac_mode=$ac_tag; continue;; 12994 esac 12995 case $ac_mode$ac_tag in 12996 :[FHL]*:*);; 12997 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 12998 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 12999 { (exit 1); exit 1; }; };; 13000 :[FH]-) ac_tag=-:-;; 13001 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 13002 esac 13003 ac_save_IFS=$IFS 13004 IFS=: 13005 set x $ac_tag 13006 IFS=$ac_save_IFS 13007 shift 13008 ac_file=$1 13009 shift 13010 13011 case $ac_mode in 13012 :L) ac_source=$1;; 13013 :[FH]) 13014 ac_file_inputs= 13015 for ac_f 13016 do 13017 case $ac_f in 13018 -) ac_f="$tmp/stdin";; 13019 *) # Look for the file first in the build tree, then in the source tree 13020 # (if the path is not absolute). The absolute path cannot be DOS-style, 13021 # because $ac_f cannot contain `:'. 13022 test -f "$ac_f" || 13023 case $ac_f in 13024 [\\/$]*) false;; 13025 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13026 esac || 13027 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 13028 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 13029 { (exit 1); exit 1; }; };; 13030 esac 13031 ac_file_inputs="$ac_file_inputs $ac_f" 13032 done 13033 13034 # Let's still pretend it is `configure' which instantiates (i.e., don't 13035 # use $as_me), people would be surprised to read: 13036 # /* config.h. Generated by config.status. */ 13037 configure_input="Generated from "`IFS=: 13038 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 13039 if test x"$ac_file" != x-; then 13040 configure_input="$ac_file. $configure_input" 13041 { echo "$as_me:$LINENO: creating $ac_file" >&5 13042 echo "$as_me: creating $ac_file" >&6;} 13043 fi 13044 13045 case $ac_tag in 13046 *:-:* | *:-) cat >"$tmp/stdin";; 13047 esac 13048 ;; 13049 esac 13050 13051 ac_dir=`$as_dirname -- "$ac_file" || 13052 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13053 X"$ac_file" : 'X\(//\)[^/]' \| \ 13054 X"$ac_file" : 'X\(//\)$' \| \ 13055 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13056 echo X"$ac_file" | 13057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13058 s//\1/ 13059 q 13060 } 13061 /^X\(\/\/\)[^/].*/{ 13062 s//\1/ 13063 q 13064 } 13065 /^X\(\/\/\)$/{ 13066 s//\1/ 13067 q 13068 } 13069 /^X\(\/\).*/{ 13070 s//\1/ 13071 q 13072 } 13073 s/.*/./; q'` 13074 { as_dir="$ac_dir" 6576 6577 # as_fn_mkdir_p 6578 # ------------- 6579 # Create "$as_dir" as a directory, including parents if necessary. 6580 as_fn_mkdir_p () 6581 { 6582 13075 6583 case $as_dir in #( 13076 6584 -*) as_dir=./$as_dir;; 13077 6585 esac 13078 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; }|| {6586 test -d "$as_dir" || eval $as_mkdir_p || { 13079 6587 as_dirs= 13080 6588 while :; do 13081 6589 case $as_dir in #( 13082 *\'*) as_qdir=` echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(6590 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13083 6591 *) as_qdir=$as_dir;; 13084 6592 esac … … 13089 6597 X"$as_dir" : 'X\(//\)$' \| \ 13090 6598 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13091 echo X"$as_dir" |6599 $as_echo X"$as_dir" | 13092 6600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13093 6601 s//\1/ … … 13110 6618 done 13111 6619 test -z "$as_dirs" || eval "mkdir $as_dirs" 13112 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 13113 echo "$as_me: error: cannot create directory $as_dir" >&2;} 13114 { (exit 1); exit 1; }; }; } 6620 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 6621 6622 6623 } # as_fn_mkdir_p 6624 if mkdir -p . 2>/dev/null; then 6625 as_mkdir_p='mkdir -p "$as_dir"' 6626 else 6627 test -d ./-p && rmdir ./-p 6628 as_mkdir_p=false 6629 fi 6630 6631 if test -x / >/dev/null 2>&1; then 6632 as_test_x='test -x' 6633 else 6634 if ls -dL / >/dev/null 2>&1; then 6635 as_ls_L_option=L 6636 else 6637 as_ls_L_option= 6638 fi 6639 as_test_x=' 6640 eval sh -c '\'' 6641 if test -d "$1"; then 6642 test -d "$1/."; 6643 else 6644 case $1 in #( 6645 -*)set "./$1";; 6646 esac; 6647 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 6648 ???[sx]*):;;*)false;;esac;fi 6649 '\'' sh 6650 ' 6651 fi 6652 as_executable_p=$as_test_x 6653 6654 # Sed expression to map a string onto a valid CPP name. 6655 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6656 6657 # Sed expression to map a string onto a valid variable name. 6658 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6659 6660 6661 exec 6>&1 6662 ## ----------------------------------- ## 6663 ## Main body of $CONFIG_STATUS script. ## 6664 ## ----------------------------------- ## 6665 _ASEOF 6666 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 6667 6668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6669 # Save the log message, to keep $0 and so on meaningful, and to 6670 # report actual input values of CONFIG_FILES etc. instead of their 6671 # values after options handling. 6672 ac_log=" 6673 This file was extended by pjproject $as_me 1.x, which was 6674 generated by GNU Autoconf 2.64. Invocation command line was 6675 6676 CONFIG_FILES = $CONFIG_FILES 6677 CONFIG_HEADERS = $CONFIG_HEADERS 6678 CONFIG_LINKS = $CONFIG_LINKS 6679 CONFIG_COMMANDS = $CONFIG_COMMANDS 6680 $ $0 $@ 6681 6682 on `(hostname || uname -n) 2>/dev/null | sed 1q` 6683 " 6684 6685 _ACEOF 6686 6687 case $ac_config_files in *" 6688 "*) set x $ac_config_files; shift; ac_config_files=$*;; 6689 esac 6690 6691 case $ac_config_headers in *" 6692 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 6693 esac 6694 6695 6696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6697 # Files that config.status was made for. 6698 config_files="$ac_config_files" 6699 config_headers="$ac_config_headers" 6700 6701 _ACEOF 6702 6703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6704 ac_cs_usage="\ 6705 \`$as_me' instantiates files and other configuration actions 6706 from templates according to the current configuration. Unless the files 6707 and actions are specified as TAGs, all are instantiated by default. 6708 6709 Usage: $0 [OPTION]... [TAG]... 6710 6711 -h, --help print this help, then exit 6712 -V, --version print version number and configuration settings, then exit 6713 -q, --quiet, --silent 6714 do not print progress messages 6715 -d, --debug don't remove temporary files 6716 --recheck update $as_me by reconfiguring in the same conditions 6717 --file=FILE[:TEMPLATE] 6718 instantiate the configuration file FILE 6719 --header=FILE[:TEMPLATE] 6720 instantiate the configuration header FILE 6721 6722 Configuration files: 6723 $config_files 6724 6725 Configuration headers: 6726 $config_headers 6727 6728 Report bugs to the package provider." 6729 6730 _ACEOF 6731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6732 ac_cs_version="\\ 6733 pjproject config.status 1.x 6734 configured by $0, generated by GNU Autoconf 2.64, 6735 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 6736 6737 Copyright (C) 2009 Free Software Foundation, Inc. 6738 This config.status script is free software; the Free Software Foundation 6739 gives unlimited permission to copy, distribute and modify it." 6740 6741 ac_pwd='$ac_pwd' 6742 srcdir='$srcdir' 6743 test -n "\$AWK" || AWK=awk 6744 _ACEOF 6745 6746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6747 # The default lists apply if the user does not specify any file. 6748 ac_need_defaults=: 6749 while test $# != 0 6750 do 6751 case $1 in 6752 --*=*) 6753 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6754 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 6755 ac_shift=: 6756 ;; 6757 *) 6758 ac_option=$1 6759 ac_optarg=$2 6760 ac_shift=shift 6761 ;; 6762 esac 6763 6764 case $ac_option in 6765 # Handling of the options. 6766 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6767 ac_cs_recheck=: ;; 6768 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6769 $as_echo "$ac_cs_version"; exit ;; 6770 --debug | --debu | --deb | --de | --d | -d ) 6771 debug=: ;; 6772 --file | --fil | --fi | --f ) 6773 $ac_shift 6774 case $ac_optarg in 6775 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6776 esac 6777 as_fn_append CONFIG_FILES " '$ac_optarg'" 6778 ac_need_defaults=false;; 6779 --header | --heade | --head | --hea ) 6780 $ac_shift 6781 case $ac_optarg in 6782 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6783 esac 6784 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 6785 ac_need_defaults=false;; 6786 --he | --h) 6787 # Conflict between --help and --header 6788 as_fn_error "ambiguous option: \`$1' 6789 Try \`$0 --help' for more information.";; 6790 --help | --hel | -h ) 6791 $as_echo "$ac_cs_usage"; exit ;; 6792 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6793 | -silent | --silent | --silen | --sile | --sil | --si | --s) 6794 ac_cs_silent=: ;; 6795 6796 # This is an error. 6797 -*) as_fn_error "unrecognized option: \`$1' 6798 Try \`$0 --help' for more information." ;; 6799 6800 *) as_fn_append ac_config_targets " $1" 6801 ac_need_defaults=false ;; 6802 6803 esac 6804 shift 6805 done 6806 6807 ac_configure_extra_args= 6808 6809 if $ac_cs_silent; then 6810 exec 6>/dev/null 6811 ac_configure_extra_args="$ac_configure_extra_args --silent" 6812 fi 6813 6814 _ACEOF 6815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6816 if \$ac_cs_recheck; then 6817 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6818 shift 6819 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 6820 CONFIG_SHELL='$SHELL' 6821 export CONFIG_SHELL 6822 exec "\$@" 6823 fi 6824 6825 _ACEOF 6826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6827 exec 5>>config.log 6828 { 6829 echo 6830 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 6831 ## Running $as_me. ## 6832 _ASBOX 6833 $as_echo "$ac_log" 6834 } >&5 6835 6836 _ACEOF 6837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6838 _ACEOF 6839 6840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6841 6842 # Handling of arguments. 6843 for ac_config_target in $ac_config_targets 6844 do 6845 case $ac_config_target in 6846 "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 6847 "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 6848 "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 6849 "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 6850 "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 6851 "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;; 6852 "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 6853 "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 6854 "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 6855 "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 6856 "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 6857 "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 6858 "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 6859 6860 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 6861 esac 6862 done 6863 6864 6865 # If the user did not use the arguments to specify the items to instantiate, 6866 # then the envvar interface is used. Set only those that are not. 6867 # We use the long form for the default assignment because of an extremely 6868 # bizarre bug on SunOS 4.1.3. 6869 if $ac_need_defaults; then 6870 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 6871 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 6872 fi 6873 6874 # Have a temporary directory for convenience. Make it in the build tree 6875 # simply because there is no reason against having it here, and in addition, 6876 # creating and moving files from /tmp can sometimes cause problems. 6877 # Hook for its removal unless debugging. 6878 # Note that there is a small window in which the directory will not be cleaned: 6879 # after its creation but before its name has been assigned to `$tmp'. 6880 $debug || 6881 { 6882 tmp= 6883 trap 'exit_status=$? 6884 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 6885 ' 0 6886 trap 'as_fn_exit 1' 1 2 13 15 6887 } 6888 # Create a (secure) tmp directory for tmp files. 6889 6890 { 6891 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 6892 test -n "$tmp" && test -d "$tmp" 6893 } || 6894 { 6895 tmp=./conf$$-$RANDOM 6896 (umask 077 && mkdir "$tmp") 6897 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 6898 6899 # Set up the scripts for CONFIG_FILES section. 6900 # No need to generate them if there are no CONFIG_FILES. 6901 # This happens for instance with `./config.status config.h'. 6902 if test -n "$CONFIG_FILES"; then 6903 6904 6905 ac_cr=`echo X | tr X '\015'` 6906 # On cygwin, bash can eat \r inside `` if the user requested igncr. 6907 # But we know of no other shell where ac_cr would be empty at this 6908 # point, so we can use a bashism as a fallback. 6909 if test "x$ac_cr" = x; then 6910 eval ac_cr=\$\'\\r\' 6911 fi 6912 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 6913 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 6914 ac_cs_awk_cr='\r' 6915 else 6916 ac_cs_awk_cr=$ac_cr 6917 fi 6918 6919 echo 'BEGIN {' >"$tmp/subs1.awk" && 6920 _ACEOF 6921 6922 6923 { 6924 echo "cat >conf$$subs.awk <<_ACEOF" && 6925 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 6926 echo "_ACEOF" 6927 } >conf$$subs.sh || 6928 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 6929 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 6930 ac_delim='%!_!# ' 6931 for ac_last_try in false false false false false :; do 6932 . ./conf$$subs.sh || 6933 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 6934 6935 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 6936 if test $ac_delim_n = $ac_delim_num; then 6937 break 6938 elif $ac_last_try; then 6939 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 6940 else 6941 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6942 fi 6943 done 6944 rm -f conf$$subs.sh 6945 6946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6947 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 6948 _ACEOF 6949 sed -n ' 6950 h 6951 s/^/S["/; s/!.*/"]=/ 6952 p 6953 g 6954 s/^[^!]*!// 6955 :repl 6956 t repl 6957 s/'"$ac_delim"'$// 6958 t delim 6959 :nl 6960 h 6961 s/\(.\{148\}\).*/\1/ 6962 t more1 6963 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 6964 p 6965 n 6966 b repl 6967 :more1 6968 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6969 p 6970 g 6971 s/.\{148\}// 6972 t nl 6973 :delim 6974 h 6975 s/\(.\{148\}\).*/\1/ 6976 t more2 6977 s/["\\]/\\&/g; s/^/"/; s/$/"/ 6978 p 6979 b 6980 :more2 6981 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6982 p 6983 g 6984 s/.\{148\}// 6985 t delim 6986 ' <conf$$subs.awk | sed ' 6987 /^[^""]/{ 6988 N 6989 s/\n// 6990 } 6991 ' >>$CONFIG_STATUS || ac_write_fail=1 6992 rm -f conf$$subs.awk 6993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6994 _ACAWK 6995 cat >>"\$tmp/subs1.awk" <<_ACAWK && 6996 for (key in S) S_is_set[key] = 1 6997 FS = "" 6998 6999 } 7000 { 7001 line = $ 0 7002 nfields = split(line, field, "@") 7003 substed = 0 7004 len = length(field[1]) 7005 for (i = 2; i < nfields; i++) { 7006 key = field[i] 7007 keylen = length(key) 7008 if (S_is_set[key]) { 7009 value = S[key] 7010 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7011 len += length(value) + length(field[++i]) 7012 substed = 1 7013 } else 7014 len += 1 + keylen 7015 } 7016 7017 print line 7018 } 7019 7020 _ACAWK 7021 _ACEOF 7022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7023 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7024 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7025 else 7026 cat 7027 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 7028 || as_fn_error "could not setup config files machinery" "$LINENO" 5 7029 _ACEOF 7030 7031 # VPATH may cause trouble with some makes, so we remove $(srcdir), 7032 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7033 # trailing colons and then remove the whole line if VPATH becomes empty 7034 # (actually we leave an empty line to preserve line numbers). 7035 if test "x$srcdir" = x.; then 7036 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7037 s/:*\$(srcdir):*/:/ 7038 s/:*\${srcdir}:*/:/ 7039 s/:*@srcdir@:*/:/ 7040 s/^\([^=]*=[ ]*\):*/\1/ 7041 s/:*$// 7042 s/^[^=]*=[ ]*$// 7043 }' 7044 fi 7045 7046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7047 fi # test -n "$CONFIG_FILES" 7048 7049 # Set up the scripts for CONFIG_HEADERS section. 7050 # No need to generate them if there are no CONFIG_HEADERS. 7051 # This happens for instance with `./config.status Makefile'. 7052 if test -n "$CONFIG_HEADERS"; then 7053 cat >"$tmp/defines.awk" <<\_ACAWK || 7054 BEGIN { 7055 _ACEOF 7056 7057 # Transform confdefs.h into an awk script `defines.awk', embedded as 7058 # here-document in config.status, that substitutes the proper values into 7059 # config.h.in to produce config.h. 7060 7061 # Create a delimiter string that does not exist in confdefs.h, to ease 7062 # handling of long lines. 7063 ac_delim='%!_!# ' 7064 for ac_last_try in false false :; do 7065 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 7066 if test -z "$ac_t"; then 7067 break 7068 elif $ac_last_try; then 7069 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 7070 else 7071 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7072 fi 7073 done 7074 7075 # For the awk script, D is an array of macro values keyed by name, 7076 # likewise P contains macro parameters if any. Preserve backslash 7077 # newline sequences. 7078 7079 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7080 sed -n ' 7081 s/.\{148\}/&'"$ac_delim"'/g 7082 t rset 7083 :rset 7084 s/^[ ]*#[ ]*define[ ][ ]*/ / 7085 t def 7086 d 7087 :def 7088 s/\\$// 7089 t bsnl 7090 s/["\\]/\\&/g 7091 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7092 D["\1"]=" \3"/p 7093 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7094 d 7095 :bsnl 7096 s/["\\]/\\&/g 7097 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7098 D["\1"]=" \3\\\\\\n"\\/p 7099 t cont 7100 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7101 t cont 7102 d 7103 :cont 7104 n 7105 s/.\{148\}/&'"$ac_delim"'/g 7106 t clear 7107 :clear 7108 s/\\$// 7109 t bsnlc 7110 s/["\\]/\\&/g; s/^/"/; s/$/"/p 7111 d 7112 :bsnlc 7113 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7114 b cont 7115 ' <confdefs.h | sed ' 7116 s/'"$ac_delim"'/"\\\ 7117 "/g' >>$CONFIG_STATUS || ac_write_fail=1 7118 7119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7120 for (key in D) D_is_set[key] = 1 7121 FS = "" 7122 } 7123 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7124 line = \$ 0 7125 split(line, arg, " ") 7126 if (arg[1] == "#") { 7127 defundef = arg[2] 7128 mac1 = arg[3] 7129 } else { 7130 defundef = substr(arg[1], 2) 7131 mac1 = arg[2] 7132 } 7133 split(mac1, mac2, "(") #) 7134 macro = mac2[1] 7135 prefix = substr(line, 1, index(line, defundef) - 1) 7136 if (D_is_set[macro]) { 7137 # Preserve the white space surrounding the "#". 7138 print prefix "define", macro P[macro] D[macro] 7139 next 7140 } else { 7141 # Replace #undef with comments. This is necessary, for example, 7142 # in the case of _POSIX_SOURCE, which is predefined and required 7143 # on some systems where configure will not decide to define it. 7144 if (defundef == "undef") { 7145 print "/*", prefix defundef, macro, "*/" 7146 next 7147 } 7148 } 7149 } 7150 { print } 7151 _ACAWK 7152 _ACEOF 7153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7154 as_fn_error "could not setup config headers machinery" "$LINENO" 5 7155 fi # test -n "$CONFIG_HEADERS" 7156 7157 7158 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 7159 shift 7160 for ac_tag 7161 do 7162 case $ac_tag in 7163 :[FHLC]) ac_mode=$ac_tag; continue;; 7164 esac 7165 case $ac_mode$ac_tag in 7166 :[FHL]*:*);; 7167 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 7168 :[FH]-) ac_tag=-:-;; 7169 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7170 esac 7171 ac_save_IFS=$IFS 7172 IFS=: 7173 set x $ac_tag 7174 IFS=$ac_save_IFS 7175 shift 7176 ac_file=$1 7177 shift 7178 7179 case $ac_mode in 7180 :L) ac_source=$1;; 7181 :[FH]) 7182 ac_file_inputs= 7183 for ac_f 7184 do 7185 case $ac_f in 7186 -) ac_f="$tmp/stdin";; 7187 *) # Look for the file first in the build tree, then in the source tree 7188 # (if the path is not absolute). The absolute path cannot be DOS-style, 7189 # because $ac_f cannot contain `:'. 7190 test -f "$ac_f" || 7191 case $ac_f in 7192 [\\/$]*) false;; 7193 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7194 esac || 7195 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7196 esac 7197 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7198 as_fn_append ac_file_inputs " '$ac_f'" 7199 done 7200 7201 # Let's still pretend it is `configure' which instantiates (i.e., don't 7202 # use $as_me), people would be surprised to read: 7203 # /* config.h. Generated by config.status. */ 7204 configure_input='Generated from '` 7205 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7206 `' by configure.' 7207 if test x"$ac_file" != x-; then 7208 configure_input="$ac_file. $configure_input" 7209 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7210 $as_echo "$as_me: creating $ac_file" >&6;} 7211 fi 7212 # Neutralize special characters interpreted by sed in replacement strings. 7213 case $configure_input in #( 7214 *\&* | *\|* | *\\* ) 7215 ac_sed_conf_input=`$as_echo "$configure_input" | 7216 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7217 *) ac_sed_conf_input=$configure_input;; 7218 esac 7219 7220 case $ac_tag in 7221 *:-:* | *:-) cat >"$tmp/stdin" \ 7222 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 7223 esac 7224 ;; 7225 esac 7226 7227 ac_dir=`$as_dirname -- "$ac_file" || 7228 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7229 X"$ac_file" : 'X\(//\)[^/]' \| \ 7230 X"$ac_file" : 'X\(//\)$' \| \ 7231 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7232 $as_echo X"$ac_file" | 7233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7234 s//\1/ 7235 q 7236 } 7237 /^X\(\/\/\)[^/].*/{ 7238 s//\1/ 7239 q 7240 } 7241 /^X\(\/\/\)$/{ 7242 s//\1/ 7243 q 7244 } 7245 /^X\(\/\).*/{ 7246 s//\1/ 7247 q 7248 } 7249 s/.*/./; q'` 7250 as_dir="$ac_dir"; as_fn_mkdir_p 13115 7251 ac_builddir=. 13116 7252 … … 13118 7254 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13119 7255 *) 13120 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`7256 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13121 7257 # A ".." for each directory in $ac_dir_suffix. 13122 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`7258 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13123 7259 case $ac_top_builddir_sub in 13124 7260 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 13156 7292 _ACEOF 13157 7293 13158 cat >>$CONFIG_STATUS <<\_ACEOF 7294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13159 7295 # If the template does not know about datarootdir, expand it. 13160 7296 # FIXME: This hack should be removed a few years after 2.60. 13161 7297 ac_datarootdir_hack=; ac_datarootdir_seen= 13162 13163 case `sed -n '/datarootdir/ {7298 ac_sed_dataroot=' 7299 /datarootdir/ { 13164 7300 p 13165 7301 q … … 13169 7305 /@infodir@/p 13170 7306 /@localedir@/p 13171 /@mandir@/p 13172 ' $ac_file_inputs` in7307 /@mandir@/p' 7308 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13173 7309 *datarootdir*) ac_datarootdir_seen=yes;; 13174 7310 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13175 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&513176 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}13177 _ACEOF 13178 cat >>$CONFIG_STATUS <<_ACEOF 7311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7312 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7313 _ACEOF 7314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13179 7315 ac_datarootdir_hack=' 13180 7316 s&@datadir@&$datadir&g … … 13183 7319 s&@localedir@&$localedir&g 13184 7320 s&@mandir@&$mandir&g 13185 7321 s&\\\${datarootdir}&$datarootdir&g' ;; 13186 7322 esac 13187 7323 _ACEOF … … 13190 7326 # Shell code in configure.ac might set extrasub. 13191 7327 # FIXME: do we really want to maintain this feature? 13192 cat >>$CONFIG_STATUS <<_ACEOF 13193 sed"$ac_vpsub7328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7329 ac_sed_extra="$ac_vpsub 13194 7330 $extrasub 13195 7331 _ACEOF 13196 cat >>$CONFIG_STATUS <<\_ACEOF 7332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13197 7333 :t 13198 7334 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13199 s &@configure_input@&$configure_input&;t t7335 s|@configure_input@|$ac_sed_conf_input|;t t 13200 7336 s&@top_builddir@&$ac_top_builddir_sub&;t t 7337 s&@top_build_prefix@&$ac_top_build_prefix&;t t 13201 7338 s&@srcdir@&$ac_srcdir&;t t 13202 7339 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 13207 7344 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 13208 7345 $ac_datarootdir_hack 13209 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 7346 " 7347 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 7348 || as_fn_error "could not create $ac_file" "$LINENO" 5 13210 7349 13211 7350 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13212 7351 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 13213 7352 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 13214 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'7353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13215 7354 which seems to be undefined. Please make sure it is defined." >&5 13216 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'7355 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13217 7356 which seems to be undefined. Please make sure it is defined." >&2;} 13218 7357 13219 7358 rm -f "$tmp/stdin" 13220 7359 case $ac_file in 13221 -) cat "$tmp/out"; rm -f "$tmp/out";; 13222 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 13223 esac 7360 -) cat "$tmp/out" && rm -f "$tmp/out";; 7361 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 7362 esac \ 7363 || as_fn_error "could not create $ac_file" "$LINENO" 5 13224 7364 ;; 13225 7365 :H) … … 13227 7367 # CONFIG_HEADER 13228 7368 # 13229 _ACEOF13230 13231 # Transform confdefs.h into a sed script `conftest.defines', that13232 # substitutes the proper values into config.h.in to produce config.h.13233 rm -f conftest.defines conftest.tail13234 # First, append a space to every undef/define line, to ease matching.13235 echo 's/$/ /' >conftest.defines13236 # Then, protect against being on the right side of a sed subst, or in13237 # an unquoted here document, in config.status. If some macros were13238 # called several times there might be several #defines for the same13239 # symbol, which is useless. But do not sort them, since the last13240 # AC_DEFINE must be honored.13241 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*13242 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where13243 # NAME is the cpp macro being defined, VALUE is the value it is being given.13244 # PARAMS is the parameter list in the macro definition--in most cases, it's13245 # just an empty string.13246 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'13247 ac_dB='\\)[ (].*,\\1define\\2'13248 ac_dC=' '13249 ac_dD=' ,'13250 13251 uniq confdefs.h |13252 sed -n '13253 t rset13254 :rset13255 s/^[ ]*#[ ]*define[ ][ ]*//13256 t ok13257 d13258 :ok13259 s/[\\&,]/\\&/g13260 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p13261 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p13262 ' >>conftest.defines13263 13264 # Remove the space that was appended to ease matching.13265 # Then replace #undef with comments. This is necessary, for13266 # example, in the case of _POSIX_SOURCE, which is predefined and required13267 # on some systems where configure will not decide to define it.13268 # (The regexp can be short, since the line contains either #define or #undef.)13269 echo 's/ $//13270 s,^[ #]*u.*,/* & */,' >>conftest.defines13271 13272 # Break up conftest.defines:13273 ac_max_sed_lines=5013274 13275 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"13276 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"13277 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"13278 # et cetera.13279 ac_in='$ac_file_inputs'13280 ac_out='"$tmp/out1"'13281 ac_nxt='"$tmp/out2"'13282 13283 while :13284 do13285 # Write a here document:13286 cat >>$CONFIG_STATUS <<_ACEOF13287 # First, check the format of the line:13288 cat >"\$tmp/defines.sed" <<\\CEOF13289 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def13290 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def13291 b13292 :def13293 _ACEOF13294 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS13295 echo 'CEOF13296 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS13297 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in13298 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail13299 grep . conftest.tail >/dev/null || break13300 rm -f conftest.defines13301 mv conftest.tail conftest.defines13302 done13303 rm -f conftest.defines conftest.tail13304 13305 echo "ac_result=$ac_in" >>$CONFIG_STATUS13306 cat >>$CONFIG_STATUS <<\_ACEOF13307 7369 if test x"$ac_file" != x-; then 13308 echo "/* $configure_input */" >"$tmp/config.h" 13309 cat "$ac_result" >>"$tmp/config.h" 13310 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 13311 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 13312 echo "$as_me: $ac_file is unchanged" >&6;} 7370 { 7371 $as_echo "/* $configure_input */" \ 7372 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 7373 } >"$tmp/config.h" \ 7374 || as_fn_error "could not create $ac_file" "$LINENO" 5 7375 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 7376 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7377 $as_echo "$as_me: $ac_file is unchanged" >&6;} 13313 7378 else 13314 rm -f $ac_file 13315 mv "$tmp/config.h" $ac_file 7379 rm -f "$ac_file" 7380 mv "$tmp/config.h" "$ac_file" \ 7381 || as_fn_error "could not create $ac_file" "$LINENO" 5 13316 7382 fi 13317 7383 else 13318 echo "/* $configure_input */" 13319 cat "$ac_result" 7384 $as_echo "/* $configure_input */" \ 7385 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 7386 || as_fn_error "could not create -" "$LINENO" 5 13320 7387 fi 13321 rm -f "$tmp/out12"13322 7388 ;; 13323 7389 … … 13328 7394 13329 7395 13330 { (exit 0); exit 0; } 13331 _ACEOF 13332 chmod +x $CONFIG_STATUS 7396 as_fn_exit 0 7397 _ACEOF 13333 7398 ac_clean_files=$ac_clean_files_save 7399 7400 test $ac_write_fail = 0 || 7401 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 13334 7402 13335 7403 … … 13352 7420 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 13353 7421 # would make configure fail if this is the last instruction. 13354 $ac_cs_success || { (exit 1); exit 1; } 13355 fi 13356 13357 13358 13359 { echo "$as_me:$LINENO: result: 7422 $ac_cs_success || as_fn_exit $? 7423 fi 7424 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7426 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7427 fi 7428 7429 7430 7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 13360 7432 13361 7433 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. … … 13367 7439 The next step now is to run 'make dep' and 'make'. 13368 7440 " >&5 13369 echo "${ECHO_T} 7441 $as_echo " 13370 7442 13371 7443 Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h.
Note: See TracChangeset
for help on using the changeset viewer.