Changeset 3967
- Timestamp:
- Mar 8, 2012 6:35:03 AM (11 years ago)
- Location:
- pjproject/branches/1.x
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x/aconfigure
r3820 r3967 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 opencore_amrnb_present 600 opencore_amrnb_h_present 601 ac_no_opencore_amrnb 602 libcrypto_present 603 libssl_present 604 openssl_h_present 605 ac_no_ssl 606 ac_resample_dll 607 ac_no_ilbc_codec 608 ac_no_speex_codec 609 ac_no_g7221_codec 610 ac_no_g722_codec 611 ac_no_gsm_codec 612 ac_no_l16_codec 613 ac_no_g711_codec 614 ac_no_speex_aec 615 ac_no_large_filter 616 ac_no_small_filter 617 ac_pa_use_oss 618 ac_pa_use_alsa 619 ac_pa_cflags 620 ac_external_pa 621 ac_pjmedia_snd 622 ac_external_gsm 623 ac_external_speex 624 ac_os_objs 625 EGREP 626 GREP 627 CPP 628 ac_build_mak_vars 629 ac_pjdir 630 CC_CFLAGS 631 CC_OPTIMIZE 632 CC_DEF 633 CC_INC 634 CC_OUT 635 LIBEXT2 636 LIBEXT 637 RANLIB 638 LDOUT 639 LD 640 AR 641 ac_ct_CXX 642 CXXFLAGS 643 CXX 644 OBJEXT 645 EXEEXT 646 ac_ct_CC 647 CPPFLAGS 648 LDFLAGS 649 CFLAGS 650 CC 651 target_os 652 target_vendor 653 target_cpu 654 target 655 host_os 656 host_vendor 657 host_cpu 658 host 659 build_os 660 build_vendor 661 build_cpu 662 build 663 target_alias 664 host_alias 665 build_alias 666 LIBS 667 ECHO_T 668 ECHO_N 669 ECHO_C 670 DEFS 671 mandir 672 localedir 673 libdir 674 psdir 675 pdfdir 676 dvidir 677 htmldir 678 infodir 679 docdir 680 oldincludedir 681 includedir 682 localstatedir 683 sharedstatedir 684 sysconfdir 685 datadir 686 datarootdir 687 libexecdir 688 sbindir 689 bindir 690 program_transform_name 691 prefix 692 exec_prefix 693 PACKAGE_URL 694 PACKAGE_BUGREPORT 695 PACKAGE_STRING 696 PACKAGE_VERSION 697 PACKAGE_TARNAME 698 PACKAGE_NAME 616 699 PATH_SEPARATOR 617 PACKAGE_NAME 618 PACKAGE_TARNAME 619 PACKAGE_VERSION 620 PACKAGE_STRING 621 PACKAGE_BUGREPORT 622 exec_prefix 623 prefix 624 program_transform_name 625 bindir 626 sbindir 627 libexecdir 628 datarootdir 629 datadir 630 sysconfdir 631 sharedstatedir 632 localstatedir 633 includedir 634 oldincludedir 635 docdir 636 infodir 637 htmldir 638 dvidir 639 pdfdir 640 psdir 641 libdir 642 localedir 643 mandir 644 DEFS 645 ECHO_C 646 ECHO_N 647 ECHO_T 648 LIBS 649 build_alias 650 host_alias 651 target_alias 652 build 653 build_cpu 654 build_vendor 655 build_os 656 host 657 host_cpu 658 host_vendor 659 host_os 660 target 661 target_cpu 662 target_vendor 663 target_os 664 CC 665 CFLAGS 666 LDFLAGS 667 CPPFLAGS 668 ac_ct_CC 669 EXEEXT 670 OBJEXT 671 CXX 672 CXXFLAGS 673 ac_ct_CXX 674 AR 675 LD 676 LDOUT 677 RANLIB 678 LIBEXT 679 LIBEXT2 680 CC_OUT 681 CC_INC 682 CC_DEF 683 CC_OPTIMIZE 684 CC_CFLAGS 685 ac_pjdir 686 ac_build_mak_vars 687 CPP 688 GREP 689 EGREP 690 ac_os_objs 691 ac_external_speex 692 ac_external_gsm 693 ac_pjmedia_snd 694 ac_external_pa 695 ac_pa_cflags 696 ac_pa_use_alsa 697 ac_pa_use_oss 698 ac_no_small_filter 699 ac_no_large_filter 700 ac_no_speex_aec 701 ac_no_g711_codec 702 ac_no_l16_codec 703 ac_no_gsm_codec 704 ac_no_g722_codec 705 ac_no_g7221_codec 706 ac_no_speex_codec 707 ac_no_ilbc_codec 708 ac_no_ssl 709 openssl_h_present 710 libssl_present 711 libcrypto_present 712 ac_no_opencore_amrnb 713 opencore_amrnb_h_present 714 opencore_amrnb_present 715 ac_cross_compile 716 ac_linux_poll 717 ac_host 718 ac_main_obj 719 LIBOBJS 720 LTLIBOBJS' 700 SHELL' 721 701 ac_subst_files='' 702 ac_user_opts=' 703 enable_option_checking 704 enable_floating_point 705 enable_epoll 706 with_external_speex 707 with_external_gsm 708 enable_sound 709 with_external_pa 710 enable_oss 711 enable_ext_sound 712 enable_small_filter 713 enable_large_filter 714 enable_speex_aec 715 enable_g711_codec 716 enable_l16_codec 717 enable_gsm_codec 718 enable_g722_codec 719 enable_g7221_codec 720 enable_speex_codec 721 enable_ilbc_codec 722 enable_libsamplerate 723 enable_resample_dll 724 enable_ipp 725 with_ipp 726 with_ipp_samples 727 with_ipp_arch 728 enable_ssl 729 enable_opencore_amrnb 730 ' 722 731 ac_precious_vars='build_alias 723 732 host_alias … … 737 746 ac_init_help= 738 747 ac_init_version=false 748 ac_unrecognized_opts= 749 ac_unrecognized_sep= 739 750 # The variables have the same names as the options, with 740 751 # dashes changed to underlines. … … 835 846 836 847 -disable-* | --disable-*) 837 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`848 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 838 849 # Reject names that are not valid shell variable names. 839 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 840 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 841 { (exit 1); exit 1; }; } 842 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 843 eval enable_$ac_feature=no ;; 850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 851 as_fn_error "invalid feature name: $ac_useropt" 852 ac_useropt_orig=$ac_useropt 853 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 854 case $ac_user_opts in 855 *" 856 "enable_$ac_useropt" 857 "*) ;; 858 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 859 ac_unrecognized_sep=', ';; 860 esac 861 eval enable_$ac_useropt=no ;; 844 862 845 863 -docdir | --docdir | --docdi | --doc | --do) … … 854 872 855 873 -enable-* | --enable-*) 856 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`874 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 857 875 # Reject names that are not valid shell variable names. 858 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 859 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 860 { (exit 1); exit 1; }; } 861 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 862 eval enable_$ac_feature=\$ac_optarg ;; 876 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 877 as_fn_error "invalid feature name: $ac_useropt" 878 ac_useropt_orig=$ac_useropt 879 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 880 case $ac_user_opts in 881 *" 882 "enable_$ac_useropt" 883 "*) ;; 884 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 885 ac_unrecognized_sep=', ';; 886 esac 887 eval enable_$ac_useropt=\$ac_optarg ;; 863 888 864 889 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1051 1076 1052 1077 -with-* | --with-*) 1053 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1078 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1054 1079 # Reject names that are not valid shell variable names. 1055 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1056 { echo "$as_me: error: invalid package name: $ac_package" >&2 1057 { (exit 1); exit 1; }; } 1058 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1059 eval with_$ac_package=\$ac_optarg ;; 1080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1081 as_fn_error "invalid package name: $ac_useropt" 1082 ac_useropt_orig=$ac_useropt 1083 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1084 case $ac_user_opts in 1085 *" 1086 "with_$ac_useropt" 1087 "*) ;; 1088 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1089 ac_unrecognized_sep=', ';; 1090 esac 1091 eval with_$ac_useropt=\$ac_optarg ;; 1060 1092 1061 1093 -without-* | --without-*) 1062 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1094 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1063 1095 # Reject names that are not valid shell variable names. 1064 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1065 { echo "$as_me: error: invalid package name: $ac_package" >&2 1066 { (exit 1); exit 1; }; } 1067 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1068 eval with_$ac_package=no ;; 1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1097 as_fn_error "invalid package name: $ac_useropt" 1098 ac_useropt_orig=$ac_useropt 1099 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1100 case $ac_user_opts in 1101 *" 1102 "with_$ac_useropt" 1103 "*) ;; 1104 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1105 ac_unrecognized_sep=', ';; 1106 esac 1107 eval with_$ac_useropt=no ;; 1069 1108 1070 1109 --x) … … 1086 1125 x_libraries=$ac_optarg ;; 1087 1126 1088 -*) { echo "$as_me: error: unrecognized option: $ac_option 1089 Try \`$0 --help' for more information." >&2 1090 { (exit 1); exit 1; }; } 1127 -*) as_fn_error "unrecognized option: \`$ac_option' 1128 Try \`$0 --help' for more information." 1091 1129 ;; 1092 1130 … … 1094 1132 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1095 1133 # Reject names that are not valid shell variable names. 1096 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1097 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1098 { (exit 1); exit 1; }; } 1134 case $ac_envvar in #( 1135 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1136 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1137 esac 1099 1138 eval $ac_envvar=\$ac_optarg 1100 1139 export $ac_envvar ;; … … 1102 1141 *) 1103 1142 # FIXME: should be removed in autoconf 3.0. 1104 echo "$as_me: WARNING: you should use --build, --host, --target" >&21143 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1105 1144 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1106 echo "$as_me: WARNING: invalid host type: $ac_option" >&21145 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1107 1146 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1108 1147 ;; … … 1113 1152 if test -n "$ac_prev"; then 1114 1153 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1115 { echo "$as_me: error: missing argument to $ac_option" >&2 1116 { (exit 1); exit 1; }; } 1117 fi 1118 1119 # Be sure to have absolute directory names. 1154 as_fn_error "missing argument to $ac_option" 1155 fi 1156 1157 if test -n "$ac_unrecognized_opts"; then 1158 case $enable_option_checking in 1159 no) ;; 1160 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1161 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1162 esac 1163 fi 1164 1165 # Check all directory arguments for consistency. 1120 1166 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1121 1167 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1124 1170 do 1125 1171 eval ac_val=\$$ac_var 1172 # Remove trailing slashes. 1173 case $ac_val in 1174 */ ) 1175 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1176 eval $ac_var=\$ac_val;; 1177 esac 1178 # Be sure to have absolute directory names. 1126 1179 case $ac_val in 1127 1180 [\\/$]* | ?:[\\/]* ) continue;; 1128 1181 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1129 1182 esac 1130 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1131 { (exit 1); exit 1; }; } 1183 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1132 1184 done 1133 1185 … … 1143 1195 if test "x$build_alias" = x; then 1144 1196 cross_compiling=maybe 1145 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1197 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1146 1198 If a cross compiler is detected then cross compile mode will be used." >&2 1147 1199 elif test "x$build_alias" != "x$host_alias"; then … … 1159 1211 ac_ls_di=`ls -di .` && 1160 1212 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1161 { echo "$as_me: error: Working directory cannot be determined" >&2 1162 { (exit 1); exit 1; }; } 1213 as_fn_error "working directory cannot be determined" 1163 1214 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1164 { echo "$as_me: error: pwd does not report name of working directory" >&2 1165 { (exit 1); exit 1; }; } 1215 as_fn_error "pwd does not report name of working directory" 1166 1216 1167 1217 … … 1170 1220 ac_srcdir_defaulted=yes 1171 1221 # Try the directory containing this script, then the parent directory. 1172 ac_confdir=`$as_dirname -- "$ 0" ||1173 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1174 X"$ 0" : 'X\(//\)[^/]' \| \1175 X"$ 0" : 'X\(//\)$' \| \1176 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1177 echo X"$0" |1222 ac_confdir=`$as_dirname -- "$as_myself" || 1223 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1224 X"$as_myself" : 'X\(//\)[^/]' \| \ 1225 X"$as_myself" : 'X\(//\)$' \| \ 1226 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1227 $as_echo X"$as_myself" | 1178 1228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1179 1229 s//\1/ … … 1202 1252 if test ! -r "$srcdir/$ac_unique_file"; then 1203 1253 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1204 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1205 { (exit 1); exit 1; }; } 1254 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1206 1255 fi 1207 1256 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1208 1257 ac_abs_confdir=`( 1209 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1210 { (exit 1); exit 1; }; } 1258 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1211 1259 pwd)` 1212 1260 # When building in place, set srcdir=. … … 1256 1304 Installation directories: 1257 1305 --prefix=PREFIX install architecture-independent files in PREFIX 1258 1306 [$ac_default_prefix] 1259 1307 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1260 1308 [PREFIX] 1261 1309 1262 1310 By default, \`make install' will install all the files in … … 1268 1316 1269 1317 Fine tuning of the installation directories: 1270 --bindir=DIR user executables [EPREFIX/bin]1271 --sbindir=DIR system admin executables [EPREFIX/sbin]1272 --libexecdir=DIR program executables [EPREFIX/libexec]1273 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1274 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1275 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1276 --libdir=DIR object code libraries [EPREFIX/lib]1277 --includedir=DIR C header files [PREFIX/include]1278 --oldincludedir=DIR C header files for non-gcc [/usr/include]1279 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1280 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1281 --infodir=DIR info documentation [DATAROOTDIR/info]1282 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1283 --mandir=DIR man documentation [DATAROOTDIR/man]1284 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject]1285 --htmldir=DIR html documentation [DOCDIR]1286 --dvidir=DIR dvi documentation [DOCDIR]1287 --pdfdir=DIR pdf documentation [DOCDIR]1288 --psdir=DIR ps documentation [DOCDIR]1318 --bindir=DIR user executables [EPREFIX/bin] 1319 --sbindir=DIR system admin executables [EPREFIX/sbin] 1320 --libexecdir=DIR program executables [EPREFIX/libexec] 1321 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1322 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1323 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1324 --libdir=DIR object code libraries [EPREFIX/lib] 1325 --includedir=DIR C header files [PREFIX/include] 1326 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1327 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1328 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1329 --infodir=DIR info documentation [DATAROOTDIR/info] 1330 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1331 --mandir=DIR man documentation [DATAROOTDIR/man] 1332 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1333 --htmldir=DIR html documentation [DOCDIR] 1334 --dvidir=DIR dvi documentation [DOCDIR] 1335 --pdfdir=DIR pdf documentation [DOCDIR] 1336 --psdir=DIR ps documentation [DOCDIR] 1289 1337 _ACEOF 1290 1338 … … 1305 1353 1306 1354 Optional Features: 1355 --disable-option-checking ignore unrecognized --enable/--with options 1307 1356 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1308 1357 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1326 1375 --enable-libsamplerate Link with libsamplerate when available. Note that 1327 1376 PJMEDIA_RESAMPLE_IMP must also be configured 1377 --enable-resample-dll Build libresample as shared library 1328 1378 --enable-ipp Enable Intel IPP support. Specify the Intel IPP 1329 1379 package and samples location using IPPROOT and … … 1366 1416 nonstandard directory <lib dir> 1367 1417 LIBS libraries to pass to the linker, e.g. -l<library> 1368 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1418 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1369 1419 you have headers in a nonstandard directory <include dir> 1370 1420 CXX C++ compiler command … … 1375 1425 it to find libraries and programs with nonstandard names/locations. 1376 1426 1427 Report bugs to the package provider. 1377 1428 _ACEOF 1378 1429 ac_status=$? … … 1382 1433 # If there are subdirs, report their specific --help. 1383 1434 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1384 test -d "$ac_dir" || continue 1435 test -d "$ac_dir" || 1436 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1437 continue 1385 1438 ac_builddir=. 1386 1439 … … 1388 1441 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1389 1442 *) 1390 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1443 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1391 1444 # A ".." for each directory in $ac_dir_suffix. 1392 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1445 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1393 1446 case $ac_top_builddir_sub in 1394 1447 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1426 1479 $SHELL "$ac_srcdir/configure" --help=recursive 1427 1480 else 1428 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21481 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1429 1482 fi || ac_status=$? 1430 1483 cd "$ac_pwd" || { ac_status=$?; break; } … … 1436 1489 cat <<\_ACEOF 1437 1490 pjproject configure 1.x 1438 generated by GNU Autoconf 2.61 1439 1440 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1441 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1491 generated by GNU Autoconf 2.65 1492 1493 Copyright (C) 2009 Free Software Foundation, Inc. 1442 1494 This configure script is free software; the Free Software Foundation 1443 1495 gives unlimited permission to copy, distribute and modify it. … … 1445 1497 exit 1446 1498 fi 1499 1500 ## ------------------------ ## 1501 ## Autoconf initialization. ## 1502 ## ------------------------ ## 1503 1504 # ac_fn_c_try_compile LINENO 1505 # -------------------------- 1506 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1507 ac_fn_c_try_compile () 1508 { 1509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1510 rm -f conftest.$ac_objext 1511 if { { ac_try="$ac_compile" 1512 case "(($ac_try" in 1513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1514 *) ac_try_echo=$ac_try;; 1515 esac 1516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1517 $as_echo "$ac_try_echo"; } >&5 1518 (eval "$ac_compile") 2>conftest.err 1519 ac_status=$? 1520 if test -s conftest.err; then 1521 grep -v '^ *+' conftest.err >conftest.er1 1522 cat conftest.er1 >&5 1523 mv -f conftest.er1 conftest.err 1524 fi 1525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1526 test $ac_status = 0; } && { 1527 test -z "$ac_c_werror_flag" || 1528 test ! -s conftest.err 1529 } && test -s conftest.$ac_objext; then : 1530 ac_retval=0 1531 else 1532 $as_echo "$as_me: failed program was:" >&5 1533 sed 's/^/| /' conftest.$ac_ext >&5 1534 1535 ac_retval=1 1536 fi 1537 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1538 as_fn_set_status $ac_retval 1539 1540 } # ac_fn_c_try_compile 1541 1542 # ac_fn_cxx_try_compile LINENO 1543 # ---------------------------- 1544 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1545 ac_fn_cxx_try_compile () 1546 { 1547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1548 rm -f conftest.$ac_objext 1549 if { { ac_try="$ac_compile" 1550 case "(($ac_try" in 1551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1552 *) ac_try_echo=$ac_try;; 1553 esac 1554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1555 $as_echo "$ac_try_echo"; } >&5 1556 (eval "$ac_compile") 2>conftest.err 1557 ac_status=$? 1558 if test -s conftest.err; then 1559 grep -v '^ *+' conftest.err >conftest.er1 1560 cat conftest.er1 >&5 1561 mv -f conftest.er1 conftest.err 1562 fi 1563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1564 test $ac_status = 0; } && { 1565 test -z "$ac_cxx_werror_flag" || 1566 test ! -s conftest.err 1567 } && test -s conftest.$ac_objext; then : 1568 ac_retval=0 1569 else 1570 $as_echo "$as_me: failed program was:" >&5 1571 sed 's/^/| /' conftest.$ac_ext >&5 1572 1573 ac_retval=1 1574 fi 1575 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1576 as_fn_set_status $ac_retval 1577 1578 } # ac_fn_cxx_try_compile 1579 1580 # ac_fn_c_try_link LINENO 1581 # ----------------------- 1582 # Try to link conftest.$ac_ext, and return whether this succeeded. 1583 ac_fn_c_try_link () 1584 { 1585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1586 rm -f conftest.$ac_objext conftest$ac_exeext 1587 if { { ac_try="$ac_link" 1588 case "(($ac_try" in 1589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1590 *) ac_try_echo=$ac_try;; 1591 esac 1592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1593 $as_echo "$ac_try_echo"; } >&5 1594 (eval "$ac_link") 2>conftest.err 1595 ac_status=$? 1596 if test -s conftest.err; then 1597 grep -v '^ *+' conftest.err >conftest.er1 1598 cat conftest.er1 >&5 1599 mv -f conftest.er1 conftest.err 1600 fi 1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1602 test $ac_status = 0; } && { 1603 test -z "$ac_c_werror_flag" || 1604 test ! -s conftest.err 1605 } && test -s conftest$ac_exeext && { 1606 test "$cross_compiling" = yes || 1607 $as_test_x conftest$ac_exeext 1608 }; then : 1609 ac_retval=0 1610 else 1611 $as_echo "$as_me: failed program was:" >&5 1612 sed 's/^/| /' conftest.$ac_ext >&5 1613 1614 ac_retval=1 1615 fi 1616 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1617 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1618 # interfere with the next link command; also delete a directory that is 1619 # left behind by Apple's compiler. We do this before executing the actions. 1620 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1621 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1622 as_fn_set_status $ac_retval 1623 1624 } # ac_fn_c_try_link 1625 1626 # ac_fn_c_try_run LINENO 1627 # ---------------------- 1628 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1629 # that executables *can* be run. 1630 ac_fn_c_try_run () 1631 { 1632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1633 if { { ac_try="$ac_link" 1634 case "(($ac_try" in 1635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1636 *) ac_try_echo=$ac_try;; 1637 esac 1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1639 $as_echo "$ac_try_echo"; } >&5 1640 (eval "$ac_link") 2>&5 1641 ac_status=$? 1642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1643 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1644 { { case "(($ac_try" in 1645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1646 *) ac_try_echo=$ac_try;; 1647 esac 1648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1649 $as_echo "$ac_try_echo"; } >&5 1650 (eval "$ac_try") 2>&5 1651 ac_status=$? 1652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1653 test $ac_status = 0; }; }; then : 1654 ac_retval=0 1655 else 1656 $as_echo "$as_me: program exited with status $ac_status" >&5 1657 $as_echo "$as_me: failed program was:" >&5 1658 sed 's/^/| /' conftest.$ac_ext >&5 1659 1660 ac_retval=$ac_status 1661 fi 1662 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1663 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1664 as_fn_set_status $ac_retval 1665 1666 } # ac_fn_c_try_run 1667 1668 # ac_fn_c_try_cpp LINENO 1669 # ---------------------- 1670 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1671 ac_fn_c_try_cpp () 1672 { 1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1674 if { { ac_try="$ac_cpp conftest.$ac_ext" 1675 case "(($ac_try" in 1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1677 *) ac_try_echo=$ac_try;; 1678 esac 1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1680 $as_echo "$ac_try_echo"; } >&5 1681 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1682 ac_status=$? 1683 if test -s conftest.err; then 1684 grep -v '^ *+' conftest.err >conftest.er1 1685 cat conftest.er1 >&5 1686 mv -f conftest.er1 conftest.err 1687 fi 1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1689 test $ac_status = 0; } >/dev/null && { 1690 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1691 test ! -s conftest.err 1692 }; then : 1693 ac_retval=0 1694 else 1695 $as_echo "$as_me: failed program was:" >&5 1696 sed 's/^/| /' conftest.$ac_ext >&5 1697 1698 ac_retval=1 1699 fi 1700 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1701 as_fn_set_status $ac_retval 1702 1703 } # ac_fn_c_try_cpp 1704 1705 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1706 # ------------------------------------------------------- 1707 # Tests whether HEADER exists and can be compiled using the include files in 1708 # INCLUDES, setting the cache variable VAR accordingly. 1709 ac_fn_c_check_header_compile () 1710 { 1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1713 $as_echo_n "checking for $2... " >&6; } 1714 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1715 $as_echo_n "(cached) " >&6 1716 else 1717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1718 /* end confdefs.h. */ 1719 $4 1720 #include <$2> 1721 _ACEOF 1722 if ac_fn_c_try_compile "$LINENO"; then : 1723 eval "$3=yes" 1724 else 1725 eval "$3=no" 1726 fi 1727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1728 fi 1729 eval ac_res=\$$3 1730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1731 $as_echo "$ac_res" >&6; } 1732 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1733 1734 } # ac_fn_c_check_header_compile 1735 1736 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1737 # ------------------------------------------------------- 1738 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1739 # the include files in INCLUDES and setting the cache variable VAR 1740 # accordingly. 1741 ac_fn_c_check_header_mongrel () 1742 { 1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1744 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1746 $as_echo_n "checking for $2... " >&6; } 1747 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1748 $as_echo_n "(cached) " >&6 1749 fi 1750 eval ac_res=\$$3 1751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1752 $as_echo "$ac_res" >&6; } 1753 else 1754 # Is the header compilable? 1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1756 $as_echo_n "checking $2 usability... " >&6; } 1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1758 /* end confdefs.h. */ 1759 $4 1760 #include <$2> 1761 _ACEOF 1762 if ac_fn_c_try_compile "$LINENO"; then : 1763 ac_header_compiler=yes 1764 else 1765 ac_header_compiler=no 1766 fi 1767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1769 $as_echo "$ac_header_compiler" >&6; } 1770 1771 # Is the header present? 1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1773 $as_echo_n "checking $2 presence... " >&6; } 1774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1775 /* end confdefs.h. */ 1776 #include <$2> 1777 _ACEOF 1778 if ac_fn_c_try_cpp "$LINENO"; then : 1779 ac_header_preproc=yes 1780 else 1781 ac_header_preproc=no 1782 fi 1783 rm -f conftest.err conftest.$ac_ext 1784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1785 $as_echo "$ac_header_preproc" >&6; } 1786 1787 # So? What about this header? 1788 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1789 yes:no: ) 1790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1791 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1793 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1794 ;; 1795 no:yes:* ) 1796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1797 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1799 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1801 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1803 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1805 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1806 ;; 1807 esac 1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1809 $as_echo_n "checking for $2... " >&6; } 1810 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1811 $as_echo_n "(cached) " >&6 1812 else 1813 eval "$3=\$ac_header_compiler" 1814 fi 1815 eval ac_res=\$$3 1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1817 $as_echo "$ac_res" >&6; } 1818 fi 1819 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1820 1821 } # ac_fn_c_check_header_mongrel 1822 1823 # ac_fn_c_check_func LINENO FUNC VAR 1824 # ---------------------------------- 1825 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1826 ac_fn_c_check_func () 1827 { 1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1830 $as_echo_n "checking for $2... " >&6; } 1831 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1832 $as_echo_n "(cached) " >&6 1833 else 1834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1835 /* end confdefs.h. */ 1836 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1837 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1838 #define $2 innocuous_$2 1839 1840 /* System header to define __stub macros and hopefully few prototypes, 1841 which can conflict with char $2 (); below. 1842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1843 <limits.h> exists even on freestanding compilers. */ 1844 1845 #ifdef __STDC__ 1846 # include <limits.h> 1847 #else 1848 # include <assert.h> 1849 #endif 1850 1851 #undef $2 1852 1853 /* Override any GCC internal prototype to avoid an error. 1854 Use char because int might match the return type of a GCC 1855 builtin and then its argument prototype would still apply. */ 1856 #ifdef __cplusplus 1857 extern "C" 1858 #endif 1859 char $2 (); 1860 /* The GNU C library defines this for functions which it implements 1861 to always fail with ENOSYS. Some functions are actually named 1862 something starting with __ and the normal name is an alias. */ 1863 #if defined __stub_$2 || defined __stub___$2 1864 choke me 1865 #endif 1866 1867 int 1868 main () 1869 { 1870 return $2 (); 1871 ; 1872 return 0; 1873 } 1874 _ACEOF 1875 if ac_fn_c_try_link "$LINENO"; then : 1876 eval "$3=yes" 1877 else 1878 eval "$3=no" 1879 fi 1880 rm -f core conftest.err conftest.$ac_objext \ 1881 conftest$ac_exeext conftest.$ac_ext 1882 fi 1883 eval ac_res=\$$3 1884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1885 $as_echo "$ac_res" >&6; } 1886 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1887 1888 } # ac_fn_c_check_func 1447 1889 cat >config.log <<_ACEOF 1448 1890 This file contains any messages produced by compilers while … … 1450 1892 1451 1893 It was created by pjproject $as_me 1.x, which was 1452 generated by GNU Autoconf 2.6 1. Invocation command line was1894 generated by GNU Autoconf 2.65. Invocation command line was 1453 1895 1454 1896 $ $0 $@ … … 1486 1928 IFS=$as_save_IFS 1487 1929 test -z "$as_dir" && as_dir=. 1488 echo "PATH: $as_dir"1489 done1930 $as_echo "PATH: $as_dir" 1931 done 1490 1932 IFS=$as_save_IFS 1491 1933 … … 1521 1963 continue ;; 1522 1964 *\'*) 1523 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1965 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1524 1966 esac 1525 1967 case $ac_pass in 1526 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1968 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1527 1969 2) 1528 a c_configure_args1="$ac_configure_args1'$ac_arg'"1970 as_fn_append ac_configure_args1 " '$ac_arg'" 1529 1971 if test $ac_must_keep_next = true; then 1530 1972 ac_must_keep_next=false # Got value, back to normal. … … 1542 1984 esac 1543 1985 fi 1544 a c_configure_args="$ac_configure_args'$ac_arg'"1986 as_fn_append ac_configure_args " '$ac_arg'" 1545 1987 ;; 1546 1988 esac 1547 1989 done 1548 1990 done 1549 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1550 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}1991 { ac_configure_args0=; unset ac_configure_args0;} 1992 { ac_configure_args1=; unset ac_configure_args1;} 1551 1993 1552 1994 # When interrupted or exit'd, cleanup temporary files, and complete … … 1573 2015 *${as_nl}*) 1574 2016 case $ac_var in #( 1575 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51576 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2017 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2018 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1577 2019 esac 1578 2020 case $ac_var in #( 1579 2021 _ | IFS | as_nl) ;; #( 1580 *) $as_unset $ac_var ;; 2022 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2023 *) { eval $ac_var=; unset $ac_var;} ;; 1581 2024 esac ;; 1582 2025 esac … … 1607 2050 eval ac_val=\$$ac_var 1608 2051 case $ac_val in 1609 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2052 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1610 2053 esac 1611 echo "$ac_var='\''$ac_val'\''"2054 $as_echo "$ac_var='\''$ac_val'\''" 1612 2055 done | sort 1613 2056 echo … … 1624 2067 eval ac_val=\$$ac_var 1625 2068 case $ac_val in 1626 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2069 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1627 2070 esac 1628 echo "$ac_var='\''$ac_val'\''"2071 $as_echo "$ac_var='\''$ac_val'\''" 1629 2072 done | sort 1630 2073 echo … … 1642 2085 fi 1643 2086 test "$ac_signal" != 0 && 1644 echo "$as_me: caught signal $ac_signal"1645 echo "$as_me: exit $exit_status"2087 $as_echo "$as_me: caught signal $ac_signal" 2088 $as_echo "$as_me: exit $exit_status" 1646 2089 } >&5 1647 2090 rm -f core *.core core.conftest.* && … … 1650 2093 ' 0 1651 2094 for ac_signal in 1 2 13 15; do 1652 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2095 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1653 2096 done 1654 2097 ac_signal=0 … … 1657 2100 rm -f -r conftest* confdefs.h 1658 2101 2102 $as_echo "/* confdefs.h */" > confdefs.h 2103 1659 2104 # Predefined preprocessor variables. 1660 2105 … … 1663 2108 _ACEOF 1664 2109 1665 1666 2110 cat >>confdefs.h <<_ACEOF 1667 2111 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1668 2112 _ACEOF 1669 2113 1670 1671 2114 cat >>confdefs.h <<_ACEOF 1672 2115 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1673 2116 _ACEOF 1674 2117 1675 1676 2118 cat >>confdefs.h <<_ACEOF 1677 2119 #define PACKAGE_STRING "$PACKAGE_STRING" 1678 2120 _ACEOF 1679 2121 1680 1681 2122 cat >>confdefs.h <<_ACEOF 1682 2123 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1683 2124 _ACEOF 1684 2125 2126 cat >>confdefs.h <<_ACEOF 2127 #define PACKAGE_URL "$PACKAGE_URL" 2128 _ACEOF 2129 1685 2130 1686 2131 # Let the site file select an alternate cache file if it wants to. 1687 # Prefer explicitly selected file to automatically selected ones. 2132 # Prefer an explicitly selected file to automatically selected ones. 2133 ac_site_file1=NONE 2134 ac_site_file2=NONE 1688 2135 if test -n "$CONFIG_SITE"; then 1689 set x "$CONFIG_SITE"2136 ac_site_file1=$CONFIG_SITE 1690 2137 elif test "x$prefix" != xNONE; then 1691 set x "$prefix/share/config.site" "$prefix/etc/config.site"1692 else1693 set x "$ac_default_prefix/share/config.site" \ 1694 "$ac_default_prefix/etc/config.site" 1695 fi 1696 shift 1697 for ac_site_file 2138 ac_site_file1=$prefix/share/config.site 2139 ac_site_file2=$prefix/etc/config.site 2140 else 2141 ac_site_file1=$ac_default_prefix/share/config.site 2142 ac_site_file2=$ac_default_prefix/etc/config.site 2143 fi 2144 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1698 2145 do 1699 if test -r "$ac_site_file"; then 1700 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1701 echo "$as_me: loading site script $ac_site_file" >&6;} 2146 test "x$ac_site_file" = xNONE && continue 2147 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2148 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2149 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1702 2150 sed 's/^/| /' "$ac_site_file" >&5 1703 2151 . "$ac_site_file" … … 1706 2154 1707 2155 if test -r "$cache_file"; then 1708 # Some versions of bash will fail to source /dev/null (special 1709 # files actually), so we avoid doing that.1710 if test -f "$cache_file"; then1711 { echo "$as_me:$LINENO: loading cache $cache_file" >&51712 echo "$as_me: loading cache $cache_file" >&6;}2156 # Some versions of bash will fail to source /dev/null (special files 2157 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2158 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2159 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2160 $as_echo "$as_me: loading cache $cache_file" >&6;} 1713 2161 case $cache_file in 1714 2162 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1717 2165 fi 1718 2166 else 1719 { echo "$as_me:$LINENO: creating cache $cache_file" >&51720 echo "$as_me: creating cache $cache_file" >&6;}2167 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2168 $as_echo "$as_me: creating cache $cache_file" >&6;} 1721 2169 >$cache_file 1722 2170 fi … … 1732 2180 case $ac_old_set,$ac_new_set in 1733 2181 set,) 1734 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51735 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2182 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2183 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1736 2184 ac_cache_corrupted=: ;; 1737 2185 ,set) 1738 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51739 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2187 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1740 2188 ac_cache_corrupted=: ;; 1741 2189 ,);; 1742 2190 *) 1743 2191 if test "x$ac_old_val" != "x$ac_new_val"; then 1744 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1745 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1746 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1747 echo "$as_me: former value: $ac_old_val" >&2;} 1748 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1749 echo "$as_me: current value: $ac_new_val" >&2;} 1750 ac_cache_corrupted=: 2192 # differences in whitespace do not lead to failure. 2193 ac_old_val_w=`echo x $ac_old_val` 2194 ac_new_val_w=`echo x $ac_new_val` 2195 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2197 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2198 ac_cache_corrupted=: 2199 else 2200 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2201 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2202 eval $ac_var=\$ac_old_val 2203 fi 2204 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2205 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2206 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2207 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1751 2208 fi;; 1752 2209 esac … … 1754 2211 if test "$ac_new_set" = set; then 1755 2212 case $ac_new_val in 1756 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2213 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1757 2214 *) ac_arg=$ac_var=$ac_new_val ;; 1758 2215 esac 1759 2216 case " $ac_configure_args " in 1760 2217 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1761 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2218 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1762 2219 esac 1763 2220 fi 1764 2221 done 1765 2222 if $ac_cache_corrupted; then 1766 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1767 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1768 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1769 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1770 { (exit 1); exit 1; }; } 1771 fi 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 2223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2226 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2227 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2228 fi 2229 ## -------------------- ## 2230 ## Main body of script. ## 2231 ## -------------------- ## 1796 2232 1797 2233 ac_ext=c … … 1807 2243 ac_aux_dir= 1808 2244 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1809 if test -f "$ac_dir/install-sh"; then 1810 ac_aux_dir=$ac_dir 1811 ac_install_sh="$ac_aux_dir/install-sh -c" 1812 break 1813 elif test -f "$ac_dir/install.sh"; then 1814 ac_aux_dir=$ac_dir 1815 ac_install_sh="$ac_aux_dir/install.sh -c" 1816 break 1817 elif test -f "$ac_dir/shtool"; then 1818 ac_aux_dir=$ac_dir 1819 ac_install_sh="$ac_aux_dir/shtool install -c" 1820 break 1821 fi 2245 for ac_t in install-sh install.sh shtool; do 2246 if test -f "$ac_dir/$ac_t"; then 2247 ac_aux_dir=$ac_dir 2248 ac_install_sh="$ac_aux_dir/$ac_t -c" 2249 break 2 2250 fi 2251 done 1822 2252 done 1823 2253 if test -z "$ac_aux_dir"; then 1824 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1825 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1826 { (exit 1); exit 1; }; } 2254 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1827 2255 fi 1828 2256 … … 1838 2266 # Make sure we can run config.sub. 1839 2267 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1840 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1841 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1842 { (exit 1); exit 1; }; } 1843 1844 { echo "$as_me:$LINENO: checking build system type" >&5 1845 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1846 if test "${ac_cv_build+set}" = set; then 1847 echo $ECHO_N "(cached) $ECHO_C" >&6 2268 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2269 2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2271 $as_echo_n "checking build system type... " >&6; } 2272 if test "${ac_cv_build+set}" = set; then : 2273 $as_echo_n "(cached) " >&6 1848 2274 else 1849 2275 ac_build_alias=$build_alias … … 1851 2277 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1852 2278 test "x$ac_build_alias" = x && 1853 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1854 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1855 { (exit 1); exit 1; }; } 2279 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1856 2280 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1857 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1858 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1859 { (exit 1); exit 1; }; } 1860 1861 fi 1862 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1863 echo "${ECHO_T}$ac_cv_build" >&6; } 2281 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2282 2283 fi 2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2285 $as_echo "$ac_cv_build" >&6; } 1864 2286 case $ac_cv_build in 1865 2287 *-*-*) ;; 1866 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1867 echo "$as_me: error: invalid value of canonical build" >&2;} 1868 { (exit 1); exit 1; }; };; 2288 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1869 2289 esac 1870 2290 build=$ac_cv_build … … 1882 2302 1883 2303 1884 { echo "$as_me:$LINENO: checking host system type" >&51885 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }1886 if test "${ac_cv_host+set}" = set; then 1887 echo $ECHO_N "(cached) $ECHO_C" >&62304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2305 $as_echo_n "checking host system type... " >&6; } 2306 if test "${ac_cv_host+set}" = set; then : 2307 $as_echo_n "(cached) " >&6 1888 2308 else 1889 2309 if test "x$host_alias" = x; then … … 1891 2311 else 1892 2312 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1893 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1894 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1895 { (exit 1); exit 1; }; } 1896 fi 1897 1898 fi 1899 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1900 echo "${ECHO_T}$ac_cv_host" >&6; } 2313 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2314 fi 2315 2316 fi 2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2318 $as_echo "$ac_cv_host" >&6; } 1901 2319 case $ac_cv_host in 1902 2320 *-*-*) ;; 1903 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1904 echo "$as_me: error: invalid value of canonical host" >&2;} 1905 { (exit 1); exit 1; }; };; 2321 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1906 2322 esac 1907 2323 host=$ac_cv_host … … 1919 2335 1920 2336 1921 { echo "$as_me:$LINENO: checking target system type" >&51922 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }1923 if test "${ac_cv_target+set}" = set; then 1924 echo $ECHO_N "(cached) $ECHO_C" >&62337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2338 $as_echo_n "checking target system type... " >&6; } 2339 if test "${ac_cv_target+set}" = set; then : 2340 $as_echo_n "(cached) " >&6 1925 2341 else 1926 2342 if test "x$target_alias" = x; then … … 1928 2344 else 1929 2345 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1930 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1931 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1932 { (exit 1); exit 1; }; } 1933 fi 1934 1935 fi 1936 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1937 echo "${ECHO_T}$ac_cv_target" >&6; } 2346 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2347 fi 2348 2349 fi 2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2351 $as_echo "$ac_cv_target" >&6; } 1938 2352 case $ac_cv_target in 1939 2353 *-*-*) ;; 1940 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1941 echo "$as_me: error: invalid value of canonical target" >&2;} 1942 { (exit 1); exit 1; }; };; 2354 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 1943 2355 esac 1944 2356 target=$ac_cv_target … … 1984 2396 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1985 2397 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1986 { echo "$as_me:$LINENO: checking for $ac_word" >&51987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1988 if test "${ac_cv_prog_CC+set}" = set; then 1989 echo $ECHO_N "(cached) $ECHO_C" >&62398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2399 $as_echo_n "checking for $ac_word... " >&6; } 2400 if test "${ac_cv_prog_CC+set}" = set; then : 2401 $as_echo_n "(cached) " >&6 1990 2402 else 1991 2403 if test -n "$CC"; then … … 1997 2409 IFS=$as_save_IFS 1998 2410 test -z "$as_dir" && as_dir=. 1999 for ac_exec_ext in '' $ac_executable_extensions; do2411 for ac_exec_ext in '' $ac_executable_extensions; do 2000 2412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2001 2413 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2003 2415 break 2 2004 2416 fi 2005 2417 done 2006 done2418 done 2007 2419 IFS=$as_save_IFS 2008 2420 … … 2011 2423 CC=$ac_cv_prog_CC 2012 2424 if test -n "$CC"; then 2013 { echo "$as_me:$LINENO: result: $CC" >&52014 echo "${ECHO_T}$CC" >&6; }2015 else 2016 { echo "$as_me:$LINENO: result: no" >&52017 echo "${ECHO_T}no" >&6; }2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2426 $as_echo "$CC" >&6; } 2427 else 2428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2429 $as_echo "no" >&6; } 2018 2430 fi 2019 2431 … … 2024 2436 # Extract the first word of "gcc", so it can be a program name with args. 2025 2437 set dummy gcc; ac_word=$2 2026 { echo "$as_me:$LINENO: checking for $ac_word" >&52027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2028 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2029 echo $ECHO_N "(cached) $ECHO_C" >&62438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2439 $as_echo_n "checking for $ac_word... " >&6; } 2440 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2441 $as_echo_n "(cached) " >&6 2030 2442 else 2031 2443 if test -n "$ac_ct_CC"; then … … 2037 2449 IFS=$as_save_IFS 2038 2450 test -z "$as_dir" && as_dir=. 2039 for ac_exec_ext in '' $ac_executable_extensions; do2451 for ac_exec_ext in '' $ac_executable_extensions; do 2040 2452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2041 2453 ac_cv_prog_ac_ct_CC="gcc" 2042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2043 2455 break 2 2044 2456 fi 2045 2457 done 2046 done2458 done 2047 2459 IFS=$as_save_IFS 2048 2460 … … 2051 2463 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2052 2464 if test -n "$ac_ct_CC"; then 2053 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52054 echo "${ECHO_T}$ac_ct_CC" >&6; }2055 else 2056 { echo "$as_me:$LINENO: result: no" >&52057 echo "${ECHO_T}no" >&6; }2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2466 $as_echo "$ac_ct_CC" >&6; } 2467 else 2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2469 $as_echo "no" >&6; } 2058 2470 fi 2059 2471 … … 2063 2475 case $cross_compiling:$ac_tool_warned in 2064 2476 yes:) 2065 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2066 whose name does not start with the host triplet. If you think this 2067 configuration is useful to you, please write to autoconf@gnu.org." >&5 2068 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2069 whose name does not start with the host triplet. If you think this 2070 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2071 2479 ac_tool_warned=yes ;; 2072 2480 esac … … 2081 2489 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2082 2490 set dummy ${ac_tool_prefix}cc; ac_word=$2 2083 { echo "$as_me:$LINENO: checking for $ac_word" >&52084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2085 if test "${ac_cv_prog_CC+set}" = set; then 2086 echo $ECHO_N "(cached) $ECHO_C" >&62491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2492 $as_echo_n "checking for $ac_word... " >&6; } 2493 if test "${ac_cv_prog_CC+set}" = set; then : 2494 $as_echo_n "(cached) " >&6 2087 2495 else 2088 2496 if test -n "$CC"; then … … 2094 2502 IFS=$as_save_IFS 2095 2503 test -z "$as_dir" && as_dir=. 2096 for ac_exec_ext in '' $ac_executable_extensions; do2504 for ac_exec_ext in '' $ac_executable_extensions; do 2097 2505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2098 2506 ac_cv_prog_CC="${ac_tool_prefix}cc" 2099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2100 2508 break 2 2101 2509 fi 2102 2510 done 2103 done2511 done 2104 2512 IFS=$as_save_IFS 2105 2513 … … 2108 2516 CC=$ac_cv_prog_CC 2109 2517 if test -n "$CC"; then 2110 { echo "$as_me:$LINENO: result: $CC" >&52111 echo "${ECHO_T}$CC" >&6; }2112 else 2113 { echo "$as_me:$LINENO: result: no" >&52114 echo "${ECHO_T}no" >&6; }2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2519 $as_echo "$CC" >&6; } 2520 else 2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2522 $as_echo "no" >&6; } 2115 2523 fi 2116 2524 … … 2121 2529 # Extract the first word of "cc", so it can be a program name with args. 2122 2530 set dummy cc; ac_word=$2 2123 { echo "$as_me:$LINENO: checking for $ac_word" >&52124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2125 if test "${ac_cv_prog_CC+set}" = set; then 2126 echo $ECHO_N "(cached) $ECHO_C" >&62531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2532 $as_echo_n "checking for $ac_word... " >&6; } 2533 if test "${ac_cv_prog_CC+set}" = set; then : 2534 $as_echo_n "(cached) " >&6 2127 2535 else 2128 2536 if test -n "$CC"; then … … 2135 2543 IFS=$as_save_IFS 2136 2544 test -z "$as_dir" && as_dir=. 2137 for ac_exec_ext in '' $ac_executable_extensions; do2545 for ac_exec_ext in '' $ac_executable_extensions; do 2138 2546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2139 2547 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2142 2550 fi 2143 2551 ac_cv_prog_CC="cc" 2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2145 2553 break 2 2146 2554 fi 2147 2555 done 2148 done2556 done 2149 2557 IFS=$as_save_IFS 2150 2558 … … 2165 2573 CC=$ac_cv_prog_CC 2166 2574 if test -n "$CC"; then 2167 { echo "$as_me:$LINENO: result: $CC" >&52168 echo "${ECHO_T}$CC" >&6; }2169 else 2170 { echo "$as_me:$LINENO: result: no" >&52171 echo "${ECHO_T}no" >&6; }2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2576 $as_echo "$CC" >&6; } 2577 else 2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2579 $as_echo "no" >&6; } 2172 2580 fi 2173 2581 … … 2180 2588 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2181 2589 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2182 { echo "$as_me:$LINENO: checking for $ac_word" >&52183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2184 if test "${ac_cv_prog_CC+set}" = set; then 2185 echo $ECHO_N "(cached) $ECHO_C" >&62590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2591 $as_echo_n "checking for $ac_word... " >&6; } 2592 if test "${ac_cv_prog_CC+set}" = set; then : 2593 $as_echo_n "(cached) " >&6 2186 2594 else 2187 2595 if test -n "$CC"; then … … 2193 2601 IFS=$as_save_IFS 2194 2602 test -z "$as_dir" && as_dir=. 2195 for ac_exec_ext in '' $ac_executable_extensions; do2603 for ac_exec_ext in '' $ac_executable_extensions; do 2196 2604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2197 2605 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2199 2607 break 2 2200 2608 fi 2201 2609 done 2202 done2610 done 2203 2611 IFS=$as_save_IFS 2204 2612 … … 2207 2615 CC=$ac_cv_prog_CC 2208 2616 if test -n "$CC"; then 2209 { echo "$as_me:$LINENO: result: $CC" >&52210 echo "${ECHO_T}$CC" >&6; }2211 else 2212 { echo "$as_me:$LINENO: result: no" >&52213 echo "${ECHO_T}no" >&6; }2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2618 $as_echo "$CC" >&6; } 2619 else 2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2621 $as_echo "no" >&6; } 2214 2622 fi 2215 2623 … … 2224 2632 # Extract the first word of "$ac_prog", so it can be a program name with args. 2225 2633 set dummy $ac_prog; ac_word=$2 2226 { echo "$as_me:$LINENO: checking for $ac_word" >&52227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2228 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2229 echo $ECHO_N "(cached) $ECHO_C" >&62634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2635 $as_echo_n "checking for $ac_word... " >&6; } 2636 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2637 $as_echo_n "(cached) " >&6 2230 2638 else 2231 2639 if test -n "$ac_ct_CC"; then … … 2237 2645 IFS=$as_save_IFS 2238 2646 test -z "$as_dir" && as_dir=. 2239 for ac_exec_ext in '' $ac_executable_extensions; do2647 for ac_exec_ext in '' $ac_executable_extensions; do 2240 2648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2241 2649 ac_cv_prog_ac_ct_CC="$ac_prog" 2242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2243 2651 break 2 2244 2652 fi 2245 2653 done 2246 done2654 done 2247 2655 IFS=$as_save_IFS 2248 2656 … … 2251 2659 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2252 2660 if test -n "$ac_ct_CC"; then 2253 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52254 echo "${ECHO_T}$ac_ct_CC" >&6; }2255 else 2256 { echo "$as_me:$LINENO: result: no" >&52257 echo "${ECHO_T}no" >&6; }2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2662 $as_echo "$ac_ct_CC" >&6; } 2663 else 2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2665 $as_echo "no" >&6; } 2258 2666 fi 2259 2667 … … 2267 2675 case $cross_compiling:$ac_tool_warned in 2268 2676 yes:) 2269 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2270 whose name does not start with the host triplet. If you think this 2271 configuration is useful to you, please write to autoconf@gnu.org." >&5 2272 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2273 whose name does not start with the host triplet. If you think this 2274 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2275 2679 ac_tool_warned=yes ;; 2276 2680 esac … … 2282 2686 2283 2687 2284 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2285 See \`config.log' for more details." >&5 2286 echo "$as_me: error: no acceptable C compiler found in \$PATH 2287 See \`config.log' for more details." >&2;} 2288 { (exit 1); exit 1; }; } 2688 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2690 as_fn_error "no acceptable C compiler found in \$PATH 2691 See \`config.log' for more details." "$LINENO" 5; } 2289 2692 2290 2693 # Provide some information about the compiler. 2291 echo "$as_me:$LINENO: checking for C compiler version" >&5 2292 ac_compiler=`set X $ac_compile; echo $2` 2293 { (ac_try="$ac_compiler --version >&5" 2694 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2695 set X $ac_compile 2696 ac_compiler=$2 2697 for ac_option in --version -v -V -qversion; do 2698 { { ac_try="$ac_compiler $ac_option >&5" 2294 2699 case "(($ac_try" in 2295 2700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2296 2701 *) ac_try_echo=$ac_try;; 2297 2702 esac 2298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2299 (eval "$ac_compiler --version >&5") 2>&5 2703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2704 $as_echo "$ac_try_echo"; } >&5 2705 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2300 2706 ac_status=$? 2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2302 (exit $ac_status); } 2303 { (ac_try="$ac_compiler -v >&5" 2707 if test -s conftest.err; then 2708 sed '10a\ 2709 ... rest of stderr output deleted ... 2710 10q' conftest.err >conftest.er1 2711 cat conftest.er1 >&5 2712 fi 2713 rm -f conftest.er1 conftest.err 2714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2715 test $ac_status = 0; } 2716 done 2717 2718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2719 /* end confdefs.h. */ 2720 2721 int 2722 main () 2723 { 2724 2725 ; 2726 return 0; 2727 } 2728 _ACEOF 2729 ac_clean_files_save=$ac_clean_files 2730 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2731 # Try to create an executable without -o first, disregard a.out. 2732 # It will help us diagnose broken compilers, and finding out an intuition 2733 # of exeext. 2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2735 $as_echo_n "checking whether the C compiler works... " >&6; } 2736 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2737 2738 # The possible output files: 2739 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2740 2741 ac_rmfiles= 2742 for ac_file in $ac_files 2743 do 2744 case $ac_file in 2745 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2746 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2747 esac 2748 done 2749 rm -f $ac_rmfiles 2750 2751 if { { ac_try="$ac_link_default" 2304 2752 case "(($ac_try" in 2305 2753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2306 2754 *) ac_try_echo=$ac_try;; 2307 2755 esac 2308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2309 (eval "$ac_compiler -v >&5") 2>&5 2310 ac_status=$? 2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2312 (exit $ac_status); } 2313 { (ac_try="$ac_compiler -V >&5" 2314 case "(($ac_try" in 2315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2316 *) ac_try_echo=$ac_try;; 2317 esac 2318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2319 (eval "$ac_compiler -V >&5") 2>&5 2320 ac_status=$? 2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2322 (exit $ac_status); } 2323 2324 cat >conftest.$ac_ext <<_ACEOF 2325 /* confdefs.h. */ 2326 _ACEOF 2327 cat confdefs.h >>conftest.$ac_ext 2328 cat >>conftest.$ac_ext <<_ACEOF 2329 /* end confdefs.h. */ 2330 2331 int 2332 main () 2333 { 2334 2335 ; 2336 return 0; 2337 } 2338 _ACEOF 2339 ac_clean_files_save=$ac_clean_files 2340 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2341 # Try to create an executable without -o first, disregard a.out. 2342 # It will help us diagnose broken compilers, and finding out an intuition 2343 # of exeext. 2344 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2345 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2346 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2347 # 2348 # List of possible output files, starting from the most likely. 2349 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2350 # only as a last resort. b.out is created by i960 compilers. 2351 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2352 # 2353 # The IRIX 6 linker writes into existing files which may not be 2354 # executable, retaining their permissions. Remove them first so a 2355 # subsequent execution test works. 2356 ac_rmfiles= 2357 for ac_file in $ac_files 2358 do 2359 case $ac_file in 2360 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2361 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2362 esac 2363 done 2364 rm -f $ac_rmfiles 2365 2366 if { (ac_try="$ac_link_default" 2367 case "(($ac_try" in 2368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2369 *) ac_try_echo=$ac_try;; 2370 esac 2371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2757 $as_echo "$ac_try_echo"; } >&5 2372 2758 (eval "$ac_link_default") 2>&5 2373 2759 ac_status=$? 2374 echo "$as_me:$LINENO: \$? = $ac_status" >&52375 (exit $ac_status); }; then2760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2761 test $ac_status = 0; }; then : 2376 2762 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2377 2763 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2383 2769 test -f "$ac_file" || continue 2384 2770 case $ac_file in 2385 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )2771 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2386 2772 ;; 2387 2773 [ab].out ) … … 2390 2776 break;; 2391 2777 *.* ) 2392 2778 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2393 2779 then :; else 2394 2780 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2409 2795 ac_file='' 2410 2796 fi 2411 2412 { echo "$as_me:$LINENO: result: $ac_file" >&5 2413 echo "${ECHO_T}$ac_file" >&6; } 2414 if test -z "$ac_file"; then 2415 echo "$as_me: failed program was:" >&5 2797 if test -z "$ac_file"; then : 2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2799 $as_echo "no" >&6; } 2800 $as_echo "$as_me: failed program was:" >&5 2416 2801 sed 's/^/| /' conftest.$ac_ext >&5 2417 2802 2418 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2419 See \`config.log' for more details." >&5 2420 echo "$as_me: error: C compiler cannot create executables 2421 See \`config.log' for more details." >&2;} 2422 { (exit 77); exit 77; }; } 2423 fi 2424 2803 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2805 { as_fn_set_status 77 2806 as_fn_error "C compiler cannot create executables 2807 See \`config.log' for more details." "$LINENO" 5; }; } 2808 else 2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2810 $as_echo "yes" >&6; } 2811 fi 2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2813 $as_echo_n "checking for C compiler default output file name... " >&6; } 2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2815 $as_echo "$ac_file" >&6; } 2425 2816 ac_exeext=$ac_cv_exeext 2426 2817 2427 # Check that the compiler produces executables we can run. If not, either 2428 # the compiler is broken, or we cross compile. 2429 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2430 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2431 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2432 # If not cross compiling, check that we can run a simple program. 2433 if test "$cross_compiling" != yes; then 2434 if { ac_try='./$ac_file' 2435 { (case "(($ac_try" in 2436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2437 *) ac_try_echo=$ac_try;; 2438 esac 2439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2440 (eval "$ac_try") 2>&5 2441 ac_status=$? 2442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2443 (exit $ac_status); }; }; then 2444 cross_compiling=no 2445 else 2446 if test "$cross_compiling" = maybe; then 2447 cross_compiling=yes 2448 else 2449 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2450 If you meant to cross compile, use \`--host'. 2451 See \`config.log' for more details." >&5 2452 echo "$as_me: error: cannot run C compiled programs. 2453 If you meant to cross compile, use \`--host'. 2454 See \`config.log' for more details." >&2;} 2455 { (exit 1); exit 1; }; } 2456 fi 2457 fi 2458 fi 2459 { echo "$as_me:$LINENO: result: yes" >&5 2460 echo "${ECHO_T}yes" >&6; } 2461 2462 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2818 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2463 2819 ac_clean_files=$ac_clean_files_save 2464 # Check that the compiler produces executables we can run. If not, either 2465 # the compiler is broken, or we cross compile. 2466 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2467 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2468 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2469 echo "${ECHO_T}$cross_compiling" >&6; } 2470 2471 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2472 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2473 if { (ac_try="$ac_link" 2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2821 $as_echo_n "checking for suffix of executables... " >&6; } 2822 if { { ac_try="$ac_link" 2474 2823 case "(($ac_try" in 2475 2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2476 2825 *) ac_try_echo=$ac_try;; 2477 2826 esac 2478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2828 $as_echo "$ac_try_echo"; } >&5 2479 2829 (eval "$ac_link") 2>&5 2480 2830 ac_status=$? 2481 echo "$as_me:$LINENO: \$? = $ac_status" >&52482 (exit $ac_status); }; then2831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2832 test $ac_status = 0; }; then : 2483 2833 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2484 2834 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2488 2838 test -f "$ac_file" || continue 2489 2839 case $ac_file in 2490 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;2840 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2491 2841 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2492 2842 break;; … … 2495 2845 done 2496 2846 else 2497 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2498 See \`config.log' for more details." >&5 2499 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2500 See \`config.log' for more details." >&2;} 2501 { (exit 1); exit 1; }; } 2502 fi 2503 2504 rm -f conftest$ac_cv_exeext 2505 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2506 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2847 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2849 as_fn_error "cannot compute suffix of executables: cannot compile and link 2850 See \`config.log' for more details." "$LINENO" 5; } 2851 fi 2852 rm -f conftest conftest$ac_cv_exeext 2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2854 $as_echo "$ac_cv_exeext" >&6; } 2507 2855 2508 2856 rm -f conftest.$ac_ext 2509 2857 EXEEXT=$ac_cv_exeext 2510 2858 ac_exeext=$EXEEXT 2511 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2512 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2513 if test "${ac_cv_objext+set}" = set; then 2514 echo $ECHO_N "(cached) $ECHO_C" >&6 2515 else 2516 cat >conftest.$ac_ext <<_ACEOF 2517 /* confdefs.h. */ 2518 _ACEOF 2519 cat confdefs.h >>conftest.$ac_ext 2520 cat >>conftest.$ac_ext <<_ACEOF 2859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2521 2860 /* end confdefs.h. */ 2522 2861 #include <stdio.h> 2523 2862 int 2524 2863 main () 2525 2864 { 2865 FILE *f = fopen ("conftest.out", "w"); 2866 return ferror (f) || fclose (f) != 0; 2526 2867 2527 2868 ; … … 2529 2870 } 2530 2871 _ACEOF 2531 rm -f conftest.o conftest.obj 2532 if { (ac_try="$ac_compile" 2872 ac_clean_files="$ac_clean_files conftest.out" 2873 # Check that the compiler produces executables we can run. If not, either 2874 # the compiler is broken, or we cross compile. 2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2876 $as_echo_n "checking whether we are cross compiling... " >&6; } 2877 if test "$cross_compiling" != yes; then 2878 { { ac_try="$ac_link" 2533 2879 case "(($ac_try" in 2534 2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2535 2881 *) ac_try_echo=$ac_try;; 2536 2882 esac 2537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2884 $as_echo "$ac_try_echo"; } >&5 2885 (eval "$ac_link") 2>&5 2886 ac_status=$? 2887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2888 test $ac_status = 0; } 2889 if { ac_try='./conftest$ac_cv_exeext' 2890 { { case "(($ac_try" in 2891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2892 *) ac_try_echo=$ac_try;; 2893 esac 2894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2895 $as_echo "$ac_try_echo"; } >&5 2896 (eval "$ac_try") 2>&5 2897 ac_status=$? 2898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2899 test $ac_status = 0; }; }; then 2900 cross_compiling=no 2901 else 2902 if test "$cross_compiling" = maybe; then 2903 cross_compiling=yes 2904 else 2905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2907 as_fn_error "cannot run C compiled programs. 2908 If you meant to cross compile, use \`--host'. 2909 See \`config.log' for more details." "$LINENO" 5; } 2910 fi 2911 fi 2912 fi 2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2914 $as_echo "$cross_compiling" >&6; } 2915 2916 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2917 ac_clean_files=$ac_clean_files_save 2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2919 $as_echo_n "checking for suffix of object files... " >&6; } 2920 if test "${ac_cv_objext+set}" = set; then : 2921 $as_echo_n "(cached) " >&6 2922 else 2923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2924 /* end confdefs.h. */ 2925 2926 int 2927 main () 2928 { 2929 2930 ; 2931 return 0; 2932 } 2933 _ACEOF 2934 rm -f conftest.o conftest.obj 2935 if { { ac_try="$ac_compile" 2936 case "(($ac_try" in 2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2938 *) ac_try_echo=$ac_try;; 2939 esac 2940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2941 $as_echo "$ac_try_echo"; } >&5 2538 2942 (eval "$ac_compile") 2>&5 2539 2943 ac_status=$? 2540 echo "$as_me:$LINENO: \$? = $ac_status" >&52541 (exit $ac_status); }; then2944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2945 test $ac_status = 0; }; then : 2542 2946 for ac_file in conftest.o conftest.obj conftest.*; do 2543 2947 test -f "$ac_file" || continue; 2544 2948 case $ac_file in 2545 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;2949 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2546 2950 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2547 2951 break;; … … 2549 2953 done 2550 2954 else 2551 echo "$as_me: failed program was:" >&52955 $as_echo "$as_me: failed program was:" >&5 2552 2956 sed 's/^/| /' conftest.$ac_ext >&5 2553 2957 2554 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2555 See \`config.log' for more details." >&5 2556 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2557 See \`config.log' for more details." >&2;} 2558 { (exit 1); exit 1; }; } 2559 fi 2560 2958 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2959 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2960 as_fn_error "cannot compute suffix of object files: cannot compile 2961 See \`config.log' for more details." "$LINENO" 5; } 2962 fi 2561 2963 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2562 2964 fi 2563 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52564 echo "${ECHO_T}$ac_cv_objext" >&6; }2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2966 $as_echo "$ac_cv_objext" >&6; } 2565 2967 OBJEXT=$ac_cv_objext 2566 2968 ac_objext=$OBJEXT 2567 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2568 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2569 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2570 echo $ECHO_N "(cached) $ECHO_C" >&6 2571 else 2572 cat >conftest.$ac_ext <<_ACEOF 2573 /* confdefs.h. */ 2574 _ACEOF 2575 cat confdefs.h >>conftest.$ac_ext 2576 cat >>conftest.$ac_ext <<_ACEOF 2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2970 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2971 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2972 $as_echo_n "(cached) " >&6 2973 else 2974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2577 2975 /* end confdefs.h. */ 2578 2976 … … 2588 2986 } 2589 2987 _ACEOF 2590 rm -f conftest.$ac_objext 2591 if { (ac_try="$ac_compile" 2592 case "(($ac_try" in 2593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2594 *) ac_try_echo=$ac_try;; 2595 esac 2596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2597 (eval "$ac_compile") 2>conftest.er1 2598 ac_status=$? 2599 grep -v '^ *+' conftest.er1 >conftest.err 2600 rm -f conftest.er1 2601 cat conftest.err >&5 2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2603 (exit $ac_status); } && { 2604 test -z "$ac_c_werror_flag" || 2605 test ! -s conftest.err 2606 } && test -s conftest.$ac_objext; then 2988 if ac_fn_c_try_compile "$LINENO"; then : 2607 2989 ac_compiler_gnu=yes 2608 2990 else 2609 echo "$as_me: failed program was:" >&5 2610 sed 's/^/| /' conftest.$ac_ext >&5 2611 2612 ac_compiler_gnu=no 2613 fi 2614 2991 ac_compiler_gnu=no 2992 fi 2615 2993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2616 2994 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2617 2995 2618 2996 fi 2619 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2620 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2621 GCC=`test $ac_compiler_gnu = yes && echo yes` 2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2998 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2999 if test $ac_compiler_gnu = yes; then 3000 GCC=yes 3001 else 3002 GCC= 3003 fi 2622 3004 ac_test_CFLAGS=${CFLAGS+set} 2623 3005 ac_save_CFLAGS=$CFLAGS 2624 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52625 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2626 if test "${ac_cv_prog_cc_g+set}" = set; then 2627 echo $ECHO_N "(cached) $ECHO_C" >&63006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3007 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3008 if test "${ac_cv_prog_cc_g+set}" = set; then : 3009 $as_echo_n "(cached) " >&6 2628 3010 else 2629 3011 ac_save_c_werror_flag=$ac_c_werror_flag … … 2631 3013 ac_cv_prog_cc_g=no 2632 3014 CFLAGS="-g" 2633 cat >conftest.$ac_ext <<_ACEOF 2634 /* confdefs.h. */ 2635 _ACEOF 2636 cat confdefs.h >>conftest.$ac_ext 2637 cat >>conftest.$ac_ext <<_ACEOF 3015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2638 3016 /* end confdefs.h. */ 2639 3017 … … 2646 3024 } 2647 3025 _ACEOF 2648 rm -f conftest.$ac_objext 2649 if { (ac_try="$ac_compile" 2650 case "(($ac_try" in 2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2652 *) ac_try_echo=$ac_try;; 2653 esac 2654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2655 (eval "$ac_compile") 2>conftest.er1 2656 ac_status=$? 2657 grep -v '^ *+' conftest.er1 >conftest.err 2658 rm -f conftest.er1 2659 cat conftest.err >&5 2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2661 (exit $ac_status); } && { 2662 test -z "$ac_c_werror_flag" || 2663 test ! -s conftest.err 2664 } && test -s conftest.$ac_objext; then 3026 if ac_fn_c_try_compile "$LINENO"; then : 2665 3027 ac_cv_prog_cc_g=yes 2666 3028 else 2667 echo "$as_me: failed program was:" >&5 2668 sed 's/^/| /' conftest.$ac_ext >&5 2669 2670 CFLAGS="" 2671 cat >conftest.$ac_ext <<_ACEOF 2672 /* confdefs.h. */ 2673 _ACEOF 2674 cat confdefs.h >>conftest.$ac_ext 2675 cat >>conftest.$ac_ext <<_ACEOF 3029 CFLAGS="" 3030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2676 3031 /* end confdefs.h. */ 2677 3032 … … 2684 3039 } 2685 3040 _ACEOF 2686 rm -f conftest.$ac_objext 2687 if { (ac_try="$ac_compile" 2688 case "(($ac_try" in 2689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2690 *) ac_try_echo=$ac_try;; 2691 esac 2692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2693 (eval "$ac_compile") 2>conftest.er1 2694 ac_status=$? 2695 grep -v '^ *+' conftest.er1 >conftest.err 2696 rm -f conftest.er1 2697 cat conftest.err >&5 2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2699 (exit $ac_status); } && { 2700 test -z "$ac_c_werror_flag" || 2701 test ! -s conftest.err 2702 } && test -s conftest.$ac_objext; then 2703 : 2704 else 2705 echo "$as_me: failed program was:" >&5 2706 sed 's/^/| /' conftest.$ac_ext >&5 2707 2708 ac_c_werror_flag=$ac_save_c_werror_flag 3041 if ac_fn_c_try_compile "$LINENO"; then : 3042 3043 else 3044 ac_c_werror_flag=$ac_save_c_werror_flag 2709 3045 CFLAGS="-g" 2710 cat >conftest.$ac_ext <<_ACEOF 2711 /* confdefs.h. */ 2712 _ACEOF 2713 cat confdefs.h >>conftest.$ac_ext 2714 cat >>conftest.$ac_ext <<_ACEOF 3046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2715 3047 /* end confdefs.h. */ 2716 3048 … … 2723 3055 } 2724 3056 _ACEOF 2725 rm -f conftest.$ac_objext 2726 if { (ac_try="$ac_compile" 2727 case "(($ac_try" in 2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2729 *) ac_try_echo=$ac_try;; 2730 esac 2731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2732 (eval "$ac_compile") 2>conftest.er1 2733 ac_status=$? 2734 grep -v '^ *+' conftest.er1 >conftest.err 2735 rm -f conftest.er1 2736 cat conftest.err >&5 2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2738 (exit $ac_status); } && { 2739 test -z "$ac_c_werror_flag" || 2740 test ! -s conftest.err 2741 } && test -s conftest.$ac_objext; then 3057 if ac_fn_c_try_compile "$LINENO"; then : 2742 3058 ac_cv_prog_cc_g=yes 2743 else 2744 echo "$as_me: failed program was:" >&5 2745 sed 's/^/| /' conftest.$ac_ext >&5 2746 2747 2748 fi 2749 3059 fi 2750 3060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2751 3061 fi 2752 2753 3062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2754 3063 fi 2755 2756 3064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2757 3065 ac_c_werror_flag=$ac_save_c_werror_flag 2758 3066 fi 2759 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52760 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3068 $as_echo "$ac_cv_prog_cc_g" >&6; } 2761 3069 if test "$ac_test_CFLAGS" = set; then 2762 3070 CFLAGS=$ac_save_CFLAGS … … 2774 3082 fi 2775 3083 fi 2776 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52777 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2778 if test "${ac_cv_prog_cc_c89+set}" = set; then 2779 echo $ECHO_N "(cached) $ECHO_C" >&63084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3085 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3086 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3087 $as_echo_n "(cached) " >&6 2780 3088 else 2781 3089 ac_cv_prog_cc_c89=no 2782 3090 ac_save_CC=$CC 2783 cat >conftest.$ac_ext <<_ACEOF 2784 /* confdefs.h. */ 2785 _ACEOF 2786 cat confdefs.h >>conftest.$ac_ext 2787 cat >>conftest.$ac_ext <<_ACEOF 3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2788 3092 /* end confdefs.h. */ 2789 3093 #include <stdarg.h> … … 2842 3146 do 2843 3147 CC="$ac_save_CC $ac_arg" 2844 rm -f conftest.$ac_objext 2845 if { (ac_try="$ac_compile" 2846 case "(($ac_try" in 2847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2848 *) ac_try_echo=$ac_try;; 2849 esac 2850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2851 (eval "$ac_compile") 2>conftest.er1 2852 ac_status=$? 2853 grep -v '^ *+' conftest.er1 >conftest.err 2854 rm -f conftest.er1 2855 cat conftest.err >&5 2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2857 (exit $ac_status); } && { 2858 test -z "$ac_c_werror_flag" || 2859 test ! -s conftest.err 2860 } && test -s conftest.$ac_objext; then 3148 if ac_fn_c_try_compile "$LINENO"; then : 2861 3149 ac_cv_prog_cc_c89=$ac_arg 2862 else 2863 echo "$as_me: failed program was:" >&5 2864 sed 's/^/| /' conftest.$ac_ext >&5 2865 2866 2867 fi 2868 3150 fi 2869 3151 rm -f core conftest.err conftest.$ac_objext 2870 3152 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2877 3159 case "x$ac_cv_prog_cc_c89" in 2878 3160 x) 2879 { echo "$as_me:$LINENO: result: none needed" >&52880 echo "${ECHO_T}none needed" >&6; } ;;3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3162 $as_echo "none needed" >&6; } ;; 2881 3163 xno) 2882 { echo "$as_me:$LINENO: result: unsupported" >&52883 echo "${ECHO_T}unsupported" >&6; } ;;3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3165 $as_echo "unsupported" >&6; } ;; 2884 3166 *) 2885 3167 CC="$CC $ac_cv_prog_cc_c89" 2886 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52887 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3169 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2888 3170 esac 2889 3171 if test "x$ac_cv_prog_cc_c89" != xno; then : 3172 3173 fi 2890 3174 2891 3175 ac_ext=c … … 2909 3193 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2910 3194 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2911 { echo "$as_me:$LINENO: checking for $ac_word" >&52912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2913 if test "${ac_cv_prog_CXX+set}" = set; then 2914 echo $ECHO_N "(cached) $ECHO_C" >&63195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3196 $as_echo_n "checking for $ac_word... " >&6; } 3197 if test "${ac_cv_prog_CXX+set}" = set; then : 3198 $as_echo_n "(cached) " >&6 2915 3199 else 2916 3200 if test -n "$CXX"; then … … 2922 3206 IFS=$as_save_IFS 2923 3207 test -z "$as_dir" && as_dir=. 2924 for ac_exec_ext in '' $ac_executable_extensions; do3208 for ac_exec_ext in '' $ac_executable_extensions; do 2925 3209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2926 3210 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2928 3212 break 2 2929 3213 fi 2930 3214 done 2931 done3215 done 2932 3216 IFS=$as_save_IFS 2933 3217 … … 2936 3220 CXX=$ac_cv_prog_CXX 2937 3221 if test -n "$CXX"; then 2938 { echo "$as_me:$LINENO: result: $CXX" >&52939 echo "${ECHO_T}$CXX" >&6; }2940 else 2941 { echo "$as_me:$LINENO: result: no" >&52942 echo "${ECHO_T}no" >&6; }3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3223 $as_echo "$CXX" >&6; } 3224 else 3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3226 $as_echo "no" >&6; } 2943 3227 fi 2944 3228 … … 2953 3237 # Extract the first word of "$ac_prog", so it can be a program name with args. 2954 3238 set dummy $ac_prog; ac_word=$2 2955 { echo "$as_me:$LINENO: checking for $ac_word" >&52956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2957 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2958 echo $ECHO_N "(cached) $ECHO_C" >&63239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3240 $as_echo_n "checking for $ac_word... " >&6; } 3241 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3242 $as_echo_n "(cached) " >&6 2959 3243 else 2960 3244 if test -n "$ac_ct_CXX"; then … … 2966 3250 IFS=$as_save_IFS 2967 3251 test -z "$as_dir" && as_dir=. 2968 for ac_exec_ext in '' $ac_executable_extensions; do3252 for ac_exec_ext in '' $ac_executable_extensions; do 2969 3253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2970 3254 ac_cv_prog_ac_ct_CXX="$ac_prog" 2971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2972 3256 break 2 2973 3257 fi 2974 3258 done 2975 done3259 done 2976 3260 IFS=$as_save_IFS 2977 3261 … … 2980 3264 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2981 3265 if test -n "$ac_ct_CXX"; then 2982 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&52983 echo "${ECHO_T}$ac_ct_CXX" >&6; }2984 else 2985 { echo "$as_me:$LINENO: result: no" >&52986 echo "${ECHO_T}no" >&6; }3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3267 $as_echo "$ac_ct_CXX" >&6; } 3268 else 3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3270 $as_echo "no" >&6; } 2987 3271 fi 2988 3272 … … 2996 3280 case $cross_compiling:$ac_tool_warned in 2997 3281 yes:) 2998 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2999 whose name does not start with the host triplet. If you think this 3000 configuration is useful to you, please write to autoconf@gnu.org." >&5 3001 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3002 whose name does not start with the host triplet. If you think this 3003 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3004 3284 ac_tool_warned=yes ;; 3005 3285 esac … … 3011 3291 fi 3012 3292 # Provide some information about the compiler. 3013 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3014 ac_compiler=`set X $ac_compile; echo $2` 3015 { (ac_try="$ac_compiler --version >&5" 3293 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3294 set X $ac_compile 3295 ac_compiler=$2 3296 for ac_option in --version -v -V -qversion; do 3297 { { ac_try="$ac_compiler $ac_option >&5" 3016 3298 case "(($ac_try" in 3017 3299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3018 3300 *) ac_try_echo=$ac_try;; 3019 3301 esac 3020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3021 (eval "$ac_compiler --version >&5") 2>&5 3302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3303 $as_echo "$ac_try_echo"; } >&5 3304 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3022 3305 ac_status=$? 3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3024 (exit $ac_status); } 3025 { (ac_try="$ac_compiler -v >&5" 3026 case "(($ac_try" in 3027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3028 *) ac_try_echo=$ac_try;; 3029 esac 3030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3031 (eval "$ac_compiler -v >&5") 2>&5 3032 ac_status=$? 3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3034 (exit $ac_status); } 3035 { (ac_try="$ac_compiler -V >&5" 3036 case "(($ac_try" in 3037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3038 *) ac_try_echo=$ac_try;; 3039 esac 3040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3041 (eval "$ac_compiler -V >&5") 2>&5 3042 ac_status=$? 3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3044 (exit $ac_status); } 3045 3046 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3047 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3048 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3049 echo $ECHO_N "(cached) $ECHO_C" >&6 3050 else 3051 cat >conftest.$ac_ext <<_ACEOF 3052 /* confdefs.h. */ 3053 _ACEOF 3054 cat confdefs.h >>conftest.$ac_ext 3055 cat >>conftest.$ac_ext <<_ACEOF 3306 if test -s conftest.err; then 3307 sed '10a\ 3308 ... rest of stderr output deleted ... 3309 10q' conftest.err >conftest.er1 3310 cat conftest.er1 >&5 3311 fi 3312 rm -f conftest.er1 conftest.err 3313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3314 test $ac_status = 0; } 3315 done 3316 3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3318 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3319 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3320 $as_echo_n "(cached) " >&6 3321 else 3322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3056 3323 /* end confdefs.h. */ 3057 3324 … … 3067 3334 } 3068 3335 _ACEOF 3069 rm -f conftest.$ac_objext 3070 if { (ac_try="$ac_compile" 3071 case "(($ac_try" in 3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3073 *) ac_try_echo=$ac_try;; 3074 esac 3075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3076 (eval "$ac_compile") 2>conftest.er1 3077 ac_status=$? 3078 grep -v '^ *+' conftest.er1 >conftest.err 3079 rm -f conftest.er1 3080 cat conftest.err >&5 3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3082 (exit $ac_status); } && { 3083 test -z "$ac_cxx_werror_flag" || 3084 test ! -s conftest.err 3085 } && test -s conftest.$ac_objext; then 3336 if ac_fn_cxx_try_compile "$LINENO"; then : 3086 3337 ac_compiler_gnu=yes 3087 3338 else 3088 echo "$as_me: failed program was:" >&5 3089 sed 's/^/| /' conftest.$ac_ext >&5 3090 3091 ac_compiler_gnu=no 3092 fi 3093 3339 ac_compiler_gnu=no 3340 fi 3094 3341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3095 3342 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3096 3343 3097 3344 fi 3098 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3099 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3100 GXX=`test $ac_compiler_gnu = yes && echo yes` 3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3346 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3347 if test $ac_compiler_gnu = yes; then 3348 GXX=yes 3349 else 3350 GXX= 3351 fi 3101 3352 ac_test_CXXFLAGS=${CXXFLAGS+set} 3102 3353 ac_save_CXXFLAGS=$CXXFLAGS 3103 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53104 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3105 if test "${ac_cv_prog_cxx_g+set}" = set; then 3106 echo $ECHO_N "(cached) $ECHO_C" >&63354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3355 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3356 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3357 $as_echo_n "(cached) " >&6 3107 3358 else 3108 3359 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3110 3361 ac_cv_prog_cxx_g=no 3111 3362 CXXFLAGS="-g" 3112 cat >conftest.$ac_ext <<_ACEOF 3113 /* confdefs.h. */ 3114 _ACEOF 3115 cat confdefs.h >>conftest.$ac_ext 3116 cat >>conftest.$ac_ext <<_ACEOF 3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3117 3364 /* end confdefs.h. */ 3118 3365 … … 3125 3372 } 3126 3373 _ACEOF 3127 rm -f conftest.$ac_objext 3128 if { (ac_try="$ac_compile" 3129 case "(($ac_try" in 3130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3131 *) ac_try_echo=$ac_try;; 3132 esac 3133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3134 (eval "$ac_compile") 2>conftest.er1 3135 ac_status=$? 3136 grep -v '^ *+' conftest.er1 >conftest.err 3137 rm -f conftest.er1 3138 cat conftest.err >&5 3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3140 (exit $ac_status); } && { 3141 test -z "$ac_cxx_werror_flag" || 3142 test ! -s conftest.err 3143 } && test -s conftest.$ac_objext; then 3374 if ac_fn_cxx_try_compile "$LINENO"; then : 3144 3375 ac_cv_prog_cxx_g=yes 3145 3376 else 3146 echo "$as_me: failed program was:" >&5 3147 sed 's/^/| /' conftest.$ac_ext >&5 3148 3149 CXXFLAGS="" 3150 cat >conftest.$ac_ext <<_ACEOF 3151 /* confdefs.h. */ 3152 _ACEOF 3153 cat confdefs.h >>conftest.$ac_ext 3154 cat >>conftest.$ac_ext <<_ACEOF 3377 CXXFLAGS="" 3378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3155 3379 /* end confdefs.h. */ 3156 3380 … … 3163 3387 } 3164 3388 _ACEOF 3165 rm -f conftest.$ac_objext 3166 if { (ac_try="$ac_compile" 3167 case "(($ac_try" in 3168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3169 *) ac_try_echo=$ac_try;; 3170 esac 3171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3172 (eval "$ac_compile") 2>conftest.er1 3173 ac_status=$? 3174 grep -v '^ *+' conftest.er1 >conftest.err 3175 rm -f conftest.er1 3176 cat conftest.err >&5 3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3178 (exit $ac_status); } && { 3179 test -z "$ac_cxx_werror_flag" || 3180 test ! -s conftest.err 3181 } && test -s conftest.$ac_objext; then 3182 : 3183 else 3184 echo "$as_me: failed program was:" >&5 3185 sed 's/^/| /' conftest.$ac_ext >&5 3186 3187 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3389 if ac_fn_cxx_try_compile "$LINENO"; then : 3390 3391 else 3392 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3188 3393 CXXFLAGS="-g" 3189 cat >conftest.$ac_ext <<_ACEOF 3190 /* confdefs.h. */ 3191 _ACEOF 3192 cat confdefs.h >>conftest.$ac_ext 3193 cat >>conftest.$ac_ext <<_ACEOF 3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3194 3395 /* end confdefs.h. */ 3195 3396 … … 3202 3403 } 3203 3404 _ACEOF 3204 rm -f conftest.$ac_objext 3205 if { (ac_try="$ac_compile" 3206 case "(($ac_try" in 3207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3208 *) ac_try_echo=$ac_try;; 3209 esac 3210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3211 (eval "$ac_compile") 2>conftest.er1 3212 ac_status=$? 3213 grep -v '^ *+' conftest.er1 >conftest.err 3214 rm -f conftest.er1 3215 cat conftest.err >&5 3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3217 (exit $ac_status); } && { 3218 test -z "$ac_cxx_werror_flag" || 3219 test ! -s conftest.err 3220 } && test -s conftest.$ac_objext; then 3405 if ac_fn_cxx_try_compile "$LINENO"; then : 3221 3406 ac_cv_prog_cxx_g=yes 3222 else 3223 echo "$as_me: failed program was:" >&5 3224 sed 's/^/| /' conftest.$ac_ext >&5 3225 3226 3227 fi 3228 3407 fi 3229 3408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3230 3409 fi 3231 3232 3410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3233 3411 fi 3234 3235 3412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3236 3413 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3237 3414 fi 3238 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53239 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3416 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3240 3417 if test "$ac_test_CXXFLAGS" = set; then 3241 3418 CXXFLAGS=$ac_save_CXXFLAGS … … 3315 3492 3316 3493 3317 3318 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3319 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 3320 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 3321 echo $ECHO_N "(cached) $ECHO_C" >&6 3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3495 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3496 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 3497 $as_echo_n "(cached) " >&6 3322 3498 else 3323 3499 ac_check_lib_save_LIBS=$LIBS 3324 3500 LIBS="-lpthread $LIBS" 3325 cat >conftest.$ac_ext <<_ACEOF 3326 /* confdefs.h. */ 3327 _ACEOF 3328 cat confdefs.h >>conftest.$ac_ext 3329 cat >>conftest.$ac_ext <<_ACEOF 3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3330 3502 /* end confdefs.h. */ 3331 3503 … … 3345 3517 } 3346 3518 _ACEOF 3347 rm -f conftest.$ac_objext conftest$ac_exeext 3348 if { (ac_try="$ac_link" 3349 case "(($ac_try" in 3350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3351 *) ac_try_echo=$ac_try;; 3352 esac 3353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3354 (eval "$ac_link") 2>conftest.er1 3355 ac_status=$? 3356 grep -v '^ *+' conftest.er1 >conftest.err 3357 rm -f conftest.er1 3358 cat conftest.err >&5 3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3360 (exit $ac_status); } && { 3361 test -z "$ac_c_werror_flag" || 3362 test ! -s conftest.err 3363 } && test -s conftest$ac_exeext && 3364 $as_test_x conftest$ac_exeext; then 3519 if ac_fn_c_try_link "$LINENO"; then : 3365 3520 ac_cv_lib_pthread_pthread_create=yes 3366 3521 else 3367 echo "$as_me: failed program was:" >&5 3368 sed 's/^/| /' conftest.$ac_ext >&5 3369 3370 ac_cv_lib_pthread_pthread_create=no 3371 fi 3372 3373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3374 conftest$ac_exeext conftest.$ac_ext 3522 ac_cv_lib_pthread_pthread_create=no 3523 fi 3524 rm -f core conftest.err conftest.$ac_objext \ 3525 conftest$ac_exeext conftest.$ac_ext 3375 3526 LIBS=$ac_check_lib_save_LIBS 3376 3527 fi 3377 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&53378 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }3379 if test $ac_cv_lib_pthread_pthread_create = yes; then3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 3529 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 3530 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 3380 3531 cat >>confdefs.h <<_ACEOF 3381 3532 #define HAVE_LIBPTHREAD 1 … … 3386 3537 fi 3387 3538 3388 3389 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3390 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 3391 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 3392 echo $ECHO_N "(cached) $ECHO_C" >&6 3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 3540 $as_echo_n "checking for puts in -lwsock32... " >&6; } 3541 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 3542 $as_echo_n "(cached) " >&6 3393 3543 else 3394 3544 ac_check_lib_save_LIBS=$LIBS 3395 3545 LIBS="-lwsock32 $LIBS" 3396 cat >conftest.$ac_ext <<_ACEOF 3397 /* confdefs.h. */ 3398 _ACEOF 3399 cat confdefs.h >>conftest.$ac_ext 3400 cat >>conftest.$ac_ext <<_ACEOF 3546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3401 3547 /* end confdefs.h. */ 3402 3548 … … 3416 3562 } 3417 3563 _ACEOF 3418 rm -f conftest.$ac_objext conftest$ac_exeext 3419 if { (ac_try="$ac_link" 3420 case "(($ac_try" in 3421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3422 *) ac_try_echo=$ac_try;; 3423 esac 3424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3425 (eval "$ac_link") 2>conftest.er1 3426 ac_status=$? 3427 grep -v '^ *+' conftest.er1 >conftest.err 3428 rm -f conftest.er1 3429 cat conftest.err >&5 3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3431 (exit $ac_status); } && { 3432 test -z "$ac_c_werror_flag" || 3433 test ! -s conftest.err 3434 } && test -s conftest$ac_exeext && 3435 $as_test_x conftest$ac_exeext; then 3564 if ac_fn_c_try_link "$LINENO"; then : 3436 3565 ac_cv_lib_wsock32_puts=yes 3437 3566 else 3438 echo "$as_me: failed program was:" >&5 3439 sed 's/^/| /' conftest.$ac_ext >&5 3440 3441 ac_cv_lib_wsock32_puts=no 3442 fi 3443 3444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3445 conftest$ac_exeext conftest.$ac_ext 3567 ac_cv_lib_wsock32_puts=no 3568 fi 3569 rm -f core conftest.err conftest.$ac_objext \ 3570 conftest$ac_exeext conftest.$ac_ext 3446 3571 LIBS=$ac_check_lib_save_LIBS 3447 3572 fi 3448 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&53449 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; }3450 if test $ac_cv_lib_wsock32_puts = yes; then3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 3574 $as_echo "$ac_cv_lib_wsock32_puts" >&6; } 3575 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 3451 3576 cat >>confdefs.h <<_ACEOF 3452 3577 #define HAVE_LIBWSOCK32 1 … … 3457 3582 fi 3458 3583 3459 3460 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3461 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 3462 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 3463 echo $ECHO_N "(cached) $ECHO_C" >&6 3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 3585 $as_echo_n "checking for puts in -lws2_32... " >&6; } 3586 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 3587 $as_echo_n "(cached) " >&6 3464 3588 else 3465 3589 ac_check_lib_save_LIBS=$LIBS 3466 3590 LIBS="-lws2_32 $LIBS" 3467 cat >conftest.$ac_ext <<_ACEOF 3468 /* confdefs.h. */ 3469 _ACEOF 3470 cat confdefs.h >>conftest.$ac_ext 3471 cat >>conftest.$ac_ext <<_ACEOF 3591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3472 3592 /* end confdefs.h. */ 3473 3593 … … 3487 3607 } 3488 3608 _ACEOF 3489 rm -f conftest.$ac_objext conftest$ac_exeext 3490 if { (ac_try="$ac_link" 3491 case "(($ac_try" in 3492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3493 *) ac_try_echo=$ac_try;; 3494 esac 3495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3496 (eval "$ac_link") 2>conftest.er1 3497 ac_status=$? 3498 grep -v '^ *+' conftest.er1 >conftest.err 3499 rm -f conftest.er1 3500 cat conftest.err >&5 3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3502 (exit $ac_status); } && { 3503 test -z "$ac_c_werror_flag" || 3504 test ! -s conftest.err 3505 } && test -s conftest$ac_exeext && 3506 $as_test_x conftest$ac_exeext; then 3609 if ac_fn_c_try_link "$LINENO"; then : 3507 3610 ac_cv_lib_ws2_32_puts=yes 3508 3611 else 3509 echo "$as_me: failed program was:" >&5 3510 sed 's/^/| /' conftest.$ac_ext >&5 3511 3512 ac_cv_lib_ws2_32_puts=no 3513 fi 3514 3515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3516 conftest$ac_exeext conftest.$ac_ext 3612 ac_cv_lib_ws2_32_puts=no 3613 fi 3614 rm -f core conftest.err conftest.$ac_objext \ 3615 conftest$ac_exeext conftest.$ac_ext 3517 3616 LIBS=$ac_check_lib_save_LIBS 3518 3617 fi 3519 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&53520 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; }3521 if test $ac_cv_lib_ws2_32_puts = yes; then3618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 3619 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 3620 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 3522 3621 cat >>confdefs.h <<_ACEOF 3523 3622 #define HAVE_LIBWS2_32 1 … … 3528 3627 fi 3529 3628 3530 3531 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3532 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 3533 if test "${ac_cv_lib_ole32_puts+set}" = set; then 3534 echo $ECHO_N "(cached) $ECHO_C" >&6 3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 3630 $as_echo_n "checking for puts in -lole32... " >&6; } 3631 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 3632 $as_echo_n "(cached) " >&6 3535 3633 else 3536 3634 ac_check_lib_save_LIBS=$LIBS 3537 3635 LIBS="-lole32 $LIBS" 3538 cat >conftest.$ac_ext <<_ACEOF 3539 /* confdefs.h. */ 3540 _ACEOF 3541 cat confdefs.h >>conftest.$ac_ext 3542 cat >>conftest.$ac_ext <<_ACEOF 3636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3543 3637 /* end confdefs.h. */ 3544 3638 … … 3558 3652 } 3559 3653 _ACEOF 3560 rm -f conftest.$ac_objext conftest$ac_exeext 3561 if { (ac_try="$ac_link" 3562 case "(($ac_try" in 3563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3564 *) ac_try_echo=$ac_try;; 3565 esac 3566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3567 (eval "$ac_link") 2>conftest.er1 3568 ac_status=$? 3569 grep -v '^ *+' conftest.er1 >conftest.err 3570 rm -f conftest.er1 3571 cat conftest.err >&5 3572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3573 (exit $ac_status); } && { 3574 test -z "$ac_c_werror_flag" || 3575 test ! -s conftest.err 3576 } && test -s conftest$ac_exeext && 3577 $as_test_x conftest$ac_exeext; then 3654 if ac_fn_c_try_link "$LINENO"; then : 3578 3655 ac_cv_lib_ole32_puts=yes 3579 3656 else 3580 echo "$as_me: failed program was:" >&5 3581 sed 's/^/| /' conftest.$ac_ext >&5 3582 3583 ac_cv_lib_ole32_puts=no 3584 fi 3585 3586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3587 conftest$ac_exeext conftest.$ac_ext 3657 ac_cv_lib_ole32_puts=no 3658 fi 3659 rm -f core conftest.err conftest.$ac_objext \ 3660 conftest$ac_exeext conftest.$ac_ext 3588 3661 LIBS=$ac_check_lib_save_LIBS 3589 3662 fi 3590 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&53591 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; }3592 if test $ac_cv_lib_ole32_puts = yes; then3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 3664 $as_echo "$ac_cv_lib_ole32_puts" >&6; } 3665 if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 3593 3666 cat >>confdefs.h <<_ACEOF 3594 3667 #define HAVE_LIBOLE32 1 … … 3599 3672 fi 3600 3673 3601 3602 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3603 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 3604 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3605 echo $ECHO_N "(cached) $ECHO_C" >&6 3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 3675 $as_echo_n "checking for puts in -lwinmm... " >&6; } 3676 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 3677 $as_echo_n "(cached) " >&6 3606 3678 else 3607 3679 ac_check_lib_save_LIBS=$LIBS 3608 3680 LIBS="-lwinmm $LIBS" 3609 cat >conftest.$ac_ext <<_ACEOF 3610 /* confdefs.h. */ 3611 _ACEOF 3612 cat confdefs.h >>conftest.$ac_ext 3613 cat >>conftest.$ac_ext <<_ACEOF 3681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3614 3682 /* end confdefs.h. */ 3615 3683 … … 3629 3697 } 3630 3698 _ACEOF 3631 rm -f conftest.$ac_objext conftest$ac_exeext 3632 if { (ac_try="$ac_link" 3633 case "(($ac_try" in 3634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3635 *) ac_try_echo=$ac_try;; 3636 esac 3637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3638 (eval "$ac_link") 2>conftest.er1 3639 ac_status=$? 3640 grep -v '^ *+' conftest.er1 >conftest.err 3641 rm -f conftest.er1 3642 cat conftest.err >&5 3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3644 (exit $ac_status); } && { 3645 test -z "$ac_c_werror_flag" || 3646 test ! -s conftest.err 3647 } && test -s conftest$ac_exeext && 3648 $as_test_x conftest$ac_exeext; then 3699 if ac_fn_c_try_link "$LINENO"; then : 3649 3700 ac_cv_lib_winmm_puts=yes 3650 3701 else 3651 echo "$as_me: failed program was:" >&5 3652 sed 's/^/| /' conftest.$ac_ext >&5 3653 3654 ac_cv_lib_winmm_puts=no 3655 fi 3656 3657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3658 conftest$ac_exeext conftest.$ac_ext 3702 ac_cv_lib_winmm_puts=no 3703 fi 3704 rm -f core conftest.err conftest.$ac_objext \ 3705 conftest$ac_exeext conftest.$ac_ext 3659 3706 LIBS=$ac_check_lib_save_LIBS 3660 3707 fi 3661 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&53662 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; }3663 if test $ac_cv_lib_winmm_puts = yes; then3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 3709 $as_echo "$ac_cv_lib_winmm_puts" >&6; } 3710 if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 3664 3711 cat >>confdefs.h <<_ACEOF 3665 3712 #define HAVE_LIBWINMM 1 … … 3670 3717 fi 3671 3718 3672 3673 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3674 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 3675 if test "${ac_cv_lib_socket_puts+set}" = set; then 3676 echo $ECHO_N "(cached) $ECHO_C" >&6 3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 3720 $as_echo_n "checking for puts in -lsocket... " >&6; } 3721 if test "${ac_cv_lib_socket_puts+set}" = set; then : 3722 $as_echo_n "(cached) " >&6 3677 3723 else 3678 3724 ac_check_lib_save_LIBS=$LIBS 3679 3725 LIBS="-lsocket $LIBS" 3680 cat >conftest.$ac_ext <<_ACEOF 3681 /* confdefs.h. */ 3682 _ACEOF 3683 cat confdefs.h >>conftest.$ac_ext 3684 cat >>conftest.$ac_ext <<_ACEOF 3726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3685 3727 /* end confdefs.h. */ 3686 3728 … … 3700 3742 } 3701 3743 _ACEOF 3702 rm -f conftest.$ac_objext conftest$ac_exeext 3703 if { (ac_try="$ac_link" 3704 case "(($ac_try" in 3705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3706 *) ac_try_echo=$ac_try;; 3707 esac 3708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3709 (eval "$ac_link") 2>conftest.er1 3710 ac_status=$? 3711 grep -v '^ *+' conftest.er1 >conftest.err 3712 rm -f conftest.er1 3713 cat conftest.err >&5 3714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3715 (exit $ac_status); } && { 3716 test -z "$ac_c_werror_flag" || 3717 test ! -s conftest.err 3718 } && test -s conftest$ac_exeext && 3719 $as_test_x conftest$ac_exeext; then 3744 if ac_fn_c_try_link "$LINENO"; then : 3720 3745 ac_cv_lib_socket_puts=yes 3721 3746 else 3722 echo "$as_me: failed program was:" >&5 3723 sed 's/^/| /' conftest.$ac_ext >&5 3724 3725 ac_cv_lib_socket_puts=no 3726 fi 3727 3728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3729 conftest$ac_exeext conftest.$ac_ext 3747 ac_cv_lib_socket_puts=no 3748 fi 3749 rm -f core conftest.err conftest.$ac_objext \ 3750 conftest$ac_exeext conftest.$ac_ext 3730 3751 LIBS=$ac_check_lib_save_LIBS 3731 3752 fi 3732 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&53733 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; }3734 if test $ac_cv_lib_socket_puts = yes; then3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 3754 $as_echo "$ac_cv_lib_socket_puts" >&6; } 3755 if test "x$ac_cv_lib_socket_puts" = x""yes; then : 3735 3756 cat >>confdefs.h <<_ACEOF 3736 3757 #define HAVE_LIBSOCKET 1 … … 3741 3762 fi 3742 3763 3743 3744 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3745 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 3746 if test "${ac_cv_lib_rt_puts+set}" = set; then 3747 echo $ECHO_N "(cached) $ECHO_C" >&6 3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 3765 $as_echo_n "checking for puts in -lrt... " >&6; } 3766 if test "${ac_cv_lib_rt_puts+set}" = set; then : 3767 $as_echo_n "(cached) " >&6 3748 3768 else 3749 3769 ac_check_lib_save_LIBS=$LIBS 3750 3770 LIBS="-lrt $LIBS" 3751 cat >conftest.$ac_ext <<_ACEOF 3752 /* confdefs.h. */ 3753 _ACEOF 3754 cat confdefs.h >>conftest.$ac_ext 3755 cat >>conftest.$ac_ext <<_ACEOF 3771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3756 3772 /* end confdefs.h. */ 3757 3773 … … 3771 3787 } 3772 3788 _ACEOF 3773 rm -f conftest.$ac_objext conftest$ac_exeext 3774 if { (ac_try="$ac_link" 3775 case "(($ac_try" in 3776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3777 *) ac_try_echo=$ac_try;; 3778 esac 3779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3780 (eval "$ac_link") 2>conftest.er1 3781 ac_status=$? 3782 grep -v '^ *+' conftest.er1 >conftest.err 3783 rm -f conftest.er1 3784 cat conftest.err >&5 3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3786 (exit $ac_status); } && { 3787 test -z "$ac_c_werror_flag" || 3788 test ! -s conftest.err 3789 } && test -s conftest$ac_exeext && 3790 $as_test_x conftest$ac_exeext; then 3789 if ac_fn_c_try_link "$LINENO"; then : 3791 3790 ac_cv_lib_rt_puts=yes 3792 3791 else 3793 echo "$as_me: failed program was:" >&5 3794 sed 's/^/| /' conftest.$ac_ext >&5 3795 3796 ac_cv_lib_rt_puts=no 3797 fi 3798 3799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3800 conftest$ac_exeext conftest.$ac_ext 3792 ac_cv_lib_rt_puts=no 3793 fi 3794 rm -f core conftest.err conftest.$ac_objext \ 3795 conftest$ac_exeext conftest.$ac_ext 3801 3796 LIBS=$ac_check_lib_save_LIBS 3802 3797 fi 3803 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&53804 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; }3805 if test $ac_cv_lib_rt_puts = yes; then3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 3799 $as_echo "$ac_cv_lib_rt_puts" >&6; } 3800 if test "x$ac_cv_lib_rt_puts" = x""yes; then : 3806 3801 cat >>confdefs.h <<_ACEOF 3807 3802 #define HAVE_LIBRT 1 … … 3812 3807 fi 3813 3808 3814 3815 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3816 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 3817 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3818 echo $ECHO_N "(cached) $ECHO_C" >&6 3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 3810 $as_echo_n "checking for puts in -lnsl... " >&6; } 3811 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 3812 $as_echo_n "(cached) " >&6 3819 3813 else 3820 3814 ac_check_lib_save_LIBS=$LIBS 3821 3815 LIBS="-lnsl $LIBS" 3822 cat >conftest.$ac_ext <<_ACEOF 3823 /* confdefs.h. */ 3824 _ACEOF 3825 cat confdefs.h >>conftest.$ac_ext 3826 cat >>conftest.$ac_ext <<_ACEOF 3816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3827 3817 /* end confdefs.h. */ 3828 3818 … … 3842 3832 } 3843 3833 _ACEOF 3844 rm -f conftest.$ac_objext conftest$ac_exeext 3845 if { (ac_try="$ac_link" 3846 case "(($ac_try" in 3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3848 *) ac_try_echo=$ac_try;; 3849 esac 3850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3851 (eval "$ac_link") 2>conftest.er1 3852 ac_status=$? 3853 grep -v '^ *+' conftest.er1 >conftest.err 3854 rm -f conftest.er1 3855 cat conftest.err >&5 3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3857 (exit $ac_status); } && { 3858 test -z "$ac_c_werror_flag" || 3859 test ! -s conftest.err 3860 } && test -s conftest$ac_exeext && 3861 $as_test_x conftest$ac_exeext; then 3834 if ac_fn_c_try_link "$LINENO"; then : 3862 3835 ac_cv_lib_nsl_puts=yes 3863 3836 else 3864 echo "$as_me: failed program was:" >&5 3865 sed 's/^/| /' conftest.$ac_ext >&5 3866 3867 ac_cv_lib_nsl_puts=no 3868 fi 3869 3870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3871 conftest$ac_exeext conftest.$ac_ext 3837 ac_cv_lib_nsl_puts=no 3838 fi 3839 rm -f core conftest.err conftest.$ac_objext \ 3840 conftest$ac_exeext conftest.$ac_ext 3872 3841 LIBS=$ac_check_lib_save_LIBS 3873 3842 fi 3874 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&53875 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; }3876 if test $ac_cv_lib_nsl_puts = yes; then3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 3844 $as_echo "$ac_cv_lib_nsl_puts" >&6; } 3845 if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 3877 3846 cat >>confdefs.h <<_ACEOF 3878 3847 #define HAVE_LIBNSL 1 … … 3883 3852 fi 3884 3853 3885 3886 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3887 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3888 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3889 echo $ECHO_N "(cached) $ECHO_C" >&6 3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3855 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3856 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3857 $as_echo_n "(cached) " >&6 3890 3858 else 3891 3859 ac_check_lib_save_LIBS=$LIBS 3892 3860 LIBS="-luuid $LIBS" 3893 cat >conftest.$ac_ext <<_ACEOF 3894 /* confdefs.h. */ 3895 _ACEOF 3896 cat confdefs.h >>conftest.$ac_ext 3897 cat >>conftest.$ac_ext <<_ACEOF 3861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3898 3862 /* end confdefs.h. */ 3899 3863 … … 3913 3877 } 3914 3878 _ACEOF 3915 rm -f conftest.$ac_objext conftest$ac_exeext 3916 if { (ac_try="$ac_link" 3917 case "(($ac_try" in 3918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3919 *) ac_try_echo=$ac_try;; 3920 esac 3921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3922 (eval "$ac_link") 2>conftest.er1 3923 ac_status=$? 3924 grep -v '^ *+' conftest.er1 >conftest.err 3925 rm -f conftest.er1 3926 cat conftest.err >&5 3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3928 (exit $ac_status); } && { 3929 test -z "$ac_c_werror_flag" || 3930 test ! -s conftest.err 3931 } && test -s conftest$ac_exeext && 3932 $as_test_x conftest$ac_exeext; then 3879 if ac_fn_c_try_link "$LINENO"; then : 3933 3880 ac_cv_lib_uuid_uuid_generate=yes 3934 3881 else 3935 echo "$as_me: failed program was:" >&5 3936 sed 's/^/| /' conftest.$ac_ext >&5 3937 3938 ac_cv_lib_uuid_uuid_generate=no 3939 fi 3940 3941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3942 conftest$ac_exeext conftest.$ac_ext 3882 ac_cv_lib_uuid_uuid_generate=no 3883 fi 3884 rm -f core conftest.err conftest.$ac_objext \ 3885 conftest$ac_exeext conftest.$ac_ext 3943 3886 LIBS=$ac_check_lib_save_LIBS 3944 3887 fi 3945 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53946 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }3947 if test $ac_cv_lib_uuid_uuid_generate = yes; then3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3889 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3890 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 3948 3891 cat >>confdefs.h <<_ACEOF 3949 3892 #define HAVE_LIBUUID 1 … … 3954 3897 fi 3955 3898 3956 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53957 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; }3958 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3959 echo $ECHO_N "(cached) $ECHO_C" >&63899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3900 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3901 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3902 $as_echo_n "(cached) " >&6 3960 3903 else 3961 3904 ac_check_lib_save_LIBS=$LIBS 3962 3905 LIBS="-luuid $LIBS" 3963 cat >conftest.$ac_ext <<_ACEOF 3964 /* confdefs.h. */ 3965 _ACEOF 3966 cat confdefs.h >>conftest.$ac_ext 3967 cat >>conftest.$ac_ext <<_ACEOF 3906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3968 3907 /* end confdefs.h. */ 3969 3908 … … 3983 3922 } 3984 3923 _ACEOF 3985 rm -f conftest.$ac_objext conftest$ac_exeext 3986 if { (ac_try="$ac_link" 3987 case "(($ac_try" in 3988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3989 *) ac_try_echo=$ac_try;; 3990 esac 3991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3992 (eval "$ac_link") 2>conftest.er1 3993 ac_status=$? 3994 grep -v '^ *+' conftest.er1 >conftest.err 3995 rm -f conftest.er1 3996 cat conftest.err >&5 3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3998 (exit $ac_status); } && { 3999 test -z "$ac_c_werror_flag" || 4000 test ! -s conftest.err 4001 } && test -s conftest$ac_exeext && 4002 $as_test_x conftest$ac_exeext; then 3924 if ac_fn_c_try_link "$LINENO"; then : 4003 3925 ac_cv_lib_uuid_uuid_generate=yes 4004 3926 else 4005 echo "$as_me: failed program was:" >&5 4006 sed 's/^/| /' conftest.$ac_ext >&5 4007 4008 ac_cv_lib_uuid_uuid_generate=no 4009 fi 4010 4011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4012 conftest$ac_exeext conftest.$ac_ext 3927 ac_cv_lib_uuid_uuid_generate=no 3928 fi 3929 rm -f core conftest.err conftest.$ac_objext \ 3930 conftest$ac_exeext conftest.$ac_ext 4013 3931 LIBS=$ac_check_lib_save_LIBS 4014 3932 fi 4015 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&54016 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }4017 if test $ac_cv_lib_uuid_uuid_generate = yes; then3933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3934 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3935 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 4018 3936 ac_has_uuid_lib=1 4019 3937 fi 4020 3938 4021 3939 4022 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&54023 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; }3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 3941 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 4024 3942 cat >>confdefs.h <<_ACEOF 4025 3943 #define PJ_M_NAME "$target_cpu" … … 4027 3945 4028 3946 4029 { echo "$as_me:$LINENO: checking memory alignment" >&54030 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; }3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 3948 $as_echo_n "checking memory alignment... " >&6; } 4031 3949 case $target in 4032 3950 sparc64-* | ia64-* | x86_64-* ) 4033 cat >>confdefs.h <<\_ACEOF 4034 #define PJ_POOL_ALIGNMENT 8 4035 _ACEOF 4036 4037 { echo "$as_me:$LINENO: result: 8 bytes" >&5 4038 echo "${ECHO_T}8 bytes" >&6; } 3951 $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 3952 3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 3954 $as_echo "8 bytes" >&6; } 4039 3955 ;; 4040 3956 * ) 4041 cat >>confdefs.h <<\_ACEOF 4042 #define PJ_POOL_ALIGNMENT 4 4043 _ACEOF 4044 4045 { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 4046 echo "${ECHO_T}4 bytes (default)" >&6; } 3957 $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 3958 3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 3960 $as_echo "4 bytes (default)" >&6; } 4047 3961 ;; 4048 3962 esac … … 4054 3968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4055 3969 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4056 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&54057 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3971 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4058 3972 # On Suns, sometimes $CPP names a directory. 4059 3973 if test -n "$CPP" && test -d "$CPP"; then … … 4061 3975 fi 4062 3976 if test -z "$CPP"; then 4063 if test "${ac_cv_prog_CPP+set}" = set; then 4064 echo $ECHO_N "(cached) $ECHO_C" >&63977 if test "${ac_cv_prog_CPP+set}" = set; then : 3978 $as_echo_n "(cached) " >&6 4065 3979 else 4066 3980 # Double quotes because CPP needs to be expanded … … 4076 3990 # On the NeXT, cc -E runs the code through the compiler's parser, 4077 3991 # not just through cpp. "Syntax error" is here to catch this case. 4078 cat >conftest.$ac_ext <<_ACEOF 4079 /* confdefs.h. */ 4080 _ACEOF 4081 cat confdefs.h >>conftest.$ac_ext 4082 cat >>conftest.$ac_ext <<_ACEOF 3992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4083 3993 /* end confdefs.h. */ 4084 3994 #ifdef __STDC__ … … 4089 3999 Syntax error 4090 4000 _ACEOF 4091 if { (ac_try="$ac_cpp conftest.$ac_ext" 4092 case "(($ac_try" in 4093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4094 *) ac_try_echo=$ac_try;; 4095 esac 4096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4098 ac_status=$? 4099 grep -v '^ *+' conftest.er1 >conftest.err 4100 rm -f conftest.er1 4101 cat conftest.err >&5 4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4103 (exit $ac_status); } >/dev/null && { 4104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4105 test ! -s conftest.err 4106 }; then 4107 : 4108 else 4109 echo "$as_me: failed program was:" >&5 4110 sed 's/^/| /' conftest.$ac_ext >&5 4111 4001 if ac_fn_c_try_cpp "$LINENO"; then : 4002 4003 else 4112 4004 # Broken: fails on valid input. 4113 4005 continue 4114 4006 fi 4115 4116 4007 rm -f conftest.err conftest.$ac_ext 4117 4008 4118 4009 # OK, works on sane cases. Now check whether nonexistent headers 4119 4010 # can be detected and how. 4120 cat >conftest.$ac_ext <<_ACEOF 4121 /* confdefs.h. */ 4122 _ACEOF 4123 cat confdefs.h >>conftest.$ac_ext 4124 cat >>conftest.$ac_ext <<_ACEOF 4011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4125 4012 /* end confdefs.h. */ 4126 4013 #include <ac_nonexistent.h> 4127 4014 _ACEOF 4128 if { (ac_try="$ac_cpp conftest.$ac_ext" 4129 case "(($ac_try" in 4130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4131 *) ac_try_echo=$ac_try;; 4132 esac 4133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4134 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4135 ac_status=$? 4136 grep -v '^ *+' conftest.er1 >conftest.err 4137 rm -f conftest.er1 4138 cat conftest.err >&5 4139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4140 (exit $ac_status); } >/dev/null && { 4141 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4142 test ! -s conftest.err 4143 }; then 4015 if ac_fn_c_try_cpp "$LINENO"; then : 4144 4016 # Broken: success on invalid input. 4145 4017 continue 4146 4018 else 4147 echo "$as_me: failed program was:" >&54148 sed 's/^/| /' conftest.$ac_ext >&54149 4150 4019 # Passes both tests. 4151 4020 ac_preproc_ok=: 4152 4021 break 4153 4022 fi 4154 4155 4023 rm -f conftest.err conftest.$ac_ext 4156 4024 … … 4158 4026 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4159 4027 rm -f conftest.err conftest.$ac_ext 4160 if $ac_preproc_ok; then 4028 if $ac_preproc_ok; then : 4161 4029 break 4162 4030 fi … … 4170 4038 ac_cv_prog_CPP=$CPP 4171 4039 fi 4172 { echo "$as_me:$LINENO: result: $CPP" >&54173 echo "${ECHO_T}$CPP" >&6; }4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4041 $as_echo "$CPP" >&6; } 4174 4042 ac_preproc_ok=false 4175 4043 for ac_c_preproc_warn_flag in '' yes … … 4181 4049 # On the NeXT, cc -E runs the code through the compiler's parser, 4182 4050 # not just through cpp. "Syntax error" is here to catch this case. 4183 cat >conftest.$ac_ext <<_ACEOF 4184 /* confdefs.h. */ 4185 _ACEOF 4186 cat confdefs.h >>conftest.$ac_ext 4187 cat >>conftest.$ac_ext <<_ACEOF 4051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4188 4052 /* end confdefs.h. */ 4189 4053 #ifdef __STDC__ … … 4194 4058 Syntax error 4195 4059 _ACEOF 4196 if { (ac_try="$ac_cpp conftest.$ac_ext" 4197 case "(($ac_try" in 4198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4199 *) ac_try_echo=$ac_try;; 4200 esac 4201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4202 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4203 ac_status=$? 4204 grep -v '^ *+' conftest.er1 >conftest.err 4205 rm -f conftest.er1 4206 cat conftest.err >&5 4207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4208 (exit $ac_status); } >/dev/null && { 4209 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4210 test ! -s conftest.err 4211 }; then 4212 : 4213 else 4214 echo "$as_me: failed program was:" >&5 4215 sed 's/^/| /' conftest.$ac_ext >&5 4216 4060 if ac_fn_c_try_cpp "$LINENO"; then : 4061 4062 else 4217 4063 # Broken: fails on valid input. 4218 4064 continue 4219 4065 fi 4220 4221 4066 rm -f conftest.err conftest.$ac_ext 4222 4067 4223 4068 # OK, works on sane cases. Now check whether nonexistent headers 4224 4069 # can be detected and how. 4225 cat >conftest.$ac_ext <<_ACEOF 4226 /* confdefs.h. */ 4227 _ACEOF 4228 cat confdefs.h >>conftest.$ac_ext 4229 cat >>conftest.$ac_ext <<_ACEOF 4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4230 4071 /* end confdefs.h. */ 4231 4072 #include <ac_nonexistent.h> 4232 4073 _ACEOF 4233 if { (ac_try="$ac_cpp conftest.$ac_ext" 4234 case "(($ac_try" in 4235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4236 *) ac_try_echo=$ac_try;; 4237 esac 4238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4239 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4240 ac_status=$? 4241 grep -v '^ *+' conftest.er1 >conftest.err 4242 rm -f conftest.er1 4243 cat conftest.err >&5 4244 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4245 (exit $ac_status); } >/dev/null && { 4246 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4247 test ! -s conftest.err 4248 }; then 4074 if ac_fn_c_try_cpp "$LINENO"; then : 4249 4075 # Broken: success on invalid input. 4250 4076 continue 4251 4077 else 4252 echo "$as_me: failed program was:" >&54253 sed 's/^/| /' conftest.$ac_ext >&54254 4255 4078 # Passes both tests. 4256 4079 ac_preproc_ok=: 4257 4080 break 4258 4081 fi 4259 4260 4082 rm -f conftest.err conftest.$ac_ext 4261 4083 … … 4263 4085 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4264 4086 rm -f conftest.err conftest.$ac_ext 4265 if $ac_preproc_ok; then 4266 : 4267 else 4268 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4269 See \`config.log' for more details." >&5 4270 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4271 See \`config.log' for more details." >&2;} 4272 { (exit 1); exit 1; }; } 4087 if $ac_preproc_ok; then : 4088 4089 else 4090 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4092 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4093 See \`config.log' for more details." "$LINENO" 5; } 4273 4094 fi 4274 4095 … … 4280 4101 4281 4102 4282 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4283 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4284 if test "${ac_cv_path_GREP+set}" = set; then 4285 echo $ECHO_N "(cached) $ECHO_C" >&6 4286 else 4287 # Extract the first word of "grep ggrep" to use in msg output 4288 if test -z "$GREP"; then 4289 set dummy grep ggrep; ac_prog_name=$2 4290 if test "${ac_cv_path_GREP+set}" = set; then 4291 echo $ECHO_N "(cached) $ECHO_C" >&6 4292 else 4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4104 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4105 if test "${ac_cv_path_GREP+set}" = set; then : 4106 $as_echo_n "(cached) " >&6 4107 else 4108 if test -z "$GREP"; then 4293 4109 ac_path_GREP_found=false 4294 # Loop through the user's path and test for each of PROGNAME-LIST4295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4110 # Loop through the user's path and test for each of PROGNAME-LIST 4111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4296 4112 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4297 4113 do 4298 4114 IFS=$as_save_IFS 4299 4115 test -z "$as_dir" && as_dir=. 4300 for ac_prog in grep ggrep; do4301 for ac_exec_ext in '' $ac_executable_extensions; do4302 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4303 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4304 4116 for ac_prog in grep ggrep; do 4117 for ac_exec_ext in '' $ac_executable_extensions; do 4118 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4119 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4120 # Check for GNU ac_path_GREP and select it if it is found. 4305 4121 # Check for GNU $ac_path_GREP 4306 4122 case `"$ac_path_GREP" --version 2>&1` in … … 4309 4125 *) 4310 4126 ac_count=0 4311 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4127 $as_echo_n 0123456789 >"conftest.in" 4312 4128 while : 4313 4129 do … … 4315 4131 mv "conftest.tmp" "conftest.in" 4316 4132 cp "conftest.in" "conftest.nl" 4317 echo 'GREP' >> "conftest.nl"4133 $as_echo 'GREP' >> "conftest.nl" 4318 4134 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4319 4135 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4320 a c_count=`expr $ac_count + 1`4136 as_fn_arith $ac_count + 1 && ac_count=$as_val 4321 4137 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4322 4138 # Best one so far, save it but keep looking for a better one … … 4330 4146 esac 4331 4147 4332 4333 $ac_path_GREP_found && break 34148 $ac_path_GREP_found && break 3 4149 done 4334 4150 done 4335 done 4336 4337 done 4151 done 4338 4152 IFS=$as_save_IFS 4339 4340 4341 fi 4342 4343 GREP="$ac_cv_path_GREP" 4344 if test -z "$GREP"; then 4345 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4346 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4347 { (exit 1); exit 1; }; } 4348 fi 4349 4153 if test -z "$ac_cv_path_GREP"; then 4154 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4155 fi 4350 4156 else 4351 4157 ac_cv_path_GREP=$GREP 4352 4158 fi 4353 4159 4354 4355 fi 4356 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4357 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4160 fi 4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4162 $as_echo "$ac_cv_path_GREP" >&6; } 4358 4163 GREP="$ac_cv_path_GREP" 4359 4164 4360 4165 4361 { echo "$as_me:$LINENO: checking for egrep" >&54362 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4363 if test "${ac_cv_path_EGREP+set}" = set; then 4364 echo $ECHO_N "(cached) $ECHO_C" >&64166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4167 $as_echo_n "checking for egrep... " >&6; } 4168 if test "${ac_cv_path_EGREP+set}" = set; then : 4169 $as_echo_n "(cached) " >&6 4365 4170 else 4366 4171 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4367 4172 then ac_cv_path_EGREP="$GREP -E" 4368 4173 else 4369 # Extract the first word of "egrep" to use in msg output 4370 if test -z "$EGREP"; then 4371 set dummy egrep; ac_prog_name=$2 4372 if test "${ac_cv_path_EGREP+set}" = set; then 4373 echo $ECHO_N "(cached) $ECHO_C" >&6 4374 else 4174 if test -z "$EGREP"; then 4375 4175 ac_path_EGREP_found=false 4376 # Loop through the user's path and test for each of PROGNAME-LIST4377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4176 # Loop through the user's path and test for each of PROGNAME-LIST 4177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4378 4178 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4379 4179 do 4380 4180 IFS=$as_save_IFS 4381 4181 test -z "$as_dir" && as_dir=. 4382 for ac_prog in egrep; do4383 for ac_exec_ext in '' $ac_executable_extensions; do4384 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4385 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4386 4182 for ac_prog in egrep; do 4183 for ac_exec_ext in '' $ac_executable_extensions; do 4184 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4185 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4186 # Check for GNU ac_path_EGREP and select it if it is found. 4387 4187 # Check for GNU $ac_path_EGREP 4388 4188 case `"$ac_path_EGREP" --version 2>&1` in … … 4391 4191 *) 4392 4192 ac_count=0 4393 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4193 $as_echo_n 0123456789 >"conftest.in" 4394 4194 while : 4395 4195 do … … 4397 4197 mv "conftest.tmp" "conftest.in" 4398 4198 cp "conftest.in" "conftest.nl" 4399 echo 'EGREP' >> "conftest.nl"4199 $as_echo 'EGREP' >> "conftest.nl" 4400 4200 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4401 4201 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4402 a c_count=`expr $ac_count + 1`4202 as_fn_arith $ac_count + 1 && ac_count=$as_val 4403 4203 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4404 4204 # Best one so far, save it but keep looking for a better one … … 4412 4212 esac 4413 4213 4414 4415 $ac_path_EGREP_found && break 34214 $ac_path_EGREP_found && break 3 4215 done 4416 4216 done 4417 done 4418 4419 done 4217 done 4420 4218 IFS=$as_save_IFS 4421 4422 4423 fi 4424 4425 EGREP="$ac_cv_path_EGREP" 4426 if test -z "$EGREP"; then 4427 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4428 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4429 { (exit 1); exit 1; }; } 4430 fi 4431 4219 if test -z "$ac_cv_path_EGREP"; then 4220 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4221 fi 4432 4222 else 4433 4223 ac_cv_path_EGREP=$EGREP 4434 4224 fi 4435 4225 4436 4437 4226 fi 4438 4227 fi 4439 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54440 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4229 $as_echo "$ac_cv_path_EGREP" >&6; } 4441 4230 EGREP="$ac_cv_path_EGREP" 4442 4231 4443 4232 4444 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4445 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4446 if test "${ac_cv_header_stdc+set}" = set; then 4447 echo $ECHO_N "(cached) $ECHO_C" >&6 4448 else 4449 cat >conftest.$ac_ext <<_ACEOF 4450 /* confdefs.h. */ 4451 _ACEOF 4452 cat confdefs.h >>conftest.$ac_ext 4453 cat >>conftest.$ac_ext <<_ACEOF 4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4234 $as_echo_n "checking for ANSI C header files... " >&6; } 4235 if test "${ac_cv_header_stdc+set}" = set; then : 4236 $as_echo_n "(cached) " >&6 4237 else 4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4454 4239 /* end confdefs.h. */ 4455 4240 #include <stdlib.h> … … 4466 4251 } 4467 4252 _ACEOF 4468 rm -f conftest.$ac_objext 4469 if { (ac_try="$ac_compile" 4470 case "(($ac_try" in 4471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4472 *) ac_try_echo=$ac_try;; 4473 esac 4474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4475 (eval "$ac_compile") 2>conftest.er1 4476 ac_status=$? 4477 grep -v '^ *+' conftest.er1 >conftest.err 4478 rm -f conftest.er1 4479 cat conftest.err >&5 4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4481 (exit $ac_status); } && { 4482 test -z "$ac_c_werror_flag" || 4483 test ! -s conftest.err 4484 } && test -s conftest.$ac_objext; then 4253 if ac_fn_c_try_compile "$LINENO"; then : 4485 4254 ac_cv_header_stdc=yes 4486 4255 else 4487 echo "$as_me: failed program was:" >&5 4488 sed 's/^/| /' conftest.$ac_ext >&5 4489 4490 ac_cv_header_stdc=no 4491 fi 4492 4256 ac_cv_header_stdc=no 4257 fi 4493 4258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4494 4259 4495 4260 if test $ac_cv_header_stdc = yes; then 4496 4261 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4497 cat >conftest.$ac_ext <<_ACEOF 4498 /* confdefs.h. */ 4499 _ACEOF 4500 cat confdefs.h >>conftest.$ac_ext 4501 cat >>conftest.$ac_ext <<_ACEOF 4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4502 4263 /* end confdefs.h. */ 4503 4264 #include <string.h> … … 4505 4266 _ACEOF 4506 4267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4507 $EGREP "memchr" >/dev/null 2>&1; then 4508 : 4268 $EGREP "memchr" >/dev/null 2>&1; then : 4269 4509 4270 else 4510 4271 ac_cv_header_stdc=no 4511 4272 fi 4512 rm -f -rconftest*4273 rm -f conftest* 4513 4274 4514 4275 fi … … 4516 4277 if test $ac_cv_header_stdc = yes; then 4517 4278 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4518 cat >conftest.$ac_ext <<_ACEOF 4519 /* confdefs.h. */ 4520 _ACEOF 4521 cat confdefs.h >>conftest.$ac_ext 4522 cat >>conftest.$ac_ext <<_ACEOF 4279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4523 4280 /* end confdefs.h. */ 4524 4281 #include <stdlib.h> … … 4526 4283 _ACEOF 4527 4284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4528 $EGREP "free" >/dev/null 2>&1; then 4529 : 4285 $EGREP "free" >/dev/null 2>&1; then : 4286 4530 4287 else 4531 4288 ac_cv_header_stdc=no 4532 4289 fi 4533 rm -f -rconftest*4290 rm -f conftest* 4534 4291 4535 4292 fi … … 4537 4294 if test $ac_cv_header_stdc = yes; then 4538 4295 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4539 if test "$cross_compiling" = yes; then 4296 if test "$cross_compiling" = yes; then : 4540 4297 : 4541 4298 else 4542 cat >conftest.$ac_ext <<_ACEOF 4543 /* confdefs.h. */ 4544 _ACEOF 4545 cat confdefs.h >>conftest.$ac_ext 4546 cat >>conftest.$ac_ext <<_ACEOF 4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4547 4300 /* end confdefs.h. */ 4548 4301 #include <ctype.h> … … 4571 4324 } 4572 4325 _ACEOF 4573 rm -f conftest$ac_exeext 4574 if { (ac_try="$ac_link" 4575 case "(($ac_try" in 4576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4577 *) ac_try_echo=$ac_try;; 4578 esac 4579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4580 (eval "$ac_link") 2>&5 4581 ac_status=$? 4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4583 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4584 { (case "(($ac_try" in 4585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4586 *) ac_try_echo=$ac_try;; 4587 esac 4588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4589 (eval "$ac_try") 2>&5 4590 ac_status=$? 4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4592 (exit $ac_status); }; }; then 4593 : 4594 else 4595 echo "$as_me: program exited with status $ac_status" >&5 4596 echo "$as_me: failed program was:" >&5 4597 sed 's/^/| /' conftest.$ac_ext >&5 4598 4599 ( exit $ac_status ) 4600 ac_cv_header_stdc=no 4601 fi 4602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4603 fi 4604 4605 4606 fi 4607 fi 4608 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4609 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4326 if ac_fn_c_try_run "$LINENO"; then : 4327 4328 else 4329 ac_cv_header_stdc=no 4330 fi 4331 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4332 conftest.$ac_objext conftest.beam conftest.$ac_ext 4333 fi 4334 4335 fi 4336 fi 4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4338 $as_echo "$ac_cv_header_stdc" >&6; } 4610 4339 if test $ac_cv_header_stdc = yes; then 4611 4340 4612 cat >>confdefs.h <<\_ACEOF 4613 #define STDC_HEADERS 1 4614 _ACEOF 4341 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4615 4342 4616 4343 fi 4617 4344 4618 4345 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4346 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4629 4347 inttypes.h stdint.h unistd.h 4630 do 4631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4632 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4634 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4635 echo $ECHO_N "(cached) $ECHO_C" >&6 4636 else 4637 cat >conftest.$ac_ext <<_ACEOF 4638 /* confdefs.h. */ 4639 _ACEOF 4640 cat confdefs.h >>conftest.$ac_ext 4641 cat >>conftest.$ac_ext <<_ACEOF 4348 do : 4349 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4350 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4351 " 4352 eval as_val=\$$as_ac_Header 4353 if test "x$as_val" = x""yes; then : 4354 cat >>confdefs.h <<_ACEOF 4355 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4356 _ACEOF 4357 4358 fi 4359 4360 done 4361 4362 4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4364 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4365 if test "${ac_cv_c_bigendian+set}" = set; then : 4366 $as_echo_n "(cached) " >&6 4367 else 4368 ac_cv_c_bigendian=unknown 4369 # See if we're dealing with a universal compiler. 4370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4642 4371 /* end confdefs.h. */ 4643 $ac_includes_default 4644 4645 #include <$ac_header> 4646 _ACEOF 4647 rm -f conftest.$ac_objext 4648 if { (ac_try="$ac_compile" 4649 case "(($ac_try" in 4650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4651 *) ac_try_echo=$ac_try;; 4652 esac 4653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4654 (eval "$ac_compile") 2>conftest.er1 4655 ac_status=$? 4656 grep -v '^ *+' conftest.er1 >conftest.err 4657 rm -f conftest.er1 4658 cat conftest.err >&5 4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4660 (exit $ac_status); } && { 4661 test -z "$ac_c_werror_flag" || 4662 test ! -s conftest.err 4663 } && test -s conftest.$ac_objext; then 4664 eval "$as_ac_Header=yes" 4665 else 4666 echo "$as_me: failed program was:" >&5 4667 sed 's/^/| /' conftest.$ac_ext >&5 4668 4669 eval "$as_ac_Header=no" 4670 fi 4671 4372 #ifndef __APPLE_CC__ 4373 not a universal capable compiler 4374 #endif 4375 typedef int dummy; 4376 4377 _ACEOF 4378 if ac_fn_c_try_compile "$LINENO"; then : 4379 4380 # Check for potential -arch flags. It is not universal unless 4381 # there are at least two -arch flags with different values. 4382 ac_arch= 4383 ac_prev= 4384 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4385 if test -n "$ac_prev"; then 4386 case $ac_word in 4387 i?86 | x86_64 | ppc | ppc64) 4388 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4389 ac_arch=$ac_word 4390 else 4391 ac_cv_c_bigendian=universal 4392 break 4393 fi 4394 ;; 4395 esac 4396 ac_prev= 4397 elif test "x$ac_word" = "x-arch"; then 4398 ac_prev=arch 4399 fi 4400 done 4401 fi 4672 4402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4673 fi 4674 ac_res=`eval echo '${'$as_ac_Header'}'` 4675 { echo "$as_me:$LINENO: result: $ac_res" >&5 4676 echo "${ECHO_T}$ac_res" >&6; } 4677 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4678 cat >>confdefs.h <<_ACEOF 4679 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4680 _ACEOF 4681 4682 fi 4683 4684 done 4685 4686 4687 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4688 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4689 if test "${ac_cv_c_bigendian+set}" = set; then 4690 echo $ECHO_N "(cached) $ECHO_C" >&6 4691 else 4692 # See if sys/param.h defines the BYTE_ORDER macro. 4693 cat >conftest.$ac_ext <<_ACEOF 4694 /* confdefs.h. */ 4695 _ACEOF 4696 cat confdefs.h >>conftest.$ac_ext 4697 cat >>conftest.$ac_ext <<_ACEOF 4403 if test $ac_cv_c_bigendian = unknown; then 4404 # See if sys/param.h defines the BYTE_ORDER macro. 4405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4698 4406 /* end confdefs.h. */ 4699 4407 #include <sys/types.h> 4700 #include <sys/param.h>4408 #include <sys/param.h> 4701 4409 4702 4410 int 4703 4411 main () 4704 4412 { 4705 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4706 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4707 bogus endian macros 4708 #endif 4413 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4414 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4415 && LITTLE_ENDIAN) 4416 bogus endian macros 4417 #endif 4709 4418 4710 4419 ; … … 4712 4421 } 4713 4422 _ACEOF 4714 rm -f conftest.$ac_objext 4715 if { (ac_try="$ac_compile" 4716 case "(($ac_try" in 4717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4718 *) ac_try_echo=$ac_try;; 4719 esac 4720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4721 (eval "$ac_compile") 2>conftest.er1 4722 ac_status=$? 4723 grep -v '^ *+' conftest.er1 >conftest.err 4724 rm -f conftest.er1 4725 cat conftest.err >&5 4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4727 (exit $ac_status); } && { 4728 test -z "$ac_c_werror_flag" || 4729 test ! -s conftest.err 4730 } && test -s conftest.$ac_objext; then 4423 if ac_fn_c_try_compile "$LINENO"; then : 4731 4424 # It does; now see whether it defined to BIG_ENDIAN or not. 4732 cat >conftest.$ac_ext <<_ACEOF 4733 /* confdefs.h. */ 4734 _ACEOF 4735 cat confdefs.h >>conftest.$ac_ext 4736 cat >>conftest.$ac_ext <<_ACEOF 4425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4737 4426 /* end confdefs.h. */ 4738 4427 #include <sys/types.h> 4739 #include <sys/param.h>4428 #include <sys/param.h> 4740 4429 4741 4430 int … … 4743 4432 { 4744 4433 #if BYTE_ORDER != BIG_ENDIAN 4745 not big endian4746 #endif4434 not big endian 4435 #endif 4747 4436 4748 4437 ; … … 4750 4439 } 4751 4440 _ACEOF 4752 rm -f conftest.$ac_objext 4753 if { (ac_try="$ac_compile" 4754 case "(($ac_try" in 4755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4756 *) ac_try_echo=$ac_try;; 4757 esac 4758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4759 (eval "$ac_compile") 2>conftest.er1 4760 ac_status=$? 4761 grep -v '^ *+' conftest.er1 >conftest.err 4762 rm -f conftest.er1 4763 cat conftest.err >&5 4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4765 (exit $ac_status); } && { 4766 test -z "$ac_c_werror_flag" || 4767 test ! -s conftest.err 4768 } && test -s conftest.$ac_objext; then 4441 if ac_fn_c_try_compile "$LINENO"; then : 4769 4442 ac_cv_c_bigendian=yes 4770 4443 else 4771 echo "$as_me: failed program was:" >&5 4772 sed 's/^/| /' conftest.$ac_ext >&5 4773 4774 ac_cv_c_bigendian=no 4775 fi 4776 4444 ac_cv_c_bigendian=no 4445 fi 4777 4446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4778 else 4779 echo "$as_me: failed program was:" >&5 4780 sed 's/^/| /' conftest.$ac_ext >&5 4781 4782 # It does not; compile a test program. 4783 if test "$cross_compiling" = yes; then 4784 # try to guess the endianness by grepping values into an object file 4785 ac_cv_c_bigendian=unknown 4786 cat >conftest.$ac_ext <<_ACEOF 4787 /* confdefs.h. */ 4788 _ACEOF 4789 cat confdefs.h >>conftest.$ac_ext 4790 cat >>conftest.$ac_ext <<_ACEOF 4447 fi 4448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4449 fi 4450 if test $ac_cv_c_bigendian = unknown; then 4451 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4791 4453 /* end confdefs.h. */ 4792 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4793 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4794 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 4795 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4796 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4797 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 4454 #include <limits.h> 4455 4798 4456 int 4799 4457 main () 4800 4458 { 4801 _ascii (); _ebcdic (); 4459 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4460 bogus endian macros 4461 #endif 4462 4802 4463 ; 4803 4464 return 0; 4804 4465 } 4805 4466 _ACEOF 4806 rm -f conftest.$ac_objext 4807 if { (ac_try="$ac_compile" 4808 case "(($ac_try" in 4809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4810 *) ac_try_echo=$ac_try;; 4811 esac 4812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4813 (eval "$ac_compile") 2>conftest.er1 4814 ac_status=$? 4815 grep -v '^ *+' conftest.er1 >conftest.err 4816 rm -f conftest.er1 4817 cat conftest.err >&5 4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4819 (exit $ac_status); } && {4820 test -z "$ac_c_werror_flag" || 4821 test ! -s conftest.err 4822 } && test -s conftest.$ac_objext; then 4823 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4467 if ac_fn_c_try_compile "$LINENO"; then : 4468 # It does; now see whether it defined to _BIG_ENDIAN or not. 4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4470 /* end confdefs.h. */ 4471 #include <limits.h> 4472 4473 int 4474 main () 4475 { 4476 #ifndef _BIG_ENDIAN 4477 not big endian 4478 #endif 4479 4480 ; 4481 return 0; 4482 } 4483 _ACEOF 4484 if ac_fn_c_try_compile "$LINENO"; then : 4824 4485 ac_cv_c_bigendian=yes 4825 fi 4826 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4827 if test "$ac_cv_c_bigendian" = unknown; then 4828 ac_cv_c_bigendian=no 4829 else 4830 # finding both strings is unlikely to happen, but who knows? 4831 ac_cv_c_bigendian=unknown 4832 fi 4833 fi 4834 else 4835 echo "$as_me: failed program was:" >&5 4836 sed 's/^/| /' conftest.$ac_ext >&5 4837 4838 4839 fi 4840 4486 else 4487 ac_cv_c_bigendian=no 4488 fi 4841 4489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4842 else 4843 cat >conftest.$ac_ext <<_ACEOF 4844 /* confdefs.h. */ 4845 _ACEOF 4846 cat confdefs.h >>conftest.$ac_ext 4847 cat >>conftest.$ac_ext <<_ACEOF 4490 fi 4491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4492 fi 4493 if test $ac_cv_c_bigendian = unknown; then 4494 # Compile a test program. 4495 if test "$cross_compiling" = yes; then : 4496 # Try to guess by grepping values from an object file. 4497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4498 /* end confdefs.h. */ 4499 short int ascii_mm[] = 4500 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4501 short int ascii_ii[] = 4502 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4503 int use_ascii (int i) { 4504 return ascii_mm[i] + ascii_ii[i]; 4505 } 4506 short int ebcdic_ii[] = 4507 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4508 short int ebcdic_mm[] = 4509 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4510 int use_ebcdic (int i) { 4511 return ebcdic_mm[i] + ebcdic_ii[i]; 4512 } 4513 extern int foo; 4514 4515 int 4516 main () 4517 { 4518 return use_ascii (foo) == use_ebcdic (foo); 4519 ; 4520 return 0; 4521 } 4522 _ACEOF 4523 if ac_fn_c_try_compile "$LINENO"; then : 4524 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4525 ac_cv_c_bigendian=yes 4526 fi 4527 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4528 if test "$ac_cv_c_bigendian" = unknown; then 4529 ac_cv_c_bigendian=no 4530 else 4531 # finding both strings is unlikely to happen, but who knows? 4532 ac_cv_c_bigendian=unknown 4533 fi 4534 fi 4535 fi 4536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4537 else 4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4848 4539 /* end confdefs.h. */ 4849 4540 $ac_includes_default … … 4852 4543 { 4853 4544 4854 /* Are we little or big endian? From Harbison&Steele. */4855 union4856 {4857 long int l;4858 char c[sizeof (long int)];4859 } u;4860 u.l = 1;4861 return u.c[sizeof (long int) - 1] == 1;4545 /* Are we little or big endian? From Harbison&Steele. */ 4546 union 4547 { 4548 long int l; 4549 char c[sizeof (long int)]; 4550 } u; 4551 u.l = 1; 4552 return u.c[sizeof (long int) - 1] == 1; 4862 4553 4863 4554 ; … … 4865 4556 } 4866 4557 _ACEOF 4867 rm -f conftest$ac_exeext 4868 if { (ac_try="$ac_link" 4869 case "(($ac_try" in 4870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4871 *) ac_try_echo=$ac_try;; 4872 esac 4873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4874 (eval "$ac_link") 2>&5 4875 ac_status=$? 4876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4877 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4878 { (case "(($ac_try" in 4879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4880 *) ac_try_echo=$ac_try;; 4881 esac 4882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4883 (eval "$ac_try") 2>&5 4884 ac_status=$? 4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4886 (exit $ac_status); }; }; then 4558 if ac_fn_c_try_run "$LINENO"; then : 4887 4559 ac_cv_c_bigendian=no 4888 4560 else 4889 echo "$as_me: program exited with status $ac_status" >&5 4890 echo "$as_me: failed program was:" >&5 4891 sed 's/^/| /' conftest.$ac_ext >&5 4892 4893 ( exit $ac_status ) 4894 ac_cv_c_bigendian=yes 4895 fi 4896 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4897 fi 4898 4899 4900 fi 4901 4902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4903 fi 4904 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4905 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4906 case $ac_cv_c_bigendian in 4907 yes) 4908 4909 cat >>confdefs.h <<\_ACEOF 4910 #define WORDS_BIGENDIAN 1 4911 _ACEOF 4912 ;; 4913 no) 4914 ;; 4915 *) 4916 { { echo "$as_me:$LINENO: error: unknown endianness 4917 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4918 echo "$as_me: error: unknown endianness 4919 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4920 { (exit 1); exit 1; }; } ;; 4921 esac 4561 ac_cv_c_bigendian=yes 4562 fi 4563 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4564 conftest.$ac_objext conftest.beam conftest.$ac_ext 4565 fi 4566 4567 fi 4568 fi 4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4570 $as_echo "$ac_cv_c_bigendian" >&6; } 4571 case $ac_cv_c_bigendian in #( 4572 yes) 4573 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4574 ;; #( 4575 no) 4576 ;; #( 4577 universal) 4578 4579 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4580 4581 ;; #( 4582 *) 4583 as_fn_error "unknown endianness 4584 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4585 esac 4922 4586 4923 4587 … … 4930 4594 case $target in 4931 4595 *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 4596 $as_echo "#define PJ_WIN32 1" >>confdefs.h 4597 4598 $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 4599 4600 $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 4943 4601 4944 4602 ;; 4945 4603 *darwin*) 4946 cat >>confdefs.h <<\_ACEOF 4947 #define PJ_DARWINOS 1 4948 _ACEOF 4604 $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 4949 4605 4950 4606 ;; 4951 4607 *linux*) 4952 cat >>confdefs.h <<\_ACEOF 4953 #define PJ_LINUX 1 4954 _ACEOF 4608 $as_echo "#define PJ_LINUX 1" >>confdefs.h 4955 4609 4956 4610 ;; 4957 4611 *rtems*) 4958 cat >>confdefs.h <<\_ACEOF 4959 #define PJ_RTEMS 1 4960 _ACEOF 4612 $as_echo "#define PJ_RTEMS 1" >>confdefs.h 4961 4613 4962 4614 ;; 4963 4615 *sunos* | *solaris* ) 4964 cat >>confdefs.h <<\_ACEOF 4965 #define PJ_SUNOS 1 4966 _ACEOF 4616 $as_echo "#define PJ_SUNOS 1" >>confdefs.h 4967 4617 4968 4618 ;; … … 4975 4625 4976 4626 # Check whether --enable-floating-point was given. 4977 if test "${enable_floating_point+set}" = set; then 4627 if test "${enable_floating_point+set}" = set; then : 4978 4628 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; } 4629 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 4630 4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 4632 $as_echo "Checking if floating point is disabled... yes" >&6; } 4985 4633 fi 4986 4634 else 4987 4635 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 4636 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 4637 4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 4639 $as_echo "Checking if floating point is disabled... no" >&6; } 4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 4641 $as_echo_n "checking for fmod in -lm... " >&6; } 4642 if test "${ac_cv_lib_m_fmod+set}" = set; then : 4643 $as_echo_n "(cached) " >&6 4999 4644 else 5000 4645 ac_check_lib_save_LIBS=$LIBS 5001 4646 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 4647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5007 4648 /* end confdefs.h. */ 5008 4649 … … 5022 4663 } 5023 4664 _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 4665 if ac_fn_c_try_link "$LINENO"; then : 5042 4666 ac_cv_lib_m_fmod=yes 5043 4667 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 4668 ac_cv_lib_m_fmod=no 4669 fi 4670 rm -f core conftest.err conftest.$ac_objext \ 4671 conftest$ac_exeext conftest.$ac_ext 5052 4672 LIBS=$ac_check_lib_save_LIBS 5053 4673 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; then4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 4675 $as_echo "$ac_cv_lib_m_fmod" >&6; } 4676 if test "x$ac_cv_lib_m_fmod" = x""yes; then : 5057 4677 cat >>confdefs.h <<_ACEOF 5058 4678 #define HAVE_LIBM 1 … … 5068 4688 5069 4689 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 4690 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 4691 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 4692 $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 4693 4694 fi 4695 4696 4697 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 4698 if test "x$ac_cv_header_assert_h" = x""yes; then : 4699 $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 4700 4701 fi 4702 4703 4704 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 4705 if test "x$ac_cv_header_ctype_h" = x""yes; then : 4706 $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 5465 4707 5466 4708 fi … … 5470 4712 case $target in 5471 4713 *mingw* | *cygw* | *win32* | *w32* ) 5472 cat >>confdefs.h <<\_ACEOF 5473 #define PJ_HAS_ERRNO_H 0 5474 _ACEOF 4714 $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 5475 4715 5476 4716 ;; 5477 4717 *) 5478 if test "${ac_cv_header_errno_h+set}" = set; then 5479 { echo "$as_me:$LINENO: checking for errno.h" >&5 5480 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 5481 if test "${ac_cv_header_errno_h+set}" = set; then 5482 echo $ECHO_N "(cached) $ECHO_C" >&6 5483 fi 5484 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5485 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 5486 else 5487 # Is the header compilable? 5488 { echo "$as_me:$LINENO: checking errno.h usability" >&5 5489 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 5490 cat >conftest.$ac_ext <<_ACEOF 5491 /* confdefs.h. */ 5492 _ACEOF 5493 cat confdefs.h >>conftest.$ac_ext 5494 cat >>conftest.$ac_ext <<_ACEOF 5495 /* end confdefs.h. */ 5496 $ac_includes_default 5497 #include <errno.h> 5498 _ACEOF 5499 rm -f conftest.$ac_objext 5500 if { (ac_try="$ac_compile" 5501 case "(($ac_tr