Changeset 3672
- Timestamp:
- Jul 20, 2011 3:16:25 AM (12 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r3670 r3672 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.61 for pjproject 1.x. 3 # Generated by GNU Autoconf 2.65 for pjproject 1.x. 4 # 4 5 # 5 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 8 # Inc. 9 # 10 # 7 11 # This configure script is free software; the Free Software Foundation 8 12 # gives unlimited permission to copy, distribute and modify it. 9 ## -------------------- -##10 ## M4sh Initialization. 11 ## -------------------- -##13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 12 16 13 17 # Be more Bourne compatible 14 18 DUALCASE=1; export DUALCASE # for MKS sh 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16 20 emulate sh 17 21 NULLCMD=: 18 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19 23 # is contrary to our usage. Disable this feature. 20 24 alias -g '${1+"$@"}'='"$@"' 21 25 setopt NO_GLOB_SUBST 22 26 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 25 32 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 33 # Avoid depending upon Character Ranges. 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37 as_cr_digits='0123456789' 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 39 73 40 74 # The user is always right. 41 75 if test "${PATH_SEPARATOR+set}" != set; then 42 echo "#! /bin/sh" >conf$$.sh 43 echo "exit 0" >>conf$$.sh 44 chmod +x conf$$.sh 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46 PATH_SEPARATOR=';' 47 else 48 PATH_SEPARATOR=: 49 fi 50 rm -f conf$$.sh 51 fi 52 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 58 81 fi 59 82 … … 64 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 88 # splitting by setting IFS to empty value.) 66 as_nl='67 '68 89 IFS=" "" $as_nl" 69 90 70 91 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 92 case $0 in #(( 72 93 *[\\/]* ) as_myself=$0 ;; 73 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 76 97 IFS=$as_save_IFS 77 98 test -z "$as_dir" && as_dir=. 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break79 done99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 80 101 IFS=$as_save_IFS 81 102 … … 88 109 fi 89 110 if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113 fi 114 115 # Unset variables that we do not need and which cause bugs (e.g. in 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117 # suppresses any "Segmentation fault" message there. '((' could 118 # trigger a bug in pdksh 5.2.14. 119 for as_var in BASH_ENV ENV MAIL MAILPATH 120 do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 97 122 done 98 123 PS1='$ ' … … 101 126 102 127 # NLS nuisances. 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 128 LC_ALL=C 129 export LC_ALL 130 LANGUAGE=C 131 export LANGUAGE 132 133 # CDPATH. 134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 139 NULLCMD=: 140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141 # is contrary to our usage. Disable this feature. 142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 143 setopt NO_GLOB_SUBST 144 else 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150 esac 151 fi 152 " 153 as_required="as_fn_return () { (exit \$1); } 154 as_fn_success () { as_fn_return 0; } 155 as_fn_failure () { as_fn_return 1; } 156 as_fn_ret_success () { return 0; } 157 as_fn_ret_failure () { return 1; } 158 159 exitcode=0 160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165 166 else 167 exitcode=1; echo positional parameters were not saved. 168 fi 169 test x\$exitcode = x0 || exit 1" 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174 test \$(( 1 + 1 )) = 2 || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177 else 178 as_have_required=no 179 fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182 else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184 as_found=false 185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 107 186 do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200 fi 201 fi 202 done;; 203 esac 204 as_found=false 205 done 206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209 fi; } 210 IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222 fi 223 224 if test x$as_have_required = xno; then : 225 $as_echo "$0: This script requires a shell more modern than all" 226 $as_echo "$0: the shells that I found on your system." 227 if test x${ZSH_VERSION+set} = xset ; then 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 110 230 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 232 $0: including any error possibly output before this 233 $0: message. Then install a modern shell, or manually run 234 $0: the script under such a shell if you do have one." 112 235 fi 113 done 114 115 # Required to use basename. 236 exit 1 237 fi 238 fi 239 fi 240 SHELL=${CONFIG_SHELL-/bin/sh} 241 export SHELL 242 # Unset more variables known to interfere with behavior of common tools. 243 CLICOLOR_FORCE= GREP_OPTIONS= 244 unset CLICOLOR_FORCE GREP_OPTIONS 245 246 ## --------------------- ## 247 ## M4sh Shell Functions. ## 248 ## --------------------- ## 249 # as_fn_unset VAR 250 # --------------- 251 # Portably unset VAR. 252 as_fn_unset () 253 { 254 { eval $1=; unset $1;} 255 } 256 as_unset=as_fn_unset 257 258 # as_fn_set_status STATUS 259 # ----------------------- 260 # Set $? to STATUS, without forking. 261 as_fn_set_status () 262 { 263 return $1 264 } # as_fn_set_status 265 266 # as_fn_exit STATUS 267 # ----------------- 268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 269 as_fn_exit () 270 { 271 set +e 272 as_fn_set_status $1 273 exit $1 274 } # as_fn_exit 275 276 # as_fn_mkdir_p 277 # ------------- 278 # Create "$as_dir" as a directory, including parents if necessary. 279 as_fn_mkdir_p () 280 { 281 282 case $as_dir in #( 283 -*) as_dir=./$as_dir;; 284 esac 285 test -d "$as_dir" || eval $as_mkdir_p || { 286 as_dirs= 287 while :; do 288 case $as_dir in #( 289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 290 *) as_qdir=$as_dir;; 291 esac 292 as_dirs="'$as_qdir' $as_dirs" 293 as_dir=`$as_dirname -- "$as_dir" || 294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 295 X"$as_dir" : 'X\(//\)[^/]' \| \ 296 X"$as_dir" : 'X\(//\)$' \| \ 297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 298 $as_echo X"$as_dir" | 299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 300 s//\1/ 301 q 302 } 303 /^X\(\/\/\)[^/].*/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\).*/{ 312 s//\1/ 313 q 314 } 315 s/.*/./; q'` 316 test -d "$as_dir" && break 317 done 318 test -z "$as_dirs" || eval "mkdir $as_dirs" 319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 320 321 322 } # as_fn_mkdir_p 323 # as_fn_append VAR VALUE 324 # ---------------------- 325 # Append the text in VALUE to the end of the definition contained in VAR. Take 326 # advantage of any shell optimizations that allow amortized linear growth over 327 # repeated appends, instead of the typical quadratic growth present in naive 328 # implementations. 329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 330 eval 'as_fn_append () 331 { 332 eval $1+=\$2 333 }' 334 else 335 as_fn_append () 336 { 337 eval $1=\$$1\$2 338 } 339 fi # as_fn_append 340 341 # as_fn_arith ARG... 342 # ------------------ 343 # Perform arithmetic evaluation on the ARGs, and store the result in the 344 # global $as_val. Take advantage of shells that can avoid forks. The arguments 345 # must be portable across $(()) and expr. 346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 347 eval 'as_fn_arith () 348 { 349 as_val=$(( $* )) 350 }' 351 else 352 as_fn_arith () 353 { 354 as_val=`expr "$@" || test $? -eq 1` 355 } 356 fi # as_fn_arith 357 358 359 # as_fn_error ERROR [LINENO LOG_FD] 360 # --------------------------------- 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363 # script with status $?, using 1 if that was 0. 364 as_fn_error () 365 { 366 as_status=$?; test $as_status -eq 0 && as_status=1 367 if test "$3"; then 368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 370 fi 371 $as_echo "$as_me: error: $1" >&2 372 as_fn_exit $as_status 373 } # as_fn_error 374 116 375 if expr a : '\(a\)' >/dev/null 2>&1 && 117 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 127 386 fi 128 387 129 130 # Name of the executable. 388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 389 as_dirname=dirname 390 else 391 as_dirname=false 392 fi 393 131 394 as_me=`$as_basename -- "$0" || 132 395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 396 X"$0" : 'X\(//\)$' \| \ 134 397 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" |398 $as_echo X/"$0" | 136 399 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 400 s//\1/ … … 148 411 s/.*/./; q'` 149 412 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223 do 224 IFS=$as_save_IFS 225 test -z "$as_dir" && as_dir=. 226 case $as_dir in 227 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 328 as_lineno_1=$LINENO 329 as_lineno_2=$LINENO 330 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 413 # Avoid depending upon Character Ranges. 414 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 417 as_cr_digits='0123456789' 418 as_cr_alnum=$as_cr_Letters$as_cr_digits 419 420 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 438 426 sed -n ' 439 427 p … … 452 440 ' >$as_me.lineno && 453 441 chmod +x "$as_me.lineno" || 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 { (exit 1); exit 1; }; } 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 456 443 457 444 # Don't try to exec as it changes $[0], causing all sort of problems … … 463 450 } 464 451 465 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then467 as_dirname=dirname468 else469 as_dirname=false470 fi471 472 452 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 453 case `echo -n x` in #((((( 474 454 -n*) 475 case `echo 'x \c'` in455 case `echo 'xy\c'` in 476 456 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 457 xy) ECHO_C='\c';; 458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459 ECHO_T=' ';; 478 460 esac;; 479 461 *) … … 481 463 esac 482 464 483 if expr a : '\(a\)' >/dev/null 2>&1 &&484 test "X`expr 00001 : '.*\(...\)'`" = X001; then485 as_expr=expr486 else487 as_expr=false488 fi489 490 465 rm -f conf$$ conf$$.exe conf$$.file 491 466 if test -d conf$$.dir; then … … 493 468 else 494 469 rm -f conf$$.dir 495 mkdir conf$$.dir 496 fi 497 echo >conf$$.file 498 if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 470 mkdir conf$$.dir 2>/dev/null 471 fi 472 if (echo >conf$$.file) 2>/dev/null; then 473 if ln -s conf$$.file conf$$ 2>/dev/null; then 474 as_ln_s='ln -s' 475 # ... but there are two gotchas: 476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 478 # In both cases, we have to default to `cp -p'. 479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 480 as_ln_s='cp -p' 481 elif ln conf$$.file conf$$ 2>/dev/null; then 482 as_ln_s=ln 483 else 505 484 as_ln_s='cp -p' 506 elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 485 fi 508 486 else 509 487 as_ln_s='cp -p' … … 513 491 514 492 if mkdir -p . 2>/dev/null; then 515 as_mkdir_p= :493 as_mkdir_p='mkdir -p "$as_dir"' 516 494 else 517 495 test -d ./-p && rmdir ./-p … … 530 508 eval sh -c '\'' 531 509 if test -d "$1"; then 532 510 test -d "$1/."; 533 511 else 534 case $1 in 535 512 case $1 in #( 513 -*)set "./$1";; 536 514 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 538 516 ???[sx]*):;;*)false;;esac;fi 539 517 '\'' sh … … 549 527 550 528 551 552 exec 7<&0 </dev/null6>&1529 test -n "$DJDIR" || exec 7<&0 </dev/null 530 exec 6>&1 553 531 554 532 # Name of the host. … … 568 546 MFLAGS= 569 547 MAKEFLAGS= 570 SHELL=${CONFIG_SHELL-/bin/sh}571 548 572 549 # Identity of this package. … … 576 553 PACKAGE_STRING='pjproject 1.x' 577 554 PACKAGE_BUGREPORT='' 555 PACKAGE_URL='' 578 556 579 557 # Factoring default headers for most tests. … … 613 591 #endif" 614 592 615 ac_subst_vars='SHELL 593 ac_subst_vars='LTLIBOBJS 594 LIBOBJS 595 ac_main_obj 596 ac_host 597 ac_linux_poll 598 ac_cross_compile 599 libcrypto_present 600 libssl_present 601 openssl_h_present 602 ac_no_ssl 603 ac_v4l2_ldflags 604 ac_v4l2_cflags 605 ac_ffmpeg_ldflags 606 ac_ffmpeg_cflags 607 ac_has_ffmpeg 608 ac_sdl_ldflags 609 ac_sdl_cflags 610 ac_no_ilbc_codec 611 ac_no_speex_codec 612 ac_no_g7221_codec 613 ac_no_g722_codec 614 ac_no_gsm_codec 615 ac_no_l16_codec 616 ac_no_g711_codec 617 ac_no_speex_aec 618 ac_no_large_filter 619 ac_no_small_filter 620 ac_qt_cflags 621 ac_pjmedia_video_has_qt 622 ac_ios_cflags 623 ac_pjmedia_video 624 ac_pa_use_oss 625 ac_pa_use_alsa 626 ac_pa_cflags 627 ac_external_pa 628 ac_pjmedia_snd 629 ac_external_gsm 630 ac_external_speex 631 ac_os_objs 632 EGREP 633 GREP 634 CPP 635 ac_build_mak_vars 636 ac_pjdir 637 CC_CFLAGS 638 CC_OPTIMIZE 639 CC_DEF 640 CC_INC 641 CC_OUT 642 LIBEXT2 643 LIBEXT 644 RANLIB 645 LDOUT 646 LD 647 AR 648 ac_ct_CXX 649 CXXFLAGS 650 CXX 651 OBJEXT 652 EXEEXT 653 ac_ct_CC 654 CPPFLAGS 655 LDFLAGS 656 CFLAGS 657 CC 658 target_os 659 target_vendor 660 target_cpu 661 target 662 host_os 663 host_vendor 664 host_cpu 665 host 666 build_os 667 build_vendor 668 build_cpu 669 build 670 target_alias 671 host_alias 672 build_alias 673 LIBS 674 ECHO_T 675 ECHO_N 676 ECHO_C 677 DEFS 678 mandir 679 localedir 680 libdir 681 psdir 682 pdfdir 683 dvidir 684 htmldir 685 infodir 686 docdir 687 oldincludedir 688 includedir 689 localstatedir 690 sharedstatedir 691 sysconfdir 692 datadir 693 datarootdir 694 libexecdir 695 sbindir 696 bindir 697 program_transform_name 698 prefix 699 exec_prefix 700 PACKAGE_URL 701 PACKAGE_BUGREPORT 702 PACKAGE_STRING 703 PACKAGE_VERSION 704 PACKAGE_TARNAME 705 PACKAGE_NAME 616 706 PATH_SEPARATOR 617 PACKAGE_NAME 618 PACKAGE_TARNAME 619 PACKAGE_VERSION 620 PACKAGE_STRING 621 PACKAGE_BUGREPORT 622 exec_prefix 623 prefix 624 program_transform_name 625 bindir 626 sbindir 627 libexecdir 628 datarootdir 629 datadir 630 sysconfdir 631 sharedstatedir 632 localstatedir 633 includedir 634 oldincludedir 635 docdir 636 infodir 637 htmldir 638 dvidir 639 pdfdir 640 psdir 641 libdir 642 localedir 643 mandir 644 DEFS 645 ECHO_C 646 ECHO_N 647 ECHO_T 648 LIBS 649 build_alias 650 host_alias 651 target_alias 652 build 653 build_cpu 654 build_vendor 655 build_os 656 host 657 host_cpu 658 host_vendor 659 host_os 660 target 661 target_cpu 662 target_vendor 663 target_os 664 CC 665 CFLAGS 666 LDFLAGS 667 CPPFLAGS 668 ac_ct_CC 669 EXEEXT 670 OBJEXT 671 CXX 672 CXXFLAGS 673 ac_ct_CXX 674 AR 675 LD 676 LDOUT 677 RANLIB 678 LIBEXT 679 LIBEXT2 680 CC_OUT 681 CC_INC 682 CC_DEF 683 CC_OPTIMIZE 684 CC_CFLAGS 685 ac_pjdir 686 ac_build_mak_vars 687 CPP 688 GREP 689 EGREP 690 ac_os_objs 691 ac_external_speex 692 ac_external_gsm 693 ac_pjmedia_snd 694 ac_external_pa 695 ac_pa_cflags 696 ac_pa_use_alsa 697 ac_pa_use_oss 698 ac_pjmedia_video 699 ac_ios_cflags 700 ac_pjmedia_video_has_qt 701 ac_qt_cflags 702 ac_no_small_filter 703 ac_no_large_filter 704 ac_no_speex_aec 705 ac_no_g711_codec 706 ac_no_l16_codec 707 ac_no_gsm_codec 708 ac_no_g722_codec 709 ac_no_g7221_codec 710 ac_no_speex_codec 711 ac_no_ilbc_codec 712 ac_sdl_cflags 713 ac_sdl_ldflags 714 ac_has_ffmpeg 715 ac_ffmpeg_cflags 716 ac_ffmpeg_ldflags 717 ac_v4l2_cflags 718 ac_v4l2_ldflags 719 ac_no_ssl 720 openssl_h_present 721 libssl_present 722 libcrypto_present 723 ac_cross_compile 724 ac_linux_poll 725 ac_host 726 ac_main_obj 727 LIBOBJS 728 LTLIBOBJS' 707 SHELL' 729 708 ac_subst_files='' 709 ac_user_opts=' 710 enable_option_checking 711 enable_floating_point 712 enable_epoll 713 with_external_speex 714 with_external_gsm 715 enable_sound 716 with_external_pa 717 enable_oss 718 enable_ext_sound 719 enable_small_filter 720 enable_large_filter 721 enable_speex_aec 722 enable_g711_codec 723 enable_l16_codec 724 enable_gsm_codec 725 enable_g722_codec 726 enable_g7221_codec 727 enable_speex_codec 728 enable_ilbc_codec 729 enable_libsamplerate 730 with_sdl 731 enable_sdl 732 enable_ffmpeg 733 with_ffmpeg 734 enable_v4l2 735 enable_ipp 736 with_ipp 737 with_ipp_samples 738 with_ipp_arch 739 enable_ssl 740 ' 730 741 ac_precious_vars='build_alias 731 742 host_alias … … 745 756 ac_init_help= 746 757 ac_init_version=false 758 ac_unrecognized_opts= 759 ac_unrecognized_sep= 747 760 # The variables have the same names as the options, with 748 761 # dashes changed to underlines. … … 843 856 844 857 -disable-* | --disable-*) 845 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`858 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 846 859 # Reject names that are not valid shell variable names. 847 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 848 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 849 { (exit 1); exit 1; }; } 850 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 851 eval enable_$ac_feature=no ;; 860 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 861 as_fn_error "invalid feature name: $ac_useropt" 862 ac_useropt_orig=$ac_useropt 863 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 864 case $ac_user_opts in 865 *" 866 "enable_$ac_useropt" 867 "*) ;; 868 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 869 ac_unrecognized_sep=', ';; 870 esac 871 eval enable_$ac_useropt=no ;; 852 872 853 873 -docdir | --docdir | --docdi | --doc | --do) … … 862 882 863 883 -enable-* | --enable-*) 864 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`884 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 865 885 # Reject names that are not valid shell variable names. 866 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 867 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 868 { (exit 1); exit 1; }; } 869 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 870 eval enable_$ac_feature=\$ac_optarg ;; 886 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 887 as_fn_error "invalid feature name: $ac_useropt" 888 ac_useropt_orig=$ac_useropt 889 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 890 case $ac_user_opts in 891 *" 892 "enable_$ac_useropt" 893 "*) ;; 894 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 895 ac_unrecognized_sep=', ';; 896 esac 897 eval enable_$ac_useropt=\$ac_optarg ;; 871 898 872 899 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1059 1086 1060 1087 -with-* | --with-*) 1061 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1088 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1062 1089 # Reject names that are not valid shell variable names. 1063 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1064 { echo "$as_me: error: invalid package name: $ac_package" >&2 1065 { (exit 1); exit 1; }; } 1066 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1067 eval with_$ac_package=\$ac_optarg ;; 1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1091 as_fn_error "invalid package name: $ac_useropt" 1092 ac_useropt_orig=$ac_useropt 1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1094 case $ac_user_opts in 1095 *" 1096 "with_$ac_useropt" 1097 "*) ;; 1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1099 ac_unrecognized_sep=', ';; 1100 esac 1101 eval with_$ac_useropt=\$ac_optarg ;; 1068 1102 1069 1103 -without-* | --without-*) 1070 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1104 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1071 1105 # Reject names that are not valid shell variable names. 1072 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1073 { echo "$as_me: error: invalid package name: $ac_package" >&2 1074 { (exit 1); exit 1; }; } 1075 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1076 eval with_$ac_package=no ;; 1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1107 as_fn_error "invalid package name: $ac_useropt" 1108 ac_useropt_orig=$ac_useropt 1109 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1110 case $ac_user_opts in 1111 *" 1112 "with_$ac_useropt" 1113 "*) ;; 1114 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1115 ac_unrecognized_sep=', ';; 1116 esac 1117 eval with_$ac_useropt=no ;; 1077 1118 1078 1119 --x) … … 1094 1135 x_libraries=$ac_optarg ;; 1095 1136 1096 -*) { echo "$as_me: error: unrecognized option: $ac_option 1097 Try \`$0 --help' for more information." >&2 1098 { (exit 1); exit 1; }; } 1137 -*) as_fn_error "unrecognized option: \`$ac_option' 1138 Try \`$0 --help' for more information." 1099 1139 ;; 1100 1140 … … 1102 1142 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1103 1143 # Reject names that are not valid shell variable names. 1104 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1105 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1106 { (exit 1); exit 1; }; } 1144 case $ac_envvar in #( 1145 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1146 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1147 esac 1107 1148 eval $ac_envvar=\$ac_optarg 1108 1149 export $ac_envvar ;; … … 1110 1151 *) 1111 1152 # FIXME: should be removed in autoconf 3.0. 1112 echo "$as_me: WARNING: you should use --build, --host, --target" >&21153 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1113 1154 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1114 echo "$as_me: WARNING: invalid host type: $ac_option" >&21155 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1115 1156 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1116 1157 ;; … … 1121 1162 if test -n "$ac_prev"; then 1122 1163 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1123 { echo "$as_me: error: missing argument to $ac_option" >&2 1124 { (exit 1); exit 1; }; } 1125 fi 1126 1127 # Be sure to have absolute directory names. 1164 as_fn_error "missing argument to $ac_option" 1165 fi 1166 1167 if test -n "$ac_unrecognized_opts"; then 1168 case $enable_option_checking in 1169 no) ;; 1170 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1171 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1172 esac 1173 fi 1174 1175 # Check all directory arguments for consistency. 1128 1176 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1129 1177 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1132 1180 do 1133 1181 eval ac_val=\$$ac_var 1182 # Remove trailing slashes. 1183 case $ac_val in 1184 */ ) 1185 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1186 eval $ac_var=\$ac_val;; 1187 esac 1188 # Be sure to have absolute directory names. 1134 1189 case $ac_val in 1135 1190 [\\/$]* | ?:[\\/]* ) continue;; 1136 1191 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1137 1192 esac 1138 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1139 { (exit 1); exit 1; }; } 1193 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1140 1194 done 1141 1195 … … 1151 1205 if test "x$build_alias" = x; then 1152 1206 cross_compiling=maybe 1153 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1207 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1154 1208 If a cross compiler is detected then cross compile mode will be used." >&2 1155 1209 elif test "x$build_alias" != "x$host_alias"; then … … 1167 1221 ac_ls_di=`ls -di .` && 1168 1222 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1169 { echo "$as_me: error: Working directory cannot be determined" >&2 1170 { (exit 1); exit 1; }; } 1223 as_fn_error "working directory cannot be determined" 1171 1224 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1172 { echo "$as_me: error: pwd does not report name of working directory" >&2 1173 { (exit 1); exit 1; }; } 1225 as_fn_error "pwd does not report name of working directory" 1174 1226 1175 1227 … … 1178 1230 ac_srcdir_defaulted=yes 1179 1231 # Try the directory containing this script, then the parent directory. 1180 ac_confdir=`$as_dirname -- "$ 0" ||1181 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1182 X"$ 0" : 'X\(//\)[^/]' \| \1183 X"$ 0" : 'X\(//\)$' \| \1184 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1185 echo X"$0" |1232 ac_confdir=`$as_dirname -- "$as_myself" || 1233 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1234 X"$as_myself" : 'X\(//\)[^/]' \| \ 1235 X"$as_myself" : 'X\(//\)$' \| \ 1236 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1237 $as_echo X"$as_myself" | 1186 1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1187 1239 s//\1/ … … 1210 1262 if test ! -r "$srcdir/$ac_unique_file"; then 1211 1263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1212 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1213 { (exit 1); exit 1; }; } 1264 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1214 1265 fi 1215 1266 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1216 1267 ac_abs_confdir=`( 1217 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1218 { (exit 1); exit 1; }; } 1268 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1219 1269 pwd)` 1220 1270 # When building in place, set srcdir=. … … 1264 1314 Installation directories: 1265 1315 --prefix=PREFIX install architecture-independent files in PREFIX 1266 1316 [$ac_default_prefix] 1267 1317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1268 1318 [PREFIX] 1269 1319 1270 1320 By default, \`make install' will install all the files in … … 1276 1326 1277 1327 Fine tuning of the installation directories: 1278 --bindir=DIR user executables [EPREFIX/bin]1279 --sbindir=DIR system admin executables [EPREFIX/sbin]1280 --libexecdir=DIR program executables [EPREFIX/libexec]1281 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1282 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1283 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1284 --libdir=DIR object code libraries [EPREFIX/lib]1285 --includedir=DIR C header files [PREFIX/include]1286 --oldincludedir=DIR C header files for non-gcc [/usr/include]1287 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1288 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1289 --infodir=DIR info documentation [DATAROOTDIR/info]1290 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1291 --mandir=DIR man documentation [DATAROOTDIR/man]1292 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject]1293 --htmldir=DIR html documentation [DOCDIR]1294 --dvidir=DIR dvi documentation [DOCDIR]1295 --pdfdir=DIR pdf documentation [DOCDIR]1296 --psdir=DIR ps documentation [DOCDIR]1328 --bindir=DIR user executables [EPREFIX/bin] 1329 --sbindir=DIR system admin executables [EPREFIX/sbin] 1330 --libexecdir=DIR program executables [EPREFIX/libexec] 1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1334 --libdir=DIR object code libraries [EPREFIX/lib] 1335 --includedir=DIR C header files [PREFIX/include] 1336 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1339 --infodir=DIR info documentation [DATAROOTDIR/info] 1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1341 --mandir=DIR man documentation [DATAROOTDIR/man] 1342 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1343 --htmldir=DIR html documentation [DOCDIR] 1344 --dvidir=DIR dvi documentation [DOCDIR] 1345 --pdfdir=DIR pdf documentation [DOCDIR] 1346 --psdir=DIR ps documentation [DOCDIR] 1297 1347 _ACEOF 1298 1348 … … 1313 1363 1314 1364 Optional Features: 1365 --disable-option-checking ignore unrecognized --enable/--with options 1315 1366 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1316 1367 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1361 1412 (hint: use CFLAGS and LDFLAGS env var to set the 1362 1413 include/lib paths) 1414 --with-sdl=DIR Specify alternate libSDL prefix 1363 1415 --with-ffmpeg=DIR Specify alternate FFMPEG prefix 1364 1416 --with-ipp=DIR Specify the Intel IPP location … … 1373 1425 nonstandard directory <lib dir> 1374 1426 LIBS libraries to pass to the linker, e.g. -l<library> 1375 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1427 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1376 1428 you have headers in a nonstandard directory <include dir> 1377 1429 CXX C++ compiler command … … 1382 1434 it to find libraries and programs with nonstandard names/locations. 1383 1435 1436 Report bugs to the package provider. 1384 1437 _ACEOF 1385 1438 ac_status=$? … … 1389 1442 # If there are subdirs, report their specific --help. 1390 1443 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1391 test -d "$ac_dir" || continue 1444 test -d "$ac_dir" || 1445 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1446 continue 1392 1447 ac_builddir=. 1393 1448 … … 1395 1450 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1396 1451 *) 1397 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1452 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1398 1453 # A ".." for each directory in $ac_dir_suffix. 1399 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1454 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1400 1455 case $ac_top_builddir_sub in 1401 1456 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1433 1488 $SHELL "$ac_srcdir/configure" --help=recursive 1434 1489 else 1435 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21490 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1436 1491 fi || ac_status=$? 1437 1492 cd "$ac_pwd" || { ac_status=$?; break; } … … 1443 1498 cat <<\_ACEOF 1444 1499 pjproject configure 1.x 1445 generated by GNU Autoconf 2.61 1446 1447 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1448 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1500 generated by GNU Autoconf 2.65 1501 1502 Copyright (C) 2009 Free Software Foundation, Inc. 1449 1503 This configure script is free software; the Free Software Foundation 1450 1504 gives unlimited permission to copy, distribute and modify it. … … 1452 1506 exit 1453 1507 fi 1508 1509 ## ------------------------ ## 1510 ## Autoconf initialization. ## 1511 ## ------------------------ ## 1512 1513 # ac_fn_c_try_compile LINENO 1514 # -------------------------- 1515 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1516 ac_fn_c_try_compile () 1517 { 1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1519 rm -f conftest.$ac_objext 1520 if { { ac_try="$ac_compile" 1521 case "(($ac_try" in 1522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1523 *) ac_try_echo=$ac_try;; 1524 esac 1525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1526 $as_echo "$ac_try_echo"; } >&5 1527 (eval "$ac_compile") 2>conftest.err 1528 ac_status=$? 1529 if test -s conftest.err; then 1530 grep -v '^ *+' conftest.err >conftest.er1 1531 cat conftest.er1 >&5 1532 mv -f conftest.er1 conftest.err 1533 fi 1534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1535 test $ac_status = 0; } && { 1536 test -z "$ac_c_werror_flag" || 1537 test ! -s conftest.err 1538 } && test -s conftest.$ac_objext; then : 1539 ac_retval=0 1540 else 1541 $as_echo "$as_me: failed program was:" >&5 1542 sed 's/^/| /' conftest.$ac_ext >&5 1543 1544 ac_retval=1 1545 fi 1546 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1547 as_fn_set_status $ac_retval 1548 1549 } # ac_fn_c_try_compile 1550 1551 # ac_fn_cxx_try_compile LINENO 1552 # ---------------------------- 1553 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1554 ac_fn_cxx_try_compile () 1555 { 1556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1557 rm -f conftest.$ac_objext 1558 if { { ac_try="$ac_compile" 1559 case "(($ac_try" in 1560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1561 *) ac_try_echo=$ac_try;; 1562 esac 1563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1564 $as_echo "$ac_try_echo"; } >&5 1565 (eval "$ac_compile") 2>conftest.err 1566 ac_status=$? 1567 if test -s conftest.err; then 1568 grep -v '^ *+' conftest.err >conftest.er1 1569 cat conftest.er1 >&5 1570 mv -f conftest.er1 conftest.err 1571 fi 1572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1573 test $ac_status = 0; } && { 1574 test -z "$ac_cxx_werror_flag" || 1575 test ! -s conftest.err 1576 } && test -s conftest.$ac_objext; then : 1577 ac_retval=0 1578 else 1579 $as_echo "$as_me: failed program was:" >&5 1580 sed 's/^/| /' conftest.$ac_ext >&5 1581 1582 ac_retval=1 1583 fi 1584 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1585 as_fn_set_status $ac_retval 1586 1587 } # ac_fn_cxx_try_compile 1588 1589 # ac_fn_c_try_link LINENO 1590 # ----------------------- 1591 # Try to link conftest.$ac_ext, and return whether this succeeded. 1592 ac_fn_c_try_link () 1593 { 1594 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1595 rm -f conftest.$ac_objext conftest$ac_exeext 1596 if { { ac_try="$ac_link" 1597 case "(($ac_try" in 1598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1599 *) ac_try_echo=$ac_try;; 1600 esac 1601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1602 $as_echo "$ac_try_echo"; } >&5 1603 (eval "$ac_link") 2>conftest.err 1604 ac_status=$? 1605 if test -s conftest.err; then 1606 grep -v '^ *+' conftest.err >conftest.er1 1607 cat conftest.er1 >&5 1608 mv -f conftest.er1 conftest.err 1609 fi 1610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1611 test $ac_status = 0; } && { 1612 test -z "$ac_c_werror_flag" || 1613 test ! -s conftest.err 1614 } && test -s conftest$ac_exeext && { 1615 test "$cross_compiling" = yes || 1616 $as_test_x conftest$ac_exeext 1617 }; then : 1618 ac_retval=0 1619 else 1620 $as_echo "$as_me: failed program was:" >&5 1621 sed 's/^/| /' conftest.$ac_ext >&5 1622 1623 ac_retval=1 1624 fi 1625 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1626 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1627 # interfere with the next link command; also delete a directory that is 1628 # left behind by Apple's compiler. We do this before executing the actions. 1629 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1630 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1631 as_fn_set_status $ac_retval 1632 1633 } # ac_fn_c_try_link 1634 1635 # ac_fn_c_try_run LINENO 1636 # ---------------------- 1637 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1638 # that executables *can* be run. 1639 ac_fn_c_try_run () 1640 { 1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1642 if { { ac_try="$ac_link" 1643 case "(($ac_try" in 1644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1645 *) ac_try_echo=$ac_try;; 1646 esac 1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1648 $as_echo "$ac_try_echo"; } >&5 1649 (eval "$ac_link") 2>&5 1650 ac_status=$? 1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1652 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1653 { { case "(($ac_try" in 1654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1655 *) ac_try_echo=$ac_try;; 1656 esac 1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1658 $as_echo "$ac_try_echo"; } >&5 1659 (eval "$ac_try") 2>&5 1660 ac_status=$? 1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1662 test $ac_status = 0; }; }; then : 1663 ac_retval=0 1664 else 1665 $as_echo "$as_me: program exited with status $ac_status" >&5 1666 $as_echo "$as_me: failed program was:" >&5 1667 sed 's/^/| /' conftest.$ac_ext >&5 1668 1669 ac_retval=$ac_status 1670 fi 1671 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1672 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1673 as_fn_set_status $ac_retval 1674 1675 } # ac_fn_c_try_run 1676 1677 # ac_fn_c_try_cpp LINENO 1678 # ---------------------- 1679 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1680 ac_fn_c_try_cpp () 1681 { 1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1683 if { { ac_try="$ac_cpp conftest.$ac_ext" 1684 case "(($ac_try" in 1685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1686 *) ac_try_echo=$ac_try;; 1687 esac 1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1689 $as_echo "$ac_try_echo"; } >&5 1690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1691 ac_status=$? 1692 if test -s conftest.err; then 1693 grep -v '^ *+' conftest.err >conftest.er1 1694 cat conftest.er1 >&5 1695 mv -f conftest.er1 conftest.err 1696 fi 1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1698 test $ac_status = 0; } >/dev/null && { 1699 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1700 test ! -s conftest.err 1701 }; then : 1702 ac_retval=0 1703 else 1704 $as_echo "$as_me: failed program was:" >&5 1705 sed 's/^/| /' conftest.$ac_ext >&5 1706 1707 ac_retval=1 1708 fi 1709 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1710 as_fn_set_status $ac_retval 1711 1712 } # ac_fn_c_try_cpp 1713 1714 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1715 # ------------------------------------------------------- 1716 # Tests whether HEADER exists and can be compiled using the include files in 1717 # INCLUDES, setting the cache variable VAR accordingly. 1718 ac_fn_c_check_header_compile () 1719 { 1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1722 $as_echo_n "checking for $2... " >&6; } 1723 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1724 $as_echo_n "(cached) " >&6 1725 else 1726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1727 /* end confdefs.h. */ 1728 $4 1729 #include <$2> 1730 _ACEOF 1731 if ac_fn_c_try_compile "$LINENO"; then : 1732 eval "$3=yes" 1733 else 1734 eval "$3=no" 1735 fi 1736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1737 fi 1738 eval ac_res=\$$3 1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1740 $as_echo "$ac_res" >&6; } 1741 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1742 1743 } # ac_fn_c_check_header_compile 1744 1745 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1746 # ------------------------------------------------------- 1747 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1748 # the include files in INCLUDES and setting the cache variable VAR 1749 # accordingly. 1750 ac_fn_c_check_header_mongrel () 1751 { 1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1753 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1755 $as_echo_n "checking for $2... " >&6; } 1756 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1757 $as_echo_n "(cached) " >&6 1758 fi 1759 eval ac_res=\$$3 1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1761 $as_echo "$ac_res" >&6; } 1762 else 1763 # Is the header compilable? 1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1765 $as_echo_n "checking $2 usability... " >&6; } 1766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1767 /* end confdefs.h. */ 1768 $4 1769 #include <$2> 1770 _ACEOF 1771 if ac_fn_c_try_compile "$LINENO"; then : 1772 ac_header_compiler=yes 1773 else 1774 ac_header_compiler=no 1775 fi 1776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1778 $as_echo "$ac_header_compiler" >&6; } 1779 1780 # Is the header present? 1781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1782 $as_echo_n "checking $2 presence... " >&6; } 1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1784 /* end confdefs.h. */ 1785 #include <$2> 1786 _ACEOF 1787 if ac_fn_c_try_cpp "$LINENO"; then : 1788 ac_header_preproc=yes 1789 else 1790 ac_header_preproc=no 1791 fi 1792 rm -f conftest.err conftest.$ac_ext 1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1794 $as_echo "$ac_header_preproc" >&6; } 1795 1796 # So? What about this header? 1797 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1798 yes:no: ) 1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1800 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1802 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1803 ;; 1804 no:yes:* ) 1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1806 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1808 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1810 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1812 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1814 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1815 ;; 1816 esac 1817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1818 $as_echo_n "checking for $2... " >&6; } 1819 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1820 $as_echo_n "(cached) " >&6 1821 else 1822 eval "$3=\$ac_header_compiler" 1823 fi 1824 eval ac_res=\$$3 1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1826 $as_echo "$ac_res" >&6; } 1827 fi 1828 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1829 1830 } # ac_fn_c_check_header_mongrel 1831 1832 # ac_fn_c_check_func LINENO FUNC VAR 1833 # ---------------------------------- 1834 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1835 ac_fn_c_check_func () 1836 { 1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1839 $as_echo_n "checking for $2... " >&6; } 1840 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1841 $as_echo_n "(cached) " >&6 1842 else 1843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1844 /* end confdefs.h. */ 1845 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1846 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1847 #define $2 innocuous_$2 1848 1849 /* System header to define __stub macros and hopefully few prototypes, 1850 which can conflict with char $2 (); below. 1851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1852 <limits.h> exists even on freestanding compilers. */ 1853 1854 #ifdef __STDC__ 1855 # include <limits.h> 1856 #else 1857 # include <assert.h> 1858 #endif 1859 1860 #undef $2 1861 1862 /* Override any GCC internal prototype to avoid an error. 1863 Use char because int might match the return type of a GCC 1864 builtin and then its argument prototype would still apply. */ 1865 #ifdef __cplusplus 1866 extern "C" 1867 #endif 1868 char $2 (); 1869 /* The GNU C library defines this for functions which it implements 1870 to always fail with ENOSYS. Some functions are actually named 1871 something starting with __ and the normal name is an alias. */ 1872 #if defined __stub_$2 || defined __stub___$2 1873 choke me 1874 #endif 1875 1876 int 1877 main () 1878 { 1879 return $2 (); 1880 ; 1881 return 0; 1882 } 1883 _ACEOF 1884 if ac_fn_c_try_link "$LINENO"; then : 1885 eval "$3=yes" 1886 else 1887 eval "$3=no" 1888 fi 1889 rm -f core conftest.err conftest.$ac_objext \ 1890 conftest$ac_exeext conftest.$ac_ext 1891 fi 1892 eval ac_res=\$$3 1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1894 $as_echo "$ac_res" >&6; } 1895 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1896 1897 } # ac_fn_c_check_func 1454 1898 cat >config.log <<_ACEOF 1455 1899 This file contains any messages produced by compilers while … … 1457 1901 1458 1902 It was created by pjproject $as_me 1.x, which was 1459 generated by GNU Autoconf 2.6 1. Invocation command line was1903 generated by GNU Autoconf 2.65. Invocation command line was 1460 1904 1461 1905 $ $0 $@ … … 1493 1937 IFS=$as_save_IFS 1494 1938 test -z "$as_dir" && as_dir=. 1495 echo "PATH: $as_dir"1496 done1939 $as_echo "PATH: $as_dir" 1940 done 1497 1941 IFS=$as_save_IFS 1498 1942 … … 1528 1972 continue ;; 1529 1973 *\'*) 1530 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1974 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1531 1975 esac 1532 1976 case $ac_pass in 1533 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1977 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1534 1978 2) 1535 a c_configure_args1="$ac_configure_args1'$ac_arg'"1979 as_fn_append ac_configure_args1 " '$ac_arg'" 1536 1980 if test $ac_must_keep_next = true; then 1537 1981 ac_must_keep_next=false # Got value, back to normal. … … 1549 1993 esac 1550 1994 fi 1551 a c_configure_args="$ac_configure_args'$ac_arg'"1995 as_fn_append ac_configure_args " '$ac_arg'" 1552 1996 ;; 1553 1997 esac 1554 1998 done 1555 1999 done 1556 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1557 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2000 { ac_configure_args0=; unset ac_configure_args0;} 2001 { ac_configure_args1=; unset ac_configure_args1;} 1558 2002 1559 2003 # When interrupted or exit'd, cleanup temporary files, and complete … … 1580 2024 *${as_nl}*) 1581 2025 case $ac_var in #( 1582 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51583 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2026 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2027 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1584 2028 esac 1585 2029 case $ac_var in #( 1586 2030 _ | IFS | as_nl) ;; #( 1587 *) $as_unset $ac_var ;; 2031 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2032 *) { eval $ac_var=; unset $ac_var;} ;; 1588 2033 esac ;; 1589 2034 esac … … 1614 2059 eval ac_val=\$$ac_var 1615 2060 case $ac_val in 1616 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2061 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1617 2062 esac 1618 echo "$ac_var='\''$ac_val'\''"2063 $as_echo "$ac_var='\''$ac_val'\''" 1619 2064 done | sort 1620 2065 echo … … 1631 2076 eval ac_val=\$$ac_var 1632 2077 case $ac_val in 1633 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2078 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1634 2079 esac 1635 echo "$ac_var='\''$ac_val'\''"2080 $as_echo "$ac_var='\''$ac_val'\''" 1636 2081 done | sort 1637 2082 echo … … 1649 2094 fi 1650 2095 test "$ac_signal" != 0 && 1651 echo "$as_me: caught signal $ac_signal"1652 echo "$as_me: exit $exit_status"2096 $as_echo "$as_me: caught signal $ac_signal" 2097 $as_echo "$as_me: exit $exit_status" 1653 2098 } >&5 1654 2099 rm -f core *.core core.conftest.* && … … 1657 2102 ' 0 1658 2103 for ac_signal in 1 2 13 15; do 1659 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2104 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1660 2105 done 1661 2106 ac_signal=0 … … 1664 2109 rm -f -r conftest* confdefs.h 1665 2110 2111 $as_echo "/* confdefs.h */" > confdefs.h 2112 1666 2113 # Predefined preprocessor variables. 1667 2114 … … 1670 2117 _ACEOF 1671 2118 1672 1673 2119 cat >>confdefs.h <<_ACEOF 1674 2120 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1675 2121 _ACEOF 1676 2122 1677 1678 2123 cat >>confdefs.h <<_ACEOF 1679 2124 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1680 2125 _ACEOF 1681 2126 1682 1683 2127 cat >>confdefs.h <<_ACEOF 1684 2128 #define PACKAGE_STRING "$PACKAGE_STRING" 1685 2129 _ACEOF 1686 2130 1687 1688 2131 cat >>confdefs.h <<_ACEOF 1689 2132 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1690 2133 _ACEOF 1691 2134 2135 cat >>confdefs.h <<_ACEOF 2136 #define PACKAGE_URL "$PACKAGE_URL" 2137 _ACEOF 2138 1692 2139 1693 2140 # Let the site file select an alternate cache file if it wants to. 1694 # Prefer explicitly selected file to automatically selected ones. 2141 # Prefer an explicitly selected file to automatically selected ones. 2142 ac_site_file1=NONE 2143 ac_site_file2=NONE 1695 2144 if test -n "$CONFIG_SITE"; then 1696 set x "$CONFIG_SITE"2145 ac_site_file1=$CONFIG_SITE 1697 2146 elif test "x$prefix" != xNONE; then 1698 set x "$prefix/share/config.site" "$prefix/etc/config.site"1699 else1700 set x "$ac_default_prefix/share/config.site" \ 1701 "$ac_default_prefix/etc/config.site" 1702 fi 1703 shift 1704 for ac_site_file 2147 ac_site_file1=$prefix/share/config.site 2148 ac_site_file2=$prefix/etc/config.site 2149 else 2150 ac_site_file1=$ac_default_prefix/share/config.site 2151 ac_site_file2=$ac_default_prefix/etc/config.site 2152 fi 2153 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1705 2154 do 1706 if test -r "$ac_site_file"; then 1707 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1708 echo "$as_me: loading site script $ac_site_file" >&6;} 2155 test "x$ac_site_file" = xNONE && continue 2156 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2157 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2158 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1709 2159 sed 's/^/| /' "$ac_site_file" >&5 1710 2160 . "$ac_site_file" … … 1713 2163 1714 2164 if test -r "$cache_file"; then 1715 # Some versions of bash will fail to source /dev/null (special 1716 # files actually), so we avoid doing that.1717 if test -f "$cache_file"; then1718 { echo "$as_me:$LINENO: loading cache $cache_file" >&51719 echo "$as_me: loading cache $cache_file" >&6;}2165 # Some versions of bash will fail to source /dev/null (special files 2166 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2167 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2168 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2169 $as_echo "$as_me: loading cache $cache_file" >&6;} 1720 2170 case $cache_file in 1721 2171 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1724 2174 fi 1725 2175 else 1726 { echo "$as_me:$LINENO: creating cache $cache_file" >&51727 echo "$as_me: creating cache $cache_file" >&6;}2176 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2177 $as_echo "$as_me: creating cache $cache_file" >&6;} 1728 2178 >$cache_file 1729 2179 fi … … 1739 2189 case $ac_old_set,$ac_new_set in 1740 2190 set,) 1741 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51742 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2192 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1743 2193 ac_cache_corrupted=: ;; 1744 2194 ,set) 1745 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51746 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2195 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2196 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1747 2197 ac_cache_corrupted=: ;; 1748 2198 ,);; 1749 2199 *) 1750 2200 if test "x$ac_old_val" != "x$ac_new_val"; then 1751 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1752 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1753 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1754 echo "$as_me: former value: $ac_old_val" >&2;} 1755 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1756 echo "$as_me: current value: $ac_new_val" >&2;} 1757 ac_cache_corrupted=: 2201 # differences in whitespace do not lead to failure. 2202 ac_old_val_w=`echo x $ac_old_val` 2203 ac_new_val_w=`echo x $ac_new_val` 2204 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2206 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2207 ac_cache_corrupted=: 2208 else 2209 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2210 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2211 eval $ac_var=\$ac_old_val 2212 fi 2213 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2214 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2215 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2216 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1758 2217 fi;; 1759 2218 esac … … 1761 2220 if test "$ac_new_set" = set; then 1762 2221 case $ac_new_val in 1763 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2222 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1764 2223 *) ac_arg=$ac_var=$ac_new_val ;; 1765 2224 esac 1766 2225 case " $ac_configure_args " in 1767 2226 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1768 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2227 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1769 2228 esac 1770 2229 fi 1771 2230 done 1772 2231 if $ac_cache_corrupted; then 1773 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1774 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1775 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1776 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1777 { (exit 1); exit 1; }; } 1778 fi 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 2232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2235 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2236 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2237 fi 2238 ## -------------------- ## 2239 ## Main body of script. ## 2240 ## -------------------- ## 1803 2241 1804 2242 ac_ext=c … … 1814 2252 ac_aux_dir= 1815 2253 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1816 if test -f "$ac_dir/install-sh"; then 1817 ac_aux_dir=$ac_dir 1818 ac_install_sh="$ac_aux_dir/install-sh -c" 1819 break 1820 elif test -f "$ac_dir/install.sh"; then 1821 ac_aux_dir=$ac_dir 1822 ac_install_sh="$ac_aux_dir/install.sh -c" 1823 break 1824 elif test -f "$ac_dir/shtool"; then 1825 ac_aux_dir=$ac_dir 1826 ac_install_sh="$ac_aux_dir/shtool install -c" 1827 break 1828 fi 2254 for ac_t in install-sh install.sh shtool; do 2255 if test -f "$ac_dir/$ac_t"; then 2256 ac_aux_dir=$ac_dir 2257 ac_install_sh="$ac_aux_dir/$ac_t -c" 2258 break 2 2259 fi 2260 done 1829 2261 done 1830 2262 if test -z "$ac_aux_dir"; then 1831 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1832 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1833 { (exit 1); exit 1; }; } 2263 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1834 2264 fi 1835 2265 … … 1845 2275 # Make sure we can run config.sub. 1846 2276 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1847 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1848 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1849 { (exit 1); exit 1; }; } 1850 1851 { echo "$as_me:$LINENO: checking build system type" >&5 1852 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1853 if test "${ac_cv_build+set}" = set; then 1854 echo $ECHO_N "(cached) $ECHO_C" >&6 2277 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2278 2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2280 $as_echo_n "checking build system type... " >&6; } 2281 if test "${ac_cv_build+set}" = set; then : 2282 $as_echo_n "(cached) " >&6 1855 2283 else 1856 2284 ac_build_alias=$build_alias … … 1858 2286 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1859 2287 test "x$ac_build_alias" = x && 1860 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1861 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1862 { (exit 1); exit 1; }; } 2288 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1863 2289 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1864 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1865 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1866 { (exit 1); exit 1; }; } 1867 1868 fi 1869 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1870 echo "${ECHO_T}$ac_cv_build" >&6; } 2290 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2291 2292 fi 2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2294 $as_echo "$ac_cv_build" >&6; } 1871 2295 case $ac_cv_build in 1872 2296 *-*-*) ;; 1873 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1874 echo "$as_me: error: invalid value of canonical build" >&2;} 1875 { (exit 1); exit 1; }; };; 2297 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1876 2298 esac 1877 2299 build=$ac_cv_build … … 1889 2311 1890 2312 1891 { echo "$as_me:$LINENO: checking host system type" >&51892 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }1893 if test "${ac_cv_host+set}" = set; then 1894 echo $ECHO_N "(cached) $ECHO_C" >&62313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2314 $as_echo_n "checking host system type... " >&6; } 2315 if test "${ac_cv_host+set}" = set; then : 2316 $as_echo_n "(cached) " >&6 1895 2317 else 1896 2318 if test "x$host_alias" = x; then … … 1898 2320 else 1899 2321 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1900 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1901 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1902 { (exit 1); exit 1; }; } 1903 fi 1904 1905 fi 1906 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1907 echo "${ECHO_T}$ac_cv_host" >&6; } 2322 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2323 fi 2324 2325 fi 2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2327 $as_echo "$ac_cv_host" >&6; } 1908 2328 case $ac_cv_host in 1909 2329 *-*-*) ;; 1910 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1911 echo "$as_me: error: invalid value of canonical host" >&2;} 1912 { (exit 1); exit 1; }; };; 2330 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1913 2331 esac 1914 2332 host=$ac_cv_host … … 1926 2344 1927 2345 1928 { echo "$as_me:$LINENO: checking target system type" >&51929 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }1930 if test "${ac_cv_target+set}" = set; then 1931 echo $ECHO_N "(cached) $ECHO_C" >&62346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2347 $as_echo_n "checking target system type... " >&6; } 2348 if test "${ac_cv_target+set}" = set; then : 2349 $as_echo_n "(cached) " >&6 1932 2350 else 1933 2351 if test "x$target_alias" = x; then … … 1935 2353 else 1936 2354 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1937 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1938 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1939 { (exit 1); exit 1; }; } 1940 fi 1941 1942 fi 1943 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1944 echo "${ECHO_T}$ac_cv_target" >&6; } 2355 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2356 fi 2357 2358 fi 2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2360 $as_echo "$ac_cv_target" >&6; } 1945 2361 case $ac_cv_target in 1946 2362 *-*-*) ;; 1947 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1948 echo "$as_me: error: invalid value of canonical target" >&2;} 1949 { (exit 1); exit 1; }; };; 2363 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 1950 2364 esac 1951 2365 target=$ac_cv_target … … 1991 2405 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1992 2406 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1993 { echo "$as_me:$LINENO: checking for $ac_word" >&51994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1995 if test "${ac_cv_prog_CC+set}" = set; then 1996 echo $ECHO_N "(cached) $ECHO_C" >&62407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2408 $as_echo_n "checking for $ac_word... " >&6; } 2409 if test "${ac_cv_prog_CC+set}" = set; then : 2410 $as_echo_n "(cached) " >&6 1997 2411 else 1998 2412 if test -n "$CC"; then … … 2004 2418 IFS=$as_save_IFS 2005 2419 test -z "$as_dir" && as_dir=. 2006 for ac_exec_ext in '' $ac_executable_extensions; do2420 for ac_exec_ext in '' $ac_executable_extensions; do 2007 2421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2008 2422 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2010 2424 break 2 2011 2425 fi 2012 2426 done 2013 done2427 done 2014 2428 IFS=$as_save_IFS 2015 2429 … … 2018 2432 CC=$ac_cv_prog_CC 2019 2433 if test -n "$CC"; then 2020 { echo "$as_me:$LINENO: result: $CC" >&52021 echo "${ECHO_T}$CC" >&6; }2022 else 2023 { echo "$as_me:$LINENO: result: no" >&52024 echo "${ECHO_T}no" >&6; }2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2435 $as_echo "$CC" >&6; } 2436 else 2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2438 $as_echo "no" >&6; } 2025 2439 fi 2026 2440 … … 2031 2445 # Extract the first word of "gcc", so it can be a program name with args. 2032 2446 set dummy gcc; ac_word=$2 2033 { echo "$as_me:$LINENO: checking for $ac_word" >&52034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2035 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2036 echo $ECHO_N "(cached) $ECHO_C" >&62447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2448 $as_echo_n "checking for $ac_word... " >&6; } 2449 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2450 $as_echo_n "(cached) " >&6 2037 2451 else 2038 2452 if test -n "$ac_ct_CC"; then … … 2044 2458 IFS=$as_save_IFS 2045 2459 test -z "$as_dir" && as_dir=. 2046 for ac_exec_ext in '' $ac_executable_extensions; do2460 for ac_exec_ext in '' $ac_executable_extensions; do 2047 2461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2048 2462 ac_cv_prog_ac_ct_CC="gcc" 2049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2050 2464 break 2 2051 2465 fi 2052 2466 done 2053 done2467 done 2054 2468 IFS=$as_save_IFS 2055 2469 … … 2058 2472 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2059 2473 if test -n "$ac_ct_CC"; then 2060 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52061 echo "${ECHO_T}$ac_ct_CC" >&6; }2062 else 2063 { echo "$as_me:$LINENO: result: no" >&52064 echo "${ECHO_T}no" >&6; }2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2475 $as_echo "$ac_ct_CC" >&6; } 2476 else 2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2478 $as_echo "no" >&6; } 2065 2479 fi 2066 2480 … … 2070 2484 case $cross_compiling:$ac_tool_warned in 2071 2485 yes:) 2072 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2073 whose name does not start with the host triplet. If you think this 2074 configuration is useful to you, please write to autoconf@gnu.org." >&5 2075 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2076 whose name does not start with the host triplet. If you think this 2077 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2078 2488 ac_tool_warned=yes ;; 2079 2489 esac … … 2088 2498 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2089 2499 set dummy ${ac_tool_prefix}cc; ac_word=$2 2090 { echo "$as_me:$LINENO: checking for $ac_word" >&52091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2092 if test "${ac_cv_prog_CC+set}" = set; then 2093 echo $ECHO_N "(cached) $ECHO_C" >&62500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2501 $as_echo_n "checking for $ac_word... " >&6; } 2502 if test "${ac_cv_prog_CC+set}" = set; then : 2503 $as_echo_n "(cached) " >&6 2094 2504 else 2095 2505 if test -n "$CC"; then … … 2101 2511 IFS=$as_save_IFS 2102 2512 test -z "$as_dir" && as_dir=. 2103 for ac_exec_ext in '' $ac_executable_extensions; do2513 for ac_exec_ext in '' $ac_executable_extensions; do 2104 2514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2105 2515 ac_cv_prog_CC="${ac_tool_prefix}cc" 2106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2107 2517 break 2 2108 2518 fi 2109 2519 done 2110 done2520 done 2111 2521 IFS=$as_save_IFS 2112 2522 … … 2115 2525 CC=$ac_cv_prog_CC 2116 2526 if test -n "$CC"; then 2117 { echo "$as_me:$LINENO: result: $CC" >&52118 echo "${ECHO_T}$CC" >&6; }2119 else 2120 { echo "$as_me:$LINENO: result: no" >&52121 echo "${ECHO_T}no" >&6; }2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2528 $as_echo "$CC" >&6; } 2529 else 2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2531 $as_echo "no" >&6; } 2122 2532 fi 2123 2533 … … 2128 2538 # Extract the first word of "cc", so it can be a program name with args. 2129 2539 set dummy cc; ac_word=$2 2130 { echo "$as_me:$LINENO: checking for $ac_word" >&52131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2132 if test "${ac_cv_prog_CC+set}" = set; then 2133 echo $ECHO_N "(cached) $ECHO_C" >&62540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2541 $as_echo_n "checking for $ac_word... " >&6; } 2542 if test "${ac_cv_prog_CC+set}" = set; then : 2543 $as_echo_n "(cached) " >&6 2134 2544 else 2135 2545 if test -n "$CC"; then … … 2142 2552 IFS=$as_save_IFS 2143 2553 test -z "$as_dir" && as_dir=. 2144 for ac_exec_ext in '' $ac_executable_extensions; do2554 for ac_exec_ext in '' $ac_executable_extensions; do 2145 2555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2146 2556 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2149 2559 fi 2150 2560 ac_cv_prog_CC="cc" 2151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2152 2562 break 2 2153 2563 fi 2154 2564 done 2155 done2565 done 2156 2566 IFS=$as_save_IFS 2157 2567 … … 2172 2582 CC=$ac_cv_prog_CC 2173 2583 if test -n "$CC"; then 2174 { echo "$as_me:$LINENO: result: $CC" >&52175 echo "${ECHO_T}$CC" >&6; }2176 else 2177 { echo "$as_me:$LINENO: result: no" >&52178 echo "${ECHO_T}no" >&6; }2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2585 $as_echo "$CC" >&6; } 2586 else 2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2588 $as_echo "no" >&6; } 2179 2589 fi 2180 2590 … … 2187 2597 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2188 2598 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2189 { echo "$as_me:$LINENO: checking for $ac_word" >&52190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2191 if test "${ac_cv_prog_CC+set}" = set; then 2192 echo $ECHO_N "(cached) $ECHO_C" >&62599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2600 $as_echo_n "checking for $ac_word... " >&6; } 2601 if test "${ac_cv_prog_CC+set}" = set; then : 2602 $as_echo_n "(cached) " >&6 2193 2603 else 2194 2604 if test -n "$CC"; then … … 2200 2610 IFS=$as_save_IFS 2201 2611 test -z "$as_dir" && as_dir=. 2202 for ac_exec_ext in '' $ac_executable_extensions; do2612 for ac_exec_ext in '' $ac_executable_extensions; do 2203 2613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2204 2614 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2206 2616 break 2 2207 2617 fi 2208 2618 done 2209 done2619 done 2210 2620 IFS=$as_save_IFS 2211 2621 … … 2214 2624 CC=$ac_cv_prog_CC 2215 2625 if test -n "$CC"; then 2216 { echo "$as_me:$LINENO: result: $CC" >&52217 echo "${ECHO_T}$CC" >&6; }2218 else 2219 { echo "$as_me:$LINENO: result: no" >&52220 echo "${ECHO_T}no" >&6; }2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2627 $as_echo "$CC" >&6; } 2628 else 2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2630 $as_echo "no" >&6; } 2221 2631 fi 2222 2632 … … 2231 2641 # Extract the first word of "$ac_prog", so it can be a program name with args. 2232 2642 set dummy $ac_prog; ac_word=$2 2233 { echo "$as_me:$LINENO: checking for $ac_word" >&52234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2235 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2236 echo $ECHO_N "(cached) $ECHO_C" >&62643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2644 $as_echo_n "checking for $ac_word... " >&6; } 2645 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2646 $as_echo_n "(cached) " >&6 2237 2647 else 2238 2648 if test -n "$ac_ct_CC"; then … … 2244 2654 IFS=$as_save_IFS 2245 2655 test -z "$as_dir" && as_dir=. 2246 for ac_exec_ext in '' $ac_executable_extensions; do2656 for ac_exec_ext in '' $ac_executable_extensions; do 2247 2657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2248 2658 ac_cv_prog_ac_ct_CC="$ac_prog" 2249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2250 2660 break 2 2251 2661 fi 2252 2662 done 2253 done2663 done 2254 2664 IFS=$as_save_IFS 2255 2665 … … 2258 2668 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2259 2669 if test -n "$ac_ct_CC"; then 2260 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52261 echo "${ECHO_T}$ac_ct_CC" >&6; }2262 else 2263 { echo "$as_me:$LINENO: result: no" >&52264 echo "${ECHO_T}no" >&6; }2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2671 $as_echo "$ac_ct_CC" >&6; } 2672 else 2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2674 $as_echo "no" >&6; } 2265 2675 fi 2266 2676 … … 2274 2684 case $cross_compiling:$ac_tool_warned in 2275 2685 yes:) 2276 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2277 whose name does not start with the host triplet. If you think this 2278 configuration is useful to you, please write to autoconf@gnu.org." >&5 2279 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2280 whose name does not start with the host triplet. If you think this 2281 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2282 2688 ac_tool_warned=yes ;; 2283 2689 esac … … 2289 2695 2290 2696 2291 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2292 See \`config.log' for more details." >&5 2293 echo "$as_me: error: no acceptable C compiler found in \$PATH 2294 See \`config.log' for more details." >&2;} 2295 { (exit 1); exit 1; }; } 2697 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2699 as_fn_error "no acceptable C compiler found in \$PATH 2700 See \`config.log' for more details." "$LINENO" 5; } 2296 2701 2297 2702 # Provide some information about the compiler. 2298 echo "$as_me:$LINENO: checking for C compiler version" >&5 2299 ac_compiler=`set X $ac_compile; echo $2` 2300 { (ac_try="$ac_compiler --version >&5" 2703 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2704 set X $ac_compile 2705 ac_compiler=$2 2706 for ac_option in --version -v -V -qversion; do 2707 { { ac_try="$ac_compiler $ac_option >&5" 2301 2708 case "(($ac_try" in 2302 2709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2303 2710 *) ac_try_echo=$ac_try;; 2304 2711 esac 2305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2306 (eval "$ac_compiler --version >&5") 2>&5 2712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2713 $as_echo "$ac_try_echo"; } >&5 2714 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2307 2715 ac_status=$? 2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2309 (exit $ac_status); } 2310 { (ac_try="$ac_compiler -v >&5" 2716 if test -s conftest.err; then 2717 sed '10a\ 2718 ... rest of stderr output deleted ... 2719 10q' conftest.err >conftest.er1 2720 cat conftest.er1 >&5 2721 fi 2722 rm -f conftest.er1 conftest.err 2723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2724 test $ac_status = 0; } 2725 done 2726 2727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2728 /* end confdefs.h. */ 2729 2730 int 2731 main () 2732 { 2733 2734 ; 2735 return 0; 2736 } 2737 _ACEOF 2738 ac_clean_files_save=$ac_clean_files 2739 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2740 # Try to create an executable without -o first, disregard a.out. 2741 # It will help us diagnose broken compilers, and finding out an intuition 2742 # of exeext. 2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2744 $as_echo_n "checking whether the C compiler works... " >&6; } 2745 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2746 2747 # The possible output files: 2748 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2749 2750 ac_rmfiles= 2751 for ac_file in $ac_files 2752 do 2753 case $ac_file in 2754 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2755 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2756 esac 2757 done 2758 rm -f $ac_rmfiles 2759 2760 if { { ac_try="$ac_link_default" 2311 2761 case "(($ac_try" in 2312 2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2313 2763 *) ac_try_echo=$ac_try;; 2314 2764 esac 2315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2316 (eval "$ac_compiler -v >&5") 2>&5 2317 ac_status=$? 2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2319 (exit $ac_status); } 2320 { (ac_try="$ac_compiler -V >&5" 2321 case "(($ac_try" in 2322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2323 *) ac_try_echo=$ac_try;; 2324 esac 2325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2326 (eval "$ac_compiler -V >&5") 2>&5 2327 ac_status=$? 2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2329 (exit $ac_status); } 2330 2331 cat >conftest.$ac_ext <<_ACEOF 2332 /* confdefs.h. */ 2333 _ACEOF 2334 cat confdefs.h >>conftest.$ac_ext 2335 cat >>conftest.$ac_ext <<_ACEOF 2336 /* end confdefs.h. */ 2337 2338 int 2339 main () 2340 { 2341 2342 ; 2343 return 0; 2344 } 2345 _ACEOF 2346 ac_clean_files_save=$ac_clean_files 2347 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2348 # Try to create an executable without -o first, disregard a.out. 2349 # It will help us diagnose broken compilers, and finding out an intuition 2350 # of exeext. 2351 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2352 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2353 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2354 # 2355 # List of possible output files, starting from the most likely. 2356 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2357 # only as a last resort. b.out is created by i960 compilers. 2358 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2359 # 2360 # The IRIX 6 linker writes into existing files which may not be 2361 # executable, retaining their permissions. Remove them first so a 2362 # subsequent execution test works. 2363 ac_rmfiles= 2364 for ac_file in $ac_files 2365 do 2366 case $ac_file in 2367 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2368 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2369 esac 2370 done 2371 rm -f $ac_rmfiles 2372 2373 if { (ac_try="$ac_link_default" 2374 case "(($ac_try" in 2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2376 *) ac_try_echo=$ac_try;; 2377 esac 2378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2766 $as_echo "$ac_try_echo"; } >&5 2379 2767 (eval "$ac_link_default") 2>&5 2380 2768 ac_status=$? 2381 echo "$as_me:$LINENO: \$? = $ac_status" >&52382 (exit $ac_status); }; then2769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2770 test $ac_status = 0; }; then : 2383 2771 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2384 2772 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2390 2778 test -f "$ac_file" || continue 2391 2779 case $ac_file in 2392 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )2780 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2393 2781 ;; 2394 2782 [ab].out ) … … 2397 2785 break;; 2398 2786 *.* ) 2399 2787 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2400 2788 then :; else 2401 2789 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2416 2804 ac_file='' 2417 2805 fi 2418 2419 { echo "$as_me:$LINENO: result: $ac_file" >&5 2420 echo "${ECHO_T}$ac_file" >&6; } 2421 if test -z "$ac_file"; then 2422 echo "$as_me: failed program was:" >&5 2806 if test -z "$ac_file"; then : 2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2808 $as_echo "no" >&6; } 2809 $as_echo "$as_me: failed program was:" >&5 2423 2810 sed 's/^/| /' conftest.$ac_ext >&5 2424 2811 2425 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2426 See \`config.log' for more details." >&5 2427 echo "$as_me: error: C compiler cannot create executables 2428 See \`config.log' for more details." >&2;} 2429 { (exit 77); exit 77; }; } 2430 fi 2431 2812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2814 { as_fn_set_status 77 2815 as_fn_error "C compiler cannot create executables 2816 See \`config.log' for more details." "$LINENO" 5; }; } 2817 else 2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2819 $as_echo "yes" >&6; } 2820 fi 2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2822 $as_echo_n "checking for C compiler default output file name... " >&6; } 2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2824 $as_echo "$ac_file" >&6; } 2432 2825 ac_exeext=$ac_cv_exeext 2433 2826 2434 # Check that the compiler produces executables we can run. If not, either 2435 # the compiler is broken, or we cross compile. 2436 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2437 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2438 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2439 # If not cross compiling, check that we can run a simple program. 2440 if test "$cross_compiling" != yes; then 2441 if { ac_try='./$ac_file' 2442 { (case "(($ac_try" in 2443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2444 *) ac_try_echo=$ac_try;; 2445 esac 2446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2447 (eval "$ac_try") 2>&5 2448 ac_status=$? 2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2450 (exit $ac_status); }; }; then 2451 cross_compiling=no 2452 else 2453 if test "$cross_compiling" = maybe; then 2454 cross_compiling=yes 2455 else 2456 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2457 If you meant to cross compile, use \`--host'. 2458 See \`config.log' for more details." >&5 2459 echo "$as_me: error: cannot run C compiled programs. 2460 If you meant to cross compile, use \`--host'. 2461 See \`config.log' for more details." >&2;} 2462 { (exit 1); exit 1; }; } 2463 fi 2464 fi 2465 fi 2466 { echo "$as_me:$LINENO: result: yes" >&5 2467 echo "${ECHO_T}yes" >&6; } 2468 2469 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2827 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2470 2828 ac_clean_files=$ac_clean_files_save 2471 # Check that the compiler produces executables we can run. If not, either 2472 # the compiler is broken, or we cross compile. 2473 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2474 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2475 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2476 echo "${ECHO_T}$cross_compiling" >&6; } 2477 2478 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2479 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2480 if { (ac_try="$ac_link" 2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2830 $as_echo_n "checking for suffix of executables... " >&6; } 2831 if { { ac_try="$ac_link" 2481 2832 case "(($ac_try" in 2482 2833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2483 2834 *) ac_try_echo=$ac_try;; 2484 2835 esac 2485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2837 $as_echo "$ac_try_echo"; } >&5 2486 2838 (eval "$ac_link") 2>&5 2487 2839 ac_status=$? 2488 echo "$as_me:$LINENO: \$? = $ac_status" >&52489 (exit $ac_status); }; then2840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2841 test $ac_status = 0; }; then : 2490 2842 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2491 2843 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2495 2847 test -f "$ac_file" || continue 2496 2848 case $ac_file in 2497 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;2849 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2498 2850 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2499 2851 break;; … … 2502 2854 done 2503 2855 else 2504 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2505 See \`config.log' for more details." >&5 2506 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2507 See \`config.log' for more details." >&2;} 2508 { (exit 1); exit 1; }; } 2509 fi 2510 2511 rm -f conftest$ac_cv_exeext 2512 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2513 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2858 as_fn_error "cannot compute suffix of executables: cannot compile and link 2859 See \`config.log' for more details." "$LINENO" 5; } 2860 fi 2861 rm -f conftest conftest$ac_cv_exeext 2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2863 $as_echo "$ac_cv_exeext" >&6; } 2514 2864 2515 2865 rm -f conftest.$ac_ext 2516 2866 EXEEXT=$ac_cv_exeext 2517 2867 ac_exeext=$EXEEXT 2518 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2519 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2520 if test "${ac_cv_objext+set}" = set; then 2521 echo $ECHO_N "(cached) $ECHO_C" >&6 2522 else 2523 cat >conftest.$ac_ext <<_ACEOF 2524 /* confdefs.h. */ 2525 _ACEOF 2526 cat confdefs.h >>conftest.$ac_ext 2527 cat >>conftest.$ac_ext <<_ACEOF 2868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2528 2869 /* end confdefs.h. */ 2529 2870 #include <stdio.h> 2530 2871 int 2531 2872 main () 2532 2873 { 2874 FILE *f = fopen ("conftest.out", "w"); 2875 return ferror (f) || fclose (f) != 0; 2533 2876 2534 2877 ; … … 2536 2879 } 2537 2880 _ACEOF 2538 rm -f conftest.o conftest.obj 2539 if { (ac_try="$ac_compile" 2881 ac_clean_files="$ac_clean_files conftest.out" 2882 # Check that the compiler produces executables we can run. If not, either 2883 # the compiler is broken, or we cross compile. 2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2885 $as_echo_n "checking whether we are cross compiling... " >&6; } 2886 if test "$cross_compiling" != yes; then 2887 { { ac_try="$ac_link" 2540 2888 case "(($ac_try" in 2541 2889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2542 2890 *) ac_try_echo=$ac_try;; 2543 2891 esac 2544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2893 $as_echo "$ac_try_echo"; } >&5 2894 (eval "$ac_link") 2>&5 2895 ac_status=$? 2896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2897 test $ac_status = 0; } 2898 if { ac_try='./conftest$ac_cv_exeext' 2899 { { case "(($ac_try" in 2900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2901 *) ac_try_echo=$ac_try;; 2902 esac 2903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2904 $as_echo "$ac_try_echo"; } >&5 2905 (eval "$ac_try") 2>&5 2906 ac_status=$? 2907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2908 test $ac_status = 0; }; }; then 2909 cross_compiling=no 2910 else 2911 if test "$cross_compiling" = maybe; then 2912 cross_compiling=yes 2913 else 2914 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2916 as_fn_error "cannot run C compiled programs. 2917 If you meant to cross compile, use \`--host'. 2918 See \`config.log' for more details." "$LINENO" 5; } 2919 fi 2920 fi 2921 fi 2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2923 $as_echo "$cross_compiling" >&6; } 2924 2925 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2926 ac_clean_files=$ac_clean_files_save 2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2928 $as_echo_n "checking for suffix of object files... " >&6; } 2929 if test "${ac_cv_objext+set}" = set; then : 2930 $as_echo_n "(cached) " >&6 2931 else 2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2933 /* end confdefs.h. */ 2934 2935 int 2936 main () 2937 { 2938 2939 ; 2940 return 0; 2941 } 2942 _ACEOF 2943 rm -f conftest.o conftest.obj 2944 if { { ac_try="$ac_compile" 2945 case "(($ac_try" in 2946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2947 *) ac_try_echo=$ac_try;; 2948 esac 2949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2950 $as_echo "$ac_try_echo"; } >&5 2545 2951 (eval "$ac_compile") 2>&5 2546 2952 ac_status=$? 2547 echo "$as_me:$LINENO: \$? = $ac_status" >&52548 (exit $ac_status); }; then2953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2954 test $ac_status = 0; }; then : 2549 2955 for ac_file in conftest.o conftest.obj conftest.*; do 2550 2956 test -f "$ac_file" || continue; 2551 2957 case $ac_file in 2552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;2958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2553 2959 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2554 2960 break;; … … 2556 2962 done 2557 2963 else 2558 echo "$as_me: failed program was:" >&52964 $as_echo "$as_me: failed program was:" >&5 2559 2965 sed 's/^/| /' conftest.$ac_ext >&5 2560 2966 2561 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2562 See \`config.log' for more details." >&5 2563 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2564 See \`config.log' for more details." >&2;} 2565 { (exit 1); exit 1; }; } 2566 fi 2567 2967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2969 as_fn_error "cannot compute suffix of object files: cannot compile 2970 See \`config.log' for more details." "$LINENO" 5; } 2971 fi 2568 2972 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2569 2973 fi 2570 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52571 echo "${ECHO_T}$ac_cv_objext" >&6; }2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2975 $as_echo "$ac_cv_objext" >&6; } 2572 2976 OBJEXT=$ac_cv_objext 2573 2977 ac_objext=$OBJEXT 2574 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2575 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2576 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2577 echo $ECHO_N "(cached) $ECHO_C" >&6 2578 else 2579 cat >conftest.$ac_ext <<_ACEOF 2580 /* confdefs.h. */ 2581 _ACEOF 2582 cat confdefs.h >>conftest.$ac_ext 2583 cat >>conftest.$ac_ext <<_ACEOF 2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2979 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2980 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2981 $as_echo_n "(cached) " >&6 2982 else 2983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2584 2984 /* end confdefs.h. */ 2585 2985 … … 2595 2995 } 2596 2996 _ACEOF 2597 rm -f conftest.$ac_objext 2598 if { (ac_try="$ac_compile" 2599 case "(($ac_try" in 2600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2601 *) ac_try_echo=$ac_try;; 2602 esac 2603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2604 (eval "$ac_compile") 2>conftest.er1 2605 ac_status=$? 2606 grep -v '^ *+' conftest.er1 >conftest.err 2607 rm -f conftest.er1 2608 cat conftest.err >&5 2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2610 (exit $ac_status); } && { 2611 test -z "$ac_c_werror_flag" || 2612 test ! -s conftest.err 2613 } && test -s conftest.$ac_objext; then 2997 if ac_fn_c_try_compile "$LINENO"; then : 2614 2998 ac_compiler_gnu=yes 2615 2999 else 2616 echo "$as_me: failed program was:" >&5 2617 sed 's/^/| /' conftest.$ac_ext >&5 2618 2619 ac_compiler_gnu=no 2620 fi 2621 3000 ac_compiler_gnu=no 3001 fi 2622 3002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2623 3003 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2624 3004 2625 3005 fi 2626 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2627 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2628 GCC=`test $ac_compiler_gnu = yes && echo yes` 3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3007 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3008 if test $ac_compiler_gnu = yes; then 3009 GCC=yes 3010 else 3011 GCC= 3012 fi 2629 3013 ac_test_CFLAGS=${CFLAGS+set} 2630 3014 ac_save_CFLAGS=$CFLAGS 2631 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52632 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2633 if test "${ac_cv_prog_cc_g+set}" = set; then 2634 echo $ECHO_N "(cached) $ECHO_C" >&63015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3016 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3017 if test "${ac_cv_prog_cc_g+set}" = set; then : 3018 $as_echo_n "(cached) " >&6 2635 3019 else 2636 3020 ac_save_c_werror_flag=$ac_c_werror_flag … … 2638 3022 ac_cv_prog_cc_g=no 2639 3023 CFLAGS="-g" 2640 cat >conftest.$ac_ext <<_ACEOF 2641 /* confdefs.h. */ 2642 _ACEOF 2643 cat confdefs.h >>conftest.$ac_ext 2644 cat >>conftest.$ac_ext <<_ACEOF 3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2645 3025 /* end confdefs.h. */ 2646 3026 … … 2653 3033 } 2654 3034 _ACEOF 2655 rm -f conftest.$ac_objext 2656 if { (ac_try="$ac_compile" 2657 case "(($ac_try" in 2658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2659 *) ac_try_echo=$ac_try;; 2660 esac 2661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2662 (eval "$ac_compile") 2>conftest.er1 2663 ac_status=$? 2664 grep -v '^ *+' conftest.er1 >conftest.err 2665 rm -f conftest.er1 2666 cat conftest.err >&5 2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2668 (exit $ac_status); } && { 2669 test -z "$ac_c_werror_flag" || 2670 test ! -s conftest.err 2671 } && test -s conftest.$ac_objext; then 3035 if ac_fn_c_try_compile "$LINENO"; then : 2672 3036 ac_cv_prog_cc_g=yes 2673 3037 else 2674 echo "$as_me: failed program was:" >&5 2675 sed 's/^/| /' conftest.$ac_ext >&5 2676 2677 CFLAGS="" 2678 cat >conftest.$ac_ext <<_ACEOF 2679 /* confdefs.h. */ 2680 _ACEOF 2681 cat confdefs.h >>conftest.$ac_ext 2682 cat >>conftest.$ac_ext <<_ACEOF 3038 CFLAGS="" 3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2683 3040 /* end confdefs.h. */ 2684 3041 … … 2691 3048 } 2692 3049 _ACEOF 2693 rm -f conftest.$ac_objext 2694 if { (ac_try="$ac_compile" 2695 case "(($ac_try" in 2696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2697 *) ac_try_echo=$ac_try;; 2698 esac 2699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2700 (eval "$ac_compile") 2>conftest.er1 2701 ac_status=$? 2702 grep -v '^ *+' conftest.er1 >conftest.err 2703 rm -f conftest.er1 2704 cat conftest.err >&5 2705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2706 (exit $ac_status); } && { 2707 test -z "$ac_c_werror_flag" || 2708 test ! -s conftest.err 2709 } && test -s conftest.$ac_objext; then 2710 : 2711 else 2712 echo "$as_me: failed program was:" >&5 2713 sed 's/^/| /' conftest.$ac_ext >&5 2714 2715 ac_c_werror_flag=$ac_save_c_werror_flag 3050 if ac_fn_c_try_compile "$LINENO"; then : 3051 3052 else 3053 ac_c_werror_flag=$ac_save_c_werror_flag 2716 3054 CFLAGS="-g" 2717 cat >conftest.$ac_ext <<_ACEOF 2718 /* confdefs.h. */ 2719 _ACEOF 2720 cat confdefs.h >>conftest.$ac_ext 2721 cat >>conftest.$ac_ext <<_ACEOF 3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2722 3056 /* end confdefs.h. */ 2723 3057 … … 2730 3064 } 2731 3065 _ACEOF 2732 rm -f conftest.$ac_objext 2733 if { (ac_try="$ac_compile" 2734 case "(($ac_try" in 2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2736 *) ac_try_echo=$ac_try;; 2737 esac 2738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2739 (eval "$ac_compile") 2>conftest.er1 2740 ac_status=$? 2741 grep -v '^ *+' conftest.er1 >conftest.err 2742 rm -f conftest.er1 2743 cat conftest.err >&5 2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2745 (exit $ac_status); } && { 2746 test -z "$ac_c_werror_flag" || 2747 test ! -s conftest.err 2748 } && test -s conftest.$ac_objext; then 3066 if ac_fn_c_try_compile "$LINENO"; then : 2749 3067 ac_cv_prog_cc_g=yes 2750 else 2751 echo "$as_me: failed program was:" >&5 2752 sed 's/^/| /' conftest.$ac_ext >&5 2753 2754 2755 fi 2756 3068 fi 2757 3069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2758 3070 fi 2759 2760 3071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2761 3072 fi 2762 2763 3073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2764 3074 ac_c_werror_flag=$ac_save_c_werror_flag 2765 3075 fi 2766 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52767 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3077 $as_echo "$ac_cv_prog_cc_g" >&6; } 2768 3078 if test "$ac_test_CFLAGS" = set; then 2769 3079 CFLAGS=$ac_save_CFLAGS … … 2781 3091 fi 2782 3092 fi 2783 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52784 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2785 if test "${ac_cv_prog_cc_c89+set}" = set; then 2786 echo $ECHO_N "(cached) $ECHO_C" >&63093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3094 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3095 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3096 $as_echo_n "(cached) " >&6 2787 3097 else 2788 3098 ac_cv_prog_cc_c89=no 2789 3099 ac_save_CC=$CC 2790 cat >conftest.$ac_ext <<_ACEOF 2791 /* confdefs.h. */ 2792 _ACEOF 2793 cat confdefs.h >>conftest.$ac_ext 2794 cat >>conftest.$ac_ext <<_ACEOF 3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2795 3101 /* end confdefs.h. */ 2796 3102 #include <stdarg.h> … … 2849 3155 do 2850 3156 CC="$ac_save_CC $ac_arg" 2851 rm -f conftest.$ac_objext 2852 if { (ac_try="$ac_compile" 2853 case "(($ac_try" in 2854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2855 *) ac_try_echo=$ac_try;; 2856 esac 2857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2858 (eval "$ac_compile") 2>conftest.er1 2859 ac_status=$? 2860 grep -v '^ *+' conftest.er1 >conftest.err 2861 rm -f conftest.er1 2862 cat conftest.err >&5 2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2864 (exit $ac_status); } && { 2865 test -z "$ac_c_werror_flag" || 2866 test ! -s conftest.err 2867 } && test -s conftest.$ac_objext; then 3157 if ac_fn_c_try_compile "$LINENO"; then : 2868 3158 ac_cv_prog_cc_c89=$ac_arg 2869 else 2870 echo "$as_me: failed program was:" >&5 2871 sed 's/^/| /' conftest.$ac_ext >&5 2872 2873 2874 fi 2875 3159 fi 2876 3160 rm -f core conftest.err conftest.$ac_objext 2877 3161 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2884 3168 case "x$ac_cv_prog_cc_c89" in 2885 3169 x) 2886 { echo "$as_me:$LINENO: result: none needed" >&52887 echo "${ECHO_T}none needed" >&6; } ;;3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3171 $as_echo "none needed" >&6; } ;; 2888 3172 xno) 2889 { echo "$as_me:$LINENO: result: unsupported" >&52890 echo "${ECHO_T}unsupported" >&6; } ;;3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3174 $as_echo "unsupported" >&6; } ;; 2891 3175 *) 2892 3176 CC="$CC $ac_cv_prog_cc_c89" 2893 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52894 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3178 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2895 3179 esac 2896 3180 if test "x$ac_cv_prog_cc_c89" != xno; then : 3181 3182 fi 2897 3183 2898 3184 ac_ext=c … … 2916 3202 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2917 3203 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2918 { echo "$as_me:$LINENO: checking for $ac_word" >&52919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2920 if test "${ac_cv_prog_CXX+set}" = set; then 2921 echo $ECHO_N "(cached) $ECHO_C" >&63204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3205 $as_echo_n "checking for $ac_word... " >&6; } 3206 if test "${ac_cv_prog_CXX+set}" = set; then : 3207 $as_echo_n "(cached) " >&6 2922 3208 else 2923 3209 if test -n "$CXX"; then … … 2929 3215 IFS=$as_save_IFS 2930 3216 test -z "$as_dir" && as_dir=. 2931 for ac_exec_ext in '' $ac_executable_extensions; do3217 for ac_exec_ext in '' $ac_executable_extensions; do 2932 3218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2933 3219 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2935 3221 break 2 2936 3222 fi 2937 3223 done 2938 done3224 done 2939 3225 IFS=$as_save_IFS 2940 3226 … … 2943 3229 CXX=$ac_cv_prog_CXX 2944 3230 if test -n "$CXX"; then 2945 { echo "$as_me:$LINENO: result: $CXX" >&52946 echo "${ECHO_T}$CXX" >&6; }2947 else 2948 { echo "$as_me:$LINENO: result: no" >&52949 echo "${ECHO_T}no" >&6; }3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3232 $as_echo "$CXX" >&6; } 3233 else 3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3235 $as_echo "no" >&6; } 2950 3236 fi 2951 3237 … … 2960 3246 # Extract the first word of "$ac_prog", so it can be a program name with args. 2961 3247 set dummy $ac_prog; ac_word=$2 2962 { echo "$as_me:$LINENO: checking for $ac_word" >&52963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2964 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2965 echo $ECHO_N "(cached) $ECHO_C" >&63248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3249 $as_echo_n "checking for $ac_word... " >&6; } 3250 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3251 $as_echo_n "(cached) " >&6 2966 3252 else 2967 3253 if test -n "$ac_ct_CXX"; then … … 2973 3259 IFS=$as_save_IFS 2974 3260 test -z "$as_dir" && as_dir=. 2975 for ac_exec_ext in '' $ac_executable_extensions; do3261 for ac_exec_ext in '' $ac_executable_extensions; do 2976 3262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2977 3263 ac_cv_prog_ac_ct_CXX="$ac_prog" 2978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2979 3265 break 2 2980 3266 fi 2981 3267 done 2982 done3268 done 2983 3269 IFS=$as_save_IFS 2984 3270 … … 2987 3273 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2988 3274 if test -n "$ac_ct_CXX"; then 2989 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&52990 echo "${ECHO_T}$ac_ct_CXX" >&6; }2991 else 2992 { echo "$as_me:$LINENO: result: no" >&52993 echo "${ECHO_T}no" >&6; }3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3276 $as_echo "$ac_ct_CXX" >&6; } 3277 else 3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3279 $as_echo "no" >&6; } 2994 3280 fi 2995 3281 … … 3003 3289 case $cross_compiling:$ac_tool_warned in 3004 3290 yes:) 3005 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3006 whose name does not start with the host triplet. If you think this 3007 configuration is useful to you, please write to autoconf@gnu.org." >&5 3008 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3009 whose name does not start with the host triplet. If you think this 3010 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3011 3293 ac_tool_warned=yes ;; 3012 3294 esac … … 3018 3300 fi 3019 3301 # Provide some information about the compiler. 3020 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3021 ac_compiler=`set X $ac_compile; echo $2` 3022 { (ac_try="$ac_compiler --version >&5" 3302 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3303 set X $ac_compile 3304 ac_compiler=$2 3305 for ac_option in --version -v -V -qversion; do 3306 { { ac_try="$ac_compiler $ac_option >&5" 3023 3307 case "(($ac_try" in 3024 3308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3025 3309 *) ac_try_echo=$ac_try;; 3026 3310 esac 3027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3028 (eval "$ac_compiler --version >&5") 2>&5 3311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3312 $as_echo "$ac_try_echo"; } >&5 3313 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3029 3314 ac_status=$? 3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3031 (exit $ac_status); } 3032 { (ac_try="$ac_compiler -v >&5" 3033 case "(($ac_try" in 3034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3035 *) ac_try_echo=$ac_try;; 3036 esac 3037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3038 (eval "$ac_compiler -v >&5") 2>&5 3039 ac_status=$? 3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3041 (exit $ac_status); } 3042 { (ac_try="$ac_compiler -V >&5" 3043 case "(($ac_try" in 3044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3045 *) ac_try_echo=$ac_try;; 3046 esac 3047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3048 (eval "$ac_compiler -V >&5") 2>&5 3049 ac_status=$? 3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3051 (exit $ac_status); } 3052 3053 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3054 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3055 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3056 echo $ECHO_N "(cached) $ECHO_C" >&6 3057 else 3058 cat >conftest.$ac_ext <<_ACEOF 3059 /* confdefs.h. */ 3060 _ACEOF 3061 cat confdefs.h >>conftest.$ac_ext 3062 cat >>conftest.$ac_ext <<_ACEOF 3315 if test -s conftest.err; then 3316 sed '10a\ 3317 ... rest of stderr output deleted ... 3318 10q' conftest.err >conftest.er1 3319 cat conftest.er1 >&5 3320 fi 3321 rm -f conftest.er1 conftest.err 3322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3323 test $ac_status = 0; } 3324 done 3325 3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3327 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3328 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3329 $as_echo_n "(cached) " >&6 3330 else 3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3063 3332 /* end confdefs.h. */ 3064 3333 … … 3074 3343 } 3075 3344 _ACEOF 3076 rm -f conftest.$ac_objext 3077 if { (ac_try="$ac_compile" 3078 case "(($ac_try" in 3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3080 *) ac_try_echo=$ac_try;; 3081 esac 3082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3083 (eval "$ac_compile") 2>conftest.er1 3084 ac_status=$? 3085 grep -v '^ *+' conftest.er1 >conftest.err 3086 rm -f conftest.er1 3087 cat conftest.err >&5 3088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3089 (exit $ac_status); } && { 3090 test -z "$ac_cxx_werror_flag" || 3091 test ! -s conftest.err 3092 } && test -s conftest.$ac_objext; then 3345 if ac_fn_cxx_try_compile "$LINENO"; then : 3093 3346 ac_compiler_gnu=yes 3094 3347 else 3095 echo "$as_me: failed program was:" >&5 3096 sed 's/^/| /' conftest.$ac_ext >&5 3097 3098 ac_compiler_gnu=no 3099 fi 3100 3348 ac_compiler_gnu=no 3349 fi 3101 3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3102 3351 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3103 3352 3104 3353 fi 3105 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3106 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3107 GXX=`test $ac_compiler_gnu = yes && echo yes` 3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3355 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3356 if test $ac_compiler_gnu = yes; then 3357 GXX=yes 3358 else 3359 GXX= 3360 fi 3108 3361 ac_test_CXXFLAGS=${CXXFLAGS+set} 3109 3362 ac_save_CXXFLAGS=$CXXFLAGS 3110 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53111 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3112 if test "${ac_cv_prog_cxx_g+set}" = set; then 3113 echo $ECHO_N "(cached) $ECHO_C" >&63363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3364 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3365 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3366 $as_echo_n "(cached) " >&6 3114 3367 else 3115 3368 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3117 3370 ac_cv_prog_cxx_g=no 3118 3371 CXXFLAGS="-g" 3119 cat >conftest.$ac_ext <<_ACEOF 3120 /* confdefs.h. */ 3121 _ACEOF 3122 cat confdefs.h >>conftest.$ac_ext 3123 cat >>conftest.$ac_ext <<_ACEOF 3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3124 3373 /* end confdefs.h. */ 3125 3374 … … 3132 3381 } 3133 3382 _ACEOF 3134 rm -f conftest.$ac_objext 3135 if { (ac_try="$ac_compile" 3136 case "(($ac_try" in 3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3138 *) ac_try_echo=$ac_try;; 3139 esac 3140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3141 (eval "$ac_compile") 2>conftest.er1 3142 ac_status=$? 3143 grep -v '^ *+' conftest.er1 >conftest.err 3144 rm -f conftest.er1 3145 cat conftest.err >&5 3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3147 (exit $ac_status); } && { 3148 test -z "$ac_cxx_werror_flag" || 3149 test ! -s conftest.err 3150 } && test -s conftest.$ac_objext; then 3383 if ac_fn_cxx_try_compile "$LINENO"; then : 3151 3384 ac_cv_prog_cxx_g=yes 3152 3385 else 3153 echo "$as_me: failed program was:" >&5 3154 sed 's/^/| /' conftest.$ac_ext >&5 3155 3156 CXXFLAGS="" 3157 cat >conftest.$ac_ext <<_ACEOF 3158 /* confdefs.h. */ 3159 _ACEOF 3160 cat confdefs.h >>conftest.$ac_ext 3161 cat >>conftest.$ac_ext <<_ACEOF 3386 CXXFLAGS="" 3387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3162 3388 /* end confdefs.h. */ 3163 3389 … … 3170 3396 } 3171 3397 _ACEOF 3172 rm -f conftest.$ac_objext 3173 if { (ac_try="$ac_compile" 3174 case "(($ac_try" in 3175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3176 *) ac_try_echo=$ac_try;; 3177 esac 3178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3179 (eval "$ac_compile") 2>conftest.er1 3180 ac_status=$? 3181 grep -v '^ *+' conftest.er1 >conftest.err 3182 rm -f conftest.er1 3183 cat conftest.err >&5 3184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3185 (exit $ac_status); } && { 3186 test -z "$ac_cxx_werror_flag" || 3187 test ! -s conftest.err 3188 } && test -s conftest.$ac_objext; then 3189 : 3190 else 3191 echo "$as_me: failed program was:" >&5 3192 sed 's/^/| /' conftest.$ac_ext >&5 3193 3194 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3398 if ac_fn_cxx_try_compile "$LINENO"; then : 3399 3400 else 3401 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3195 3402 CXXFLAGS="-g" 3196 cat >conftest.$ac_ext <<_ACEOF 3197 /* confdefs.h. */ 3198 _ACEOF 3199 cat confdefs.h >>conftest.$ac_ext 3200 cat >>conftest.$ac_ext <<_ACEOF 3403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3201 3404 /* end confdefs.h. */ 3202 3405 … … 3209 3412 } 3210 3413 _ACEOF 3211 rm -f conftest.$ac_objext 3212 if { (ac_try="$ac_compile" 3213 case "(($ac_try" in 3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3215 *) ac_try_echo=$ac_try;; 3216 esac 3217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3218 (eval "$ac_compile") 2>conftest.er1 3219 ac_status=$? 3220 grep -v '^ *+' conftest.er1 >conftest.err 3221 rm -f conftest.er1 3222 cat conftest.err >&5 3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3224 (exit $ac_status); } && { 3225 test -z "$ac_cxx_werror_flag" || 3226 test ! -s conftest.err 3227 } && test -s conftest.$ac_objext; then 3414 if ac_fn_cxx_try_compile "$LINENO"; then : 3228 3415 ac_cv_prog_cxx_g=yes 3229 else 3230 echo "$as_me: failed program was:" >&5 3231 sed 's/^/| /' conftest.$ac_ext >&5 3232 3233 3234 fi 3235 3416 fi 3236 3417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3237 3418 fi 3238 3239 3419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3240 3420 fi 3241 3242 3421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3243 3422 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3244 3423 fi 3245 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53246 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3425 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3247 3426 if test "$ac_test_CXXFLAGS" = set; then 3248 3427 CXXFLAGS=$ac_save_CXXFLAGS … … 3322 3501 3323 3502 3324 3325 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3326 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 3327 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 3328 echo $ECHO_N "(cached) $ECHO_C" >&6 3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3504 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3505 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 3506 $as_echo_n "(cached) " >&6 3329 3507 else 3330 3508 ac_check_lib_save_LIBS=$LIBS 3331 3509 LIBS="-lpthread $LIBS" 3332 cat >conftest.$ac_ext <<_ACEOF 3333 /* confdefs.h. */ 3334 _ACEOF 3335 cat confdefs.h >>conftest.$ac_ext 3336 cat >>conftest.$ac_ext <<_ACEOF 3510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3337 3511 /* end confdefs.h. */ 3338 3512 … … 3352 3526 } 3353 3527 _ACEOF 3354 rm -f conftest.$ac_objext conftest$ac_exeext 3355 if { (ac_try="$ac_link" 3356 case "(($ac_try" in 3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3358 *) ac_try_echo=$ac_try;; 3359 esac 3360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3361 (eval "$ac_link") 2>conftest.er1 3362 ac_status=$? 3363 grep -v '^ *+' conftest.er1 >conftest.err 3364 rm -f conftest.er1 3365 cat conftest.err >&5 3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3367 (exit $ac_status); } && { 3368 test -z "$ac_c_werror_flag" || 3369 test ! -s conftest.err 3370 } && test -s conftest$ac_exeext && 3371 $as_test_x conftest$ac_exeext; then 3528 if ac_fn_c_try_link "$LINENO"; then : 3372 3529 ac_cv_lib_pthread_pthread_create=yes 3373 3530 else 3374 echo "$as_me: failed program was:" >&5 3375 sed 's/^/| /' conftest.$ac_ext >&5 3376 3377 ac_cv_lib_pthread_pthread_create=no 3378 fi 3379 3380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3381 conftest$ac_exeext conftest.$ac_ext 3531 ac_cv_lib_pthread_pthread_create=no 3532 fi 3533 rm -f core conftest.err conftest.$ac_objext \ 3534 conftest$ac_exeext conftest.$ac_ext 3382 3535 LIBS=$ac_check_lib_save_LIBS 3383 3536 fi 3384 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&53385 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }3386 if test $ac_cv_lib_pthread_pthread_create = yes; then3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 3538 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 3539 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 3387 3540 cat >>confdefs.h <<_ACEOF 3388 3541 #define HAVE_LIBPTHREAD 1 … … 3393 3546 fi 3394 3547 3395 3396 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3397 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 3398 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 3399 echo $ECHO_N "(cached) $ECHO_C" >&6 3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 3549 $as_echo_n "checking for puts in -lwsock32... " >&6; } 3550 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 3551 $as_echo_n "(cached) " >&6 3400 3552 else 3401 3553 ac_check_lib_save_LIBS=$LIBS 3402 3554 LIBS="-lwsock32 $LIBS" 3403 cat >conftest.$ac_ext <<_ACEOF 3404 /* confdefs.h. */ 3405 _ACEOF 3406 cat confdefs.h >>conftest.$ac_ext 3407 cat >>conftest.$ac_ext <<_ACEOF 3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3408 3556 /* end confdefs.h. */ 3409 3557 … … 3423 3571 } 3424 3572 _ACEOF 3425 rm -f conftest.$ac_objext conftest$ac_exeext 3426 if { (ac_try="$ac_link" 3427 case "(($ac_try" in 3428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3429 *) ac_try_echo=$ac_try;; 3430 esac 3431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3432 (eval "$ac_link") 2>conftest.er1 3433 ac_status=$? 3434 grep -v '^ *+' conftest.er1 >conftest.err 3435 rm -f conftest.er1 3436 cat conftest.err >&5 3437 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3438 (exit $ac_status); } && { 3439 test -z "$ac_c_werror_flag" || 3440 test ! -s conftest.err 3441 } && test -s conftest$ac_exeext && 3442 $as_test_x conftest$ac_exeext; then 3573 if ac_fn_c_try_link "$LINENO"; then : 3443 3574 ac_cv_lib_wsock32_puts=yes 3444 3575 else 3445 echo "$as_me: failed program was:" >&5 3446 sed 's/^/| /' conftest.$ac_ext >&5 3447 3448 ac_cv_lib_wsock32_puts=no 3449 fi 3450 3451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3452 conftest$ac_exeext conftest.$ac_ext 3576 ac_cv_lib_wsock32_puts=no 3577 fi 3578 rm -f core conftest.err conftest.$ac_objext \ 3579 conftest$ac_exeext conftest.$ac_ext 3453 3580 LIBS=$ac_check_lib_save_LIBS 3454 3581 fi 3455 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&53456 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; }3457 if test $ac_cv_lib_wsock32_puts = yes; then3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 3583 $as_echo "$ac_cv_lib_wsock32_puts" >&6; } 3584 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 3458 3585 cat >>confdefs.h <<_ACEOF 3459 3586 #define HAVE_LIBWSOCK32 1 … … 3464 3591 fi 3465 3592 3466 3467 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3468 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 3469 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 3470 echo $ECHO_N "(cached) $ECHO_C" >&6 3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 3594 $as_echo_n "checking for puts in -lws2_32... " >&6; } 3595 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 3596 $as_echo_n "(cached) " >&6 3471 3597 else 3472 3598 ac_check_lib_save_LIBS=$LIBS 3473 3599 LIBS="-lws2_32 $LIBS" 3474 cat >conftest.$ac_ext <<_ACEOF 3475 /* confdefs.h. */ 3476 _ACEOF 3477 cat confdefs.h >>conftest.$ac_ext 3478 cat >>conftest.$ac_ext <<_ACEOF 3600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3479 3601 /* end confdefs.h. */ 3480 3602 … … 3494 3616 } 3495 3617 _ACEOF 3496 rm -f conftest.$ac_objext conftest$ac_exeext 3497 if { (ac_try="$ac_link" 3498 case "(($ac_try" in 3499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3500 *) ac_try_echo=$ac_try;; 3501 esac 3502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3503 (eval "$ac_link") 2>conftest.er1 3504 ac_status=$? 3505 grep -v '^ *+' conftest.er1 >conftest.err 3506 rm -f conftest.er1 3507 cat conftest.err >&5 3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3509 (exit $ac_status); } && { 3510 test -z "$ac_c_werror_flag" || 3511 test ! -s conftest.err 3512 } && test -s conftest$ac_exeext && 3513 $as_test_x conftest$ac_exeext; then 3618 if ac_fn_c_try_link "$LINENO"; then : 3514 3619 ac_cv_lib_ws2_32_puts=yes 3515 3620 else 3516 echo "$as_me: failed program was:" >&5 3517 sed 's/^/| /' conftest.$ac_ext >&5 3518 3519 ac_cv_lib_ws2_32_puts=no 3520 fi 3521 3522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3523 conftest$ac_exeext conftest.$ac_ext 3621 ac_cv_lib_ws2_32_puts=no 3622 fi 3623 rm -f core conftest.err conftest.$ac_objext \ 3624 conftest$ac_exeext conftest.$ac_ext 3524 3625 LIBS=$ac_check_lib_save_LIBS 3525 3626 fi 3526 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&53527 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; }3528 if test $ac_cv_lib_ws2_32_puts = yes; then3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 3628 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 3629 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 3529 3630 cat >>confdefs.h <<_ACEOF 3530 3631 #define HAVE_LIBWS2_32 1 … … 3535 3636 fi 3536 3637 3537 3538 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3539 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 3540 if test "${ac_cv_lib_ole32_puts+set}" = set; then 3541 echo $ECHO_N "(cached) $ECHO_C" >&6 3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 3639 $as_echo_n "checking for puts in -lole32... " >&6; } 3640 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 3641 $as_echo_n "(cached) " >&6 3542 3642 else 3543 3643 ac_check_lib_save_LIBS=$LIBS 3544 3644 LIBS="-lole32 $LIBS" 3545 cat >conftest.$ac_ext <<_ACEOF 3546 /* confdefs.h. */ 3547 _ACEOF 3548 cat confdefs.h >>conftest.$ac_ext 3549 cat >>conftest.$ac_ext <<_ACEOF 3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3550 3646 /* end confdefs.h. */ 3551 3647 … … 3565 3661 } 3566 3662 _ACEOF 3567 rm -f conftest.$ac_objext conftest$ac_exeext 3568 if { (ac_try="$ac_link" 3569 case "(($ac_try" in 3570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3571 *) ac_try_echo=$ac_try;; 3572 esac 3573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3574 (eval "$ac_link") 2>conftest.er1 3575 ac_status=$? 3576 grep -v '^ *+' conftest.er1 >conftest.err 3577 rm -f conftest.er1 3578 cat conftest.err >&5 3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3580 (exit $ac_status); } && { 3581 test -z "$ac_c_werror_flag" || 3582 test ! -s conftest.err 3583 } && test -s conftest$ac_exeext && 3584 $as_test_x conftest$ac_exeext; then 3663 if ac_fn_c_try_link "$LINENO"; then : 3585 3664 ac_cv_lib_ole32_puts=yes 3586 3665 else 3587 echo "$as_me: failed program was:" >&5 3588 sed 's/^/| /' conftest.$ac_ext >&5 3589 3590 ac_cv_lib_ole32_puts=no 3591 fi 3592 3593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3594 conftest$ac_exeext conftest.$ac_ext 3666 ac_cv_lib_ole32_puts=no 3667 fi 3668 rm -f core conftest.err conftest.$ac_objext \ 3669 conftest$ac_exeext conftest.$ac_ext 3595 3670 LIBS=$ac_check_lib_save_LIBS 3596 3671 fi 3597 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&53598 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; }3599 if test $ac_cv_lib_ole32_puts = yes; then3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 3673 $as_echo "$ac_cv_lib_ole32_puts" >&6; } 3674 if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 3600 3675 cat >>confdefs.h <<_ACEOF 3601 3676 #define HAVE_LIBOLE32 1 … … 3606 3681 fi 3607 3682 3608 3609 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3610 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 3611 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3612 echo $ECHO_N "(cached) $ECHO_C" >&6 3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 3684 $as_echo_n "checking for puts in -lwinmm... " >&6; } 3685 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 3686 $as_echo_n "(cached) " >&6 3613 3687 else 3614 3688 ac_check_lib_save_LIBS=$LIBS 3615 3689 LIBS="-lwinmm $LIBS" 3616 cat >conftest.$ac_ext <<_ACEOF 3617 /* confdefs.h. */ 3618 _ACEOF 3619 cat confdefs.h >>conftest.$ac_ext 3620 cat >>conftest.$ac_ext <<_ACEOF 3690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3621 3691 /* end confdefs.h. */ 3622 3692 … … 3636 3706 } 3637 3707 _ACEOF 3638 rm -f conftest.$ac_objext conftest$ac_exeext 3639 if { (ac_try="$ac_link" 3640 case "(($ac_try" in 3641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3642 *) ac_try_echo=$ac_try;; 3643 esac 3644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3645 (eval "$ac_link") 2>conftest.er1 3646 ac_status=$? 3647 grep -v '^ *+' conftest.er1 >conftest.err 3648 rm -f conftest.er1 3649 cat conftest.err >&5 3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3651 (exit $ac_status); } && { 3652 test -z "$ac_c_werror_flag" || 3653 test ! -s conftest.err 3654 } && test -s conftest$ac_exeext && 3655 $as_test_x conftest$ac_exeext; then 3708 if ac_fn_c_try_link "$LINENO"; then : 3656 3709 ac_cv_lib_winmm_puts=yes 3657 3710 else 3658 echo "$as_me: failed program was:" >&5 3659 sed 's/^/| /' conftest.$ac_ext >&5 3660 3661 ac_cv_lib_winmm_puts=no 3662 fi 3663 3664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3665 conftest$ac_exeext conftest.$ac_ext 3711 ac_cv_lib_winmm_puts=no 3712 fi 3713 rm -f core conftest.err conftest.$ac_objext \ 3714 conftest$ac_exeext conftest.$ac_ext 3666 3715 LIBS=$ac_check_lib_save_LIBS 3667 3716 fi 3668 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&53669 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; }3670 if test $ac_cv_lib_winmm_puts = yes; then3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 3718 $as_echo "$ac_cv_lib_winmm_puts" >&6; } 3719 if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 3671 3720 cat >>confdefs.h <<_ACEOF 3672 3721 #define HAVE_LIBWINMM 1 … … 3677 3726 fi 3678 3727 3679 3680 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3681 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 3682 if test "${ac_cv_lib_socket_puts+set}" = set; then 3683 echo $ECHO_N "(cached) $ECHO_C" >&6 3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 3729 $as_echo_n "checking for puts in -lsocket... " >&6; } 3730 if test "${ac_cv_lib_socket_puts+set}" = set; then : 3731 $as_echo_n "(cached) " >&6 3684 3732 else 3685 3733 ac_check_lib_save_LIBS=$LIBS 3686 3734 LIBS="-lsocket $LIBS" 3687 cat >conftest.$ac_ext <<_ACEOF 3688 /* confdefs.h. */ 3689 _ACEOF 3690 cat confdefs.h >>conftest.$ac_ext 3691 cat >>conftest.$ac_ext <<_ACEOF 3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3692 3736 /* end confdefs.h. */ 3693 3737 … … 3707 3751 } 3708 3752 _ACEOF 3709 rm -f conftest.$ac_objext conftest$ac_exeext 3710 if { (ac_try="$ac_link" 3711 case "(($ac_try" in 3712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3713 *) ac_try_echo=$ac_try;; 3714 esac 3715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3716 (eval "$ac_link") 2>conftest.er1 3717 ac_status=$? 3718 grep -v '^ *+' conftest.er1 >conftest.err 3719 rm -f conftest.er1 3720 cat conftest.err >&5 3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3722 (exit $ac_status); } && { 3723 test -z "$ac_c_werror_flag" || 3724 test ! -s conftest.err 3725 } && test -s conftest$ac_exeext && 3726 $as_test_x conftest$ac_exeext; then 3753 if ac_fn_c_try_link "$LINENO"; then : 3727 3754 ac_cv_lib_socket_puts=yes 3728 3755 else 3729 echo "$as_me: failed program was:" >&5 3730 sed 's/^/| /' conftest.$ac_ext >&5 3731 3732 ac_cv_lib_socket_puts=no 3733 fi 3734 3735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3736 conftest$ac_exeext conftest.$ac_ext 3756 ac_cv_lib_socket_puts=no 3757 fi 3758 rm -f core conftest.err conftest.$ac_objext \ 3759 conftest$ac_exeext conftest.$ac_ext 3737 3760 LIBS=$ac_check_lib_save_LIBS 3738 3761 fi 3739 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&53740 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; }3741 if test $ac_cv_lib_socket_puts = yes; then3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 3763 $as_echo "$ac_cv_lib_socket_puts" >&6; } 3764 if test "x$ac_cv_lib_socket_puts" = x""yes; then : 3742 3765 cat >>confdefs.h <<_ACEOF 3743 3766 #define HAVE_LIBSOCKET 1 … … 3748 3771 fi 3749 3772 3750 3751 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3752 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 3753 if test "${ac_cv_lib_rt_puts+set}" = set; then 3754 echo $ECHO_N "(cached) $ECHO_C" >&6 3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 3774 $as_echo_n "checking for puts in -lrt... " >&6; } 3775 if test "${ac_cv_lib_rt_puts+set}" = set; then : 3776 $as_echo_n "(cached) " >&6 3755 3777 else 3756 3778 ac_check_lib_save_LIBS=$LIBS 3757 3779 LIBS="-lrt $LIBS" 3758 cat >conftest.$ac_ext <<_ACEOF 3759 /* confdefs.h. */ 3760 _ACEOF 3761 cat confdefs.h >>conftest.$ac_ext 3762 cat >>conftest.$ac_ext <<_ACEOF 3780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3763 3781 /* end confdefs.h. */ 3764 3782 … … 3778 3796 } 3779 3797 _ACEOF 3780 rm -f conftest.$ac_objext conftest$ac_exeext 3781 if { (ac_try="$ac_link" 3782 case "(($ac_try" in 3783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3784 *) ac_try_echo=$ac_try;; 3785 esac 3786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3787 (eval "$ac_link") 2>conftest.er1 3788 ac_status=$? 3789 grep -v '^ *+' conftest.er1 >conftest.err 3790 rm -f conftest.er1 3791 cat conftest.err >&5 3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3793 (exit $ac_status); } && { 3794 test -z "$ac_c_werror_flag" || 3795 test ! -s conftest.err 3796 } && test -s conftest$ac_exeext && 3797 $as_test_x conftest$ac_exeext; then 3798 if ac_fn_c_try_link "$LINENO"; then : 3798 3799 ac_cv_lib_rt_puts=yes 3799 3800 else 3800 echo "$as_me: failed program was:" >&5 3801 sed 's/^/| /' conftest.$ac_ext >&5 3802 3803 ac_cv_lib_rt_puts=no 3804 fi 3805 3806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3807 conftest$ac_exeext conftest.$ac_ext 3801 ac_cv_lib_rt_puts=no 3802 fi 3803 rm -f core conftest.err conftest.$ac_objext \ 3804 conftest$ac_exeext conftest.$ac_ext 3808 3805 LIBS=$ac_check_lib_save_LIBS 3809 3806 fi 3810 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&53811 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; }3812 if test $ac_cv_lib_rt_puts = yes; then3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 3808 $as_echo "$ac_cv_lib_rt_puts" >&6; } 3809 if test "x$ac_cv_lib_rt_puts" = x""yes; then : 3813 3810 cat >>confdefs.h <<_ACEOF 3814 3811 #define HAVE_LIBRT 1 … … 3819 3816 fi 3820 3817 3821 3822 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3823 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 3824 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3825 echo $ECHO_N "(cached) $ECHO_C" >&6 3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 3819 $as_echo_n "checking for puts in -lnsl... " >&6; } 3820 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 3821 $as_echo_n "(cached) " >&6 3826 3822 else 3827 3823 ac_check_lib_save_LIBS=$LIBS 3828 3824 LIBS="-lnsl $LIBS" 3829 cat >conftest.$ac_ext <<_ACEOF 3830 /* confdefs.h. */ 3831 _ACEOF 3832 cat confdefs.h >>conftest.$ac_ext 3833 cat >>conftest.$ac_ext <<_ACEOF 3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3834 3826 /* end confdefs.h. */ 3835 3827 … … 3849 3841 } 3850 3842 _ACEOF 3851 rm -f conftest.$ac_objext conftest$ac_exeext 3852 if { (ac_try="$ac_link" 3853 case "(($ac_try" in 3854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3855 *) ac_try_echo=$ac_try;; 3856 esac 3857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3858 (eval "$ac_link") 2>conftest.er1 3859 ac_status=$? 3860 grep -v '^ *+' conftest.er1 >conftest.err 3861 rm -f conftest.er1 3862 cat conftest.err >&5 3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3864 (exit $ac_status); } && { 3865 test -z "$ac_c_werror_flag" || 3866 test ! -s conftest.err 3867 } && test -s conftest$ac_exeext && 3868 $as_test_x conftest$ac_exeext; then 3843 if ac_fn_c_try_link "$LINENO"; then : 3869 3844 ac_cv_lib_nsl_puts=yes 3870 3845 else 3871 echo "$as_me: failed program was:" >&5 3872 sed 's/^/| /' conftest.$ac_ext >&5 3873 3874 ac_cv_lib_nsl_puts=no 3875 fi 3876 3877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3878 conftest$ac_exeext conftest.$ac_ext 3846 ac_cv_lib_nsl_puts=no 3847 fi 3848 rm -f core conftest.err conftest.$ac_objext \ 3849 conftest$ac_exeext conftest.$ac_ext 3879 3850 LIBS=$ac_check_lib_save_LIBS 3880 3851 fi 3881 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&53882 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; }3883 if test $ac_cv_lib_nsl_puts = yes; then3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 3853 $as_echo "$ac_cv_lib_nsl_puts" >&6; } 3854 if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 3884 3855 cat >>confdefs.h <<_ACEOF 3885 3856 #define HAVE_LIBNSL 1 … … 3890 3861 fi 3891 3862 3892 3893 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3894 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3895 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3896 echo $ECHO_N "(cached) $ECHO_C" >&6 3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3864 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3865 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3866 $as_echo_n "(cached) " >&6 3897 3867 else 3898 3868 ac_check_lib_save_LIBS=$LIBS 3899 3869 LIBS="-luuid $LIBS" 3900 cat >conftest.$ac_ext <<_ACEOF 3901 /* confdefs.h. */ 3902 _ACEOF 3903 cat confdefs.h >>conftest.$ac_ext 3904 cat >>conftest.$ac_ext <<_ACEOF 3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3905 3871 /* end confdefs.h. */ 3906 3872 … … 3920 3886 } 3921 3887 _ACEOF 3922 rm -f conftest.$ac_objext conftest$ac_exeext 3923 if { (ac_try="$ac_link" 3924 case "(($ac_try" in 3925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3926 *) ac_try_echo=$ac_try;; 3927 esac 3928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3929 (eval "$ac_link") 2>conftest.er1 3930 ac_status=$? 3931 grep -v '^ *+' conftest.er1 >conftest.err 3932 rm -f conftest.er1 3933 cat conftest.err >&5 3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3935 (exit $ac_status); } && { 3936 test -z "$ac_c_werror_flag" || 3937 test ! -s conftest.err 3938 } && test -s conftest$ac_exeext && 3939 $as_test_x conftest$ac_exeext; then 3888 if ac_fn_c_try_link "$LINENO"; then : 3940 3889 ac_cv_lib_uuid_uuid_generate=yes 3941 3890 else 3942 echo "$as_me: failed program was:" >&5 3943 sed 's/^/| /' conftest.$ac_ext >&5 3944 3945 ac_cv_lib_uuid_uuid_generate=no 3946 fi 3947 3948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3949 conftest$ac_exeext conftest.$ac_ext 3891 ac_cv_lib_uuid_uuid_generate=no 3892 fi 3893 rm -f core conftest.err conftest.$ac_objext \ 3894 conftest$ac_exeext conftest.$ac_ext 3950 3895 LIBS=$ac_check_lib_save_LIBS 3951 3896 fi 3952 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53953 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }3954 if test $ac_cv_lib_uuid_uuid_generate = yes; then3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3898 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3899 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 3955 3900 cat >>confdefs.h <<_ACEOF 3956 3901 #define HAVE_LIBUUID 1 … … 3961 3906 fi 3962 3907 3963 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53964 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; }3965 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3966 echo $ECHO_N "(cached) $ECHO_C" >&63908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3909 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3910 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3911 $as_echo_n "(cached) " >&6 3967 3912 else 3968 3913 ac_check_lib_save_LIBS=$LIBS 3969 3914 LIBS="-luuid $LIBS" 3970 cat >conftest.$ac_ext <<_ACEOF 3971 /* confdefs.h. */ 3972 _ACEOF 3973 cat confdefs.h >>conftest.$ac_ext 3974 cat >>conftest.$ac_ext <<_ACEOF 3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3975 3916 /* end confdefs.h. */ 3976 3917 … … 3990 3931 } 3991 3932 _ACEOF 3992 rm -f conftest.$ac_objext conftest$ac_exeext 3993 if { (ac_try="$ac_link" 3994 case "(($ac_try" in 3995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3996 *) ac_try_echo=$ac_try;; 3997 esac 3998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3999 (eval "$ac_link") 2>conftest.er1 4000 ac_status=$? 4001 grep -v '^ *+' conftest.er1 >conftest.err 4002 rm -f conftest.er1 4003 cat conftest.err >&5 4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4005 (exit $ac_status); } && { 4006 test -z "$ac_c_werror_flag" || 4007 test ! -s conftest.err 4008 } && test -s conftest$ac_exeext && 4009 $as_test_x conftest$ac_exeext; then 3933 if ac_fn_c_try_link "$LINENO"; then : 4010 3934 ac_cv_lib_uuid_uuid_generate=yes 4011 3935 else 4012 echo "$as_me: failed program was:" >&5 4013 sed 's/^/| /' conftest.$ac_ext >&5 4014 4015 ac_cv_lib_uuid_uuid_generate=no 4016 fi 4017 4018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4019 conftest$ac_exeext conftest.$ac_ext 3936 ac_cv_lib_uuid_uuid_generate=no 3937 fi 3938 rm -f core conftest.err conftest.$ac_objext \ 3939 conftest$ac_exeext conftest.$ac_ext 4020 3940 LIBS=$ac_check_lib_save_LIBS 4021 3941 fi 4022 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&54023 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }4024 if test $ac_cv_lib_uuid_uuid_generate = yes; then3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3943 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3944 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 4025 3945 ac_has_uuid_lib=1 4026 3946 fi 4027 3947 4028 3948 4029 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&54030 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; }3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 3950 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 4031 3951 cat >>confdefs.h <<_ACEOF 4032 3952 #define PJ_M_NAME "$target_cpu" … … 4034 3954 4035 3955 4036 { echo "$as_me:$LINENO: checking memory alignment" >&54037 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; }3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 3957 $as_echo_n "checking memory alignment... " >&6; } 4038 3958 case $target in 4039 3959 sparc64-* | ia64-* | x86_64-* ) 4040 cat >>confdefs.h <<\_ACEOF 4041 #define PJ_POOL_ALIGNMENT 8 4042 _ACEOF 4043 4044 { echo "$as_me:$LINENO: result: 8 bytes" >&5 4045 echo "${ECHO_T}8 bytes" >&6; } 3960 $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 3961 3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 3963 $as_echo "8 bytes" >&6; } 4046 3964 ;; 4047 3965 * ) 4048 cat >>confdefs.h <<\_ACEOF 4049 #define PJ_POOL_ALIGNMENT 4 4050 _ACEOF 4051 4052 { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 4053 echo "${ECHO_T}4 bytes (default)" >&6; } 3966 $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 3967 3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 3969 $as_echo "4 bytes (default)" >&6; } 4054 3970 ;; 4055 3971 esac … … 4061 3977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4062 3978 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4063 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&54064 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3980 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4065 3981 # On Suns, sometimes $CPP names a directory. 4066 3982 if test -n "$CPP" && test -d "$CPP"; then … … 4068 3984 fi 4069 3985 if test -z "$CPP"; then 4070 if test "${ac_cv_prog_CPP+set}" = set; then 4071 echo $ECHO_N "(cached) $ECHO_C" >&63986 if test "${ac_cv_prog_CPP+set}" = set; then : 3987 $as_echo_n "(cached) " >&6 4072 3988 else 4073 3989 # Double quotes because CPP needs to be expanded … … 4083 3999 # On the NeXT, cc -E runs the code through the compiler's parser, 4084 4000 # not just through cpp. "Syntax error" is here to catch this case. 4085 cat >conftest.$ac_ext <<_ACEOF 4086 /* confdefs.h. */ 4087 _ACEOF 4088 cat confdefs.h >>conftest.$ac_ext 4089 cat >>conftest.$ac_ext <<_ACEOF 4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4090 4002 /* end confdefs.h. */ 4091 4003 #ifdef __STDC__ … … 4096 4008 Syntax error 4097 4009 _ACEOF 4098 if { (ac_try="$ac_cpp conftest.$ac_ext" 4099 case "(($ac_try" in 4100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4101 *) ac_try_echo=$ac_try;; 4102 esac 4103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4104 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4105 ac_status=$? 4106 grep -v '^ *+' conftest.er1 >conftest.err 4107 rm -f conftest.er1 4108 cat conftest.err >&5 4109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4110 (exit $ac_status); } >/dev/null && { 4111 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4112 test ! -s conftest.err 4113 }; then 4114 : 4115 else 4116 echo "$as_me: failed program was:" >&5 4117 sed 's/^/| /' conftest.$ac_ext >&5 4118 4010 if ac_fn_c_try_cpp "$LINENO"; then : 4011 4012 else 4119 4013 # Broken: fails on valid input. 4120 4014 continue 4121 4015 fi 4122 4123 4016 rm -f conftest.err conftest.$ac_ext 4124 4017 4125 4018 # OK, works on sane cases. Now check whether nonexistent headers 4126 4019 # can be detected and how. 4127 cat >conftest.$ac_ext <<_ACEOF 4128 /* confdefs.h. */ 4129 _ACEOF 4130 cat confdefs.h >>conftest.$ac_ext 4131 cat >>conftest.$ac_ext <<_ACEOF 4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4132 4021 /* end confdefs.h. */ 4133 4022 #include <ac_nonexistent.h> 4134 4023 _ACEOF 4135 if { (ac_try="$ac_cpp conftest.$ac_ext" 4136 case "(($ac_try" in 4137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4138 *) ac_try_echo=$ac_try;; 4139 esac 4140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4141 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4142 ac_status=$? 4143 grep -v '^ *+' conftest.er1 >conftest.err 4144 rm -f conftest.er1 4145 cat conftest.err >&5 4146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4147 (exit $ac_status); } >/dev/null && { 4148 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4149 test ! -s conftest.err 4150 }; then 4024 if ac_fn_c_try_cpp "$LINENO"; then : 4151 4025 # Broken: success on invalid input. 4152 4026 continue 4153 4027 else 4154 echo "$as_me: failed program was:" >&54155 sed 's/^/| /' conftest.$ac_ext >&54156 4157 4028 # Passes both tests. 4158 4029 ac_preproc_ok=: 4159 4030 break 4160 4031 fi 4161 4162 4032 rm -f conftest.err conftest.$ac_ext 4163 4033 … … 4165 4035 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4166 4036 rm -f conftest.err conftest.$ac_ext 4167 if $ac_preproc_ok; then 4037 if $ac_preproc_ok; then : 4168 4038 break 4169 4039 fi … … 4177 4047 ac_cv_prog_CPP=$CPP 4178 4048 fi 4179 { echo "$as_me:$LINENO: result: $CPP" >&54180 echo "${ECHO_T}$CPP" >&6; }4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4050 $as_echo "$CPP" >&6; } 4181 4051 ac_preproc_ok=false 4182 4052 for ac_c_preproc_warn_flag in '' yes … … 4188 4058 # On the NeXT, cc -E runs the code through the compiler's parser, 4189 4059 # not just through cpp. "Syntax error" is here to catch this case. 4190 cat >conftest.$ac_ext <<_ACEOF 4191 /* confdefs.h. */ 4192 _ACEOF 4193 cat confdefs.h >>conftest.$ac_ext 4194 cat >>conftest.$ac_ext <<_ACEOF 4060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4195 4061 /* end confdefs.h. */ 4196 4062 #ifdef __STDC__ … … 4201 4067 Syntax error 4202 4068 _ACEOF 4203 if { (ac_try="$ac_cpp conftest.$ac_ext" 4204 case "(($ac_try" in 4205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4206 *) ac_try_echo=$ac_try;; 4207 esac 4208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4209 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4210 ac_status=$? 4211 grep -v '^ *+' conftest.er1 >conftest.err 4212 rm -f conftest.er1 4213 cat conftest.err >&5 4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4215 (exit $ac_status); } >/dev/null && { 4216 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4217 test ! -s conftest.err 4218 }; then 4219 : 4220 else 4221 echo "$as_me: failed program was:" >&5 4222 sed 's/^/| /' conftest.$ac_ext >&5 4223 4069 if ac_fn_c_try_cpp "$LINENO"; then : 4070 4071 else 4224 4072 # Broken: fails on valid input. 4225 4073 continue 4226 4074 fi 4227 4228 4075 rm -f conftest.err conftest.$ac_ext 4229 4076 4230 4077 # OK, works on sane cases. Now check whether nonexistent headers 4231 4078 # can be detected and how. 4232 cat >conftest.$ac_ext <<_ACEOF 4233 /* confdefs.h. */ 4234 _ACEOF 4235 cat confdefs.h >>conftest.$ac_ext 4236 cat >>conftest.$ac_ext <<_ACEOF 4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4237 4080 /* end confdefs.h. */ 4238 4081 #include <ac_nonexistent.h> 4239 4082 _ACEOF 4240 if { (ac_try="$ac_cpp conftest.$ac_ext" 4241 case "(($ac_try" in 4242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4243 *) ac_try_echo=$ac_try;; 4244 esac 4245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4246 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4247 ac_status=$? 4248 grep -v '^ *+' conftest.er1 >conftest.err 4249 rm -f conftest.er1 4250 cat conftest.err >&5 4251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4252 (exit $ac_status); } >/dev/null && { 4253 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4254 test ! -s conftest.err 4255 }; then 4083 if ac_fn_c_try_cpp "$LINENO"; then : 4256 4084 # Broken: success on invalid input. 4257 4085 continue 4258 4086 else 4259 echo "$as_me: failed program was:" >&54260 sed 's/^/| /' conftest.$ac_ext >&54261 4262 4087 # Passes both tests. 4263 4088 ac_preproc_ok=: 4264 4089 break 4265 4090 fi 4266 4267 4091 rm -f conftest.err conftest.$ac_ext 4268 4092 … … 4270 4094 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4271 4095 rm -f conftest.err conftest.$ac_ext 4272 if $ac_preproc_ok; then 4273 : 4274 else 4275 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4276 See \`config.log' for more details." >&5 4277 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4278 See \`config.log' for more details." >&2;} 4279 { (exit 1); exit 1; }; } 4096 if $ac_preproc_ok; then : 4097 4098 else 4099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4101 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4102 See \`config.log' for more details." "$LINENO" 5; } 4280 4103 fi 4281 4104 … … 4287 4110 4288 4111 4289 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4290 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4291 if test "${ac_cv_path_GREP+set}" = set; then 4292 echo $ECHO_N "(cached) $ECHO_C" >&6 4293 else 4294 # Extract the first word of "grep ggrep" to use in msg output 4295 if test -z "$GREP"; then 4296 set dummy grep ggrep; ac_prog_name=$2 4297 if test "${ac_cv_path_GREP+set}" = set; then 4298 echo $ECHO_N "(cached) $ECHO_C" >&6 4299 else 4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4113 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4114 if test "${ac_cv_path_GREP+set}" = set; then : 4115 $as_echo_n "(cached) " >&6 4116 else 4117 if test -z "$GREP"; then 4300 4118 ac_path_GREP_found=false 4301 # Loop through the user's path and test for each of PROGNAME-LIST4302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4119 # Loop through the user's path and test for each of PROGNAME-LIST 4120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4303 4121 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4304 4122 do 4305 4123 IFS=$as_save_IFS 4306 4124 test -z "$as_dir" && as_dir=. 4307 for ac_prog in grep ggrep; do4308 for ac_exec_ext in '' $ac_executable_extensions; do4309 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4310 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4311 4125 for ac_prog in grep ggrep; do 4126 for ac_exec_ext in '' $ac_executable_extensions; do 4127 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4128 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4129 # Check for GNU ac_path_GREP and select it if it is found. 4312 4130 # Check for GNU $ac_path_GREP 4313 4131 case `"$ac_path_GREP" --version 2>&1` in … … 4316 4134 *) 4317 4135 ac_count=0 4318 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4136 $as_echo_n 0123456789 >"conftest.in" 4319 4137 while : 4320 4138 do … … 4322 4140 mv "conftest.tmp" "conftest.in" 4323 4141 cp "conftest.in" "conftest.nl" 4324 echo 'GREP' >> "conftest.nl"4142 $as_echo 'GREP' >> "conftest.nl" 4325 4143 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4326 4144 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4327 a c_count=`expr $ac_count + 1`4145 as_fn_arith $ac_count + 1 && ac_count=$as_val 4328 4146 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4329 4147 # Best one so far, save it but keep looking for a better one … … 4337 4155 esac 4338 4156 4339 4340 $ac_path_GREP_found && break 34157 $ac_path_GREP_found && break 3 4158 done 4341 4159 done 4342 done 4343 4344 done 4160 done 4345 4161 IFS=$as_save_IFS 4346 4347 4348 fi 4349 4350 GREP="$ac_cv_path_GREP" 4351 if test -z "$GREP"; then 4352 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4353 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4354 { (exit 1); exit 1; }; } 4355 fi 4356 4162 if test -z "$ac_cv_path_GREP"; then 4163 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4164 fi 4357 4165 else 4358 4166 ac_cv_path_GREP=$GREP 4359 4167 fi 4360 4168 4361 4362 fi 4363 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4364 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4169 fi 4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4171 $as_echo "$ac_cv_path_GREP" >&6; } 4365 4172 GREP="$ac_cv_path_GREP" 4366 4173 4367 4174 4368 { echo "$as_me:$LINENO: checking for egrep" >&54369 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4370 if test "${ac_cv_path_EGREP+set}" = set; then 4371 echo $ECHO_N "(cached) $ECHO_C" >&64175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4176 $as_echo_n "checking for egrep... " >&6; } 4177 if test "${ac_cv_path_EGREP+set}" = set; then : 4178 $as_echo_n "(cached) " >&6 4372 4179 else 4373 4180 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4374 4181 then ac_cv_path_EGREP="$GREP -E" 4375 4182 else 4376 # Extract the first word of "egrep" to use in msg output 4377 if test -z "$EGREP"; then 4378 set dummy egrep; ac_prog_name=$2 4379 if test "${ac_cv_path_EGREP+set}" = set; then 4380 echo $ECHO_N "(cached) $ECHO_C" >&6 4381 else 4183 if test -z "$EGREP"; then 4382 4184 ac_path_EGREP_found=false 4383 # Loop through the user's path and test for each of PROGNAME-LIST4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4185 # Loop through the user's path and test for each of PROGNAME-LIST 4186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4385 4187 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4386 4188 do 4387 4189 IFS=$as_save_IFS 4388 4190 test -z "$as_dir" && as_dir=. 4389 for ac_prog in egrep; do4390 for ac_exec_ext in '' $ac_executable_extensions; do4391 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4392 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4393 4191 for ac_prog in egrep; do 4192 for ac_exec_ext in '' $ac_executable_extensions; do 4193 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4194 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4195 # Check for GNU ac_path_EGREP and select it if it is found. 4394 4196 # Check for GNU $ac_path_EGREP 4395 4197 case `"$ac_path_EGREP" --version 2>&1` in … … 4398 4200 *) 4399 4201 ac_count=0 4400 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4202 $as_echo_n 0123456789 >"conftest.in" 4401 4203 while : 4402 4204 do … … 4404 4206 mv "conftest.tmp" "conftest.in" 4405 4207 cp "conftest.in" "conftest.nl" 4406 echo 'EGREP' >> "conftest.nl"4208 $as_echo 'EGREP' >> "conftest.nl" 4407 4209 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4408 4210 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4409 a c_count=`expr $ac_count + 1`4211 as_fn_arith $ac_count + 1 && ac_count=$as_val 4410 4212 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4411 4213 # Best one so far, save it but keep looking for a better one … … 4419 4221 esac 4420 4222 4421 4422 $ac_path_EGREP_found && break 34223 $ac_path_EGREP_found && break 3 4224 done 4423 4225 done 4424 done 4425 4426 done 4226 done 4427 4227 IFS=$as_save_IFS 4428 4429 4430 fi 4431 4432 EGREP="$ac_cv_path_EGREP" 4433 if test -z "$EGREP"; then 4434 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4435 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4436 { (exit 1); exit 1; }; } 4437 fi 4438 4228 if test -z "$ac_cv_path_EGREP"; then 4229 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4230 fi 4439 4231 else 4440 4232 ac_cv_path_EGREP=$EGREP 4441 4233 fi 4442 4234 4443 4444 4235 fi 4445 4236 fi 4446 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54447 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4238 $as_echo "$ac_cv_path_EGREP" >&6; } 4448 4239 EGREP="$ac_cv_path_EGREP" 4449 4240 4450 4241 4451 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4452 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4453 if test "${ac_cv_header_stdc+set}" = set; then 4454 echo $ECHO_N "(cached) $ECHO_C" >&6 4455 else 4456 cat >conftest.$ac_ext <<_ACEOF 4457 /* confdefs.h. */ 4458 _ACEOF 4459 cat confdefs.h >>conftest.$ac_ext 4460 cat >>conftest.$ac_ext <<_ACEOF 4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4243 $as_echo_n "checking for ANSI C header files... " >&6; } 4244 if test "${ac_cv_header_stdc+set}" = set; then : 4245 $as_echo_n "(cached) " >&6 4246 else 4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4461 4248 /* end confdefs.h. */ 4462 4249 #include <stdlib.h> … … 4473 4260 } 4474 4261 _ACEOF 4475 rm -f conftest.$ac_objext 4476 if { (ac_try="$ac_compile" 4477 case "(($ac_try" in 4478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4479 *) ac_try_echo=$ac_try;; 4480 esac 4481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4482 (eval "$ac_compile") 2>conftest.er1 4483 ac_status=$? 4484 grep -v '^ *+' conftest.er1 >conftest.err 4485 rm -f conftest.er1 4486 cat conftest.err >&5 4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4488 (exit $ac_status); } && { 4489 test -z "$ac_c_werror_flag" || 4490 test ! -s conftest.err 4491 } && test -s conftest.$ac_objext; then 4262 if ac_fn_c_try_compile "$LINENO"; then : 4492 4263 ac_cv_header_stdc=yes 4493 4264 else 4494 echo "$as_me: failed program was:" >&5 4495 sed 's/^/| /' conftest.$ac_ext >&5 4496 4497 ac_cv_header_stdc=no 4498 fi 4499 4265 ac_cv_header_stdc=no 4266 fi 4500 4267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4501 4268 4502 4269 if test $ac_cv_header_stdc = yes; then 4503 4270 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4504 cat >conftest.$ac_ext <<_ACEOF 4505 /* confdefs.h. */ 4506 _ACEOF 4507 cat confdefs.h >>conftest.$ac_ext 4508 cat >>conftest.$ac_ext <<_ACEOF 4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4509 4272 /* end confdefs.h. */ 4510 4273 #include <string.h> … … 4512 4275 _ACEOF 4513 4276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4514 $EGREP "memchr" >/dev/null 2>&1; then 4515 : 4277 $EGREP "memchr" >/dev/null 2>&1; then : 4278 4516 4279 else 4517 4280 ac_cv_header_stdc=no 4518 4281 fi 4519 rm -f -rconftest*4282 rm -f conftest* 4520 4283 4521 4284 fi … … 4523 4286 if test $ac_cv_header_stdc = yes; then 4524 4287 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4525 cat >conftest.$ac_ext <<_ACEOF 4526 /* confdefs.h. */ 4527 _ACEOF 4528 cat confdefs.h >>conftest.$ac_ext 4529 cat >>conftest.$ac_ext <<_ACEOF 4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4530 4289 /* end confdefs.h. */ 4531 4290 #include <stdlib.h> … … 4533 4292 _ACEOF 4534 4293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4535 $EGREP "free" >/dev/null 2>&1; then 4536 : 4294 $EGREP "free" >/dev/null 2>&1; then : 4295 4537 4296 else 4538 4297 ac_cv_header_stdc=no 4539 4298 fi 4540 rm -f -rconftest*4299 rm -f conftest* 4541 4300 4542 4301 fi … … 4544 4303 if test $ac_cv_header_stdc = yes; then 4545 4304 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4546 if test "$cross_compiling" = yes; then 4305 if test "$cross_compiling" = yes; then : 4547 4306 : 4548 4307 else 4549 cat >conftest.$ac_ext <<_ACEOF 4550 /* confdefs.h. */ 4551 _ACEOF 4552 cat confdefs.h >>conftest.$ac_ext 4553 cat >>conftest.$ac_ext <<_ACEOF 4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4554 4309 /* end confdefs.h. */ 4555 4310 #include <ctype.h> … … 4578 4333 } 4579 4334 _ACEOF 4580 rm -f conftest$ac_exeext 4581 if { (ac_try="$ac_link" 4582 case "(($ac_try" in 4583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4584 *) ac_try_echo=$ac_try;; 4585 esac 4586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4587 (eval "$ac_link") 2>&5 4588 ac_status=$? 4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4590 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4591 { (case "(($ac_try" in 4592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4593 *) ac_try_echo=$ac_try;; 4594 esac 4595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4596 (eval "$ac_try") 2>&5 4597 ac_status=$? 4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4599 (exit $ac_status); }; }; then 4600 : 4601 else 4602 echo "$as_me: program exited with status $ac_status" >&5 4603 echo "$as_me: failed program was:" >&5 4604 sed 's/^/| /' conftest.$ac_ext >&5 4605 4606 ( exit $ac_status ) 4607 ac_cv_header_stdc=no 4608 fi 4609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4610 fi 4611 4612 4613 fi 4614 fi 4615 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4616 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4335 if ac_fn_c_try_run "$LINENO"; then : 4336 4337 else 4338 ac_cv_header_stdc=no 4339 fi 4340 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4341 conftest.$ac_objext conftest.beam conftest.$ac_ext 4342 fi 4343 4344 fi 4345 fi 4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4347 $as_echo "$ac_cv_header_stdc" >&6; } 4617 4348 if test $ac_cv_header_stdc = yes; then 4618 4349 4619 cat >>confdefs.h <<\_ACEOF 4620 #define STDC_HEADERS 1 4621 _ACEOF 4350 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4622 4351 4623 4352 fi 4624 4353 4625 4354 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4355 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4636 4356 inttypes.h stdint.h unistd.h 4637 do 4638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4639 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4641 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4642 echo $ECHO_N "(cached) $ECHO_C" >&6 4643 else 4644 cat >conftest.$ac_ext <<_ACEOF 4645 /* confdefs.h. */ 4646 _ACEOF 4647 cat confdefs.h >>conftest.$ac_ext 4648 cat >>conftest.$ac_ext <<_ACEOF 4357 do : 4358 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4359 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4360 " 4361 eval as_val=\$$as_ac_Header 4362 if test "x$as_val" = x""yes; then : 4363 cat >>confdefs.h <<_ACEOF 4364 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4365 _ACEOF 4366 4367 fi 4368 4369 done 4370 4371 4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4373 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4374 if test "${ac_cv_c_bigendian+set}" = set; then : 4375 $as_echo_n "(cached) " >&6 4376 else 4377 ac_cv_c_bigendian=unknown 4378 # See if we're dealing with a universal compiler. 4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4649 4380 /* end confdefs.h. */ 4650 $ac_includes_default 4651 4652 #include <$ac_header> 4653 _ACEOF 4654 rm -f conftest.$ac_objext 4655 if { (ac_try="$ac_compile" 4656 case "(($ac_try" in 4657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4658 *) ac_try_echo=$ac_try;; 4659 esac 4660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4661 (eval "$ac_compile") 2>conftest.er1 4662 ac_status=$? 4663 grep -v '^ *+' conftest.er1 >conftest.err 4664 rm -f conftest.er1 4665 cat conftest.err >&5 4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4667 (exit $ac_status); } && { 4668 test -z "$ac_c_werror_flag" || 4669 test ! -s conftest.err 4670 } && test -s conftest.$ac_objext; then 4671 eval "$as_ac_Header=yes" 4672 else 4673 echo "$as_me: failed program was:" >&5 4674 sed 's/^/| /' conftest.$ac_ext >&5 4675 4676 eval "$as_ac_Header=no" 4677 fi 4678 4381 #ifndef __APPLE_CC__ 4382 not a universal capable compiler 4383 #endif 4384 typedef int dummy; 4385 4386 _ACEOF 4387 if ac_fn_c_try_compile "$LINENO"; then : 4388 4389 # Check for potential -arch flags. It is not universal unless 4390 # there are at least two -arch flags with different values. 4391 ac_arch= 4392 ac_prev= 4393 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4394 if test -n "$ac_prev"; then 4395 case $ac_word in 4396 i?86 | x86_64 | ppc | ppc64) 4397 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4398 ac_arch=$ac_word 4399 else 4400 ac_cv_c_bigendian=universal 4401 break 4402 fi 4403 ;; 4404 esac 4405 ac_prev= 4406 elif test "x$ac_word" = "x-arch"; then 4407 ac_prev=arch 4408 fi 4409 done 4410 fi 4679 4411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4680 fi 4681 ac_res=`eval echo '${'$as_ac_Header'}'` 4682 { echo "$as_me:$LINENO: result: $ac_res" >&5 4683 echo "${ECHO_T}$ac_res" >&6; } 4684 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4685 cat >>confdefs.h <<_ACEOF 4686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4687 _ACEOF 4688 4689 fi 4690 4691 done 4692 4693 4694 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4695 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4696 if test "${ac_cv_c_bigendian+set}" = set; then 4697 echo $ECHO_N "(cached) $ECHO_C" >&6 4698 else 4699 # See if sys/param.h defines the BYTE_ORDER macro. 4700 cat >conftest.$ac_ext <<_ACEOF 4701 /* confdefs.h. */ 4702 _ACEOF 4703 cat confdefs.h >>conftest.$ac_ext 4704 cat >>conftest.$ac_ext <<_ACEOF 4412 if test $ac_cv_c_bigendian = unknown; then 4413 # See if sys/param.h defines the BYTE_ORDER macro. 4414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4705 4415 /* end confdefs.h. */ 4706 4416 #include <sys/types.h> 4707 #include <sys/param.h>4417 #include <sys/param.h> 4708 4418 4709 4419 int 4710 4420 main () 4711 4421 { 4712 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4713 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4714 bogus endian macros 4715 #endif 4422 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4423 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4424 && LITTLE_ENDIAN) 4425 bogus endian macros 4426 #endif 4716 4427 4717 4428 ; … … 4719 4430 } 4720 4431 _ACEOF 4721 rm -f conftest.$ac_objext 4722 if { (ac_try="$ac_compile" 4723 case "(($ac_try" in 4724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4725 *) ac_try_echo=$ac_try;; 4726 esac 4727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4728 (eval "$ac_compile") 2>conftest.er1 4729 ac_status=$? 4730 grep -v '^ *+' conftest.er1 >conftest.err 4731 rm -f conftest.er1 4732 cat conftest.err >&5 4733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4734 (exit $ac_status); } && { 4735 test -z "$ac_c_werror_flag" || 4736 test ! -s conftest.err 4737 } && test -s conftest.$ac_objext; then 4432 if ac_fn_c_try_compile "$LINENO"; then : 4738 4433 # It does; now see whether it defined to BIG_ENDIAN or not. 4739 cat >conftest.$ac_ext <<_ACEOF 4740 /* confdefs.h. */ 4741 _ACEOF 4742 cat confdefs.h >>conftest.$ac_ext 4743 cat >>conftest.$ac_ext <<_ACEOF 4434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4744 4435 /* end confdefs.h. */ 4745 4436 #include <sys/types.h> 4746 #include <sys/param.h>4437 #include <sys/param.h> 4747 4438 4748 4439 int … … 4750 4441 { 4751 4442 #if BYTE_ORDER != BIG_ENDIAN 4752 not big endian4753 #endif4443 not big endian 4444 #endif 4754 4445 4755 4446 ; … … 4757 4448 } 4758 4449 _ACEOF 4759 rm -f conftest.$ac_objext 4760 if { (ac_try="$ac_compile" 4761 case "(($ac_try" in 4762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4763 *) ac_try_echo=$ac_try;; 4764 esac 4765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4766 (eval "$ac_compile") 2>conftest.er1 4767 ac_status=$? 4768 grep -v '^ *+' conftest.er1 >conftest.err 4769 rm -f conftest.er1 4770 cat conftest.err >&5 4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4772 (exit $ac_status); } && { 4773 test -z "$ac_c_werror_flag" || 4774 test ! -s conftest.err 4775 } && test -s conftest.$ac_objext; then 4450 if ac_fn_c_try_compile "$LINENO"; then : 4776 4451 ac_cv_c_bigendian=yes 4777 4452 else 4778 echo "$as_me: failed program was:" >&5 4779 sed 's/^/| /' conftest.$ac_ext >&5 4780 4781 ac_cv_c_bigendian=no 4782 fi 4783 4453 ac_cv_c_bigendian=no 4454 fi 4784 4455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4785 else 4786 echo "$as_me: failed program was:" >&5 4787 sed 's/^/| /' conftest.$ac_ext >&5 4788 4789 # It does not; compile a test program. 4790 if test "$cross_compiling" = yes; then 4791 # try to guess the endianness by grepping values into an object file 4792 ac_cv_c_bigendian=unknown 4793 cat >conftest.$ac_ext <<_ACEOF 4794 /* confdefs.h. */ 4795 _ACEOF 4796 cat confdefs.h >>conftest.$ac_ext 4797 cat >>conftest.$ac_ext <<_ACEOF 4456 fi 4457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4458 fi 4459 if test $ac_cv_c_bigendian = unknown; then 4460 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4798 4462 /* end confdefs.h. */ 4799 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4800 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4801 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 4802 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4803 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4804 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 4463 #include <limits.h> 4464 4805 4465 int 4806 4466 main () 4807 4467 { 4808 _ascii (); _ebcdic (); 4468 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4469 bogus endian macros 4470 #endif 4471 4809 4472 ; 4810 4473 return 0; 4811 4474 } 4812 4475 _ACEOF 4813 rm -f conftest.$ac_objext 4814 if { (ac_try="$ac_compile" 4815 case "(($ac_try" in 4816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4817 *) ac_try_echo=$ac_try;; 4818 esac 4819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4820 (eval "$ac_compile") 2>conftest.er1 4821 ac_status=$? 4822 grep -v '^ *+' conftest.er1 >conftest.err 4823 rm -f conftest.er1 4824 cat conftest.err >&5 4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4826 (exit $ac_status); } && {4827 test -z "$ac_c_werror_flag" || 4828 test ! -s conftest.err 4829 } && test -s conftest.$ac_objext; then 4830 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4476 if ac_fn_c_try_compile "$LINENO"; then : 4477 # It does; now see whether it defined to _BIG_ENDIAN or not. 4478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4479 /* end confdefs.h. */ 4480 #include <limits.h> 4481 4482 int 4483 main () 4484 { 4485 #ifndef _BIG_ENDIAN 4486 not big endian 4487 #endif 4488 4489 ; 4490 return 0; 4491 } 4492 _ACEOF 4493 if ac_fn_c_try_compile "$LINENO"; then : 4831 4494 ac_cv_c_bigendian=yes 4832 fi 4833 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4834 if test "$ac_cv_c_bigendian" = unknown; then 4835 ac_cv_c_bigendian=no 4836 else 4837 # finding both strings is unlikely to happen, but who knows? 4838 ac_cv_c_bigendian=unknown 4839 fi 4840 fi 4841 else 4842 echo "$as_me: failed program was:" >&5 4843 sed 's/^/| /' conftest.$ac_ext >&5 4844 4845 4846 fi 4847 4495 else 4496 ac_cv_c_bigendian=no 4497 fi 4848 4498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4849 else 4850 cat >conftest.$ac_ext <<_ACEOF 4851 /* confdefs.h. */ 4852 _ACEOF 4853 cat confdefs.h >>conftest.$ac_ext 4854 cat >>conftest.$ac_ext <<_ACEOF 4499 fi 4500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4501 fi 4502 if test $ac_cv_c_bigendian = unknown; then 4503 # Compile a test program. 4504 if test "$cross_compiling" = yes; then : 4505 # Try to guess by grepping values from an object file. 4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4507 /* end confdefs.h. */ 4508 short int ascii_mm[] = 4509 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4510 short int ascii_ii[] = 4511 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4512 int use_ascii (int i) { 4513 return ascii_mm[i] + ascii_ii[i]; 4514 } 4515 short int ebcdic_ii[] = 4516 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4517 short int ebcdic_mm[] = 4518 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4519 int use_ebcdic (int i) { 4520 return ebcdic_mm[i] + ebcdic_ii[i]; 4521 } 4522 extern int foo; 4523 4524 int 4525 main () 4526 { 4527 return use_ascii (foo) == use_ebcdic (foo); 4528 ; 4529 return 0; 4530 } 4531 _ACEOF 4532 if ac_fn_c_try_compile "$LINENO"; then : 4533 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4534 ac_cv_c_bigendian=yes 4535 fi 4536 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4537 if test "$ac_cv_c_bigendian" = unknown; then 4538 ac_cv_c_bigendian=no 4539 else 4540 # finding both strings is unlikely to happen, but who knows? 4541 ac_cv_c_bigendian=unknown 4542 fi 4543 fi 4544 fi 4545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4546 else 4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4855 4548 /* end confdefs.h. */ 4856 4549 $ac_includes_default … … 4859 4552 { 4860 4553 4861 /* Are we little or big endian? From Harbison&Steele. */4862 union4863 {4864 long int l;4865 char c[sizeof (long int)];4866 } u;4867 u.l = 1;4868 return u.c[sizeof (long int) - 1] == 1;4554 /* Are we little or big endian? From Harbison&Steele. */ 4555 union 4556 { 4557 long int l; 4558 char c[sizeof (long int)]; 4559 } u; 4560 u.l = 1; 4561 return u.c[sizeof (long int) - 1] == 1; 4869 4562 4870 4563 ; … … 4872 4565 } 4873 4566 _ACEOF 4874 rm -f conftest$ac_exeext 4875 if { (ac_try="$ac_link" 4876 case "(($ac_try" in 4877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4878 *) ac_try_echo=$ac_try;; 4879 esac 4880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4881 (eval "$ac_link") 2>&5 4882 ac_status=$? 4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4885 { (case "(($ac_try" in 4886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4887 *) ac_try_echo=$ac_try;; 4888 esac 4889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4890 (eval "$ac_try") 2>&5 4891 ac_status=$? 4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4893 (exit $ac_status); }; }; then 4567 if ac_fn_c_try_run "$LINENO"; then : 4894 4568 ac_cv_c_bigendian=no 4895 4569 else 4896 echo "$as_me: program exited with status $ac_status" >&5 4897 echo "$as_me: failed program was:" >&5 4898 sed 's/^/| /' conftest.$ac_ext >&5 4899 4900 ( exit $ac_status ) 4901 ac_cv_c_bigendian=yes 4902 fi 4903 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4904 fi 4905 4906 4907 fi 4908 4909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4910 fi 4911 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4912 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4913 case $ac_cv_c_bigendian in 4914 yes) 4915 4916 cat >>confdefs.h <<\_ACEOF 4917 #define WORDS_BIGENDIAN 1 4918 _ACEOF 4919 ;; 4920 no) 4921 ;; 4922 *) 4923 { { echo "$as_me:$LINENO: error: unknown endianness 4924 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4925 echo "$as_me: error: unknown endianness 4926 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4927 { (exit 1); exit 1; }; } ;; 4928 esac 4570 ac_cv_c_bigendian=yes 4571 fi 4572 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4573 conftest.$ac_objext conftest.beam conftest.$ac_ext 4574 fi 4575 4576 fi 4577 fi 4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4579 $as_echo "$ac_cv_c_bigendian" >&6; } 4580 case $ac_cv_c_bigendian in #( 4581 yes) 4582 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4583 ;; #( 4584 no) 4585 ;; #( 4586 universal) 4587 4588 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4589 4590 ;; #( 4591 *) 4592 as_fn_error "unknown endianness 4593 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4594 esac 4929 4595 4930 4596 4931 4597 case $target in 4932 4598 *mingw* | *cygw* | *win32* | *w32* ) 4933 cat >>confdefs.h <<\_ACEOF 4934 #define PJ_WIN32 1 4935 _ACEOF 4936 4937 cat >>confdefs.h <<\_ACEOF 4938 #define PJ_WIN32_WINNT 0x0400 4939 _ACEOF 4940 4941 cat >>confdefs.h <<\_ACEOF 4942 #define WIN32_LEAN_AND_MEAN 1 4943 _ACEOF 4599 $as_echo "#define PJ_WIN32 1" >>confdefs.h 4600 4601 $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 4602 4603 $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 4944 4604 4945 4605 ;; 4946 4606 *darwin*) 4947 cat >>confdefs.h <<\_ACEOF 4948 #define PJ_DARWINOS 1 4949 _ACEOF 4607 $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 4950 4608 4951 4609 ;; 4952 4610 *linux*) 4953 cat >>confdefs.h <<\_ACEOF 4954 #define PJ_LINUX 1 4955 _ACEOF 4611 $as_echo "#define PJ_LINUX 1" >>confdefs.h 4956 4612 4957 4613 ;; 4958 4614 *rtems*) 4959 cat >>confdefs.h <<\_ACEOF 4960 #define PJ_RTEMS 1 4961 _ACEOF 4615 $as_echo "#define PJ_RTEMS 1" >>confdefs.h 4962 4616 4963 4617 ;; 4964 4618 *sunos* | *solaris* ) 4965 cat >>confdefs.h <<\_ACEOF 4966 #define PJ_SUNOS 1 4967 _ACEOF 4619 $as_echo "#define PJ_SUNOS 1" >>confdefs.h 4968 4620 4969 4621 ;; … … 4976 4628 4977 4629 # Check whether --enable-floating-point was given. 4978 if test "${enable_floating_point+set}" = set; then 4630 if test "${enable_floating_point+set}" = set; then : 4979 4631 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 4980 cat >>confdefs.h <<\_ACEOF 4981 #define PJ_HAS_FLOATING_POINT 0 4982 _ACEOF 4983 4984 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 4985 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 4632 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 4633 4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 4635 $as_echo "Checking if floating point is disabled... yes" >&6; } 4986 4636 fi 4987 4637 else 4988 4638 4989 cat >>confdefs.h <<\_ACEOF 4990 #define PJ_HAS_FLOATING_POINT 1 4991 _ACEOF 4992 4993 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 4994 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 4995 4996 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 4997 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 4998 if test "${ac_cv_lib_m_fmod+set}" = set; then 4999 echo $ECHO_N "(cached) $ECHO_C" >&6 4639 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 4640 4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 4642 $as_echo "Checking if floating point is disabled... no" >&6; } 4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 4644 $as_echo_n "checking for fmod in -lm... " >&6; } 4645 if test "${ac_cv_lib_m_fmod+set}" = set; then : 4646 $as_echo_n "(cached) " >&6 5000 4647 else 5001 4648 ac_check_lib_save_LIBS=$LIBS 5002 4649 LIBS="-lm $LIBS" 5003 cat >conftest.$ac_ext <<_ACEOF 5004 /* confdefs.h. */ 5005 _ACEOF 5006 cat confdefs.h >>conftest.$ac_ext 5007 cat >>conftest.$ac_ext <<_ACEOF 4650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5008 4651 /* end confdefs.h. */ 5009 4652 … … 5023 4666 } 5024 4667 _ACEOF 5025 rm -f conftest.$ac_objext conftest$ac_exeext 5026 if { (ac_try="$ac_link" 5027 case "(($ac_try" in 5028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5029 *) ac_try_echo=$ac_try;; 5030 esac 5031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5032 (eval "$ac_link") 2>conftest.er1 5033 ac_status=$? 5034 grep -v '^ *+' conftest.er1 >conftest.err 5035 rm -f conftest.er1 5036 cat conftest.err >&5 5037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5038 (exit $ac_status); } && { 5039 test -z "$ac_c_werror_flag" || 5040 test ! -s conftest.err 5041 } && test -s conftest$ac_exeext && 5042 $as_test_x conftest$ac_exeext; then 4668 if ac_fn_c_try_link "$LINENO"; then : 5043 4669 ac_cv_lib_m_fmod=yes 5044 4670 else 5045 echo "$as_me: failed program was:" >&5 5046 sed 's/^/| /' conftest.$ac_ext >&5 5047 5048 ac_cv_lib_m_fmod=no 5049 fi 5050 5051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5052 conftest$ac_exeext conftest.$ac_ext 4671 ac_cv_lib_m_fmod=no 4672 fi 4673 rm -f core conftest.err conftest.$ac_objext \ 4674 conftest$ac_exeext conftest.$ac_ext 5053 4675 LIBS=$ac_check_lib_save_LIBS 5054 4676 fi 5055 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&55056 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; }5057 if test $ac_cv_lib_m_fmod = yes; then4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 4678 $as_echo "$ac_cv_lib_m_fmod" >&6; } 4679 if test "x$ac_cv_lib_m_fmod" = x""yes; then : 5058 4680 cat >>confdefs.h <<_ACEOF 5059 4681 #define HAVE_LIBM 1 … … 5069 4691 5070 4692 5071 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5072 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5073 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5074 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5075 echo $ECHO_N "(cached) $ECHO_C" >&6 5076 fi 5077 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5078 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5079 else 5080 # Is the header compilable? 5081 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 5082 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 5083 cat >conftest.$ac_ext <<_ACEOF 5084 /* confdefs.h. */ 5085 _ACEOF 5086 cat confdefs.h >>conftest.$ac_ext 5087 cat >>conftest.$ac_ext <<_ACEOF 5088 /* end confdefs.h. */ 5089 $ac_includes_default 5090 #include <arpa/inet.h> 5091 _ACEOF 5092 rm -f conftest.$ac_objext 5093 if { (ac_try="$ac_compile" 5094 case "(($ac_try" in 5095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5096 *) ac_try_echo=$ac_try;; 5097 esac 5098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5099 (eval "$ac_compile") 2>conftest.er1 5100 ac_status=$? 5101 grep -v '^ *+' conftest.er1 >conftest.err 5102 rm -f conftest.er1 5103 cat conftest.err >&5 5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5105 (exit $ac_status); } && { 5106 test -z "$ac_c_werror_flag" || 5107 test ! -s conftest.err 5108 } && test -s conftest.$ac_objext; then 5109 ac_header_compiler=yes 5110 else 5111 echo "$as_me: failed program was:" >&5 5112 sed 's/^/| /' conftest.$ac_ext >&5 5113 5114 ac_header_compiler=no 5115 fi 5116 5117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5118 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5119 echo "${ECHO_T}$ac_header_compiler" >&6; } 5120 5121 # Is the header present? 5122 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 5123 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 5124 cat >conftest.$ac_ext <<_ACEOF 5125 /* confdefs.h. */ 5126 _ACEOF 5127 cat confdefs.h >>conftest.$ac_ext 5128 cat >>conftest.$ac_ext <<_ACEOF 5129 /* end confdefs.h. */ 5130 #include <arpa/inet.h> 5131 _ACEOF 5132 if { (ac_try="$ac_cpp conftest.$ac_ext" 5133 case "(($ac_try" in 5134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5135 *) ac_try_echo=$ac_try;; 5136 esac 5137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5138 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5139 ac_status=$? 5140 grep -v '^ *+' conftest.er1 >conftest.err 5141 rm -f conftest.er1 5142 cat conftest.err >&5 5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5144 (exit $ac_status); } >/dev/null && { 5145 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5146 test ! -s conftest.err 5147 }; then 5148 ac_header_preproc=yes 5149 else 5150 echo "$as_me: failed program was:" >&5 5151 sed 's/^/| /' conftest.$ac_ext >&5 5152 5153 ac_header_preproc=no 5154 fi 5155 5156 rm -f conftest.err conftest.$ac_ext 5157 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5158 echo "${ECHO_T}$ac_header_preproc" >&6; } 5159 5160 # So? What about this header? 5161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5162 yes:no: ) 5163 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 5164 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5165 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 5166 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 5167 ac_header_preproc=yes 5168 ;; 5169 no:yes:* ) 5170 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 5171 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 5172 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 5173 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 5174 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 5175 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 5176 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 5177 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 5178 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 5179 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 5180 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 5181 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 5182 5183 ;; 5184 esac 5185 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5186 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5187 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5188 echo $ECHO_N "(cached) $ECHO_C" >&6 5189 else 5190 ac_cv_header_arpa_inet_h=$ac_header_preproc 5191 fi 5192 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5193 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5194 5195 fi 5196 if test $ac_cv_header_arpa_inet_h = yes; then 5197 cat >>confdefs.h <<\_ACEOF 5198 #define PJ_HAS_ARPA_INET_H 1 5199 _ACEOF 5200 5201 fi 5202 5203 5204 if test "${ac_cv_header_assert_h+set}" = set; then 5205 { echo "$as_me:$LINENO: checking for assert.h" >&5 5206 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5207 if test "${ac_cv_header_assert_h+set}" = set; then 5208 echo $ECHO_N "(cached) $ECHO_C" >&6 5209 fi 5210 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5211 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5212 else 5213 # Is the header compilable? 5214 { echo "$as_me:$LINENO: checking assert.h usability" >&5 5215 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 5216 cat >conftest.$ac_ext <<_ACEOF 5217 /* confdefs.h. */ 5218 _ACEOF 5219 cat confdefs.h >>conftest.$ac_ext 5220 cat >>conftest.$ac_ext <<_ACEOF 5221 /* end confdefs.h. */ 5222 $ac_includes_default 5223 #include <assert.h> 5224 _ACEOF 5225 rm -f conftest.$ac_objext 5226 if { (ac_try="$ac_compile" 5227 case "(($ac_try" in 5228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5229 *) ac_try_echo=$ac_try;; 5230 esac 5231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5232 (eval "$ac_compile") 2>conftest.er1 5233 ac_status=$? 5234 grep -v '^ *+' conftest.er1 >conftest.err 5235 rm -f conftest.er1 5236 cat conftest.err >&5 5237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5238 (exit $ac_status); } && { 5239 test -z "$ac_c_werror_flag" || 5240 test ! -s conftest.err 5241 } && test -s conftest.$ac_objext; then 5242 ac_header_compiler=yes 5243 else 5244 echo "$as_me: failed program was:" >&5 5245 sed 's/^/| /' conftest.$ac_ext >&5 5246 5247 ac_header_compiler=no 5248 fi 5249 5250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5251 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5252 echo "${ECHO_T}$ac_header_compiler" >&6; } 5253 5254 # Is the header present? 5255 { echo "$as_me:$LINENO: checking assert.h presence" >&5 5256 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 5257 cat >conftest.$ac_ext <<_ACEOF 5258 /* confdefs.h. */ 5259 _ACEOF 5260 cat confdefs.h >>conftest.$ac_ext 5261 cat >>conftest.$ac_ext <<_ACEOF 5262 /* end confdefs.h. */ 5263 #include <assert.h> 5264 _ACEOF 5265 if { (ac_try="$ac_cpp conftest.$ac_ext" 5266 case "(($ac_try" in 5267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5268 *) ac_try_echo=$ac_try;; 5269 esac 5270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5271 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5272 ac_status=$? 5273 grep -v '^ *+' conftest.er1 >conftest.err 5274 rm -f conftest.er1 5275 cat conftest.err >&5 5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5277 (exit $ac_status); } >/dev/null && { 5278 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5279 test ! -s conftest.err 5280 }; then 5281 ac_header_preproc=yes 5282 else 5283 echo "$as_me: failed program was:" >&5 5284 sed 's/^/| /' conftest.$ac_ext >&5 5285 5286 ac_header_preproc=no 5287 fi 5288 5289 rm -f conftest.err conftest.$ac_ext 5290 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5291 echo "${ECHO_T}$ac_header_preproc" >&6; } 5292 5293 # So? What about this header? 5294 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5295 yes:no: ) 5296 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 5297 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5298 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 5299 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 5300 ac_header_preproc=yes 5301 ;; 5302 no:yes:* ) 5303 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 5304 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 5305 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5 5306 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;} 5307 { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 5308 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 5309 { echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5 5310 echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;} 5311 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 5312 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 5313 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 5314 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 5315 5316 ;; 5317 esac 5318 { echo "$as_me:$LINENO: checking for assert.h" >&5 5319 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5320 if test "${ac_cv_header_assert_h+set}" = set; then 5321 echo $ECHO_N "(cached) $ECHO_C" >&6 5322 else 5323 ac_cv_header_assert_h=$ac_header_preproc 5324 fi 5325 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5326 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5327 5328 fi 5329 if test $ac_cv_header_assert_h = yes; then 5330 cat >>confdefs.h <<\_ACEOF 5331 #define PJ_HAS_ASSERT_H 1 5332 _ACEOF 5333 5334 fi 5335 5336 5337 if test "${ac_cv_header_ctype_h+set}" = set; then 5338 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5339 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5340 if test "${ac_cv_header_ctype_h+set}" = set; then 5341 echo $ECHO_N "(cached) $ECHO_C" >&6 5342 fi 5343 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5344 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5345 else 5346 # Is the header compilable? 5347 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 5348 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 5349 cat >conftest.$ac_ext <<_ACEOF 5350 /* confdefs.h. */ 5351 _ACEOF 5352 cat confdefs.h >>conftest.$ac_ext 5353 cat >>conftest.$ac_ext <<_ACEOF 5354 /* end confdefs.h. */ 5355 $ac_includes_default 5356 #include <ctype.h> 5357 _ACEOF 5358 rm -f conftest.$ac_objext 5359 if { (ac_try="$ac_compile" 5360 case "(($ac_try" in 5361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5362 *) ac_try_echo=$ac_try;; 5363 esac 5364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5365 (eval "$ac_compile") 2>conftest.er1 5366 ac_status=$? 5367 grep -v '^ *+' conftest.er1 >conftest.err 5368 rm -f conftest.er1 5369 cat conftest.err >&5 5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5371 (exit $ac_status); } && { 5372 test -z "$ac_c_werror_flag" || 5373 test ! -s conftest.err 5374 } && test -s conftest.$ac_objext; then 5375 ac_header_compiler=yes 5376 else 5377 echo "$as_me: failed program was:" >&5 5378 sed 's/^/| /' conftest.$ac_ext >&5 5379 5380 ac_header_compiler=no 5381 fi 5382 5383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5384 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5385 echo "${ECHO_T}$ac_header_compiler" >&6; } 5386 5387 # Is the header present? 5388 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 5389 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 5390 cat >conftest.$ac_ext <<_ACEOF 5391 /* confdefs.h. */ 5392 _ACEOF 5393 cat confdefs.h >>conftest.$ac_ext 5394 cat >>conftest.$ac_ext <<_ACEOF 5395 /* end confdefs.h. */ 5396 #include <ctype.h> 5397 _ACEOF 5398 if { (ac_try="$ac_cpp conftest.$ac_ext" 5399 case "(($ac_try" in 5400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5401 *) ac_try_echo=$ac_try;; 5402 esac 5403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5404 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5405 ac_status=$? 5406 grep -v '^ *+' conftest.er1 >conftest.err 5407 rm -f conftest.er1 5408 cat conftest.err >&5 5409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5410 (exit $ac_status); } >/dev/null && { 5411 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5412 test ! -s conftest.err 5413 }; then 5414 ac_header_preproc=yes 5415 else 5416 echo "$as_me: failed program was:" >&5 5417 sed 's/^/| /' conftest.$ac_ext >&5 5418 5419 ac_header_preproc=no 5420 fi 5421 5422 rm -f conftest.err conftest.$ac_ext 5423 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5424 echo "${ECHO_T}$ac_header_preproc" >&6; } 5425 5426 # So? What about this header? 5427 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5428 yes:no: ) 5429 { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 5430 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5431 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 5432 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 5433 ac_header_preproc=yes 5434 ;; 5435 no:yes:* ) 5436 { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 5437 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 5438 { echo "$as_me:$LINENO: WARNING: ctype.h: check for missing prerequisite headers?" >&5 5439 echo "$as_me: WARNING: ctype.h: check for missing prerequisite headers?" >&2;} 5440 { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 5441 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 5442 { echo "$as_me:$LINENO: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&5 5443 echo "$as_me: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&2;} 5444 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 5445 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 5446 { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 5447 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 5448 5449 ;; 5450 esac 5451 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5452 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5453 if test "${ac_cv_header_ctype_h+set}" = set; then 5454 echo $ECHO_N "(cached) $ECHO_C" >&6 5455 else 5456 ac_cv_header_ctype_h=$ac_header_preproc 5457 fi 5458 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5459 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5460 5461 fi 5462 if test $ac_cv_header_ctype_h = yes; then 5463 cat >>confdefs.h <<\_ACEOF 5464 #define PJ_HAS_CTYPE_H 1 5465 _ACEOF 4693 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 4694 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 4695 $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 4696 4697 fi 4698 4699 4700 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 4701 if test "x$ac_cv_header_assert_h" = x""yes; then : 4702 $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 4703 4704 fi 4705 4706 4707 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 4708 if test "x$ac_cv_header_ctype_h" = x""yes; then : 4709 $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 5466 4710 5467 4711 fi … … 5471 4715 case $target in 5472 4716 *mingw* | *cygw* | *win32* | *w32* ) 5473 cat >>confdefs.h <<\_ACEOF 5474 #define PJ_HAS_ERRNO_H 0 5475 _ACEOF 4717 $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 5476 4718 5477 4719 ;; 5478 4720 *) 5479 if test "${ac_cv_header_errno_h+set}" = set; then 5480 { echo "$as_me:$LINENO: checking for errno.h" >&5 5481 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 5482 if test "${ac_cv_header_errno_h+set}" = set; then 5483 echo $ECHO_N "(cached) $ECHO_C" >&6 5484 fi 5485 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5486 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 5487 else 5488 # Is the header compilable? 5489 { echo "$as_me:$LINENO: checking errno.h usability" >&5 5490 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 5491 cat >conftest.$ac_ext <<_ACEOF 5492 /* confdefs.h. */ 5493 _ACEOF 5494 cat confdefs.h >>conftest.$ac_ext 5495 cat >>conftest.$ac_ext <<_ACEOF 5496 /* end confdefs.h. */ 5497 $ac_includes_default 5498 #include <errno.h> 5499 _ACEOF 5500 rm -f conftest.$ac_objext 5501 if { (ac_try="$ac_compile" 5502 case "(($ac_try" in 5503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5504 *) ac_try_echo=$ac_try;; 5505 esac 5506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5507 (eval "$ac_compile") 2>conftest.er1 5508 ac_status=$? 5509 grep -v '^ *+' conftest.er1 >conftest.err 5510 rm -f conftest.er1 5511 cat conftest.err >&5 5512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5513 (exit $ac_status); } && { 5514 test -z "$ac_c_werror_flag" || 5515