Changeset 3395
- Timestamp:
- Dec 14, 2010 1:03:10 PM (14 years ago)
- Location:
- pjproject/branches/projects/2.0-dev
- Files:
-
- 4 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/aconfigure
r3393 r3395 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_pjmedia_video 699 ac_ios_cflags 700 ac_pjmedia_video_has_qt 701 ac_qt_cflags 702 ac_no_small_filter 703 ac_no_large_filter 704 ac_no_speex_aec 705 ac_no_g711_codec 706 ac_no_l16_codec 707 ac_no_gsm_codec 708 ac_no_g722_codec 709 ac_no_g7221_codec 710 ac_no_speex_codec 711 ac_no_ilbc_codec 712 ac_sdl_cflags 713 ac_sdl_ldflags 714 ac_has_ffmpeg 715 ac_ffmpeg_cflags 716 ac_ffmpeg_ldflags 717 ac_v4l2_cflags 718 ac_v4l2_ldflags 719 ac_no_ssl 720 openssl_h_present 721 libssl_present 722 libcrypto_present 723 ac_cross_compile 724 ac_linux_poll 725 ac_host 726 ac_main_obj 594 727 LIBOBJS 595 ac_main_obj 596 ac_host 597 ac_linux_poll 598 ac_cross_compile 599 libcrypto_present 600 libssl_present 601 openssl_h_present 602 ac_no_ssl 603 ac_v4l2_ldflags 604 ac_v4l2_cflags 605 ac_ffmpeg_ldflags 606 ac_ffmpeg_cflags 607 ac_has_ffmpeg 608 ac_sdl_ldflags 609 ac_sdl_cflags 610 ac_no_ilbc_codec 611 ac_no_speex_codec 612 ac_no_g7221_codec 613 ac_no_g722_codec 614 ac_no_gsm_codec 615 ac_no_l16_codec 616 ac_no_g711_codec 617 ac_no_speex_aec 618 ac_no_large_filter 619 ac_no_small_filter 620 ac_pa_use_oss 621 ac_pa_use_alsa 622 ac_pa_cflags 623 ac_external_pa 624 ac_pjmedia_snd 625 ac_external_gsm 626 ac_external_speex 627 ac_os_objs 628 EGREP 629 GREP 630 CPP 631 ac_build_mak_vars 632 ac_pjdir 633 CC_CFLAGS 634 CC_OPTIMIZE 635 CC_DEF 636 CC_INC 637 CC_OUT 638 LIBEXT2 639 LIBEXT 640 RANLIB 641 LDOUT 642 LD 643 AR 644 ac_ct_CXX 645 CXXFLAGS 646 CXX 647 OBJEXT 648 EXEEXT 649 ac_ct_CC 650 CPPFLAGS 651 LDFLAGS 652 CFLAGS 653 CC 654 target_os 655 target_vendor 656 target_cpu 657 target 658 host_os 659 host_vendor 660 host_cpu 661 host 662 build_os 663 build_vendor 664 build_cpu 665 build 666 target_alias 667 host_alias 668 build_alias 669 LIBS 670 ECHO_T 671 ECHO_N 672 ECHO_C 673 DEFS 674 mandir 675 localedir 676 libdir 677 psdir 678 pdfdir 679 dvidir 680 htmldir 681 infodir 682 docdir 683 oldincludedir 684 includedir 685 localstatedir 686 sharedstatedir 687 sysconfdir 688 datadir 689 datarootdir 690 libexecdir 691 sbindir 692 bindir 693 program_transform_name 694 prefix 695 exec_prefix 696 PACKAGE_URL 697 PACKAGE_BUGREPORT 698 PACKAGE_STRING 699 PACKAGE_VERSION 700 PACKAGE_TARNAME 701 PACKAGE_NAME 702 PATH_SEPARATOR 703 SHELL' 728 LTLIBOBJS' 704 729 ac_subst_files='' 705 ac_user_opts='706 enable_option_checking707 enable_floating_point708 enable_epoll709 with_external_speex710 with_external_gsm711 enable_sound712 with_external_pa713 enable_oss714 enable_ext_sound715 enable_small_filter716 enable_large_filter717 enable_speex_aec718 enable_g711_codec719 enable_l16_codec720 enable_gsm_codec721 enable_g722_codec722 enable_g7221_codec723 enable_speex_codec724 enable_ilbc_codec725 enable_libsamplerate726 enable_sdl727 enable_ffmpeg728 enable_v4l2729 enable_ipp730 with_ipp731 with_ipp_samples732 with_ipp_arch733 enable_ssl734 '735 730 ac_precious_vars='build_alias 736 731 host_alias … … 750 745 ac_init_help= 751 746 ac_init_version=false 752 ac_unrecognized_opts=753 ac_unrecognized_sep=754 747 # The variables have the same names as the options, with 755 748 # dashes changed to underlines. … … 850 843 851 844 -disable-* | --disable-*) 852 ac_ useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`845 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 853 846 # Reject names that are not valid shell variable names. 854 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 855 as_fn_error "invalid feature name: $ac_useropt" 856 ac_useropt_orig=$ac_useropt 857 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 858 case $ac_user_opts in 859 *" 860 "enable_$ac_useropt" 861 "*) ;; 862 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 863 ac_unrecognized_sep=', ';; 864 esac 865 eval enable_$ac_useropt=no ;; 847 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 848 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 849 { (exit 1); exit 1; }; } 850 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 851 eval enable_$ac_feature=no ;; 866 852 867 853 -docdir | --docdir | --docdi | --doc | --do) … … 876 862 877 863 -enable-* | --enable-*) 878 ac_ useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`864 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 879 865 # Reject names that are not valid shell variable names. 880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 881 as_fn_error "invalid feature name: $ac_useropt" 882 ac_useropt_orig=$ac_useropt 883 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 884 case $ac_user_opts in 885 *" 886 "enable_$ac_useropt" 887 "*) ;; 888 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 889 ac_unrecognized_sep=', ';; 890 esac 891 eval enable_$ac_useropt=\$ac_optarg ;; 866 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 867 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 868 { (exit 1); exit 1; }; } 869 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 870 eval enable_$ac_feature=\$ac_optarg ;; 892 871 893 872 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1080 1059 1081 1060 -with-* | --with-*) 1082 ac_ useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1061 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1083 1062 # Reject names that are not valid shell variable names. 1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1085 as_fn_error "invalid package name: $ac_useropt" 1086 ac_useropt_orig=$ac_useropt 1087 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1088 case $ac_user_opts in 1089 *" 1090 "with_$ac_useropt" 1091 "*) ;; 1092 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1093 ac_unrecognized_sep=', ';; 1094 esac 1095 eval with_$ac_useropt=\$ac_optarg ;; 1063 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1064 { echo "$as_me: error: invalid package name: $ac_package" >&2 1065 { (exit 1); exit 1; }; } 1066 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1067 eval with_$ac_package=\$ac_optarg ;; 1096 1068 1097 1069 -without-* | --without-*) 1098 ac_ useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`1070 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1099 1071 # Reject names that are not valid shell variable names. 1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1101 as_fn_error "invalid package name: $ac_useropt" 1102 ac_useropt_orig=$ac_useropt 1103 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1104 case $ac_user_opts in 1105 *" 1106 "with_$ac_useropt" 1107 "*) ;; 1108 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1109 ac_unrecognized_sep=', ';; 1110 esac 1111 eval with_$ac_useropt=no ;; 1072 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1073 { echo "$as_me: error: invalid package name: $ac_package" >&2 1074 { (exit 1); exit 1; }; } 1075 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1076 eval with_$ac_package=no ;; 1112 1077 1113 1078 --x) … … 1129 1094 x_libraries=$ac_optarg ;; 1130 1095 1131 -*) as_fn_error "unrecognized option: \`$ac_option' 1132 Try \`$0 --help' for more information." 1096 -*) { echo "$as_me: error: unrecognized option: $ac_option 1097 Try \`$0 --help' for more information." >&2 1098 { (exit 1); exit 1; }; } 1133 1099 ;; 1134 1100 … … 1136 1102 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1137 1103 # Reject names that are not valid shell variable names. 1138 case $ac_envvar in #( 1139 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1140 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1141 esac 1104 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1105 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1106 { (exit 1); exit 1; }; } 1142 1107 eval $ac_envvar=\$ac_optarg 1143 1108 export $ac_envvar ;; … … 1145 1110 *) 1146 1111 # FIXME: should be removed in autoconf 3.0. 1147 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&21112 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1148 1113 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1149 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&21114 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1150 1115 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1151 1116 ;; … … 1156 1121 if test -n "$ac_prev"; then 1157 1122 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1158 as_fn_error "missing argument to $ac_option" 1159 fi 1160 1161 if test -n "$ac_unrecognized_opts"; then 1162 case $enable_option_checking in 1163 no) ;; 1164 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1165 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1166 esac 1167 fi 1168 1169 # Check all directory arguments for consistency. 1123 { echo "$as_me: error: missing argument to $ac_option" >&2 1124 { (exit 1); exit 1; }; } 1125 fi 1126 1127 # Be sure to have absolute directory names. 1170 1128 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1171 1129 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1174 1132 do 1175 1133 eval ac_val=\$$ac_var 1176 # Remove trailing slashes.1177 case $ac_val in1178 */ )1179 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`1180 eval $ac_var=\$ac_val;;1181 esac1182 # Be sure to have absolute directory names.1183 1134 case $ac_val in 1184 1135 [\\/$]* | ?:[\\/]* ) continue;; 1185 1136 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1186 1137 esac 1187 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1138 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1139 { (exit 1); exit 1; }; } 1188 1140 done 1189 1141 … … 1199 1151 if test "x$build_alias" = x; then 1200 1152 cross_compiling=maybe 1201 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1153 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1202 1154 If a cross compiler is detected then cross compile mode will be used." >&2 1203 1155 elif test "x$build_alias" != "x$host_alias"; then … … 1215 1167 ac_ls_di=`ls -di .` && 1216 1168 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1217 as_fn_error "working directory cannot be determined" 1169 { echo "$as_me: error: Working directory cannot be determined" >&2 1170 { (exit 1); exit 1; }; } 1218 1171 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1219 as_fn_error "pwd does not report name of working directory" 1172 { echo "$as_me: error: pwd does not report name of working directory" >&2 1173 { (exit 1); exit 1; }; } 1220 1174 1221 1175 … … 1224 1178 ac_srcdir_defaulted=yes 1225 1179 # Try the directory containing this script, then the parent directory. 1226 ac_confdir=`$as_dirname -- "$ as_myself" ||1227 $as_expr X"$ as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1228 X"$ as_myself" : 'X\(//\)[^/]' \| \1229 X"$ as_myself" : 'X\(//\)$' \| \1230 X"$ as_myself" : 'X\(/\)' \| . 2>/dev/null ||1231 $as_echo X"$as_myself" |1180 ac_confdir=`$as_dirname -- "$0" || 1181 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1182 X"$0" : 'X\(//\)[^/]' \| \ 1183 X"$0" : 'X\(//\)$' \| \ 1184 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1185 echo X"$0" | 1232 1186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1233 1187 s//\1/ … … 1256 1210 if test ! -r "$srcdir/$ac_unique_file"; then 1257 1211 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1258 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1212 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1213 { (exit 1); exit 1; }; } 1259 1214 fi 1260 1215 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1261 1216 ac_abs_confdir=`( 1262 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1217 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1218 { (exit 1); exit 1; }; } 1263 1219 pwd)` 1264 1220 # When building in place, set srcdir=. … … 1308 1264 Installation directories: 1309 1265 --prefix=PREFIX install architecture-independent files in PREFIX 1310 1266 [$ac_default_prefix] 1311 1267 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1312 1268 [PREFIX] 1313 1269 1314 1270 By default, \`make install' will install all the files in … … 1320 1276 1321 1277 Fine tuning of the installation directories: 1322 --bindir=DIR 1323 --sbindir=DIR 1324 --libexecdir=DIR 1325 --sysconfdir=DIR 1326 --sharedstatedir=DIR 1327 --localstatedir=DIR 1328 --libdir=DIR 1329 --includedir=DIR 1330 --oldincludedir=DIR 1331 --datarootdir=DIR 1332 --datadir=DIR 1333 --infodir=DIR 1334 --localedir=DIR 1335 --mandir=DIR 1336 --docdir=DIR 1337 --htmldir=DIR 1338 --dvidir=DIR 1339 --pdfdir=DIR 1340 --psdir=DIR 1278 --bindir=DIR user executables [EPREFIX/bin] 1279 --sbindir=DIR system admin executables [EPREFIX/sbin] 1280 --libexecdir=DIR program executables [EPREFIX/libexec] 1281 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1282 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1283 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1284 --libdir=DIR object code libraries [EPREFIX/lib] 1285 --includedir=DIR C header files [PREFIX/include] 1286 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1287 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1288 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1289 --infodir=DIR info documentation [DATAROOTDIR/info] 1290 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1291 --mandir=DIR man documentation [DATAROOTDIR/man] 1292 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1293 --htmldir=DIR html documentation [DOCDIR] 1294 --dvidir=DIR dvi documentation [DOCDIR] 1295 --pdfdir=DIR pdf documentation [DOCDIR] 1296 --psdir=DIR ps documentation [DOCDIR] 1341 1297 _ACEOF 1342 1298 … … 1357 1313 1358 1314 Optional Features: 1359 --disable-option-checking ignore unrecognized --enable/--with options1360 1315 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1361 1316 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1417 1372 nonstandard directory <lib dir> 1418 1373 LIBS libraries to pass to the linker, e.g. -l<library> 1419 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1374 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1420 1375 you have headers in a nonstandard directory <include dir> 1421 1376 CXX C++ compiler command … … 1426 1381 it to find libraries and programs with nonstandard names/locations. 1427 1382 1428 Report bugs to the package provider.1429 1383 _ACEOF 1430 1384 ac_status=$? … … 1434 1388 # If there are subdirs, report their specific --help. 1435 1389 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1436 test -d "$ac_dir" || 1437 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1438 continue 1390 test -d "$ac_dir" || continue 1439 1391 ac_builddir=. 1440 1392 … … 1442 1394 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1443 1395 *) 1444 ac_dir_suffix=/` $as_echo "$ac_dir" | sed 's|^\.[\\/]||'`1396 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1445 1397 # A ".." for each directory in $ac_dir_suffix. 1446 ac_top_builddir_sub=` $as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`1398 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1447 1399 case $ac_top_builddir_sub in 1448 1400 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1480 1432 $SHELL "$ac_srcdir/configure" --help=recursive 1481 1433 else 1482 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21434 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1483 1435 fi || ac_status=$? 1484 1436 cd "$ac_pwd" || { ac_status=$?; break; } … … 1490 1442 cat <<\_ACEOF 1491 1443 pjproject configure 1.x 1492 generated by GNU Autoconf 2.65 1493 1494 Copyright (C) 2009 Free Software Foundation, Inc. 1444 generated by GNU Autoconf 2.61 1445 1446 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1447 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1495 1448 This configure script is free software; the Free Software Foundation 1496 1449 gives unlimited permission to copy, distribute and modify it. … … 1498 1451 exit 1499 1452 fi 1500 1501 ## ------------------------ ##1502 ## Autoconf initialization. ##1503 ## ------------------------ ##1504 1505 # ac_fn_c_try_compile LINENO1506 # --------------------------1507 # Try to compile conftest.$ac_ext, and return whether this succeeded.1508 ac_fn_c_try_compile ()1509 {1510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1511 rm -f conftest.$ac_objext1512 if { { ac_try="$ac_compile"1513 case "(($ac_try" in1514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1515 *) ac_try_echo=$ac_try;;1516 esac1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1518 $as_echo "$ac_try_echo"; } >&51519 (eval "$ac_compile") 2>conftest.err1520 ac_status=$?1521 if test -s conftest.err; then1522 grep -v '^ *+' conftest.err >conftest.er11523 cat conftest.er1 >&51524 mv -f conftest.er1 conftest.err1525 fi1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51527 test $ac_status = 0; } && {1528 test -z "$ac_c_werror_flag" ||1529 test ! -s conftest.err1530 } && test -s conftest.$ac_objext; then :1531 ac_retval=01532 else1533 $as_echo "$as_me: failed program was:" >&51534 sed 's/^/| /' conftest.$ac_ext >&51535 1536 ac_retval=11537 fi1538 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1539 as_fn_set_status $ac_retval1540 1541 } # ac_fn_c_try_compile1542 1543 # ac_fn_cxx_try_compile LINENO1544 # ----------------------------1545 # Try to compile conftest.$ac_ext, and return whether this succeeded.1546 ac_fn_cxx_try_compile ()1547 {1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1549 rm -f conftest.$ac_objext1550 if { { ac_try="$ac_compile"1551 case "(($ac_try" in1552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1553 *) ac_try_echo=$ac_try;;1554 esac1555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1556 $as_echo "$ac_try_echo"; } >&51557 (eval "$ac_compile") 2>conftest.err1558 ac_status=$?1559 if test -s conftest.err; then1560 grep -v '^ *+' conftest.err >conftest.er11561 cat conftest.er1 >&51562 mv -f conftest.er1 conftest.err1563 fi1564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51565 test $ac_status = 0; } && {1566 test -z "$ac_cxx_werror_flag" ||1567 test ! -s conftest.err1568 } && test -s conftest.$ac_objext; then :1569 ac_retval=01570 else1571 $as_echo "$as_me: failed program was:" >&51572 sed 's/^/| /' conftest.$ac_ext >&51573 1574 ac_retval=11575 fi1576 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1577 as_fn_set_status $ac_retval1578 1579 } # ac_fn_cxx_try_compile1580 1581 # ac_fn_c_try_link LINENO1582 # -----------------------1583 # Try to link conftest.$ac_ext, and return whether this succeeded.1584 ac_fn_c_try_link ()1585 {1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1587 rm -f conftest.$ac_objext conftest$ac_exeext1588 if { { ac_try="$ac_link"1589 case "(($ac_try" in1590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1591 *) ac_try_echo=$ac_try;;1592 esac1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1594 $as_echo "$ac_try_echo"; } >&51595 (eval "$ac_link") 2>conftest.err1596 ac_status=$?1597 if test -s conftest.err; then1598 grep -v '^ *+' conftest.err >conftest.er11599 cat conftest.er1 >&51600 mv -f conftest.er1 conftest.err1601 fi1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51603 test $ac_status = 0; } && {1604 test -z "$ac_c_werror_flag" ||1605 test ! -s conftest.err1606 } && test -s conftest$ac_exeext && {1607 test "$cross_compiling" = yes ||1608 $as_test_x conftest$ac_exeext1609 }; then :1610 ac_retval=01611 else1612 $as_echo "$as_me: failed program was:" >&51613 sed 's/^/| /' conftest.$ac_ext >&51614 1615 ac_retval=11616 fi1617 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1618 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1619 # interfere with the next link command; also delete a directory that is1620 # left behind by Apple's compiler. We do this before executing the actions.1621 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1622 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1623 as_fn_set_status $ac_retval1624 1625 } # ac_fn_c_try_link1626 1627 # ac_fn_c_try_run LINENO1628 # ----------------------1629 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1630 # that executables *can* be run.1631 ac_fn_c_try_run ()1632 {1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1634 if { { ac_try="$ac_link"1635 case "(($ac_try" in1636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1637 *) ac_try_echo=$ac_try;;1638 esac1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1640 $as_echo "$ac_try_echo"; } >&51641 (eval "$ac_link") 2>&51642 ac_status=$?1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51644 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1645 { { case "(($ac_try" in1646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1647 *) ac_try_echo=$ac_try;;1648 esac1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1650 $as_echo "$ac_try_echo"; } >&51651 (eval "$ac_try") 2>&51652 ac_status=$?1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51654 test $ac_status = 0; }; }; then :1655 ac_retval=01656 else1657 $as_echo "$as_me: program exited with status $ac_status" >&51658 $as_echo "$as_me: failed program was:" >&51659 sed 's/^/| /' conftest.$ac_ext >&51660 1661 ac_retval=$ac_status1662 fi1663 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1664 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1665 as_fn_set_status $ac_retval1666 1667 } # ac_fn_c_try_run1668 1669 # ac_fn_c_try_cpp LINENO1670 # ----------------------1671 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1672 ac_fn_c_try_cpp ()1673 {1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1675 if { { ac_try="$ac_cpp conftest.$ac_ext"1676 case "(($ac_try" in1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1678 *) ac_try_echo=$ac_try;;1679 esac1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1681 $as_echo "$ac_try_echo"; } >&51682 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1683 ac_status=$?1684 if test -s conftest.err; then1685 grep -v '^ *+' conftest.err >conftest.er11686 cat conftest.er1 >&51687 mv -f conftest.er1 conftest.err1688 fi1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51690 test $ac_status = 0; } >/dev/null && {1691 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1692 test ! -s conftest.err1693 }; then :1694 ac_retval=01695 else1696 $as_echo "$as_me: failed program was:" >&51697 sed 's/^/| /' conftest.$ac_ext >&51698 1699 ac_retval=11700 fi1701 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1702 as_fn_set_status $ac_retval1703 1704 } # ac_fn_c_try_cpp1705 1706 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1707 # -------------------------------------------------------1708 # Tests whether HEADER exists and can be compiled using the include files in1709 # INCLUDES, setting the cache variable VAR accordingly.1710 ac_fn_c_check_header_compile ()1711 {1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51714 $as_echo_n "checking for $2... " >&6; }1715 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1716 $as_echo_n "(cached) " >&61717 else1718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1719 /* end confdefs.h. */1720 $41721 #include <$2>1722 _ACEOF1723 if ac_fn_c_try_compile "$LINENO"; then :1724 eval "$3=yes"1725 else1726 eval "$3=no"1727 fi1728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1729 fi1730 eval ac_res=\$$31731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51732 $as_echo "$ac_res" >&6; }1733 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1734 1735 } # ac_fn_c_check_header_compile1736 1737 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES1738 # -------------------------------------------------------1739 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1740 # the include files in INCLUDES and setting the cache variable VAR1741 # accordingly.1742 ac_fn_c_check_header_mongrel ()1743 {1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1745 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51747 $as_echo_n "checking for $2... " >&6; }1748 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1749 $as_echo_n "(cached) " >&61750 fi1751 eval ac_res=\$$31752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51753 $as_echo "$ac_res" >&6; }1754 else1755 # Is the header compilable?1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51757 $as_echo_n "checking $2 usability... " >&6; }1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1759 /* end confdefs.h. */1760 $41761 #include <$2>1762 _ACEOF1763 if ac_fn_c_try_compile "$LINENO"; then :1764 ac_header_compiler=yes1765 else1766 ac_header_compiler=no1767 fi1768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51770 $as_echo "$ac_header_compiler" >&6; }1771 1772 # Is the header present?1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51774 $as_echo_n "checking $2 presence... " >&6; }1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1776 /* end confdefs.h. */1777 #include <$2>1778 _ACEOF1779 if ac_fn_c_try_cpp "$LINENO"; then :1780 ac_header_preproc=yes1781 else1782 ac_header_preproc=no1783 fi1784 rm -f conftest.err conftest.$ac_ext1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&51786 $as_echo "$ac_header_preproc" >&6; }1787 1788 # So? What about this header?1789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((1790 yes:no: )1791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&51792 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}1793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51794 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1795 ;;1796 no:yes:* )1797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&51798 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&51800 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}1801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&51802 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}1803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&51804 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51806 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1807 ;;1808 esac1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51810 $as_echo_n "checking for $2... " >&6; }1811 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1812 $as_echo_n "(cached) " >&61813 else1814 eval "$3=\$ac_header_compiler"1815 fi1816 eval ac_res=\$$31817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51818 $as_echo "$ac_res" >&6; }1819 fi1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1821 1822 } # ac_fn_c_check_header_mongrel1823 1824 # ac_fn_c_check_func LINENO FUNC VAR1825 # ----------------------------------1826 # Tests whether FUNC exists, setting the cache variable VAR accordingly1827 ac_fn_c_check_func ()1828 {1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51831 $as_echo_n "checking for $2... " >&6; }1832 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1833 $as_echo_n "(cached) " >&61834 else1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1836 /* end confdefs.h. */1837 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.1838 For example, HP-UX 11i <limits.h> declares gettimeofday. */1839 #define $2 innocuous_$21840 1841 /* System header to define __stub macros and hopefully few prototypes,1842 which can conflict with char $2 (); below.1843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1844 <limits.h> exists even on freestanding compilers. */1845 1846 #ifdef __STDC__1847 # include <limits.h>1848 #else1849 # include <assert.h>1850 #endif1851 1852 #undef $21853 1854 /* Override any GCC internal prototype to avoid an error.1855 Use char because int might match the return type of a GCC1856 builtin and then its argument prototype would still apply. */1857 #ifdef __cplusplus1858 extern "C"1859 #endif1860 char $2 ();1861 /* The GNU C library defines this for functions which it implements1862 to always fail with ENOSYS. Some functions are actually named1863 something starting with __ and the normal name is an alias. */1864 #if defined __stub_$2 || defined __stub___$21865 choke me1866 #endif1867 1868 int1869 main ()1870 {1871 return $2 ();1872 ;1873 return 0;1874 }1875 _ACEOF1876 if ac_fn_c_try_link "$LINENO"; then :1877 eval "$3=yes"1878 else1879 eval "$3=no"1880 fi1881 rm -f core conftest.err conftest.$ac_objext \1882 conftest$ac_exeext conftest.$ac_ext1883 fi1884 eval ac_res=\$$31885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51886 $as_echo "$ac_res" >&6; }1887 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1888 1889 } # ac_fn_c_check_func1890 1453 cat >config.log <<_ACEOF 1891 1454 This file contains any messages produced by compilers while … … 1893 1456 1894 1457 It was created by pjproject $as_me 1.x, which was 1895 generated by GNU Autoconf 2.6 5. Invocation command line was1458 generated by GNU Autoconf 2.61. Invocation command line was 1896 1459 1897 1460 $ $0 $@ … … 1929 1492 IFS=$as_save_IFS 1930 1493 test -z "$as_dir" && as_dir=. 1931 $as_echo "PATH: $as_dir"1932 1494 echo "PATH: $as_dir" 1495 done 1933 1496 IFS=$as_save_IFS 1934 1497 … … 1964 1527 continue ;; 1965 1528 *\'*) 1966 ac_arg=` $as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1529 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1967 1530 esac 1968 1531 case $ac_pass in 1969 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1532 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1970 1533 2) 1971 a s_fn_append ac_configure_args1 "'$ac_arg'"1534 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1972 1535 if test $ac_must_keep_next = true; then 1973 1536 ac_must_keep_next=false # Got value, back to normal. … … 1985 1548 esac 1986 1549 fi 1987 a s_fn_append ac_configure_args "'$ac_arg'"1550 ac_configure_args="$ac_configure_args '$ac_arg'" 1988 1551 ;; 1989 1552 esac 1990 1553 done 1991 1554 done 1992 { ac_configure_args0=; unset ac_configure_args0;}1993 { ac_configure_args1=; unset ac_configure_args1;}1555 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1556 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1994 1557 1995 1558 # When interrupted or exit'd, cleanup temporary files, and complete … … 2016 1579 *${as_nl}*) 2017 1580 case $ac_var in #( 2018 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&52019 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;1581 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1582 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 2020 1583 esac 2021 1584 case $ac_var in #( 2022 1585 _ | IFS | as_nl) ;; #( 2023 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2024 *) { eval $ac_var=; unset $ac_var;} ;; 1586 *) $as_unset $ac_var ;; 2025 1587 esac ;; 2026 1588 esac … … 2051 1613 eval ac_val=\$$ac_var 2052 1614 case $ac_val in 2053 *\'\''*) ac_val=` $as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1615 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2054 1616 esac 2055 $as_echo "$ac_var='\''$ac_val'\''"1617 echo "$ac_var='\''$ac_val'\''" 2056 1618 done | sort 2057 1619 echo … … 2068 1630 eval ac_val=\$$ac_var 2069 1631 case $ac_val in 2070 *\'\''*) ac_val=` $as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1632 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2071 1633 esac 2072 $as_echo "$ac_var='\''$ac_val'\''"1634 echo "$ac_var='\''$ac_val'\''" 2073 1635 done | sort 2074 1636 echo … … 2086 1648 fi 2087 1649 test "$ac_signal" != 0 && 2088 $as_echo "$as_me: caught signal $ac_signal"2089 $as_echo "$as_me: exit $exit_status"1650 echo "$as_me: caught signal $ac_signal" 1651 echo "$as_me: exit $exit_status" 2090 1652 } >&5 2091 1653 rm -f core *.core core.conftest.* && … … 2094 1656 ' 0 2095 1657 for ac_signal in 1 2 13 15; do 2096 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1658 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2097 1659 done 2098 1660 ac_signal=0 … … 2101 1663 rm -f -r conftest* confdefs.h 2102 1664 2103 $as_echo "/* confdefs.h */" > confdefs.h2104 2105 1665 # Predefined preprocessor variables. 2106 1666 … … 2109 1669 _ACEOF 2110 1670 1671 2111 1672 cat >>confdefs.h <<_ACEOF 2112 1673 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2113 1674 _ACEOF 2114 1675 1676 2115 1677 cat >>confdefs.h <<_ACEOF 2116 1678 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2117 1679 _ACEOF 2118 1680 1681 2119 1682 cat >>confdefs.h <<_ACEOF 2120 1683 #define PACKAGE_STRING "$PACKAGE_STRING" 2121 1684 _ACEOF 2122 1685 1686 2123 1687 cat >>confdefs.h <<_ACEOF 2124 1688 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2125 1689 _ACEOF 2126 1690 2127 cat >>confdefs.h <<_ACEOF2128 #define PACKAGE_URL "$PACKAGE_URL"2129 _ACEOF2130 2131 1691 2132 1692 # Let the site file select an alternate cache file if it wants to. 2133 # Prefer an explicitly selected file to automatically selected ones. 2134 ac_site_file1=NONE 2135 ac_site_file2=NONE 1693 # Prefer explicitly selected file to automatically selected ones. 2136 1694 if test -n "$CONFIG_SITE"; then 2137 ac_site_file1=$CONFIG_SITE1695 set x "$CONFIG_SITE" 2138 1696 elif test "x$prefix" != xNONE; then 2139 ac_site_file1=$prefix/share/config.site2140 ac_site_file2=$prefix/etc/config.site2141 else 2142 ac_site_file1=$ac_default_prefix/share/config.site 2143 ac_site_file2=$ac_default_prefix/etc/config.site 2144 fi 2145 for ac_site_file in "$ac_site_file1" "$ac_site_file2"1697 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1698 else 1699 set x "$ac_default_prefix/share/config.site" \ 1700 "$ac_default_prefix/etc/config.site" 1701 fi 1702 shift 1703 for ac_site_file 2146 1704 do 2147 test "x$ac_site_file" = xNONE && continue 2148 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2149 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2150 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1705 if test -r "$ac_site_file"; then 1706 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1707 echo "$as_me: loading site script $ac_site_file" >&6;} 2151 1708 sed 's/^/| /' "$ac_site_file" >&5 2152 1709 . "$ac_site_file" … … 2155 1712 2156 1713 if test -r "$cache_file"; then 2157 # Some versions of bash will fail to source /dev/null (special files2158 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2159 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2160 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&52161 $as_echo "$as_me: loading cache $cache_file" >&6;}1714 # Some versions of bash will fail to source /dev/null (special 1715 # files actually), so we avoid doing that. 1716 if test -f "$cache_file"; then 1717 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1718 echo "$as_me: loading cache $cache_file" >&6;} 2162 1719 case $cache_file in 2163 1720 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 2166 1723 fi 2167 1724 else 2168 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&52169 $as_echo "$as_me: creating cache $cache_file" >&6;}1725 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1726 echo "$as_me: creating cache $cache_file" >&6;} 2170 1727 >$cache_file 2171 1728 fi … … 2181 1738 case $ac_old_set,$ac_new_set in 2182 1739 set,) 2183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52184 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1740 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1741 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2185 1742 ac_cache_corrupted=: ;; 2186 1743 ,set) 2187 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&52188 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1744 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1745 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2189 1746 ac_cache_corrupted=: ;; 2190 1747 ,);; 2191 1748 *) 2192 1749 if test "x$ac_old_val" != "x$ac_new_val"; then 2193 # differences in whitespace do not lead to failure. 2194 ac_old_val_w=`echo x $ac_old_val` 2195 ac_new_val_w=`echo x $ac_new_val` 2196 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2197 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2198 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2199 ac_cache_corrupted=: 2200 else 2201 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2202 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2203 eval $ac_var=\$ac_old_val 2204 fi 2205 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2206 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2207 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2208 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1750 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1751 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1752 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1753 echo "$as_me: former value: $ac_old_val" >&2;} 1754 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1755 echo "$as_me: current value: $ac_new_val" >&2;} 1756 ac_cache_corrupted=: 2209 1757 fi;; 2210 1758 esac … … 2212 1760 if test "$ac_new_set" = set; then 2213 1761 case $ac_new_val in 2214 *\'*) ac_arg=$ac_var=` $as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;1762 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2215 1763 *) ac_arg=$ac_var=$ac_new_val ;; 2216 1764 esac 2217 1765 case " $ac_configure_args " in 2218 1766 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2219 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1767 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2220 1768 esac 2221 1769 fi 2222 1770 done 2223 1771 if $ac_cache_corrupted; then 2224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2227 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2228 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2229 fi 2230 ## -------------------- ## 2231 ## Main body of script. ## 2232 ## -------------------- ## 1772 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1773 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1774 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1775 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1776 { (exit 1); exit 1; }; } 1777 fi 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 2233 1802 2234 1803 ac_ext=c … … 2244 1813 ac_aux_dir= 2245 1814 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2246 for ac_t in install-sh install.sh shtool; do 2247 if test -f "$ac_dir/$ac_t"; then 2248 ac_aux_dir=$ac_dir 2249 ac_install_sh="$ac_aux_dir/$ac_t -c" 2250 break 2 2251 fi 2252 done 1815 if test -f "$ac_dir/install-sh"; then 1816 ac_aux_dir=$ac_dir 1817 ac_install_sh="$ac_aux_dir/install-sh -c" 1818 break 1819 elif test -f "$ac_dir/install.sh"; then 1820 ac_aux_dir=$ac_dir 1821 ac_install_sh="$ac_aux_dir/install.sh -c" 1822 break 1823 elif test -f "$ac_dir/shtool"; then 1824 ac_aux_dir=$ac_dir 1825 ac_install_sh="$ac_aux_dir/shtool install -c" 1826 break 1827 fi 2253 1828 done 2254 1829 if test -z "$ac_aux_dir"; then 2255 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1830 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1831 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1832 { (exit 1); exit 1; }; } 2256 1833 fi 2257 1834 … … 2267 1844 # Make sure we can run config.sub. 2268 1845 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2269 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2270 2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2272 $as_echo_n "checking build system type... " >&6; } 2273 if test "${ac_cv_build+set}" = set; then : 2274 $as_echo_n "(cached) " >&6 1846 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1847 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1848 { (exit 1); exit 1; }; } 1849 1850 { echo "$as_me:$LINENO: checking build system type" >&5 1851 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1852 if test "${ac_cv_build+set}" = set; then 1853 echo $ECHO_N "(cached) $ECHO_C" >&6 2275 1854 else 2276 1855 ac_build_alias=$build_alias … … 2278 1857 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2279 1858 test "x$ac_build_alias" = x && 2280 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1859 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1860 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1861 { (exit 1); exit 1; }; } 2281 1862 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2282 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2283 2284 fi 2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2286 $as_echo "$ac_cv_build" >&6; } 1863 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1864 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1865 { (exit 1); exit 1; }; } 1866 1867 fi 1868 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1869 echo "${ECHO_T}$ac_cv_build" >&6; } 2287 1870 case $ac_cv_build in 2288 1871 *-*-*) ;; 2289 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1872 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1873 echo "$as_me: error: invalid value of canonical build" >&2;} 1874 { (exit 1); exit 1; }; };; 2290 1875 esac 2291 1876 build=$ac_cv_build … … 2303 1888 2304 1889 2305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&52306 $as_echo_n "checking host system type..." >&6; }2307 if test "${ac_cv_host+set}" = set; then :2308 $as_echo_n "(cached)" >&61890 { echo "$as_me:$LINENO: checking host system type" >&5 1891 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1892 if test "${ac_cv_host+set}" = set; then 1893 echo $ECHO_N "(cached) $ECHO_C" >&6 2309 1894 else 2310 1895 if test "x$host_alias" = x; then … … 2312 1897 else 2313 1898 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2314 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2315 fi 2316 2317 fi 2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2319 $as_echo "$ac_cv_host" >&6; } 1899 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1900 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1901 { (exit 1); exit 1; }; } 1902 fi 1903 1904 fi 1905 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1906 echo "${ECHO_T}$ac_cv_host" >&6; } 2320 1907 case $ac_cv_host in 2321 1908 *-*-*) ;; 2322 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1909 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1910 echo "$as_me: error: invalid value of canonical host" >&2;} 1911 { (exit 1); exit 1; }; };; 2323 1912 esac 2324 1913 host=$ac_cv_host … … 2336 1925 2337 1926 2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&52339 $as_echo_n "checking target system type..." >&6; }2340 if test "${ac_cv_target+set}" = set; then :2341 $as_echo_n "(cached)" >&61927 { echo "$as_me:$LINENO: checking target system type" >&5 1928 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 1929 if test "${ac_cv_target+set}" = set; then 1930 echo $ECHO_N "(cached) $ECHO_C" >&6 2342 1931 else 2343 1932 if test "x$target_alias" = x; then … … 2345 1934 else 2346 1935 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2347 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2348 fi 2349 2350 fi 2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2352 $as_echo "$ac_cv_target" >&6; } 1936 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1937 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1938 { (exit 1); exit 1; }; } 1939 fi 1940 1941 fi 1942 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1943 echo "${ECHO_T}$ac_cv_target" >&6; } 2353 1944 case $ac_cv_target in 2354 1945 *-*-*) ;; 2355 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 1946 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1947 echo "$as_me: error: invalid value of canonical target" >&2;} 1948 { (exit 1); exit 1; }; };; 2356 1949 esac 2357 1950 target=$ac_cv_target … … 2397 1990 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2398 1991 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52400 $as_echo_n "checking for $ac_word..." >&6; }2401 if test "${ac_cv_prog_CC+set}" = set; then :2402 $as_echo_n "(cached)" >&61992 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1994 if test "${ac_cv_prog_CC+set}" = set; then 1995 echo $ECHO_N "(cached) $ECHO_C" >&6 2403 1996 else 2404 1997 if test -n "$CC"; then … … 2410 2003 IFS=$as_save_IFS 2411 2004 test -z "$as_dir" && as_dir=. 2412 2005 for ac_exec_ext in '' $ac_executable_extensions; do 2413 2006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2414 2007 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2416 2009 break 2 2417 2010 fi 2418 2011 done 2419 2012 done 2420 2013 IFS=$as_save_IFS 2421 2014 … … 2424 2017 CC=$ac_cv_prog_CC 2425 2018 if test -n "$CC"; then 2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52427 $as_echo "$CC" >&6; }2428 else 2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52430 $as_echo "no" >&6; }2019 { echo "$as_me:$LINENO: result: $CC" >&5 2020 echo "${ECHO_T}$CC" >&6; } 2021 else 2022 { echo "$as_me:$LINENO: result: no" >&5 2023 echo "${ECHO_T}no" >&6; } 2431 2024 fi 2432 2025 … … 2437 2030 # Extract the first word of "gcc", so it can be a program name with args. 2438 2031 set dummy gcc; ac_word=$2 2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52440 $as_echo_n "checking for $ac_word..." >&6; }2441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2442 $as_echo_n "(cached)" >&62032 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2034 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2035 echo $ECHO_N "(cached) $ECHO_C" >&6 2443 2036 else 2444 2037 if test -n "$ac_ct_CC"; then … … 2450 2043 IFS=$as_save_IFS 2451 2044 test -z "$as_dir" && as_dir=. 2452 2045 for ac_exec_ext in '' $ac_executable_extensions; do 2453 2046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2454 2047 ac_cv_prog_ac_ct_CC="gcc" 2455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2456 2049 break 2 2457 2050 fi 2458 2051 done 2459 2052 done 2460 2053 IFS=$as_save_IFS 2461 2054 … … 2464 2057 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2465 2058 if test -n "$ac_ct_CC"; then 2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&52467 $as_echo "$ac_ct_CC" >&6; }2468 else 2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52470 $as_echo "no" >&6; }2059 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2060 echo "${ECHO_T}$ac_ct_CC" >&6; } 2061 else 2062 { echo "$as_me:$LINENO: result: no" >&5 2063 echo "${ECHO_T}no" >&6; } 2471 2064 fi 2472 2065 … … 2476 2069 case $cross_compiling:$ac_tool_warned in 2477 2070 yes:) 2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2072 whose name does not start with the host triplet. If you think this 2073 configuration is useful to you, please write to autoconf@gnu.org." >&5 2074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2075 whose name does not start with the host triplet. If you think this 2076 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2480 2077 ac_tool_warned=yes ;; 2481 2078 esac … … 2490 2087 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2491 2088 set dummy ${ac_tool_prefix}cc; ac_word=$2 2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52493 $as_echo_n "checking for $ac_word..." >&6; }2494 if test "${ac_cv_prog_CC+set}" = set; then :2495 $as_echo_n "(cached)" >&62089 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2091 if test "${ac_cv_prog_CC+set}" = set; then 2092 echo $ECHO_N "(cached) $ECHO_C" >&6 2496 2093 else 2497 2094 if test -n "$CC"; then … … 2503 2100 IFS=$as_save_IFS 2504 2101 test -z "$as_dir" && as_dir=. 2505 2102 for ac_exec_ext in '' $ac_executable_extensions; do 2506 2103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2507 2104 ac_cv_prog_CC="${ac_tool_prefix}cc" 2508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2509 2106 break 2 2510 2107 fi 2511 2108 done 2512 2109 done 2513 2110 IFS=$as_save_IFS 2514 2111 … … 2517 2114 CC=$ac_cv_prog_CC 2518 2115 if test -n "$CC"; then 2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52520 $as_echo "$CC" >&6; }2521 else 2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52523 $as_echo "no" >&6; }2116 { echo "$as_me:$LINENO: result: $CC" >&5 2117 echo "${ECHO_T}$CC" >&6; } 2118 else 2119 { echo "$as_me:$LINENO: result: no" >&5 2120 echo "${ECHO_T}no" >&6; } 2524 2121 fi 2525 2122 … … 2530 2127 # Extract the first word of "cc", so it can be a program name with args. 2531 2128 set dummy cc; ac_word=$2 2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52533 $as_echo_n "checking for $ac_word..." >&6; }2534 if test "${ac_cv_prog_CC+set}" = set; then :2535 $as_echo_n "(cached)" >&62129 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2131 if test "${ac_cv_prog_CC+set}" = set; then 2132 echo $ECHO_N "(cached) $ECHO_C" >&6 2536 2133 else 2537 2134 if test -n "$CC"; then … … 2544 2141 IFS=$as_save_IFS 2545 2142 test -z "$as_dir" && as_dir=. 2546 2143 for ac_exec_ext in '' $ac_executable_extensions; do 2547 2144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2548 2145 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2551 2148 fi 2552 2149 ac_cv_prog_CC="cc" 2553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2554 2151 break 2 2555 2152 fi 2556 2153 done 2557 2154 done 2558 2155 IFS=$as_save_IFS 2559 2156 … … 2574 2171 CC=$ac_cv_prog_CC 2575 2172 if test -n "$CC"; then 2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52577 $as_echo "$CC" >&6; }2578 else 2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52580 $as_echo "no" >&6; }2173 { echo "$as_me:$LINENO: result: $CC" >&5 2174 echo "${ECHO_T}$CC" >&6; } 2175 else 2176 { echo "$as_me:$LINENO: result: no" >&5 2177 echo "${ECHO_T}no" >&6; } 2581 2178 fi 2582 2179 … … 2589 2186 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2590 2187 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52592 $as_echo_n "checking for $ac_word..." >&6; }2593 if test "${ac_cv_prog_CC+set}" = set; then :2594 $as_echo_n "(cached)" >&62188 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2190 if test "${ac_cv_prog_CC+set}" = set; then 2191 echo $ECHO_N "(cached) $ECHO_C" >&6 2595 2192 else 2596 2193 if test -n "$CC"; then … … 2602 2199 IFS=$as_save_IFS 2603 2200 test -z "$as_dir" && as_dir=. 2604 2201 for ac_exec_ext in '' $ac_executable_extensions; do 2605 2202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2606 2203 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2608 2205 break 2 2609 2206 fi 2610 2207 done 2611 2208 done 2612 2209 IFS=$as_save_IFS 2613 2210 … … 2616 2213 CC=$ac_cv_prog_CC 2617 2214 if test -n "$CC"; then 2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52619 $as_echo "$CC" >&6; }2620 else 2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52622 $as_echo "no" >&6; }2215 { echo "$as_me:$LINENO: result: $CC" >&5 2216 echo "${ECHO_T}$CC" >&6; } 2217 else 2218 { echo "$as_me:$LINENO: result: no" >&5 2219 echo "${ECHO_T}no" >&6; } 2623 2220 fi 2624 2221 … … 2633 2230 # Extract the first word of "$ac_prog", so it can be a program name with args. 2634 2231 set dummy $ac_prog; ac_word=$2 2635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52636 $as_echo_n "checking for $ac_word..." >&6; }2637 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2638 $as_echo_n "(cached)" >&62232 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2234 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2235 echo $ECHO_N "(cached) $ECHO_C" >&6 2639 2236 else 2640 2237 if test -n "$ac_ct_CC"; then … … 2646 2243 IFS=$as_save_IFS 2647 2244 test -z "$as_dir" && as_dir=. 2648 2245 for ac_exec_ext in '' $ac_executable_extensions; do 2649 2246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2650 2247 ac_cv_prog_ac_ct_CC="$ac_prog" 2651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2652 2249 break 2 2653 2250 fi 2654 2251 done 2655 2252 done 2656 2253 IFS=$as_save_IFS 2657 2254 … … 2660 2257 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2661 2258 if test -n "$ac_ct_CC"; then 2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&52663 $as_echo "$ac_ct_CC" >&6; }2664 else 2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52666 $as_echo "no" >&6; }2259 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2260 echo "${ECHO_T}$ac_ct_CC" >&6; } 2261 else 2262 { echo "$as_me:$LINENO: result: no" >&5 2263 echo "${ECHO_T}no" >&6; } 2667 2264 fi 2668 2265 … … 2676 2273 case $cross_compiling:$ac_tool_warned in 2677 2274 yes:) 2678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2275 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2276 whose name does not start with the host triplet. If you think this 2277 configuration is useful to you, please write to autoconf@gnu.org." >&5 2278 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2279 whose name does not start with the host triplet. If you think this 2280 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2680 2281 ac_tool_warned=yes ;; 2681 2282 esac … … 2687 2288 2688 2289 2689 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2691 as_fn_error "no acceptable C compiler found in \$PATH 2692 See \`config.log' for more details." "$LINENO" 5; } 2290 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2291 See \`config.log' for more details." >&5 2292 echo "$as_me: error: no acceptable C compiler found in \$PATH 2293 See \`config.log' for more details." >&2;} 2294 { (exit 1); exit 1; }; } 2693 2295 2694 2296 # Provide some information about the compiler. 2695 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2696 set X $ac_compile 2697 ac_compiler=$2 2698 for ac_option in --version -v -V -qversion; do 2699 { { ac_try="$ac_compiler $ac_option >&5" 2700 case "(($ac_try" in 2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2702 *) ac_try_echo=$ac_try;; 2703 esac 2704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2705 $as_echo "$ac_try_echo"; } >&5 2706 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2707 ac_status=$? 2708 if test -s conftest.err; then 2709 sed '10a\ 2710 ... rest of stderr output deleted ... 2711 10q' conftest.err >conftest.er1 2712 cat conftest.er1 >&5 2713 fi 2714 rm -f conftest.er1 conftest.err 2715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2716 test $ac_status = 0; } 2717 done 2718 2719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2297 echo "$as_me:$LINENO: checking for C compiler version" >&5 2298 ac_compiler=`set X $ac_compile; echo $2` 2299 { (ac_try="$ac_compiler --version >&5" 2300 case "(($ac_try" in 2301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2302 *) ac_try_echo=$ac_try;; 2303 esac 2304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2305 (eval "$ac_compiler --version >&5") 2>&5 2306 ac_status=$? 2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2308 (exit $ac_status); } 2309 { (ac_try="$ac_compiler -v >&5" 2310 case "(($ac_try" in 2311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2312 *) ac_try_echo=$ac_try;; 2313 esac 2314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2315 (eval "$ac_compiler -v >&5") 2>&5 2316 ac_status=$? 2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2318 (exit $ac_status); } 2319 { (ac_try="$ac_compiler -V >&5" 2320 case "(($ac_try" in 2321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2322 *) ac_try_echo=$ac_try;; 2323 esac 2324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2325 (eval "$ac_compiler -V >&5") 2>&5 2326 ac_status=$? 2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2328 (exit $ac_status); } 2329 2330 cat >conftest.$ac_ext <<_ACEOF 2331 /* confdefs.h. */ 2332 _ACEOF 2333 cat confdefs.h >>conftest.$ac_ext 2334 cat >>conftest.$ac_ext <<_ACEOF 2720 2335 /* end confdefs.h. */ 2721 2336 … … 2729 2344 _ACEOF 2730 2345 ac_clean_files_save=$ac_clean_files 2731 ac_clean_files="$ac_clean_files a.out a. out.dSYM a.exe b.out"2346 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2732 2347 # Try to create an executable without -o first, disregard a.out. 2733 2348 # It will help us diagnose broken compilers, and finding out an intuition 2734 2349 # of exeext. 2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2736 $as_echo_n "checking whether the C compiler works... " >&6; } 2737 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2738 2739 # The possible output files: 2740 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2741 2350 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2351 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2352 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2353 # 2354 # List of possible output files, starting from the most likely. 2355 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2356 # only as a last resort. b.out is created by i960 compilers. 2357 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2358 # 2359 # The IRIX 6 linker writes into existing files which may not be 2360 # executable, retaining their permissions. Remove them first so a 2361 # subsequent execution test works. 2742 2362 ac_rmfiles= 2743 2363 for ac_file in $ac_files 2744 2364 do 2745 2365 case $ac_file in 2746 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj ) ;;2366 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2747 2367 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2748 2368 esac … … 2750 2370 rm -f $ac_rmfiles 2751 2371 2752 if { { ac_try="$ac_link_default" 2753 case "(($ac_try" in 2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2755 *) ac_try_echo=$ac_try;; 2756 esac 2757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2758 $as_echo "$ac_try_echo"; } >&5 2372 if { (ac_try="$ac_link_default" 2373 case "(($ac_try" in 2374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2375 *) ac_try_echo=$ac_try;; 2376 esac 2377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2759 2378 (eval "$ac_link_default") 2>&5 2760 2379 ac_status=$? 2761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52762 test $ac_status = 0; }; then :2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2381 (exit $ac_status); }; then 2763 2382 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2764 2383 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2770 2389 test -f "$ac_file" || continue 2771 2390 case $ac_file in 2772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj )2391 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2773 2392 ;; 2774 2393 [ab].out ) … … 2777 2396 break;; 2778 2397 *.* ) 2779 2398 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2780 2399 then :; else 2781 2400 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2796 2415 ac_file='' 2797 2416 fi 2798 if test -z "$ac_file"; then : 2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2800 $as_echo "no" >&6; } 2801 $as_echo "$as_me: failed program was:" >&5 2417 2418 { echo "$as_me:$LINENO: result: $ac_file" >&5 2419 echo "${ECHO_T}$ac_file" >&6; } 2420 if test -z "$ac_file"; then 2421 echo "$as_me: failed program was:" >&5 2802 2422 sed 's/^/| /' conftest.$ac_ext >&5 2803 2423 2804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2806 { as_fn_set_status 77 2807 as_fn_error "C compiler cannot create executables 2808 See \`config.log' for more details." "$LINENO" 5; }; } 2809 else 2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2811 $as_echo "yes" >&6; } 2812 fi 2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2814 $as_echo_n "checking for C compiler default output file name... " >&6; } 2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2816 $as_echo "$ac_file" >&6; } 2424 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2425 See \`config.log' for more details." >&5 2426 echo "$as_me: error: C compiler cannot create executables 2427 See \`config.log' for more details." >&2;} 2428 { (exit 77); exit 77; }; } 2429 fi 2430 2817 2431 ac_exeext=$ac_cv_exeext 2818 2432 2819 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2433 # Check that the compiler produces executables we can run. If not, either 2434 # the compiler is broken, or we cross compile. 2435 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2436 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2437 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2438 # If not cross compiling, check that we can run a simple program. 2439 if test "$cross_compiling" != yes; then 2440 if { ac_try='./$ac_file' 2441 { (case "(($ac_try" in 2442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2443 *) ac_try_echo=$ac_try;; 2444 esac 2445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2446 (eval "$ac_try") 2>&5 2447 ac_status=$? 2448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2449 (exit $ac_status); }; }; then 2450 cross_compiling=no 2451 else 2452 if test "$cross_compiling" = maybe; then 2453 cross_compiling=yes 2454 else 2455 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2456 If you meant to cross compile, use \`--host'. 2457 See \`config.log' for more details." >&5 2458 echo "$as_me: error: cannot run C compiled programs. 2459 If you meant to cross compile, use \`--host'. 2460 See \`config.log' for more details." >&2;} 2461 { (exit 1); exit 1; }; } 2462 fi 2463 fi 2464 fi 2465 { echo "$as_me:$LINENO: result: yes" >&5 2466 echo "${ECHO_T}yes" >&6; } 2467 2468 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2820 2469 ac_clean_files=$ac_clean_files_save 2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2822 $as_echo_n "checking for suffix of executables... " >&6; } 2823 if { { ac_try="$ac_link" 2824 case "(($ac_try" in 2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2826 *) ac_try_echo=$ac_try;; 2827 esac 2828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2829 $as_echo "$ac_try_echo"; } >&5 2470 # Check that the compiler produces executables we can run. If not, either 2471 # the compiler is broken, or we cross compile. 2472 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2473 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2474 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2475 echo "${ECHO_T}$cross_compiling" >&6; } 2476 2477 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2478 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2479 if { (ac_try="$ac_link" 2480 case "(($ac_try" in 2481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2482 *) ac_try_echo=$ac_try;; 2483 esac 2484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2830 2485 (eval "$ac_link") 2>&5 2831 2486 ac_status=$? 2832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52833 test $ac_status = 0; }; then :2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2488 (exit $ac_status); }; then 2834 2489 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2835 2490 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2839 2494 test -f "$ac_file" || continue 2840 2495 case $ac_file in 2841 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj ) ;;2496 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2842 2497 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2843 2498 break;; … … 2846 2501 done 2847 2502 else 2848 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2850 as_fn_error "cannot compute suffix of executables: cannot compile and link 2851 See \`config.log' for more details." "$LINENO" 5; } 2852 fi 2853 rm -f conftest conftest$ac_cv_exeext 2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2855 $as_echo "$ac_cv_exeext" >&6; } 2503 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2504 See \`config.log' for more details." >&5 2505 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2506 See \`config.log' for more details." >&2;} 2507 { (exit 1); exit 1; }; } 2508 fi 2509 2510 rm -f conftest$ac_cv_exeext 2511 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2512 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2856 2513 2857 2514 rm -f conftest.$ac_ext 2858 2515 EXEEXT=$ac_cv_exeext 2859 2516 ac_exeext=$EXEEXT 2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2861 /* end confdefs.h. */ 2862 #include <stdio.h> 2517 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2518 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2519 if test "${ac_cv_objext+set}" = set; then 2520 echo $ECHO_N "(cached) $ECHO_C" >&6 2521 else 2522 cat >conftest.$ac_ext <<_ACEOF 2523 /* confdefs.h. */ 2524 _ACEOF 2525 cat confdefs.h >>conftest.$ac_ext 2526 cat >>conftest.$ac_ext <<_ACEOF 2527 /* end confdefs.h. */ 2528 2863 2529 int 2864 2530 main () 2865 2531 { 2866 FILE *f = fopen ("conftest.out", "w");2867 return ferror (f) || fclose (f) != 0;2868 2532 2869 2533 ; … … 2871 2535 } 2872 2536 _ACEOF 2873 ac_clean_files="$ac_clean_files conftest.out"2874 # Check that the compiler produces executables we can run. If not, either2875 # the compiler is broken, or we cross compile.2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&52877 $as_echo_n "checking whether we are cross compiling... " >&6; }2878 if test "$cross_compiling" != yes; then2879 { { ac_try="$ac_link"2880 case "(($ac_try" in2881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2882 *) ac_try_echo=$ac_try;;2883 esac2884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2885 $as_echo "$ac_try_echo"; } >&52886 (eval "$ac_link") 2>&52887 ac_status=$?2888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52889 test $ac_status = 0; }2890 if { ac_try='./conftest$ac_cv_exeext'2891 { { case "(($ac_try" in2892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2893 *) ac_try_echo=$ac_try;;2894 esac2895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2896 $as_echo "$ac_try_echo"; } >&52897 (eval "$ac_try") 2>&52898 ac_status=$?2899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52900 test $ac_status = 0; }; }; then2901 cross_compiling=no2902 else2903 if test "$cross_compiling" = maybe; then2904 cross_compiling=yes2905 else2906 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2908 as_fn_error "cannot run C compiled programs.2909 If you meant to cross compile, use \`--host'.2910 See \`config.log' for more details." "$LINENO" 5; }2911 fi2912 fi2913 fi2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&52915 $as_echo "$cross_compiling" >&6; }2916 2917 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out2918 ac_clean_files=$ac_clean_files_save2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&52920 $as_echo_n "checking for suffix of object files... " >&6; }2921 if test "${ac_cv_objext+set}" = set; then :2922 $as_echo_n "(cached) " >&62923 else2924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2925 /* end confdefs.h. */2926 2927 int2928 main ()2929 {2930 2931 ;2932 return 0;2933 }2934 _ACEOF2935 2537 rm -f conftest.o conftest.obj 2936 if { { ac_try="$ac_compile" 2937 case "(($ac_try" in 2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2939 *) ac_try_echo=$ac_try;; 2940 esac 2941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2942 $as_echo "$ac_try_echo"; } >&5 2538 if { (ac_try="$ac_compile" 2539 case "(($ac_try" in 2540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2541 *) ac_try_echo=$ac_try;; 2542 esac 2543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2943 2544 (eval "$ac_compile") 2>&5 2944 2545 ac_status=$? 2945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52946 test $ac_status = 0; }; then :2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2547 (exit $ac_status); }; then 2947 2548 for ac_file in conftest.o conftest.obj conftest.*; do 2948 2549 test -f "$ac_file" || continue; 2949 2550 case $ac_file in 2950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM) ;;2551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2951 2552 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2952 2553 break;; … … 2954 2555 done 2955 2556 else 2956 $as_echo "$as_me: failed program was:" >&52557 echo "$as_me: failed program was:" >&5 2957 2558 sed 's/^/| /' conftest.$ac_ext >&5 2958 2559 2959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2961 as_fn_error "cannot compute suffix of object files: cannot compile 2962 See \`config.log' for more details." "$LINENO" 5; } 2963 fi 2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2561 See \`config.log' for more details." >&5 2562 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2563 See \`config.log' for more details." >&2;} 2564 { (exit 1); exit 1; }; } 2565 fi 2566 2964 2567 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2965 2568 fi 2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&52967 $as_echo "$ac_cv_objext" >&6; }2569 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2570 echo "${ECHO_T}$ac_cv_objext" >&6; } 2968 2571 OBJEXT=$ac_cv_objext 2969 2572 ac_objext=$OBJEXT 2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2971 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2972 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2973 $as_echo_n "(cached) " >&6 2974 else 2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2573 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2574 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2575 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2576 echo $ECHO_N "(cached) $ECHO_C" >&6 2577 else 2578 cat >conftest.$ac_ext <<_ACEOF 2579 /* confdefs.h. */ 2580 _ACEOF 2581 cat confdefs.h >>conftest.$ac_ext 2582 cat >>conftest.$ac_ext <<_ACEOF 2976 2583 /* end confdefs.h. */ 2977 2584 … … 2987 2594 } 2988 2595 _ACEOF 2989 if ac_fn_c_try_compile "$LINENO"; then : 2596 rm -f conftest.$ac_objext 2597 if { (ac_try="$ac_compile" 2598 case "(($ac_try" in 2599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2600 *) ac_try_echo=$ac_try;; 2601 esac 2602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2603 (eval "$ac_compile") 2>conftest.er1 2604 ac_status=$? 2605 grep -v '^ *+' conftest.er1 >conftest.err 2606 rm -f conftest.er1 2607 cat conftest.err >&5 2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2609 (exit $ac_status); } && { 2610 test -z "$ac_c_werror_flag" || 2611 test ! -s conftest.err 2612 } && test -s conftest.$ac_objext; then 2990 2613 ac_compiler_gnu=yes 2991 2614 else 2992 ac_compiler_gnu=no 2993 fi 2615 echo "$as_me: failed program was:" >&5 2616 sed 's/^/| /' conftest.$ac_ext >&5 2617 2618 ac_compiler_gnu=no 2619 fi 2620 2994 2621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2995 2622 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2996 2623 2997 2624 fi 2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2999 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3000 if test $ac_compiler_gnu = yes; then 3001 GCC=yes 3002 else 3003 GCC= 3004 fi 2625 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2626 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2627 GCC=`test $ac_compiler_gnu = yes && echo yes` 3005 2628 ac_test_CFLAGS=${CFLAGS+set} 3006 2629 ac_save_CFLAGS=$CFLAGS 3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&53008 $as_echo_n "checking whether $CC accepts -g..." >&6; }3009 if test "${ac_cv_prog_cc_g+set}" = set; then :3010 $as_echo_n "(cached)" >&62630 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2631 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2632 if test "${ac_cv_prog_cc_g+set}" = set; then 2633 echo $ECHO_N "(cached) $ECHO_C" >&6 3011 2634 else 3012 2635 ac_save_c_werror_flag=$ac_c_werror_flag … … 3014 2637 ac_cv_prog_cc_g=no 3015 2638 CFLAGS="-g" 3016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2639 cat >conftest.$ac_ext <<_ACEOF 2640 /* confdefs.h. */ 2641 _ACEOF 2642 cat confdefs.h >>conftest.$ac_ext 2643 cat >>conftest.$ac_ext <<_ACEOF 3017 2644 /* end confdefs.h. */ 3018 2645 … … 3025 2652 } 3026 2653 _ACEOF 3027 if ac_fn_c_try_compile "$LINENO"; then : 2654 rm -f conftest.$ac_objext 2655 if { (ac_try="$ac_compile" 2656 case "(($ac_try" in 2657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2658 *) ac_try_echo=$ac_try;; 2659 esac 2660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2661 (eval "$ac_compile") 2>conftest.er1 2662 ac_status=$? 2663 grep -v '^ *+' conftest.er1 >conftest.err 2664 rm -f conftest.er1 2665 cat conftest.err >&5 2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2667 (exit $ac_status); } && { 2668 test -z "$ac_c_werror_flag" || 2669 test ! -s conftest.err 2670 } && test -s conftest.$ac_objext; then 3028 2671 ac_cv_prog_cc_g=yes 3029 2672 else 3030 CFLAGS="" 3031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2673 echo "$as_me: failed program was:" >&5 2674 sed 's/^/| /' conftest.$ac_ext >&5 2675 2676 CFLAGS="" 2677 cat >conftest.$ac_ext <<_ACEOF 2678 /* confdefs.h. */ 2679 _ACEOF 2680 cat confdefs.h >>conftest.$ac_ext 2681 cat >>conftest.$ac_ext <<_ACEOF 3032 2682 /* end confdefs.h. */ 3033 2683 … … 3040 2690 } 3041 2691 _ACEOF 3042 if ac_fn_c_try_compile "$LINENO"; then : 3043 3044 else 3045 ac_c_werror_flag=$ac_save_c_werror_flag 2692 rm -f conftest.$ac_objext 2693 if { (ac_try="$ac_compile" 2694 case "(($ac_try" in 2695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2696 *) ac_try_echo=$ac_try;; 2697 esac 2698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2699 (eval "$ac_compile") 2>conftest.er1 2700 ac_status=$? 2701 grep -v '^ *+' conftest.er1 >conftest.err 2702 rm -f conftest.er1 2703 cat conftest.err >&5 2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2705 (exit $ac_status); } && { 2706 test -z "$ac_c_werror_flag" || 2707 test ! -s conftest.err 2708 } && test -s conftest.$ac_objext; then 2709 : 2710 else 2711 echo "$as_me: failed program was:" >&5 2712 sed 's/^/| /' conftest.$ac_ext >&5 2713 2714 ac_c_werror_flag=$ac_save_c_werror_flag 3046 2715 CFLAGS="-g" 3047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2716 cat >conftest.$ac_ext <<_ACEOF 2717 /* confdefs.h. */ 2718 _ACEOF 2719 cat confdefs.h >>conftest.$ac_ext 2720 cat >>conftest.$ac_ext <<_ACEOF 3048 2721 /* end confdefs.h. */ 3049 2722 … … 3056 2729 } 3057 2730 _ACEOF 3058 if ac_fn_c_try_compile "$LINENO"; then : 2731 rm -f conftest.$ac_objext 2732 if { (ac_try="$ac_compile" 2733 case "(($ac_try" in 2734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2735 *) ac_try_echo=$ac_try;; 2736 esac 2737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2738 (eval "$ac_compile") 2>conftest.er1 2739 ac_status=$? 2740 grep -v '^ *+' conftest.er1 >conftest.err 2741 rm -f conftest.er1 2742 cat conftest.err >&5 2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2744 (exit $ac_status); } && { 2745 test -z "$ac_c_werror_flag" || 2746 test ! -s conftest.err 2747 } && test -s conftest.$ac_objext; then 3059 2748 ac_cv_prog_cc_g=yes 3060 fi 2749 else 2750 echo "$as_me: failed program was:" >&5 2751 sed 's/^/| /' conftest.$ac_ext >&5 2752 2753 2754 fi 2755 3061 2756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3062 2757 fi 2758 3063 2759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3064 2760 fi 2761 3065 2762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3066 2763 ac_c_werror_flag=$ac_save_c_werror_flag 3067 2764 fi 3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&53069 $as_echo "$ac_cv_prog_cc_g" >&6; }2765 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2766 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3070 2767 if test "$ac_test_CFLAGS" = set; then 3071 2768 CFLAGS=$ac_save_CFLAGS … … 3083 2780 fi 3084 2781 fi 3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&53086 $as_echo_n "checking for $CC option to accept ISO C89..." >&6; }3087 if test "${ac_cv_prog_cc_c89+set}" = set; then :3088 $as_echo_n "(cached)" >&62782 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2783 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2784 if test "${ac_cv_prog_cc_c89+set}" = set; then 2785 echo $ECHO_N "(cached) $ECHO_C" >&6 3089 2786 else 3090 2787 ac_cv_prog_cc_c89=no 3091 2788 ac_save_CC=$CC 3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2789 cat >conftest.$ac_ext <<_ACEOF 2790 /* confdefs.h. */ 2791 _ACEOF 2792 cat confdefs.h >>conftest.$ac_ext 2793 cat >>conftest.$ac_ext <<_ACEOF 3093 2794 /* end confdefs.h. */ 3094 2795 #include <stdarg.h> … … 3147 2848 do 3148 2849 CC="$ac_save_CC $ac_arg" 3149 if ac_fn_c_try_compile "$LINENO"; then : 2850 rm -f conftest.$ac_objext 2851 if { (ac_try="$ac_compile" 2852 case "(($ac_try" in 2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2854 *) ac_try_echo=$ac_try;; 2855 esac 2856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2857 (eval "$ac_compile") 2>conftest.er1 2858 ac_status=$? 2859 grep -v '^ *+' conftest.er1 >conftest.err 2860 rm -f conftest.er1 2861 cat conftest.err >&5 2862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2863 (exit $ac_status); } && { 2864 test -z "$ac_c_werror_flag" || 2865 test ! -s conftest.err 2866 } && test -s conftest.$ac_objext; then 3150 2867 ac_cv_prog_cc_c89=$ac_arg 3151 fi 2868 else 2869 echo "$as_me: failed program was:" >&5 2870 sed 's/^/| /' conftest.$ac_ext >&5 2871 2872 2873 fi 2874 3152 2875 rm -f core conftest.err conftest.$ac_objext 3153 2876 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3160 2883 case "x$ac_cv_prog_cc_c89" in 3161 2884 x) 3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&53163 $as_echo "none needed" >&6; } ;;2885 { echo "$as_me:$LINENO: result: none needed" >&5 2886 echo "${ECHO_T}none needed" >&6; } ;; 3164 2887 xno) 3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&53166 $as_echo "unsupported" >&6; } ;;2888 { echo "$as_me:$LINENO: result: unsupported" >&5 2889 echo "${ECHO_T}unsupported" >&6; } ;; 3167 2890 *) 3168 2891 CC="$CC $ac_cv_prog_cc_c89" 3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3170 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3171 esac 3172 if test "x$ac_cv_prog_cc_c89" != xno; then : 3173 3174 fi 2892 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2893 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2894 esac 2895 3175 2896 3176 2897 ac_ext=c … … 3194 2915 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3195 2916 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53197 $as_echo_n "checking for $ac_word..." >&6; }3198 if test "${ac_cv_prog_CXX+set}" = set; then :3199 $as_echo_n "(cached)" >&62917 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2919 if test "${ac_cv_prog_CXX+set}" = set; then 2920 echo $ECHO_N "(cached) $ECHO_C" >&6 3200 2921 else 3201 2922 if test -n "$CXX"; then … … 3207 2928 IFS=$as_save_IFS 3208 2929 test -z "$as_dir" && as_dir=. 3209 2930 for ac_exec_ext in '' $ac_executable_extensions; do 3210 2931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3211 2932 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3213 2934 break 2 3214 2935 fi 3215 2936 done 3216 2937 done 3217 2938 IFS=$as_save_IFS 3218 2939 … … 3221 2942 CXX=$ac_cv_prog_CXX 3222 2943 if test -n "$CXX"; then 3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&53224 $as_echo "$CXX" >&6; }3225 else 3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53227 $as_echo "no" >&6; }2944 { echo "$as_me:$LINENO: result: $CXX" >&5 2945 echo "${ECHO_T}$CXX" >&6; } 2946 else 2947 { echo "$as_me:$LINENO: result: no" >&5 2948 echo "${ECHO_T}no" >&6; } 3228 2949 fi 3229 2950 … … 3238 2959 # Extract the first word of "$ac_prog", so it can be a program name with args. 3239 2960 set dummy $ac_prog; ac_word=$2 3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53241 $as_echo_n "checking for $ac_word..." >&6; }3242 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :3243 $as_echo_n "(cached)" >&62961 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2963 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2964 echo $ECHO_N "(cached) $ECHO_C" >&6 3244 2965 else 3245 2966 if test -n "$ac_ct_CXX"; then … … 3251 2972 IFS=$as_save_IFS 3252 2973 test -z "$as_dir" && as_dir=. 3253 2974 for ac_exec_ext in '' $ac_executable_extensions; do 3254 2975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3255 2976 ac_cv_prog_ac_ct_CXX="$ac_prog" 3256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3257 2978 break 2 3258 2979 fi 3259 2980 done 3260 2981 done 3261 2982 IFS=$as_save_IFS 3262 2983 … … 3265 2986 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3266 2987 if test -n "$ac_ct_CXX"; then 3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&53268 $as_echo "$ac_ct_CXX" >&6; }3269 else 3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53271 $as_echo "no" >&6; }2988 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2989 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2990 else 2991 { echo "$as_me:$LINENO: result: no" >&5 2992 echo "${ECHO_T}no" >&6; } 3272 2993 fi 3273 2994 … … 3281 3002 case $cross_compiling:$ac_tool_warned in 3282 3003 yes:) 3283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3004 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3005 whose name does not start with the host triplet. If you think this 3006 configuration is useful to you, please write to autoconf@gnu.org." >&5 3007 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3008 whose name does not start with the host triplet. If you think this 3009 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3285 3010 ac_tool_warned=yes ;; 3286 3011 esac … … 3292 3017 fi 3293 3018 # Provide some information about the compiler. 3294 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3295 set X $ac_compile 3296 ac_compiler=$2 3297 for ac_option in --version -v -V -qversion; do 3298 { { ac_try="$ac_compiler $ac_option >&5" 3299 case "(($ac_try" in 3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3301 *) ac_try_echo=$ac_try;; 3302 esac 3303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3304 $as_echo "$ac_try_echo"; } >&5 3305 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3306 ac_status=$? 3307 if test -s conftest.err; then 3308 sed '10a\ 3309 ... rest of stderr output deleted ... 3310 10q' conftest.err >conftest.er1 3311 cat conftest.er1 >&5 3312 fi 3313 rm -f conftest.er1 conftest.err 3314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3315 test $ac_status = 0; } 3316 done 3317 3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3319 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3320 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3321 $as_echo_n "(cached) " >&6 3322 else 3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3019 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3020 ac_compiler=`set X $ac_compile; echo $2` 3021 { (ac_try="$ac_compiler --version >&5" 3022 case "(($ac_try" in 3023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3024 *) ac_try_echo=$ac_try;; 3025 esac 3026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3027 (eval "$ac_compiler --version >&5") 2>&5 3028 ac_status=$? 3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3030 (exit $ac_status); } 3031 { (ac_try="$ac_compiler -v >&5" 3032 case "(($ac_try" in 3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3034 *) ac_try_echo=$ac_try;; 3035 esac 3036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3037 (eval "$ac_compiler -v >&5") 2>&5 3038 ac_status=$? 3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3040 (exit $ac_status); } 3041 { (ac_try="$ac_compiler -V >&5" 3042 case "(($ac_try" in 3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3044 *) ac_try_echo=$ac_try;; 3045 esac 3046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3047 (eval "$ac_compiler -V >&5") 2>&5 3048 ac_status=$? 3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3050 (exit $ac_status); } 3051 3052 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3053 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3054 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3055 echo $ECHO_N "(cached) $ECHO_C" >&6 3056 else 3057 cat >conftest.$ac_ext <<_ACEOF 3058 /* confdefs.h. */ 3059 _ACEOF 3060 cat confdefs.h >>conftest.$ac_ext 3061 cat >>conftest.$ac_ext <<_ACEOF 3324 3062 /* end confdefs.h. */ 3325 3063 … … 3335 3073 } 3336 3074 _ACEOF 3337 if ac_fn_cxx_try_compile "$LINENO"; then : 3075 rm -f conftest.$ac_objext 3076 if { (ac_try="$ac_compile" 3077 case "(($ac_try" in 3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3079 *) ac_try_echo=$ac_try;; 3080 esac 3081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3082 (eval "$ac_compile") 2>conftest.er1 3083 ac_status=$? 3084 grep -v '^ *+' conftest.er1 >conftest.err 3085 rm -f conftest.er1 3086 cat conftest.err >&5 3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3088 (exit $ac_status); } && { 3089 test -z "$ac_cxx_werror_flag" || 3090 test ! -s conftest.err 3091 } && test -s conftest.$ac_objext; then 3338 3092 ac_compiler_gnu=yes 3339 3093 else 3340 ac_compiler_gnu=no 3341 fi 3094 echo "$as_me: failed program was:" >&5 3095 sed 's/^/| /' conftest.$ac_ext >&5 3096 3097 ac_compiler_gnu=no 3098 fi 3099 3342 3100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3343 3101 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3344 3102 3345 3103 fi 3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3347 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3348 if test $ac_compiler_gnu = yes; then 3349 GXX=yes 3350 else 3351 GXX= 3352 fi 3104 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3105 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3106 GXX=`test $ac_compiler_gnu = yes && echo yes` 3353 3107 ac_test_CXXFLAGS=${CXXFLAGS+set} 3354 3108 ac_save_CXXFLAGS=$CXXFLAGS 3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&53356 $as_echo_n "checking whether $CXX accepts -g..." >&6; }3357 if test "${ac_cv_prog_cxx_g+set}" = set; then :3358 $as_echo_n "(cached)" >&63109 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3110 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 3111 if test "${ac_cv_prog_cxx_g+set}" = set; then 3112 echo $ECHO_N "(cached) $ECHO_C" >&6 3359 3113 else 3360 3114 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3362 3116 ac_cv_prog_cxx_g=no 3363 3117 CXXFLAGS="-g" 3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3118 cat >conftest.$ac_ext <<_ACEOF 3119 /* confdefs.h. */ 3120 _ACEOF 3121 cat confdefs.h >>conftest.$ac_ext 3122 cat >>conftest.$ac_ext <<_ACEOF 3365 3123 /* end confdefs.h. */ 3366 3124 … … 3373 3131 } 3374 3132 _ACEOF 3375 if ac_fn_cxx_try_compile "$LINENO"; then : 3133 rm -f conftest.$ac_objext 3134 if { (ac_try="$ac_compile" 3135 case "(($ac_try" in 3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3137 *) ac_try_echo=$ac_try;; 3138 esac 3139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3140 (eval "$ac_compile") 2>conftest.er1 3141 ac_status=$? 3142 grep -v '^ *+' conftest.er1 >conftest.err 3143 rm -f conftest.er1 3144 cat conftest.err >&5 3145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3146 (exit $ac_status); } && { 3147 test -z "$ac_cxx_werror_flag" || 3148 test ! -s conftest.err 3149 } && test -s conftest.$ac_objext; then 3376 3150 ac_cv_prog_cxx_g=yes 3377 3151 else 3378 CXXFLAGS="" 3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3152 echo "$as_me: failed program was:" >&5 3153 sed 's/^/| /' conftest.$ac_ext >&5 3154 3155 CXXFLAGS="" 3156 cat >conftest.$ac_ext <<_ACEOF 3157 /* confdefs.h. */ 3158 _ACEOF 3159 cat confdefs.h >>conftest.$ac_ext 3160 cat >>conftest.$ac_ext <<_ACEOF 3380 3161 /* end confdefs.h. */ 3381 3162 … … 3388 3169 } 3389 3170 _ACEOF 3390 if ac_fn_cxx_try_compile "$LINENO"; then : 3391 3392 else 3393 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3171 rm -f conftest.$ac_objext 3172 if { (ac_try="$ac_compile" 3173 case "(($ac_try" in 3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3175 *) ac_try_echo=$ac_try;; 3176 esac 3177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3178 (eval "$ac_compile") 2>conftest.er1 3179 ac_status=$? 3180 grep -v '^ *+' conftest.er1 >conftest.err 3181 rm -f conftest.er1 3182 cat conftest.err >&5 3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3184 (exit $ac_status); } && { 3185 test -z "$ac_cxx_werror_flag" || 3186 test ! -s conftest.err 3187 } && test -s conftest.$ac_objext; then 3188 : 3189 else 3190 echo "$as_me: failed program was:" >&5 3191 sed 's/^/| /' conftest.$ac_ext >&5 3192 3193 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3394 3194 CXXFLAGS="-g" 3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3195 cat >conftest.$ac_ext <<_ACEOF 3196 /* confdefs.h. */ 3197 _ACEOF 3198 cat confdefs.h >>conftest.$ac_ext 3199 cat >>conftest.$ac_ext <<_ACEOF 3396 3200 /* end confdefs.h. */ 3397 3201 … … 3404 3208 } 3405 3209 _ACEOF 3406 if ac_fn_cxx_try_compile "$LINENO"; then : 3210 rm -f conftest.$ac_objext 3211 if { (ac_try="$ac_compile" 3212 case "(($ac_try" in 3213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3214 *) ac_try_echo=$ac_try;; 3215 esac 3216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3217 (eval "$ac_compile") 2>conftest.er1 3218 ac_status=$? 3219 grep -v '^ *+' conftest.er1 >conftest.err 3220 rm -f conftest.er1 3221 cat conftest.err >&5 3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3223 (exit $ac_status); } && { 3224 test -z "$ac_cxx_werror_flag" || 3225 test ! -s conftest.err 3226 } && test -s conftest.$ac_objext; then 3407 3227 ac_cv_prog_cxx_g=yes 3408 fi 3228 else 3229 echo "$as_me: failed program was:" >&5 3230 sed 's/^/| /' conftest.$ac_ext >&5 3231 3232 3233 fi 3234 3409 3235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3410 3236 fi 3237 3411 3238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3412 3239 fi 3240 3413 3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3414 3242 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3415 3243 fi 3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&53417 $as_echo "$ac_cv_prog_cxx_g" >&6; }3244 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3245 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 3418 3246 if test "$ac_test_CXXFLAGS" = set; then 3419 3247 CXXFLAGS=$ac_save_CXXFLAGS … … 3493 3321 3494 3322 3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3496 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3497 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 3498 $as_echo_n "(cached) " >&6 3323 3324 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3325 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 3326 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 3327 echo $ECHO_N "(cached) $ECHO_C" >&6 3499 3328 else 3500 3329 ac_check_lib_save_LIBS=$LIBS 3501 3330 LIBS="-lpthread $LIBS" 3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3331 cat >conftest.$ac_ext <<_ACEOF 3332 /* confdefs.h. */ 3333 _ACEOF 3334 cat confdefs.h >>conftest.$ac_ext 3335 cat >>conftest.$ac_ext <<_ACEOF 3503 3336 /* end confdefs.h. */ 3504 3337 … … 3518 3351 } 3519 3352 _ACEOF 3520 if ac_fn_c_try_link "$LINENO"; then : 3353 rm -f conftest.$ac_objext conftest$ac_exeext 3354 if { (ac_try="$ac_link" 3355 case "(($ac_try" in 3356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3357 *) ac_try_echo=$ac_try;; 3358 esac 3359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3360 (eval "$ac_link") 2>conftest.er1 3361 ac_status=$? 3362 grep -v '^ *+' conftest.er1 >conftest.err 3363 rm -f conftest.er1 3364 cat conftest.err >&5 3365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3366 (exit $ac_status); } && { 3367 test -z "$ac_c_werror_flag" || 3368 test ! -s conftest.err 3369 } && test -s conftest$ac_exeext && 3370 $as_test_x conftest$ac_exeext; then 3521 3371 ac_cv_lib_pthread_pthread_create=yes 3522 3372 else 3523 ac_cv_lib_pthread_pthread_create=no 3524 fi 3525 rm -f core conftest.err conftest.$ac_objext \ 3526 conftest$ac_exeext conftest.$ac_ext 3373 echo "$as_me: failed program was:" >&5 3374 sed 's/^/| /' conftest.$ac_ext >&5 3375 3376 ac_cv_lib_pthread_pthread_create=no 3377 fi 3378 3379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3380 conftest$ac_exeext conftest.$ac_ext 3527 3381 LIBS=$ac_check_lib_save_LIBS 3528 3382 fi 3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&53530 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }3531 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :3383 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 3384 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 3385 if test $ac_cv_lib_pthread_pthread_create = yes; then 3532 3386 cat >>confdefs.h <<_ACEOF 3533 3387 #define HAVE_LIBPTHREAD 1 … … 3538 3392 fi 3539 3393 3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 3541 $as_echo_n "checking for puts in -lwsock32... " >&6; } 3542 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 3543 $as_echo_n "(cached) " >&6 3394 3395 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3396 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 3397 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 3398 echo $ECHO_N "(cached) $ECHO_C" >&6 3544 3399 else 3545 3400 ac_check_lib_save_LIBS=$LIBS 3546 3401 LIBS="-lwsock32 $LIBS" 3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3402 cat >conftest.$ac_ext <<_ACEOF 3403 /* confdefs.h. */ 3404 _ACEOF 3405 cat confdefs.h >>conftest.$ac_ext 3406 cat >>conftest.$ac_ext <<_ACEOF 3548 3407 /* end confdefs.h. */ 3549 3408 … … 3563 3422 } 3564 3423 _ACEOF 3565 if ac_fn_c_try_link "$LINENO"; then : 3424 rm -f conftest.$ac_objext conftest$ac_exeext 3425 if { (ac_try="$ac_link" 3426 case "(($ac_try" in 3427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3428 *) ac_try_echo=$ac_try;; 3429 esac 3430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3431 (eval "$ac_link") 2>conftest.er1 3432 ac_status=$? 3433 grep -v '^ *+' conftest.er1 >conftest.err 3434 rm -f conftest.er1 3435 cat conftest.err >&5 3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3437 (exit $ac_status); } && { 3438 test -z "$ac_c_werror_flag" || 3439 test ! -s conftest.err 3440 } && test -s conftest$ac_exeext && 3441 $as_test_x conftest$ac_exeext; then 3566 3442 ac_cv_lib_wsock32_puts=yes 3567 3443 else 3568 ac_cv_lib_wsock32_puts=no 3569 fi 3570 rm -f core conftest.err conftest.$ac_objext \ 3571 conftest$ac_exeext conftest.$ac_ext 3444 echo "$as_me: failed program was:" >&5 3445 sed 's/^/| /' conftest.$ac_ext >&5 3446 3447 ac_cv_lib_wsock32_puts=no 3448 fi 3449 3450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3451 conftest$ac_exeext conftest.$ac_ext 3572 3452 LIBS=$ac_check_lib_save_LIBS 3573 3453 fi 3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&53575 $as_echo "$ac_cv_lib_wsock32_puts" >&6; }3576 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then :3454 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 3455 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 3456 if test $ac_cv_lib_wsock32_puts = yes; then 3577 3457 cat >>confdefs.h <<_ACEOF 3578 3458 #define HAVE_LIBWSOCK32 1 … … 3583 3463 fi 3584 3464 3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 3586 $as_echo_n "checking for puts in -lws2_32... " >&6; } 3587 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 3588 $as_echo_n "(cached) " >&6 3465 3466 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3467 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 3468 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 3469 echo $ECHO_N "(cached) $ECHO_C" >&6 3589 3470 else 3590 3471 ac_check_lib_save_LIBS=$LIBS 3591 3472 LIBS="-lws2_32 $LIBS" 3592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3473 cat >conftest.$ac_ext <<_ACEOF 3474 /* confdefs.h. */ 3475 _ACEOF 3476 cat confdefs.h >>conftest.$ac_ext 3477 cat >>conftest.$ac_ext <<_ACEOF 3593 3478 /* end confdefs.h. */ 3594 3479 … … 3608 3493 } 3609 3494 _ACEOF 3610 if ac_fn_c_try_link "$LINENO"; then : 3495 rm -f conftest.$ac_objext conftest$ac_exeext 3496 if { (ac_try="$ac_link" 3497 case "(($ac_try" in 3498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3499 *) ac_try_echo=$ac_try;; 3500 esac 3501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3502 (eval "$ac_link") 2>conftest.er1 3503 ac_status=$? 3504 grep -v '^ *+' conftest.er1 >conftest.err 3505 rm -f conftest.er1 3506 cat conftest.err >&5 3507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3508 (exit $ac_status); } && { 3509 test -z "$ac_c_werror_flag" || 3510 test ! -s conftest.err 3511 } && test -s conftest$ac_exeext && 3512 $as_test_x conftest$ac_exeext; then 3611 3513 ac_cv_lib_ws2_32_puts=yes 3612 3514 else 3613 ac_cv_lib_ws2_32_puts=no 3614 fi 3615 rm -f core conftest.err conftest.$ac_objext \ 3616 conftest$ac_exeext conftest.$ac_ext 3515 echo "$as_me: failed program was:" >&5 3516 sed 's/^/| /' conftest.$ac_ext >&5 3517 3518 ac_cv_lib_ws2_32_puts=no 3519 fi 3520 3521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3522 conftest$ac_exeext conftest.$ac_ext 3617 3523 LIBS=$ac_check_lib_save_LIBS 3618 3524 fi 3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&53620 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; }3621 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then :3525 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 3526 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 3527 if test $ac_cv_lib_ws2_32_puts = yes; then 3622 3528 cat >>confdefs.h <<_ACEOF 3623 3529 #define HAVE_LIBWS2_32 1 … … 3628 3534 fi 3629 3535 3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 3631 $as_echo_n "checking for puts in -lole32... " >&6; } 3632 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 3633 $as_echo_n "(cached) " >&6 3536 3537 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3538 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 3539 if test "${ac_cv_lib_ole32_puts+set}" = set; then 3540 echo $ECHO_N "(cached) $ECHO_C" >&6 3634 3541 else 3635 3542 ac_check_lib_save_LIBS=$LIBS 3636 3543 LIBS="-lole32 $LIBS" 3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3544 cat >conftest.$ac_ext <<_ACEOF 3545 /* confdefs.h. */ 3546 _ACEOF 3547 cat confdefs.h >>conftest.$ac_ext 3548 cat >>conftest.$ac_ext <<_ACEOF 3638 3549 /* end confdefs.h. */ 3639 3550 … … 3653 3564 } 3654 3565 _ACEOF 3655 if ac_fn_c_try_link "$LINENO"; then : 3566 rm -f conftest.$ac_objext conftest$ac_exeext 3567 if { (ac_try="$ac_link" 3568 case "(($ac_try" in 3569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3570 *) ac_try_echo=$ac_try;; 3571 esac 3572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3573 (eval "$ac_link") 2>conftest.er1 3574 ac_status=$? 3575 grep -v '^ *+' conftest.er1 >conftest.err 3576 rm -f conftest.er1 3577 cat conftest.err >&5 3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3579 (exit $ac_status); } && { 3580 test -z "$ac_c_werror_flag" || 3581 test ! -s conftest.err 3582 } && test -s conftest$ac_exeext && 3583 $as_test_x conftest$ac_exeext; then 3656 3584 ac_cv_lib_ole32_puts=yes 3657 3585 else 3658 ac_cv_lib_ole32_puts=no 3659 fi 3660 rm -f core conftest.err conftest.$ac_objext \ 3661 conftest$ac_exeext conftest.$ac_ext 3586 echo "$as_me: failed program was:" >&5 3587 sed 's/^/| /' conftest.$ac_ext >&5 3588 3589 ac_cv_lib_ole32_puts=no 3590 fi 3591 3592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3593 conftest$ac_exeext conftest.$ac_ext 3662 3594 LIBS=$ac_check_lib_save_LIBS 3663 3595 fi 3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&53665 $as_echo "$ac_cv_lib_ole32_puts" >&6; }3666 if test "x$ac_cv_lib_ole32_puts" = x""yes; then :3596 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 3597 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 3598 if test $ac_cv_lib_ole32_puts = yes; then 3667 3599 cat >>confdefs.h <<_ACEOF 3668 3600 #define HAVE_LIBOLE32 1 … … 3673 3605 fi 3674 3606 3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 3676 $as_echo_n "checking for puts in -lwinmm... " >&6; } 3677 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 3678 $as_echo_n "(cached) " >&6 3607 3608 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3609 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 3610 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3611 echo $ECHO_N "(cached) $ECHO_C" >&6 3679 3612 else 3680 3613 ac_check_lib_save_LIBS=$LIBS 3681 3614 LIBS="-lwinmm $LIBS" 3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3615 cat >conftest.$ac_ext <<_ACEOF 3616 /* confdefs.h. */ 3617 _ACEOF 3618 cat confdefs.h >>conftest.$ac_ext 3619 cat >>conftest.$ac_ext <<_ACEOF 3683 3620 /* end confdefs.h. */ 3684 3621 … … 3698 3635 } 3699 3636 _ACEOF 3700 if ac_fn_c_try_link "$LINENO"; then : 3637 rm -f conftest.$ac_objext conftest$ac_exeext 3638 if { (ac_try="$ac_link" 3639 case "(($ac_try" in 3640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3641 *) ac_try_echo=$ac_try;; 3642 esac 3643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3644 (eval "$ac_link") 2>conftest.er1 3645 ac_status=$? 3646 grep -v '^ *+' conftest.er1 >conftest.err 3647 rm -f conftest.er1 3648 cat conftest.err >&5 3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3650 (exit $ac_status); } && { 3651 test -z "$ac_c_werror_flag" || 3652 test ! -s conftest.err 3653 } && test -s conftest$ac_exeext && 3654 $as_test_x conftest$ac_exeext; then 3701 3655 ac_cv_lib_winmm_puts=yes 3702 3656 else 3703 ac_cv_lib_winmm_puts=no 3704 fi 3705 rm -f core conftest.err conftest.$ac_objext \ 3706 conftest$ac_exeext conftest.$ac_ext 3657 echo "$as_me: failed program was:" >&5 3658 sed 's/^/| /' conftest.$ac_ext >&5 3659 3660 ac_cv_lib_winmm_puts=no 3661 fi 3662 3663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3664 conftest$ac_exeext conftest.$ac_ext 3707 3665 LIBS=$ac_check_lib_save_LIBS 3708 3666 fi 3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&53710 $as_echo "$ac_cv_lib_winmm_puts" >&6; }3711 if test "x$ac_cv_lib_winmm_puts" = x""yes; then :3667 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 3668 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 3669 if test $ac_cv_lib_winmm_puts = yes; then 3712 3670 cat >>confdefs.h <<_ACEOF 3713 3671 #define HAVE_LIBWINMM 1 … … 3718 3676 fi 3719 3677 3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 3721 $as_echo_n "checking for puts in -lsocket... " >&6; } 3722 if test "${ac_cv_lib_socket_puts+set}" = set; then : 3723 $as_echo_n "(cached) " >&6 3678 3679 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3680 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 3681 if test "${ac_cv_lib_socket_puts+set}" = set; then 3682 echo $ECHO_N "(cached) $ECHO_C" >&6 3724 3683 else 3725 3684 ac_check_lib_save_LIBS=$LIBS 3726 3685 LIBS="-lsocket $LIBS" 3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3686 cat >conftest.$ac_ext <<_ACEOF 3687 /* confdefs.h. */ 3688 _ACEOF 3689 cat confdefs.h >>conftest.$ac_ext 3690 cat >>conftest.$ac_ext <<_ACEOF 3728 3691 /* end confdefs.h. */ 3729 3692 … … 3743 3706 } 3744 3707 _ACEOF 3745 if ac_fn_c_try_link "$LINENO"; then : 3708 rm -f conftest.$ac_objext conftest$ac_exeext 3709 if { (ac_try="$ac_link" 3710 case "(($ac_try" in 3711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3712 *) ac_try_echo=$ac_try;; 3713 esac 3714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3715 (eval "$ac_link") 2>conftest.er1 3716 ac_status=$? 3717 grep -v '^ *+' conftest.er1 >conftest.err 3718 rm -f conftest.er1 3719 cat conftest.err >&5 3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3721 (exit $ac_status); } && { 3722 test -z "$ac_c_werror_flag" || 3723 test ! -s conftest.err 3724 } && test -s conftest$ac_exeext && 3725 $as_test_x conftest$ac_exeext; then 3746 3726 ac_cv_lib_socket_puts=yes 3747 3727 else 3748 ac_cv_lib_socket_puts=no 3749 fi 3750 rm -f core conftest.err conftest.$ac_objext \ 3751 conftest$ac_exeext conftest.$ac_ext 3728 echo "$as_me: failed program was:" >&5 3729 sed 's/^/| /' conftest.$ac_ext >&5 3730 3731 ac_cv_lib_socket_puts=no 3732 fi 3733 3734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3735 conftest$ac_exeext conftest.$ac_ext 3752 3736 LIBS=$ac_check_lib_save_LIBS 3753 3737 fi 3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&53755 $as_echo "$ac_cv_lib_socket_puts" >&6; }3756 if test "x$ac_cv_lib_socket_puts" = x""yes; then :3738 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 3739 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 3740 if test $ac_cv_lib_socket_puts = yes; then 3757 3741 cat >>confdefs.h <<_ACEOF 3758 3742 #define HAVE_LIBSOCKET 1 … … 3763 3747 fi 3764 3748 3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 3766 $as_echo_n "checking for puts in -lrt... " >&6; } 3767 if test "${ac_cv_lib_rt_puts+set}" = set; then : 3768 $as_echo_n "(cached) " >&6 3749 3750 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3751 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 3752 if test "${ac_cv_lib_rt_puts+set}" = set; then 3753 echo $ECHO_N "(cached) $ECHO_C" >&6 3769 3754 else 3770 3755 ac_check_lib_save_LIBS=$LIBS 3771 3756 LIBS="-lrt $LIBS" 3772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3757 cat >conftest.$ac_ext <<_ACEOF 3758 /* confdefs.h. */ 3759 _ACEOF 3760 cat confdefs.h >>conftest.$ac_ext 3761 cat >>conftest.$ac_ext <<_ACEOF 3773 3762 /* end confdefs.h. */ 3774 3763 … … 3788 3777 } 3789 3778 _ACEOF 3790 if ac_fn_c_try_link "$LINENO"; then : 3779 rm -f conftest.$ac_objext conftest$ac_exeext 3780 if { (ac_try="$ac_link" 3781 case "(($ac_try" in 3782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3783 *) ac_try_echo=$ac_try;; 3784 esac 3785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3786 (eval "$ac_link") 2>conftest.er1 3787 ac_status=$? 3788 grep -v '^ *+' conftest.er1 >conftest.err 3789 rm -f conftest.er1 3790 cat conftest.err >&5 3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3792 (exit $ac_status); } && { 3793 test -z "$ac_c_werror_flag" || 3794 test ! -s conftest.err 3795 } && test -s conftest$ac_exeext && 3796 $as_test_x conftest$ac_exeext; then 3791 3797 ac_cv_lib_rt_puts=yes 3792 3798 else 3793 ac_cv_lib_rt_puts=no 3794 fi 3795 rm -f core conftest.err conftest.$ac_objext \ 3796 conftest$ac_exeext conftest.$ac_ext 3799 echo "$as_me: failed program was:" >&5 3800 sed 's/^/| /' conftest.$ac_ext >&5 3801 3802 ac_cv_lib_rt_puts=no 3803 fi 3804 3805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3806 conftest$ac_exeext conftest.$ac_ext 3797 3807 LIBS=$ac_check_lib_save_LIBS 3798 3808 fi 3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&53800 $as_echo "$ac_cv_lib_rt_puts" >&6; }3801 if test "x$ac_cv_lib_rt_puts" = x""yes; then :3809 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 3810 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 3811 if test $ac_cv_lib_rt_puts = yes; then 3802 3812 cat >>confdefs.h <<_ACEOF 3803 3813 #define HAVE_LIBRT 1 … … 3808 3818 fi 3809 3819 3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 3811 $as_echo_n "checking for puts in -lnsl... " >&6; } 3812 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 3813 $as_echo_n "(cached) " >&6 3820 3821 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3822 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 3823 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3824 echo $ECHO_N "(cached) $ECHO_C" >&6 3814 3825 else 3815 3826 ac_check_lib_save_LIBS=$LIBS 3816 3827 LIBS="-lnsl $LIBS" 3817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3828 cat >conftest.$ac_ext <<_ACEOF 3829 /* confdefs.h. */ 3830 _ACEOF 3831 cat confdefs.h >>conftest.$ac_ext 3832 cat >>conftest.$ac_ext <<_ACEOF 3818 3833 /* end confdefs.h. */ 3819 3834 … … 3833 3848 } 3834 3849 _ACEOF 3835 if ac_fn_c_try_link "$LINENO"; then : 3850 rm -f conftest.$ac_objext conftest$ac_exeext 3851 if { (ac_try="$ac_link" 3852 case "(($ac_try" in 3853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3854 *) ac_try_echo=$ac_try;; 3855 esac 3856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3857 (eval "$ac_link") 2>conftest.er1 3858 ac_status=$? 3859 grep -v '^ *+' conftest.er1 >conftest.err 3860 rm -f conftest.er1 3861 cat conftest.err >&5 3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3863 (exit $ac_status); } && { 3864 test -z "$ac_c_werror_flag" || 3865 test ! -s conftest.err 3866 } && test -s conftest$ac_exeext && 3867 $as_test_x conftest$ac_exeext; then 3836 3868 ac_cv_lib_nsl_puts=yes 3837 3869 else 3838 ac_cv_lib_nsl_puts=no 3839 fi 3840 rm -f core conftest.err conftest.$ac_objext \ 3841 conftest$ac_exeext conftest.$ac_ext 3870 echo "$as_me: failed program was:" >&5 3871 sed 's/^/| /' conftest.$ac_ext >&5 3872 3873 ac_cv_lib_nsl_puts=no 3874 fi 3875 3876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3877 conftest$ac_exeext conftest.$ac_ext 3842 3878 LIBS=$ac_check_lib_save_LIBS 3843 3879 fi 3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&53845 $as_echo "$ac_cv_lib_nsl_puts" >&6; }3846 if test "x$ac_cv_lib_nsl_puts" = x""yes; then :3880 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 3881 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 3882 if test $ac_cv_lib_nsl_puts = yes; then 3847 3883 cat >>confdefs.h <<_ACEOF 3848 3884 #define HAVE_LIBNSL 1 … … 3853 3889 fi 3854 3890 3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3856 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3857 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3858 $as_echo_n "(cached) " >&6 3891 3892 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3893 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3894 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3895 echo $ECHO_N "(cached) $ECHO_C" >&6 3859 3896 else 3860 3897 ac_check_lib_save_LIBS=$LIBS 3861 3898 LIBS="-luuid $LIBS" 3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3899 cat >conftest.$ac_ext <<_ACEOF 3900 /* confdefs.h. */ 3901 _ACEOF 3902 cat confdefs.h >>conftest.$ac_ext 3903 cat >>conftest.$ac_ext <<_ACEOF 3863 3904 /* end confdefs.h. */ 3864 3905 … … 3878 3919 } 3879 3920 _ACEOF 3880 if ac_fn_c_try_link "$LINENO"; then : 3921 rm -f conftest.$ac_objext conftest$ac_exeext 3922 if { (ac_try="$ac_link" 3923 case "(($ac_try" in 3924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3925 *) ac_try_echo=$ac_try;; 3926 esac 3927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3928 (eval "$ac_link") 2>conftest.er1 3929 ac_status=$? 3930 grep -v '^ *+' conftest.er1 >conftest.err 3931 rm -f conftest.er1 3932 cat conftest.err >&5 3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3934 (exit $ac_status); } && { 3935 test -z "$ac_c_werror_flag" || 3936 test ! -s conftest.err 3937 } && test -s conftest$ac_exeext && 3938 $as_test_x conftest$ac_exeext; then 3881 3939 ac_cv_lib_uuid_uuid_generate=yes 3882 3940 else 3883 ac_cv_lib_uuid_uuid_generate=no 3884 fi 3885 rm -f core conftest.err conftest.$ac_objext \ 3886 conftest$ac_exeext conftest.$ac_ext 3941 echo "$as_me: failed program was:" >&5 3942 sed 's/^/| /' conftest.$ac_ext >&5 3943 3944 ac_cv_lib_uuid_uuid_generate=no 3945 fi 3946 3947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3948 conftest$ac_exeext conftest.$ac_ext 3887 3949 LIBS=$ac_check_lib_save_LIBS 3888 3950 fi 3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&53890 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }3891 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then :3951 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3952 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 3953 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3892 3954 cat >>confdefs.h <<_ACEOF 3893 3955 #define HAVE_LIBUUID 1 … … 3898 3960 fi 3899 3961 3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&53901 $as_echo_n "checking for uuid_generate in -luuid..." >&6; }3902 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then :3903 $as_echo_n "(cached)" >&63962 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3963 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3964 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3965 echo $ECHO_N "(cached) $ECHO_C" >&6 3904 3966 else 3905 3967 ac_check_lib_save_LIBS=$LIBS 3906 3968 LIBS="-luuid $LIBS" 3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3969 cat >conftest.$ac_ext <<_ACEOF 3970 /* confdefs.h. */ 3971 _ACEOF 3972 cat confdefs.h >>conftest.$ac_ext 3973 cat >>conftest.$ac_ext <<_ACEOF 3908 3974 /* end confdefs.h. */ 3909 3975 … … 3923 3989 } 3924 3990 _ACEOF 3925 if ac_fn_c_try_link "$LINENO"; then : 3991 rm -f conftest.$ac_objext conftest$ac_exeext 3992 if { (ac_try="$ac_link" 3993 case "(($ac_try" in 3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3995 *) ac_try_echo=$ac_try;; 3996 esac 3997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3998 (eval "$ac_link") 2>conftest.er1 3999 ac_status=$? 4000 grep -v '^ *+' conftest.er1 >conftest.err 4001 rm -f conftest.er1 4002 cat conftest.err >&5 4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4004 (exit $ac_status); } && { 4005 test -z "$ac_c_werror_flag" || 4006 test ! -s conftest.err 4007 } && test -s conftest$ac_exeext && 4008 $as_test_x conftest$ac_exeext; then 3926 4009 ac_cv_lib_uuid_uuid_generate=yes 3927 4010 else 3928 ac_cv_lib_uuid_uuid_generate=no 3929 fi 3930 rm -f core conftest.err conftest.$ac_objext \ 3931 conftest$ac_exeext conftest.$ac_ext 4011 echo "$as_me: failed program was:" >&5 4012 sed 's/^/| /' conftest.$ac_ext >&5 4013 4014 ac_cv_lib_uuid_uuid_generate=no 4015 fi 4016 4017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4018 conftest$ac_exeext conftest.$ac_ext 3932 4019 LIBS=$ac_check_lib_save_LIBS 3933 4020 fi 3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&53935 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }3936 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then :4021 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 4022 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 4023 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3937 4024 ac_has_uuid_lib=1 3938 4025 fi 3939 4026 3940 4027 3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&53942 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; }4028 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 4029 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 3943 4030 cat >>confdefs.h <<_ACEOF 3944 4031 #define PJ_M_NAME "$target_cpu" … … 3946 4033 3947 4034 3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&53949 $as_echo_n "checking memory alignment..." >&6; }4035 { echo "$as_me:$LINENO: checking memory alignment" >&5 4036 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 3950 4037 case $target in 3951 4038 sparc64-* | ia64-* | x86_64-* ) 3952 $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 3953 3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 3955 $as_echo "8 bytes" >&6; } 4039 cat >>confdefs.h <<\_ACEOF 4040 #define PJ_POOL_ALIGNMENT 8 4041 _ACEOF 4042 4043 { echo "$as_me:$LINENO: result: 8 bytes" >&5 4044 echo "${ECHO_T}8 bytes" >&6; } 3956 4045 ;; 3957 4046 * ) 3958 $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 3959 3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 3961 $as_echo "4 bytes (default)" >&6; } 4047 cat >>confdefs.h <<\_ACEOF 4048 #define PJ_POOL_ALIGNMENT 4 4049 _ACEOF 4050 4051 { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 4052 echo "${ECHO_T}4 bytes (default)" >&6; } 3962 4053 ;; 3963 4054 esac … … 3969 4060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3970 4061 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&53972 $as_echo_n "checking how to run the C preprocessor..." >&6; }4062 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4063 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3973 4064 # On Suns, sometimes $CPP names a directory. 3974 4065 if test -n "$CPP" && test -d "$CPP"; then … … 3976 4067 fi 3977 4068 if test -z "$CPP"; then 3978 if test "${ac_cv_prog_CPP+set}" = set; then :3979 $as_echo_n "(cached)" >&64069 if test "${ac_cv_prog_CPP+set}" = set; then 4070 echo $ECHO_N "(cached) $ECHO_C" >&6 3980 4071 else 3981 4072 # Double quotes because CPP needs to be expanded … … 3991 4082 # On the NeXT, cc -E runs the code through the compiler's parser, 3992 4083 # not just through cpp. "Syntax error" is here to catch this case. 3993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4084 cat >conftest.$ac_ext <<_ACEOF 4085 /* confdefs.h. */ 4086 _ACEOF 4087 cat confdefs.h >>conftest.$ac_ext 4088 cat >>conftest.$ac_ext <<_ACEOF 3994 4089 /* end confdefs.h. */ 3995 4090 #ifdef __STDC__ … … 4000 4095 Syntax error 4001 4096 _ACEOF 4002 if ac_fn_c_try_cpp "$LINENO"; then : 4003 4004 else 4097 if { (ac_try="$ac_cpp conftest.$ac_ext" 4098 case "(($ac_try" in 4099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4100 *) ac_try_echo=$ac_try;; 4101 esac 4102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4103 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4104 ac_status=$? 4105 grep -v '^ *+' conftest.er1 >conftest.err 4106 rm -f conftest.er1 4107 cat conftest.err >&5 4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4109 (exit $ac_status); } >/dev/null && { 4110 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4111 test ! -s conftest.err 4112 }; then 4113 : 4114 else 4115 echo "$as_me: failed program was:" >&5 4116 sed 's/^/| /' conftest.$ac_ext >&5 4117 4005 4118 # Broken: fails on valid input. 4006 4119 continue 4007 4120 fi 4121 4008 4122 rm -f conftest.err conftest.$ac_ext 4009 4123 4010 4124 # OK, works on sane cases. Now check whether nonexistent headers 4011 4125 # can be detected and how. 4012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4126 cat >conftest.$ac_ext <<_ACEOF 4127 /* confdefs.h. */ 4128 _ACEOF 4129 cat confdefs.h >>conftest.$ac_ext 4130 cat >>conftest.$ac_ext <<_ACEOF 4013 4131 /* end confdefs.h. */ 4014 4132 #include <ac_nonexistent.h> 4015 4133 _ACEOF 4016 if ac_fn_c_try_cpp "$LINENO"; then : 4134 if { (ac_try="$ac_cpp conftest.$ac_ext" 4135 case "(($ac_try" in 4136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4137 *) ac_try_echo=$ac_try;; 4138 esac 4139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4140 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4141 ac_status=$? 4142 grep -v '^ *+' conftest.er1 >conftest.err 4143 rm -f conftest.er1 4144 cat conftest.err >&5 4145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4146 (exit $ac_status); } >/dev/null && { 4147 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4148 test ! -s conftest.err 4149 }; then 4017 4150 # Broken: success on invalid input. 4018 4151 continue 4019 4152 else 4153 echo "$as_me: failed program was:" >&5 4154 sed 's/^/| /' conftest.$ac_ext >&5 4155 4020 4156 # Passes both tests. 4021 4157 ac_preproc_ok=: 4022 4158 break 4023 4159 fi 4160 4024 4161 rm -f conftest.err conftest.$ac_ext 4025 4162 … … 4027 4164 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4028 4165 rm -f conftest.err conftest.$ac_ext 4029 if $ac_preproc_ok; then :4166 if $ac_preproc_ok; then 4030 4167 break 4031 4168 fi … … 4039 4176 ac_cv_prog_CPP=$CPP 4040 4177 fi 4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&54042 $as_echo "$CPP" >&6; }4178 { echo "$as_me:$LINENO: result: $CPP" >&5 4179 echo "${ECHO_T}$CPP" >&6; } 4043 4180 ac_preproc_ok=false 4044 4181 for ac_c_preproc_warn_flag in '' yes … … 4050 4187 # On the NeXT, cc -E runs the code through the compiler's parser, 4051 4188 # not just through cpp. "Syntax error" is here to catch this case. 4052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4189 cat >conftest.$ac_ext <<_ACEOF 4190 /* confdefs.h. */ 4191 _ACEOF 4192 cat confdefs.h >>conftest.$ac_ext 4193 cat >>conftest.$ac_ext <<_ACEOF 4053 4194 /* end confdefs.h. */ 4054 4195 #ifdef __STDC__ … … 4059 4200 Syntax error 4060 4201 _ACEOF 4061 if ac_fn_c_try_cpp "$LINENO"; then : 4062 4063 else 4202 if { (ac_try="$ac_cpp conftest.$ac_ext" 4203 case "(($ac_try" in 4204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4205 *) ac_try_echo=$ac_try;; 4206 esac 4207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4208 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4209 ac_status=$? 4210 grep -v '^ *+' conftest.er1 >conftest.err 4211 rm -f conftest.er1 4212 cat conftest.err >&5 4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4214 (exit $ac_status); } >/dev/null && { 4215 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4216 test ! -s conftest.err 4217 }; then 4218 : 4219 else 4220 echo "$as_me: failed program was:" >&5 4221 sed 's/^/| /' conftest.$ac_ext >&5 4222 4064 4223 # Broken: fails on valid input. 4065 4224 continue 4066 4225 fi 4226 4067 4227 rm -f conftest.err conftest.$ac_ext 4068 4228 4069 4229 # OK, works on sane cases. Now check whether nonexistent headers 4070 4230 # can be detected and how. 4071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4231 cat >conftest.$ac_ext <<_ACEOF 4232 /* confdefs.h. */ 4233 _ACEOF 4234 cat confdefs.h >>conftest.$ac_ext 4235 cat >>conftest.$ac_ext <<_ACEOF 4072 4236 /* end confdefs.h. */ 4073 4237 #include <ac_nonexistent.h> 4074 4238 _ACEOF 4075 if ac_fn_c_try_cpp "$LINENO"; then : 4239 if { (ac_try="$ac_cpp conftest.$ac_ext" 4240 case "(($ac_try" in 4241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4242 *) ac_try_echo=$ac_try;; 4243 esac 4244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4246 ac_status=$? 4247 grep -v '^ *+' conftest.er1 >conftest.err 4248 rm -f conftest.er1 4249 cat conftest.err >&5 4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4251 (exit $ac_status); } >/dev/null && { 4252 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4253 test ! -s conftest.err 4254 }; then 4076 4255 # Broken: success on invalid input. 4077 4256 continue 4078 4257 else 4258 echo "$as_me: failed program was:" >&5 4259 sed 's/^/| /' conftest.$ac_ext >&5 4260 4079 4261 # Passes both tests. 4080 4262 ac_preproc_ok=: 4081 4263 break 4082 4264 fi 4265 4083 4266 rm -f conftest.err conftest.$ac_ext 4084 4267 … … 4086 4269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4087 4270 rm -f conftest.err conftest.$ac_ext 4088 if $ac_preproc_ok; then : 4089 4090 else 4091 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4093 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4094 See \`config.log' for more details." "$LINENO" 5; } 4271 if $ac_preproc_ok; then 4272 : 4273 else 4274 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4275 See \`config.log' for more details." >&5 4276 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4277 See \`config.log' for more details." >&2;} 4278 { (exit 1); exit 1; }; } 4095 4279 fi 4096 4280 … … 4102 4286 4103 4287 4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4105 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4106 if test "${ac_cv_path_GREP+set}" = set; then : 4107 $as_echo_n "(cached) " >&6 4108 else 4109 if test -z "$GREP"; then 4288 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4289 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4290 if test "${ac_cv_path_GREP+set}" = set; then 4291 echo $ECHO_N "(cached) $ECHO_C" >&6 4292 else 4293 # Extract the first word of "grep ggrep" to use in msg output 4294 if test -z "$GREP"; then 4295 set dummy grep ggrep; ac_prog_name=$2 4296 if test "${ac_cv_path_GREP+set}" = set; then 4297 echo $ECHO_N "(cached) $ECHO_C" >&6 4298 else 4110 4299 ac_path_GREP_found=false 4111 4112 4300 # Loop through the user's path and test for each of PROGNAME-LIST 4301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4113 4302 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4114 4303 do 4115 4304 IFS=$as_save_IFS 4116 4305 test -z "$as_dir" && as_dir=. 4117 4118 4119 4120 4121 # Check for GNU ac_path_GREP and select it if it is found.4306 for ac_prog in grep ggrep; do 4307 for ac_exec_ext in '' $ac_executable_extensions; do 4308 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4309 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4310 # Check for GNU ac_path_GREP and select it if it is found. 4122 4311 # Check for GNU $ac_path_GREP 4123 4312 case `"$ac_path_GREP" --version 2>&1` in … … 4126 4315 *) 4127 4316 ac_count=0 4128 $as_echo_n 0123456789>"conftest.in"4317 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4129 4318 while : 4130 4319 do … … 4132 4321 mv "conftest.tmp" "conftest.in" 4133 4322 cp "conftest.in" "conftest.nl" 4134 $as_echo 'GREP' >> "conftest.nl"4323 echo 'GREP' >> "conftest.nl" 4135 4324 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4136 4325 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4137 a s_fn_arith $ac_count + 1 && ac_count=$as_val4326 ac_count=`expr $ac_count + 1` 4138 4327 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4139 4328 # Best one so far, save it but keep looking for a better one … … 4147 4336 esac 4148 4337 4149 $ac_path_GREP_found && break 3 4150 done4338 4339 $ac_path_GREP_found && break 3 4151 4340 done 4152 done 4341 done 4342 4343 done 4153 4344 IFS=$as_save_IFS 4154 if test -z "$ac_cv_path_GREP"; then 4155 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4156 fi 4345 4346 4347 fi 4348 4349 GREP="$ac_cv_path_GREP" 4350 if test -z "$GREP"; then 4351 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4352 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4353 { (exit 1); exit 1; }; } 4354 fi 4355 4157 4356 else 4158 4357 ac_cv_path_GREP=$GREP 4159 4358 fi 4160 4359 4161 fi 4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4163 $as_echo "$ac_cv_path_GREP" >&6; } 4360 4361 fi 4362 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4363 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4164 4364 GREP="$ac_cv_path_GREP" 4165 4365 4166 4366 4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&54168 $as_echo_n "checking for egrep..." >&6; }4169 if test "${ac_cv_path_EGREP+set}" = set; then :4170 $as_echo_n "(cached)" >&64367 { echo "$as_me:$LINENO: checking for egrep" >&5 4368 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4369 if test "${ac_cv_path_EGREP+set}" = set; then 4370 echo $ECHO_N "(cached) $ECHO_C" >&6 4171 4371 else 4172 4372 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4173 4373 then ac_cv_path_EGREP="$GREP -E" 4174 4374 else 4175 if test -z "$EGREP"; then 4375 # Extract the first word of "egrep" to use in msg output 4376 if test -z "$EGREP"; then 4377 set dummy egrep; ac_prog_name=$2 4378 if test "${ac_cv_path_EGREP+set}" = set; then 4379 echo $ECHO_N "(cached) $ECHO_C" >&6 4380 else 4176 4381 ac_path_EGREP_found=false 4177 4178 4382 # Loop through the user's path and test for each of PROGNAME-LIST 4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4179 4384 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4180 4385 do 4181 4386 IFS=$as_save_IFS 4182 4387 test -z "$as_dir" && as_dir=. 4183 4184 4185 4186 4187 # Check for GNU ac_path_EGREP and select it if it is found.4388 for ac_prog in egrep; do 4389 for ac_exec_ext in '' $ac_executable_extensions; do 4390 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4391 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4392 # Check for GNU ac_path_EGREP and select it if it is found. 4188 4393 # Check for GNU $ac_path_EGREP 4189 4394 case `"$ac_path_EGREP" --version 2>&1` in … … 4192 4397 *) 4193 4398 ac_count=0 4194 $as_echo_n 0123456789>"conftest.in"4399 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4195 4400 while : 4196 4401 do … … 4198 4403 mv "conftest.tmp" "conftest.in" 4199 4404 cp "conftest.in" "conftest.nl" 4200 $as_echo 'EGREP' >> "conftest.nl"4405 echo 'EGREP' >> "conftest.nl" 4201 4406 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4202 4407 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4203 a s_fn_arith $ac_count + 1 && ac_count=$as_val4408 ac_count=`expr $ac_count + 1` 4204 4409 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4205 4410 # Best one so far, save it but keep looking for a better one … … 4213 4418 esac 4214 4419 4215 $ac_path_EGREP_found && break 3 4216 done4420 4421 $ac_path_EGREP_found && break 3 4217 4422 done 4218 done 4423 done 4424 4425 done 4219 4426 IFS=$as_save_IFS 4220 if test -z "$ac_cv_path_EGREP"; then 4221 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4222 fi 4427 4428 4429 fi 4430 4431 EGREP="$ac_cv_path_EGREP" 4432 if test -z "$EGREP"; then 4433 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4434 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4435 { (exit 1); exit 1; }; } 4436 fi 4437 4223 4438 else 4224 4439 ac_cv_path_EGREP=$EGREP 4225 4440 fi 4226 4441 4442 4227 4443 fi 4228 4444 fi 4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&54230 $as_echo "$ac_cv_path_EGREP" >&6; }4445 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4446 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4231 4447 EGREP="$ac_cv_path_EGREP" 4232 4448 4233 4449 4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4235 $as_echo_n "checking for ANSI C header files... " >&6; } 4236 if test "${ac_cv_header_stdc+set}" = set; then : 4237 $as_echo_n "(cached) " >&6 4238 else 4239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4450 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4451 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4452 if test "${ac_cv_header_stdc+set}" = set; then 4453 echo $ECHO_N "(cached) $ECHO_C" >&6 4454 else 4455 cat >conftest.$ac_ext <<_ACEOF 4456 /* confdefs.h. */ 4457 _ACEOF 4458 cat confdefs.h >>conftest.$ac_ext 4459 cat >>conftest.$ac_ext <<_ACEOF 4240 4460 /* end confdefs.h. */ 4241 4461 #include <stdlib.h> … … 4252 4472 } 4253 4473 _ACEOF 4254 if ac_fn_c_try_compile "$LINENO"; then : 4474 rm -f conftest.$ac_objext 4475 if { (ac_try="$ac_compile" 4476 case "(($ac_try" in 4477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4478 *) ac_try_echo=$ac_try;; 4479 esac 4480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4481 (eval "$ac_compile") 2>conftest.er1 4482 ac_status=$? 4483 grep -v '^ *+' conftest.er1 >conftest.err 4484 rm -f conftest.er1 4485 cat conftest.err >&5 4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4487 (exit $ac_status); } && { 4488 test -z "$ac_c_werror_flag" || 4489 test ! -s conftest.err 4490 } && test -s conftest.$ac_objext; then 4255 4491 ac_cv_header_stdc=yes 4256 4492 else 4257 ac_cv_header_stdc=no 4258 fi 4493 echo "$as_me: failed program was:" >&5 4494 sed 's/^/| /' conftest.$ac_ext >&5 4495 4496 ac_cv_header_stdc=no 4497 fi 4498 4259 4499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4260 4500 4261 4501 if test $ac_cv_header_stdc = yes; then 4262 4502 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4503 cat >conftest.$ac_ext <<_ACEOF 4504 /* confdefs.h. */ 4505 _ACEOF 4506 cat confdefs.h >>conftest.$ac_ext 4507 cat >>conftest.$ac_ext <<_ACEOF 4264 4508 /* end confdefs.h. */ 4265 4509 #include <string.h> … … 4267 4511 _ACEOF 4268 4512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4269 $EGREP "memchr" >/dev/null 2>&1; then :4270 4513 $EGREP "memchr" >/dev/null 2>&1; then 4514 : 4271 4515 else 4272 4516 ac_cv_header_stdc=no 4273 4517 fi 4274 rm -f conftest*4518 rm -f -r conftest* 4275 4519 4276 4520 fi … … 4278 4522 if test $ac_cv_header_stdc = yes; then 4279 4523 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4524 cat >conftest.$ac_ext <<_ACEOF 4525 /* confdefs.h. */ 4526 _ACEOF 4527 cat confdefs.h >>conftest.$ac_ext 4528 cat >>conftest.$ac_ext <<_ACEOF 4281 4529 /* end confdefs.h. */ 4282 4530 #include <stdlib.h> … … 4284 4532 _ACEOF 4285 4533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4286 $EGREP "free" >/dev/null 2>&1; then :4287 4534 $EGREP "free" >/dev/null 2>&1; then 4535 : 4288 4536 else 4289 4537 ac_cv_header_stdc=no 4290 4538 fi 4291 rm -f conftest*4539 rm -f -r conftest* 4292 4540 4293 4541 fi … … 4295 4543 if test $ac_cv_header_stdc = yes; then 4296 4544 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4297 if test "$cross_compiling" = yes; then :4545 if test "$cross_compiling" = yes; then 4298 4546 : 4299 4547 else 4300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4548 cat >conftest.$ac_ext <<_ACEOF 4549 /* confdefs.h. */ 4550 _ACEOF 4551 cat confdefs.h >>conftest.$ac_ext 4552 cat >>conftest.$ac_ext <<_ACEOF 4301 4553 /* end confdefs.h. */ 4302 4554 #include <ctype.h> … … 4325 4577 } 4326 4578 _ACEOF 4327 if ac_fn_c_try_run "$LINENO"; then : 4328 4329 else 4330 ac_cv_header_stdc=no 4331 fi 4332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4333 conftest.$ac_objext conftest.beam conftest.$ac_ext 4334 fi 4335 4336 fi 4337 fi 4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4339 $as_echo "$ac_cv_header_stdc" >&6; } 4579 rm -f conftest$ac_exeext 4580 if { (ac_try="$ac_link" 4581 case "(($ac_try" in 4582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4583 *) ac_try_echo=$ac_try;; 4584 esac 4585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4586 (eval "$ac_link") 2>&5 4587 ac_status=$? 4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4589 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4590 { (case "(($ac_try" in 4591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4592 *) ac_try_echo=$ac_try;; 4593 esac 4594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4595 (eval "$ac_try") 2>&5 4596 ac_status=$? 4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4598 (exit $ac_status); }; }; then 4599 : 4600 else 4601 echo "$as_me: program exited with status $ac_status" >&5 4602 echo "$as_me: failed program was:" >&5 4603 sed 's/^/| /' conftest.$ac_ext >&5 4604 4605 ( exit $ac_status ) 4606 ac_cv_header_stdc=no 4607 fi 4608 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4609 fi 4610 4611 4612 fi 4613 fi 4614 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4615 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4340 4616 if test $ac_cv_header_stdc = yes; then 4341 4617 4342 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4618 cat >>confdefs.h <<\_ACEOF 4619 #define STDC_HEADERS 1 4620 _ACEOF 4343 4621 4344 4622 fi 4345 4623 4346 4624 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4625 4626 4627 4628 4629 4630 4631 4632 4633 4347 4634 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4348 4635 inttypes.h stdint.h unistd.h 4349 do : 4350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4351 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4352 " 4353 eval as_val=\$$as_ac_Header 4354 if test "x$as_val" = x""yes; then : 4636 do 4637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4638 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4640 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4641 echo $ECHO_N "(cached) $ECHO_C" >&6 4642 else 4643 cat >conftest.$ac_ext <<_ACEOF 4644 /* confdefs.h. */ 4645 _ACEOF 4646 cat confdefs.h >>conftest.$ac_ext 4647 cat >>conftest.$ac_ext <<_ACEOF 4648 /* end confdefs.h. */ 4649 $ac_includes_default 4650 4651 #include <$ac_header> 4652 _ACEOF 4653 rm -f conftest.$ac_objext 4654 if { (ac_try="$ac_compile" 4655 case "(($ac_try" in 4656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4657 *) ac_try_echo=$ac_try;; 4658 esac 4659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4660 (eval "$ac_compile") 2>conftest.er1 4661 ac_status=$? 4662 grep -v '^ *+' conftest.er1 >conftest.err 4663 rm -f conftest.er1 4664 cat conftest.err >&5 4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4666 (exit $ac_status); } && { 4667 test -z "$ac_c_werror_flag" || 4668 test ! -s conftest.err 4669 } && test -s conftest.$ac_objext; then 4670 eval "$as_ac_Header=yes" 4671 else 4672 echo "$as_me: failed program was:" >&5 4673 sed 's/^/| /' conftest.$ac_ext >&5 4674 4675 eval "$as_ac_Header=no" 4676 fi 4677 4678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4679 fi 4680 ac_res=`eval echo '${'$as_ac_Header'}'` 4681 { echo "$as_me:$LINENO: result: $ac_res" >&5 4682 echo "${ECHO_T}$ac_res" >&6; } 4683 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4355 4684 cat >>confdefs.h <<_ACEOF 4356 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 14685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4357 4686 _ACEOF 4358 4687 … … 4362 4691 4363 4692 4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4365 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4366 if test "${ac_cv_c_bigendian+set}" = set; then : 4367 $as_echo_n "(cached) " >&6 4368 else 4369 ac_cv_c_bigendian=unknown 4370 # See if we're dealing with a universal compiler. 4371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4372 /* end confdefs.h. */ 4373 #ifndef __APPLE_CC__ 4374 not a universal capable compiler 4375 #endif 4376 typedef int dummy; 4377 4378 _ACEOF 4379 if ac_fn_c_try_compile "$LINENO"; then : 4380 4381 # Check for potential -arch flags. It is not universal unless 4382 # there are at least two -arch flags with different values. 4383 ac_arch= 4384 ac_prev= 4385 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4386 if test -n "$ac_prev"; then 4387 case $ac_word in 4388 i?86 | x86_64 | ppc | ppc64) 4389 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4390 ac_arch=$ac_word 4391 else 4392 ac_cv_c_bigendian=universal 4393 break 4394 fi 4395 ;; 4396 esac 4397 ac_prev= 4398 elif test "x$ac_word" = "x-arch"; then 4399 ac_prev=arch 4400 fi 4401 done 4402 fi 4403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4404 if test $ac_cv_c_bigendian = unknown; then 4405 # See if sys/param.h defines the BYTE_ORDER macro. 4406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4693 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4694 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4695 if test "${ac_cv_c_bigendian+set}" = set; then 4696 echo $ECHO_N "(cached) $ECHO_C" >&6 4697 else 4698 # See if sys/param.h defines the BYTE_ORDER macro. 4699 cat >conftest.$ac_ext <<_ACEOF 4700 /* confdefs.h. */ 4701 _ACEOF 4702 cat confdefs.h >>conftest.$ac_ext 4703 cat >>conftest.$ac_ext <<_ACEOF 4407 4704 /* end confdefs.h. */ 4408 4705 #include <sys/types.h> 4409 4706 #include <sys/param.h> 4410 4707 4411 4708 int 4412 4709 main () 4413 4710 { 4414 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4415 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4416 && LITTLE_ENDIAN) 4417 bogus endian macros 4418 #endif 4711 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4712 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4713 bogus endian macros 4714 #endif 4419 4715 4420 4716 ; … … 4422 4718 } 4423 4719 _ACEOF 4424 if ac_fn_c_try_compile "$LINENO"; then : 4720 rm -f conftest.$ac_objext 4721 if { (ac_try="$ac_compile" 4722 case "(($ac_try" in 4723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4724 *) ac_try_echo=$ac_try;; 4725 esac 4726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4727 (eval "$ac_compile") 2>conftest.er1 4728 ac_status=$? 4729 grep -v '^ *+' conftest.er1 >conftest.err 4730 rm -f conftest.er1 4731 cat conftest.err >&5 4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4733 (exit $ac_status); } && { 4734 test -z "$ac_c_werror_flag" || 4735 test ! -s conftest.err 4736 } && test -s conftest.$ac_objext; then 4425 4737 # It does; now see whether it defined to BIG_ENDIAN or not. 4426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4738 cat >conftest.$ac_ext <<_ACEOF 4739 /* confdefs.h. */ 4740 _ACEOF 4741 cat confdefs.h >>conftest.$ac_ext 4742 cat >>conftest.$ac_ext <<_ACEOF 4427 4743 /* end confdefs.h. */ 4428 4744 #include <sys/types.h> 4429 4745 #include <sys/param.h> 4430 4746 4431 4747 int … … 4433 4749 { 4434 4750 #if BYTE_ORDER != BIG_ENDIAN 4435 4436 4751 not big endian 4752 #endif 4437 4753 4438 4754 ; … … 4440 4756 } 4441 4757 _ACEOF 4442 if ac_fn_c_try_compile "$LINENO"; then : 4758 rm -f conftest.$ac_objext 4759 if { (ac_try="$ac_compile" 4760 case "(($ac_try" in 4761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4762 *) ac_try_echo=$ac_try;; 4763 esac 4764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4765 (eval "$ac_compile") 2>conftest.er1 4766 ac_status=$? 4767 grep -v '^ *+' conftest.er1 >conftest.err 4768 rm -f conftest.er1 4769 cat conftest.err >&5 4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4771 (exit $ac_status); } && { 4772 test -z "$ac_c_werror_flag" || 4773 test ! -s conftest.err 4774 } && test -s conftest.$ac_objext; then 4443 4775 ac_cv_c_bigendian=yes 4444 4776 else 4445 ac_cv_c_bigendian=no 4446 fi 4777 echo "$as_me: failed program was:" >&5 4778 sed 's/^/| /' conftest.$ac_ext >&5 4779 4780 ac_cv_c_bigendian=no 4781 fi 4782 4447 4783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4448 fi 4449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4450 fi 4451 if test $ac_cv_c_bigendian = unknown; then 4452 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4454 /* end confdefs.h. */ 4455 #include <limits.h> 4456 4784 else 4785 echo "$as_me: failed program was:" >&5 4786 sed 's/^/| /' conftest.$ac_ext >&5 4787 4788 # It does not; compile a test program. 4789 if test "$cross_compiling" = yes; then 4790 # try to guess the endianness by grepping values into an object file 4791 ac_cv_c_bigendian=unknown 4792 cat >conftest.$ac_ext <<_ACEOF 4793 /* confdefs.h. */ 4794 _ACEOF 4795 cat confdefs.h >>conftest.$ac_ext 4796 cat >>conftest.$ac_ext <<_ACEOF 4797 /* end confdefs.h. */ 4798 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4799 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4800 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 4801 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4802 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4803 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 4457 4804 int 4458 4805 main () 4459 4806 { 4460 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4461 bogus endian macros 4462 #endif 4463 4807 _ascii (); _ebcdic (); 4464 4808 ; 4465 4809 return 0; 4466 4810 } 4467 4811 _ACEOF 4468 if ac_fn_c_try_compile "$LINENO"; then : 4469 # It does; now see whether it defined to _BIG_ENDIAN or not. 4470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4471 /* end confdefs.h. */ 4472 #include <limits.h> 4473 4474 int 4475 main () 4476 { 4477 #ifndef _BIG_ENDIAN 4478 not big endian 4479 #endif 4480 4481 ;4482 return 0; 4483 } 4484 _ACEOF 4485 if ac_fn_c_try_compile "$LINENO"; then : 4812 rm -f conftest.$ac_objext 4813 if { (ac_try="$ac_compile" 4814 case "(($ac_try" in 4815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4816 *) ac_try_echo=$ac_try;; 4817 esac 4818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4819 (eval "$ac_compile") 2>conftest.er1 4820 ac_status=$? 4821 grep -v '^ *+' conftest.er1 >conftest.err 4822 rm -f conftest.er1 4823 cat conftest.err >&5 4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4825 (exit $ac_status); } && { 4826 test -z "$ac_c_werror_flag" || 4827 test ! -s conftest.err 4828 } && test -s conftest.$ac_objext; then 4829 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4486 4830 ac_cv_c_bigendian=yes 4487 else 4488 ac_cv_c_bigendian=no 4489 fi 4831 fi 4832 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4833 if test "$ac_cv_c_bigendian" = unknown; then 4834 ac_cv_c_bigendian=no 4835 else 4836 # finding both strings is unlikely to happen, but who knows? 4837 ac_cv_c_bigendian=unknown 4838 fi 4839 fi 4840 else 4841 echo "$as_me: failed program was:" >&5 4842 sed 's/^/| /' conftest.$ac_ext >&5 4843 4844 4845 fi 4846 4490 4847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4491 fi 4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4493 fi 4494 if test $ac_cv_c_bigendian = unknown; then 4495 # Compile a test program. 4496 if test "$cross_compiling" = yes; then : 4497 # Try to guess by grepping values from an object file. 4498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4499 /* end confdefs.h. */ 4500 short int ascii_mm[] = 4501 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4502 short int ascii_ii[] = 4503 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4504 int use_ascii (int i) { 4505 return ascii_mm[i] + ascii_ii[i]; 4506 } 4507 short int ebcdic_ii[] = 4508 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4509 short int ebcdic_mm[] = 4510 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4511 int use_ebcdic (int i) { 4512 return ebcdic_mm[i] + ebcdic_ii[i]; 4513 } 4514 extern int foo; 4515 4516 int 4517 main () 4518 { 4519 return use_ascii (foo) == use_ebcdic (foo); 4520 ; 4521 return 0; 4522 } 4523 _ACEOF 4524 if ac_fn_c_try_compile "$LINENO"; then : 4525 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4526 ac_cv_c_bigendian=yes 4527 fi 4528 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4529 if test "$ac_cv_c_bigendian" = unknown; then 4530 ac_cv_c_bigendian=no 4531 else 4532 # finding both strings is unlikely to happen, but who knows? 4533 ac_cv_c_bigendian=unknown 4534 fi 4535 fi 4536 fi 4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4538 else 4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4848 else 4849 cat >conftest.$ac_ext <<_ACEOF 4850 /* confdefs.h. */ 4851 _ACEOF 4852 cat confdefs.h >>conftest.$ac_ext 4853 cat >>conftest.$ac_ext <<_ACEOF 4540 4854 /* end confdefs.h. */ 4541 4855 $ac_includes_default … … 4544 4858 { 4545 4859 4546 4547 4548 4549 4550 4551 4552 4553 4860 /* Are we little or big endian? From Harbison&Steele. */ 4861 union 4862 { 4863 long int l; 4864 char c[sizeof (long int)]; 4865 } u; 4866 u.l = 1; 4867 return u.c[sizeof (long int) - 1] == 1; 4554 4868 4555 4869 ; … … 4557 4871 } 4558 4872 _ACEOF 4559 if ac_fn_c_try_run "$LINENO"; then : 4873 rm -f conftest$ac_exeext 4874 if { (ac_try="$ac_link" 4875 case "(($ac_try" in 4876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4877 *) ac_try_echo=$ac_try;; 4878 esac 4879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4880 (eval "$ac_link") 2>&5 4881 ac_status=$? 4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4883 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4884 { (case "(($ac_try" in 4885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4886 *) ac_try_echo=$ac_try;; 4887 esac 4888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4889 (eval "$ac_try") 2>&5 4890 ac_status=$? 4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4892 (exit $ac_status); }; }; then 4560 4893 ac_cv_c_bigendian=no 4561 4894 else 4562 ac_cv_c_bigendian=yes 4563 fi 4564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4565 conftest.$ac_objext conftest.beam conftest.$ac_ext 4566 fi 4567 4568 fi 4569 fi 4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4571 $as_echo "$ac_cv_c_bigendian" >&6; } 4572 case $ac_cv_c_bigendian in #( 4573 yes) 4574 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4575 ;; #( 4576 no) 4577 ;; #( 4578 universal) 4579 4580 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4581 4582 ;; #( 4583 *) 4584 as_fn_error "unknown endianness 4585 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4586 esac 4895 echo "$as_me: program exited with status $ac_status" >&5 4896 echo "$as_me: failed program was:" >&5 4897 sed 's/^/| /' conftest.$ac_ext >&5 4898 4899 ( exit $ac_status ) 4900 ac_cv_c_bigendian=yes 4901 fi 4902 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4903 fi 4904 4905 4906 fi 4907 4908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4909 fi 4910 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4911 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4912 case $ac_cv_c_bigendian in 4913 yes) 4914 4915 cat >>confdefs.h <<\_ACEOF 4916 #define WORDS_BIGENDIAN 1 4917 _ACEOF 4918 ;; 4919 no) 4920 ;; 4921 *) 4922 { { echo "$as_me:$LINENO: error: unknown endianness 4923 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4924 echo "$as_me: error: unknown endianness 4925 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4926 { (exit 1); exit 1; }; } ;; 4927 esac 4587 4928 4588 4929 4589 4930 case $target in 4590 4931 *mingw* | *cygw* | *win32* | *w32* ) 4591 $as_echo "#define PJ_WIN32 1" >>confdefs.h 4592 4593 $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 4594 4595 $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 4932 cat >>confdefs.h <<\_ACEOF 4933 #define PJ_WIN32 1 4934 _ACEOF 4935 4936 cat >>confdefs.h <<\_ACEOF 4937 #define PJ_WIN32_WINNT 0x0400 4938 _ACEOF 4939 4940 cat >>confdefs.h <<\_ACEOF 4941 #define WIN32_LEAN_AND_MEAN 1 4942 _ACEOF 4596 4943 4597 4944 ;; 4598 4945 *darwin*) 4599 $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 4946 cat >>confdefs.h <<\_ACEOF 4947 #define PJ_DARWINOS 1 4948 _ACEOF 4600 4949 4601 4950 ;; 4602 4951 *linux*) 4603 $as_echo "#define PJ_LINUX 1" >>confdefs.h 4952 cat >>confdefs.h <<\_ACEOF 4953 #define PJ_LINUX 1 4954 _ACEOF 4604 4955 4605 4956 ;; 4606 4957 *rtems*) 4607 $as_echo "#define PJ_RTEMS 1" >>confdefs.h 4958 cat >>confdefs.h <<\_ACEOF 4959 #define PJ_RTEMS 1 4960 _ACEOF 4608 4961 4609 4962 ;; 4610 4963 *sunos* | *solaris* ) 4611 $as_echo "#define PJ_SUNOS 1" >>confdefs.h 4964 cat >>confdefs.h <<\_ACEOF 4965 #define PJ_SUNOS 1 4966 _ACEOF 4612 4967 4613 4968 ;; … … 4620 4975 4621 4976 # Check whether --enable-floating-point was given. 4622 if test "${enable_floating_point+set}" = set; then :4977 if test "${enable_floating_point+set}" = set; then 4623 4978 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 4624 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 4625 4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 4627 $as_echo "Checking if floating point is disabled... yes" >&6; } 4979 cat >>confdefs.h <<\_ACEOF 4980 #define PJ_HAS_FLOATING_POINT 0 4981 _ACEOF 4982 4983 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 4984 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 4628 4985 fi 4629 4986 else 4630 4987 4631 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 4632 4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 4634 $as_echo "Checking if floating point is disabled... no" >&6; } 4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 4636 $as_echo_n "checking for fmod in -lm... " >&6; } 4637 if test "${ac_cv_lib_m_fmod+set}" = set; then : 4638 $as_echo_n "(cached) " >&6 4988 cat >>confdefs.h <<\_ACEOF 4989 #define PJ_HAS_FLOATING_POINT 1 4990 _ACEOF 4991 4992 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 4993 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 4994 4995 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 4996 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 4997 if test "${ac_cv_lib_m_fmod+set}" = set; then 4998 echo $ECHO_N "(cached) $ECHO_C" >&6 4639 4999 else 4640 5000 ac_check_lib_save_LIBS=$LIBS 4641 5001 LIBS="-lm $LIBS" 4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5002 cat >conftest.$ac_ext <<_ACEOF 5003 /* confdefs.h. */ 5004 _ACEOF 5005 cat confdefs.h >>conftest.$ac_ext 5006 cat >>conftest.$ac_ext <<_ACEOF 4643 5007 /* end confdefs.h. */ 4644 5008 … … 4658 5022 } 4659 5023 _ACEOF 4660 if ac_fn_c_try_link "$LINENO"; then : 5024 rm -f conftest.$ac_objext conftest$ac_exeext 5025 if { (ac_try="$ac_link" 5026 case "(($ac_try" in 5027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5028 *) ac_try_echo=$ac_try;; 5029 esac 5030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5031 (eval "$ac_link") 2>conftest.er1 5032 ac_status=$? 5033 grep -v '^ *+' conftest.er1 >conftest.err 5034 rm -f conftest.er1 5035 cat conftest.err >&5 5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5037 (exit $ac_status); } && { 5038 test -z "$ac_c_werror_flag" || 5039 test ! -s conftest.err 5040 } && test -s conftest$ac_exeext && 5041 $as_test_x conftest$ac_exeext; then 4661 5042 ac_cv_lib_m_fmod=yes 4662 5043 else 4663 ac_cv_lib_m_fmod=no 4664 fi 4665 rm -f core conftest.err conftest.$ac_objext \ 4666 conftest$ac_exeext conftest.$ac_ext 5044 echo "$as_me: failed program was:" >&5 5045 sed 's/^/| /' conftest.$ac_ext >&5 5046 5047 ac_cv_lib_m_fmod=no 5048 fi 5049 5050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5051 conftest$ac_exeext conftest.$ac_ext 4667 5052 LIBS=$ac_check_lib_save_LIBS 4668 5053 fi 4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&54670 $as_echo "$ac_cv_lib_m_fmod" >&6; }4671 if test "x$ac_cv_lib_m_fmod" = x""yes; then :5054 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 5055 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 5056 if test $ac_cv_lib_m_fmod = yes; then 4672 5057 cat >>confdefs.h <<_ACEOF 4673 5058 #define HAVE_LIBM 1 … … 4683 5068 4684 5069 4685 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 4686 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 4687 $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 4688 4689 fi 4690 4691 4692 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 4693 if test "x$ac_cv_header_assert_h" = x""yes; then : 4694 $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 4695 4696 fi 4697 4698 4699 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 4700 if test "x$ac_cv_header_ctype_h" = x""yes; then : 4701 $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 5070 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5071 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5072 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5073 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5074 echo $ECHO_N "(cached) $ECHO_C" >&6 5075 fi 5076 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5077 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5078 else 5079 # Is the header compilable? 5080 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 5081 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 5082 cat >conftest.$ac_ext <<_ACEOF 5083 /* confdefs.h. */ 5084 _ACEOF 5085 cat confdefs.h >>conftest.$ac_ext 5086 cat >>conftest.$ac_ext <<_ACEOF 5087 /* end confdefs.h. */ 5088 $ac_includes_default 5089 #include <arpa/inet.h> 5090 _ACEOF 5091 rm -f conftest.$ac_objext 5092 if { (ac_try="$ac_compile" 5093 case "(($ac_try" in 5094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5095 *) ac_try_echo=$ac_try;; 5096 esac 5097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5098 (eval "$ac_compile") 2>conftest.er1 5099 ac_status=$? 5100 grep -v '^ *+' conftest.er1 >conftest.err 5101 rm -f conftest.er1 5102 cat conftest.err >&5 5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5104 (exit $ac_status); } && { 5105 test -z "$ac_c_werror_flag" || 5106 test ! -s conftest.err 5107 } && test -s conftest.$ac_objext; then 5108 ac_header_compiler=yes 5109 else 5110 echo "$as_me: failed program was:" >&5 5111 sed 's/^/| /' conftest.$ac_ext >&5 5112 5113 ac_header_compiler=no 5114 fi 5115 5116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5117 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5118 echo "${ECHO_T}$ac_header_compiler" >&6; } 5119 5120 # Is the header present? 5121 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 5122 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 5123 cat >conftest.$ac_ext <<_ACEOF 5124 /* confdefs.h. */ 5125 _ACEOF 5126 cat confdefs.h >>conftest.$ac_ext 5127 cat >>conftest.$ac_ext <<_ACEOF 5128 /* end confdefs.h. */ 5129 #include <arpa/inet.h> 5130 _ACEOF 5131 if { (ac_try="$ac_cpp conftest.$ac_ext" 5132 case "(($ac_try" in 5133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5134 *) ac_try_echo=$ac_try;; 5135 esac 5136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5137 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5138 ac_status=$? 5139 grep -v '^ *+' conftest.er1 >conftest.err 5140 rm -f conftest.er1 5141 cat conftest.err >&5 5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5143 (exit $ac_status); } >/dev/null && { 5144 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5145 test ! -s conftest.err 5146 }; then 5147 ac_header_preproc=yes 5148 else 5149 echo "$as_me: failed program was:" >&5 5150 sed 's/^/| /' conftest.$ac_ext >&5 5151 5152 ac_header_preproc=no 5153 fi 5154 5155 rm -f conftest.err conftest.$ac_ext 5156 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5157 echo "${ECHO_T}$ac_header_preproc" >&6; } 5158 5159 # So? What about this header? 5160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5161 yes:no: ) 5162 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 5163 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5164 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 5165 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 5166 ac_header_preproc=yes 5167 ;; 5168 no:yes:* ) 5169 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 5170 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 5171 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 5172 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 5173 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 5174 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 5175 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 5176 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 5177 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 5178 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 5179 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 5180 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 5181 5182 ;; 5183 esac 5184 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5185 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5186 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5187 echo $ECHO_N "(cached) $ECHO_C" >&6 5188 else 5189 ac_cv_header_arpa_inet_h=$ac_header_preproc 5190 fi 5191 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5192 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5193 5194 fi 5195 if test $ac_cv_header_arpa_inet_h = yes; then 5196 cat >>confdefs.h <<\_ACEOF 5197 #define PJ_HAS_ARPA_INET_H 1 5198 _ACEOF 5199 5200 fi 5201 5202 5203 if test "${ac_cv_header_assert_h+set}" = set; then 5204 { echo "$as_me:$LINENO: checking for assert.h" >&5 5205 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5206 if test "${ac_cv_header_assert_h+set}" = set; then 5207 echo $ECHO_N "(cached) $ECHO_C" >&6 5208 fi 5209 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5210 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5211 else 5212 # Is the header compilable? 5213 { echo "$as_me:$LINENO: checking assert.h usability" >&5 5214 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 5215 cat >conftest.$ac_ext <<_ACEOF 5216 /* confdefs.h. */ 5217 _ACEOF 5218 cat confdefs.h >>conftest.$ac_ext 5219 cat >>conftest.$ac_ext <<_ACEOF 5220 /* end confdefs.h. */ 5221 $ac_includes_default 5222 #include <assert.h> 5223 _ACEOF 5224 rm -f conftest.$ac_objext 5225 if { (ac_try="$ac_compile" 5226 case "(($ac_try" in 5227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5228 *) ac_try_echo=$ac_try;; 5229 esac 5230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5231 (eval "$ac_compile") 2>conftest.er1 5232 ac_status=$? 5233 grep -v '^ *+' conftest.er1 >conftest.err 5234 rm -f conftest.er1 5235 cat conftest.err >&5 5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5237 (exit $ac_status); } && { 5238 test -z "$ac_c_werror_flag" || 5239 test ! -s conftest.err 5240 } && test -s conftest.$ac_objext; then 5241 ac_header_compiler=yes 5242 else 5243 echo "$as_me: failed program was:" >&5 5244 sed 's/^/| /' conftest.$ac_ext >&5 5245 5246 ac_header_compiler=no 5247 fi 5248 5249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5250 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5251 echo "${ECHO_T}$ac_header_compiler" >&6; } 5252 5253 # Is the header present? 5254 { echo "$as_me:$LINENO: checking assert.h presence" >&5 5255 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 5256 cat >conftest.$ac_ext <<_ACEOF 5257 /* confdefs.h. */ 5258 _ACEOF 5259 cat confdefs.h >>conftest.$ac_ext 5260 cat >>conftest.$ac_ext <<_ACEOF 5261 /* end confdefs.h. */ 5262 #include <assert.h> 5263 _ACEOF 5264 if { (ac_try="$ac_cpp conftest.$ac_ext" 5265 case "(($ac_try" in 5266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5267 *) ac_try_echo=$ac_try;; 5268 esac 5269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5270 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5271 ac_status=$? 5272 grep -v '^ *+' conftest.er1 >conftest.err 5273 rm -f conftest.er1 5274 cat conftest.err >&5 5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5276 (exit $ac_status); } >/dev/null && { 5277 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5278 test ! -s conftest.err 5279 }; then 5280 ac_header_preproc=yes 5281 else 5282 echo "$as_me: failed program was:" >&5 5283 sed 's/^/| /' conftest.$ac_ext >&5 5284 5285 ac_header_preproc=no 5286 fi 5287 5288 rm -f conftest.err conftest.$ac_ext 5289 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5290 echo "${ECHO_T}$ac_header_preproc" >&6; } 5291 5292 # So? What about this header? 5293 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5294 yes:no: ) 5295 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 5296 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5297 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 5298 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 5299 ac_header_preproc=yes 5300 ;; 5301 no:yes:* ) 5302 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 5303 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 5304 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5 5305 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;} 5306 { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 5307 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 5308 { echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5 5309 echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;} 5310 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 5311 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 5312 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 5313 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 5314 5315 ;; 5316 esac 5317 { echo "$as_me:$LINENO: checking for assert.h" >&5 5318 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5319 if test "${ac_cv_header_assert_h+set}" = set; then 5320 echo $ECHO_N "(cached) $ECHO_C" >&6 5321 else 5322 ac_cv_header_assert_h=$ac_header_preproc 5323 fi 5324 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5325 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5326 5327 fi 5328 if test $ac_cv_header_assert_h = yes; then 5329 cat >>confdefs.h <<\_ACEOF 5330 #define PJ_HAS_ASSERT_H 1 5331 _ACEOF 5332 5333 fi 5334 5335 5336 if test "${ac_cv_header_ctype_h+set}" = set; then 5337 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5338 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5339 if test "${ac_cv_header_ctype_h+set}" = set; then 5340 echo $ECHO_N "(cached) $ECHO_C" >&6 5341 fi 5342 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5343 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5344 else 5345 # Is the header compilable? 5346 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 5347 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 5348 cat >conftest.$ac_ext <<_ACEOF 5349 /* confdefs.h. */ 5350 _ACEOF 5351 cat confdefs.h >>conftest.$ac_ext 5352 cat >>conftest.$ac_ext <<_ACEOF 5353 /* end confdefs.h. */ 5354 $ac_includes_default 5355 #include <ctype.h> 5356 _ACEOF 5357 rm -f conftest.$ac_objext 5358 if { (ac_try="$ac_compile" 5359 case "(($ac_try" in 5360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5361 *) ac_try_echo=$ac_try;; 5362 esac 5363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5364 (eval "$ac_compile") 2>conftest.er1 5365 ac_status=$? 5366 grep -v '^ *+' conftest.er1 >conftest.err 5367 rm -f conftest.er1 5368 cat conftest.err >&5 5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5370 (exit $ac_status); } && { 5371 test -z "$ac_c_werror_flag" || 5372 test ! -s conftest.err 5373 } && test -s conftest.$ac_objext; then 5374 ac_header_compiler=yes 5375 else 5376 echo "$as_me: failed program was:" >&5 5377 sed 's/^/| /' conftest.$ac_ext >&5 5378 5379 ac_header_compiler=no 5380 fi 5381 5382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5383 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5384 echo "${ECHO_T}$ac_header_compiler" >&6; } 5385 5386 # Is the header present? 5387 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 5388 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 5389 cat >conftest.$ac_ext <<_ACEOF 5390 /* confdefs.h. */ 5391 _ACEOF 5392 cat confdefs.h >>conftest.$ac_ext 5393 cat >>conftest.$ac_ext <<_ACEOF 5394 /* end confdefs.h. */ 5395 #include <ctype.h> 5396 _ACEOF 5397 if { (ac_try="$ac_cpp conftest.$ac_ext" 5398 case "(($ac_try" in 5399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5400 *) ac_try_echo=$ac_try;; 5401 esac 5402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5403 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5404 ac_status=$? 5405 grep -v '^ *+' conftest.er1 >conftest.err 5406 rm -f conftest.er1 5407 cat conftest.err >&5 5408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5409 (exit $ac_status); } >/dev/null && { 5410 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5411 test ! -s conftest.err 5412 }; then 5413 ac_header_preproc=yes 5414 else 5415 echo "$as_me: failed program was:" >&5 5416 sed 's/^/| /' conftest.$ac_ext >&5 5417 5418 ac_header_preproc=no 5419 fi 5420 5421 rm -f conftest.err conftest.$ac_ext 5422 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5423 echo "${ECHO_T}$ac_header_preproc" >&6; } 5424 5425 # So? What about this header? 5426 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5427 yes:no: ) 5428 { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 5429 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5430 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 5431 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 5432 ac_header_preproc=yes 5433 ;; 5434 no:yes:* ) 5435 { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 5436 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 5437 { echo "$as_me:$LINENO: WARNING: ctype.h: check for missing prerequisite headers?" >&5 5438 echo "$as_me: WARNING: ctype.h: check for missing prerequisite headers?" >&2;} 5439 { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 5440 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 5441 { echo "$as_me:$LINENO: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&5 5442 echo "$as_me: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&2;} 5443 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 5444 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 5445 { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 5446 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 5447 5448 ;; 5449 esac 5450 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5451 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5452 if test "${ac_cv_header_ctype_h+set}" = set; then 5453 echo $ECHO_N "(cached) $ECHO_C" >&6 5454 else 5455 ac_cv_header_ctype_h=$ac_header_preproc 5456 fi 5457 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5458 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5459 5460 fi 5461 if test $ac_cv_header_ctype_h = yes; then 5462 cat >>confdefs.h <<\_ACEOF 5463 #define PJ_HAS_CTYPE_H 1 5464 _ACEOF 4702 5465