Changeset 3428
- Timestamp:
- Mar 1, 2011 5:25:27 AM (13 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r3423 r3428 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.65 for pjproject 1.x. 4 # 3 # Generated by GNU Autoconf 2.61 for pjproject 1.x. 5 4 # 6 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 8 # Inc. 9 # 10 # 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 11 7 # This configure script is free software; the Free Software Foundation 12 8 # gives unlimited permission to copy, distribute and modify it. 13 ## -------------------- ##14 ## M4sh Initialization. ##15 ## -------------------- ##9 ## --------------------- ## 10 ## M4sh Initialization. ## 11 ## --------------------- ## 16 12 17 13 # Be more Bourne compatible 18 14 DUALCASE=1; export DUALCASE # for MKS sh 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 20 16 emulate sh 21 17 NULLCMD=: 22 # Pre-4.2 versions of Zsh doword splitting on ${1+"$@"}, which18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 23 19 # is contrary to our usage. Disable this feature. 24 20 alias -g '${1+"$@"}'='"$@"' 25 21 setopt NO_GLOB_SUBST 26 22 else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32 esac 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 33 # Avoid depending upon Character Ranges. 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37 as_cr_digits='0123456789' 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 73 39 74 40 # The user is always right. 75 41 if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 42 echo "#! /bin/sh" >conf$$.sh 43 echo "exit 0" >>conf$$.sh 44 chmod +x conf$$.sh 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46 PATH_SEPARATOR=';' 47 else 48 PATH_SEPARATOR=: 49 fi 50 rm -f conf$$.sh 51 fi 52 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 81 58 fi 82 59 … … 87 64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 65 # splitting by setting IFS to empty value.) 66 as_nl=' 67 ' 89 68 IFS=" "" $as_nl" 90 69 91 70 # Find who we are. Look in the path if we contain no directory separator. 92 case $0 in #((71 case $0 in 93 72 *[\\/]* ) as_myself=$0 ;; 94 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 97 76 IFS=$as_save_IFS 98 77 test -z "$as_dir" && as_dir=. 99 100 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 79 done 101 80 IFS=$as_save_IFS 102 81 … … 109 88 fi 110 89 if test ! -f "$as_myself"; then 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113 fi 114 115 # Unset variables that we do not need and which cause bugs (e.g. in 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117 # suppresses any "Segmentation fault" message there. '((' could 118 # trigger a bug in pdksh 5.2.14. 119 for as_var in BASH_ENV ENV MAIL MAILPATH 120 do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 122 97 done 123 98 PS1='$ ' … … 126 101 127 102 # NLS nuisances. 128 LC_ALL=C 129 export LC_ALL 130 LANGUAGE=C 131 export LANGUAGE 132 133 # CDPATH. 134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 139 NULLCMD=: 140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141 # is contrary to our usage. Disable this feature. 142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 143 setopt NO_GLOB_SUBST 144 else 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150 esac 151 fi 152 " 153 as_required="as_fn_return () { (exit \$1); } 154 as_fn_success () { as_fn_return 0; } 155 as_fn_failure () { as_fn_return 1; } 156 as_fn_ret_success () { return 0; } 157 as_fn_ret_failure () { return 1; } 158 159 exitcode=0 160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165 166 else 167 exitcode=1; echo positional parameters were not saved. 168 fi 169 test x\$exitcode = x0 || exit 1" 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174 test \$(( 1 + 1 )) = 2 || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177 else 178 as_have_required=no 179 fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182 else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184 as_found=false 185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 186 107 do 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200 fi 201 fi 202 done;; 203 esac 204 as_found=false 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 112 fi 205 113 done 206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209 fi; } 210 IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222 fi 223 224 if test x$as_have_required = xno; then : 225 $as_echo "$0: This script requires a shell more modern than all" 226 $as_echo "$0: the shells that I found on your system." 227 if test x${ZSH_VERSION+set} = xset ; then 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 230 else 231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 232 $0: including any error possibly output before this 233 $0: message. Then install a modern shell, or manually run 234 $0: the script under such a shell if you do have one." 235 fi 236 exit 1 237 fi 238 fi 239 fi 240 SHELL=${CONFIG_SHELL-/bin/sh} 241 export SHELL 242 # Unset more variables known to interfere with behavior of common tools. 243 CLICOLOR_FORCE= GREP_OPTIONS= 244 unset CLICOLOR_FORCE GREP_OPTIONS 245 246 ## --------------------- ## 247 ## M4sh Shell Functions. ## 248 ## --------------------- ## 249 # as_fn_unset VAR 250 # --------------- 251 # Portably unset VAR. 252 as_fn_unset () 253 { 254 { eval $1=; unset $1;} 255 } 256 as_unset=as_fn_unset 257 258 # as_fn_set_status STATUS 259 # ----------------------- 260 # Set $? to STATUS, without forking. 261 as_fn_set_status () 262 { 263 return $1 264 } # as_fn_set_status 265 266 # as_fn_exit STATUS 267 # ----------------- 268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 269 as_fn_exit () 270 { 271 set +e 272 as_fn_set_status $1 273 exit $1 274 } # as_fn_exit 275 276 # as_fn_mkdir_p 277 # ------------- 278 # Create "$as_dir" as a directory, including parents if necessary. 279 as_fn_mkdir_p () 280 { 281 282 case $as_dir in #( 283 -*) as_dir=./$as_dir;; 284 esac 285 test -d "$as_dir" || eval $as_mkdir_p || { 286 as_dirs= 287 while :; do 288 case $as_dir in #( 289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 290 *) as_qdir=$as_dir;; 291 esac 292 as_dirs="'$as_qdir' $as_dirs" 293 as_dir=`$as_dirname -- "$as_dir" || 294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 295 X"$as_dir" : 'X\(//\)[^/]' \| \ 296 X"$as_dir" : 'X\(//\)$' \| \ 297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 298 $as_echo X"$as_dir" | 299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 300 s//\1/ 301 q 302 } 303 /^X\(\/\/\)[^/].*/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\).*/{ 312 s//\1/ 313 q 314 } 315 s/.*/./; q'` 316 test -d "$as_dir" && break 317 done 318 test -z "$as_dirs" || eval "mkdir $as_dirs" 319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 320 321 322 } # as_fn_mkdir_p 323 # as_fn_append VAR VALUE 324 # ---------------------- 325 # Append the text in VALUE to the end of the definition contained in VAR. Take 326 # advantage of any shell optimizations that allow amortized linear growth over 327 # repeated appends, instead of the typical quadratic growth present in naive 328 # implementations. 329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 330 eval 'as_fn_append () 331 { 332 eval $1+=\$2 333 }' 334 else 335 as_fn_append () 336 { 337 eval $1=\$$1\$2 338 } 339 fi # as_fn_append 340 341 # as_fn_arith ARG... 342 # ------------------ 343 # Perform arithmetic evaluation on the ARGs, and store the result in the 344 # global $as_val. Take advantage of shells that can avoid forks. The arguments 345 # must be portable across $(()) and expr. 346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 347 eval 'as_fn_arith () 348 { 349 as_val=$(( $* )) 350 }' 351 else 352 as_fn_arith () 353 { 354 as_val=`expr "$@" || test $? -eq 1` 355 } 356 fi # as_fn_arith 357 358 359 # as_fn_error ERROR [LINENO LOG_FD] 360 # --------------------------------- 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363 # script with status $?, using 1 if that was 0. 364 as_fn_error () 365 { 366 as_status=$?; test $as_status -eq 0 && as_status=1 367 if test "$3"; then 368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 370 fi 371 $as_echo "$as_me: error: $1" >&2 372 as_fn_exit $as_status 373 } # as_fn_error 374 114 115 # Required to use basename. 375 116 if expr a : '\(a\)' >/dev/null 2>&1 && 376 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 386 127 fi 387 128 388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 389 as_dirname=dirname 390 else 391 as_dirname=false 392 fi 393 129 130 # Name of the executable. 394 131 as_me=`$as_basename -- "$0" || 395 132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 396 133 X"$0" : 'X\(//\)$' \| \ 397 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 398 $as_echo X/"$0" |135 echo X/"$0" | 399 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 400 137 s//\1/ … … 411 148 s/.*/./; q'` 412 149 413 # Avoid depending upon Character Ranges. 414 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 417 as_cr_digits='0123456789' 418 as_cr_alnum=$as_cr_Letters$as_cr_digits 419 420 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223 do 224 IFS=$as_save_IFS 225 test -z "$as_dir" && as_dir=. 226 case $as_dir in 227 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 328 as_lineno_1=$LINENO 329 as_lineno_2=$LINENO 330 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 426 438 sed -n ' 427 439 p … … 440 452 ' >$as_me.lineno && 441 453 chmod +x "$as_me.lineno" || 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 { (exit 1); exit 1; }; } 443 456 444 457 # Don't try to exec as it changes $[0], causing all sort of problems … … 450 463 } 451 464 465 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468 else 469 as_dirname=false 470 fi 471 452 472 ECHO_C= ECHO_N= ECHO_T= 453 case `echo -n x` in #(((((473 case `echo -n x` in 454 474 -n*) 455 case `echo 'x y\c'` in475 case `echo 'x\c'` in 456 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 457 xy) ECHO_C='\c';; 458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459 ECHO_T=' ';; 477 *) ECHO_C='\c';; 460 478 esac;; 461 479 *) … … 463 481 esac 464 482 483 if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 485 as_expr=expr 486 else 487 as_expr=false 488 fi 489 465 490 rm -f conf$$ conf$$.exe conf$$.file 466 491 if test -d conf$$.dir; then … … 468 493 else 469 494 rm -f conf$$.dir 470 mkdir conf$$.dir 2>/dev/null 471 fi 472 if (echo >conf$$.file) 2>/dev/null; then 473 if ln -s conf$$.file conf$$ 2>/dev/null; then 474 as_ln_s='ln -s' 475 # ... but there are two gotchas: 476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 478 # In both cases, we have to default to `cp -p'. 479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 480 as_ln_s='cp -p' 481 elif ln conf$$.file conf$$ 2>/dev/null; then 482 as_ln_s=ln 483 else 495 mkdir conf$$.dir 496 fi 497 echo >conf$$.file 498 if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 484 505 as_ln_s='cp -p' 485 fi 506 elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 486 508 else 487 509 as_ln_s='cp -p' … … 491 513 492 514 if mkdir -p . 2>/dev/null; then 493 as_mkdir_p= 'mkdir -p "$as_dir"'515 as_mkdir_p=: 494 516 else 495 517 test -d ./-p && rmdir ./-p … … 508 530 eval sh -c '\'' 509 531 if test -d "$1"; then 510 532 test -d "$1/."; 511 533 else 512 case $1 in #(513 534 case $1 in 535 -*)set "./$1";; 514 536 esac; 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 516 538 ???[sx]*):;;*)false;;esac;fi 517 539 '\'' sh … … 527 549 528 550 529 test -n "$DJDIR" || exec 7<&0 </dev/null 530 exec 6>&1551 552 exec 7<&0 </dev/null 6>&1 531 553 532 554 # Name of the host. … … 546 568 MFLAGS= 547 569 MAKEFLAGS= 570 SHELL=${CONFIG_SHELL-/bin/sh} 548 571 549 572 # Identity of this package. … … 553 576 PACKAGE_STRING='pjproject 1.x' 554 577 PACKAGE_BUGREPORT='' 555 PACKAGE_URL=''556 578 557 579 # Factoring default headers for most tests. … … 591 613 #endif" 592 614 593 ac_subst_vars='LTLIBOBJS 615 ac_subst_vars='SHELL 616 PATH_SEPARATOR 617 PACKAGE_NAME 618 PACKAGE_TARNAME 619 PACKAGE_VERSION 620 PACKAGE_STRING 621 PACKAGE_BUGREPORT 622 exec_prefix 623 prefix 624 program_transform_name 625 bindir 626 sbindir 627 libexecdir 628 datarootdir 629 datadir 630 sysconfdir 631 sharedstatedir 632 localstatedir 633 includedir 634 oldincludedir 635 docdir 636 infodir 637 htmldir 638 dvidir 639 pdfdir 640 psdir 641 libdir 642 localedir 643 mandir 644 DEFS 645 ECHO_C 646 ECHO_N 647 ECHO_T 648 LIBS 649 build_alias 650 host_alias 651 target_alias 652 build 653 build_cpu 654 build_vendor 655 build_os 656 host 657 host_cpu 658 host_vendor 659 host_os 660 target 661 target_cpu 662 target_vendor 663 target_os 664 CC 665 CFLAGS 666 LDFLAGS 667 CPPFLAGS 668 ac_ct_CC 669 EXEEXT 670 OBJEXT 671 CXX 672 CXXFLAGS 673 ac_ct_CXX 674 AR 675 LD 676 LDOUT 677 RANLIB 678 LIBEXT 679 LIBEXT2 680 CC_OUT 681 CC_INC 682 CC_DEF 683 CC_OPTIMIZE 684 CC_CFLAGS 685 ac_pjdir 686 ac_build_mak_vars 687 CPP 688 GREP 689 EGREP 690 ac_os_objs 691 ac_external_speex 692 ac_external_gsm 693 ac_pjmedia_snd 694 ac_external_pa 695 ac_pa_cflags 696 ac_pa_use_alsa 697 ac_pa_use_oss 698 ac_no_small_filter 699 ac_no_large_filter 700 ac_no_speex_aec 701 ac_no_g711_codec 702 ac_no_l16_codec 703 ac_no_gsm_codec 704 ac_no_g722_codec 705 ac_no_g7221_codec 706 ac_no_speex_codec 707 ac_no_ilbc_codec 708 ac_no_ssl 709 openssl_h_present 710 libssl_present 711 libcrypto_present 712 ac_cross_compile 713 ac_linux_poll 714 ac_host 715 ac_main_obj 594 716 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_no_ilbc_codec 604 ac_no_speex_codec 605 ac_no_g7221_codec 606 ac_no_g722_codec 607 ac_no_gsm_codec 608 ac_no_l16_codec 609 ac_no_g711_codec 610 ac_no_speex_aec 611 ac_no_large_filter 612 ac_no_small_filter 613 ac_pa_use_oss 614 ac_pa_use_alsa 615 ac_pa_cflags 616 ac_external_pa 617 ac_pjmedia_snd 618 ac_external_gsm 619 ac_external_speex 620 ac_os_objs 621 EGREP 622 GREP 623 CPP 624 ac_build_mak_vars 625 ac_pjdir 626 CC_CFLAGS 627 CC_OPTIMIZE 628 CC_DEF 629 CC_INC 630 CC_OUT 631 LIBEXT2 632 LIBEXT 633 RANLIB 634 LDOUT 635 LD 636 AR 637 ac_ct_CXX 638 CXXFLAGS 639 CXX 640 OBJEXT 641 EXEEXT 642 ac_ct_CC 643 CPPFLAGS 644 LDFLAGS 645 CFLAGS 646 CC 647 target_os 648 target_vendor 649 target_cpu 650 target 651 host_os 652 host_vendor 653 host_cpu 654 host 655 build_os 656 build_vendor 657 build_cpu 658 build 659 target_alias 660 host_alias 661 build_alias 662 LIBS 663 ECHO_T 664 ECHO_N 665 ECHO_C 666 DEFS 667 mandir 668 localedir 669 libdir 670 psdir 671 pdfdir 672 dvidir 673 htmldir 674 infodir 675 docdir 676 oldincludedir 677 includedir 678 localstatedir 679 sharedstatedir 680 sysconfdir 681 datadir 682 datarootdir 683 libexecdir 684 sbindir 685 bindir 686 program_transform_name 687 prefix 688 exec_prefix 689 PACKAGE_URL 690 PACKAGE_BUGREPORT 691 PACKAGE_STRING 692 PACKAGE_VERSION 693 PACKAGE_TARNAME 694 PACKAGE_NAME 695 PATH_SEPARATOR 696 SHELL' 717 LTLIBOBJS' 697 718 ac_subst_files='' 698 ac_user_opts='699 enable_option_checking700 enable_floating_point701 enable_epoll702 with_external_speex703 with_external_gsm704 enable_sound705 with_external_pa706 enable_oss707 enable_ext_sound708 enable_small_filter709 enable_large_filter710 enable_speex_aec711 enable_g711_codec712 enable_l16_codec713 enable_gsm_codec714 enable_g722_codec715 enable_g7221_codec716 enable_speex_codec717 enable_ilbc_codec718 enable_libsamplerate719 enable_ipp720 with_ipp721 with_ipp_samples722 with_ipp_arch723 enable_ssl724 '725 719 ac_precious_vars='build_alias 726 720 host_alias … … 740 734 ac_init_help= 741 735 ac_init_version=false 742 ac_unrecognized_opts=743 ac_unrecognized_sep=744 736 # The variables have the same names as the options, with 745 737 # dashes changed to underlines. … … 840 832 841 833 -disable-* | --disable-*) 842 ac_ useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`834 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 843 835 # Reject names that are not valid shell variable names. 844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 845 as_fn_error "invalid feature name: $ac_useropt" 846 ac_useropt_orig=$ac_useropt 847 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 848 case $ac_user_opts in 849 *" 850 "enable_$ac_useropt" 851 "*) ;; 852 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 853 ac_unrecognized_sep=', ';; 854 esac 855 eval enable_$ac_useropt=no ;; 836 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 837 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 838 { (exit 1); exit 1; }; } 839 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 840 eval enable_$ac_feature=no ;; 856 841 857 842 -docdir | --docdir | --docdi | --doc | --do) … … 866 851 867 852 -enable-* | --enable-*) 868 ac_ useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`853 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 869 854 # Reject names that are not valid shell variable names. 870 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 871 as_fn_error "invalid feature name: $ac_useropt" 872 ac_useropt_orig=$ac_useropt 873 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 874 case $ac_user_opts in 875 *" 876 "enable_$ac_useropt" 877 "*) ;; 878 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 879 ac_unrecognized_sep=', ';; 880 esac 881 eval enable_$ac_useropt=\$ac_optarg ;; 855 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 856 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 857 { (exit 1); exit 1; }; } 858 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 859 eval enable_$ac_feature=\$ac_optarg ;; 882 860 883 861 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1070 1048 1071 1049 -with-* | --with-*) 1072 ac_ useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1050 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1073 1051 # Reject names that are not valid shell variable names. 1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1075 as_fn_error "invalid package name: $ac_useropt" 1076 ac_useropt_orig=$ac_useropt 1077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1078 case $ac_user_opts in 1079 *" 1080 "with_$ac_useropt" 1081 "*) ;; 1082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1083 ac_unrecognized_sep=', ';; 1084 esac 1085 eval with_$ac_useropt=\$ac_optarg ;; 1052 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1053 { echo "$as_me: error: invalid package name: $ac_package" >&2 1054 { (exit 1); exit 1; }; } 1055 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1056 eval with_$ac_package=\$ac_optarg ;; 1086 1057 1087 1058 -without-* | --without-*) 1088 ac_ useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`1059 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1089 1060 # Reject names that are not valid shell variable names. 1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1091 as_fn_error "invalid package name: $ac_useropt" 1092 ac_useropt_orig=$ac_useropt 1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1094 case $ac_user_opts in 1095 *" 1096 "with_$ac_useropt" 1097 "*) ;; 1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1099 ac_unrecognized_sep=', ';; 1100 esac 1101 eval with_$ac_useropt=no ;; 1061 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1062 { echo "$as_me: error: invalid package name: $ac_package" >&2 1063 { (exit 1); exit 1; }; } 1064 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1065 eval with_$ac_package=no ;; 1102 1066 1103 1067 --x) … … 1119 1083 x_libraries=$ac_optarg ;; 1120 1084 1121 -*) as_fn_error "unrecognized option: \`$ac_option' 1122 Try \`$0 --help' for more information." 1085 -*) { echo "$as_me: error: unrecognized option: $ac_option 1086 Try \`$0 --help' for more information." >&2 1087 { (exit 1); exit 1; }; } 1123 1088 ;; 1124 1089 … … 1126 1091 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1127 1092 # Reject names that are not valid shell variable names. 1128 case $ac_envvar in #( 1129 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1130 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1131 esac 1093 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1094 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1095 { (exit 1); exit 1; }; } 1132 1096 eval $ac_envvar=\$ac_optarg 1133 1097 export $ac_envvar ;; … … 1135 1099 *) 1136 1100 # FIXME: should be removed in autoconf 3.0. 1137 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&21101 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1138 1102 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1139 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&21103 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1140 1104 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1141 1105 ;; … … 1146 1110 if test -n "$ac_prev"; then 1147 1111 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1148 as_fn_error "missing argument to $ac_option" 1149 fi 1150 1151 if test -n "$ac_unrecognized_opts"; then 1152 case $enable_option_checking in 1153 no) ;; 1154 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1155 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1156 esac 1157 fi 1158 1159 # Check all directory arguments for consistency. 1112 { echo "$as_me: error: missing argument to $ac_option" >&2 1113 { (exit 1); exit 1; }; } 1114 fi 1115 1116 # Be sure to have absolute directory names. 1160 1117 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1161 1118 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1164 1121 do 1165 1122 eval ac_val=\$$ac_var 1166 # Remove trailing slashes.1167 case $ac_val in1168 */ )1169 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`1170 eval $ac_var=\$ac_val;;1171 esac1172 # Be sure to have absolute directory names.1173 1123 case $ac_val in 1174 1124 [\\/$]* | ?:[\\/]* ) continue;; 1175 1125 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1176 1126 esac 1177 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1127 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1128 { (exit 1); exit 1; }; } 1178 1129 done 1179 1130 … … 1189 1140 if test "x$build_alias" = x; then 1190 1141 cross_compiling=maybe 1191 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1142 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1192 1143 If a cross compiler is detected then cross compile mode will be used." >&2 1193 1144 elif test "x$build_alias" != "x$host_alias"; then … … 1205 1156 ac_ls_di=`ls -di .` && 1206 1157 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1207 as_fn_error "working directory cannot be determined" 1158 { echo "$as_me: error: Working directory cannot be determined" >&2 1159 { (exit 1); exit 1; }; } 1208 1160 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1209 as_fn_error "pwd does not report name of working directory" 1161 { echo "$as_me: error: pwd does not report name of working directory" >&2 1162 { (exit 1); exit 1; }; } 1210 1163 1211 1164 … … 1214 1167 ac_srcdir_defaulted=yes 1215 1168 # Try the directory containing this script, then the parent directory. 1216 ac_confdir=`$as_dirname -- "$ as_myself" ||1217 $as_expr X"$ as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1218 X"$ as_myself" : 'X\(//\)[^/]' \| \1219 X"$ as_myself" : 'X\(//\)$' \| \1220 X"$ as_myself" : 'X\(/\)' \| . 2>/dev/null ||1221 $as_echo X"$as_myself" |1169 ac_confdir=`$as_dirname -- "$0" || 1170 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1171 X"$0" : 'X\(//\)[^/]' \| \ 1172 X"$0" : 'X\(//\)$' \| \ 1173 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1174 echo X"$0" | 1222 1175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1223 1176 s//\1/ … … 1246 1199 if test ! -r "$srcdir/$ac_unique_file"; then 1247 1200 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1248 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1201 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1202 { (exit 1); exit 1; }; } 1249 1203 fi 1250 1204 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1251 1205 ac_abs_confdir=`( 1252 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1206 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1207 { (exit 1); exit 1; }; } 1253 1208 pwd)` 1254 1209 # When building in place, set srcdir=. … … 1298 1253 Installation directories: 1299 1254 --prefix=PREFIX install architecture-independent files in PREFIX 1300 1255 [$ac_default_prefix] 1301 1256 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1302 1257 [PREFIX] 1303 1258 1304 1259 By default, \`make install' will install all the files in … … 1310 1265 1311 1266 Fine tuning of the installation directories: 1312 --bindir=DIR 1313 --sbindir=DIR 1314 --libexecdir=DIR 1315 --sysconfdir=DIR 1316 --sharedstatedir=DIR 1317 --localstatedir=DIR 1318 --libdir=DIR 1319 --includedir=DIR 1320 --oldincludedir=DIR 1321 --datarootdir=DIR 1322 --datadir=DIR 1323 --infodir=DIR 1324 --localedir=DIR 1325 --mandir=DIR 1326 --docdir=DIR 1327 --htmldir=DIR 1328 --dvidir=DIR 1329 --pdfdir=DIR 1330 --psdir=DIR 1267 --bindir=DIR user executables [EPREFIX/bin] 1268 --sbindir=DIR system admin executables [EPREFIX/sbin] 1269 --libexecdir=DIR program executables [EPREFIX/libexec] 1270 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1271 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1272 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1273 --libdir=DIR object code libraries [EPREFIX/lib] 1274 --includedir=DIR C header files [PREFIX/include] 1275 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1276 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1277 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1278 --infodir=DIR info documentation [DATAROOTDIR/info] 1279 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1280 --mandir=DIR man documentation [DATAROOTDIR/man] 1281 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1282 --htmldir=DIR html documentation [DOCDIR] 1283 --dvidir=DIR dvi documentation [DOCDIR] 1284 --pdfdir=DIR pdf documentation [DOCDIR] 1285 --psdir=DIR ps documentation [DOCDIR] 1331 1286 _ACEOF 1332 1287 … … 1347 1302 1348 1303 Optional Features: 1349 --disable-option-checking ignore unrecognized --enable/--with options1350 1304 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1351 1305 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1405 1359 nonstandard directory <lib dir> 1406 1360 LIBS libraries to pass to the linker, e.g. -l<library> 1407 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1361 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1408 1362 you have headers in a nonstandard directory <include dir> 1409 1363 CXX C++ compiler command … … 1414 1368 it to find libraries and programs with nonstandard names/locations. 1415 1369 1416 Report bugs to the package provider.1417 1370 _ACEOF 1418 1371 ac_status=$? … … 1422 1375 # If there are subdirs, report their specific --help. 1423 1376 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1424 test -d "$ac_dir" || 1425 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1426 continue 1377 test -d "$ac_dir" || continue 1427 1378 ac_builddir=. 1428 1379 … … 1430 1381 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1431 1382 *) 1432 ac_dir_suffix=/` $as_echo "$ac_dir" | sed 's|^\.[\\/]||'`1383 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1433 1384 # A ".." for each directory in $ac_dir_suffix. 1434 ac_top_builddir_sub=` $as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`1385 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1435 1386 case $ac_top_builddir_sub in 1436 1387 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1468 1419 $SHELL "$ac_srcdir/configure" --help=recursive 1469 1420 else 1470 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21421 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1471 1422 fi || ac_status=$? 1472 1423 cd "$ac_pwd" || { ac_status=$?; break; } … … 1478 1429 cat <<\_ACEOF 1479 1430 pjproject configure 1.x 1480 generated by GNU Autoconf 2.65 1481 1482 Copyright (C) 2009 Free Software Foundation, Inc. 1431 generated by GNU Autoconf 2.61 1432 1433 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1434 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1483 1435 This configure script is free software; the Free Software Foundation 1484 1436 gives unlimited permission to copy, distribute and modify it. … … 1486 1438 exit 1487 1439 fi 1488 1489 ## ------------------------ ##1490 ## Autoconf initialization. ##1491 ## ------------------------ ##1492 1493 # ac_fn_c_try_compile LINENO1494 # --------------------------1495 # Try to compile conftest.$ac_ext, and return whether this succeeded.1496 ac_fn_c_try_compile ()1497 {1498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1499 rm -f conftest.$ac_objext1500 if { { ac_try="$ac_compile"1501 case "(($ac_try" in1502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1503 *) ac_try_echo=$ac_try;;1504 esac1505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1506 $as_echo "$ac_try_echo"; } >&51507 (eval "$ac_compile") 2>conftest.err1508 ac_status=$?1509 if test -s conftest.err; then1510 grep -v '^ *+' conftest.err >conftest.er11511 cat conftest.er1 >&51512 mv -f conftest.er1 conftest.err1513 fi1514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51515 test $ac_status = 0; } && {1516 test -z "$ac_c_werror_flag" ||1517 test ! -s conftest.err1518 } && test -s conftest.$ac_objext; then :1519 ac_retval=01520 else1521 $as_echo "$as_me: failed program was:" >&51522 sed 's/^/| /' conftest.$ac_ext >&51523 1524 ac_retval=11525 fi1526 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1527 as_fn_set_status $ac_retval1528 1529 } # ac_fn_c_try_compile1530 1531 # ac_fn_cxx_try_compile LINENO1532 # ----------------------------1533 # Try to compile conftest.$ac_ext, and return whether this succeeded.1534 ac_fn_cxx_try_compile ()1535 {1536 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1537 rm -f conftest.$ac_objext1538 if { { ac_try="$ac_compile"1539 case "(($ac_try" in1540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1541 *) ac_try_echo=$ac_try;;1542 esac1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1544 $as_echo "$ac_try_echo"; } >&51545 (eval "$ac_compile") 2>conftest.err1546 ac_status=$?1547 if test -s conftest.err; then1548 grep -v '^ *+' conftest.err >conftest.er11549 cat conftest.er1 >&51550 mv -f conftest.er1 conftest.err1551 fi1552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51553 test $ac_status = 0; } && {1554 test -z "$ac_cxx_werror_flag" ||1555 test ! -s conftest.err1556 } && test -s conftest.$ac_objext; then :1557 ac_retval=01558 else1559 $as_echo "$as_me: failed program was:" >&51560 sed 's/^/| /' conftest.$ac_ext >&51561 1562 ac_retval=11563 fi1564 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1565 as_fn_set_status $ac_retval1566 1567 } # ac_fn_cxx_try_compile1568 1569 # ac_fn_c_try_link LINENO1570 # -----------------------1571 # Try to link conftest.$ac_ext, and return whether this succeeded.1572 ac_fn_c_try_link ()1573 {1574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1575 rm -f conftest.$ac_objext conftest$ac_exeext1576 if { { ac_try="$ac_link"1577 case "(($ac_try" in1578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1579 *) ac_try_echo=$ac_try;;1580 esac1581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1582 $as_echo "$ac_try_echo"; } >&51583 (eval "$ac_link") 2>conftest.err1584 ac_status=$?1585 if test -s conftest.err; then1586 grep -v '^ *+' conftest.err >conftest.er11587 cat conftest.er1 >&51588 mv -f conftest.er1 conftest.err1589 fi1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51591 test $ac_status = 0; } && {1592 test -z "$ac_c_werror_flag" ||1593 test ! -s conftest.err1594 } && test -s conftest$ac_exeext && {1595 test "$cross_compiling" = yes ||1596 $as_test_x conftest$ac_exeext1597 }; then :1598 ac_retval=01599 else1600 $as_echo "$as_me: failed program was:" >&51601 sed 's/^/| /' conftest.$ac_ext >&51602 1603 ac_retval=11604 fi1605 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1606 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1607 # interfere with the next link command; also delete a directory that is1608 # left behind by Apple's compiler. We do this before executing the actions.1609 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1610 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1611 as_fn_set_status $ac_retval1612 1613 } # ac_fn_c_try_link1614 1615 # ac_fn_c_try_run LINENO1616 # ----------------------1617 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1618 # that executables *can* be run.1619 ac_fn_c_try_run ()1620 {1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1622 if { { ac_try="$ac_link"1623 case "(($ac_try" in1624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1625 *) ac_try_echo=$ac_try;;1626 esac1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1628 $as_echo "$ac_try_echo"; } >&51629 (eval "$ac_link") 2>&51630 ac_status=$?1631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51632 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1633 { { case "(($ac_try" in1634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1635 *) ac_try_echo=$ac_try;;1636 esac1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1638 $as_echo "$ac_try_echo"; } >&51639 (eval "$ac_try") 2>&51640 ac_status=$?1641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51642 test $ac_status = 0; }; }; then :1643 ac_retval=01644 else1645 $as_echo "$as_me: program exited with status $ac_status" >&51646 $as_echo "$as_me: failed program was:" >&51647 sed 's/^/| /' conftest.$ac_ext >&51648 1649 ac_retval=$ac_status1650 fi1651 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1652 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1653 as_fn_set_status $ac_retval1654 1655 } # ac_fn_c_try_run1656 1657 # ac_fn_c_try_cpp LINENO1658 # ----------------------1659 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1660 ac_fn_c_try_cpp ()1661 {1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1663 if { { ac_try="$ac_cpp conftest.$ac_ext"1664 case "(($ac_try" in1665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1666 *) ac_try_echo=$ac_try;;1667 esac1668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1669 $as_echo "$ac_try_echo"; } >&51670 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1671 ac_status=$?1672 if test -s conftest.err; then1673 grep -v '^ *+' conftest.err >conftest.er11674 cat conftest.er1 >&51675 mv -f conftest.er1 conftest.err1676 fi1677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51678 test $ac_status = 0; } >/dev/null && {1679 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1680 test ! -s conftest.err1681 }; then :1682 ac_retval=01683 else1684 $as_echo "$as_me: failed program was:" >&51685 sed 's/^/| /' conftest.$ac_ext >&51686 1687 ac_retval=11688 fi1689 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1690 as_fn_set_status $ac_retval1691 1692 } # ac_fn_c_try_cpp1693 1694 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1695 # -------------------------------------------------------1696 # Tests whether HEADER exists and can be compiled using the include files in1697 # INCLUDES, setting the cache variable VAR accordingly.1698 ac_fn_c_check_header_compile ()1699 {1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51702 $as_echo_n "checking for $2... " >&6; }1703 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1704 $as_echo_n "(cached) " >&61705 else1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1707 /* end confdefs.h. */1708 $41709 #include <$2>1710 _ACEOF1711 if ac_fn_c_try_compile "$LINENO"; then :1712 eval "$3=yes"1713 else1714 eval "$3=no"1715 fi1716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1717 fi1718 eval ac_res=\$$31719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51720 $as_echo "$ac_res" >&6; }1721 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1722 1723 } # ac_fn_c_check_header_compile1724 1725 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES1726 # -------------------------------------------------------1727 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1728 # the include files in INCLUDES and setting the cache variable VAR1729 # accordingly.1730 ac_fn_c_check_header_mongrel ()1731 {1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1733 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51735 $as_echo_n "checking for $2... " >&6; }1736 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1737 $as_echo_n "(cached) " >&61738 fi1739 eval ac_res=\$$31740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51741 $as_echo "$ac_res" >&6; }1742 else1743 # Is the header compilable?1744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51745 $as_echo_n "checking $2 usability... " >&6; }1746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1747 /* end confdefs.h. */1748 $41749 #include <$2>1750 _ACEOF1751 if ac_fn_c_try_compile "$LINENO"; then :1752 ac_header_compiler=yes1753 else1754 ac_header_compiler=no1755 fi1756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51758 $as_echo "$ac_header_compiler" >&6; }1759 1760 # Is the header present?1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51762 $as_echo_n "checking $2 presence... " >&6; }1763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1764 /* end confdefs.h. */1765 #include <$2>1766 _ACEOF1767 if ac_fn_c_try_cpp "$LINENO"; then :1768 ac_header_preproc=yes1769 else1770 ac_header_preproc=no1771 fi1772 rm -f conftest.err conftest.$ac_ext1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&51774 $as_echo "$ac_header_preproc" >&6; }1775 1776 # So? What about this header?1777 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((1778 yes:no: )1779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&51780 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}1781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51782 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1783 ;;1784 no:yes:* )1785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&51786 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}1787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&51788 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}1789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&51790 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}1791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&51792 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}1793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51794 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1795 ;;1796 esac1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51798 $as_echo_n "checking for $2... " >&6; }1799 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1800 $as_echo_n "(cached) " >&61801 else1802 eval "$3=\$ac_header_compiler"1803 fi1804 eval ac_res=\$$31805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51806 $as_echo "$ac_res" >&6; }1807 fi1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1809 1810 } # ac_fn_c_check_header_mongrel1811 1812 # ac_fn_c_check_func LINENO FUNC VAR1813 # ----------------------------------1814 # Tests whether FUNC exists, setting the cache variable VAR accordingly1815 ac_fn_c_check_func ()1816 {1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51819 $as_echo_n "checking for $2... " >&6; }1820 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1821 $as_echo_n "(cached) " >&61822 else1823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1824 /* end confdefs.h. */1825 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.1826 For example, HP-UX 11i <limits.h> declares gettimeofday. */1827 #define $2 innocuous_$21828 1829 /* System header to define __stub macros and hopefully few prototypes,1830 which can conflict with char $2 (); below.1831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1832 <limits.h> exists even on freestanding compilers. */1833 1834 #ifdef __STDC__1835 # include <limits.h>1836 #else1837 # include <assert.h>1838 #endif1839 1840 #undef $21841 1842 /* Override any GCC internal prototype to avoid an error.1843 Use char because int might match the return type of a GCC1844 builtin and then its argument prototype would still apply. */1845 #ifdef __cplusplus1846 extern "C"1847 #endif1848 char $2 ();1849 /* The GNU C library defines this for functions which it implements1850 to always fail with ENOSYS. Some functions are actually named1851 something starting with __ and the normal name is an alias. */1852 #if defined __stub_$2 || defined __stub___$21853 choke me1854 #endif1855 1856 int1857 main ()1858 {1859 return $2 ();1860 ;1861 return 0;1862 }1863 _ACEOF1864 if ac_fn_c_try_link "$LINENO"; then :1865 eval "$3=yes"1866 else1867 eval "$3=no"1868 fi1869 rm -f core conftest.err conftest.$ac_objext \1870 conftest$ac_exeext conftest.$ac_ext1871 fi1872 eval ac_res=\$$31873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51874 $as_echo "$ac_res" >&6; }1875 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1876 1877 } # ac_fn_c_check_func1878 1440 cat >config.log <<_ACEOF 1879 1441 This file contains any messages produced by compilers while … … 1881 1443 1882 1444 It was created by pjproject $as_me 1.x, which was 1883 generated by GNU Autoconf 2.6 5. Invocation command line was1445 generated by GNU Autoconf 2.61. Invocation command line was 1884 1446 1885 1447 $ $0 $@ … … 1917 1479 IFS=$as_save_IFS 1918 1480 test -z "$as_dir" && as_dir=. 1919 $as_echo "PATH: $as_dir"1920 1481 echo "PATH: $as_dir" 1482 done 1921 1483 IFS=$as_save_IFS 1922 1484 … … 1952 1514 continue ;; 1953 1515 *\'*) 1954 ac_arg=` $as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1516 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1955 1517 esac 1956 1518 case $ac_pass in 1957 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1519 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1958 1520 2) 1959 a s_fn_append ac_configure_args1 "'$ac_arg'"1521 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1960 1522 if test $ac_must_keep_next = true; then 1961 1523 ac_must_keep_next=false # Got value, back to normal. … … 1973 1535 esac 1974 1536 fi 1975 a s_fn_append ac_configure_args "'$ac_arg'"1537 ac_configure_args="$ac_configure_args '$ac_arg'" 1976 1538 ;; 1977 1539 esac 1978 1540 done 1979 1541 done 1980 { ac_configure_args0=; unset ac_configure_args0;}1981 { ac_configure_args1=; unset ac_configure_args1;}1542 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1543 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1982 1544 1983 1545 # When interrupted or exit'd, cleanup temporary files, and complete … … 2004 1566 *${as_nl}*) 2005 1567 case $ac_var in #( 2006 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&52007 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;1568 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1569 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 2008 1570 esac 2009 1571 case $ac_var in #( 2010 1572 _ | IFS | as_nl) ;; #( 2011 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2012 *) { eval $ac_var=; unset $ac_var;} ;; 1573 *) $as_unset $ac_var ;; 2013 1574 esac ;; 2014 1575 esac … … 2039 1600 eval ac_val=\$$ac_var 2040 1601 case $ac_val in 2041 *\'\''*) ac_val=` $as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1602 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2042 1603 esac 2043 $as_echo "$ac_var='\''$ac_val'\''"1604 echo "$ac_var='\''$ac_val'\''" 2044 1605 done | sort 2045 1606 echo … … 2056 1617 eval ac_val=\$$ac_var 2057 1618 case $ac_val in 2058 *\'\''*) ac_val=` $as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1619 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2059 1620 esac 2060 $as_echo "$ac_var='\''$ac_val'\''"1621 echo "$ac_var='\''$ac_val'\''" 2061 1622 done | sort 2062 1623 echo … … 2074 1635 fi 2075 1636 test "$ac_signal" != 0 && 2076 $as_echo "$as_me: caught signal $ac_signal"2077 $as_echo "$as_me: exit $exit_status"1637 echo "$as_me: caught signal $ac_signal" 1638 echo "$as_me: exit $exit_status" 2078 1639 } >&5 2079 1640 rm -f core *.core core.conftest.* && … … 2082 1643 ' 0 2083 1644 for ac_signal in 1 2 13 15; do 2084 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1645 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2085 1646 done 2086 1647 ac_signal=0 … … 2089 1650 rm -f -r conftest* confdefs.h 2090 1651 2091 $as_echo "/* confdefs.h */" > confdefs.h2092 2093 1652 # Predefined preprocessor variables. 2094 1653 … … 2097 1656 _ACEOF 2098 1657 1658 2099 1659 cat >>confdefs.h <<_ACEOF 2100 1660 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2101 1661 _ACEOF 2102 1662 1663 2103 1664 cat >>confdefs.h <<_ACEOF 2104 1665 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2105 1666 _ACEOF 2106 1667 1668 2107 1669 cat >>confdefs.h <<_ACEOF 2108 1670 #define PACKAGE_STRING "$PACKAGE_STRING" 2109 1671 _ACEOF 2110 1672 1673 2111 1674 cat >>confdefs.h <<_ACEOF 2112 1675 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2113 1676 _ACEOF 2114 1677 2115 cat >>confdefs.h <<_ACEOF2116 #define PACKAGE_URL "$PACKAGE_URL"2117 _ACEOF2118 2119 1678 2120 1679 # Let the site file select an alternate cache file if it wants to. 2121 # Prefer an explicitly selected file to automatically selected ones. 2122 ac_site_file1=NONE 2123 ac_site_file2=NONE 1680 # Prefer explicitly selected file to automatically selected ones. 2124 1681 if test -n "$CONFIG_SITE"; then 2125 ac_site_file1=$CONFIG_SITE1682 set x "$CONFIG_SITE" 2126 1683 elif test "x$prefix" != xNONE; then 2127 ac_site_file1=$prefix/share/config.site2128 ac_site_file2=$prefix/etc/config.site2129 else 2130 ac_site_file1=$ac_default_prefix/share/config.site 2131 ac_site_file2=$ac_default_prefix/etc/config.site 2132 fi 2133 for ac_site_file in "$ac_site_file1" "$ac_site_file2"1684 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1685 else 1686 set x "$ac_default_prefix/share/config.site" \ 1687 "$ac_default_prefix/etc/config.site" 1688 fi 1689 shift 1690 for ac_site_file 2134 1691 do 2135 test "x$ac_site_file" = xNONE && continue 2136 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2137 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2138 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1692 if test -r "$ac_site_file"; then 1693 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1694 echo "$as_me: loading site script $ac_site_file" >&6;} 2139 1695 sed 's/^/| /' "$ac_site_file" >&5 2140 1696 . "$ac_site_file" … … 2143 1699 2144 1700 if test -r "$cache_file"; then 2145 # Some versions of bash will fail to source /dev/null (special files2146 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2147 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2148 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&52149 $as_echo "$as_me: loading cache $cache_file" >&6;}1701 # Some versions of bash will fail to source /dev/null (special 1702 # files actually), so we avoid doing that. 1703 if test -f "$cache_file"; then 1704 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1705 echo "$as_me: loading cache $cache_file" >&6;} 2150 1706 case $cache_file in 2151 1707 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 2154 1710 fi 2155 1711 else 2156 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&52157 $as_echo "$as_me: creating cache $cache_file" >&6;}1712 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1713 echo "$as_me: creating cache $cache_file" >&6;} 2158 1714 >$cache_file 2159 1715 fi … … 2169 1725 case $ac_old_set,$ac_new_set in 2170 1726 set,) 2171 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52172 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1727 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1728 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2173 1729 ac_cache_corrupted=: ;; 2174 1730 ,set) 2175 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&52176 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1731 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1732 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2177 1733 ac_cache_corrupted=: ;; 2178 1734 ,);; 2179 1735 *) 2180 1736 if test "x$ac_old_val" != "x$ac_new_val"; then 2181 # differences in whitespace do not lead to failure. 2182 ac_old_val_w=`echo x $ac_old_val` 2183 ac_new_val_w=`echo x $ac_new_val` 2184 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2185 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2186 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2187 ac_cache_corrupted=: 2188 else 2189 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2190 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2191 eval $ac_var=\$ac_old_val 2192 fi 2193 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2194 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2195 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2196 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1737 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1738 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1739 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1740 echo "$as_me: former value: $ac_old_val" >&2;} 1741 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1742 echo "$as_me: current value: $ac_new_val" >&2;} 1743 ac_cache_corrupted=: 2197 1744 fi;; 2198 1745 esac … … 2200 1747 if test "$ac_new_set" = set; then 2201 1748 case $ac_new_val in 2202 *\'*) ac_arg=$ac_var=` $as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;1749 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2203 1750 *) ac_arg=$ac_var=$ac_new_val ;; 2204 1751 esac 2205 1752 case " $ac_configure_args " in 2206 1753 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2207 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1754 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2208 1755 esac 2209 1756 fi 2210 1757 done 2211 1758 if $ac_cache_corrupted; then 2212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2215 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2216 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2217 fi 2218 ## -------------------- ## 2219 ## Main body of script. ## 2220 ## -------------------- ## 1759 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1760 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1761 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1762 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1763 { (exit 1); exit 1; }; } 1764 fi 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 2221 1789 2222 1790 ac_ext=c … … 2232 1800 ac_aux_dir= 2233 1801 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2234 for ac_t in install-sh install.sh shtool; do 2235 if test -f "$ac_dir/$ac_t"; then 2236 ac_aux_dir=$ac_dir 2237 ac_install_sh="$ac_aux_dir/$ac_t -c" 2238 break 2 2239 fi 2240 done 1802 if test -f "$ac_dir/install-sh"; then 1803 ac_aux_dir=$ac_dir 1804 ac_install_sh="$ac_aux_dir/install-sh -c" 1805 break 1806 elif test -f "$ac_dir/install.sh"; then 1807 ac_aux_dir=$ac_dir 1808 ac_install_sh="$ac_aux_dir/install.sh -c" 1809 break 1810 elif test -f "$ac_dir/shtool"; then 1811 ac_aux_dir=$ac_dir 1812 ac_install_sh="$ac_aux_dir/shtool install -c" 1813 break 1814 fi 2241 1815 done 2242 1816 if test -z "$ac_aux_dir"; then 2243 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1817 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1818 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1819 { (exit 1); exit 1; }; } 2244 1820 fi 2245 1821 … … 2255 1831 # Make sure we can run config.sub. 2256 1832 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2257 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2258 2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2260 $as_echo_n "checking build system type... " >&6; } 2261 if test "${ac_cv_build+set}" = set; then : 2262 $as_echo_n "(cached) " >&6 1833 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1834 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1835 { (exit 1); exit 1; }; } 1836 1837 { echo "$as_me:$LINENO: checking build system type" >&5 1838 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1839 if test "${ac_cv_build+set}" = set; then 1840 echo $ECHO_N "(cached) $ECHO_C" >&6 2263 1841 else 2264 1842 ac_build_alias=$build_alias … … 2266 1844 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2267 1845 test "x$ac_build_alias" = x && 2268 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1846 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1847 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1848 { (exit 1); exit 1; }; } 2269 1849 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2270 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2271 2272 fi 2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2274 $as_echo "$ac_cv_build" >&6; } 1850 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1851 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1852 { (exit 1); exit 1; }; } 1853 1854 fi 1855 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1856 echo "${ECHO_T}$ac_cv_build" >&6; } 2275 1857 case $ac_cv_build in 2276 1858 *-*-*) ;; 2277 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1859 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1860 echo "$as_me: error: invalid value of canonical build" >&2;} 1861 { (exit 1); exit 1; }; };; 2278 1862 esac 2279 1863 build=$ac_cv_build … … 2291 1875 2292 1876 2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&52294 $as_echo_n "checking host system type..." >&6; }2295 if test "${ac_cv_host+set}" = set; then :2296 $as_echo_n "(cached)" >&61877 { echo "$as_me:$LINENO: checking host system type" >&5 1878 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1879 if test "${ac_cv_host+set}" = set; then 1880 echo $ECHO_N "(cached) $ECHO_C" >&6 2297 1881 else 2298 1882 if test "x$host_alias" = x; then … … 2300 1884 else 2301 1885 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2302 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2303 fi 2304 2305 fi 2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2307 $as_echo "$ac_cv_host" >&6; } 1886 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1887 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1888 { (exit 1); exit 1; }; } 1889 fi 1890 1891 fi 1892 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1893 echo "${ECHO_T}$ac_cv_host" >&6; } 2308 1894 case $ac_cv_host in 2309 1895 *-*-*) ;; 2310 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1896 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1897 echo "$as_me: error: invalid value of canonical host" >&2;} 1898 { (exit 1); exit 1; }; };; 2311 1899 esac 2312 1900 host=$ac_cv_host … … 2324 1912 2325 1913 2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&52327 $as_echo_n "checking target system type..." >&6; }2328 if test "${ac_cv_target+set}" = set; then :2329 $as_echo_n "(cached)" >&61914 { echo "$as_me:$LINENO: checking target system type" >&5 1915 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 1916 if test "${ac_cv_target+set}" = set; then 1917 echo $ECHO_N "(cached) $ECHO_C" >&6 2330 1918 else 2331 1919 if test "x$target_alias" = x; then … … 2333 1921 else 2334 1922 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2335 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2336 fi 2337 2338 fi 2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2340 $as_echo "$ac_cv_target" >&6; } 1923 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1924 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1925 { (exit 1); exit 1; }; } 1926 fi 1927 1928 fi 1929 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1930 echo "${ECHO_T}$ac_cv_target" >&6; } 2341 1931 case $ac_cv_target in 2342 1932 *-*-*) ;; 2343 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 1933 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1934 echo "$as_me: error: invalid value of canonical target" >&2;} 1935 { (exit 1); exit 1; }; };; 2344 1936 esac 2345 1937 target=$ac_cv_target … … 2385 1977 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2386 1978 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52388 $as_echo_n "checking for $ac_word..." >&6; }2389 if test "${ac_cv_prog_CC+set}" = set; then :2390 $as_echo_n "(cached)" >&61979 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1981 if test "${ac_cv_prog_CC+set}" = set; then 1982 echo $ECHO_N "(cached) $ECHO_C" >&6 2391 1983 else 2392 1984 if test -n "$CC"; then … … 2398 1990 IFS=$as_save_IFS 2399 1991 test -z "$as_dir" && as_dir=. 2400 1992 for ac_exec_ext in '' $ac_executable_extensions; do 2401 1993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2402 1994 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&51995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2404 1996 break 2 2405 1997 fi 2406 1998 done 2407 1999 done 2408 2000 IFS=$as_save_IFS 2409 2001 … … 2412 2004 CC=$ac_cv_prog_CC 2413 2005 if test -n "$CC"; then 2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52415 $as_echo "$CC" >&6; }2416 else 2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52418 $as_echo "no" >&6; }2006 { echo "$as_me:$LINENO: result: $CC" >&5 2007 echo "${ECHO_T}$CC" >&6; } 2008 else 2009 { echo "$as_me:$LINENO: result: no" >&5 2010 echo "${ECHO_T}no" >&6; } 2419 2011 fi 2420 2012 … … 2425 2017 # Extract the first word of "gcc", so it can be a program name with args. 2426 2018 set dummy gcc; ac_word=$2 2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52428 $as_echo_n "checking for $ac_word..." >&6; }2429 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2430 $as_echo_n "(cached)" >&62019 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2021 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2022 echo $ECHO_N "(cached) $ECHO_C" >&6 2431 2023 else 2432 2024 if test -n "$ac_ct_CC"; then … … 2438 2030 IFS=$as_save_IFS 2439 2031 test -z "$as_dir" && as_dir=. 2440 2032 for ac_exec_ext in '' $ac_executable_extensions; do 2441 2033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2442 2034 ac_cv_prog_ac_ct_CC="gcc" 2443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2444 2036 break 2 2445 2037 fi 2446 2038 done 2447 2039 done 2448 2040 IFS=$as_save_IFS 2449 2041 … … 2452 2044 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2453 2045 if test -n "$ac_ct_CC"; then 2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&52455 $as_echo "$ac_ct_CC" >&6; }2456 else 2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52458 $as_echo "no" >&6; }2046 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2047 echo "${ECHO_T}$ac_ct_CC" >&6; } 2048 else 2049 { echo "$as_me:$LINENO: result: no" >&5 2050 echo "${ECHO_T}no" >&6; } 2459 2051 fi 2460 2052 … … 2464 2056 case $cross_compiling:$ac_tool_warned in 2465 2057 yes:) 2466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2058 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2059 whose name does not start with the host triplet. If you think this 2060 configuration is useful to you, please write to autoconf@gnu.org." >&5 2061 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2062 whose name does not start with the host triplet. If you think this 2063 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2468 2064 ac_tool_warned=yes ;; 2469 2065 esac … … 2478 2074 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2479 2075 set dummy ${ac_tool_prefix}cc; ac_word=$2 2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52481 $as_echo_n "checking for $ac_word..." >&6; }2482 if test "${ac_cv_prog_CC+set}" = set; then :2483 $as_echo_n "(cached)" >&62076 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2078 if test "${ac_cv_prog_CC+set}" = set; then 2079 echo $ECHO_N "(cached) $ECHO_C" >&6 2484 2080 else 2485 2081 if test -n "$CC"; then … … 2491 2087 IFS=$as_save_IFS 2492 2088 test -z "$as_dir" && as_dir=. 2493 2089 for ac_exec_ext in '' $ac_executable_extensions; do 2494 2090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2495 2091 ac_cv_prog_CC="${ac_tool_prefix}cc" 2496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2497 2093 break 2 2498 2094 fi 2499 2095 done 2500 2096 done 2501 2097 IFS=$as_save_IFS 2502 2098 … … 2505 2101 CC=$ac_cv_prog_CC 2506 2102 if test -n "$CC"; then 2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52508 $as_echo "$CC" >&6; }2509 else 2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52511 $as_echo "no" >&6; }2103 { echo "$as_me:$LINENO: result: $CC" >&5 2104 echo "${ECHO_T}$CC" >&6; } 2105 else 2106 { echo "$as_me:$LINENO: result: no" >&5 2107 echo "${ECHO_T}no" >&6; } 2512 2108 fi 2513 2109 … … 2518 2114 # Extract the first word of "cc", so it can be a program name with args. 2519 2115 set dummy cc; ac_word=$2 2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52521 $as_echo_n "checking for $ac_word..." >&6; }2522 if test "${ac_cv_prog_CC+set}" = set; then :2523 $as_echo_n "(cached)" >&62116 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2118 if test "${ac_cv_prog_CC+set}" = set; then 2119 echo $ECHO_N "(cached) $ECHO_C" >&6 2524 2120 else 2525 2121 if test -n "$CC"; then … … 2532 2128 IFS=$as_save_IFS 2533 2129 test -z "$as_dir" && as_dir=. 2534 2130 for ac_exec_ext in '' $ac_executable_extensions; do 2535 2131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2536 2132 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2539 2135 fi 2540 2136 ac_cv_prog_CC="cc" 2541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2542 2138 break 2 2543 2139 fi 2544 2140 done 2545 2141 done 2546 2142 IFS=$as_save_IFS 2547 2143 … … 2562 2158 CC=$ac_cv_prog_CC 2563 2159 if test -n "$CC"; then 2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52565 $as_echo "$CC" >&6; }2566 else 2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52568 $as_echo "no" >&6; }2160 { echo "$as_me:$LINENO: result: $CC" >&5 2161 echo "${ECHO_T}$CC" >&6; } 2162 else 2163 { echo "$as_me:$LINENO: result: no" >&5 2164 echo "${ECHO_T}no" >&6; } 2569 2165 fi 2570 2166 … … 2577 2173 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2578 2174 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52580 $as_echo_n "checking for $ac_word..." >&6; }2581 if test "${ac_cv_prog_CC+set}" = set; then :2582 $as_echo_n "(cached)" >&62175 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2177 if test "${ac_cv_prog_CC+set}" = set; then 2178 echo $ECHO_N "(cached) $ECHO_C" >&6 2583 2179 else 2584 2180 if test -n "$CC"; then … … 2590 2186 IFS=$as_save_IFS 2591 2187 test -z "$as_dir" && as_dir=. 2592 2188 for ac_exec_ext in '' $ac_executable_extensions; do 2593 2189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2594 2190 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2596 2192 break 2 2597 2193 fi 2598 2194 done 2599 2195 done 2600 2196 IFS=$as_save_IFS 2601 2197 … … 2604 2200 CC=$ac_cv_prog_CC 2605 2201 if test -n "$CC"; then 2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52607 $as_echo "$CC" >&6; }2608 else 2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52610 $as_echo "no" >&6; }2202 { echo "$as_me:$LINENO: result: $CC" >&5 2203 echo "${ECHO_T}$CC" >&6; } 2204 else 2205 { echo "$as_me:$LINENO: result: no" >&5 2206 echo "${ECHO_T}no" >&6; } 2611 2207 fi 2612 2208 … … 2621 2217 # Extract the first word of "$ac_prog", so it can be a program name with args. 2622 2218 set dummy $ac_prog; ac_word=$2 2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52624 $as_echo_n "checking for $ac_word..." >&6; }2625 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2626 $as_echo_n "(cached)" >&62219 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2221 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2222 echo $ECHO_N "(cached) $ECHO_C" >&6 2627 2223 else 2628 2224 if test -n "$ac_ct_CC"; then … … 2634 2230 IFS=$as_save_IFS 2635 2231 test -z "$as_dir" && as_dir=. 2636 2232 for ac_exec_ext in '' $ac_executable_extensions; do 2637 2233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2638 2234 ac_cv_prog_ac_ct_CC="$ac_prog" 2639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2640 2236 break 2 2641 2237 fi 2642 2238 done 2643 2239 done 2644 2240 IFS=$as_save_IFS 2645 2241 … … 2648 2244 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2649 2245 if test -n "$ac_ct_CC"; then 2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&52651 $as_echo "$ac_ct_CC" >&6; }2652 else 2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52654 $as_echo "no" >&6; }2246 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2247 echo "${ECHO_T}$ac_ct_CC" >&6; } 2248 else 2249 { echo "$as_me:$LINENO: result: no" >&5 2250 echo "${ECHO_T}no" >&6; } 2655 2251 fi 2656 2252 … … 2664 2260 case $cross_compiling:$ac_tool_warned in 2665 2261 yes:) 2666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2262 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2263 whose name does not start with the host triplet. If you think this 2264 configuration is useful to you, please write to autoconf@gnu.org." >&5 2265 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2266 whose name does not start with the host triplet. If you think this 2267 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2668 2268 ac_tool_warned=yes ;; 2669 2269 esac … … 2675 2275 2676 2276 2677 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2679 as_fn_error "no acceptable C compiler found in \$PATH 2680 See \`config.log' for more details." "$LINENO" 5; } 2277 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2278 See \`config.log' for more details." >&5 2279 echo "$as_me: error: no acceptable C compiler found in \$PATH 2280 See \`config.log' for more details." >&2;} 2281 { (exit 1); exit 1; }; } 2681 2282 2682 2283 # Provide some information about the compiler. 2683 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2684 set X $ac_compile 2685 ac_compiler=$2 2686 for ac_option in --version -v -V -qversion; do 2687 { { ac_try="$ac_compiler $ac_option >&5" 2688 case "(($ac_try" in 2689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2690 *) ac_try_echo=$ac_try;; 2691 esac 2692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2693 $as_echo "$ac_try_echo"; } >&5 2694 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2695 ac_status=$? 2696 if test -s conftest.err; then 2697 sed '10a\ 2698 ... rest of stderr output deleted ... 2699 10q' conftest.err >conftest.er1 2700 cat conftest.er1 >&5 2701 fi 2702 rm -f conftest.er1 conftest.err 2703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2704 test $ac_status = 0; } 2705 done 2706 2707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2284 echo "$as_me:$LINENO: checking for C compiler version" >&5 2285 ac_compiler=`set X $ac_compile; echo $2` 2286 { (ac_try="$ac_compiler --version >&5" 2287 case "(($ac_try" in 2288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2289 *) ac_try_echo=$ac_try;; 2290 esac 2291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2292 (eval "$ac_compiler --version >&5") 2>&5 2293 ac_status=$? 2294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2295 (exit $ac_status); } 2296 { (ac_try="$ac_compiler -v >&5" 2297 case "(($ac_try" in 2298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2299 *) ac_try_echo=$ac_try;; 2300 esac 2301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2302 (eval "$ac_compiler -v >&5") 2>&5 2303 ac_status=$? 2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2305 (exit $ac_status); } 2306 { (ac_try="$ac_compiler -V >&5" 2307 case "(($ac_try" in 2308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2309 *) ac_try_echo=$ac_try;; 2310 esac 2311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2312 (eval "$ac_compiler -V >&5") 2>&5 2313 ac_status=$? 2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2315 (exit $ac_status); } 2316 2317 cat >conftest.$ac_ext <<_ACEOF 2318 /* confdefs.h. */ 2319 _ACEOF 2320 cat confdefs.h >>conftest.$ac_ext 2321 cat >>conftest.$ac_ext <<_ACEOF 2708 2322 /* end confdefs.h. */ 2709 2323 … … 2717 2331 _ACEOF 2718 2332 ac_clean_files_save=$ac_clean_files 2719 ac_clean_files="$ac_clean_files a.out a. out.dSYM a.exe b.out"2333 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2720 2334 # Try to create an executable without -o first, disregard a.out. 2721 2335 # It will help us diagnose broken compilers, and finding out an intuition 2722 2336 # of exeext. 2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2724 $as_echo_n "checking whether the C compiler works... " >&6; } 2725 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2726 2727 # The possible output files: 2728 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2729 2337 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2338 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2339 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2340 # 2341 # List of possible output files, starting from the most likely. 2342 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2343 # only as a last resort. b.out is created by i960 compilers. 2344 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2345 # 2346 # The IRIX 6 linker writes into existing files which may not be 2347 # executable, retaining their permissions. Remove them first so a 2348 # subsequent execution test works. 2730 2349 ac_rmfiles= 2731 2350 for ac_file in $ac_files 2732 2351 do 2733 2352 case $ac_file in 2734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj ) ;;2353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2735 2354 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2736 2355 esac … … 2738 2357 rm -f $ac_rmfiles 2739 2358 2740 if { { ac_try="$ac_link_default" 2741 case "(($ac_try" in 2742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2743 *) ac_try_echo=$ac_try;; 2744 esac 2745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2746 $as_echo "$ac_try_echo"; } >&5 2359 if { (ac_try="$ac_link_default" 2360 case "(($ac_try" in 2361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2362 *) ac_try_echo=$ac_try;; 2363 esac 2364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2747 2365 (eval "$ac_link_default") 2>&5 2748 2366 ac_status=$? 2749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52750 test $ac_status = 0; }; then :2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2368 (exit $ac_status); }; then 2751 2369 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2752 2370 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2758 2376 test -f "$ac_file" || continue 2759 2377 case $ac_file in 2760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj )2378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2761 2379 ;; 2762 2380 [ab].out ) … … 2765 2383 break;; 2766 2384 *.* ) 2767 2385 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2768 2386 then :; else 2769 2387 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2784 2402 ac_file='' 2785 2403 fi 2786 if test -z "$ac_file"; then : 2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2788 $as_echo "no" >&6; } 2789 $as_echo "$as_me: failed program was:" >&5 2404 2405 { echo "$as_me:$LINENO: result: $ac_file" >&5 2406 echo "${ECHO_T}$ac_file" >&6; } 2407 if test -z "$ac_file"; then 2408 echo "$as_me: failed program was:" >&5 2790 2409 sed 's/^/| /' conftest.$ac_ext >&5 2791 2410 2792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2794 { as_fn_set_status 77 2795 as_fn_error "C compiler cannot create executables 2796 See \`config.log' for more details." "$LINENO" 5; }; } 2797 else 2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2799 $as_echo "yes" >&6; } 2800 fi 2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2802 $as_echo_n "checking for C compiler default output file name... " >&6; } 2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2804 $as_echo "$ac_file" >&6; } 2411 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2412 See \`config.log' for more details." >&5 2413 echo "$as_me: error: C compiler cannot create executables 2414 See \`config.log' for more details." >&2;} 2415 { (exit 77); exit 77; }; } 2416 fi 2417 2805 2418 ac_exeext=$ac_cv_exeext 2806 2419 2807 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2420 # Check that the compiler produces executables we can run. If not, either 2421 # the compiler is broken, or we cross compile. 2422 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2423 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2424 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2425 # If not cross compiling, check that we can run a simple program. 2426 if test "$cross_compiling" != yes; then 2427 if { ac_try='./$ac_file' 2428 { (case "(($ac_try" in 2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2430 *) ac_try_echo=$ac_try;; 2431 esac 2432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2433 (eval "$ac_try") 2>&5 2434 ac_status=$? 2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2436 (exit $ac_status); }; }; then 2437 cross_compiling=no 2438 else 2439 if test "$cross_compiling" = maybe; then 2440 cross_compiling=yes 2441 else 2442 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2443 If you meant to cross compile, use \`--host'. 2444 See \`config.log' for more details." >&5 2445 echo "$as_me: error: cannot run C compiled programs. 2446 If you meant to cross compile, use \`--host'. 2447 See \`config.log' for more details." >&2;} 2448 { (exit 1); exit 1; }; } 2449 fi 2450 fi 2451 fi 2452 { echo "$as_me:$LINENO: result: yes" >&5 2453 echo "${ECHO_T}yes" >&6; } 2454 2455 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2808 2456 ac_clean_files=$ac_clean_files_save 2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2810 $as_echo_n "checking for suffix of executables... " >&6; } 2811 if { { ac_try="$ac_link" 2812 case "(($ac_try" in 2813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2814 *) ac_try_echo=$ac_try;; 2815 esac 2816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2817 $as_echo "$ac_try_echo"; } >&5 2457 # Check that the compiler produces executables we can run. If not, either 2458 # the compiler is broken, or we cross compile. 2459 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2460 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2461 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2462 echo "${ECHO_T}$cross_compiling" >&6; } 2463 2464 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2465 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2466 if { (ac_try="$ac_link" 2467 case "(($ac_try" in 2468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2469 *) ac_try_echo=$ac_try;; 2470 esac 2471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2818 2472 (eval "$ac_link") 2>&5 2819 2473 ac_status=$? 2820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52821 test $ac_status = 0; }; then :2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2475 (exit $ac_status); }; then 2822 2476 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2823 2477 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2827 2481 test -f "$ac_file" || continue 2828 2482 case $ac_file in 2829 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj ) ;;2483 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2830 2484 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2831 2485 break;; … … 2834 2488 done 2835 2489 else 2836 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2838 as_fn_error "cannot compute suffix of executables: cannot compile and link 2839 See \`config.log' for more details." "$LINENO" 5; } 2840 fi 2841 rm -f conftest conftest$ac_cv_exeext 2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2843 $as_echo "$ac_cv_exeext" >&6; } 2490 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2491 See \`config.log' for more details." >&5 2492 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2493 See \`config.log' for more details." >&2;} 2494 { (exit 1); exit 1; }; } 2495 fi 2496 2497 rm -f conftest$ac_cv_exeext 2498 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2499 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2844 2500 2845 2501 rm -f conftest.$ac_ext 2846 2502 EXEEXT=$ac_cv_exeext 2847 2503 ac_exeext=$EXEEXT 2848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2849 /* end confdefs.h. */ 2850 #include <stdio.h> 2504 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2505 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2506 if test "${ac_cv_objext+set}" = set; then 2507 echo $ECHO_N "(cached) $ECHO_C" >&6 2508 else 2509 cat >conftest.$ac_ext <<_ACEOF 2510 /* confdefs.h. */ 2511 _ACEOF 2512 cat confdefs.h >>conftest.$ac_ext 2513 cat >>conftest.$ac_ext <<_ACEOF 2514 /* end confdefs.h. */ 2515 2851 2516 int 2852 2517 main () 2853 2518 { 2854 FILE *f = fopen ("conftest.out", "w");2855 return ferror (f) || fclose (f) != 0;2856 2519 2857 2520 ; … … 2859 2522 } 2860 2523 _ACEOF 2861 ac_clean_files="$ac_clean_files conftest.out"2862 # Check that the compiler produces executables we can run. If not, either2863 # the compiler is broken, or we cross compile.2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&52865 $as_echo_n "checking whether we are cross compiling... " >&6; }2866 if test "$cross_compiling" != yes; then2867 { { ac_try="$ac_link"2868 case "(($ac_try" in2869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2870 *) ac_try_echo=$ac_try;;2871 esac2872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2873 $as_echo "$ac_try_echo"; } >&52874 (eval "$ac_link") 2>&52875 ac_status=$?2876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52877 test $ac_status = 0; }2878 if { ac_try='./conftest$ac_cv_exeext'2879 { { case "(($ac_try" in2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2881 *) ac_try_echo=$ac_try;;2882 esac2883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2884 $as_echo "$ac_try_echo"; } >&52885 (eval "$ac_try") 2>&52886 ac_status=$?2887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52888 test $ac_status = 0; }; }; then2889 cross_compiling=no2890 else2891 if test "$cross_compiling" = maybe; then2892 cross_compiling=yes2893 else2894 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2896 as_fn_error "cannot run C compiled programs.2897 If you meant to cross compile, use \`--host'.2898 See \`config.log' for more details." "$LINENO" 5; }2899 fi2900 fi2901 fi2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&52903 $as_echo "$cross_compiling" >&6; }2904 2905 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out2906 ac_clean_files=$ac_clean_files_save2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&52908 $as_echo_n "checking for suffix of object files... " >&6; }2909 if test "${ac_cv_objext+set}" = set; then :2910 $as_echo_n "(cached) " >&62911 else2912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2913 /* end confdefs.h. */2914 2915 int2916 main ()2917 {2918 2919 ;2920 return 0;2921 }2922 _ACEOF2923 2524 rm -f conftest.o conftest.obj 2924 if { { ac_try="$ac_compile" 2925 case "(($ac_try" in 2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2927 *) ac_try_echo=$ac_try;; 2928 esac 2929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2930 $as_echo "$ac_try_echo"; } >&5 2525 if { (ac_try="$ac_compile" 2526 case "(($ac_try" in 2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2528 *) ac_try_echo=$ac_try;; 2529 esac 2530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2931 2531 (eval "$ac_compile") 2>&5 2932 2532 ac_status=$? 2933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52934 test $ac_status = 0; }; then :2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2534 (exit $ac_status); }; then 2935 2535 for ac_file in conftest.o conftest.obj conftest.*; do 2936 2536 test -f "$ac_file" || continue; 2937 2537 case $ac_file in 2938 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM) ;;2538 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2939 2539 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2940 2540 break;; … … 2942 2542 done 2943 2543 else 2944 $as_echo "$as_me: failed program was:" >&52544 echo "$as_me: failed program was:" >&5 2945 2545 sed 's/^/| /' conftest.$ac_ext >&5 2946 2546 2947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2949 as_fn_error "cannot compute suffix of object files: cannot compile 2950 See \`config.log' for more details." "$LINENO" 5; } 2951 fi 2547 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2548 See \`config.log' for more details." >&5 2549 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2550 See \`config.log' for more details." >&2;} 2551 { (exit 1); exit 1; }; } 2552 fi 2553 2952 2554 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2953 2555 fi 2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&52955 $as_echo "$ac_cv_objext" >&6; }2556 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2557 echo "${ECHO_T}$ac_cv_objext" >&6; } 2956 2558 OBJEXT=$ac_cv_objext 2957 2559 ac_objext=$OBJEXT 2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2959 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2960 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2961 $as_echo_n "(cached) " >&6 2962 else 2963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2560 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2561 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2562 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2563 echo $ECHO_N "(cached) $ECHO_C" >&6 2564 else 2565 cat >conftest.$ac_ext <<_ACEOF 2566 /* confdefs.h. */ 2567 _ACEOF 2568 cat confdefs.h >>conftest.$ac_ext 2569 cat >>conftest.$ac_ext <<_ACEOF 2964 2570 /* end confdefs.h. */ 2965 2571 … … 2975 2581 } 2976 2582 _ACEOF 2977 if ac_fn_c_try_compile "$LINENO"; then : 2583 rm -f conftest.$ac_objext 2584 if { (ac_try="$ac_compile" 2585 case "(($ac_try" in 2586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2587 *) ac_try_echo=$ac_try;; 2588 esac 2589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2590 (eval "$ac_compile") 2>conftest.er1 2591 ac_status=$? 2592 grep -v '^ *+' conftest.er1 >conftest.err 2593 rm -f conftest.er1 2594 cat conftest.err >&5 2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2596 (exit $ac_status); } && { 2597 test -z "$ac_c_werror_flag" || 2598 test ! -s conftest.err 2599 } && test -s conftest.$ac_objext; then 2978 2600 ac_compiler_gnu=yes 2979 2601 else 2980 ac_compiler_gnu=no 2981 fi 2602 echo "$as_me: failed program was:" >&5 2603 sed 's/^/| /' conftest.$ac_ext >&5 2604 2605 ac_compiler_gnu=no 2606 fi 2607 2982 2608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2983 2609 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2984 2610 2985 2611 fi 2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2987 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2988 if test $ac_compiler_gnu = yes; then 2989 GCC=yes 2990 else 2991 GCC= 2992 fi 2612 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2613 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2614 GCC=`test $ac_compiler_gnu = yes && echo yes` 2993 2615 ac_test_CFLAGS=${CFLAGS+set} 2994 2616 ac_save_CFLAGS=$CFLAGS 2995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&52996 $as_echo_n "checking whether $CC accepts -g..." >&6; }2997 if test "${ac_cv_prog_cc_g+set}" = set; then :2998 $as_echo_n "(cached)" >&62617 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2618 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2619 if test "${ac_cv_prog_cc_g+set}" = set; then 2620 echo $ECHO_N "(cached) $ECHO_C" >&6 2999 2621 else 3000 2622 ac_save_c_werror_flag=$ac_c_werror_flag … … 3002 2624 ac_cv_prog_cc_g=no 3003 2625 CFLAGS="-g" 3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2626 cat >conftest.$ac_ext <<_ACEOF 2627 /* confdefs.h. */ 2628 _ACEOF 2629 cat confdefs.h >>conftest.$ac_ext 2630 cat >>conftest.$ac_ext <<_ACEOF 3005 2631 /* end confdefs.h. */ 3006 2632 … … 3013 2639 } 3014 2640 _ACEOF 3015 if ac_fn_c_try_compile "$LINENO"; then : 2641 rm -f conftest.$ac_objext 2642 if { (ac_try="$ac_compile" 2643 case "(($ac_try" in 2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2645 *) ac_try_echo=$ac_try;; 2646 esac 2647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2648 (eval "$ac_compile") 2>conftest.er1 2649 ac_status=$? 2650 grep -v '^ *+' conftest.er1 >conftest.err 2651 rm -f conftest.er1 2652 cat conftest.err >&5 2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2654 (exit $ac_status); } && { 2655 test -z "$ac_c_werror_flag" || 2656 test ! -s conftest.err 2657 } && test -s conftest.$ac_objext; then 3016 2658 ac_cv_prog_cc_g=yes 3017 2659 else 3018 CFLAGS="" 3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2660 echo "$as_me: failed program was:" >&5 2661 sed 's/^/| /' conftest.$ac_ext >&5 2662 2663 CFLAGS="" 2664 cat >conftest.$ac_ext <<_ACEOF 2665 /* confdefs.h. */ 2666 _ACEOF 2667 cat confdefs.h >>conftest.$ac_ext 2668 cat >>conftest.$ac_ext <<_ACEOF 3020 2669 /* end confdefs.h. */ 3021 2670 … … 3028 2677 } 3029 2678 _ACEOF 3030 if ac_fn_c_try_compile "$LINENO"; then : 3031 3032 else 3033 ac_c_werror_flag=$ac_save_c_werror_flag 2679 rm -f conftest.$ac_objext 2680 if { (ac_try="$ac_compile" 2681 case "(($ac_try" in 2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2683 *) ac_try_echo=$ac_try;; 2684 esac 2685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2686 (eval "$ac_compile") 2>conftest.er1 2687 ac_status=$? 2688 grep -v '^ *+' conftest.er1 >conftest.err 2689 rm -f conftest.er1 2690 cat conftest.err >&5 2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2692 (exit $ac_status); } && { 2693 test -z "$ac_c_werror_flag" || 2694 test ! -s conftest.err 2695 } && test -s conftest.$ac_objext; then 2696 : 2697 else 2698 echo "$as_me: failed program was:" >&5 2699 sed 's/^/| /' conftest.$ac_ext >&5 2700 2701 ac_c_werror_flag=$ac_save_c_werror_flag 3034 2702 CFLAGS="-g" 3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2703 cat >conftest.$ac_ext <<_ACEOF 2704 /* confdefs.h. */ 2705 _ACEOF 2706 cat confdefs.h >>conftest.$ac_ext 2707 cat >>conftest.$ac_ext <<_ACEOF 3036 2708 /* end confdefs.h. */ 3037 2709 … … 3044 2716 } 3045 2717 _ACEOF 3046 if ac_fn_c_try_compile "$LINENO"; then : 2718 rm -f conftest.$ac_objext 2719 if { (ac_try="$ac_compile" 2720 case "(($ac_try" in 2721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2722 *) ac_try_echo=$ac_try;; 2723 esac 2724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2725 (eval "$ac_compile") 2>conftest.er1 2726 ac_status=$? 2727 grep -v '^ *+' conftest.er1 >conftest.err 2728 rm -f conftest.er1 2729 cat conftest.err >&5 2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2731 (exit $ac_status); } && { 2732 test -z "$ac_c_werror_flag" || 2733 test ! -s conftest.err 2734 } && test -s conftest.$ac_objext; then 3047 2735 ac_cv_prog_cc_g=yes 3048 fi 2736 else 2737 echo "$as_me: failed program was:" >&5 2738 sed 's/^/| /' conftest.$ac_ext >&5 2739 2740 2741 fi 2742 3049 2743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3050 2744 fi 2745 3051 2746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3052 2747 fi 2748 3053 2749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3054 2750 ac_c_werror_flag=$ac_save_c_werror_flag 3055 2751 fi 3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&53057 $as_echo "$ac_cv_prog_cc_g" >&6; }2752 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2753 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3058 2754 if test "$ac_test_CFLAGS" = set; then 3059 2755 CFLAGS=$ac_save_CFLAGS … … 3071 2767 fi 3072 2768 fi 3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&53074 $as_echo_n "checking for $CC option to accept ISO C89..." >&6; }3075 if test "${ac_cv_prog_cc_c89+set}" = set; then :3076 $as_echo_n "(cached)" >&62769 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2770 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2771 if test "${ac_cv_prog_cc_c89+set}" = set; then 2772 echo $ECHO_N "(cached) $ECHO_C" >&6 3077 2773 else 3078 2774 ac_cv_prog_cc_c89=no 3079 2775 ac_save_CC=$CC 3080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2776 cat >conftest.$ac_ext <<_ACEOF 2777 /* confdefs.h. */ 2778 _ACEOF 2779 cat confdefs.h >>conftest.$ac_ext 2780 cat >>conftest.$ac_ext <<_ACEOF 3081 2781 /* end confdefs.h. */ 3082 2782 #include <stdarg.h> … … 3135 2835 do 3136 2836 CC="$ac_save_CC $ac_arg" 3137 if ac_fn_c_try_compile "$LINENO"; then : 2837 rm -f conftest.$ac_objext 2838 if { (ac_try="$ac_compile" 2839 case "(($ac_try" in 2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2841 *) ac_try_echo=$ac_try;; 2842 esac 2843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2844 (eval "$ac_compile") 2>conftest.er1 2845 ac_status=$? 2846 grep -v '^ *+' conftest.er1 >conftest.err 2847 rm -f conftest.er1 2848 cat conftest.err >&5 2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2850 (exit $ac_status); } && { 2851 test -z "$ac_c_werror_flag" || 2852 test ! -s conftest.err 2853 } && test -s conftest.$ac_objext; then 3138 2854 ac_cv_prog_cc_c89=$ac_arg 3139 fi 2855 else 2856 echo "$as_me: failed program was:" >&5 2857 sed 's/^/| /' conftest.$ac_ext >&5 2858 2859 2860 fi 2861 3140 2862 rm -f core conftest.err conftest.$ac_objext 3141 2863 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3148 2870 case "x$ac_cv_prog_cc_c89" in 3149 2871 x) 3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&53151 $as_echo "none needed" >&6; } ;;2872 { echo "$as_me:$LINENO: result: none needed" >&5 2873 echo "${ECHO_T}none needed" >&6; } ;; 3152 2874 xno) 3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&53154 $as_echo "unsupported" >&6; } ;;2875 { echo "$as_me:$LINENO: result: unsupported" >&5 2876 echo "${ECHO_T}unsupported" >&6; } ;; 3155 2877 *) 3156 2878 CC="$CC $ac_cv_prog_cc_c89" 3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3158 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3159 esac 3160 if test "x$ac_cv_prog_cc_c89" != xno; then : 3161 3162 fi 2879 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2880 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2881 esac 2882 3163 2883 3164 2884 ac_ext=c … … 3182 2902 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3183 2903 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53185 $as_echo_n "checking for $ac_word..." >&6; }3186 if test "${ac_cv_prog_CXX+set}" = set; then :3187 $as_echo_n "(cached)" >&62904 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2906 if test "${ac_cv_prog_CXX+set}" = set; then 2907 echo $ECHO_N "(cached) $ECHO_C" >&6 3188 2908 else 3189 2909 if test -n "$CXX"; then … … 3195 2915 IFS=$as_save_IFS 3196 2916 test -z "$as_dir" && as_dir=. 3197 2917 for ac_exec_ext in '' $ac_executable_extensions; do 3198 2918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3199 2919 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3201 2921 break 2 3202 2922 fi 3203 2923 done 3204 2924 done 3205 2925 IFS=$as_save_IFS 3206 2926 … … 3209 2929 CXX=$ac_cv_prog_CXX 3210 2930 if test -n "$CXX"; then 3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&53212 $as_echo "$CXX" >&6; }3213 else 3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53215 $as_echo "no" >&6; }2931 { echo "$as_me:$LINENO: result: $CXX" >&5 2932 echo "${ECHO_T}$CXX" >&6; } 2933 else 2934 { echo "$as_me:$LINENO: result: no" >&5 2935 echo "${ECHO_T}no" >&6; } 3216 2936 fi 3217 2937 … … 3226 2946 # Extract the first word of "$ac_prog", so it can be a program name with args. 3227 2947 set dummy $ac_prog; ac_word=$2 3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53229 $as_echo_n "checking for $ac_word..." >&6; }3230 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :3231 $as_echo_n "(cached)" >&62948 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2950 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2951 echo $ECHO_N "(cached) $ECHO_C" >&6 3232 2952 else 3233 2953 if test -n "$ac_ct_CXX"; then … … 3239 2959 IFS=$as_save_IFS 3240 2960 test -z "$as_dir" && as_dir=. 3241 2961 for ac_exec_ext in '' $ac_executable_extensions; do 3242 2962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3243 2963 ac_cv_prog_ac_ct_CXX="$ac_prog" 3244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3245 2965 break 2 3246 2966 fi 3247 2967 done 3248 2968 done 3249 2969 IFS=$as_save_IFS 3250 2970 … … 3253 2973 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3254 2974 if test -n "$ac_ct_CXX"; then 3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&53256 $as_echo "$ac_ct_CXX" >&6; }3257 else 3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53259 $as_echo "no" >&6; }2975 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2976 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2977 else 2978 { echo "$as_me:$LINENO: result: no" >&5 2979 echo "${ECHO_T}no" >&6; } 3260 2980 fi 3261 2981 … … 3269 2989 case $cross_compiling:$ac_tool_warned in 3270 2990 yes:) 3271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2991 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2992 whose name does not start with the host triplet. If you think this 2993 configuration is useful to you, please write to autoconf@gnu.org." >&5 2994 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2995 whose name does not start with the host triplet. If you think this 2996 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3273 2997 ac_tool_warned=yes ;; 3274 2998 esac … … 3280 3004 fi 3281 3005 # Provide some information about the compiler. 3282 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3283 set X $ac_compile 3284 ac_compiler=$2 3285 for ac_option in --version -v -V -qversion; do 3286 { { ac_try="$ac_compiler $ac_option >&5" 3287 case "(($ac_try" in 3288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3289 *) ac_try_echo=$ac_try;; 3290 esac 3291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3292 $as_echo "$ac_try_echo"; } >&5 3293 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3294 ac_status=$? 3295 if test -s conftest.err; then 3296 sed '10a\ 3297 ... rest of stderr output deleted ... 3298 10q' conftest.err >conftest.er1 3299 cat conftest.er1 >&5 3300 fi 3301 rm -f conftest.er1 conftest.err 3302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3303 test $ac_status = 0; } 3304 done 3305 3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3307 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3308 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3309 $as_echo_n "(cached) " >&6 3310 else 3311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3006 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3007 ac_compiler=`set X $ac_compile; echo $2` 3008 { (ac_try="$ac_compiler --version >&5" 3009 case "(($ac_try" in 3010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3011 *) ac_try_echo=$ac_try;; 3012 esac 3013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3014 (eval "$ac_compiler --version >&5") 2>&5 3015 ac_status=$? 3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3017 (exit $ac_status); } 3018 { (ac_try="$ac_compiler -v >&5" 3019 case "(($ac_try" in 3020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3021 *) ac_try_echo=$ac_try;; 3022 esac 3023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3024 (eval "$ac_compiler -v >&5") 2>&5 3025 ac_status=$? 3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3027 (exit $ac_status); } 3028 { (ac_try="$ac_compiler -V >&5" 3029 case "(($ac_try" in 3030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3031 *) ac_try_echo=$ac_try;; 3032 esac 3033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3034 (eval "$ac_compiler -V >&5") 2>&5 3035 ac_status=$? 3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3037 (exit $ac_status); } 3038 3039 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3040 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3041 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3042 echo $ECHO_N "(cached) $ECHO_C" >&6 3043 else 3044 cat >conftest.$ac_ext <<_ACEOF 3045 /* confdefs.h. */ 3046 _ACEOF 3047 cat confdefs.h >>conftest.$ac_ext 3048 cat >>conftest.$ac_ext <<_ACEOF 3312 3049 /* end confdefs.h. */ 3313 3050 … … 3323 3060 } 3324 3061 _ACEOF 3325 if ac_fn_cxx_try_compile "$LINENO"; then : 3062 rm -f conftest.$ac_objext 3063 if { (ac_try="$ac_compile" 3064 case "(($ac_try" in 3065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3066 *) ac_try_echo=$ac_try;; 3067 esac 3068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3069 (eval "$ac_compile") 2>conftest.er1 3070 ac_status=$? 3071 grep -v '^ *+' conftest.er1 >conftest.err 3072 rm -f conftest.er1 3073 cat conftest.err >&5 3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3075 (exit $ac_status); } && { 3076 test -z "$ac_cxx_werror_flag" || 3077 test ! -s conftest.err 3078 } && test -s conftest.$ac_objext; then 3326 3079 ac_compiler_gnu=yes 3327 3080 else 3328 ac_compiler_gnu=no 3329 fi 3081 echo "$as_me: failed program was:" >&5 3082 sed 's/^/| /' conftest.$ac_ext >&5 3083 3084 ac_compiler_gnu=no 3085 fi 3086 3330 3087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3331 3088 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3332 3089 3333 3090 fi 3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3335 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3336 if test $ac_compiler_gnu = yes; then 3337 GXX=yes 3338 else 3339 GXX= 3340 fi 3091 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3092 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3093 GXX=`test $ac_compiler_gnu = yes && echo yes` 3341 3094 ac_test_CXXFLAGS=${CXXFLAGS+set} 3342 3095 ac_save_CXXFLAGS=$CXXFLAGS 3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&53344 $as_echo_n "checking whether $CXX accepts -g..." >&6; }3345 if test "${ac_cv_prog_cxx_g+set}" = set; then :3346 $as_echo_n "(cached)" >&63096 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3097 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 3098 if test "${ac_cv_prog_cxx_g+set}" = set; then 3099 echo $ECHO_N "(cached) $ECHO_C" >&6 3347 3100 else 3348 3101 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3350 3103 ac_cv_prog_cxx_g=no 3351 3104 CXXFLAGS="-g" 3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3105 cat >conftest.$ac_ext <<_ACEOF 3106 /* confdefs.h. */ 3107 _ACEOF 3108 cat confdefs.h >>conftest.$ac_ext 3109 cat >>conftest.$ac_ext <<_ACEOF 3353 3110 /* end confdefs.h. */ 3354 3111 … … 3361 3118 } 3362 3119 _ACEOF 3363 if ac_fn_cxx_try_compile "$LINENO"; then : 3120 rm -f conftest.$ac_objext 3121 if { (ac_try="$ac_compile" 3122 case "(($ac_try" in 3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3124 *) ac_try_echo=$ac_try;; 3125 esac 3126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3127 (eval "$ac_compile") 2>conftest.er1 3128 ac_status=$? 3129 grep -v '^ *+' conftest.er1 >conftest.err 3130 rm -f conftest.er1 3131 cat conftest.err >&5 3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3133 (exit $ac_status); } && { 3134 test -z "$ac_cxx_werror_flag" || 3135 test ! -s conftest.err 3136 } && test -s conftest.$ac_objext; then 3364 3137 ac_cv_prog_cxx_g=yes 3365 3138 else 3366 CXXFLAGS="" 3367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3139 echo "$as_me: failed program was:" >&5 3140 sed 's/^/| /' conftest.$ac_ext >&5 3141 3142 CXXFLAGS="" 3143 cat >conftest.$ac_ext <<_ACEOF 3144 /* confdefs.h. */ 3145 _ACEOF 3146 cat confdefs.h >>conftest.$ac_ext 3147 cat >>conftest.$ac_ext <<_ACEOF 3368 3148 /* end confdefs.h. */ 3369 3149 … … 3376 3156 } 3377 3157 _ACEOF 3378 if ac_fn_cxx_try_compile "$LINENO"; then : 3379 3380 else 3381 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3158 rm -f conftest.$ac_objext 3159 if { (ac_try="$ac_compile" 3160 case "(($ac_try" in 3161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3162 *) ac_try_echo=$ac_try;; 3163 esac 3164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3165 (eval "$ac_compile") 2>conftest.er1 3166 ac_status=$? 3167 grep -v '^ *+' conftest.er1 >conftest.err 3168 rm -f conftest.er1 3169 cat conftest.err >&5 3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3171 (exit $ac_status); } && { 3172 test -z "$ac_cxx_werror_flag" || 3173 test ! -s conftest.err 3174 } && test -s conftest.$ac_objext; then 3175 : 3176 else 3177 echo "$as_me: failed program was:" >&5 3178 sed 's/^/| /' conftest.$ac_ext >&5 3179 3180 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3382 3181 CXXFLAGS="-g" 3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3182 cat >conftest.$ac_ext <<_ACEOF 3183 /* confdefs.h. */ 3184 _ACEOF 3185 cat confdefs.h >>conftest.$ac_ext 3186 cat >>conftest.$ac_ext <<_ACEOF 3384 3187 /* end confdefs.h. */ 3385 3188 … … 3392 3195 } 3393 3196 _ACEOF 3394 if ac_fn_cxx_try_compile "$LINENO"; then : 3197 rm -f conftest.$ac_objext 3198 if { (ac_try="$ac_compile" 3199 case "(($ac_try" in 3200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3201 *) ac_try_echo=$ac_try;; 3202 esac 3203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3204 (eval "$ac_compile") 2>conftest.er1 3205 ac_status=$? 3206 grep -v '^ *+' conftest.er1 >conftest.err 3207 rm -f conftest.er1 3208 cat conftest.err >&5 3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3210 (exit $ac_status); } && { 3211 test -z "$ac_cxx_werror_flag" || 3212 test ! -s conftest.err 3213 } && test -s conftest.$ac_objext; then 3395 3214 ac_cv_prog_cxx_g=yes 3396 fi 3215 else 3216 echo "$as_me: failed program was:" >&5 3217 sed 's/^/| /' conftest.$ac_ext >&5 3218 3219 3220 fi 3221 3397 3222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3398 3223 fi 3224 3399 3225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3400 3226 fi 3227 3401 3228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3402 3229 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3403 3230 fi 3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&53405 $as_echo "$ac_cv_prog_cxx_g" >&6; }3231 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3232 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 3406 3233 if test "$ac_test_CXXFLAGS" = set; then 3407 3234 CXXFLAGS=$ac_save_CXXFLAGS … … 3481 3308 3482 3309 3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3484 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3485 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 3486 $as_echo_n "(cached) " >&6 3310 3311 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3312 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 3313 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 3314 echo $ECHO_N "(cached) $ECHO_C" >&6 3487 3315 else 3488 3316 ac_check_lib_save_LIBS=$LIBS 3489 3317 LIBS="-lpthread $LIBS" 3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3318 cat >conftest.$ac_ext <<_ACEOF 3319 /* confdefs.h. */ 3320 _ACEOF 3321 cat confdefs.h >>conftest.$ac_ext 3322 cat >>conftest.$ac_ext <<_ACEOF 3491 3323 /* end confdefs.h. */ 3492 3324 … … 3506 3338 } 3507 3339 _ACEOF 3508 if ac_fn_c_try_link "$LINENO"; then : 3340 rm -f conftest.$ac_objext conftest$ac_exeext 3341 if { (ac_try="$ac_link" 3342 case "(($ac_try" in 3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3344 *) ac_try_echo=$ac_try;; 3345 esac 3346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3347 (eval "$ac_link") 2>conftest.er1 3348 ac_status=$? 3349 grep -v '^ *+' conftest.er1 >conftest.err 3350 rm -f conftest.er1 3351 cat conftest.err >&5 3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3353 (exit $ac_status); } && { 3354 test -z "$ac_c_werror_flag" || 3355 test ! -s conftest.err 3356 } && test -s conftest$ac_exeext && 3357 $as_test_x conftest$ac_exeext; then 3509 3358 ac_cv_lib_pthread_pthread_create=yes 3510 3359 else 3511 ac_cv_lib_pthread_pthread_create=no 3512 fi 3513 rm -f core conftest.err conftest.$ac_objext \ 3514 conftest$ac_exeext conftest.$ac_ext 3360 echo "$as_me: failed program was:" >&5 3361 sed 's/^/| /' conftest.$ac_ext >&5 3362 3363 ac_cv_lib_pthread_pthread_create=no 3364 fi 3365 3366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3367 conftest$ac_exeext conftest.$ac_ext 3515 3368 LIBS=$ac_check_lib_save_LIBS 3516 3369 fi 3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&53518 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }3519 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :3370 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 3371 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 3372 if test $ac_cv_lib_pthread_pthread_create = yes; then 3520 3373 cat >>confdefs.h <<_ACEOF 3521 3374 #define HAVE_LIBPTHREAD 1 … … 3526 3379 fi 3527 3380 3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 3529 $as_echo_n "checking for puts in -lwsock32... " >&6; } 3530 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 3531 $as_echo_n "(cached) " >&6 3381 3382 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3383 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 3384 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 3385 echo $ECHO_N "(cached) $ECHO_C" >&6 3532 3386 else 3533 3387 ac_check_lib_save_LIBS=$LIBS 3534 3388 LIBS="-lwsock32 $LIBS" 3535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3389 cat >conftest.$ac_ext <<_ACEOF 3390 /* confdefs.h. */ 3391 _ACEOF 3392 cat confdefs.h >>conftest.$ac_ext 3393 cat >>conftest.$ac_ext <<_ACEOF 3536 3394 /* end confdefs.h. */ 3537 3395 … … 3551 3409 } 3552 3410 _ACEOF 3553 if ac_fn_c_try_link "$LINENO"; then : 3411 rm -f conftest.$ac_objext conftest$ac_exeext 3412 if { (ac_try="$ac_link" 3413 case "(($ac_try" in 3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3415 *) ac_try_echo=$ac_try;; 3416 esac 3417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3418 (eval "$ac_link") 2>conftest.er1 3419 ac_status=$? 3420 grep -v '^ *+' conftest.er1 >conftest.err 3421 rm -f conftest.er1 3422 cat conftest.err >&5 3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3424 (exit $ac_status); } && { 3425 test -z "$ac_c_werror_flag" || 3426 test ! -s conftest.err 3427 } && test -s conftest$ac_exeext && 3428 $as_test_x conftest$ac_exeext; then 3554 3429 ac_cv_lib_wsock32_puts=yes 3555 3430 else 3556 ac_cv_lib_wsock32_puts=no 3557 fi 3558 rm -f core conftest.err conftest.$ac_objext \ 3559 conftest$ac_exeext conftest.$ac_ext 3431 echo "$as_me: failed program was:" >&5 3432 sed 's/^/| /' conftest.$ac_ext >&5 3433 3434 ac_cv_lib_wsock32_puts=no 3435 fi 3436 3437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3438 conftest$ac_exeext conftest.$ac_ext 3560 3439 LIBS=$ac_check_lib_save_LIBS 3561 3440 fi 3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&53563 $as_echo "$ac_cv_lib_wsock32_puts" >&6; }3564 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then :3441 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 3442 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 3443 if test $ac_cv_lib_wsock32_puts = yes; then 3565 3444 cat >>confdefs.h <<_ACEOF 3566 3445 #define HAVE_LIBWSOCK32 1 … … 3571 3450 fi 3572 3451 3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 3574 $as_echo_n "checking for puts in -lws2_32... " >&6; } 3575 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 3576 $as_echo_n "(cached) " >&6 3452 3453 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3454 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 3455 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 3456 echo $ECHO_N "(cached) $ECHO_C" >&6 3577 3457 else 3578 3458 ac_check_lib_save_LIBS=$LIBS 3579 3459 LIBS="-lws2_32 $LIBS" 3580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3460 cat >conftest.$ac_ext <<_ACEOF 3461 /* confdefs.h. */ 3462 _ACEOF 3463 cat confdefs.h >>conftest.$ac_ext 3464 cat >>conftest.$ac_ext <<_ACEOF 3581 3465 /* end confdefs.h. */ 3582 3466 … … 3596 3480 } 3597 3481 _ACEOF 3598 if ac_fn_c_try_link "$LINENO"; then : 3482 rm -f conftest.$ac_objext conftest$ac_exeext 3483 if { (ac_try="$ac_link" 3484 case "(($ac_try" in 3485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3486 *) ac_try_echo=$ac_try;; 3487 esac 3488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3489 (eval "$ac_link") 2>conftest.er1 3490 ac_status=$? 3491 grep -v '^ *+' conftest.er1 >conftest.err 3492 rm -f conftest.er1 3493 cat conftest.err >&5 3494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3495 (exit $ac_status); } && { 3496 test -z "$ac_c_werror_flag" || 3497 test ! -s conftest.err 3498 } && test -s conftest$ac_exeext && 3499 $as_test_x conftest$ac_exeext; then 3599 3500 ac_cv_lib_ws2_32_puts=yes 3600 3501 else 3601 ac_cv_lib_ws2_32_puts=no 3602 fi 3603 rm -f core conftest.err conftest.$ac_objext \ 3604 conftest$ac_exeext conftest.$ac_ext 3502 echo "$as_me: failed program was:" >&5 3503 sed 's/^/| /' conftest.$ac_ext >&5 3504 3505 ac_cv_lib_ws2_32_puts=no 3506 fi 3507 3508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3509 conftest$ac_exeext conftest.$ac_ext 3605 3510 LIBS=$ac_check_lib_save_LIBS 3606 3511 fi 3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&53608 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; }3609 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then :3512 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 3513 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 3514 if test $ac_cv_lib_ws2_32_puts = yes; then 3610 3515 cat >>confdefs.h <<_ACEOF 3611 3516 #define HAVE_LIBWS2_32 1 … … 3616 3521 fi 3617 3522 3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 3619 $as_echo_n "checking for puts in -lole32... " >&6; } 3620 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 3621 $as_echo_n "(cached) " >&6 3523 3524 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3525 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 3526 if test "${ac_cv_lib_ole32_puts+set}" = set; then 3527 echo $ECHO_N "(cached) $ECHO_C" >&6 3622 3528 else 3623 3529 ac_check_lib_save_LIBS=$LIBS 3624 3530 LIBS="-lole32 $LIBS" 3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3531 cat >conftest.$ac_ext <<_ACEOF 3532 /* confdefs.h. */ 3533 _ACEOF 3534 cat confdefs.h >>conftest.$ac_ext 3535 cat >>conftest.$ac_ext <<_ACEOF 3626 3536 /* end confdefs.h. */ 3627 3537 … … 3641 3551 } 3642 3552 _ACEOF 3643 if ac_fn_c_try_link "$LINENO"; then : 3553 rm -f conftest.$ac_objext conftest$ac_exeext 3554 if { (ac_try="$ac_link" 3555 case "(($ac_try" in 3556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3557 *) ac_try_echo=$ac_try;; 3558 esac 3559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3560 (eval "$ac_link") 2>conftest.er1 3561 ac_status=$? 3562 grep -v '^ *+' conftest.er1 >conftest.err 3563 rm -f conftest.er1 3564 cat conftest.err >&5 3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3566 (exit $ac_status); } && { 3567 test -z "$ac_c_werror_flag" || 3568 test ! -s conftest.err 3569 } && test -s conftest$ac_exeext && 3570 $as_test_x conftest$ac_exeext; then 3644 3571 ac_cv_lib_ole32_puts=yes 3645 3572 else 3646 ac_cv_lib_ole32_puts=no 3647 fi 3648 rm -f core conftest.err conftest.$ac_objext \ 3649 conftest$ac_exeext conftest.$ac_ext 3573 echo "$as_me: failed program was:" >&5 3574 sed 's/^/| /' conftest.$ac_ext >&5 3575 3576 ac_cv_lib_ole32_puts=no 3577 fi 3578 3579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3580 conftest$ac_exeext conftest.$ac_ext 3650 3581 LIBS=$ac_check_lib_save_LIBS 3651 3582 fi 3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&53653 $as_echo "$ac_cv_lib_ole32_puts" >&6; }3654 if test "x$ac_cv_lib_ole32_puts" = x""yes; then :3583 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 3584 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 3585 if test $ac_cv_lib_ole32_puts = yes; then 3655 3586 cat >>confdefs.h <<_ACEOF 3656 3587 #define HAVE_LIBOLE32 1 … … 3661 3592 fi 3662 3593 3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 3664 $as_echo_n "checking for puts in -lwinmm... " >&6; } 3665 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 3666 $as_echo_n "(cached) " >&6 3594 3595 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3596 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 3597 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3598 echo $ECHO_N "(cached) $ECHO_C" >&6 3667 3599 else 3668 3600 ac_check_lib_save_LIBS=$LIBS 3669 3601 LIBS="-lwinmm $LIBS" 3670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3602 cat >conftest.$ac_ext <<_ACEOF 3603 /* confdefs.h. */ 3604 _ACEOF 3605 cat confdefs.h >>conftest.$ac_ext 3606 cat >>conftest.$ac_ext <<_ACEOF 3671 3607 /* end confdefs.h. */ 3672 3608 … … 3686 3622 } 3687 3623 _ACEOF 3688 if ac_fn_c_try_link "$LINENO"; then : 3624 rm -f conftest.$ac_objext conftest$ac_exeext 3625 if { (ac_try="$ac_link" 3626 case "(($ac_try" in 3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3628 *) ac_try_echo=$ac_try;; 3629 esac 3630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3631 (eval "$ac_link") 2>conftest.er1 3632 ac_status=$? 3633 grep -v '^ *+' conftest.er1 >conftest.err 3634 rm -f conftest.er1 3635 cat conftest.err >&5 3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3637 (exit $ac_status); } && { 3638 test -z "$ac_c_werror_flag" || 3639 test ! -s conftest.err 3640 } && test -s conftest$ac_exeext && 3641 $as_test_x conftest$ac_exeext; then 3689 3642 ac_cv_lib_winmm_puts=yes 3690 3643 else 3691 ac_cv_lib_winmm_puts=no 3692 fi 3693 rm -f core conftest.err conftest.$ac_objext \ 3694 conftest$ac_exeext conftest.$ac_ext 3644 echo "$as_me: failed program was:" >&5 3645 sed 's/^/| /' conftest.$ac_ext >&5 3646 3647 ac_cv_lib_winmm_puts=no 3648 fi 3649 3650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3651 conftest$ac_exeext conftest.$ac_ext 3695 3652 LIBS=$ac_check_lib_save_LIBS 3696 3653 fi 3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&53698 $as_echo "$ac_cv_lib_winmm_puts" >&6; }3699 if test "x$ac_cv_lib_winmm_puts" = x""yes; then :3654 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 3655 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 3656 if test $ac_cv_lib_winmm_puts = yes; then 3700 3657 cat >>confdefs.h <<_ACEOF 3701 3658 #define HAVE_LIBWINMM 1 … … 3706 3663 fi 3707 3664 3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 3709 $as_echo_n "checking for puts in -lsocket... " >&6; } 3710 if test "${ac_cv_lib_socket_puts+set}" = set; then : 3711 $as_echo_n "(cached) " >&6 3665 3666 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3667 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 3668 if test "${ac_cv_lib_socket_puts+set}" = set; then 3669 echo $ECHO_N "(cached) $ECHO_C" >&6 3712 3670 else 3713 3671 ac_check_lib_save_LIBS=$LIBS 3714 3672 LIBS="-lsocket $LIBS" 3715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3673 cat >conftest.$ac_ext <<_ACEOF 3674 /* confdefs.h. */ 3675 _ACEOF 3676 cat confdefs.h >>conftest.$ac_ext 3677 cat >>conftest.$ac_ext <<_ACEOF 3716 3678 /* end confdefs.h. */ 3717 3679 … … 3731 3693 } 3732 3694 _ACEOF 3733 if ac_fn_c_try_link "$LINENO"; then : 3695 rm -f conftest.$ac_objext conftest$ac_exeext 3696 if { (ac_try="$ac_link" 3697 case "(($ac_try" in 3698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3699 *) ac_try_echo=$ac_try;; 3700 esac 3701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3702 (eval "$ac_link") 2>conftest.er1 3703 ac_status=$? 3704 grep -v '^ *+' conftest.er1 >conftest.err 3705 rm -f conftest.er1 3706 cat conftest.err >&5 3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3708 (exit $ac_status); } && { 3709 test -z "$ac_c_werror_flag" || 3710 test ! -s conftest.err 3711 } && test -s conftest$ac_exeext && 3712 $as_test_x conftest$ac_exeext; then 3734 3713 ac_cv_lib_socket_puts=yes 3735 3714 else 3736 ac_cv_lib_socket_puts=no 3737 fi 3738 rm -f core conftest.err conftest.$ac_objext \ 3739 conftest$ac_exeext conftest.$ac_ext 3715 echo "$as_me: failed program was:" >&5 3716 sed 's/^/| /' conftest.$ac_ext >&5 3717 3718 ac_cv_lib_socket_puts=no 3719 fi 3720 3721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3722 conftest$ac_exeext conftest.$ac_ext 3740 3723 LIBS=$ac_check_lib_save_LIBS 3741 3724 fi 3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&53743 $as_echo "$ac_cv_lib_socket_puts" >&6; }3744 if test "x$ac_cv_lib_socket_puts" = x""yes; then :3725 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 3726 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 3727 if test $ac_cv_lib_socket_puts = yes; then 3745 3728 cat >>confdefs.h <<_ACEOF 3746 3729 #define HAVE_LIBSOCKET 1 … … 3751 3734 fi 3752 3735 3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 3754 $as_echo_n "checking for puts in -lrt... " >&6; } 3755 if test "${ac_cv_lib_rt_puts+set}" = set; then : 3756 $as_echo_n "(cached) " >&6 3736 3737 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3738 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 3739 if test "${ac_cv_lib_rt_puts+set}" = set; then 3740 echo $ECHO_N "(cached) $ECHO_C" >&6 3757 3741 else 3758 3742 ac_check_lib_save_LIBS=$LIBS 3759 3743 LIBS="-lrt $LIBS" 3760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3744 cat >conftest.$ac_ext <<_ACEOF 3745 /* confdefs.h. */ 3746 _ACEOF 3747 cat confdefs.h >>conftest.$ac_ext 3748 cat >>conftest.$ac_ext <<_ACEOF 3761 3749 /* end confdefs.h. */ 3762 3750 … … 3776 3764 } 3777 3765 _ACEOF 3778 if ac_fn_c_try_link "$LINENO"; then : 3766 rm -f conftest.$ac_objext conftest$ac_exeext 3767 if { (ac_try="$ac_link" 3768 case "(($ac_try" in 3769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3770 *) ac_try_echo=$ac_try;; 3771 esac 3772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3773 (eval "$ac_link") 2>conftest.er1 3774 ac_status=$? 3775 grep -v '^ *+' conftest.er1 >conftest.err 3776 rm -f conftest.er1 3777 cat conftest.err >&5 3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3779 (exit $ac_status); } && { 3780 test -z "$ac_c_werror_flag" || 3781 test ! -s conftest.err 3782 } && test -s conftest$ac_exeext && 3783 $as_test_x conftest$ac_exeext; then 3779 3784 ac_cv_lib_rt_puts=yes 3780 3785 else 3781 ac_cv_lib_rt_puts=no 3782 fi 3783 rm -f core conftest.err conftest.$ac_objext \ 3784 conftest$ac_exeext conftest.$ac_ext 3786 echo "$as_me: failed program was:" >&5 3787 sed 's/^/| /' conftest.$ac_ext >&5 3788 3789 ac_cv_lib_rt_puts=no 3790 fi 3791 3792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3793 conftest$ac_exeext conftest.$ac_ext 3785 3794 LIBS=$ac_check_lib_save_LIBS 3786 3795 fi 3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&53788 $as_echo "$ac_cv_lib_rt_puts" >&6; }3789 if test "x$ac_cv_lib_rt_puts" = x""yes; then :3796 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 3797 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 3798 if test $ac_cv_lib_rt_puts = yes; then 3790 3799 cat >>confdefs.h <<_ACEOF 3791 3800 #define HAVE_LIBRT 1 … … 3796 3805 fi 3797 3806 3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 3799 $as_echo_n "checking for puts in -lnsl... " >&6; } 3800 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 3801 $as_echo_n "(cached) " >&6 3807 3808 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3809 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 3810 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3811 echo $ECHO_N "(cached) $ECHO_C" >&6 3802 3812 else 3803 3813 ac_check_lib_save_LIBS=$LIBS 3804 3814 LIBS="-lnsl $LIBS" 3805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3815 cat >conftest.$ac_ext <<_ACEOF 3816 /* confdefs.h. */ 3817 _ACEOF 3818 cat confdefs.h >>conftest.$ac_ext 3819 cat >>conftest.$ac_ext <<_ACEOF 3806 3820 /* end confdefs.h. */ 3807 3821 … … 3821 3835 } 3822 3836 _ACEOF 3823 if ac_fn_c_try_link "$LINENO"; then : 3837 rm -f conftest.$ac_objext conftest$ac_exeext 3838 if { (ac_try="$ac_link" 3839 case "(($ac_try" in 3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3841 *) ac_try_echo=$ac_try;; 3842 esac 3843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3844 (eval "$ac_link") 2>conftest.er1 3845 ac_status=$? 3846 grep -v '^ *+' conftest.er1 >conftest.err 3847 rm -f conftest.er1 3848 cat conftest.err >&5 3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3850 (exit $ac_status); } && { 3851 test -z "$ac_c_werror_flag" || 3852 test ! -s conftest.err 3853 } && test -s conftest$ac_exeext && 3854 $as_test_x conftest$ac_exeext; then 3824 3855 ac_cv_lib_nsl_puts=yes 3825 3856 else 3826 ac_cv_lib_nsl_puts=no 3827 fi 3828 rm -f core conftest.err conftest.$ac_objext \ 3829 conftest$ac_exeext conftest.$ac_ext 3857 echo "$as_me: failed program was:" >&5 3858 sed 's/^/| /' conftest.$ac_ext >&5 3859 3860 ac_cv_lib_nsl_puts=no 3861 fi 3862 3863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3864 conftest$ac_exeext conftest.$ac_ext 3830 3865 LIBS=$ac_check_lib_save_LIBS 3831 3866 fi 3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&53833 $as_echo "$ac_cv_lib_nsl_puts" >&6; }3834 if test "x$ac_cv_lib_nsl_puts" = x""yes; then :3867 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 3868 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 3869 if test $ac_cv_lib_nsl_puts = yes; then 3835 3870 cat >>confdefs.h <<_ACEOF 3836 3871 #define HAVE_LIBNSL 1 … … 3841 3876 fi 3842 3877 3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3844 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3845 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3846 $as_echo_n "(cached) " >&6 3878 3879 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3880 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3881 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3882 echo $ECHO_N "(cached) $ECHO_C" >&6 3847 3883 else 3848 3884 ac_check_lib_save_LIBS=$LIBS 3849 3885 LIBS="-luuid $LIBS" 3850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3886 cat >conftest.$ac_ext <<_ACEOF 3887 /* confdefs.h. */ 3888 _ACEOF 3889 cat confdefs.h >>conftest.$ac_ext 3890 cat >>conftest.$ac_ext <<_ACEOF 3851 3891 /* end confdefs.h. */ 3852 3892 … … 3866 3906 } 3867 3907 _ACEOF 3868 if ac_fn_c_try_link "$LINENO"; then : 3908 rm -f conftest.$ac_objext conftest$ac_exeext 3909 if { (ac_try="$ac_link" 3910 case "(($ac_try" in 3911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3912 *) ac_try_echo=$ac_try;; 3913 esac 3914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3915 (eval "$ac_link") 2>conftest.er1 3916 ac_status=$? 3917 grep -v '^ *+' conftest.er1 >conftest.err 3918 rm -f conftest.er1 3919 cat conftest.err >&5 3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3921 (exit $ac_status); } && { 3922 test -z "$ac_c_werror_flag" || 3923 test ! -s conftest.err 3924 } && test -s conftest$ac_exeext && 3925 $as_test_x conftest$ac_exeext; then 3869 3926 ac_cv_lib_uuid_uuid_generate=yes 3870 3927 else 3871 ac_cv_lib_uuid_uuid_generate=no 3872 fi 3873 rm -f core conftest.err conftest.$ac_objext \ 3874 conftest$ac_exeext conftest.$ac_ext 3928 echo "$as_me: failed program was:" >&5 3929 sed 's/^/| /' conftest.$ac_ext >&5 3930 3931 ac_cv_lib_uuid_uuid_generate=no 3932 fi 3933 3934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3935 conftest$ac_exeext conftest.$ac_ext 3875 3936 LIBS=$ac_check_lib_save_LIBS 3876 3937 fi 3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&53878 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }3879 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then :3938 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3939 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 3940 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3880 3941 cat >>confdefs.h <<_ACEOF 3881 3942 #define HAVE_LIBUUID 1 … … 3886 3947 fi 3887 3948 3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&53889 $as_echo_n "checking for uuid_generate in -luuid..." >&6; }3890 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then :3891 $as_echo_n "(cached)" >&63949 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3950 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3951 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3952 echo $ECHO_N "(cached) $ECHO_C" >&6 3892 3953 else 3893 3954 ac_check_lib_save_LIBS=$LIBS 3894 3955 LIBS="-luuid $LIBS" 3895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3956 cat >conftest.$ac_ext <<_ACEOF 3957 /* confdefs.h. */ 3958 _ACEOF 3959 cat confdefs.h >>conftest.$ac_ext 3960 cat >>conftest.$ac_ext <<_ACEOF 3896 3961 /* end confdefs.h. */ 3897 3962 … … 3911 3976 } 3912 3977 _ACEOF 3913 if ac_fn_c_try_link "$LINENO"; then : 3978 rm -f conftest.$ac_objext conftest$ac_exeext 3979 if { (ac_try="$ac_link" 3980 case "(($ac_try" in 3981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3982 *) ac_try_echo=$ac_try;; 3983 esac 3984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3985 (eval "$ac_link") 2>conftest.er1 3986 ac_status=$? 3987 grep -v '^ *+' conftest.er1 >conftest.err 3988 rm -f conftest.er1 3989 cat conftest.err >&5 3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3991 (exit $ac_status); } && { 3992 test -z "$ac_c_werror_flag" || 3993 test ! -s conftest.err 3994 } && test -s conftest$ac_exeext && 3995 $as_test_x conftest$ac_exeext; then 3914 3996 ac_cv_lib_uuid_uuid_generate=yes 3915 3997 else 3916 ac_cv_lib_uuid_uuid_generate=no 3917 fi 3918 rm -f core conftest.err conftest.$ac_objext \ 3919 conftest$ac_exeext conftest.$ac_ext 3998 echo "$as_me: failed program was:" >&5 3999 sed 's/^/| /' conftest.$ac_ext >&5 4000 4001 ac_cv_lib_uuid_uuid_generate=no 4002 fi 4003 4004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4005 conftest$ac_exeext conftest.$ac_ext 3920 4006 LIBS=$ac_check_lib_save_LIBS 3921 4007 fi 3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&53923 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }3924 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then :4008 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 4009 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 4010 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3925 4011 ac_has_uuid_lib=1 3926 4012 fi 3927 4013 3928 4014 3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&53930 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; }4015 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 4016 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 3931 4017 cat >>confdefs.h <<_ACEOF 3932 4018 #define PJ_M_NAME "$target_cpu" … … 3934 4020 3935 4021 3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&53937 $as_echo_n "checking memory alignment..." >&6; }4022 { echo "$as_me:$LINENO: checking memory alignment" >&5 4023 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 3938 4024 case $target in 3939 4025 sparc64-* | ia64-* | x86_64-* ) 3940 $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 3941 3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 3943 $as_echo "8 bytes" >&6; } 4026 cat >>confdefs.h <<\_ACEOF 4027 #define PJ_POOL_ALIGNMENT 8 4028 _ACEOF 4029 4030 { echo "$as_me:$LINENO: result: 8 bytes" >&5 4031 echo "${ECHO_T}8 bytes" >&6; } 3944 4032 ;; 3945 4033 * ) 3946 $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 3947 3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 3949 $as_echo "4 bytes (default)" >&6; } 4034 cat >>confdefs.h <<\_ACEOF 4035 #define PJ_POOL_ALIGNMENT 4 4036 _ACEOF 4037 4038 { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 4039 echo "${ECHO_T}4 bytes (default)" >&6; } 3950 4040 ;; 3951 4041 esac … … 3957 4047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3958 4048 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&53960 $as_echo_n "checking how to run the C preprocessor..." >&6; }4049 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4050 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3961 4051 # On Suns, sometimes $CPP names a directory. 3962 4052 if test -n "$CPP" && test -d "$CPP"; then … … 3964 4054 fi 3965 4055 if test -z "$CPP"; then 3966 if test "${ac_cv_prog_CPP+set}" = set; then :3967 $as_echo_n "(cached)" >&64056 if test "${ac_cv_prog_CPP+set}" = set; then 4057 echo $ECHO_N "(cached) $ECHO_C" >&6 3968 4058 else 3969 4059 # Double quotes because CPP needs to be expanded … … 3979 4069 # On the NeXT, cc -E runs the code through the compiler's parser, 3980 4070 # not just through cpp. "Syntax error" is here to catch this case. 3981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4071 cat >conftest.$ac_ext <<_ACEOF 4072 /* confdefs.h. */ 4073 _ACEOF 4074 cat confdefs.h >>conftest.$ac_ext 4075 cat >>conftest.$ac_ext <<_ACEOF 3982 4076 /* end confdefs.h. */ 3983 4077 #ifdef __STDC__ … … 3988 4082 Syntax error 3989 4083 _ACEOF 3990 if ac_fn_c_try_cpp "$LINENO"; then : 3991 3992 else 4084 if { (ac_try="$ac_cpp conftest.$ac_ext" 4085 case "(($ac_try" in 4086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4087 *) ac_try_echo=$ac_try;; 4088 esac 4089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4090 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4091 ac_status=$? 4092 grep -v '^ *+' conftest.er1 >conftest.err 4093 rm -f conftest.er1 4094 cat conftest.err >&5 4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4096 (exit $ac_status); } >/dev/null && { 4097 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4098 test ! -s conftest.err 4099 }; then 4100 : 4101 else 4102 echo "$as_me: failed program was:" >&5 4103 sed 's/^/| /' conftest.$ac_ext >&5 4104 3993 4105 # Broken: fails on valid input. 3994 4106 continue 3995 4107 fi 4108 3996 4109 rm -f conftest.err conftest.$ac_ext 3997 4110 3998 4111 # OK, works on sane cases. Now check whether nonexistent headers 3999 4112 # can be detected and how. 4000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4113 cat >conftest.$ac_ext <<_ACEOF 4114 /* confdefs.h. */ 4115 _ACEOF 4116 cat confdefs.h >>conftest.$ac_ext 4117 cat >>conftest.$ac_ext <<_ACEOF 4001 4118 /* end confdefs.h. */ 4002 4119 #include <ac_nonexistent.h> 4003 4120 _ACEOF 4004 if ac_fn_c_try_cpp "$LINENO"; then : 4121 if { (ac_try="$ac_cpp conftest.$ac_ext" 4122 case "(($ac_try" in 4123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4124 *) ac_try_echo=$ac_try;; 4125 esac 4126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4127 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4128 ac_status=$? 4129 grep -v '^ *+' conftest.er1 >conftest.err 4130 rm -f conftest.er1 4131 cat conftest.err >&5 4132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4133 (exit $ac_status); } >/dev/null && { 4134 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4135 test ! -s conftest.err 4136 }; then 4005 4137 # Broken: success on invalid input. 4006 4138 continue 4007 4139 else 4140 echo "$as_me: failed program was:" >&5 4141 sed 's/^/| /' conftest.$ac_ext >&5 4142 4008 4143 # Passes both tests. 4009 4144 ac_preproc_ok=: 4010 4145 break 4011 4146 fi 4147 4012 4148 rm -f conftest.err conftest.$ac_ext 4013 4149 … … 4015 4151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4016 4152 rm -f conftest.err conftest.$ac_ext 4017 if $ac_preproc_ok; then :4153 if $ac_preproc_ok; then 4018 4154 break 4019 4155 fi … … 4027 4163 ac_cv_prog_CPP=$CPP 4028 4164 fi 4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&54030 $as_echo "$CPP" >&6; }4165 { echo "$as_me:$LINENO: result: $CPP" >&5 4166 echo "${ECHO_T}$CPP" >&6; } 4031 4167 ac_preproc_ok=false 4032 4168 for ac_c_preproc_warn_flag in '' yes … … 4038 4174 # On the NeXT, cc -E runs the code through the compiler's parser, 4039 4175 # not just through cpp. "Syntax error" is here to catch this case. 4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4176 cat >conftest.$ac_ext <<_ACEOF 4177 /* confdefs.h. */ 4178 _ACEOF 4179 cat confdefs.h >>conftest.$ac_ext 4180 cat >>conftest.$ac_ext <<_ACEOF 4041 4181 /* end confdefs.h. */ 4042 4182 #ifdef __STDC__ … … 4047 4187 Syntax error 4048 4188 _ACEOF 4049 if ac_fn_c_try_cpp "$LINENO"; then : 4050 4051 else 4189 if { (ac_try="$ac_cpp conftest.$ac_ext" 4190 case "(($ac_try" in 4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4192 *) ac_try_echo=$ac_try;; 4193 esac 4194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4195 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4196 ac_status=$? 4197 grep -v '^ *+' conftest.er1 >conftest.err 4198 rm -f conftest.er1 4199 cat conftest.err >&5 4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4201 (exit $ac_status); } >/dev/null && { 4202 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4203 test ! -s conftest.err 4204 }; then 4205 : 4206 else 4207 echo "$as_me: failed program was:" >&5 4208 sed 's/^/| /' conftest.$ac_ext >&5 4209 4052 4210 # Broken: fails on valid input. 4053 4211 continue 4054 4212 fi 4213 4055 4214 rm -f conftest.err conftest.$ac_ext 4056 4215 4057 4216 # OK, works on sane cases. Now check whether nonexistent headers 4058 4217 # can be detected and how. 4059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4218 cat >conftest.$ac_ext <<_ACEOF 4219 /* confdefs.h. */ 4220 _ACEOF 4221 cat confdefs.h >>conftest.$ac_ext 4222 cat >>conftest.$ac_ext <<_ACEOF 4060 4223 /* end confdefs.h. */ 4061 4224 #include <ac_nonexistent.h> 4062 4225 _ACEOF 4063 if ac_fn_c_try_cpp "$LINENO"; then : 4226 if { (ac_try="$ac_cpp conftest.$ac_ext" 4227 case "(($ac_try" in 4228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4229 *) ac_try_echo=$ac_try;; 4230 esac 4231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4233 ac_status=$? 4234 grep -v '^ *+' conftest.er1 >conftest.err 4235 rm -f conftest.er1 4236 cat conftest.err >&5 4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4238 (exit $ac_status); } >/dev/null && { 4239 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4240 test ! -s conftest.err 4241 }; then 4064 4242 # Broken: success on invalid input. 4065 4243 continue 4066 4244 else 4245 echo "$as_me: failed program was:" >&5 4246 sed 's/^/| /' conftest.$ac_ext >&5 4247 4067 4248 # Passes both tests. 4068 4249 ac_preproc_ok=: 4069 4250 break 4070 4251 fi 4252 4071 4253 rm -f conftest.err conftest.$ac_ext 4072 4254 … … 4074 4256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4075 4257 rm -f conftest.err conftest.$ac_ext 4076 if $ac_preproc_ok; then : 4077 4078 else 4079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4081 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4082 See \`config.log' for more details." "$LINENO" 5; } 4258 if $ac_preproc_ok; then 4259 : 4260 else 4261 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4262 See \`config.log' for more details." >&5 4263 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4264 See \`config.log' for more details." >&2;} 4265 { (exit 1); exit 1; }; } 4083 4266 fi 4084 4267 … … 4090 4273 4091 4274 4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4093 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4094 if test "${ac_cv_path_GREP+set}" = set; then : 4095 $as_echo_n "(cached) " >&6 4096 else 4097 if test -z "$GREP"; then 4275 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4276 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4277 if test "${ac_cv_path_GREP+set}" = set; then 4278 echo $ECHO_N "(cached) $ECHO_C" >&6 4279 else 4280 # Extract the first word of "grep ggrep" to use in msg output 4281 if test -z "$GREP"; then 4282 set dummy grep ggrep; ac_prog_name=$2 4283 if test "${ac_cv_path_GREP+set}" = set; then 4284 echo $ECHO_N "(cached) $ECHO_C" >&6 4285 else 4098 4286 ac_path_GREP_found=false 4099 4100 4287 # Loop through the user's path and test for each of PROGNAME-LIST 4288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4101 4289 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4102 4290 do 4103 4291 IFS=$as_save_IFS 4104 4292 test -z "$as_dir" && as_dir=. 4105 4106 4107 4108 4109 # Check for GNU ac_path_GREP and select it if it is found.4293 for ac_prog in grep ggrep; do 4294 for ac_exec_ext in '' $ac_executable_extensions; do 4295 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4296 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4297 # Check for GNU ac_path_GREP and select it if it is found. 4110 4298 # Check for GNU $ac_path_GREP 4111 4299 case `"$ac_path_GREP" --version 2>&1` in … … 4114 4302 *) 4115 4303 ac_count=0 4116 $as_echo_n 0123456789>"conftest.in"4304 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4117 4305 while : 4118 4306 do … … 4120 4308 mv "conftest.tmp" "conftest.in" 4121 4309 cp "conftest.in" "conftest.nl" 4122 $as_echo 'GREP' >> "conftest.nl"4310 echo 'GREP' >> "conftest.nl" 4123 4311 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4124 4312 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4125 a s_fn_arith $ac_count + 1 && ac_count=$as_val4313 ac_count=`expr $ac_count + 1` 4126 4314 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4127 4315 # Best one so far, save it but keep looking for a better one … … 4135 4323 esac 4136 4324 4137 $ac_path_GREP_found && break 3 4138 done4325 4326 $ac_path_GREP_found && break 3 4139 4327 done 4140 done 4328 done 4329 4330 done 4141 4331 IFS=$as_save_IFS 4142 if test -z "$ac_cv_path_GREP"; then 4143 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4144 fi 4332 4333 4334 fi 4335 4336 GREP="$ac_cv_path_GREP" 4337 if test -z "$GREP"; then 4338 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4339 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4340 { (exit 1); exit 1; }; } 4341 fi 4342 4145 4343 else 4146 4344 ac_cv_path_GREP=$GREP 4147 4345 fi 4148 4346 4149 fi 4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4151 $as_echo "$ac_cv_path_GREP" >&6; } 4347 4348 fi 4349 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4350 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4152 4351 GREP="$ac_cv_path_GREP" 4153 4352 4154 4353 4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&54156 $as_echo_n "checking for egrep..." >&6; }4157 if test "${ac_cv_path_EGREP+set}" = set; then :4158 $as_echo_n "(cached)" >&64354 { echo "$as_me:$LINENO: checking for egrep" >&5 4355 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4356 if test "${ac_cv_path_EGREP+set}" = set; then 4357 echo $ECHO_N "(cached) $ECHO_C" >&6 4159 4358 else 4160 4359 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4161 4360 then ac_cv_path_EGREP="$GREP -E" 4162 4361 else 4163 if test -z "$EGREP"; then 4362 # Extract the first word of "egrep" to use in msg output 4363 if test -z "$EGREP"; then 4364 set dummy egrep; ac_prog_name=$2 4365 if test "${ac_cv_path_EGREP+set}" = set; then 4366 echo $ECHO_N "(cached) $ECHO_C" >&6 4367 else 4164 4368 ac_path_EGREP_found=false 4165 4166 4369 # Loop through the user's path and test for each of PROGNAME-LIST 4370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4167 4371 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4168 4372 do 4169 4373 IFS=$as_save_IFS 4170 4374 test -z "$as_dir" && as_dir=. 4171 4172 4173 4174 4175 # Check for GNU ac_path_EGREP and select it if it is found.4375 for ac_prog in egrep; do 4376 for ac_exec_ext in '' $ac_executable_extensions; do 4377 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4378 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4379 # Check for GNU ac_path_EGREP and select it if it is found. 4176 4380 # Check for GNU $ac_path_EGREP 4177 4381 case `"$ac_path_EGREP" --version 2>&1` in … … 4180 4384 *) 4181 4385 ac_count=0 4182 $as_echo_n 0123456789>"conftest.in"4386 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4183 4387 while : 4184 4388 do … … 4186 4390 mv "conftest.tmp" "conftest.in" 4187 4391 cp "conftest.in" "conftest.nl" 4188 $as_echo 'EGREP' >> "conftest.nl"4392 echo 'EGREP' >> "conftest.nl" 4189 4393 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4190 4394 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4191 a s_fn_arith $ac_count + 1 && ac_count=$as_val4395 ac_count=`expr $ac_count + 1` 4192 4396 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4193 4397 # Best one so far, save it but keep looking for a better one … … 4201 4405 esac 4202 4406 4203 $ac_path_EGREP_found && break 3 4204 done4407 4408 $ac_path_EGREP_found && break 3 4205 4409 done 4206 done 4410 done 4411 4412 done 4207 4413 IFS=$as_save_IFS 4208 if test -z "$ac_cv_path_EGREP"; then 4209 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4210 fi 4414 4415 4416 fi 4417 4418 EGREP="$ac_cv_path_EGREP" 4419 if test -z "$EGREP"; then 4420 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4421 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4422 { (exit 1); exit 1; }; } 4423 fi 4424 4211 4425 else 4212 4426 ac_cv_path_EGREP=$EGREP 4213 4427 fi 4214 4428 4429 4215 4430 fi 4216 4431 fi 4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&54218 $as_echo "$ac_cv_path_EGREP" >&6; }4432 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4433 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4219 4434 EGREP="$ac_cv_path_EGREP" 4220 4435 4221 4436 4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4223 $as_echo_n "checking for ANSI C header files... " >&6; } 4224 if test "${ac_cv_header_stdc+set}" = set; then : 4225 $as_echo_n "(cached) " >&6 4226 else 4227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4437 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4438 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4439 if test "${ac_cv_header_stdc+set}" = set; then 4440 echo $ECHO_N "(cached) $ECHO_C" >&6 4441 else 4442 cat >conftest.$ac_ext <<_ACEOF 4443 /* confdefs.h. */ 4444 _ACEOF 4445 cat confdefs.h >>conftest.$ac_ext 4446 cat >>conftest.$ac_ext <<_ACEOF 4228 4447 /* end confdefs.h. */ 4229 4448 #include <stdlib.h> … … 4240 4459 } 4241 4460 _ACEOF 4242 if ac_fn_c_try_compile "$LINENO"; then : 4461 rm -f conftest.$ac_objext 4462 if { (ac_try="$ac_compile" 4463 case "(($ac_try" in 4464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4465 *) ac_try_echo=$ac_try;; 4466 esac 4467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4468 (eval "$ac_compile") 2>conftest.er1 4469 ac_status=$? 4470 grep -v '^ *+' conftest.er1 >conftest.err 4471 rm -f conftest.er1 4472 cat conftest.err >&5 4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4474 (exit $ac_status); } && { 4475 test -z "$ac_c_werror_flag" || 4476 test ! -s conftest.err 4477 } && test -s conftest.$ac_objext; then 4243 4478 ac_cv_header_stdc=yes 4244 4479 else 4245 ac_cv_header_stdc=no 4246 fi 4480 echo "$as_me: failed program was:" >&5 4481 sed 's/^/| /' conftest.$ac_ext >&5 4482 4483 ac_cv_header_stdc=no 4484 fi 4485 4247 4486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4248 4487 4249 4488 if test $ac_cv_header_stdc = yes; then 4250 4489 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4490 cat >conftest.$ac_ext <<_ACEOF 4491 /* confdefs.h. */ 4492 _ACEOF 4493 cat confdefs.h >>conftest.$ac_ext 4494 cat >>conftest.$ac_ext <<_ACEOF 4252 4495 /* end confdefs.h. */ 4253 4496 #include <string.h> … … 4255 4498 _ACEOF 4256 4499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4257 $EGREP "memchr" >/dev/null 2>&1; then :4258 4500 $EGREP "memchr" >/dev/null 2>&1; then 4501 : 4259 4502 else 4260 4503 ac_cv_header_stdc=no 4261 4504 fi 4262 rm -f conftest*4505 rm -f -r conftest* 4263 4506 4264 4507 fi … … 4266 4509 if test $ac_cv_header_stdc = yes; then 4267 4510 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4511 cat >conftest.$ac_ext <<_ACEOF 4512 /* confdefs.h. */ 4513 _ACEOF 4514 cat confdefs.h >>conftest.$ac_ext 4515 cat >>conftest.$ac_ext <<_ACEOF 4269 4516 /* end confdefs.h. */ 4270 4517 #include <stdlib.h> … … 4272 4519 _ACEOF 4273 4520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4274 $EGREP "free" >/dev/null 2>&1; then :4275 4521 $EGREP "free" >/dev/null 2>&1; then 4522 : 4276 4523 else 4277 4524 ac_cv_header_stdc=no 4278 4525 fi 4279 rm -f conftest*4526 rm -f -r conftest* 4280 4527 4281 4528 fi … … 4283 4530 if test $ac_cv_header_stdc = yes; then 4284 4531 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4285 if test "$cross_compiling" = yes; then :4532 if test "$cross_compiling" = yes; then 4286 4533 : 4287 4534 else 4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4535 cat >conftest.$ac_ext <<_ACEOF 4536 /* confdefs.h. */ 4537 _ACEOF 4538 cat confdefs.h >>conftest.$ac_ext 4539 cat >>conftest.$ac_ext <<_ACEOF 4289 4540 /* end confdefs.h. */ 4290 4541 #include <ctype.h> … … 4313 4564 } 4314 4565 _ACEOF 4315 if ac_fn_c_try_run "$LINENO"; then : 4316 4317 else 4318 ac_cv_header_stdc=no 4319 fi 4320 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4321 conftest.$ac_objext conftest.beam conftest.$ac_ext 4322 fi 4323 4324 fi 4325 fi 4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4327 $as_echo "$ac_cv_header_stdc" >&6; } 4566 rm -f conftest$ac_exeext 4567 if { (ac_try="$ac_link" 4568 case "(($ac_try" in 4569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4570 *) ac_try_echo=$ac_try;; 4571 esac 4572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4573 (eval "$ac_link") 2>&5 4574 ac_status=$? 4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4576 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4577 { (case "(($ac_try" in 4578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4579 *) ac_try_echo=$ac_try;; 4580 esac 4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4582 (eval "$ac_try") 2>&5 4583 ac_status=$? 4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4585 (exit $ac_status); }; }; then 4586 : 4587 else 4588 echo "$as_me: program exited with status $ac_status" >&5 4589 echo "$as_me: failed program was:" >&5 4590 sed 's/^/| /' conftest.$ac_ext >&5 4591 4592 ( exit $ac_status ) 4593 ac_cv_header_stdc=no 4594 fi 4595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4596 fi 4597 4598 4599 fi 4600 fi 4601 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4602 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4328 4603 if test $ac_cv_header_stdc = yes; then 4329 4604 4330 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4605 cat >>confdefs.h <<\_ACEOF 4606 #define STDC_HEADERS 1 4607 _ACEOF 4331 4608 4332 4609 fi 4333 4610 4334 4611 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4612 4613 4614 4615 4616 4617 4618 4619 4620 4335 4621 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4336 4622 inttypes.h stdint.h unistd.h 4337 do : 4338 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4339 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4340 " 4341 eval as_val=\$$as_ac_Header 4342 if test "x$as_val" = x""yes; then : 4623 do 4624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4625 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4628 echo $ECHO_N "(cached) $ECHO_C" >&6 4629 else 4630 cat >conftest.$ac_ext <<_ACEOF 4631 /* confdefs.h. */ 4632 _ACEOF 4633 cat confdefs.h >>conftest.$ac_ext 4634 cat >>conftest.$ac_ext <<_ACEOF 4635 /* end confdefs.h. */ 4636 $ac_includes_default 4637 4638 #include <$ac_header> 4639 _ACEOF 4640 rm -f conftest.$ac_objext 4641 if { (ac_try="$ac_compile" 4642 case "(($ac_try" in 4643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4644 *) ac_try_echo=$ac_try;; 4645 esac 4646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4647 (eval "$ac_compile") 2>conftest.er1 4648 ac_status=$? 4649 grep -v '^ *+' conftest.er1 >conftest.err 4650 rm -f conftest.er1 4651 cat conftest.err >&5 4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4653 (exit $ac_status); } && { 4654 test -z "$ac_c_werror_flag" || 4655 test ! -s conftest.err 4656 } && test -s conftest.$ac_objext; then 4657 eval "$as_ac_Header=yes" 4658 else 4659 echo "$as_me: failed program was:" >&5 4660 sed 's/^/| /' conftest.$ac_ext >&5 4661 4662 eval "$as_ac_Header=no" 4663 fi 4664 4665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4666 fi 4667 ac_res=`eval echo '${'$as_ac_Header'}'` 4668 { echo "$as_me:$LINENO: result: $ac_res" >&5 4669 echo "${ECHO_T}$ac_res" >&6; } 4670 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4343 4671 cat >>confdefs.h <<_ACEOF 4344 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 14672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4345 4673 _ACEOF 4346 4674 … … 4350 4678 4351 4679 4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4353 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4354 if test "${ac_cv_c_bigendian+set}" = set; then : 4355 $as_echo_n "(cached) " >&6 4356 else 4357 ac_cv_c_bigendian=unknown 4358 # See if we're dealing with a universal compiler. 4359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4360 /* end confdefs.h. */ 4361 #ifndef __APPLE_CC__ 4362 not a universal capable compiler 4363 #endif 4364 typedef int dummy; 4365 4366 _ACEOF 4367 if ac_fn_c_try_compile "$LINENO"; then : 4368 4369 # Check for potential -arch flags. It is not universal unless 4370 # there are at least two -arch flags with different values. 4371 ac_arch= 4372 ac_prev= 4373 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4374 if test -n "$ac_prev"; then 4375 case $ac_word in 4376 i?86 | x86_64 | ppc | ppc64) 4377 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4378 ac_arch=$ac_word 4379 else 4380 ac_cv_c_bigendian=universal 4381 break 4382 fi 4383 ;; 4384 esac 4385 ac_prev= 4386 elif test "x$ac_word" = "x-arch"; then 4387 ac_prev=arch 4388 fi 4389 done 4390 fi 4391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4392 if test $ac_cv_c_bigendian = unknown; then 4393 # See if sys/param.h defines the BYTE_ORDER macro. 4394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4680 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4681 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4682 if test "${ac_cv_c_bigendian+set}" = set; then 4683 echo $ECHO_N "(cached) $ECHO_C" >&6 4684 else 4685 # See if sys/param.h defines the BYTE_ORDER macro. 4686 cat >conftest.$ac_ext <<_ACEOF 4687 /* confdefs.h. */ 4688 _ACEOF 4689 cat confdefs.h >>conftest.$ac_ext 4690 cat >>conftest.$ac_ext <<_ACEOF 4395 4691 /* end confdefs.h. */ 4396 4692 #include <sys/types.h> 4397 4693 #include <sys/param.h> 4398 4694 4399 4695 int 4400 4696 main () 4401 4697 { 4402 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4403 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4404 && LITTLE_ENDIAN) 4405 bogus endian macros 4406 #endif 4698 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4699 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4700 bogus endian macros 4701 #endif 4407 4702 4408 4703 ; … … 4410 4705 } 4411 4706 _ACEOF 4412 if ac_fn_c_try_compile "$LINENO"; then : 4707 rm -f conftest.$ac_objext 4708 if { (ac_try="$ac_compile" 4709 case "(($ac_try" in 4710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4711 *) ac_try_echo=$ac_try;; 4712 esac 4713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4714 (eval "$ac_compile") 2>conftest.er1 4715 ac_status=$? 4716 grep -v '^ *+' conftest.er1 >conftest.err 4717 rm -f conftest.er1 4718 cat conftest.err >&5 4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4720 (exit $ac_status); } && { 4721 test -z "$ac_c_werror_flag" || 4722 test ! -s conftest.err 4723 } && test -s conftest.$ac_objext; then 4413 4724 # It does; now see whether it defined to BIG_ENDIAN or not. 4414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4725 cat >conftest.$ac_ext <<_ACEOF 4726 /* confdefs.h. */ 4727 _ACEOF 4728 cat confdefs.h >>conftest.$ac_ext 4729 cat >>conftest.$ac_ext <<_ACEOF 4415 4730 /* end confdefs.h. */ 4416 4731 #include <sys/types.h> 4417 4732 #include <sys/param.h> 4418 4733 4419 4734 int … … 4421 4736 { 4422 4737 #if BYTE_ORDER != BIG_ENDIAN 4423 4424 4738 not big endian 4739 #endif 4425 4740 4426 4741 ; … … 4428 4743 } 4429 4744 _ACEOF 4430 if ac_fn_c_try_compile "$LINENO"; then : 4745 rm -f conftest.$ac_objext 4746 if { (ac_try="$ac_compile" 4747 case "(($ac_try" in 4748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4749 *) ac_try_echo=$ac_try;; 4750 esac 4751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4752 (eval "$ac_compile") 2>conftest.er1 4753 ac_status=$? 4754 grep -v '^ *+' conftest.er1 >conftest.err 4755 rm -f conftest.er1 4756 cat conftest.err >&5 4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4758 (exit $ac_status); } && { 4759 test -z "$ac_c_werror_flag" || 4760 test ! -s conftest.err 4761 } && test -s conftest.$ac_objext; then 4431 4762 ac_cv_c_bigendian=yes 4432 4763 else 4433 ac_cv_c_bigendian=no 4434 fi 4764 echo "$as_me: failed program was:" >&5 4765 sed 's/^/| /' conftest.$ac_ext >&5 4766 4767 ac_cv_c_bigendian=no 4768 fi 4769 4435 4770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4436 fi 4437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4438 fi 4439 if test $ac_cv_c_bigendian = unknown; then 4440 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4442 /* end confdefs.h. */ 4443 #include <limits.h> 4444 4771 else 4772 echo "$as_me: failed program was:" >&5 4773 sed 's/^/| /' conftest.$ac_ext >&5 4774 4775 # It does not; compile a test program. 4776 if test "$cross_compiling" = yes; then 4777 # try to guess the endianness by grepping values into an object file 4778 ac_cv_c_bigendian=unknown 4779 cat >conftest.$ac_ext <<_ACEOF 4780 /* confdefs.h. */ 4781 _ACEOF 4782 cat confdefs.h >>conftest.$ac_ext 4783 cat >>conftest.$ac_ext <<_ACEOF 4784 /* end confdefs.h. */ 4785 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4786 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4787 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 4788 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4789 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4790 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 4445 4791 int 4446 4792 main () 4447 4793 { 4448 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4449 bogus endian macros 4450 #endif 4451 4794 _ascii (); _ebcdic (); 4452 4795 ; 4453 4796 return 0; 4454 4797 } 4455 4798 _ACEOF 4456 if ac_fn_c_try_compile "$LINENO"; then : 4457 # It does; now see whether it defined to _BIG_ENDIAN or not. 4458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4459 /* end confdefs.h. */ 4460 #include <limits.h> 4461 4462 int 4463 main () 4464 { 4465 #ifndef _BIG_ENDIAN 4466 not big endian 4467 #endif 4468 4469 ;4470 return 0; 4471 } 4472 _ACEOF 4473 if ac_fn_c_try_compile "$LINENO"; then : 4799 rm -f conftest.$ac_objext 4800 if { (ac_try="$ac_compile" 4801 case "(($ac_try" in 4802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4803 *) ac_try_echo=$ac_try;; 4804 esac 4805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4806 (eval "$ac_compile") 2>conftest.er1 4807 ac_status=$? 4808 grep -v '^ *+' conftest.er1 >conftest.err 4809 rm -f conftest.er1 4810 cat conftest.err >&5 4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4812 (exit $ac_status); } && { 4813 test -z "$ac_c_werror_flag" || 4814 test ! -s conftest.err 4815 } && test -s conftest.$ac_objext; then 4816 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4474 4817 ac_cv_c_bigendian=yes 4475 else 4476 ac_cv_c_bigendian=no 4477 fi 4818 fi 4819 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4820 if test "$ac_cv_c_bigendian" = unknown; then 4821 ac_cv_c_bigendian=no 4822 else 4823 # finding both strings is unlikely to happen, but who knows? 4824 ac_cv_c_bigendian=unknown 4825 fi 4826 fi 4827 else 4828 echo "$as_me: failed program was:" >&5 4829 sed 's/^/| /' conftest.$ac_ext >&5 4830 4831 4832 fi 4833 4478 4834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4479 fi 4480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4481 fi 4482 if test $ac_cv_c_bigendian = unknown; then 4483 # Compile a test program. 4484 if test "$cross_compiling" = yes; then : 4485 # Try to guess by grepping values from an object file. 4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4487 /* end confdefs.h. */ 4488 short int ascii_mm[] = 4489 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4490 short int ascii_ii[] = 4491 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4492 int use_ascii (int i) { 4493 return ascii_mm[i] + ascii_ii[i]; 4494 } 4495 short int ebcdic_ii[] = 4496 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4497 short int ebcdic_mm[] = 4498 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4499 int use_ebcdic (int i) { 4500 return ebcdic_mm[i] + ebcdic_ii[i]; 4501 } 4502 extern int foo; 4503 4504 int 4505 main () 4506 { 4507 return use_ascii (foo) == use_ebcdic (foo); 4508 ; 4509 return 0; 4510 } 4511 _ACEOF 4512 if ac_fn_c_try_compile "$LINENO"; then : 4513 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4514 ac_cv_c_bigendian=yes 4515 fi 4516 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4517 if test "$ac_cv_c_bigendian" = unknown; then 4518 ac_cv_c_bigendian=no 4519 else 4520 # finding both strings is unlikely to happen, but who knows? 4521 ac_cv_c_bigendian=unknown 4522 fi 4523 fi 4524 fi 4525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4526 else 4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4835 else 4836 cat >conftest.$ac_ext <<_ACEOF 4837 /* confdefs.h. */ 4838 _ACEOF 4839 cat confdefs.h >>conftest.$ac_ext 4840 cat >>conftest.$ac_ext <<_ACEOF 4528 4841 /* end confdefs.h. */ 4529 4842 $ac_includes_default … … 4532 4845 { 4533 4846 4534 4535 4536 4537 4538 4539 4540 4541 4847 /* Are we little or big endian? From Harbison&Steele. */ 4848 union 4849 { 4850 long int l; 4851 char c[sizeof (long int)]; 4852 } u; 4853 u.l = 1; 4854 return u.c[sizeof (long int) - 1] == 1; 4542 4855 4543 4856 ; … … 4545 4858 } 4546 4859 _ACEOF 4547 if ac_fn_c_try_run "$LINENO"; then : 4860 rm -f conftest$ac_exeext 4861 if { (ac_try="$ac_link" 4862 case "(($ac_try" in 4863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4864 *) ac_try_echo=$ac_try;; 4865 esac 4866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4867 (eval "$ac_link") 2>&5 4868 ac_status=$? 4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4870 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4871 { (case "(($ac_try" in 4872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4873 *) ac_try_echo=$ac_try;; 4874 esac 4875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4876 (eval "$ac_try") 2>&5 4877 ac_status=$? 4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4879 (exit $ac_status); }; }; then 4548 4880 ac_cv_c_bigendian=no 4549 4881 else 4550 ac_cv_c_bigendian=yes 4551 fi 4552 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4553 conftest.$ac_objext conftest.beam conftest.$ac_ext 4554 fi 4555 4556 fi 4557 fi 4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4559 $as_echo "$ac_cv_c_bigendian" >&6; } 4560 case $ac_cv_c_bigendian in #( 4561 yes) 4562 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4563 ;; #( 4564 no) 4565 ;; #( 4566 universal) 4567 4568 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4569 4570 ;; #( 4571 *) 4572 as_fn_error "unknown endianness 4573 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4574 esac 4882 echo "$as_me: program exited with status $ac_status" >&5 4883 echo "$as_me: failed program was:" >&5 4884 sed 's/^/| /' conftest.$ac_ext >&5 4885 4886 ( exit $ac_status ) 4887 ac_cv_c_bigendian=yes 4888 fi 4889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4890 fi 4891 4892 4893 fi 4894 4895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4896 fi 4897 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4898 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4899 case $ac_cv_c_bigendian in 4900 yes) 4901 4902 cat >>confdefs.h <<\_ACEOF 4903 #define WORDS_BIGENDIAN 1 4904 _ACEOF 4905 ;; 4906 no) 4907 ;; 4908 *) 4909 { { echo "$as_me:$LINENO: error: unknown endianness 4910 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4911 echo "$as_me: error: unknown endianness 4912 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4913 { (exit 1); exit 1; }; } ;; 4914 esac 4575 4915 4576 4916 4577 4917 case $target in 4578 4918 *mingw* | *cygw* | *win32* | *w32* ) 4579 $as_echo "#define PJ_WIN32 1" >>confdefs.h 4580 4581 $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 4582 4583 $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 4919 cat >>confdefs.h <<\_ACEOF 4920 #define PJ_WIN32 1 4921 _ACEOF 4922 4923 cat >>confdefs.h <<\_ACEOF 4924 #define PJ_WIN32_WINNT 0x0400 4925 _ACEOF 4926 4927 cat >>confdefs.h <<\_ACEOF 4928 #define WIN32_LEAN_AND_MEAN 1 4929 _ACEOF 4584 4930 4585 4931 ;; 4586 4932 *darwin*) 4587 $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 4933 cat >>confdefs.h <<\_ACEOF 4934 #define PJ_DARWINOS 1 4935 _ACEOF 4588 4936 4589 4937 ;; 4590 4938 *linux*) 4591 $as_echo "#define PJ_LINUX 1" >>confdefs.h 4939 cat >>confdefs.h <<\_ACEOF 4940 #define PJ_LINUX 1 4941 _ACEOF 4592 4942 4593 4943 ;; 4594 4944 *rtems*) 4595 $as_echo "#define PJ_RTEMS 1" >>confdefs.h 4945 cat >>confdefs.h <<\_ACEOF 4946 #define PJ_RTEMS 1 4947 _ACEOF 4596 4948 4597 4949 ;; 4598 4950 *sunos* | *solaris* ) 4599 $as_echo "#define PJ_SUNOS 1" >>confdefs.h 4951 cat >>confdefs.h <<\_ACEOF 4952 #define PJ_SUNOS 1 4953 _ACEOF 4600 4954 4601 4955 ;; … … 4608 4962 4609 4963 # Check whether --enable-floating-point was given. 4610 if test "${enable_floating_point+set}" = set; then :4964 if test "${enable_floating_point+set}" = set; then 4611 4965 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 4612 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 4613 4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 4615 $as_echo "Checking if floating point is disabled... yes" >&6; } 4966 cat >>confdefs.h <<\_ACEOF 4967 #define PJ_HAS_FLOATING_POINT 0 4968 _ACEOF 4969 4970 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 4971 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 4616 4972 fi 4617 4973 else 4618 4974 4619 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 4620 4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 4622 $as_echo "Checking if floating point is disabled... no" >&6; } 4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 4624 $as_echo_n "checking for fmod in -lm... " >&6; } 4625 if test "${ac_cv_lib_m_fmod+set}" = set; then : 4626 $as_echo_n "(cached) " >&6 4975 cat >>confdefs.h <<\_ACEOF 4976 #define PJ_HAS_FLOATING_POINT 1 4977 _ACEOF 4978 4979 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 4980 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 4981 4982 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 4983 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 4984 if test "${ac_cv_lib_m_fmod+set}" = set; then 4985 echo $ECHO_N "(cached) $ECHO_C" >&6 4627 4986 else 4628 4987 ac_check_lib_save_LIBS=$LIBS 4629 4988 LIBS="-lm $LIBS" 4630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4989 cat >conftest.$ac_ext <<_ACEOF 4990 /* confdefs.h. */ 4991 _ACEOF 4992 cat confdefs.h >>conftest.$ac_ext 4993 cat >>conftest.$ac_ext <<_ACEOF 4631 4994 /* end confdefs.h. */ 4632 4995 … … 4646 5009 } 4647 5010 _ACEOF 4648 if ac_fn_c_try_link "$LINENO"; then : 5011 rm -f conftest.$ac_objext conftest$ac_exeext 5012 if { (ac_try="$ac_link" 5013 case "(($ac_try" in 5014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5015 *) ac_try_echo=$ac_try;; 5016 esac 5017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5018 (eval "$ac_link") 2>conftest.er1 5019 ac_status=$? 5020 grep -v '^ *+' conftest.er1 >conftest.err 5021 rm -f conftest.er1 5022 cat conftest.err >&5 5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5024 (exit $ac_status); } && { 5025 test -z "$ac_c_werror_flag" || 5026 test ! -s conftest.err 5027 } && test -s conftest$ac_exeext && 5028 $as_test_x conftest$ac_exeext; then 4649 5029 ac_cv_lib_m_fmod=yes 4650 5030 else 4651 ac_cv_lib_m_fmod=no 4652 fi 4653 rm -f core conftest.err conftest.$ac_objext \ 4654 conftest$ac_exeext conftest.$ac_ext 5031 echo "$as_me: failed program was:" >&5 5032 sed 's/^/| /' conftest.$ac_ext >&5 5033 5034 ac_cv_lib_m_fmod=no 5035 fi 5036 5037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5038 conftest$ac_exeext conftest.$ac_ext 4655 5039 LIBS=$ac_check_lib_save_LIBS 4656 5040 fi 4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&54658 $as_echo "$ac_cv_lib_m_fmod" >&6; }4659 if test "x$ac_cv_lib_m_fmod" = x""yes; then :5041 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 5042 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 5043 if test $ac_cv_lib_m_fmod = yes; then 4660 5044 cat >>confdefs.h <<_ACEOF 4661 5045 #define HAVE_LIBM 1 … … 4671 5055 4672 5056 4673 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 4674 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 4675 $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 4676 4677 fi 4678 4679 4680 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 4681 if test "x$ac_cv_header_assert_h" = x""yes; then : 4682 $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 4683 4684 fi 4685 4686 4687 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 4688 if test "x$ac_cv_header_ctype_h" = x""yes; then : 4689 $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 5057 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5058 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5059 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5060 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5061 echo $ECHO_N "(cached) $ECHO_C" >&6 5062 fi 5063 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5064 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5065 else 5066 # Is the header compilable? 5067 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 5068 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 5069 cat >conftest.$ac_ext <<_ACEOF 5070 /* confdefs.h. */ 5071 _ACEOF 5072 cat confdefs.h >>conftest.$ac_ext 5073 cat >>conftest.$ac_ext <<_ACEOF 5074 /* end confdefs.h. */ 5075 $ac_includes_default 5076 #include <arpa/inet.h> 5077 _ACEOF 5078 rm -f conftest.$ac_objext 5079 if { (ac_try="$ac_compile" 5080 case "(($ac_try" in 5081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5082 *) ac_try_echo=$ac_try;; 5083 esac 5084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5085 (eval "$ac_compile") 2>conftest.er1 5086 ac_status=$? 5087 grep -v '^ *+' conftest.er1 >conftest.err 5088 rm -f conftest.er1 5089 cat conftest.err >&5 5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5091 (exit $ac_status); } && { 5092 test -z "$ac_c_werror_flag" || 5093 test ! -s conftest.err 5094 } && test -s conftest.$ac_objext; then 5095 ac_header_compiler=yes 5096 else 5097 echo "$as_me: failed program was:" >&5 5098 sed 's/^/| /' conftest.$ac_ext >&5 5099 5100 ac_header_compiler=no 5101 fi 5102 5103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5104 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5105 echo "${ECHO_T}$ac_header_compiler" >&6; } 5106 5107 # Is the header present? 5108 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 5109 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 5110 cat >conftest.$ac_ext <<_ACEOF 5111 /* confdefs.h. */ 5112 _ACEOF 5113 cat confdefs.h >>conftest.$ac_ext 5114 cat >>conftest.$ac_ext <<_ACEOF 5115 /* end confdefs.h. */ 5116 #include <arpa/inet.h> 5117 _ACEOF 5118 if { (ac_try="$ac_cpp conftest.$ac_ext" 5119 case "(($ac_try" in 5120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5121 *) ac_try_echo=$ac_try;; 5122 esac 5123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5124 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5125 ac_status=$? 5126 grep -v '^ *+' conftest.er1 >conftest.err 5127 rm -f conftest.er1 5128 cat conftest.err >&5 5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5130 (exit $ac_status); } >/dev/null && { 5131 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5132 test ! -s conftest.err 5133 }; then 5134 ac_header_preproc=yes 5135 else 5136 echo "$as_me: failed program was:" >&5 5137 sed 's/^/| /' conftest.$ac_ext >&5 5138 5139 ac_header_preproc=no 5140 fi 5141 5142 rm -f conftest.err conftest.$ac_ext 5143 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5144 echo "${ECHO_T}$ac_header_preproc" >&6; } 5145 5146 # So? What about this header? 5147 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5148 yes:no: ) 5149 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 5150 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5151 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 5152 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 5153 ac_header_preproc=yes 5154 ;; 5155 no:yes:* ) 5156 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 5157 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 5158 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 5159 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 5160 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 5161 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 5162 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 5163 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 5164 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 5165 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 5166 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 5167 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 5168 5169 ;; 5170 esac 5171 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5172 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5173 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5174 echo $ECHO_N "(cached) $ECHO_C" >&6 5175 else 5176 ac_cv_header_arpa_inet_h=$ac_header_preproc 5177 fi 5178 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5179 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5180 5181 fi 5182 if test $ac_cv_header_arpa_inet_h = yes; then 5183 cat >>confdefs.h <<\_ACEOF 5184 #define PJ_HAS_ARPA_INET_H 1 5185 _ACEOF 5186 5187 fi 5188 5189 5190 if test "${ac_cv_header_assert_h+set}" = set; then 5191 { echo "$as_me:$LINENO: checking for assert.h" >&5 5192 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5193 if test "${ac_cv_header_assert_h+set}" = set; then 5194 echo $ECHO_N "(cached) $ECHO_C" >&6 5195 fi 5196 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5197 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5198 else 5199 # Is the header compilable? 5200 { echo "$as_me:$LINENO: checking assert.h usability" >&5 5201 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 5202 cat >conftest.$ac_ext <<_ACEOF 5203 /* confdefs.h. */ 5204 _ACEOF 5205 cat confdefs.h >>conftest.$ac_ext 5206 cat >>conftest.$ac_ext <<_ACEOF 5207 /* end confdefs.h. */ 5208 $ac_includes_default 5209 #include <assert.h> 5210 _ACEOF 5211 rm -f conftest.$ac_objext 5212 if { (ac_try="$ac_compile" 5213 case "(($ac_try" in 5214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5215 *) ac_try_echo=$ac_try;; 5216 esac 5217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5218 (eval "$ac_compile") 2>conftest.er1 5219 ac_status=$? 5220 grep -v '^ *+' conftest.er1 >conftest.err 5221 rm -f conftest.er1 5222 cat conftest.err >&5 5223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5224 (exit $ac_status); } && { 5225 test -z "$ac_c_werror_flag" || 5226 test ! -s conftest.err 5227 } && test -s conftest.$ac_objext; then 5228 ac_header_compiler=yes 5229 else 5230 echo "$as_me: failed program was:" >&5 5231 sed 's/^/| /' conftest.$ac_ext >&5 5232 5233 ac_header_compiler=no 5234 fi 5235 5236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5237 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5238 echo "${ECHO_T}$ac_header_compiler" >&6; } 5239 5240 # Is the header present? 5241 { echo "$as_me:$LINENO: checking assert.h presence" >&5 5242 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 5243 cat >conftest.$ac_ext <<_ACEOF 5244 /* confdefs.h. */ 5245 _ACEOF 5246 cat confdefs.h >>conftest.$ac_ext 5247 cat >>conftest.$ac_ext <<_ACEOF 5248 /* end confdefs.h. */ 5249 #include <assert.h> 5250 _ACEOF 5251 if { (ac_try="$ac_cpp conftest.$ac_ext" 5252 case "(($ac_try" in 5253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5254 *) ac_try_echo=$ac_try;; 5255 esac 5256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5257 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5258 ac_status=$? 5259 grep -v '^ *+' conftest.er1 >conftest.err 5260 rm -f conftest.er1 5261 cat conftest.err >&5 5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5263 (exit $ac_status); } >/dev/null && { 5264 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5265 test ! -s conftest.err 5266 }; then 5267 ac_header_preproc=yes 5268 else 5269 echo "$as_me: failed program was:" >&5 5270 sed 's/^/| /' conftest.$ac_ext >&5 5271 5272 ac_header_preproc=no 5273 fi 5274 5275 rm -f conftest.err conftest.$ac_ext 5276 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5277 echo "${ECHO_T}$ac_header_preproc" >&6; } 5278 5279 # So? What about this header? 5280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5281 yes:no: ) 5282 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 5283 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5284 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 5285 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 5286 ac_header_preproc=yes 5287 ;; 5288 no:yes:* ) 5289 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 5290 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 5291 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5 5292 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;} 5293 { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 5294 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 5295 { echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5 5296 echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;} 5297 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 5298 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 5299 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 5300 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 5301 5302 ;; 5303 esac 5304 { echo "$as_me:$LINENO: checking for assert.h" >&5 5305 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5306 if test "${ac_cv_header_assert_h+set}" = set; then 5307 echo $ECHO_N "(cached) $ECHO_C" >&6 5308 else 5309 ac_cv_header_assert_h=$ac_header_preproc 5310 fi 5311 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5312 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5313 5314 fi 5315 if test $ac_cv_header_assert_h = yes; then 5316 cat >>confdefs.h <<\_ACEOF 5317 #define PJ_HAS_ASSERT_H 1 5318 _ACEOF 5319 5320 fi 5321 5322 5323 if test "${ac_cv_header_ctype_h+set}" = set; then 5324 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5325 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5326 if test "${ac_cv_header_ctype_h+set}" = set; then 5327 echo $ECHO_N "(cached) $ECHO_C" >&6 5328 fi 5329 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5330 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5331 else 5332 # Is the header compilable? 5333 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 5334 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 5335 cat >conftest.$ac_ext <<_ACEOF 5336 /* confdefs.h. */ 5337 _ACEOF 5338 cat confdefs.h >>conftest.$ac_ext 5339 cat >>conftest.$ac_ext <<_ACEOF 5340 /* end confdefs.h. */ 5341 $ac_includes_default 5342 #include <ctype.h> 5343 _ACEOF 5344 rm -f conftest.$ac_objext 5345 if { (ac_try="$ac_compile" 5346 case "(($ac_try" in 5347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5348 *) ac_try_echo=$ac_try;; 5349 esac 5350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5351 (eval "$ac_compile") 2>conftest.er1 5352 ac_status=$? 5353 grep -v '^ *+' conftest.er1 >conftest.err 5354 rm -f conftest.er1 5355 cat conftest.err >&5 5356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5357 (exit $ac_status); } && { 5358 test -z "$ac_c_werror_flag" || 5359 test ! -s conftest.err 5360 } && test -s conftest.$ac_objext; then 5361 ac_header_compiler=yes 5362 else 5363 echo "$as_me: failed program was:" >&5 5364 sed 's/^/| /' conftest.$ac_ext >&5 5365 5366 ac_header_compiler=no 5367 fi 5368 5369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5370 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5371 echo "${ECHO_T}$ac_header_compiler" >&6; } 5372 5373 # Is the header present? 5374 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 5375 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 5376 cat >conftest.$ac_ext <<_ACEOF 5377 /* confdefs.h. */ 5378 _ACEOF 5379 cat confdefs.h >>conftest.$ac_ext 5380 cat >>conftest.$ac_ext <<_ACEOF 5381 /* end confdefs.h. */ 5382 #include <ctype.h> 5383 _ACEOF 5384 if { (ac_try="$ac_cpp conftest.$ac_ext" 5385 case "(($ac_try" in 5386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5387 *) ac_try_echo=$ac_try;; 5388 esac 5389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5390 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5391 ac_status=$? 5392 grep -v '^ *+' conftest.er1 >conftest.err 5393 rm -f conftest.er1 5394 cat conftest.err >&5 5395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5396 (exit $ac_status); } >/dev/null && { 5397 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5398 test ! -s conftest.err 5399 }; then 5400 ac_header_preproc=yes 5401 else 5402 echo "$as_me: failed program was:" >&5 5403 sed 's/^/| /' conftest.$ac_ext >&5 5404 5405 ac_header_preproc=no 5406 fi 5407 5408 rm -f conftest.err conftest.$ac_ext 5409 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5410 echo "${ECHO_T}$ac_header_preproc" >&6; } 5411 5412 # So? What about this header? 5413 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5414 yes:no: ) 5415 { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 5416 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5417 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 5418 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 5419 ac_header_preproc=yes 5420 ;; 5421 no:yes:* ) 5422 { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 5423 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 5424 { echo "$as_me:$LINENO: WARNING: ctype.h: check for missing prerequisite headers?" >&5 5425 echo "$as_me: WARNING: ctype.h: check for missing prerequisite headers?" >&2;} 5426 { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 5427 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 5428 { echo "$as_me:$LINENO: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&5 5429 echo "$as_me: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&2;} 5430 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 5431 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 5432 { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 5433 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 5434 5435 ;; 5436 esac 5437 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5438 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5439 if test "${ac_cv_header_ctype_h+set}" = set; then 5440 echo $ECHO_N "(cached) $ECHO_C" >&6 5441 else 5442 ac_cv_header_ctype_h=$ac_header_preproc 5443 fi 5444 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5445 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5446 5447 fi 5448 if test $ac_cv_header_ctype_h = yes; then 5449 cat >>confdefs.h <<\_ACEOF 5450 #define PJ_HAS_CTYPE_H 1 5451 _ACEOF 4690 5452 4691 5453 fi … … 4695 5457 case $target in 4696 5458 *mingw* | *cygw* | *win32* | *w32* ) 4697 $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 5459 cat >>confdefs.h <<\_ACEOF 5460 #define PJ_HAS_ERRNO_H 0 5461 _ACEOF 4698 5462 4699 5463 ;; 4700 5464 *) 4701 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 4702 if test "x$ac_cv_header_errno_h" = x""yes; then : 4703 $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 5465 if test "${ac_cv_header_errno_h+set}" = set; then 5466 { echo "$as_me:$LINENO: checking for errno.h" >&5 5467 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 5468 if test "${ac_cv_header_errno_h+set}" = set; then 5469 echo $ECHO_N "(cached) $ECHO_C" >&6 5470 fi 5471 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5472 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 5473 else 5474 # Is the header compilable? 5475 { echo "$as_me:$LINENO: checking errno.h usability" >&5 5476 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 5477 cat >conftest.$ac_ext <<_ACEOF 5478 /* confdefs.h. */ 5479 _ACEOF 5480 cat confdefs.h >>conftest.$ac_ext 5481 cat >>conftest.$ac_ext <<_ACEOF 5482 /* end confdefs.h. */ 5483 $ac_includes_default 5484 #include <errno.h> 5485 _ACEOF 5486 rm -f conftest.$ac_objext 5487 if { (ac_try="$ac_compile" 5488 case "(($ac_try" in 5489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5490 *) ac_try_echo=$ac_try;; 5491 esac 5492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5493 (eval "$ac_compile") 2>conftest.er1 5494 ac_status=$? 5495 grep -v '^ *+' conftest.er1 >conftest.err 5496 rm -f conftest.er1 5497 cat conftest.err >&5 5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5499 (exit $ac_status); } && { 5500 test -z "$ac_c_werror_flag" || 5501 test ! -s conftest.err 5502 } && test -s conftest.$ac_objext; then 5503 ac_header_compiler=yes 5504 else 5505 echo "$as_me: failed program was:" >&5 5506 sed 's/^/| /' conftest.$ac_ext >&5 5507 5508 ac_header_compiler=no 5509 fi 5510 5511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5512 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5513 echo "${ECHO_T}$ac_header_compiler" >&6; } 5514 5515 # Is the header present? 5516 { echo "$as_me:$LINENO: checking errno.h presence" >&5 5517 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; } 5518 cat >conftest.$ac_ext <<_ACEOF 5519 /* confdefs.h. */ 5520 _ACEOF 5521 cat confdefs.h >>conftest.$ac_ext 5522 cat >>conftest.$ac_ext <<_ACEOF 5523 /* end confdefs.h. */ 5524 #include <errno.h> 5525 _ACEOF 5526 if { (ac_try="$ac_cpp conftest.$ac_ext" 5527 case "(($ac_try" in 5528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5529 *) ac_try_echo=$ac_try;; 5530 esac 5531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5533 ac_status=$?