Changeset 3691
- Timestamp:
- Aug 9, 2011 4:31:41 AM (12 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r3672 r3691 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_qt_cflags 621 ac_pjmedia_video_has_qt 622 ac_ios_cflags 623 ac_pjmedia_video 624 ac_pa_use_oss 625 ac_pa_use_alsa 626 ac_pa_cflags 627 ac_external_pa 628 ac_pjmedia_snd 629 ac_external_gsm 630 ac_external_speex 631 ac_os_objs 632 EGREP 633 GREP 634 CPP 635 ac_build_mak_vars 636 ac_pjdir 637 CC_CFLAGS 638 CC_OPTIMIZE 639 CC_DEF 640 CC_INC 641 CC_OUT 642 LIBEXT2 643 LIBEXT 644 RANLIB 645 LDOUT 646 LD 647 AR 648 ac_ct_CXX 649 CXXFLAGS 650 CXX 651 OBJEXT 652 EXEEXT 653 ac_ct_CC 654 CPPFLAGS 655 LDFLAGS 656 CFLAGS 657 CC 658 target_os 659 target_vendor 660 target_cpu 661 target 662 host_os 663 host_vendor 664 host_cpu 665 host 666 build_os 667 build_vendor 668 build_cpu 669 build 670 target_alias 671 host_alias 672 build_alias 673 LIBS 674 ECHO_T 675 ECHO_N 676 ECHO_C 677 DEFS 678 mandir 679 localedir 680 libdir 681 psdir 682 pdfdir 683 dvidir 684 htmldir 685 infodir 686 docdir 687 oldincludedir 688 includedir 689 localstatedir 690 sharedstatedir 691 sysconfdir 692 datadir 693 datarootdir 694 libexecdir 695 sbindir 696 bindir 697 program_transform_name 698 prefix 699 exec_prefix 700 PACKAGE_URL 701 PACKAGE_BUGREPORT 702 PACKAGE_STRING 703 PACKAGE_VERSION 704 PACKAGE_TARNAME 705 PACKAGE_NAME 706 PATH_SEPARATOR 707 SHELL' 728 LTLIBOBJS' 708 729 ac_subst_files='' 709 ac_user_opts='710 enable_option_checking711 enable_floating_point712 enable_epoll713 with_external_speex714 with_external_gsm715 enable_sound716 with_external_pa717 enable_oss718 enable_ext_sound719 enable_small_filter720 enable_large_filter721 enable_speex_aec722 enable_g711_codec723 enable_l16_codec724 enable_gsm_codec725 enable_g722_codec726 enable_g7221_codec727 enable_speex_codec728 enable_ilbc_codec729 enable_libsamplerate730 with_sdl731 enable_sdl732 enable_ffmpeg733 with_ffmpeg734 enable_v4l2735 enable_ipp736 with_ipp737 with_ipp_samples738 with_ipp_arch739 enable_ssl740 '741 730 ac_precious_vars='build_alias 742 731 host_alias … … 756 745 ac_init_help= 757 746 ac_init_version=false 758 ac_unrecognized_opts=759 ac_unrecognized_sep=760 747 # The variables have the same names as the options, with 761 748 # dashes changed to underlines. … … 856 843 857 844 -disable-* | --disable-*) 858 ac_ useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`845 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 859 846 # Reject names that are not valid shell variable names. 860 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 861 as_fn_error "invalid feature name: $ac_useropt" 862 ac_useropt_orig=$ac_useropt 863 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 864 case $ac_user_opts in 865 *" 866 "enable_$ac_useropt" 867 "*) ;; 868 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 869 ac_unrecognized_sep=', ';; 870 esac 871 eval enable_$ac_useropt=no ;; 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 ;; 872 852 873 853 -docdir | --docdir | --docdi | --doc | --do) … … 882 862 883 863 -enable-* | --enable-*) 884 ac_ useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`864 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 885 865 # Reject names that are not valid shell variable names. 886 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 887 as_fn_error "invalid feature name: $ac_useropt" 888 ac_useropt_orig=$ac_useropt 889 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 890 case $ac_user_opts in 891 *" 892 "enable_$ac_useropt" 893 "*) ;; 894 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 895 ac_unrecognized_sep=', ';; 896 esac 897 eval enable_$ac_useropt=\$ac_optarg ;; 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 ;; 898 871 899 872 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1086 1059 1087 1060 -with-* | --with-*) 1088 ac_ useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1061 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1089 1062 # Reject names that are not valid shell variable names. 1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1091 as_fn_error "invalid package name: $ac_useropt" 1092 ac_useropt_orig=$ac_useropt 1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1094 case $ac_user_opts in 1095 *" 1096 "with_$ac_useropt" 1097 "*) ;; 1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1099 ac_unrecognized_sep=', ';; 1100 esac 1101 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 ;; 1102 1068 1103 1069 -without-* | --without-*) 1104 ac_ useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`1070 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1105 1071 # Reject names that are not valid shell variable names. 1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1107 as_fn_error "invalid package name: $ac_useropt" 1108 ac_useropt_orig=$ac_useropt 1109 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1110 case $ac_user_opts in 1111 *" 1112 "with_$ac_useropt" 1113 "*) ;; 1114 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1115 ac_unrecognized_sep=', ';; 1116 esac 1117 eval with_$ac_useropt=no ;; 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 ;; 1118 1077 1119 1078 --x) … … 1135 1094 x_libraries=$ac_optarg ;; 1136 1095 1137 -*) as_fn_error "unrecognized option: \`$ac_option' 1138 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; }; } 1139 1099 ;; 1140 1100 … … 1142 1102 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1143 1103 # Reject names that are not valid shell variable names. 1144 case $ac_envvar in #( 1145 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1146 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1147 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; }; } 1148 1107 eval $ac_envvar=\$ac_optarg 1149 1108 export $ac_envvar ;; … … 1151 1110 *) 1152 1111 # FIXME: should be removed in autoconf 3.0. 1153 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&21112 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1154 1113 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1155 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&21114 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1156 1115 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1157 1116 ;; … … 1162 1121 if test -n "$ac_prev"; then 1163 1122 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1164 as_fn_error "missing argument to $ac_option" 1165 fi 1166 1167 if test -n "$ac_unrecognized_opts"; then 1168 case $enable_option_checking in 1169 no) ;; 1170 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1171 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1172 esac 1173 fi 1174 1175 # Check all directory arguments for consistency. 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. 1176 1128 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1177 1129 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1180 1132 do 1181 1133 eval ac_val=\$$ac_var 1182 # Remove trailing slashes.1183 case $ac_val in1184 */ )1185 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`1186 eval $ac_var=\$ac_val;;1187 esac1188 # Be sure to have absolute directory names.1189 1134 case $ac_val in 1190 1135 [\\/$]* | ?:[\\/]* ) continue;; 1191 1136 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1192 1137 esac 1193 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; }; } 1194 1140 done 1195 1141 … … 1205 1151 if test "x$build_alias" = x; then 1206 1152 cross_compiling=maybe 1207 $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. 1208 1154 If a cross compiler is detected then cross compile mode will be used." >&2 1209 1155 elif test "x$build_alias" != "x$host_alias"; then … … 1221 1167 ac_ls_di=`ls -di .` && 1222 1168 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1223 as_fn_error "working directory cannot be determined" 1169 { echo "$as_me: error: Working directory cannot be determined" >&2 1170 { (exit 1); exit 1; }; } 1224 1171 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1225 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; }; } 1226 1174 1227 1175 … … 1230 1178 ac_srcdir_defaulted=yes 1231 1179 # Try the directory containing this script, then the parent directory. 1232 ac_confdir=`$as_dirname -- "$ as_myself" ||1233 $as_expr X"$ as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1234 X"$ as_myself" : 'X\(//\)[^/]' \| \1235 X"$ as_myself" : 'X\(//\)$' \| \1236 X"$ as_myself" : 'X\(/\)' \| . 2>/dev/null ||1237 $as_echo X"$as_myself" |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" | 1238 1186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1239 1187 s//\1/ … … 1262 1210 if test ! -r "$srcdir/$ac_unique_file"; then 1263 1211 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1264 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; }; } 1265 1214 fi 1266 1215 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1267 1216 ac_abs_confdir=`( 1268 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; }; } 1269 1219 pwd)` 1270 1220 # When building in place, set srcdir=. … … 1314 1264 Installation directories: 1315 1265 --prefix=PREFIX install architecture-independent files in PREFIX 1316 1266 [$ac_default_prefix] 1317 1267 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1318 1268 [PREFIX] 1319 1269 1320 1270 By default, \`make install' will install all the files in … … 1326 1276 1327 1277 Fine tuning of the installation directories: 1328 --bindir=DIR 1329 --sbindir=DIR 1330 --libexecdir=DIR 1331 --sysconfdir=DIR 1332 --sharedstatedir=DIR 1333 --localstatedir=DIR 1334 --libdir=DIR 1335 --includedir=DIR 1336 --oldincludedir=DIR 1337 --datarootdir=DIR 1338 --datadir=DIR 1339 --infodir=DIR 1340 --localedir=DIR 1341 --mandir=DIR 1342 --docdir=DIR 1343 --htmldir=DIR 1344 --dvidir=DIR 1345 --pdfdir=DIR 1346 --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] 1347 1297 _ACEOF 1348 1298 … … 1363 1313 1364 1314 Optional Features: 1365 --disable-option-checking ignore unrecognized --enable/--with options1366 1315 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1367 1316 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1425 1374 nonstandard directory <lib dir> 1426 1375 LIBS libraries to pass to the linker, e.g. -l<library> 1427 CPPFLAGS (Objective) C/C++preprocessor flags, e.g. -I<include dir> if1376 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1428 1377 you have headers in a nonstandard directory <include dir> 1429 1378 CXX C++ compiler command … … 1434 1383 it to find libraries and programs with nonstandard names/locations. 1435 1384 1436 Report bugs to the package provider.1437 1385 _ACEOF 1438 1386 ac_status=$? … … 1442 1390 # If there are subdirs, report their specific --help. 1443 1391 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1444 test -d "$ac_dir" || 1445 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1446 continue 1392 test -d "$ac_dir" || continue 1447 1393 ac_builddir=. 1448 1394 … … 1450 1396 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1451 1397 *) 1452 ac_dir_suffix=/` $as_echo "$ac_dir" | sed 's|^\.[\\/]||'`1398 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1453 1399 # A ".." for each directory in $ac_dir_suffix. 1454 ac_top_builddir_sub=` $as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`1400 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1455 1401 case $ac_top_builddir_sub in 1456 1402 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1488 1434 $SHELL "$ac_srcdir/configure" --help=recursive 1489 1435 else 1490 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21436 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1491 1437 fi || ac_status=$? 1492 1438 cd "$ac_pwd" || { ac_status=$?; break; } … … 1498 1444 cat <<\_ACEOF 1499 1445 pjproject configure 1.x 1500 generated by GNU Autoconf 2.65 1501 1502 Copyright (C) 2009 Free Software Foundation, Inc. 1446 generated by GNU Autoconf 2.61 1447 1448 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1449 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1503 1450 This configure script is free software; the Free Software Foundation 1504 1451 gives unlimited permission to copy, distribute and modify it. … … 1506 1453 exit 1507 1454 fi 1508 1509 ## ------------------------ ##1510 ## Autoconf initialization. ##1511 ## ------------------------ ##1512 1513 # ac_fn_c_try_compile LINENO1514 # --------------------------1515 # Try to compile conftest.$ac_ext, and return whether this succeeded.1516 ac_fn_c_try_compile ()1517 {1518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1519 rm -f conftest.$ac_objext1520 if { { ac_try="$ac_compile"1521 case "(($ac_try" in1522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1523 *) ac_try_echo=$ac_try;;1524 esac1525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1526 $as_echo "$ac_try_echo"; } >&51527 (eval "$ac_compile") 2>conftest.err1528 ac_status=$?1529 if test -s conftest.err; then1530 grep -v '^ *+' conftest.err >conftest.er11531 cat conftest.er1 >&51532 mv -f conftest.er1 conftest.err1533 fi1534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51535 test $ac_status = 0; } && {1536 test -z "$ac_c_werror_flag" ||1537 test ! -s conftest.err1538 } && test -s conftest.$ac_objext; then :1539 ac_retval=01540 else1541 $as_echo "$as_me: failed program was:" >&51542 sed 's/^/| /' conftest.$ac_ext >&51543 1544 ac_retval=11545 fi1546 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1547 as_fn_set_status $ac_retval1548 1549 } # ac_fn_c_try_compile1550 1551 # ac_fn_cxx_try_compile LINENO1552 # ----------------------------1553 # Try to compile conftest.$ac_ext, and return whether this succeeded.1554 ac_fn_cxx_try_compile ()1555 {1556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1557 rm -f conftest.$ac_objext1558 if { { ac_try="$ac_compile"1559 case "(($ac_try" in1560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1561 *) ac_try_echo=$ac_try;;1562 esac1563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1564 $as_echo "$ac_try_echo"; } >&51565 (eval "$ac_compile") 2>conftest.err1566 ac_status=$?1567 if test -s conftest.err; then1568 grep -v '^ *+' conftest.err >conftest.er11569 cat conftest.er1 >&51570 mv -f conftest.er1 conftest.err1571 fi1572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51573 test $ac_status = 0; } && {1574 test -z "$ac_cxx_werror_flag" ||1575 test ! -s conftest.err1576 } && test -s conftest.$ac_objext; then :1577 ac_retval=01578 else1579 $as_echo "$as_me: failed program was:" >&51580 sed 's/^/| /' conftest.$ac_ext >&51581 1582 ac_retval=11583 fi1584 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1585 as_fn_set_status $ac_retval1586 1587 } # ac_fn_cxx_try_compile1588 1589 # ac_fn_c_try_link LINENO1590 # -----------------------1591 # Try to link conftest.$ac_ext, and return whether this succeeded.1592 ac_fn_c_try_link ()1593 {1594 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1595 rm -f conftest.$ac_objext conftest$ac_exeext1596 if { { ac_try="$ac_link"1597 case "(($ac_try" in1598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1599 *) ac_try_echo=$ac_try;;1600 esac1601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1602 $as_echo "$ac_try_echo"; } >&51603 (eval "$ac_link") 2>conftest.err1604 ac_status=$?1605 if test -s conftest.err; then1606 grep -v '^ *+' conftest.err >conftest.er11607 cat conftest.er1 >&51608 mv -f conftest.er1 conftest.err1609 fi1610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51611 test $ac_status = 0; } && {1612 test -z "$ac_c_werror_flag" ||1613 test ! -s conftest.err1614 } && test -s conftest$ac_exeext && {1615 test "$cross_compiling" = yes ||1616 $as_test_x conftest$ac_exeext1617 }; then :1618 ac_retval=01619 else1620 $as_echo "$as_me: failed program was:" >&51621 sed 's/^/| /' conftest.$ac_ext >&51622 1623 ac_retval=11624 fi1625 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information1626 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would1627 # interfere with the next link command; also delete a directory that is1628 # left behind by Apple's compiler. We do this before executing the actions.1629 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1630 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1631 as_fn_set_status $ac_retval1632 1633 } # ac_fn_c_try_link1634 1635 # ac_fn_c_try_run LINENO1636 # ----------------------1637 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1638 # that executables *can* be run.1639 ac_fn_c_try_run ()1640 {1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1642 if { { ac_try="$ac_link"1643 case "(($ac_try" in1644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1645 *) ac_try_echo=$ac_try;;1646 esac1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1648 $as_echo "$ac_try_echo"; } >&51649 (eval "$ac_link") 2>&51650 ac_status=$?1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51652 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'1653 { { case "(($ac_try" in1654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1655 *) ac_try_echo=$ac_try;;1656 esac1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1658 $as_echo "$ac_try_echo"; } >&51659 (eval "$ac_try") 2>&51660 ac_status=$?1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51662 test $ac_status = 0; }; }; then :1663 ac_retval=01664 else1665 $as_echo "$as_me: program exited with status $ac_status" >&51666 $as_echo "$as_me: failed program was:" >&51667 sed 's/^/| /' conftest.$ac_ext >&51668 1669 ac_retval=$ac_status1670 fi1671 rm -rf conftest.dSYM conftest_ipa8_conftest.oo1672 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1673 as_fn_set_status $ac_retval1674 1675 } # ac_fn_c_try_run1676 1677 # ac_fn_c_try_cpp LINENO1678 # ----------------------1679 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.1680 ac_fn_c_try_cpp ()1681 {1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1683 if { { ac_try="$ac_cpp conftest.$ac_ext"1684 case "(($ac_try" in1685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;1686 *) ac_try_echo=$ac_try;;1687 esac1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""1689 $as_echo "$ac_try_echo"; } >&51690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err1691 ac_status=$?1692 if test -s conftest.err; then1693 grep -v '^ *+' conftest.err >conftest.er11694 cat conftest.er1 >&51695 mv -f conftest.er1 conftest.err1696 fi1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&51698 test $ac_status = 0; } >/dev/null && {1699 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||1700 test ! -s conftest.err1701 }; then :1702 ac_retval=01703 else1704 $as_echo "$as_me: failed program was:" >&51705 sed 's/^/| /' conftest.$ac_ext >&51706 1707 ac_retval=11708 fi1709 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1710 as_fn_set_status $ac_retval1711 1712 } # ac_fn_c_try_cpp1713 1714 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES1715 # -------------------------------------------------------1716 # Tests whether HEADER exists and can be compiled using the include files in1717 # INCLUDES, setting the cache variable VAR accordingly.1718 ac_fn_c_check_header_compile ()1719 {1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51722 $as_echo_n "checking for $2... " >&6; }1723 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1724 $as_echo_n "(cached) " >&61725 else1726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1727 /* end confdefs.h. */1728 $41729 #include <$2>1730 _ACEOF1731 if ac_fn_c_try_compile "$LINENO"; then :1732 eval "$3=yes"1733 else1734 eval "$3=no"1735 fi1736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1737 fi1738 eval ac_res=\$$31739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51740 $as_echo "$ac_res" >&6; }1741 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1742 1743 } # ac_fn_c_check_header_compile1744 1745 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES1746 # -------------------------------------------------------1747 # Tests whether HEADER exists, giving a warning if it cannot be compiled using1748 # the include files in INCLUDES and setting the cache variable VAR1749 # accordingly.1750 ac_fn_c_check_header_mongrel ()1751 {1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1753 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51755 $as_echo_n "checking for $2... " >&6; }1756 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1757 $as_echo_n "(cached) " >&61758 fi1759 eval ac_res=\$$31760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51761 $as_echo "$ac_res" >&6; }1762 else1763 # Is the header compilable?1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&51765 $as_echo_n "checking $2 usability... " >&6; }1766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1767 /* end confdefs.h. */1768 $41769 #include <$2>1770 _ACEOF1771 if ac_fn_c_try_compile "$LINENO"; then :1772 ac_header_compiler=yes1773 else1774 ac_header_compiler=no1775 fi1776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&51778 $as_echo "$ac_header_compiler" >&6; }1779 1780 # Is the header present?1781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&51782 $as_echo_n "checking $2 presence... " >&6; }1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1784 /* end confdefs.h. */1785 #include <$2>1786 _ACEOF1787 if ac_fn_c_try_cpp "$LINENO"; then :1788 ac_header_preproc=yes1789 else1790 ac_header_preproc=no1791 fi1792 rm -f conftest.err conftest.$ac_ext1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&51794 $as_echo "$ac_header_preproc" >&6; }1795 1796 # So? What about this header?1797 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((1798 yes:no: )1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&51800 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}1801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51802 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1803 ;;1804 no:yes:* )1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&51806 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}1807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&51808 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}1809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&51810 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}1811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&51812 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}1813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&51814 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}1815 ;;1816 esac1817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51818 $as_echo_n "checking for $2... " >&6; }1819 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1820 $as_echo_n "(cached) " >&61821 else1822 eval "$3=\$ac_header_compiler"1823 fi1824 eval ac_res=\$$31825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51826 $as_echo "$ac_res" >&6; }1827 fi1828 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1829 1830 } # ac_fn_c_check_header_mongrel1831 1832 # ac_fn_c_check_func LINENO FUNC VAR1833 # ----------------------------------1834 # Tests whether FUNC exists, setting the cache variable VAR accordingly1835 ac_fn_c_check_func ()1836 {1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&51839 $as_echo_n "checking for $2... " >&6; }1840 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :1841 $as_echo_n "(cached) " >&61842 else1843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext1844 /* end confdefs.h. */1845 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.1846 For example, HP-UX 11i <limits.h> declares gettimeofday. */1847 #define $2 innocuous_$21848 1849 /* System header to define __stub macros and hopefully few prototypes,1850 which can conflict with char $2 (); below.1851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since1852 <limits.h> exists even on freestanding compilers. */1853 1854 #ifdef __STDC__1855 # include <limits.h>1856 #else1857 # include <assert.h>1858 #endif1859 1860 #undef $21861 1862 /* Override any GCC internal prototype to avoid an error.1863 Use char because int might match the return type of a GCC1864 builtin and then its argument prototype would still apply. */1865 #ifdef __cplusplus1866 extern "C"1867 #endif1868 char $2 ();1869 /* The GNU C library defines this for functions which it implements1870 to always fail with ENOSYS. Some functions are actually named1871 something starting with __ and the normal name is an alias. */1872 #if defined __stub_$2 || defined __stub___$21873 choke me1874 #endif1875 1876 int1877 main ()1878 {1879 return $2 ();1880 ;1881 return 0;1882 }1883 _ACEOF1884 if ac_fn_c_try_link "$LINENO"; then :1885 eval "$3=yes"1886 else1887 eval "$3=no"1888 fi1889 rm -f core conftest.err conftest.$ac_objext \1890 conftest$ac_exeext conftest.$ac_ext1891 fi1892 eval ac_res=\$$31893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&51894 $as_echo "$ac_res" >&6; }1895 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}1896 1897 } # ac_fn_c_check_func1898 1455 cat >config.log <<_ACEOF 1899 1456 This file contains any messages produced by compilers while … … 1901 1458 1902 1459 It was created by pjproject $as_me 1.x, which was 1903 generated by GNU Autoconf 2.6 5. Invocation command line was1460 generated by GNU Autoconf 2.61. Invocation command line was 1904 1461 1905 1462 $ $0 $@ … … 1937 1494 IFS=$as_save_IFS 1938 1495 test -z "$as_dir" && as_dir=. 1939 $as_echo "PATH: $as_dir"1940 1496 echo "PATH: $as_dir" 1497 done 1941 1498 IFS=$as_save_IFS 1942 1499 … … 1972 1529 continue ;; 1973 1530 *\'*) 1974 ac_arg=` $as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1531 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1975 1532 esac 1976 1533 case $ac_pass in 1977 1) a s_fn_append ac_configure_args0 "'$ac_arg'" ;;1534 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1978 1535 2) 1979 a s_fn_append ac_configure_args1 "'$ac_arg'"1536 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1980 1537 if test $ac_must_keep_next = true; then 1981 1538 ac_must_keep_next=false # Got value, back to normal. … … 1993 1550 esac 1994 1551 fi 1995 a s_fn_append ac_configure_args "'$ac_arg'"1552 ac_configure_args="$ac_configure_args '$ac_arg'" 1996 1553 ;; 1997 1554 esac 1998 1555 done 1999 1556 done 2000 { ac_configure_args0=; unset ac_configure_args0;}2001 { ac_configure_args1=; unset ac_configure_args1;}1557 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1558 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2002 1559 2003 1560 # When interrupted or exit'd, cleanup temporary files, and complete … … 2024 1581 *${as_nl}*) 2025 1582 case $ac_var in #( 2026 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&52027 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;1583 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1584 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 2028 1585 esac 2029 1586 case $ac_var in #( 2030 1587 _ | IFS | as_nl) ;; #( 2031 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2032 *) { eval $ac_var=; unset $ac_var;} ;; 1588 *) $as_unset $ac_var ;; 2033 1589 esac ;; 2034 1590 esac … … 2059 1615 eval ac_val=\$$ac_var 2060 1616 case $ac_val in 2061 *\'\''*) ac_val=` $as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1617 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2062 1618 esac 2063 $as_echo "$ac_var='\''$ac_val'\''"1619 echo "$ac_var='\''$ac_val'\''" 2064 1620 done | sort 2065 1621 echo … … 2076 1632 eval ac_val=\$$ac_var 2077 1633 case $ac_val in 2078 *\'\''*) ac_val=` $as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1634 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2079 1635 esac 2080 $as_echo "$ac_var='\''$ac_val'\''"1636 echo "$ac_var='\''$ac_val'\''" 2081 1637 done | sort 2082 1638 echo … … 2094 1650 fi 2095 1651 test "$ac_signal" != 0 && 2096 $as_echo "$as_me: caught signal $ac_signal"2097 $as_echo "$as_me: exit $exit_status"1652 echo "$as_me: caught signal $ac_signal" 1653 echo "$as_me: exit $exit_status" 2098 1654 } >&5 2099 1655 rm -f core *.core core.conftest.* && … … 2102 1658 ' 0 2103 1659 for ac_signal in 1 2 13 15; do 2104 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal1660 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2105 1661 done 2106 1662 ac_signal=0 … … 2109 1665 rm -f -r conftest* confdefs.h 2110 1666 2111 $as_echo "/* confdefs.h */" > confdefs.h2112 2113 1667 # Predefined preprocessor variables. 2114 1668 … … 2117 1671 _ACEOF 2118 1672 1673 2119 1674 cat >>confdefs.h <<_ACEOF 2120 1675 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2121 1676 _ACEOF 2122 1677 1678 2123 1679 cat >>confdefs.h <<_ACEOF 2124 1680 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2125 1681 _ACEOF 2126 1682 1683 2127 1684 cat >>confdefs.h <<_ACEOF 2128 1685 #define PACKAGE_STRING "$PACKAGE_STRING" 2129 1686 _ACEOF 2130 1687 1688 2131 1689 cat >>confdefs.h <<_ACEOF 2132 1690 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2133 1691 _ACEOF 2134 1692 2135 cat >>confdefs.h <<_ACEOF2136 #define PACKAGE_URL "$PACKAGE_URL"2137 _ACEOF2138 2139 1693 2140 1694 # Let the site file select an alternate cache file if it wants to. 2141 # Prefer an explicitly selected file to automatically selected ones. 2142 ac_site_file1=NONE 2143 ac_site_file2=NONE 1695 # Prefer explicitly selected file to automatically selected ones. 2144 1696 if test -n "$CONFIG_SITE"; then 2145 ac_site_file1=$CONFIG_SITE1697 set x "$CONFIG_SITE" 2146 1698 elif test "x$prefix" != xNONE; then 2147 ac_site_file1=$prefix/share/config.site2148 ac_site_file2=$prefix/etc/config.site2149 else 2150 ac_site_file1=$ac_default_prefix/share/config.site 2151 ac_site_file2=$ac_default_prefix/etc/config.site 2152 fi 2153 for ac_site_file in "$ac_site_file1" "$ac_site_file2"1699 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1700 else 1701 set x "$ac_default_prefix/share/config.site" \ 1702 "$ac_default_prefix/etc/config.site" 1703 fi 1704 shift 1705 for ac_site_file 2154 1706 do 2155 test "x$ac_site_file" = xNONE && continue 2156 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2157 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2158 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1707 if test -r "$ac_site_file"; then 1708 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1709 echo "$as_me: loading site script $ac_site_file" >&6;} 2159 1710 sed 's/^/| /' "$ac_site_file" >&5 2160 1711 . "$ac_site_file" … … 2163 1714 2164 1715 if test -r "$cache_file"; then 2165 # Some versions of bash will fail to source /dev/null (special files2166 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2167 if test /dev/null != "$cache_file" && test-f "$cache_file"; then2168 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&52169 $as_echo "$as_me: loading cache $cache_file" >&6;}1716 # Some versions of bash will fail to source /dev/null (special 1717 # files actually), so we avoid doing that. 1718 if test -f "$cache_file"; then 1719 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1720 echo "$as_me: loading cache $cache_file" >&6;} 2170 1721 case $cache_file in 2171 1722 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 2174 1725 fi 2175 1726 else 2176 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&52177 $as_echo "$as_me: creating cache $cache_file" >&6;}1727 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1728 echo "$as_me: creating cache $cache_file" >&6;} 2178 1729 >$cache_file 2179 1730 fi … … 2189 1740 case $ac_old_set,$ac_new_set in 2190 1741 set,) 2191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52192 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1742 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1743 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2193 1744 ac_cache_corrupted=: ;; 2194 1745 ,set) 2195 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&52196 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1746 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1747 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2197 1748 ac_cache_corrupted=: ;; 2198 1749 ,);; 2199 1750 *) 2200 1751 if test "x$ac_old_val" != "x$ac_new_val"; then 2201 # differences in whitespace do not lead to failure. 2202 ac_old_val_w=`echo x $ac_old_val` 2203 ac_new_val_w=`echo x $ac_new_val` 2204 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2206 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2207 ac_cache_corrupted=: 2208 else 2209 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2210 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2211 eval $ac_var=\$ac_old_val 2212 fi 2213 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2214 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2215 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2216 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1752 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1753 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1754 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1755 echo "$as_me: former value: $ac_old_val" >&2;} 1756 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1757 echo "$as_me: current value: $ac_new_val" >&2;} 1758 ac_cache_corrupted=: 2217 1759 fi;; 2218 1760 esac … … 2220 1762 if test "$ac_new_set" = set; then 2221 1763 case $ac_new_val in 2222 *\'*) ac_arg=$ac_var=` $as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;1764 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2223 1765 *) ac_arg=$ac_var=$ac_new_val ;; 2224 1766 esac 2225 1767 case " $ac_configure_args " in 2226 1768 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2227 *) a s_fn_append ac_configure_args "'$ac_arg'" ;;1769 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2228 1770 esac 2229 1771 fi 2230 1772 done 2231 1773 if $ac_cache_corrupted; then 2232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2234 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2235 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2236 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2237 fi 2238 ## -------------------- ## 2239 ## Main body of script. ## 2240 ## -------------------- ## 1774 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1775 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1776 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1777 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1778 { (exit 1); exit 1; }; } 1779 fi 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 2241 1804 2242 1805 ac_ext=c … … 2252 1815 ac_aux_dir= 2253 1816 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2254 for ac_t in install-sh install.sh shtool; do 2255 if test -f "$ac_dir/$ac_t"; then 2256 ac_aux_dir=$ac_dir 2257 ac_install_sh="$ac_aux_dir/$ac_t -c" 2258 break 2 2259 fi 2260 done 1817 if test -f "$ac_dir/install-sh"; then 1818 ac_aux_dir=$ac_dir 1819 ac_install_sh="$ac_aux_dir/install-sh -c" 1820 break 1821 elif test -f "$ac_dir/install.sh"; then 1822 ac_aux_dir=$ac_dir 1823 ac_install_sh="$ac_aux_dir/install.sh -c" 1824 break 1825 elif test -f "$ac_dir/shtool"; then 1826 ac_aux_dir=$ac_dir 1827 ac_install_sh="$ac_aux_dir/shtool install -c" 1828 break 1829 fi 2261 1830 done 2262 1831 if test -z "$ac_aux_dir"; then 2263 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1832 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1833 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1834 { (exit 1); exit 1; }; } 2264 1835 fi 2265 1836 … … 2275 1846 # Make sure we can run config.sub. 2276 1847 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2277 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2278 2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2280 $as_echo_n "checking build system type... " >&6; } 2281 if test "${ac_cv_build+set}" = set; then : 2282 $as_echo_n "(cached) " >&6 1848 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1849 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1850 { (exit 1); exit 1; }; } 1851 1852 { echo "$as_me:$LINENO: checking build system type" >&5 1853 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1854 if test "${ac_cv_build+set}" = set; then 1855 echo $ECHO_N "(cached) $ECHO_C" >&6 2283 1856 else 2284 1857 ac_build_alias=$build_alias … … 2286 1859 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2287 1860 test "x$ac_build_alias" = x && 2288 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1861 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1862 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1863 { (exit 1); exit 1; }; } 2289 1864 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2290 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2291 2292 fi 2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2294 $as_echo "$ac_cv_build" >&6; } 1865 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1866 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1867 { (exit 1); exit 1; }; } 1868 1869 fi 1870 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1871 echo "${ECHO_T}$ac_cv_build" >&6; } 2295 1872 case $ac_cv_build in 2296 1873 *-*-*) ;; 2297 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1874 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1875 echo "$as_me: error: invalid value of canonical build" >&2;} 1876 { (exit 1); exit 1; }; };; 2298 1877 esac 2299 1878 build=$ac_cv_build … … 2311 1890 2312 1891 2313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&52314 $as_echo_n "checking host system type..." >&6; }2315 if test "${ac_cv_host+set}" = set; then :2316 $as_echo_n "(cached)" >&61892 { echo "$as_me:$LINENO: checking host system type" >&5 1893 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1894 if test "${ac_cv_host+set}" = set; then 1895 echo $ECHO_N "(cached) $ECHO_C" >&6 2317 1896 else 2318 1897 if test "x$host_alias" = x; then … … 2320 1899 else 2321 1900 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2322 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2323 fi 2324 2325 fi 2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2327 $as_echo "$ac_cv_host" >&6; } 1901 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1902 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1903 { (exit 1); exit 1; }; } 1904 fi 1905 1906 fi 1907 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1908 echo "${ECHO_T}$ac_cv_host" >&6; } 2328 1909 case $ac_cv_host in 2329 1910 *-*-*) ;; 2330 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1911 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1912 echo "$as_me: error: invalid value of canonical host" >&2;} 1913 { (exit 1); exit 1; }; };; 2331 1914 esac 2332 1915 host=$ac_cv_host … … 2344 1927 2345 1928 2346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&52347 $as_echo_n "checking target system type..." >&6; }2348 if test "${ac_cv_target+set}" = set; then :2349 $as_echo_n "(cached)" >&61929 { echo "$as_me:$LINENO: checking target system type" >&5 1930 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 1931 if test "${ac_cv_target+set}" = set; then 1932 echo $ECHO_N "(cached) $ECHO_C" >&6 2350 1933 else 2351 1934 if test "x$target_alias" = x; then … … 2353 1936 else 2354 1937 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2355 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2356 fi 2357 2358 fi 2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2360 $as_echo "$ac_cv_target" >&6; } 1938 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1939 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1940 { (exit 1); exit 1; }; } 1941 fi 1942 1943 fi 1944 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1945 echo "${ECHO_T}$ac_cv_target" >&6; } 2361 1946 case $ac_cv_target in 2362 1947 *-*-*) ;; 2363 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 1948 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1949 echo "$as_me: error: invalid value of canonical target" >&2;} 1950 { (exit 1); exit 1; }; };; 2364 1951 esac 2365 1952 target=$ac_cv_target … … 2405 1992 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2406 1993 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52408 $as_echo_n "checking for $ac_word..." >&6; }2409 if test "${ac_cv_prog_CC+set}" = set; then :2410 $as_echo_n "(cached)" >&61994 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1996 if test "${ac_cv_prog_CC+set}" = set; then 1997 echo $ECHO_N "(cached) $ECHO_C" >&6 2411 1998 else 2412 1999 if test -n "$CC"; then … … 2418 2005 IFS=$as_save_IFS 2419 2006 test -z "$as_dir" && as_dir=. 2420 2007 for ac_exec_ext in '' $ac_executable_extensions; do 2421 2008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2422 2009 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2424 2011 break 2 2425 2012 fi 2426 2013 done 2427 2014 done 2428 2015 IFS=$as_save_IFS 2429 2016 … … 2432 2019 CC=$ac_cv_prog_CC 2433 2020 if test -n "$CC"; then 2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52435 $as_echo "$CC" >&6; }2436 else 2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52438 $as_echo "no" >&6; }2021 { echo "$as_me:$LINENO: result: $CC" >&5 2022 echo "${ECHO_T}$CC" >&6; } 2023 else 2024 { echo "$as_me:$LINENO: result: no" >&5 2025 echo "${ECHO_T}no" >&6; } 2439 2026 fi 2440 2027 … … 2445 2032 # Extract the first word of "gcc", so it can be a program name with args. 2446 2033 set dummy gcc; ac_word=$2 2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52448 $as_echo_n "checking for $ac_word..." >&6; }2449 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2450 $as_echo_n "(cached)" >&62034 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2036 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2037 echo $ECHO_N "(cached) $ECHO_C" >&6 2451 2038 else 2452 2039 if test -n "$ac_ct_CC"; then … … 2458 2045 IFS=$as_save_IFS 2459 2046 test -z "$as_dir" && as_dir=. 2460 2047 for ac_exec_ext in '' $ac_executable_extensions; do 2461 2048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2462 2049 ac_cv_prog_ac_ct_CC="gcc" 2463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2464 2051 break 2 2465 2052 fi 2466 2053 done 2467 2054 done 2468 2055 IFS=$as_save_IFS 2469 2056 … … 2472 2059 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2473 2060 if test -n "$ac_ct_CC"; then 2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&52475 $as_echo "$ac_ct_CC" >&6; }2476 else 2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52478 $as_echo "no" >&6; }2061 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2062 echo "${ECHO_T}$ac_ct_CC" >&6; } 2063 else 2064 { echo "$as_me:$LINENO: result: no" >&5 2065 echo "${ECHO_T}no" >&6; } 2479 2066 fi 2480 2067 … … 2484 2071 case $cross_compiling:$ac_tool_warned in 2485 2072 yes:) 2486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2073 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2074 whose name does not start with the host triplet. If you think this 2075 configuration is useful to you, please write to autoconf@gnu.org." >&5 2076 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2077 whose name does not start with the host triplet. If you think this 2078 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2488 2079 ac_tool_warned=yes ;; 2489 2080 esac … … 2498 2089 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2499 2090 set dummy ${ac_tool_prefix}cc; ac_word=$2 2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52501 $as_echo_n "checking for $ac_word..." >&6; }2502 if test "${ac_cv_prog_CC+set}" = set; then :2503 $as_echo_n "(cached)" >&62091 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2093 if test "${ac_cv_prog_CC+set}" = set; then 2094 echo $ECHO_N "(cached) $ECHO_C" >&6 2504 2095 else 2505 2096 if test -n "$CC"; then … … 2511 2102 IFS=$as_save_IFS 2512 2103 test -z "$as_dir" && as_dir=. 2513 2104 for ac_exec_ext in '' $ac_executable_extensions; do 2514 2105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2515 2106 ac_cv_prog_CC="${ac_tool_prefix}cc" 2516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2517 2108 break 2 2518 2109 fi 2519 2110 done 2520 2111 done 2521 2112 IFS=$as_save_IFS 2522 2113 … … 2525 2116 CC=$ac_cv_prog_CC 2526 2117 if test -n "$CC"; then 2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52528 $as_echo "$CC" >&6; }2529 else 2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52531 $as_echo "no" >&6; }2118 { echo "$as_me:$LINENO: result: $CC" >&5 2119 echo "${ECHO_T}$CC" >&6; } 2120 else 2121 { echo "$as_me:$LINENO: result: no" >&5 2122 echo "${ECHO_T}no" >&6; } 2532 2123 fi 2533 2124 … … 2538 2129 # Extract the first word of "cc", so it can be a program name with args. 2539 2130 set dummy cc; ac_word=$2 2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52541 $as_echo_n "checking for $ac_word..." >&6; }2542 if test "${ac_cv_prog_CC+set}" = set; then :2543 $as_echo_n "(cached)" >&62131 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2133 if test "${ac_cv_prog_CC+set}" = set; then 2134 echo $ECHO_N "(cached) $ECHO_C" >&6 2544 2135 else 2545 2136 if test -n "$CC"; then … … 2552 2143 IFS=$as_save_IFS 2553 2144 test -z "$as_dir" && as_dir=. 2554 2145 for ac_exec_ext in '' $ac_executable_extensions; do 2555 2146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2556 2147 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2559 2150 fi 2560 2151 ac_cv_prog_CC="cc" 2561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2562 2153 break 2 2563 2154 fi 2564 2155 done 2565 2156 done 2566 2157 IFS=$as_save_IFS 2567 2158 … … 2582 2173 CC=$ac_cv_prog_CC 2583 2174 if test -n "$CC"; then 2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52585 $as_echo "$CC" >&6; }2586 else 2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52588 $as_echo "no" >&6; }2175 { echo "$as_me:$LINENO: result: $CC" >&5 2176 echo "${ECHO_T}$CC" >&6; } 2177 else 2178 { echo "$as_me:$LINENO: result: no" >&5 2179 echo "${ECHO_T}no" >&6; } 2589 2180 fi 2590 2181 … … 2597 2188 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2598 2189 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52600 $as_echo_n "checking for $ac_word..." >&6; }2601 if test "${ac_cv_prog_CC+set}" = set; then :2602 $as_echo_n "(cached)" >&62190 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2192 if test "${ac_cv_prog_CC+set}" = set; then 2193 echo $ECHO_N "(cached) $ECHO_C" >&6 2603 2194 else 2604 2195 if test -n "$CC"; then … … 2610 2201 IFS=$as_save_IFS 2611 2202 test -z "$as_dir" && as_dir=. 2612 2203 for ac_exec_ext in '' $ac_executable_extensions; do 2613 2204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2614 2205 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2616 2207 break 2 2617 2208 fi 2618 2209 done 2619 2210 done 2620 2211 IFS=$as_save_IFS 2621 2212 … … 2624 2215 CC=$ac_cv_prog_CC 2625 2216 if test -n "$CC"; then 2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&52627 $as_echo "$CC" >&6; }2628 else 2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52630 $as_echo "no" >&6; }2217 { echo "$as_me:$LINENO: result: $CC" >&5 2218 echo "${ECHO_T}$CC" >&6; } 2219 else 2220 { echo "$as_me:$LINENO: result: no" >&5 2221 echo "${ECHO_T}no" >&6; } 2631 2222 fi 2632 2223 … … 2641 2232 # Extract the first word of "$ac_prog", so it can be a program name with args. 2642 2233 set dummy $ac_prog; ac_word=$2 2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52644 $as_echo_n "checking for $ac_word..." >&6; }2645 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :2646 $as_echo_n "(cached)" >&62234 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2236 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2237 echo $ECHO_N "(cached) $ECHO_C" >&6 2647 2238 else 2648 2239 if test -n "$ac_ct_CC"; then … … 2654 2245 IFS=$as_save_IFS 2655 2246 test -z "$as_dir" && as_dir=. 2656 2247 for ac_exec_ext in '' $ac_executable_extensions; do 2657 2248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2658 2249 ac_cv_prog_ac_ct_CC="$ac_prog" 2659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2660 2251 break 2 2661 2252 fi 2662 2253 done 2663 2254 done 2664 2255 IFS=$as_save_IFS 2665 2256 … … 2668 2259 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2669 2260 if test -n "$ac_ct_CC"; then 2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&52671 $as_echo "$ac_ct_CC" >&6; }2672 else 2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52674 $as_echo "no" >&6; }2261 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2262 echo "${ECHO_T}$ac_ct_CC" >&6; } 2263 else 2264 { echo "$as_me:$LINENO: result: no" >&5 2265 echo "${ECHO_T}no" >&6; } 2675 2266 fi 2676 2267 … … 2684 2275 case $cross_compiling:$ac_tool_warned in 2685 2276 yes:) 2686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2277 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2278 whose name does not start with the host triplet. If you think this 2279 configuration is useful to you, please write to autoconf@gnu.org." >&5 2280 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2281 whose name does not start with the host triplet. If you think this 2282 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2688 2283 ac_tool_warned=yes ;; 2689 2284 esac … … 2695 2290 2696 2291 2697 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2699 as_fn_error "no acceptable C compiler found in \$PATH 2700 See \`config.log' for more details." "$LINENO" 5; } 2292 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2293 See \`config.log' for more details." >&5 2294 echo "$as_me: error: no acceptable C compiler found in \$PATH 2295 See \`config.log' for more details." >&2;} 2296 { (exit 1); exit 1; }; } 2701 2297 2702 2298 # Provide some information about the compiler. 2703 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2704 set X $ac_compile 2705 ac_compiler=$2 2706 for ac_option in --version -v -V -qversion; do 2707 { { ac_try="$ac_compiler $ac_option >&5" 2708 case "(($ac_try" in 2709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2710 *) ac_try_echo=$ac_try;; 2711 esac 2712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2713 $as_echo "$ac_try_echo"; } >&5 2714 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2715 ac_status=$? 2716 if test -s conftest.err; then 2717 sed '10a\ 2718 ... rest of stderr output deleted ... 2719 10q' conftest.err >conftest.er1 2720 cat conftest.er1 >&5 2721 fi 2722 rm -f conftest.er1 conftest.err 2723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2724 test $ac_status = 0; } 2725 done 2726 2727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2299 echo "$as_me:$LINENO: checking for C compiler version" >&5 2300 ac_compiler=`set X $ac_compile; echo $2` 2301 { (ac_try="$ac_compiler --version >&5" 2302 case "(($ac_try" in 2303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2304 *) ac_try_echo=$ac_try;; 2305 esac 2306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2307 (eval "$ac_compiler --version >&5") 2>&5 2308 ac_status=$? 2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2310 (exit $ac_status); } 2311 { (ac_try="$ac_compiler -v >&5" 2312 case "(($ac_try" in 2313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2314 *) ac_try_echo=$ac_try;; 2315 esac 2316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2317 (eval "$ac_compiler -v >&5") 2>&5 2318 ac_status=$? 2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2320 (exit $ac_status); } 2321 { (ac_try="$ac_compiler -V >&5" 2322 case "(($ac_try" in 2323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2324 *) ac_try_echo=$ac_try;; 2325 esac 2326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2327 (eval "$ac_compiler -V >&5") 2>&5 2328 ac_status=$? 2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2330 (exit $ac_status); } 2331 2332 cat >conftest.$ac_ext <<_ACEOF 2333 /* confdefs.h. */ 2334 _ACEOF 2335 cat confdefs.h >>conftest.$ac_ext 2336 cat >>conftest.$ac_ext <<_ACEOF 2728 2337 /* end confdefs.h. */ 2729 2338 … … 2737 2346 _ACEOF 2738 2347 ac_clean_files_save=$ac_clean_files 2739 ac_clean_files="$ac_clean_files a.out a. out.dSYM a.exe b.out"2348 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2740 2349 # Try to create an executable without -o first, disregard a.out. 2741 2350 # It will help us diagnose broken compilers, and finding out an intuition 2742 2351 # of exeext. 2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2744 $as_echo_n "checking whether the C compiler works... " >&6; } 2745 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2746 2747 # The possible output files: 2748 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2749 2352 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2353 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2354 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2355 # 2356 # List of possible output files, starting from the most likely. 2357 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2358 # only as a last resort. b.out is created by i960 compilers. 2359 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2360 # 2361 # The IRIX 6 linker writes into existing files which may not be 2362 # executable, retaining their permissions. Remove them first so a 2363 # subsequent execution test works. 2750 2364 ac_rmfiles= 2751 2365 for ac_file in $ac_files 2752 2366 do 2753 2367 case $ac_file in 2754 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj ) ;;2368 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2755 2369 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2756 2370 esac … … 2758 2372 rm -f $ac_rmfiles 2759 2373 2760 if { { ac_try="$ac_link_default" 2761 case "(($ac_try" in 2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2763 *) ac_try_echo=$ac_try;; 2764 esac 2765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2766 $as_echo "$ac_try_echo"; } >&5 2374 if { (ac_try="$ac_link_default" 2375 case "(($ac_try" in 2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2377 *) ac_try_echo=$ac_try;; 2378 esac 2379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2767 2380 (eval "$ac_link_default") 2>&5 2768 2381 ac_status=$? 2769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52770 test $ac_status = 0; }; then :2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2383 (exit $ac_status); }; then 2771 2384 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2772 2385 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2778 2391 test -f "$ac_file" || continue 2779 2392 case $ac_file in 2780 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj )2393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2781 2394 ;; 2782 2395 [ab].out ) … … 2785 2398 break;; 2786 2399 *.* ) 2787 2400 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2788 2401 then :; else 2789 2402 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2804 2417 ac_file='' 2805 2418 fi 2806 if test -z "$ac_file"; then : 2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2808 $as_echo "no" >&6; } 2809 $as_echo "$as_me: failed program was:" >&5 2419 2420 { echo "$as_me:$LINENO: result: $ac_file" >&5 2421 echo "${ECHO_T}$ac_file" >&6; } 2422 if test -z "$ac_file"; then 2423 echo "$as_me: failed program was:" >&5 2810 2424 sed 's/^/| /' conftest.$ac_ext >&5 2811 2425 2812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2814 { as_fn_set_status 77 2815 as_fn_error "C compiler cannot create executables 2816 See \`config.log' for more details." "$LINENO" 5; }; } 2817 else 2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2819 $as_echo "yes" >&6; } 2820 fi 2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2822 $as_echo_n "checking for C compiler default output file name... " >&6; } 2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2824 $as_echo "$ac_file" >&6; } 2426 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2427 See \`config.log' for more details." >&5 2428 echo "$as_me: error: C compiler cannot create executables 2429 See \`config.log' for more details." >&2;} 2430 { (exit 77); exit 77; }; } 2431 fi 2432 2825 2433 ac_exeext=$ac_cv_exeext 2826 2434 2827 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2435 # Check that the compiler produces executables we can run. If not, either 2436 # the compiler is broken, or we cross compile. 2437 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2438 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2439 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2440 # If not cross compiling, check that we can run a simple program. 2441 if test "$cross_compiling" != yes; then 2442 if { ac_try='./$ac_file' 2443 { (case "(($ac_try" in 2444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2445 *) ac_try_echo=$ac_try;; 2446 esac 2447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2448 (eval "$ac_try") 2>&5 2449 ac_status=$? 2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2451 (exit $ac_status); }; }; then 2452 cross_compiling=no 2453 else 2454 if test "$cross_compiling" = maybe; then 2455 cross_compiling=yes 2456 else 2457 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2458 If you meant to cross compile, use \`--host'. 2459 See \`config.log' for more details." >&5 2460 echo "$as_me: error: cannot run C compiled programs. 2461 If you meant to cross compile, use \`--host'. 2462 See \`config.log' for more details." >&2;} 2463 { (exit 1); exit 1; }; } 2464 fi 2465 fi 2466 fi 2467 { echo "$as_me:$LINENO: result: yes" >&5 2468 echo "${ECHO_T}yes" >&6; } 2469 2470 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2828 2471 ac_clean_files=$ac_clean_files_save 2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2830 $as_echo_n "checking for suffix of executables... " >&6; } 2831 if { { ac_try="$ac_link" 2832 case "(($ac_try" in 2833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2834 *) ac_try_echo=$ac_try;; 2835 esac 2836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2837 $as_echo "$ac_try_echo"; } >&5 2472 # Check that the compiler produces executables we can run. If not, either 2473 # the compiler is broken, or we cross compile. 2474 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2475 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2476 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2477 echo "${ECHO_T}$cross_compiling" >&6; } 2478 2479 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2480 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2481 if { (ac_try="$ac_link" 2482 case "(($ac_try" in 2483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2484 *) ac_try_echo=$ac_try;; 2485 esac 2486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2838 2487 (eval "$ac_link") 2>&5 2839 2488 ac_status=$? 2840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52841 test $ac_status = 0; }; then :2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2490 (exit $ac_status); }; then 2842 2491 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2843 2492 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2847 2496 test -f "$ac_file" || continue 2848 2497 case $ac_file in 2849 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. dSYM | *.o | *.obj ) ;;2498 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2850 2499 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2851 2500 break;; … … 2854 2503 done 2855 2504 else 2856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2858 as_fn_error "cannot compute suffix of executables: cannot compile and link 2859 See \`config.log' for more details." "$LINENO" 5; } 2860 fi 2861 rm -f conftest conftest$ac_cv_exeext 2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2863 $as_echo "$ac_cv_exeext" >&6; } 2505 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2506 See \`config.log' for more details." >&5 2507 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2508 See \`config.log' for more details." >&2;} 2509 { (exit 1); exit 1; }; } 2510 fi 2511 2512 rm -f conftest$ac_cv_exeext 2513 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2514 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2864 2515 2865 2516 rm -f conftest.$ac_ext 2866 2517 EXEEXT=$ac_cv_exeext 2867 2518 ac_exeext=$EXEEXT 2868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2869 /* end confdefs.h. */ 2870 #include <stdio.h> 2519 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2520 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2521 if test "${ac_cv_objext+set}" = set; then 2522 echo $ECHO_N "(cached) $ECHO_C" >&6 2523 else 2524 cat >conftest.$ac_ext <<_ACEOF 2525 /* confdefs.h. */ 2526 _ACEOF 2527 cat confdefs.h >>conftest.$ac_ext 2528 cat >>conftest.$ac_ext <<_ACEOF 2529 /* end confdefs.h. */ 2530 2871 2531 int 2872 2532 main () 2873 2533 { 2874 FILE *f = fopen ("conftest.out", "w");2875 return ferror (f) || fclose (f) != 0;2876 2534 2877 2535 ; … … 2879 2537 } 2880 2538 _ACEOF 2881 ac_clean_files="$ac_clean_files conftest.out"2882 # Check that the compiler produces executables we can run. If not, either2883 # the compiler is broken, or we cross compile.2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&52885 $as_echo_n "checking whether we are cross compiling... " >&6; }2886 if test "$cross_compiling" != yes; then2887 { { ac_try="$ac_link"2888 case "(($ac_try" in2889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2890 *) ac_try_echo=$ac_try;;2891 esac2892 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2893 $as_echo "$ac_try_echo"; } >&52894 (eval "$ac_link") 2>&52895 ac_status=$?2896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52897 test $ac_status = 0; }2898 if { ac_try='./conftest$ac_cv_exeext'2899 { { case "(($ac_try" in2900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;2901 *) ac_try_echo=$ac_try;;2902 esac2903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""2904 $as_echo "$ac_try_echo"; } >&52905 (eval "$ac_try") 2>&52906 ac_status=$?2907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52908 test $ac_status = 0; }; }; then2909 cross_compiling=no2910 else2911 if test "$cross_compiling" = maybe; then2912 cross_compiling=yes2913 else2914 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2916 as_fn_error "cannot run C compiled programs.2917 If you meant to cross compile, use \`--host'.2918 See \`config.log' for more details." "$LINENO" 5; }2919 fi2920 fi2921 fi2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&52923 $as_echo "$cross_compiling" >&6; }2924 2925 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out2926 ac_clean_files=$ac_clean_files_save2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&52928 $as_echo_n "checking for suffix of object files... " >&6; }2929 if test "${ac_cv_objext+set}" = set; then :2930 $as_echo_n "(cached) " >&62931 else2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext2933 /* end confdefs.h. */2934 2935 int2936 main ()2937 {2938 2939 ;2940 return 0;2941 }2942 _ACEOF2943 2539 rm -f conftest.o conftest.obj 2944 if { { ac_try="$ac_compile" 2945 case "(($ac_try" in 2946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2947 *) ac_try_echo=$ac_try;; 2948 esac 2949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2950 $as_echo "$ac_try_echo"; } >&5 2540 if { (ac_try="$ac_compile" 2541 case "(($ac_try" in 2542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2543 *) ac_try_echo=$ac_try;; 2544 esac 2545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2951 2546 (eval "$ac_compile") 2>&5 2952 2547 ac_status=$? 2953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&52954 test $ac_status = 0; }; then :2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2549 (exit $ac_status); }; then 2955 2550 for ac_file in conftest.o conftest.obj conftest.*; do 2956 2551 test -f "$ac_file" || continue; 2957 2552 case $ac_file in 2958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM) ;;2553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2959 2554 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2960 2555 break;; … … 2962 2557 done 2963 2558 else 2964 $as_echo "$as_me: failed program was:" >&52559 echo "$as_me: failed program was:" >&5 2965 2560 sed 's/^/| /' conftest.$ac_ext >&5 2966 2561 2967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2969 as_fn_error "cannot compute suffix of object files: cannot compile 2970 See \`config.log' for more details." "$LINENO" 5; } 2971 fi 2562 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2563 See \`config.log' for more details." >&5 2564 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2565 See \`config.log' for more details." >&2;} 2566 { (exit 1); exit 1; }; } 2567 fi 2568 2972 2569 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2973 2570 fi 2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&52975 $as_echo "$ac_cv_objext" >&6; }2571 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2572 echo "${ECHO_T}$ac_cv_objext" >&6; } 2976 2573 OBJEXT=$ac_cv_objext 2977 2574 ac_objext=$OBJEXT 2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2979 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2980 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2981 $as_echo_n "(cached) " >&6 2982 else 2983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2575 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2576 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2577 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2578 echo $ECHO_N "(cached) $ECHO_C" >&6 2579 else 2580 cat >conftest.$ac_ext <<_ACEOF 2581 /* confdefs.h. */ 2582 _ACEOF 2583 cat confdefs.h >>conftest.$ac_ext 2584 cat >>conftest.$ac_ext <<_ACEOF 2984 2585 /* end confdefs.h. */ 2985 2586 … … 2995 2596 } 2996 2597 _ACEOF 2997 if ac_fn_c_try_compile "$LINENO"; then : 2598 rm -f conftest.$ac_objext 2599 if { (ac_try="$ac_compile" 2600 case "(($ac_try" in 2601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2602 *) ac_try_echo=$ac_try;; 2603 esac 2604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2605 (eval "$ac_compile") 2>conftest.er1 2606 ac_status=$? 2607 grep -v '^ *+' conftest.er1 >conftest.err 2608 rm -f conftest.er1 2609 cat conftest.err >&5 2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2611 (exit $ac_status); } && { 2612 test -z "$ac_c_werror_flag" || 2613 test ! -s conftest.err 2614 } && test -s conftest.$ac_objext; then 2998 2615 ac_compiler_gnu=yes 2999 2616 else 3000 ac_compiler_gnu=no 3001 fi 2617 echo "$as_me: failed program was:" >&5 2618 sed 's/^/| /' conftest.$ac_ext >&5 2619 2620 ac_compiler_gnu=no 2621 fi 2622 3002 2623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3003 2624 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3004 2625 3005 2626 fi 3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3007 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3008 if test $ac_compiler_gnu = yes; then 3009 GCC=yes 3010 else 3011 GCC= 3012 fi 2627 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2628 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2629 GCC=`test $ac_compiler_gnu = yes && echo yes` 3013 2630 ac_test_CFLAGS=${CFLAGS+set} 3014 2631 ac_save_CFLAGS=$CFLAGS 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&53016 $as_echo_n "checking whether $CC accepts -g..." >&6; }3017 if test "${ac_cv_prog_cc_g+set}" = set; then :3018 $as_echo_n "(cached)" >&62632 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2633 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2634 if test "${ac_cv_prog_cc_g+set}" = set; then 2635 echo $ECHO_N "(cached) $ECHO_C" >&6 3019 2636 else 3020 2637 ac_save_c_werror_flag=$ac_c_werror_flag … … 3022 2639 ac_cv_prog_cc_g=no 3023 2640 CFLAGS="-g" 3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2641 cat >conftest.$ac_ext <<_ACEOF 2642 /* confdefs.h. */ 2643 _ACEOF 2644 cat confdefs.h >>conftest.$ac_ext 2645 cat >>conftest.$ac_ext <<_ACEOF 3025 2646 /* end confdefs.h. */ 3026 2647 … … 3033 2654 } 3034 2655 _ACEOF 3035 if ac_fn_c_try_compile "$LINENO"; then : 2656 rm -f conftest.$ac_objext 2657 if { (ac_try="$ac_compile" 2658 case "(($ac_try" in 2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2660 *) ac_try_echo=$ac_try;; 2661 esac 2662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2663 (eval "$ac_compile") 2>conftest.er1 2664 ac_status=$? 2665 grep -v '^ *+' conftest.er1 >conftest.err 2666 rm -f conftest.er1 2667 cat conftest.err >&5 2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2669 (exit $ac_status); } && { 2670 test -z "$ac_c_werror_flag" || 2671 test ! -s conftest.err 2672 } && test -s conftest.$ac_objext; then 3036 2673 ac_cv_prog_cc_g=yes 3037 2674 else 3038 CFLAGS="" 3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2675 echo "$as_me: failed program was:" >&5 2676 sed 's/^/| /' conftest.$ac_ext >&5 2677 2678 CFLAGS="" 2679 cat >conftest.$ac_ext <<_ACEOF 2680 /* confdefs.h. */ 2681 _ACEOF 2682 cat confdefs.h >>conftest.$ac_ext 2683 cat >>conftest.$ac_ext <<_ACEOF 3040 2684 /* end confdefs.h. */ 3041 2685 … … 3048 2692 } 3049 2693 _ACEOF 3050 if ac_fn_c_try_compile "$LINENO"; then : 3051 3052 else 3053 ac_c_werror_flag=$ac_save_c_werror_flag 2694 rm -f conftest.$ac_objext 2695 if { (ac_try="$ac_compile" 2696 case "(($ac_try" in 2697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2698 *) ac_try_echo=$ac_try;; 2699 esac 2700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2701 (eval "$ac_compile") 2>conftest.er1 2702 ac_status=$? 2703 grep -v '^ *+' conftest.er1 >conftest.err 2704 rm -f conftest.er1 2705 cat conftest.err >&5 2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2707 (exit $ac_status); } && { 2708 test -z "$ac_c_werror_flag" || 2709 test ! -s conftest.err 2710 } && test -s conftest.$ac_objext; then 2711 : 2712 else 2713 echo "$as_me: failed program was:" >&5 2714 sed 's/^/| /' conftest.$ac_ext >&5 2715 2716 ac_c_werror_flag=$ac_save_c_werror_flag 3054 2717 CFLAGS="-g" 3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2718 cat >conftest.$ac_ext <<_ACEOF 2719 /* confdefs.h. */ 2720 _ACEOF 2721 cat confdefs.h >>conftest.$ac_ext 2722 cat >>conftest.$ac_ext <<_ACEOF 3056 2723 /* end confdefs.h. */ 3057 2724 … … 3064 2731 } 3065 2732 _ACEOF 3066 if ac_fn_c_try_compile "$LINENO"; then : 2733 rm -f conftest.$ac_objext 2734 if { (ac_try="$ac_compile" 2735 case "(($ac_try" in 2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2737 *) ac_try_echo=$ac_try;; 2738 esac 2739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2740 (eval "$ac_compile") 2>conftest.er1 2741 ac_status=$? 2742 grep -v '^ *+' conftest.er1 >conftest.err 2743 rm -f conftest.er1 2744 cat conftest.err >&5 2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2746 (exit $ac_status); } && { 2747 test -z "$ac_c_werror_flag" || 2748 test ! -s conftest.err 2749 } && test -s conftest.$ac_objext; then 3067 2750 ac_cv_prog_cc_g=yes 3068 fi 2751 else 2752 echo "$as_me: failed program was:" >&5 2753 sed 's/^/| /' conftest.$ac_ext >&5 2754 2755 2756 fi 2757 3069 2758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3070 2759 fi 2760 3071 2761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3072 2762 fi 2763 3073 2764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3074 2765 ac_c_werror_flag=$ac_save_c_werror_flag 3075 2766 fi 3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&53077 $as_echo "$ac_cv_prog_cc_g" >&6; }2767 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2768 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3078 2769 if test "$ac_test_CFLAGS" = set; then 3079 2770 CFLAGS=$ac_save_CFLAGS … … 3091 2782 fi 3092 2783 fi 3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&53094 $as_echo_n "checking for $CC option to accept ISO C89..." >&6; }3095 if test "${ac_cv_prog_cc_c89+set}" = set; then :3096 $as_echo_n "(cached)" >&62784 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2785 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2786 if test "${ac_cv_prog_cc_c89+set}" = set; then 2787 echo $ECHO_N "(cached) $ECHO_C" >&6 3097 2788 else 3098 2789 ac_cv_prog_cc_c89=no 3099 2790 ac_save_CC=$CC 3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2791 cat >conftest.$ac_ext <<_ACEOF 2792 /* confdefs.h. */ 2793 _ACEOF 2794 cat confdefs.h >>conftest.$ac_ext 2795 cat >>conftest.$ac_ext <<_ACEOF 3101 2796 /* end confdefs.h. */ 3102 2797 #include <stdarg.h> … … 3155 2850 do 3156 2851 CC="$ac_save_CC $ac_arg" 3157 if ac_fn_c_try_compile "$LINENO"; then : 2852 rm -f conftest.$ac_objext 2853 if { (ac_try="$ac_compile" 2854 case "(($ac_try" in 2855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2856 *) ac_try_echo=$ac_try;; 2857 esac 2858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2859 (eval "$ac_compile") 2>conftest.er1 2860 ac_status=$? 2861 grep -v '^ *+' conftest.er1 >conftest.err 2862 rm -f conftest.er1 2863 cat conftest.err >&5 2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2865 (exit $ac_status); } && { 2866 test -z "$ac_c_werror_flag" || 2867 test ! -s conftest.err 2868 } && test -s conftest.$ac_objext; then 3158 2869 ac_cv_prog_cc_c89=$ac_arg 3159 fi 2870 else 2871 echo "$as_me: failed program was:" >&5 2872 sed 's/^/| /' conftest.$ac_ext >&5 2873 2874 2875 fi 2876 3160 2877 rm -f core conftest.err conftest.$ac_objext 3161 2878 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 3168 2885 case "x$ac_cv_prog_cc_c89" in 3169 2886 x) 3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&53171 $as_echo "none needed" >&6; } ;;2887 { echo "$as_me:$LINENO: result: none needed" >&5 2888 echo "${ECHO_T}none needed" >&6; } ;; 3172 2889 xno) 3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&53174 $as_echo "unsupported" >&6; } ;;2890 { echo "$as_me:$LINENO: result: unsupported" >&5 2891 echo "${ECHO_T}unsupported" >&6; } ;; 3175 2892 *) 3176 2893 CC="$CC $ac_cv_prog_cc_c89" 3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3178 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3179 esac 3180 if test "x$ac_cv_prog_cc_c89" != xno; then : 3181 3182 fi 2894 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2895 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2896 esac 2897 3183 2898 3184 2899 ac_ext=c … … 3202 2917 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3203 2918 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53205 $as_echo_n "checking for $ac_word..." >&6; }3206 if test "${ac_cv_prog_CXX+set}" = set; then :3207 $as_echo_n "(cached)" >&62919 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2921 if test "${ac_cv_prog_CXX+set}" = set; then 2922 echo $ECHO_N "(cached) $ECHO_C" >&6 3208 2923 else 3209 2924 if test -n "$CXX"; then … … 3215 2930 IFS=$as_save_IFS 3216 2931 test -z "$as_dir" && as_dir=. 3217 2932 for ac_exec_ext in '' $ac_executable_extensions; do 3218 2933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3219 2934 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3221 2936 break 2 3222 2937 fi 3223 2938 done 3224 2939 done 3225 2940 IFS=$as_save_IFS 3226 2941 … … 3229 2944 CXX=$ac_cv_prog_CXX 3230 2945 if test -n "$CXX"; then 3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&53232 $as_echo "$CXX" >&6; }3233 else 3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53235 $as_echo "no" >&6; }2946 { echo "$as_me:$LINENO: result: $CXX" >&5 2947 echo "${ECHO_T}$CXX" >&6; } 2948 else 2949 { echo "$as_me:$LINENO: result: no" >&5 2950 echo "${ECHO_T}no" >&6; } 3236 2951 fi 3237 2952 … … 3246 2961 # Extract the first word of "$ac_prog", so it can be a program name with args. 3247 2962 set dummy $ac_prog; ac_word=$2 3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53249 $as_echo_n "checking for $ac_word..." >&6; }3250 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :3251 $as_echo_n "(cached)" >&62963 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2965 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2966 echo $ECHO_N "(cached) $ECHO_C" >&6 3252 2967 else 3253 2968 if test -n "$ac_ct_CXX"; then … … 3259 2974 IFS=$as_save_IFS 3260 2975 test -z "$as_dir" && as_dir=. 3261 2976 for ac_exec_ext in '' $ac_executable_extensions; do 3262 2977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3263 2978 ac_cv_prog_ac_ct_CXX="$ac_prog" 3264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3265 2980 break 2 3266 2981 fi 3267 2982 done 3268 2983 done 3269 2984 IFS=$as_save_IFS 3270 2985 … … 3273 2988 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3274 2989 if test -n "$ac_ct_CXX"; then 3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&53276 $as_echo "$ac_ct_CXX" >&6; }3277 else 3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53279 $as_echo "no" >&6; }2990 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2991 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2992 else 2993 { echo "$as_me:$LINENO: result: no" >&5 2994 echo "${ECHO_T}no" >&6; } 3280 2995 fi 3281 2996 … … 3289 3004 case $cross_compiling:$ac_tool_warned in 3290 3005 yes:) 3291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3006 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3007 whose name does not start with the host triplet. If you think this 3008 configuration is useful to you, please write to autoconf@gnu.org." >&5 3009 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3010 whose name does not start with the host triplet. If you think this 3011 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3293 3012 ac_tool_warned=yes ;; 3294 3013 esac … … 3300 3019 fi 3301 3020 # Provide some information about the compiler. 3302 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3303 set X $ac_compile 3304 ac_compiler=$2 3305 for ac_option in --version -v -V -qversion; do 3306 { { ac_try="$ac_compiler $ac_option >&5" 3307 case "(($ac_try" in 3308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3309 *) ac_try_echo=$ac_try;; 3310 esac 3311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3312 $as_echo "$ac_try_echo"; } >&5 3313 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3314 ac_status=$? 3315 if test -s conftest.err; then 3316 sed '10a\ 3317 ... rest of stderr output deleted ... 3318 10q' conftest.err >conftest.er1 3319 cat conftest.er1 >&5 3320 fi 3321 rm -f conftest.er1 conftest.err 3322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3323 test $ac_status = 0; } 3324 done 3325 3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3327 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3328 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3329 $as_echo_n "(cached) " >&6 3330 else 3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3021 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3022 ac_compiler=`set X $ac_compile; echo $2` 3023 { (ac_try="$ac_compiler --version >&5" 3024 case "(($ac_try" in 3025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3026 *) ac_try_echo=$ac_try;; 3027 esac 3028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3029 (eval "$ac_compiler --version >&5") 2>&5 3030 ac_status=$? 3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3032 (exit $ac_status); } 3033 { (ac_try="$ac_compiler -v >&5" 3034 case "(($ac_try" in 3035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3036 *) ac_try_echo=$ac_try;; 3037 esac 3038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3039 (eval "$ac_compiler -v >&5") 2>&5 3040 ac_status=$? 3041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3042 (exit $ac_status); } 3043 { (ac_try="$ac_compiler -V >&5" 3044 case "(($ac_try" in 3045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3046 *) ac_try_echo=$ac_try;; 3047 esac 3048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3049 (eval "$ac_compiler -V >&5") 2>&5 3050 ac_status=$? 3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3052 (exit $ac_status); } 3053 3054 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3055 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3056 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3057 echo $ECHO_N "(cached) $ECHO_C" >&6 3058 else 3059 cat >conftest.$ac_ext <<_ACEOF 3060 /* confdefs.h. */ 3061 _ACEOF 3062 cat confdefs.h >>conftest.$ac_ext 3063 cat >>conftest.$ac_ext <<_ACEOF 3332 3064 /* end confdefs.h. */ 3333 3065 … … 3343 3075 } 3344 3076 _ACEOF 3345 if ac_fn_cxx_try_compile "$LINENO"; then : 3077 rm -f conftest.$ac_objext 3078 if { (ac_try="$ac_compile" 3079 case "(($ac_try" in 3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3081 *) ac_try_echo=$ac_try;; 3082 esac 3083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3084 (eval "$ac_compile") 2>conftest.er1 3085 ac_status=$? 3086 grep -v '^ *+' conftest.er1 >conftest.err 3087 rm -f conftest.er1 3088 cat conftest.err >&5 3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3090 (exit $ac_status); } && { 3091 test -z "$ac_cxx_werror_flag" || 3092 test ! -s conftest.err 3093 } && test -s conftest.$ac_objext; then 3346 3094 ac_compiler_gnu=yes 3347 3095 else 3348 ac_compiler_gnu=no 3349 fi 3096 echo "$as_me: failed program was:" >&5 3097 sed 's/^/| /' conftest.$ac_ext >&5 3098 3099 ac_compiler_gnu=no 3100 fi 3101 3350 3102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3351 3103 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3352 3104 3353 3105 fi 3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3355 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3356 if test $ac_compiler_gnu = yes; then 3357 GXX=yes 3358 else 3359 GXX= 3360 fi 3106 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3107 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3108 GXX=`test $ac_compiler_gnu = yes && echo yes` 3361 3109 ac_test_CXXFLAGS=${CXXFLAGS+set} 3362 3110 ac_save_CXXFLAGS=$CXXFLAGS 3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&53364 $as_echo_n "checking whether $CXX accepts -g..." >&6; }3365 if test "${ac_cv_prog_cxx_g+set}" = set; then :3366 $as_echo_n "(cached)" >&63111 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3112 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 3113 if test "${ac_cv_prog_cxx_g+set}" = set; then 3114 echo $ECHO_N "(cached) $ECHO_C" >&6 3367 3115 else 3368 3116 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3370 3118 ac_cv_prog_cxx_g=no 3371 3119 CXXFLAGS="-g" 3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3120 cat >conftest.$ac_ext <<_ACEOF 3121 /* confdefs.h. */ 3122 _ACEOF 3123 cat confdefs.h >>conftest.$ac_ext 3124 cat >>conftest.$ac_ext <<_ACEOF 3373 3125 /* end confdefs.h. */ 3374 3126 … … 3381 3133 } 3382 3134 _ACEOF 3383 if ac_fn_cxx_try_compile "$LINENO"; then : 3135 rm -f conftest.$ac_objext 3136 if { (ac_try="$ac_compile" 3137 case "(($ac_try" in 3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3139 *) ac_try_echo=$ac_try;; 3140 esac 3141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3142 (eval "$ac_compile") 2>conftest.er1 3143 ac_status=$? 3144 grep -v '^ *+' conftest.er1 >conftest.err 3145 rm -f conftest.er1 3146 cat conftest.err >&5 3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3148 (exit $ac_status); } && { 3149 test -z "$ac_cxx_werror_flag" || 3150 test ! -s conftest.err 3151 } && test -s conftest.$ac_objext; then 3384 3152 ac_cv_prog_cxx_g=yes 3385 3153 else 3386 CXXFLAGS="" 3387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3154 echo "$as_me: failed program was:" >&5 3155 sed 's/^/| /' conftest.$ac_ext >&5 3156 3157 CXXFLAGS="" 3158 cat >conftest.$ac_ext <<_ACEOF 3159 /* confdefs.h. */ 3160 _ACEOF 3161 cat confdefs.h >>conftest.$ac_ext 3162 cat >>conftest.$ac_ext <<_ACEOF 3388 3163 /* end confdefs.h. */ 3389 3164 … … 3396 3171 } 3397 3172 _ACEOF 3398 if ac_fn_cxx_try_compile "$LINENO"; then : 3399 3400 else 3401 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3173 rm -f conftest.$ac_objext 3174 if { (ac_try="$ac_compile" 3175 case "(($ac_try" in 3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3177 *) ac_try_echo=$ac_try;; 3178 esac 3179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3180 (eval "$ac_compile") 2>conftest.er1 3181 ac_status=$? 3182 grep -v '^ *+' conftest.er1 >conftest.err 3183 rm -f conftest.er1 3184 cat conftest.err >&5 3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3186 (exit $ac_status); } && { 3187 test -z "$ac_cxx_werror_flag" || 3188 test ! -s conftest.err 3189 } && test -s conftest.$ac_objext; then 3190 : 3191 else 3192 echo "$as_me: failed program was:" >&5 3193 sed 's/^/| /' conftest.$ac_ext >&5 3194 3195 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3402 3196 CXXFLAGS="-g" 3403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3197 cat >conftest.$ac_ext <<_ACEOF 3198 /* confdefs.h. */ 3199 _ACEOF 3200 cat confdefs.h >>conftest.$ac_ext 3201 cat >>conftest.$ac_ext <<_ACEOF 3404 3202 /* end confdefs.h. */ 3405 3203 … … 3412 3210 } 3413 3211 _ACEOF 3414 if ac_fn_cxx_try_compile "$LINENO"; then : 3212 rm -f conftest.$ac_objext 3213 if { (ac_try="$ac_compile" 3214 case "(($ac_try" in 3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3216 *) ac_try_echo=$ac_try;; 3217 esac 3218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3219 (eval "$ac_compile") 2>conftest.er1 3220 ac_status=$? 3221 grep -v '^ *+' conftest.er1 >conftest.err 3222 rm -f conftest.er1 3223 cat conftest.err >&5 3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3225 (exit $ac_status); } && { 3226 test -z "$ac_cxx_werror_flag" || 3227 test ! -s conftest.err 3228 } && test -s conftest.$ac_objext; then 3415 3229 ac_cv_prog_cxx_g=yes 3416 fi 3230 else 3231 echo "$as_me: failed program was:" >&5 3232 sed 's/^/| /' conftest.$ac_ext >&5 3233 3234 3235 fi 3236 3417 3237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3418 3238 fi 3239 3419 3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3420 3241 fi 3242 3421 3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3422 3244 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3423 3245 fi 3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&53425 $as_echo "$ac_cv_prog_cxx_g" >&6; }3246 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3247 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 3426 3248 if test "$ac_test_CXXFLAGS" = set; then 3427 3249 CXXFLAGS=$ac_save_CXXFLAGS … … 3501 3323 3502 3324 3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3504 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3505 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 3506 $as_echo_n "(cached) " >&6 3325 3326 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3327 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 3328 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 3329 echo $ECHO_N "(cached) $ECHO_C" >&6 3507 3330 else 3508 3331 ac_check_lib_save_LIBS=$LIBS 3509 3332 LIBS="-lpthread $LIBS" 3510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3333 cat >conftest.$ac_ext <<_ACEOF 3334 /* confdefs.h. */ 3335 _ACEOF 3336 cat confdefs.h >>conftest.$ac_ext 3337 cat >>conftest.$ac_ext <<_ACEOF 3511 3338 /* end confdefs.h. */ 3512 3339 … … 3526 3353 } 3527 3354 _ACEOF 3528 if ac_fn_c_try_link "$LINENO"; then : 3355 rm -f conftest.$ac_objext conftest$ac_exeext 3356 if { (ac_try="$ac_link" 3357 case "(($ac_try" in 3358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3359 *) ac_try_echo=$ac_try;; 3360 esac 3361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3362 (eval "$ac_link") 2>conftest.er1 3363 ac_status=$? 3364 grep -v '^ *+' conftest.er1 >conftest.err 3365 rm -f conftest.er1 3366 cat conftest.err >&5 3367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3368 (exit $ac_status); } && { 3369 test -z "$ac_c_werror_flag" || 3370 test ! -s conftest.err 3371 } && test -s conftest$ac_exeext && 3372 $as_test_x conftest$ac_exeext; then 3529 3373 ac_cv_lib_pthread_pthread_create=yes 3530 3374 else 3531 ac_cv_lib_pthread_pthread_create=no 3532 fi 3533 rm -f core conftest.err conftest.$ac_objext \ 3534 conftest$ac_exeext conftest.$ac_ext 3375 echo "$as_me: failed program was:" >&5 3376 sed 's/^/| /' conftest.$ac_ext >&5 3377 3378 ac_cv_lib_pthread_pthread_create=no 3379 fi 3380 3381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3382 conftest$ac_exeext conftest.$ac_ext 3535 3383 LIBS=$ac_check_lib_save_LIBS 3536 3384 fi 3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&53538 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }3539 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :3385 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 3386 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 3387 if test $ac_cv_lib_pthread_pthread_create = yes; then 3540 3388 cat >>confdefs.h <<_ACEOF 3541 3389 #define HAVE_LIBPTHREAD 1 … … 3546 3394 fi 3547 3395 3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 3549 $as_echo_n "checking for puts in -lwsock32... " >&6; } 3550 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 3551 $as_echo_n "(cached) " >&6 3396 3397 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3398 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 3399 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 3400 echo $ECHO_N "(cached) $ECHO_C" >&6 3552 3401 else 3553 3402 ac_check_lib_save_LIBS=$LIBS 3554 3403 LIBS="-lwsock32 $LIBS" 3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3404 cat >conftest.$ac_ext <<_ACEOF 3405 /* confdefs.h. */ 3406 _ACEOF 3407 cat confdefs.h >>conftest.$ac_ext 3408 cat >>conftest.$ac_ext <<_ACEOF 3556 3409 /* end confdefs.h. */ 3557 3410 … … 3571 3424 } 3572 3425 _ACEOF 3573 if ac_fn_c_try_link "$LINENO"; then : 3426 rm -f conftest.$ac_objext conftest$ac_exeext 3427 if { (ac_try="$ac_link" 3428 case "(($ac_try" in 3429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3430 *) ac_try_echo=$ac_try;; 3431 esac 3432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3433 (eval "$ac_link") 2>conftest.er1 3434 ac_status=$? 3435 grep -v '^ *+' conftest.er1 >conftest.err 3436 rm -f conftest.er1 3437 cat conftest.err >&5 3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3439 (exit $ac_status); } && { 3440 test -z "$ac_c_werror_flag" || 3441 test ! -s conftest.err 3442 } && test -s conftest$ac_exeext && 3443 $as_test_x conftest$ac_exeext; then 3574 3444 ac_cv_lib_wsock32_puts=yes 3575 3445 else 3576 ac_cv_lib_wsock32_puts=no 3577 fi 3578 rm -f core conftest.err conftest.$ac_objext \ 3579 conftest$ac_exeext conftest.$ac_ext 3446 echo "$as_me: failed program was:" >&5 3447 sed 's/^/| /' conftest.$ac_ext >&5 3448 3449 ac_cv_lib_wsock32_puts=no 3450 fi 3451 3452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3453 conftest$ac_exeext conftest.$ac_ext 3580 3454 LIBS=$ac_check_lib_save_LIBS 3581 3455 fi 3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&53583 $as_echo "$ac_cv_lib_wsock32_puts" >&6; }3584 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then :3456 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 3457 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 3458 if test $ac_cv_lib_wsock32_puts = yes; then 3585 3459 cat >>confdefs.h <<_ACEOF 3586 3460 #define HAVE_LIBWSOCK32 1 … … 3591 3465 fi 3592 3466 3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 3594 $as_echo_n "checking for puts in -lws2_32... " >&6; } 3595 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 3596 $as_echo_n "(cached) " >&6 3467 3468 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3469 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 3470 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 3471 echo $ECHO_N "(cached) $ECHO_C" >&6 3597 3472 else 3598 3473 ac_check_lib_save_LIBS=$LIBS 3599 3474 LIBS="-lws2_32 $LIBS" 3600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3475 cat >conftest.$ac_ext <<_ACEOF 3476 /* confdefs.h. */ 3477 _ACEOF 3478 cat confdefs.h >>conftest.$ac_ext 3479 cat >>conftest.$ac_ext <<_ACEOF 3601 3480 /* end confdefs.h. */ 3602 3481 … … 3616 3495 } 3617 3496 _ACEOF 3618 if ac_fn_c_try_link "$LINENO"; then : 3497 rm -f conftest.$ac_objext conftest$ac_exeext 3498 if { (ac_try="$ac_link" 3499 case "(($ac_try" in 3500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3501 *) ac_try_echo=$ac_try;; 3502 esac 3503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3504 (eval "$ac_link") 2>conftest.er1 3505 ac_status=$? 3506 grep -v '^ *+' conftest.er1 >conftest.err 3507 rm -f conftest.er1 3508 cat conftest.err >&5 3509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3510 (exit $ac_status); } && { 3511 test -z "$ac_c_werror_flag" || 3512 test ! -s conftest.err 3513 } && test -s conftest$ac_exeext && 3514 $as_test_x conftest$ac_exeext; then 3619 3515 ac_cv_lib_ws2_32_puts=yes 3620 3516 else 3621 ac_cv_lib_ws2_32_puts=no 3622 fi 3623 rm -f core conftest.err conftest.$ac_objext \ 3624 conftest$ac_exeext conftest.$ac_ext 3517 echo "$as_me: failed program was:" >&5 3518 sed 's/^/| /' conftest.$ac_ext >&5 3519 3520 ac_cv_lib_ws2_32_puts=no 3521 fi 3522 3523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3524 conftest$ac_exeext conftest.$ac_ext 3625 3525 LIBS=$ac_check_lib_save_LIBS 3626 3526 fi 3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&53628 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; }3629 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then :3527 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 3528 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 3529 if test $ac_cv_lib_ws2_32_puts = yes; then 3630 3530 cat >>confdefs.h <<_ACEOF 3631 3531 #define HAVE_LIBWS2_32 1 … … 3636 3536 fi 3637 3537 3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 3639 $as_echo_n "checking for puts in -lole32... " >&6; } 3640 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 3641 $as_echo_n "(cached) " >&6 3538 3539 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3540 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 3541 if test "${ac_cv_lib_ole32_puts+set}" = set; then 3542 echo $ECHO_N "(cached) $ECHO_C" >&6 3642 3543 else 3643 3544 ac_check_lib_save_LIBS=$LIBS 3644 3545 LIBS="-lole32 $LIBS" 3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3546 cat >conftest.$ac_ext <<_ACEOF 3547 /* confdefs.h. */ 3548 _ACEOF 3549 cat confdefs.h >>conftest.$ac_ext 3550 cat >>conftest.$ac_ext <<_ACEOF 3646 3551 /* end confdefs.h. */ 3647 3552 … … 3661 3566 } 3662 3567 _ACEOF 3663 if ac_fn_c_try_link "$LINENO"; then : 3568 rm -f conftest.$ac_objext conftest$ac_exeext 3569 if { (ac_try="$ac_link" 3570 case "(($ac_try" in 3571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3572 *) ac_try_echo=$ac_try;; 3573 esac 3574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3575 (eval "$ac_link") 2>conftest.er1 3576 ac_status=$? 3577 grep -v '^ *+' conftest.er1 >conftest.err 3578 rm -f conftest.er1 3579 cat conftest.err >&5 3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3581 (exit $ac_status); } && { 3582 test -z "$ac_c_werror_flag" || 3583 test ! -s conftest.err 3584 } && test -s conftest$ac_exeext && 3585 $as_test_x conftest$ac_exeext; then 3664 3586 ac_cv_lib_ole32_puts=yes 3665 3587 else 3666 ac_cv_lib_ole32_puts=no 3667 fi 3668 rm -f core conftest.err conftest.$ac_objext \ 3669 conftest$ac_exeext conftest.$ac_ext 3588 echo "$as_me: failed program was:" >&5 3589 sed 's/^/| /' conftest.$ac_ext >&5 3590 3591 ac_cv_lib_ole32_puts=no 3592 fi 3593 3594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3595 conftest$ac_exeext conftest.$ac_ext 3670 3596 LIBS=$ac_check_lib_save_LIBS 3671 3597 fi 3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&53673 $as_echo "$ac_cv_lib_ole32_puts" >&6; }3674 if test "x$ac_cv_lib_ole32_puts" = x""yes; then :3598 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 3599 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 3600 if test $ac_cv_lib_ole32_puts = yes; then 3675 3601 cat >>confdefs.h <<_ACEOF 3676 3602 #define HAVE_LIBOLE32 1 … … 3681 3607 fi 3682 3608 3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 3684 $as_echo_n "checking for puts in -lwinmm... " >&6; } 3685 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 3686 $as_echo_n "(cached) " >&6 3609 3610 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3611 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 3612 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3613 echo $ECHO_N "(cached) $ECHO_C" >&6 3687 3614 else 3688 3615 ac_check_lib_save_LIBS=$LIBS 3689 3616 LIBS="-lwinmm $LIBS" 3690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3617 cat >conftest.$ac_ext <<_ACEOF 3618 /* confdefs.h. */ 3619 _ACEOF 3620 cat confdefs.h >>conftest.$ac_ext 3621 cat >>conftest.$ac_ext <<_ACEOF 3691 3622 /* end confdefs.h. */ 3692 3623 … … 3706 3637 } 3707 3638 _ACEOF 3708 if ac_fn_c_try_link "$LINENO"; then : 3639 rm -f conftest.$ac_objext conftest$ac_exeext 3640 if { (ac_try="$ac_link" 3641 case "(($ac_try" in 3642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3643 *) ac_try_echo=$ac_try;; 3644 esac 3645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3646 (eval "$ac_link") 2>conftest.er1 3647 ac_status=$? 3648 grep -v '^ *+' conftest.er1 >conftest.err 3649 rm -f conftest.er1 3650 cat conftest.err >&5 3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3652 (exit $ac_status); } && { 3653 test -z "$ac_c_werror_flag" || 3654 test ! -s conftest.err 3655 } && test -s conftest$ac_exeext && 3656 $as_test_x conftest$ac_exeext; then 3709 3657 ac_cv_lib_winmm_puts=yes 3710 3658 else 3711 ac_cv_lib_winmm_puts=no 3712 fi 3713 rm -f core conftest.err conftest.$ac_objext \ 3714 conftest$ac_exeext conftest.$ac_ext 3659 echo "$as_me: failed program was:" >&5 3660 sed 's/^/| /' conftest.$ac_ext >&5 3661 3662 ac_cv_lib_winmm_puts=no 3663 fi 3664 3665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3666 conftest$ac_exeext conftest.$ac_ext 3715 3667 LIBS=$ac_check_lib_save_LIBS 3716 3668 fi 3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&53718 $as_echo "$ac_cv_lib_winmm_puts" >&6; }3719 if test "x$ac_cv_lib_winmm_puts" = x""yes; then :3669 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 3670 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 3671 if test $ac_cv_lib_winmm_puts = yes; then 3720 3672 cat >>confdefs.h <<_ACEOF 3721 3673 #define HAVE_LIBWINMM 1 … … 3726 3678 fi 3727 3679 3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 3729 $as_echo_n "checking for puts in -lsocket... " >&6; } 3730 if test "${ac_cv_lib_socket_puts+set}" = set; then : 3731 $as_echo_n "(cached) " >&6 3680 3681 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3682 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 3683 if test "${ac_cv_lib_socket_puts+set}" = set; then 3684 echo $ECHO_N "(cached) $ECHO_C" >&6 3732 3685 else 3733 3686 ac_check_lib_save_LIBS=$LIBS 3734 3687 LIBS="-lsocket $LIBS" 3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3688 cat >conftest.$ac_ext <<_ACEOF 3689 /* confdefs.h. */ 3690 _ACEOF 3691 cat confdefs.h >>conftest.$ac_ext 3692 cat >>conftest.$ac_ext <<_ACEOF 3736 3693 /* end confdefs.h. */ 3737 3694 … … 3751 3708 } 3752 3709 _ACEOF 3753 if ac_fn_c_try_link "$LINENO"; then : 3710 rm -f conftest.$ac_objext conftest$ac_exeext 3711 if { (ac_try="$ac_link" 3712 case "(($ac_try" in 3713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3714 *) ac_try_echo=$ac_try;; 3715 esac 3716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3717 (eval "$ac_link") 2>conftest.er1 3718 ac_status=$? 3719 grep -v '^ *+' conftest.er1 >conftest.err 3720 rm -f conftest.er1 3721 cat conftest.err >&5 3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3723 (exit $ac_status); } && { 3724 test -z "$ac_c_werror_flag" || 3725 test ! -s conftest.err 3726 } && test -s conftest$ac_exeext && 3727 $as_test_x conftest$ac_exeext; then 3754 3728 ac_cv_lib_socket_puts=yes 3755 3729 else 3756 ac_cv_lib_socket_puts=no 3757 fi 3758 rm -f core conftest.err conftest.$ac_objext \ 3759 conftest$ac_exeext conftest.$ac_ext 3730 echo "$as_me: failed program was:" >&5 3731 sed 's/^/| /' conftest.$ac_ext >&5 3732 3733 ac_cv_lib_socket_puts=no 3734 fi 3735 3736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3737 conftest$ac_exeext conftest.$ac_ext 3760 3738 LIBS=$ac_check_lib_save_LIBS 3761 3739 fi 3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&53763 $as_echo "$ac_cv_lib_socket_puts" >&6; }3764 if test "x$ac_cv_lib_socket_puts" = x""yes; then :3740 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 3741 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 3742 if test $ac_cv_lib_socket_puts = yes; then 3765 3743 cat >>confdefs.h <<_ACEOF 3766 3744 #define HAVE_LIBSOCKET 1 … … 3771 3749 fi 3772 3750 3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 3774 $as_echo_n "checking for puts in -lrt... " >&6; } 3775 if test "${ac_cv_lib_rt_puts+set}" = set; then : 3776 $as_echo_n "(cached) " >&6 3751 3752 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3753 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 3754 if test "${ac_cv_lib_rt_puts+set}" = set; then 3755 echo $ECHO_N "(cached) $ECHO_C" >&6 3777 3756 else 3778 3757 ac_check_lib_save_LIBS=$LIBS 3779 3758 LIBS="-lrt $LIBS" 3780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3759 cat >conftest.$ac_ext <<_ACEOF 3760 /* confdefs.h. */ 3761 _ACEOF 3762 cat confdefs.h >>conftest.$ac_ext 3763 cat >>conftest.$ac_ext <<_ACEOF 3781 3764 /* end confdefs.h. */ 3782 3765 … … 3796 3779 } 3797 3780 _ACEOF 3798 if ac_fn_c_try_link "$LINENO"; then : 3781 rm -f conftest.$ac_objext conftest$ac_exeext 3782 if { (ac_try="$ac_link" 3783 case "(($ac_try" in 3784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3785 *) ac_try_echo=$ac_try;; 3786 esac 3787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3788 (eval "$ac_link") 2>conftest.er1 3789 ac_status=$? 3790 grep -v '^ *+' conftest.er1 >conftest.err 3791 rm -f conftest.er1 3792 cat conftest.err >&5 3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3794 (exit $ac_status); } && { 3795 test -z "$ac_c_werror_flag" || 3796 test ! -s conftest.err 3797 } && test -s conftest$ac_exeext && 3798 $as_test_x conftest$ac_exeext; then 3799 3799 ac_cv_lib_rt_puts=yes 3800 3800 else 3801 ac_cv_lib_rt_puts=no 3802 fi 3803 rm -f core conftest.err conftest.$ac_objext \ 3804 conftest$ac_exeext conftest.$ac_ext 3801 echo "$as_me: failed program was:" >&5 3802 sed 's/^/| /' conftest.$ac_ext >&5 3803 3804 ac_cv_lib_rt_puts=no 3805 fi 3806 3807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3808 conftest$ac_exeext conftest.$ac_ext 3805 3809 LIBS=$ac_check_lib_save_LIBS 3806 3810 fi 3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&53808 $as_echo "$ac_cv_lib_rt_puts" >&6; }3809 if test "x$ac_cv_lib_rt_puts" = x""yes; then :3811 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 3812 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 3813 if test $ac_cv_lib_rt_puts = yes; then 3810 3814 cat >>confdefs.h <<_ACEOF 3811 3815 #define HAVE_LIBRT 1 … … 3816 3820 fi 3817 3821 3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 3819 $as_echo_n "checking for puts in -lnsl... " >&6; } 3820 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 3821 $as_echo_n "(cached) " >&6 3822 3823 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3824 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 3825 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3826 echo $ECHO_N "(cached) $ECHO_C" >&6 3822 3827 else 3823 3828 ac_check_lib_save_LIBS=$LIBS 3824 3829 LIBS="-lnsl $LIBS" 3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3830 cat >conftest.$ac_ext <<_ACEOF 3831 /* confdefs.h. */ 3832 _ACEOF 3833 cat confdefs.h >>conftest.$ac_ext 3834 cat >>conftest.$ac_ext <<_ACEOF 3826 3835 /* end confdefs.h. */ 3827 3836 … … 3841 3850 } 3842 3851 _ACEOF 3843 if ac_fn_c_try_link "$LINENO"; then : 3852 rm -f conftest.$ac_objext conftest$ac_exeext 3853 if { (ac_try="$ac_link" 3854 case "(($ac_try" in 3855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3856 *) ac_try_echo=$ac_try;; 3857 esac 3858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3859 (eval "$ac_link") 2>conftest.er1 3860 ac_status=$? 3861 grep -v '^ *+' conftest.er1 >conftest.err 3862 rm -f conftest.er1 3863 cat conftest.err >&5 3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3865 (exit $ac_status); } && { 3866 test -z "$ac_c_werror_flag" || 3867 test ! -s conftest.err 3868 } && test -s conftest$ac_exeext && 3869 $as_test_x conftest$ac_exeext; then 3844 3870 ac_cv_lib_nsl_puts=yes 3845 3871 else 3846 ac_cv_lib_nsl_puts=no 3847 fi 3848 rm -f core conftest.err conftest.$ac_objext \ 3849 conftest$ac_exeext conftest.$ac_ext 3872 echo "$as_me: failed program was:" >&5 3873 sed 's/^/| /' conftest.$ac_ext >&5 3874 3875 ac_cv_lib_nsl_puts=no 3876 fi 3877 3878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3879 conftest$ac_exeext conftest.$ac_ext 3850 3880 LIBS=$ac_check_lib_save_LIBS 3851 3881 fi 3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&53853 $as_echo "$ac_cv_lib_nsl_puts" >&6; }3854 if test "x$ac_cv_lib_nsl_puts" = x""yes; then :3882 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 3883 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 3884 if test $ac_cv_lib_nsl_puts = yes; then 3855 3885 cat >>confdefs.h <<_ACEOF 3856 3886 #define HAVE_LIBNSL 1 … … 3861 3891 fi 3862 3892 3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3864 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3865 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3866 $as_echo_n "(cached) " >&6 3893 3894 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3895 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3896 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3897 echo $ECHO_N "(cached) $ECHO_C" >&6 3867 3898 else 3868 3899 ac_check_lib_save_LIBS=$LIBS 3869 3900 LIBS="-luuid $LIBS" 3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3901 cat >conftest.$ac_ext <<_ACEOF 3902 /* confdefs.h. */ 3903 _ACEOF 3904 cat confdefs.h >>conftest.$ac_ext 3905 cat >>conftest.$ac_ext <<_ACEOF 3871 3906 /* end confdefs.h. */ 3872 3907 … … 3886 3921 } 3887 3922 _ACEOF 3888 if ac_fn_c_try_link "$LINENO"; then : 3923 rm -f conftest.$ac_objext conftest$ac_exeext 3924 if { (ac_try="$ac_link" 3925 case "(($ac_try" in 3926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3927 *) ac_try_echo=$ac_try;; 3928 esac 3929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3930 (eval "$ac_link") 2>conftest.er1 3931 ac_status=$? 3932 grep -v '^ *+' conftest.er1 >conftest.err 3933 rm -f conftest.er1 3934 cat conftest.err >&5 3935 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3936 (exit $ac_status); } && { 3937 test -z "$ac_c_werror_flag" || 3938 test ! -s conftest.err 3939 } && test -s conftest$ac_exeext && 3940 $as_test_x conftest$ac_exeext; then 3889 3941 ac_cv_lib_uuid_uuid_generate=yes 3890 3942 else 3891 ac_cv_lib_uuid_uuid_generate=no 3892 fi 3893 rm -f core conftest.err conftest.$ac_objext \ 3894 conftest$ac_exeext conftest.$ac_ext 3943 echo "$as_me: failed program was:" >&5 3944 sed 's/^/| /' conftest.$ac_ext >&5 3945 3946 ac_cv_lib_uuid_uuid_generate=no 3947 fi 3948 3949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3950 conftest$ac_exeext conftest.$ac_ext 3895 3951 LIBS=$ac_check_lib_save_LIBS 3896 3952 fi 3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&53898 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }3899 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then :3953 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3954 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 3955 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3900 3956 cat >>confdefs.h <<_ACEOF 3901 3957 #define HAVE_LIBUUID 1 … … 3906 3962 fi 3907 3963 3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&53909 $as_echo_n "checking for uuid_generate in -luuid..." >&6; }3910 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then :3911 $as_echo_n "(cached)" >&63964 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3965 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3966 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3967 echo $ECHO_N "(cached) $ECHO_C" >&6 3912 3968 else 3913 3969 ac_check_lib_save_LIBS=$LIBS 3914 3970 LIBS="-luuid $LIBS" 3915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3971 cat >conftest.$ac_ext <<_ACEOF 3972 /* confdefs.h. */ 3973 _ACEOF 3974 cat confdefs.h >>conftest.$ac_ext 3975 cat >>conftest.$ac_ext <<_ACEOF 3916 3976 /* end confdefs.h. */ 3917 3977 … … 3931 3991 } 3932 3992 _ACEOF 3933 if ac_fn_c_try_link "$LINENO"; then : 3993 rm -f conftest.$ac_objext conftest$ac_exeext 3994 if { (ac_try="$ac_link" 3995 case "(($ac_try" in 3996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3997 *) ac_try_echo=$ac_try;; 3998 esac 3999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4000 (eval "$ac_link") 2>conftest.er1 4001 ac_status=$? 4002 grep -v '^ *+' conftest.er1 >conftest.err 4003 rm -f conftest.er1 4004 cat conftest.err >&5 4005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4006 (exit $ac_status); } && { 4007 test -z "$ac_c_werror_flag" || 4008 test ! -s conftest.err 4009 } && test -s conftest$ac_exeext && 4010 $as_test_x conftest$ac_exeext; then 3934 4011 ac_cv_lib_uuid_uuid_generate=yes 3935 4012 else 3936 ac_cv_lib_uuid_uuid_generate=no 3937 fi 3938 rm -f core conftest.err conftest.$ac_objext \ 3939 conftest$ac_exeext conftest.$ac_ext 4013 echo "$as_me: failed program was:" >&5 4014 sed 's/^/| /' conftest.$ac_ext >&5 4015 4016 ac_cv_lib_uuid_uuid_generate=no 4017 fi 4018 4019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4020 conftest$ac_exeext conftest.$ac_ext 3940 4021 LIBS=$ac_check_lib_save_LIBS 3941 4022 fi 3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&53943 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; }3944 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then :4023 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 4024 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 4025 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3945 4026 ac_has_uuid_lib=1 3946 4027 fi 3947 4028 3948 4029 3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&53950 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; }4030 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 4031 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 3951 4032 cat >>confdefs.h <<_ACEOF 3952 4033 #define PJ_M_NAME "$target_cpu" … … 3954 4035 3955 4036 3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&53957 $as_echo_n "checking memory alignment..." >&6; }4037 { echo "$as_me:$LINENO: checking memory alignment" >&5 4038 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 3958 4039 case $target in 3959 4040 sparc64-* | ia64-* | x86_64-* ) 3960 $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 3961 3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 3963 $as_echo "8 bytes" >&6; } 4041 cat >>confdefs.h <<\_ACEOF 4042 #define PJ_POOL_ALIGNMENT 8 4043 _ACEOF 4044 4045 { echo "$as_me:$LINENO: result: 8 bytes" >&5 4046 echo "${ECHO_T}8 bytes" >&6; } 3964 4047 ;; 3965 4048 * ) 3966 $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 3967 3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 3969 $as_echo "4 bytes (default)" >&6; } 4049 cat >>confdefs.h <<\_ACEOF 4050 #define PJ_POOL_ALIGNMENT 4 4051 _ACEOF 4052 4053 { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 4054 echo "${ECHO_T}4 bytes (default)" >&6; } 3970 4055 ;; 3971 4056 esac … … 3977 4062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3978 4063 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&53980 $as_echo_n "checking how to run the C preprocessor..." >&6; }4064 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4065 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3981 4066 # On Suns, sometimes $CPP names a directory. 3982 4067 if test -n "$CPP" && test -d "$CPP"; then … … 3984 4069 fi 3985 4070 if test -z "$CPP"; then 3986 if test "${ac_cv_prog_CPP+set}" = set; then :3987 $as_echo_n "(cached)" >&64071 if test "${ac_cv_prog_CPP+set}" = set; then 4072 echo $ECHO_N "(cached) $ECHO_C" >&6 3988 4073 else 3989 4074 # Double quotes because CPP needs to be expanded … … 3999 4084 # On the NeXT, cc -E runs the code through the compiler's parser, 4000 4085 # not just through cpp. "Syntax error" is here to catch this case. 4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4086 cat >conftest.$ac_ext <<_ACEOF 4087 /* confdefs.h. */ 4088 _ACEOF 4089 cat confdefs.h >>conftest.$ac_ext 4090 cat >>conftest.$ac_ext <<_ACEOF 4002 4091 /* end confdefs.h. */ 4003 4092 #ifdef __STDC__ … … 4008 4097 Syntax error 4009 4098 _ACEOF 4010 if ac_fn_c_try_cpp "$LINENO"; then : 4011 4012 else 4099 if { (ac_try="$ac_cpp conftest.$ac_ext" 4100 case "(($ac_try" in 4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4102 *) ac_try_echo=$ac_try;; 4103 esac 4104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4105 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4106 ac_status=$? 4107 grep -v '^ *+' conftest.er1 >conftest.err 4108 rm -f conftest.er1 4109 cat conftest.err >&5 4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4111 (exit $ac_status); } >/dev/null && { 4112 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4113 test ! -s conftest.err 4114 }; then 4115 : 4116 else 4117 echo "$as_me: failed program was:" >&5 4118 sed 's/^/| /' conftest.$ac_ext >&5 4119 4013 4120 # Broken: fails on valid input. 4014 4121 continue 4015 4122 fi 4123 4016 4124 rm -f conftest.err conftest.$ac_ext 4017 4125 4018 4126 # OK, works on sane cases. Now check whether nonexistent headers 4019 4127 # can be detected and how. 4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4128 cat >conftest.$ac_ext <<_ACEOF 4129 /* confdefs.h. */ 4130 _ACEOF 4131 cat confdefs.h >>conftest.$ac_ext 4132 cat >>conftest.$ac_ext <<_ACEOF 4021 4133 /* end confdefs.h. */ 4022 4134 #include <ac_nonexistent.h> 4023 4135 _ACEOF 4024 if ac_fn_c_try_cpp "$LINENO"; then : 4136 if { (ac_try="$ac_cpp conftest.$ac_ext" 4137 case "(($ac_try" in 4138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4139 *) ac_try_echo=$ac_try;; 4140 esac 4141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4142 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4143 ac_status=$? 4144 grep -v '^ *+' conftest.er1 >conftest.err 4145 rm -f conftest.er1 4146 cat conftest.err >&5 4147 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4148 (exit $ac_status); } >/dev/null && { 4149 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4150 test ! -s conftest.err 4151 }; then 4025 4152 # Broken: success on invalid input. 4026 4153 continue 4027 4154 else 4155 echo "$as_me: failed program was:" >&5 4156 sed 's/^/| /' conftest.$ac_ext >&5 4157 4028 4158 # Passes both tests. 4029 4159 ac_preproc_ok=: 4030 4160 break 4031 4161 fi 4162 4032 4163 rm -f conftest.err conftest.$ac_ext 4033 4164 … … 4035 4166 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4036 4167 rm -f conftest.err conftest.$ac_ext 4037 if $ac_preproc_ok; then :4168 if $ac_preproc_ok; then 4038 4169 break 4039 4170 fi … … 4047 4178 ac_cv_prog_CPP=$CPP 4048 4179 fi 4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&54050 $as_echo "$CPP" >&6; }4180 { echo "$as_me:$LINENO: result: $CPP" >&5 4181 echo "${ECHO_T}$CPP" >&6; } 4051 4182 ac_preproc_ok=false 4052 4183 for ac_c_preproc_warn_flag in '' yes … … 4058 4189 # On the NeXT, cc -E runs the code through the compiler's parser, 4059 4190 # not just through cpp. "Syntax error" is here to catch this case. 4060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4191 cat >conftest.$ac_ext <<_ACEOF 4192 /* confdefs.h. */ 4193 _ACEOF 4194 cat confdefs.h >>conftest.$ac_ext 4195 cat >>conftest.$ac_ext <<_ACEOF 4061 4196 /* end confdefs.h. */ 4062 4197 #ifdef __STDC__ … … 4067 4202 Syntax error 4068 4203 _ACEOF 4069 if ac_fn_c_try_cpp "$LINENO"; then : 4070 4071 else 4204 if { (ac_try="$ac_cpp conftest.$ac_ext" 4205 case "(($ac_try" in 4206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4207 *) ac_try_echo=$ac_try;; 4208 esac 4209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4210 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4211 ac_status=$? 4212 grep -v '^ *+' conftest.er1 >conftest.err 4213 rm -f conftest.er1 4214 cat conftest.err >&5 4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4216 (exit $ac_status); } >/dev/null && { 4217 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4218 test ! -s conftest.err 4219 }; then 4220 : 4221 else 4222 echo "$as_me: failed program was:" >&5 4223 sed 's/^/| /' conftest.$ac_ext >&5 4224 4072 4225 # Broken: fails on valid input. 4073 4226 continue 4074 4227 fi 4228 4075 4229 rm -f conftest.err conftest.$ac_ext 4076 4230 4077 4231 # OK, works on sane cases. Now check whether nonexistent headers 4078 4232 # can be detected and how. 4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4233 cat >conftest.$ac_ext <<_ACEOF 4234 /* confdefs.h. */ 4235 _ACEOF 4236 cat confdefs.h >>conftest.$ac_ext 4237 cat >>conftest.$ac_ext <<_ACEOF 4080 4238 /* end confdefs.h. */ 4081 4239 #include <ac_nonexistent.h> 4082 4240 _ACEOF 4083 if ac_fn_c_try_cpp "$LINENO"; then : 4241 if { (ac_try="$ac_cpp conftest.$ac_ext" 4242 case "(($ac_try" in 4243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4244 *) ac_try_echo=$ac_try;; 4245 esac 4246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4247 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4248 ac_status=$? 4249 grep -v '^ *+' conftest.er1 >conftest.err 4250 rm -f conftest.er1 4251 cat conftest.err >&5 4252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4253 (exit $ac_status); } >/dev/null && { 4254 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4255 test ! -s conftest.err 4256 }; then 4084 4257 # Broken: success on invalid input. 4085 4258 continue 4086 4259 else 4260 echo "$as_me: failed program was:" >&5 4261 sed 's/^/| /' conftest.$ac_ext >&5 4262 4087 4263 # Passes both tests. 4088 4264 ac_preproc_ok=: 4089 4265 break 4090 4266 fi 4267 4091 4268 rm -f conftest.err conftest.$ac_ext 4092 4269 … … 4094 4271 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4095 4272 rm -f conftest.err conftest.$ac_ext 4096 if $ac_preproc_ok; then : 4097 4098 else 4099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4101 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4102 See \`config.log' for more details." "$LINENO" 5; } 4273 if $ac_preproc_ok; then 4274 : 4275 else 4276 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4277 See \`config.log' for more details." >&5 4278 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4279 See \`config.log' for more details." >&2;} 4280 { (exit 1); exit 1; }; } 4103 4281 fi 4104 4282 … … 4110 4288 4111 4289 4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4113 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4114 if test "${ac_cv_path_GREP+set}" = set; then : 4115 $as_echo_n "(cached) " >&6 4116 else 4117 if test -z "$GREP"; then 4290 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4291 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4292 if test "${ac_cv_path_GREP+set}" = set; then 4293 echo $ECHO_N "(cached) $ECHO_C" >&6 4294 else 4295 # Extract the first word of "grep ggrep" to use in msg output 4296 if test -z "$GREP"; then 4297 set dummy grep ggrep; ac_prog_name=$2 4298 if test "${ac_cv_path_GREP+set}" = set; then 4299 echo $ECHO_N "(cached) $ECHO_C" >&6 4300 else 4118 4301 ac_path_GREP_found=false 4119 4120 4302 # Loop through the user's path and test for each of PROGNAME-LIST 4303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4121 4304 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4122 4305 do 4123 4306 IFS=$as_save_IFS 4124 4307 test -z "$as_dir" && as_dir=. 4125 4126 4127 4128 4129 # Check for GNU ac_path_GREP and select it if it is found.4308 for ac_prog in grep ggrep; do 4309 for ac_exec_ext in '' $ac_executable_extensions; do 4310 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4311 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4312 # Check for GNU ac_path_GREP and select it if it is found. 4130 4313 # Check for GNU $ac_path_GREP 4131 4314 case `"$ac_path_GREP" --version 2>&1` in … … 4134 4317 *) 4135 4318 ac_count=0 4136 $as_echo_n 0123456789>"conftest.in"4319 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4137 4320 while : 4138 4321 do … … 4140 4323 mv "conftest.tmp" "conftest.in" 4141 4324 cp "conftest.in" "conftest.nl" 4142 $as_echo 'GREP' >> "conftest.nl"4325 echo 'GREP' >> "conftest.nl" 4143 4326 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4144 4327 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4145 a s_fn_arith $ac_count + 1 && ac_count=$as_val4328 ac_count=`expr $ac_count + 1` 4146 4329 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4147 4330 # Best one so far, save it but keep looking for a better one … … 4155 4338 esac 4156 4339 4157 $ac_path_GREP_found && break 3 4158 done4340 4341 $ac_path_GREP_found && break 3 4159 4342 done 4160 done 4343 done 4344 4345 done 4161 4346 IFS=$as_save_IFS 4162 if test -z "$ac_cv_path_GREP"; then 4163 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4164 fi 4347 4348 4349 fi 4350 4351 GREP="$ac_cv_path_GREP" 4352 if test -z "$GREP"; then 4353 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4354 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4355 { (exit 1); exit 1; }; } 4356 fi 4357 4165 4358 else 4166 4359 ac_cv_path_GREP=$GREP 4167 4360 fi 4168 4361 4169 fi 4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4171 $as_echo "$ac_cv_path_GREP" >&6; } 4362 4363 fi 4364 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4365 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4172 4366 GREP="$ac_cv_path_GREP" 4173 4367 4174 4368 4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&54176 $as_echo_n "checking for egrep..." >&6; }4177 if test "${ac_cv_path_EGREP+set}" = set; then :4178 $as_echo_n "(cached)" >&64369 { echo "$as_me:$LINENO: checking for egrep" >&5 4370 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4371 if test "${ac_cv_path_EGREP+set}" = set; then 4372 echo $ECHO_N "(cached) $ECHO_C" >&6 4179 4373 else 4180 4374 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4181 4375 then ac_cv_path_EGREP="$GREP -E" 4182 4376 else 4183 if test -z "$EGREP"; then 4377 # Extract the first word of "egrep" to use in msg output 4378 if test -z "$EGREP"; then 4379 set dummy egrep; ac_prog_name=$2 4380 if test "${ac_cv_path_EGREP+set}" = set; then 4381 echo $ECHO_N "(cached) $ECHO_C" >&6 4382 else 4184 4383 ac_path_EGREP_found=false 4185 4186 4384 # Loop through the user's path and test for each of PROGNAME-LIST 4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4187 4386 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4188 4387 do 4189 4388 IFS=$as_save_IFS 4190 4389 test -z "$as_dir" && as_dir=. 4191 4192 4193 4194 4195 # Check for GNU ac_path_EGREP and select it if it is found.4390 for ac_prog in egrep; do 4391 for ac_exec_ext in '' $ac_executable_extensions; do 4392 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4393 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4394 # Check for GNU ac_path_EGREP and select it if it is found. 4196 4395 # Check for GNU $ac_path_EGREP 4197 4396 case `"$ac_path_EGREP" --version 2>&1` in … … 4200 4399 *) 4201 4400 ac_count=0 4202 $as_echo_n 0123456789>"conftest.in"4401 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4203 4402 while : 4204 4403 do … … 4206 4405 mv "conftest.tmp" "conftest.in" 4207 4406 cp "conftest.in" "conftest.nl" 4208 $as_echo 'EGREP' >> "conftest.nl"4407 echo 'EGREP' >> "conftest.nl" 4209 4408 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4210 4409 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4211 a s_fn_arith $ac_count + 1 && ac_count=$as_val4410 ac_count=`expr $ac_count + 1` 4212 4411 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4213 4412 # Best one so far, save it but keep looking for a better one … … 4221 4420 esac 4222 4421 4223 $ac_path_EGREP_found && break 3 4224 done4422 4423 $ac_path_EGREP_found && break 3 4225 4424 done 4226 done 4425 done 4426 4427 done 4227 4428 IFS=$as_save_IFS 4228 if test -z "$ac_cv_path_EGREP"; then 4229 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4230 fi 4429 4430 4431 fi 4432 4433 EGREP="$ac_cv_path_EGREP" 4434 if test -z "$EGREP"; then 4435 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4436 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4437 { (exit 1); exit 1; }; } 4438 fi 4439 4231 4440 else 4232 4441 ac_cv_path_EGREP=$EGREP 4233 4442 fi 4234 4443 4444 4235 4445 fi 4236 4446 fi 4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&54238 $as_echo "$ac_cv_path_EGREP" >&6; }4447 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4448 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4239 4449 EGREP="$ac_cv_path_EGREP" 4240 4450 4241 4451 4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4243 $as_echo_n "checking for ANSI C header files... " >&6; } 4244 if test "${ac_cv_header_stdc+set}" = set; then : 4245 $as_echo_n "(cached) " >&6 4246 else 4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4452 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4453 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4454 if test "${ac_cv_header_stdc+set}" = set; then 4455 echo $ECHO_N "(cached) $ECHO_C" >&6 4456 else 4457 cat >conftest.$ac_ext <<_ACEOF 4458 /* confdefs.h. */ 4459 _ACEOF 4460 cat confdefs.h >>conftest.$ac_ext 4461 cat >>conftest.$ac_ext <<_ACEOF 4248 4462 /* end confdefs.h. */ 4249 4463 #include <stdlib.h> … … 4260 4474 } 4261 4475 _ACEOF 4262 if ac_fn_c_try_compile "$LINENO"; then : 4476 rm -f conftest.$ac_objext 4477 if { (ac_try="$ac_compile" 4478 case "(($ac_try" in 4479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4480 *) ac_try_echo=$ac_try;; 4481 esac 4482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4483 (eval "$ac_compile") 2>conftest.er1 4484 ac_status=$? 4485 grep -v '^ *+' conftest.er1 >conftest.err 4486 rm -f conftest.er1 4487 cat conftest.err >&5 4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4489 (exit $ac_status); } && { 4490 test -z "$ac_c_werror_flag" || 4491 test ! -s conftest.err 4492 } && test -s conftest.$ac_objext; then 4263 4493 ac_cv_header_stdc=yes 4264 4494 else 4265 ac_cv_header_stdc=no 4266 fi 4495 echo "$as_me: failed program was:" >&5 4496 sed 's/^/| /' conftest.$ac_ext >&5 4497 4498 ac_cv_header_stdc=no 4499 fi 4500 4267 4501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4268 4502 4269 4503 if test $ac_cv_header_stdc = yes; then 4270 4504 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4505 cat >conftest.$ac_ext <<_ACEOF 4506 /* confdefs.h. */ 4507 _ACEOF 4508 cat confdefs.h >>conftest.$ac_ext 4509 cat >>conftest.$ac_ext <<_ACEOF 4272 4510 /* end confdefs.h. */ 4273 4511 #include <string.h> … … 4275 4513 _ACEOF 4276 4514 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4277 $EGREP "memchr" >/dev/null 2>&1; then :4278 4515 $EGREP "memchr" >/dev/null 2>&1; then 4516 : 4279 4517 else 4280 4518 ac_cv_header_stdc=no 4281 4519 fi 4282 rm -f conftest*4520 rm -f -r conftest* 4283 4521 4284 4522 fi … … 4286 4524 if test $ac_cv_header_stdc = yes; then 4287 4525 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4526 cat >conftest.$ac_ext <<_ACEOF 4527 /* confdefs.h. */ 4528 _ACEOF 4529 cat confdefs.h >>conftest.$ac_ext 4530 cat >>conftest.$ac_ext <<_ACEOF 4289 4531 /* end confdefs.h. */ 4290 4532 #include <stdlib.h> … … 4292 4534 _ACEOF 4293 4535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4294 $EGREP "free" >/dev/null 2>&1; then :4295 4536 $EGREP "free" >/dev/null 2>&1; then 4537 : 4296 4538 else 4297 4539 ac_cv_header_stdc=no 4298 4540 fi 4299 rm -f conftest*4541 rm -f -r conftest* 4300 4542 4301 4543 fi … … 4303 4545 if test $ac_cv_header_stdc = yes; then 4304 4546 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4305 if test "$cross_compiling" = yes; then :4547 if test "$cross_compiling" = yes; then 4306 4548 : 4307 4549 else 4308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4550 cat >conftest.$ac_ext <<_ACEOF 4551 /* confdefs.h. */ 4552 _ACEOF 4553 cat confdefs.h >>conftest.$ac_ext 4554 cat >>conftest.$ac_ext <<_ACEOF 4309 4555 /* end confdefs.h. */ 4310 4556 #include <ctype.h> … … 4333 4579 } 4334 4580 _ACEOF 4335 if ac_fn_c_try_run "$LINENO"; then : 4336 4337 else 4338 ac_cv_header_stdc=no 4339 fi 4340 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4341 conftest.$ac_objext conftest.beam conftest.$ac_ext 4342 fi 4343 4344 fi 4345 fi 4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4347 $as_echo "$ac_cv_header_stdc" >&6; } 4581 rm -f conftest$ac_exeext 4582 if { (ac_try="$ac_link" 4583 case "(($ac_try" in 4584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4585 *) ac_try_echo=$ac_try;; 4586 esac 4587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4588 (eval "$ac_link") 2>&5 4589 ac_status=$? 4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4591 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4592 { (case "(($ac_try" in 4593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4594 *) ac_try_echo=$ac_try;; 4595 esac 4596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4597 (eval "$ac_try") 2>&5 4598 ac_status=$? 4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4600 (exit $ac_status); }; }; then 4601 : 4602 else 4603 echo "$as_me: program exited with status $ac_status" >&5 4604 echo "$as_me: failed program was:" >&5 4605 sed 's/^/| /' conftest.$ac_ext >&5 4606 4607 ( exit $ac_status ) 4608 ac_cv_header_stdc=no 4609 fi 4610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4611 fi 4612 4613 4614 fi 4615 fi 4616 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4617 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4348 4618 if test $ac_cv_header_stdc = yes; then 4349 4619 4350 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4620 cat >>confdefs.h <<\_ACEOF 4621 #define STDC_HEADERS 1 4622 _ACEOF 4351 4623 4352 4624 fi 4353 4625 4354 4626 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4627 4628 4629 4630 4631 4632 4633 4634 4635 4355 4636 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4356 4637 inttypes.h stdint.h unistd.h 4357 do : 4358 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4359 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4360 " 4361 eval as_val=\$$as_ac_Header 4362 if test "x$as_val" = x""yes; then : 4638 do 4639 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4640 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4642 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4643 echo $ECHO_N "(cached) $ECHO_C" >&6 4644 else 4645 cat >conftest.$ac_ext <<_ACEOF 4646 /* confdefs.h. */ 4647 _ACEOF 4648 cat confdefs.h >>conftest.$ac_ext 4649 cat >>conftest.$ac_ext <<_ACEOF 4650 /* end confdefs.h. */ 4651 $ac_includes_default 4652 4653 #include <$ac_header> 4654 _ACEOF 4655 rm -f conftest.$ac_objext 4656 if { (ac_try="$ac_compile" 4657 case "(($ac_try" in 4658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4659 *) ac_try_echo=$ac_try;; 4660 esac 4661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4662 (eval "$ac_compile") 2>conftest.er1 4663 ac_status=$? 4664 grep -v '^ *+' conftest.er1 >conftest.err 4665 rm -f conftest.er1 4666 cat conftest.err >&5 4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4668 (exit $ac_status); } && { 4669 test -z "$ac_c_werror_flag" || 4670 test ! -s conftest.err 4671 } && test -s conftest.$ac_objext; then 4672 eval "$as_ac_Header=yes" 4673 else 4674 echo "$as_me: failed program was:" >&5 4675 sed 's/^/| /' conftest.$ac_ext >&5 4676 4677 eval "$as_ac_Header=no" 4678 fi 4679 4680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4681 fi 4682 ac_res=`eval echo '${'$as_ac_Header'}'` 4683 { echo "$as_me:$LINENO: result: $ac_res" >&5 4684 echo "${ECHO_T}$ac_res" >&6; } 4685 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4363 4686 cat >>confdefs.h <<_ACEOF 4364 #define ` $as_echo "HAVE_$ac_header" | $as_tr_cpp` 14687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4365 4688 _ACEOF 4366 4689 … … 4370 4693 4371 4694 4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4373 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4374 if test "${ac_cv_c_bigendian+set}" = set; then : 4375 $as_echo_n "(cached) " >&6 4376 else 4377 ac_cv_c_bigendian=unknown 4378 # See if we're dealing with a universal compiler. 4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4380 /* end confdefs.h. */ 4381 #ifndef __APPLE_CC__ 4382 not a universal capable compiler 4383 #endif 4384 typedef int dummy; 4385 4386 _ACEOF 4387 if ac_fn_c_try_compile "$LINENO"; then : 4388 4389 # Check for potential -arch flags. It is not universal unless 4390 # there are at least two -arch flags with different values. 4391 ac_arch= 4392 ac_prev= 4393 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4394 if test -n "$ac_prev"; then 4395 case $ac_word in 4396 i?86 | x86_64 | ppc | ppc64) 4397 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4398 ac_arch=$ac_word 4399 else 4400 ac_cv_c_bigendian=universal 4401 break 4402 fi 4403 ;; 4404 esac 4405 ac_prev= 4406 elif test "x$ac_word" = "x-arch"; then 4407 ac_prev=arch 4408 fi 4409 done 4410 fi 4411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4412 if test $ac_cv_c_bigendian = unknown; then 4413 # See if sys/param.h defines the BYTE_ORDER macro. 4414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4695 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4696 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4697 if test "${ac_cv_c_bigendian+set}" = set; then 4698 echo $ECHO_N "(cached) $ECHO_C" >&6 4699 else 4700 # See if sys/param.h defines the BYTE_ORDER macro. 4701 cat >conftest.$ac_ext <<_ACEOF 4702 /* confdefs.h. */ 4703 _ACEOF 4704 cat confdefs.h >>conftest.$ac_ext 4705 cat >>conftest.$ac_ext <<_ACEOF 4415 4706 /* end confdefs.h. */ 4416 4707 #include <sys/types.h> 4417 4708 #include <sys/param.h> 4418 4709 4419 4710 int 4420 4711 main () 4421 4712 { 4422 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4423 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4424 && LITTLE_ENDIAN) 4425 bogus endian macros 4426 #endif 4713 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4714 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4715 bogus endian macros 4716 #endif 4427 4717 4428 4718 ; … … 4430 4720 } 4431 4721 _ACEOF 4432 if ac_fn_c_try_compile "$LINENO"; then : 4722 rm -f conftest.$ac_objext 4723 if { (ac_try="$ac_compile" 4724 case "(($ac_try" in 4725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4726 *) ac_try_echo=$ac_try;; 4727 esac 4728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4729 (eval "$ac_compile") 2>conftest.er1 4730 ac_status=$? 4731 grep -v '^ *+' conftest.er1 >conftest.err 4732 rm -f conftest.er1 4733 cat conftest.err >&5 4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4735 (exit $ac_status); } && { 4736 test -z "$ac_c_werror_flag" || 4737 test ! -s conftest.err 4738 } && test -s conftest.$ac_objext; then 4433 4739 # It does; now see whether it defined to BIG_ENDIAN or not. 4434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4740 cat >conftest.$ac_ext <<_ACEOF 4741 /* confdefs.h. */ 4742 _ACEOF 4743 cat confdefs.h >>conftest.$ac_ext 4744 cat >>conftest.$ac_ext <<_ACEOF 4435 4745 /* end confdefs.h. */ 4436 4746 #include <sys/types.h> 4437 4747 #include <sys/param.h> 4438 4748 4439 4749 int … … 4441 4751 { 4442 4752 #if BYTE_ORDER != BIG_ENDIAN 4443 4444 4753 not big endian 4754 #endif 4445 4755 4446 4756 ; … … 4448 4758 } 4449 4759 _ACEOF 4450 if ac_fn_c_try_compile "$LINENO"; then : 4760 rm -f conftest.$ac_objext 4761 if { (ac_try="$ac_compile" 4762 case "(($ac_try" in 4763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4764 *) ac_try_echo=$ac_try;; 4765 esac 4766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4767 (eval "$ac_compile") 2>conftest.er1 4768 ac_status=$? 4769 grep -v '^ *+' conftest.er1 >conftest.err 4770 rm -f conftest.er1 4771 cat conftest.err >&5 4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4773 (exit $ac_status); } && { 4774 test -z "$ac_c_werror_flag" || 4775 test ! -s conftest.err 4776 } && test -s conftest.$ac_objext; then 4451 4777 ac_cv_c_bigendian=yes 4452 4778 else 4453 ac_cv_c_bigendian=no 4454 fi 4779 echo "$as_me: failed program was:" >&5 4780 sed 's/^/| /' conftest.$ac_ext >&5 4781 4782 ac_cv_c_bigendian=no 4783 fi 4784 4455 4785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4456 fi 4457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4458 fi 4459 if test $ac_cv_c_bigendian = unknown; then 4460 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4462 /* end confdefs.h. */ 4463 #include <limits.h> 4464 4786 else 4787 echo "$as_me: failed program was:" >&5 4788 sed 's/^/| /' conftest.$ac_ext >&5 4789 4790 # It does not; compile a test program. 4791 if test "$cross_compiling" = yes; then 4792 # try to guess the endianness by grepping values into an object file 4793 ac_cv_c_bigendian=unknown 4794 cat >conftest.$ac_ext <<_ACEOF 4795 /* confdefs.h. */ 4796 _ACEOF 4797 cat confdefs.h >>conftest.$ac_ext 4798 cat >>conftest.$ac_ext <<_ACEOF 4799 /* end confdefs.h. */ 4800 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4801 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4802 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 4803 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4804 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4805 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 4465 4806 int 4466 4807 main () 4467 4808 { 4468 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4469 bogus endian macros 4470 #endif 4471 4809 _ascii (); _ebcdic (); 4472 4810 ; 4473 4811 return 0; 4474 4812 } 4475 4813 _ACEOF 4476 if ac_fn_c_try_compile "$LINENO"; then : 4477 # It does; now see whether it defined to _BIG_ENDIAN or not. 4478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4479 /* end confdefs.h. */ 4480 #include <limits.h> 4481 4482 int 4483 main () 4484 { 4485 #ifndef _BIG_ENDIAN 4486 not big endian 4487 #endif 4488 4489 ;4490 return 0; 4491 } 4492 _ACEOF 4493 if ac_fn_c_try_compile "$LINENO"; then : 4814 rm -f conftest.$ac_objext 4815 if { (ac_try="$ac_compile" 4816 case "(($ac_try" in 4817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4818 *) ac_try_echo=$ac_try;; 4819 esac 4820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4821 (eval "$ac_compile") 2>conftest.er1 4822 ac_status=$? 4823 grep -v '^ *+' conftest.er1 >conftest.err 4824 rm -f conftest.er1 4825 cat conftest.err >&5 4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4827 (exit $ac_status); } && { 4828 test -z "$ac_c_werror_flag" || 4829 test ! -s conftest.err 4830 } && test -s conftest.$ac_objext; then 4831 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4494 4832 ac_cv_c_bigendian=yes 4495 else 4496 ac_cv_c_bigendian=no 4497 fi 4833 fi 4834 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4835 if test "$ac_cv_c_bigendian" = unknown; then 4836 ac_cv_c_bigendian=no 4837 else 4838 # finding both strings is unlikely to happen, but who knows? 4839 ac_cv_c_bigendian=unknown 4840 fi 4841 fi 4842 else 4843 echo "$as_me: failed program was:" >&5 4844 sed 's/^/| /' conftest.$ac_ext >&5 4845 4846 4847 fi 4848 4498 4849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4499 fi 4500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4501 fi 4502 if test $ac_cv_c_bigendian = unknown; then 4503 # Compile a test program. 4504 if test "$cross_compiling" = yes; then : 4505 # Try to guess by grepping values from an object file. 4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4507 /* end confdefs.h. */ 4508 short int ascii_mm[] = 4509 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4510 short int ascii_ii[] = 4511 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4512 int use_ascii (int i) { 4513 return ascii_mm[i] + ascii_ii[i]; 4514 } 4515 short int ebcdic_ii[] = 4516 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4517 short int ebcdic_mm[] = 4518 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4519 int use_ebcdic (int i) { 4520 return ebcdic_mm[i] + ebcdic_ii[i]; 4521 } 4522 extern int foo; 4523 4524 int 4525 main () 4526 { 4527 return use_ascii (foo) == use_ebcdic (foo); 4528 ; 4529 return 0; 4530 } 4531 _ACEOF 4532 if ac_fn_c_try_compile "$LINENO"; then : 4533 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4534 ac_cv_c_bigendian=yes 4535 fi 4536 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4537 if test "$ac_cv_c_bigendian" = unknown; then 4538 ac_cv_c_bigendian=no 4539 else 4540 # finding both strings is unlikely to happen, but who knows? 4541 ac_cv_c_bigendian=unknown 4542 fi 4543 fi 4544 fi 4545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4546 else 4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4850 else 4851 cat >conftest.$ac_ext <<_ACEOF 4852 /* confdefs.h. */ 4853 _ACEOF 4854 cat confdefs.h >>conftest.$ac_ext 4855 cat >>conftest.$ac_ext <<_ACEOF 4548 4856 /* end confdefs.h. */ 4549 4857 $ac_includes_default … … 4552 4860 { 4553 4861 4554 4555 4556 4557 4558 4559 4560 4561 4862 /* Are we little or big endian? From Harbison&Steele. */ 4863 union 4864 { 4865 long int l; 4866 char c[sizeof (long int)]; 4867 } u; 4868 u.l = 1; 4869 return u.c[sizeof (long int) - 1] == 1; 4562 4870 4563 4871 ; … … 4565 4873 } 4566 4874 _ACEOF 4567 if ac_fn_c_try_run "$LINENO"; then : 4875 rm -f conftest$ac_exeext 4876 if { (ac_try="$ac_link" 4877 case "(($ac_try" in 4878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4879 *) ac_try_echo=$ac_try;; 4880 esac 4881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4882 (eval "$ac_link") 2>&5 4883 ac_status=$? 4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4885 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4886 { (case "(($ac_try" in 4887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4888 *) ac_try_echo=$ac_try;; 4889 esac 4890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4891 (eval "$ac_try") 2>&5 4892 ac_status=$? 4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4894 (exit $ac_status); }; }; then 4568 4895 ac_cv_c_bigendian=no 4569 4896 else 4570 ac_cv_c_bigendian=yes 4571 fi 4572 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4573 conftest.$ac_objext conftest.beam conftest.$ac_ext 4574 fi 4575 4576 fi 4577 fi 4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4579 $as_echo "$ac_cv_c_bigendian" >&6; } 4580 case $ac_cv_c_bigendian in #( 4581 yes) 4582 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4583 ;; #( 4584 no) 4585 ;; #( 4586 universal) 4587 4588 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4589 4590 ;; #( 4591 *) 4592 as_fn_error "unknown endianness 4593 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4594 esac 4897 echo "$as_me: program exited with status $ac_status" >&5 4898 echo "$as_me: failed program was:" >&5 4899 sed 's/^/| /' conftest.$ac_ext >&5 4900 4901 ( exit $ac_status ) 4902 ac_cv_c_bigendian=yes 4903 fi 4904 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4905 fi 4906 4907 4908 fi 4909 4910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4911 fi 4912 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4913 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4914 case $ac_cv_c_bigendian in 4915 yes) 4916 4917 cat >>confdefs.h <<\_ACEOF 4918 #define WORDS_BIGENDIAN 1 4919 _ACEOF 4920 ;; 4921 no) 4922 ;; 4923 *) 4924 { { echo "$as_me:$LINENO: error: unknown endianness 4925 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4926 echo "$as_me: error: unknown endianness 4927 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4928 { (exit 1); exit 1; }; } ;; 4929 esac 4595 4930 4596 4931 4597 4932 case $target in 4598 4933 *mingw* | *cygw* | *win32* | *w32* ) 4599 $as_echo "#define PJ_WIN32 1" >>confdefs.h 4600 4601 $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 4602 4603 $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 4934 cat >>confdefs.h <<\_ACEOF 4935 #define PJ_WIN32 1 4936 _ACEOF 4937 4938 cat >>confdefs.h <<\_ACEOF 4939 #define PJ_WIN32_WINNT 0x0400 4940 _ACEOF 4941 4942 cat >>confdefs.h <<\_ACEOF 4943 #define WIN32_LEAN_AND_MEAN 1 4944 _ACEOF 4604 4945 4605 4946 ;; 4606 4947 *darwin*) 4607 $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 4948 cat >>confdefs.h <<\_ACEOF 4949 #define PJ_DARWINOS 1 4950 _ACEOF 4608 4951 4609 4952 ;; 4610 4953 *linux*) 4611 $as_echo "#define PJ_LINUX 1" >>confdefs.h 4954 cat >>confdefs.h <<\_ACEOF 4955 #define PJ_LINUX 1 4956 _ACEOF 4612 4957 4613 4958 ;; 4614 4959 *rtems*) 4615 $as_echo "#define PJ_RTEMS 1" >>confdefs.h 4960 cat >>confdefs.h <<\_ACEOF 4961 #define PJ_RTEMS 1 4962 _ACEOF 4616 4963 4617 4964 ;; 4618 4965 *sunos* | *solaris* ) 4619 $as_echo "#define PJ_SUNOS 1" >>confdefs.h 4966 cat >>confdefs.h <<\_ACEOF 4967 #define PJ_SUNOS 1 4968 _ACEOF 4620 4969 4621 4970 ;; … … 4628 4977 4629 4978 # Check whether --enable-floating-point was given. 4630 if test "${enable_floating_point+set}" = set; then :4979 if test "${enable_floating_point+set}" = set; then 4631 4980 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 4632 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 4633 4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 4635 $as_echo "Checking if floating point is disabled... yes" >&6; } 4981 cat >>confdefs.h <<\_ACEOF 4982 #define PJ_HAS_FLOATING_POINT 0 4983 _ACEOF 4984 4985 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 4986 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 4636 4987 fi 4637 4988 else 4638 4989 4639 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 4640 4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 4642 $as_echo "Checking if floating point is disabled... no" >&6; } 4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 4644 $as_echo_n "checking for fmod in -lm... " >&6; } 4645 if test "${ac_cv_lib_m_fmod+set}" = set; then : 4646 $as_echo_n "(cached) " >&6 4990 cat >>confdefs.h <<\_ACEOF 4991 #define PJ_HAS_FLOATING_POINT 1 4992 _ACEOF 4993 4994 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 4995 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 4996 4997 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 4998 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 4999 if test "${ac_cv_lib_m_fmod+set}" = set; then 5000 echo $ECHO_N "(cached) $ECHO_C" >&6 4647 5001 else 4648 5002 ac_check_lib_save_LIBS=$LIBS 4649 5003 LIBS="-lm $LIBS" 4650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5004 cat >conftest.$ac_ext <<_ACEOF 5005 /* confdefs.h. */ 5006 _ACEOF 5007 cat confdefs.h >>conftest.$ac_ext 5008 cat >>conftest.$ac_ext <<_ACEOF 4651 5009 /* end confdefs.h. */ 4652 5010 … … 4666 5024 } 4667 5025 _ACEOF 4668 if ac_fn_c_try_link "$LINENO"; then : 5026 rm -f conftest.$ac_objext conftest$ac_exeext 5027 if { (ac_try="$ac_link" 5028 case "(($ac_try" in 5029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5030 *) ac_try_echo=$ac_try;; 5031 esac 5032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5033 (eval "$ac_link") 2>conftest.er1 5034 ac_status=$? 5035 grep -v '^ *+' conftest.er1 >conftest.err 5036 rm -f conftest.er1 5037 cat conftest.err >&5 5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5039 (exit $ac_status); } && { 5040 test -z "$ac_c_werror_flag" || 5041 test ! -s conftest.err 5042 } && test -s conftest$ac_exeext && 5043 $as_test_x conftest$ac_exeext; then 4669 5044 ac_cv_lib_m_fmod=yes 4670 5045 else 4671 ac_cv_lib_m_fmod=no 4672 fi 4673 rm -f core conftest.err conftest.$ac_objext \ 4674 conftest$ac_exeext conftest.$ac_ext 5046 echo "$as_me: failed program was:" >&5 5047 sed 's/^/| /' conftest.$ac_ext >&5 5048 5049 ac_cv_lib_m_fmod=no 5050 fi 5051 5052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5053 conftest$ac_exeext conftest.$ac_ext 4675 5054 LIBS=$ac_check_lib_save_LIBS 4676 5055 fi 4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&54678 $as_echo "$ac_cv_lib_m_fmod" >&6; }4679 if test "x$ac_cv_lib_m_fmod" = x""yes; then :5056 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 5057 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 5058 if test $ac_cv_lib_m_fmod = yes; then 4680 5059 cat >>confdefs.h <<_ACEOF 4681 5060 #define HAVE_LIBM 1 … … 4691 5070 4692 5071 4693 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 4694 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 4695 $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 4696 4697 fi 4698 4699 4700 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 4701 if test "x$ac_cv_header_assert_h" = x""yes; then : 4702 $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 4703 4704 fi 4705 4706 4707 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 4708 if test "x$ac_cv_header_ctype_h" = x""yes; then : 4709 $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 5072 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5073 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5074 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5075 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5076 echo $ECHO_N "(cached) $ECHO_C" >&6 5077 fi 5078 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5079 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5080 else 5081 # Is the header compilable? 5082 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 5083 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 5084 cat >conftest.$ac_ext <<_ACEOF 5085 /* confdefs.h. */ 5086 _ACEOF 5087 cat confdefs.h >>conftest.$ac_ext 5088 cat >>conftest.$ac_ext <<_ACEOF 5089 /* end confdefs.h. */ 5090 $ac_includes_default 5091 #include <arpa/inet.h> 5092 _ACEOF 5093 rm -f conftest.$ac_objext 5094 if { (ac_try="$ac_compile" 5095 case "(($ac_try" in 5096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5097 *) ac_try_echo=$ac_try;; 5098 esac 5099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5100 (eval "$ac_compile") 2>conftest.er1 5101 ac_status=$? 5102 grep -v '^ *+' conftest.er1 >conftest.err 5103 rm -f conftest.er1 5104 cat conftest.err >&5 5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5106 (exit $ac_status); } && { 5107 test -z "$ac_c_werror_flag" || 5108 test ! -s conftest.err 5109 } && test -s conftest.$ac_objext; then 5110 ac_header_compiler=yes 5111 else 5112 echo "$as_me: failed program was:" >&5 5113 sed 's/^/| /' conftest.$ac_ext >&5 5114 5115 ac_header_compiler=no 5116 fi 5117 5118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5119 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5120 echo "${ECHO_T}$ac_header_compiler" >&6; } 5121 5122 # Is the header present? 5123 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 5124 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 5125 cat >conftest.$ac_ext <<_ACEOF 5126 /* confdefs.h. */ 5127 _ACEOF 5128 cat confdefs.h >>conftest.$ac_ext 5129 cat >>conftest.$ac_ext <<_ACEOF 5130 /* end confdefs.h. */ 5131 #include <arpa/inet.h> 5132 _ACEOF 5133 if { (ac_try="$ac_cpp conftest.$ac_ext" 5134 case "(($ac_try" in 5135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5136 *) ac_try_echo=$ac_try;; 5137 esac 5138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5139 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5140 ac_status=$? 5141 grep -v '^ *+' conftest.er1 >conftest.err 5142 rm -f conftest.er1 5143 cat conftest.err >&5 5144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5145 (exit $ac_status); } >/dev/null && { 5146 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5147 test ! -s conftest.err 5148 }; then 5149 ac_header_preproc=yes 5150 else 5151 echo "$as_me: failed program was:" >&5 5152 sed 's/^/| /' conftest.$ac_ext >&5 5153 5154 ac_header_preproc=no 5155 fi 5156 5157 rm -f conftest.err conftest.$ac_ext 5158 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5159 echo "${ECHO_T}$ac_header_preproc" >&6; } 5160 5161 # So? What about this header? 5162 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5163 yes:no: ) 5164 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 5165 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5166 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 5167 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 5168 ac_header_preproc=yes 5169 ;; 5170 no:yes:* ) 5171 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 5172 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 5173 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 5174 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 5175 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 5176 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 5177 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 5178 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 5179 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 5180 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 5181 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 5182 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 5183 5184 ;; 5185 esac 5186 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5187 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5188 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5189 echo $ECHO_N "(cached) $ECHO_C" >&6 5190 else 5191 ac_cv_header_arpa_inet_h=$ac_header_preproc 5192 fi 5193 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5194 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5195 5196 fi 5197 if test $ac_cv_header_arpa_inet_h = yes; then 5198 cat >>confdefs.h <<\_ACEOF 5199 #define PJ_HAS_ARPA_INET_H 1 5200 _ACEOF 5201 5202 fi 5203 5204 5205 if test "${ac_cv_header_assert_h+set}" = set; then 5206 { echo "$as_me:$LINENO: checking for assert.h" >&5 5207 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5208 if test "${ac_cv_header_assert_h+set}" = set; then 5209 echo $ECHO_N "(cached) $ECHO_C" >&6 5210 fi 5211 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5212 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5213 else 5214 # Is the header compilable? 5215 { echo "$as_me:$LINENO: checking assert.h usability" >&5 5216 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 5217 cat >conftest.$ac_ext <<_ACEOF 5218 /* confdefs.h. */ 5219 _ACEOF 5220 cat confdefs.h >>conftest.$ac_ext 5221 cat >>conftest.$ac_ext <<_ACEOF 5222 /* end confdefs.h. */ 5223 $ac_includes_default 5224 #include <assert.h> 5225 _ACEOF 5226 rm -f conftest.$ac_objext 5227 if { (ac_try="$ac_compile" 5228 case "(($ac_try" in 5229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5230 *) ac_try_echo=$ac_try;; 5231 esac 5232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5233 (eval "$ac_compile") 2>conftest.er1 5234 ac_status=$? 5235 grep -v '^ *+' conftest.er1 >conftest.err 5236 rm -f conftest.er1 5237 cat conftest.err >&5 5238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5239 (exit $ac_status); } && { 5240 test -z "$ac_c_werror_flag" || 5241 test ! -s conftest.err 5242 } && test -s conftest.$ac_objext; then 5243 ac_header_compiler=yes 5244 else 5245 echo "$as_me: failed program was:" >&5 5246 sed 's/^/| /' conftest.$ac_ext >&5 5247 5248 ac_header_compiler=no 5249 fi 5250 5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5252 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5253 echo "${ECHO_T}$ac_header_compiler" >&6; } 5254 5255 # Is the header present? 5256 { echo "$as_me:$LINENO: checking assert.h presence" >&5 5257 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 5258 cat >conftest.$ac_ext <<_ACEOF 5259 /* confdefs.h. */ 5260 _ACEOF 5261 cat confdefs.h >>conftest.$ac_ext 5262 cat >>conftest.$ac_ext <<_ACEOF 5263 /* end confdefs.h. */ 5264 #include <assert.h> 5265 _ACEOF 5266 if { (ac_try="$ac_cpp conftest.$ac_ext" 5267 case "(($ac_try" in 5268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5269 *) ac_try_echo=$ac_try;; 5270 esac 5271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5272 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5273 ac_status=$? 5274 grep -v '^ *+' conftest.er1 >conftest.err 5275 rm -f conftest.er1 5276 cat conftest.err >&5 5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5278 (exit $ac_status); } >/dev/null && { 5279 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5280 test ! -s conftest.err 5281 }; then 5282 ac_header_preproc=yes 5283 else 5284 echo "$as_me: failed program was:" >&5 5285 sed 's/^/| /' conftest.$ac_ext >&5 5286 5287 ac_header_preproc=no 5288 fi 5289 5290 rm -f conftest.err conftest.$ac_ext 5291 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5292 echo "${ECHO_T}$ac_header_preproc" >&6; } 5293 5294 # So? What about this header? 5295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5296 yes:no: ) 5297 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 5298 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5299 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 5300 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 5301 ac_header_preproc=yes 5302 ;; 5303 no:yes:* ) 5304 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 5305 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 5306 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5 5307 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;} 5308 { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 5309 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 5310 { echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5 5311 echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;} 5312 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 5313 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 5314 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 5315 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 5316 5317 ;; 5318 esac 5319 { echo "$as_me:$LINENO: checking for assert.h" >&5 5320 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5321 if test "${ac_cv_header_assert_h+set}" = set; then 5322 echo $ECHO_N "(cached) $ECHO_C" >&6 5323 else 5324 ac_cv_header_assert_h=$ac_header_preproc 5325 fi 5326 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5327 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5328 5329 fi 5330 if test $ac_cv_header_assert_h = yes; then 5331 cat >>confdefs.h <<\_ACEOF 5332 #define PJ_HAS_ASSERT_H 1 5333 _ACEOF 5334 5335 fi 5336 5337 5338 if test "${ac_cv_header_ctype_h+set}" = set; then 5339 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5340 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5341 if test "${ac_cv_header_ctype_h+set}" = set; then 5342 echo $ECHO_N "(cached) $ECHO_C" >&6 5343 fi 5344 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5345 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5346 else 5347 # Is the header compilable? 5348 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 5349 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 5350 cat >conftest.$ac_ext <<_ACEOF 5351 /* confdefs.h. */ 5352 _ACEOF 5353 cat confdefs.h >>conftest.$ac_ext 5354 cat >>conftest.$ac_ext <<_ACEOF 5355 /* end confdefs.h. */ 5356 $ac_includes_default 5357 #include <ctype.h> 5358 _ACEOF 5359 rm -f conftest.$ac_objext 5360 if { (ac_try="$ac_compile" 5361 case "(($ac_try" in 5362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5363 *) ac_try_echo=$ac_try;; 5364 esac 5365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5366 (eval "$ac_compile") 2>conftest.er1 5367 ac_status=$? 5368 grep -v '^ *+' conftest.er1 >conftest.err 5369 rm -f conftest.er1 5370 cat conftest.err >&5 5371 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5372 (exit $ac_status); } && { 5373 test -z "$ac_c_werror_flag" || 5374 test ! -s conftest.err 5375 } && test -s conftest.$ac_objext; then 5376 ac_header_compiler=yes 5377 else 5378 echo "$as_me: failed program was:" >&5 5379 sed 's/^/| /' conftest.$ac_ext >&5 5380 5381 ac_header_compiler=no 5382 fi 5383 5384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5385 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5386 echo "${ECHO_T}$ac_header_compiler" >&6; } 5387 5388 # Is the header present? 5389 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 5390 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 5391 cat >conftest.$ac_ext <<_ACEOF 5392 /* confdefs.h. */ 5393 _ACEOF 5394 cat confdefs.h >>conftest.$ac_ext 5395 cat >>conftest.$ac_ext <<_ACEOF 5396 /* end confdefs.h. */ 5397 #include <ctype.h> 5398 _ACEOF 5399 if { (ac_try="$ac_cpp conftest.$ac_ext" 5400 case "(($ac_try" in 5401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5402 *) ac_try_echo=$ac_try;; 5403 esac 5404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5406 ac_status=$? 5407 grep -v '^ *+' conftest.er1 >conftest.err 5408 rm -f conftest.er1 5409 cat conftest.err >&5 5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5411 (exit $ac_status); } >/dev/null && { 5412 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5413 test ! -s conftest.err 5414 }; then 5415 ac_header_preproc=yes 5416 else 5417 echo "$as_me: failed program was:" >&5 5418 sed 's/^/| /' conftest.$ac_ext >&5 5419 5420 ac_header_preproc=no 5421 fi 5422 5423 rm -f conftest.err conftest.$ac_ext 5424 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5425 echo "${ECHO_T}$ac_header_preproc" >&6; } 5426 5427 # So? What about this header? 5428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5429 yes:no: ) 5430 { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 5431 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5432 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 5433 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 5434 ac_header_preproc=yes 5435 ;; 5436 no:yes:* ) 5437 { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 5438 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 5439 { echo "$as_me:$LINENO: WARNING: ctype.h: check for missing prerequisite headers?" >&5 5440 echo "$as_me: WARNING: ctype.h: check for missing prerequisite headers?" >&2;} 5441 { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 5442 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 5443 { echo "$as_me:$LINENO: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&5 5444 echo "$as_me: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&2;} 5445 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 5446 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 5447 { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 5448 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 5449 5450 ;; 5451 esac 5452 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5453 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5454 if test "${ac_cv_header_ctype_h+set}" = set; then 5455 echo $ECHO_N "(cached) $ECHO_C" >&6 5456 else 5457 ac_cv_header_ctype_h=$ac_header_preproc 5458 fi 5459 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5460 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5461 5462 fi 5463 if test $ac_cv_header_ctype_h = yes; then 5464 cat >>confdefs.h <<\_ACEOF 5465 #define PJ_HAS_CTYPE_H 1 5466 _ACEOF 4710 5467 4711 5468 fi … … 4715 5472 case $target in 4716 5473 *mingw* | *cygw* | *win32* | *w32* ) 4717 $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 5474 cat >>confdefs.h <<\_ACEOF 5475 #define PJ_HAS_ERRNO_H 0 5476 _ACEOF 4718 5477 4719 5478 ;; 4720 5479 *) 4721 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 4722 if test "x$ac_cv_header_errno_h" = x""yes; then : 4723 $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 5480 if test "${ac_cv_header_errno_h+set}" = set; then 5481 { echo "$as_me:$LINENO: checking for errno.h" >&5 5482 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 5483 if test "${ac_cv_header_errno_h+set}" = set; then 5484 echo $ECHO_N "(cached) $ECHO_C" >&6 5485 fi 5486 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5487 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 5488 else 5489 # Is the header compilable? 5490 { echo "$as_me:$LINENO: checking errno.h usability" >&5 5491 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 5492 cat >conftest.$ac_ext <<_ACEOF 5493 /* confdefs.h. */ 5494 _ACEOF 5495 cat confdefs.h >>conftest.$ac_ext 5496 cat >>conftest.$ac_ext <<_ACEOF 5497 /* end confdefs.h. */ 5498 $ac_includes_default 5499 #include <errno.h> 5500 _ACEOF 5501 rm -f conftest.$ac_objext 5502 if { (ac_try="$ac_compile" 5503 case "(($ac_try" in 5504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5505 *) ac_try_echo=$ac_try;; 5506 esac 5507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5508 (eval "$ac_compile") 2>conftest.er1 5509 ac_status=$? 5510 grep -v '^ *+' conftest.er1 >conftest.err 5511 rm -f conftest.er1 5512 cat conftest.err >&5 5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5514 (exit $ac_status); } && { 5515 test -z "$ac_c_werror_flag" || 5516 test ! -s conftest.err 5517 } && test -s conftest.$ac_objext; then 5518 ac_header_compiler=yes 5519 else 5520 echo "$as_me: failed program was:" >&5 5521 sed 's/^/| /' conftest.$ac_ext >&5 5522 5523 ac_header_compiler=no 5524 fi 5525 5526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5527 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5528 echo "${ECHO_T}$ac_header_compiler" >&6; } 5529 5530 # Is the header present? 5531 { echo "$as_me:$LINENO: checking errno.h presence" >&5 5532 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; } 5533 cat >conftest.$ac_ext <<_ACEOF 55