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