Changeset 3158 for pjproject/trunk/aconfigure
- Timestamp:
- May 1, 2010 10:05:41 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r3099 r3158 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 1for pjproject 1.x.3 # Generated by GNU Autoconf 2.64 for pjproject 1.x. 4 4 # 5 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software 7 # Foundation, Inc. 8 # 7 9 # This configure script is free software; the Free Software Foundation 8 10 # gives unlimited permission to copy, distribute and modify it. 9 ## -------------------- -##10 ## M4sh Initialization. 11 ## -------------------- -##11 ## -------------------- ## 12 ## M4sh Initialization. ## 13 ## -------------------- ## 12 14 13 15 # Be more Bourne compatible 14 16 DUALCASE=1; export DUALCASE # for MKS sh 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16 18 emulate sh 17 19 NULLCMD=: 18 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19 21 # is contrary to our usage. Disable this feature. 20 22 alias -g '${1+"$@"}'='"$@"' 21 23 setopt NO_GLOB_SUBST 22 24 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 25 30 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 31 fi 32 33 34 as_nl=' 35 ' 36 export as_nl 37 # Printing a long string crashes Solaris 7 /usr/bin/printf. 38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41 # Prefer a ksh shell builtin over an external printf program on Solaris, 42 # but without wasting forks for bash or zsh. 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 39 71 40 72 # The user is always right. 41 73 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 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 58 79 fi 59 80 … … 64 85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 86 # splitting by setting IFS to empty value.) 66 as_nl='67 '68 87 IFS=" "" $as_nl" 69 88 70 89 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 90 case $0 in #(( 72 91 *[\\/]* ) as_myself=$0 ;; 73 92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 76 95 IFS=$as_save_IFS 77 96 test -z "$as_dir" && as_dir=. 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break79 done97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 98 done 80 99 IFS=$as_save_IFS 81 100 … … 88 107 fi 89 108 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 109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 110 exit 1 111 fi 112 113 # Unset variables that we do not need and which cause bugs (e.g. in 114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 115 # suppresses any "Segmentation fault" message there. '((' could 116 # trigger a bug in pdksh 5.2.14. 117 for as_var in BASH_ENV ENV MAIL MAILPATH 118 do eval test x\${$as_var+set} = xset \ 119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 97 120 done 98 121 PS1='$ ' … … 101 124 102 125 # 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 126 LC_ALL=C 127 export LC_ALL 128 LANGUAGE=C 129 export LANGUAGE 130 131 # CDPATH. 132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 133 134 if test "x$CONFIG_SHELL" = x; then 135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 136 emulate sh 137 NULLCMD=: 138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 139 # is contrary to our usage. Disable this feature. 140 alias -g '\${1+\"\$@\"}'='\"\$@\"' 141 setopt NO_GLOB_SUBST 142 else 143 case \`(set -o) 2>/dev/null\` in #( 144 *posix*) : 145 set -o posix ;; #( 146 *) : 147 ;; 148 esac 149 fi 150 " 151 as_required="as_fn_return () { (exit \$1); } 152 as_fn_success () { as_fn_return 0; } 153 as_fn_failure () { as_fn_return 1; } 154 as_fn_ret_success () { return 0; } 155 as_fn_ret_failure () { return 1; } 156 157 exitcode=0 158 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 163 164 else 165 exitcode=1; echo positional parameters were not saved. 166 fi 167 test x\$exitcode = x0 || exit 1" 168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 172 test \$(( 1 + 1 )) = 2 || exit 1" 173 if (eval "$as_required") 2>/dev/null; then : 174 as_have_required=yes 175 else 176 as_have_required=no 177 fi 178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 179 180 else 181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 182 as_found=false 183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 107 184 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 185 IFS=$as_save_IFS 186 test -z "$as_dir" && as_dir=. 187 as_found=: 188 case $as_dir in #( 189 /*) 190 for as_base in sh bash ksh sh5; do 191 # Try only shells that exist, to save several forks. 192 as_shell=$as_dir/$as_base 193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 195 CONFIG_SHELL=$as_shell as_have_required=yes 196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 break 2 198 fi 199 fi 200 done;; 201 esac 202 as_found=false 203 done 204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 206 CONFIG_SHELL=$SHELL as_have_required=yes 207 fi; } 208 IFS=$as_save_IFS 209 210 211 if test "x$CONFIG_SHELL" != x; then : 212 # We cannot yet assume a decent shell, so we have to provide a 213 # neutralization value for shells without unset; and this also 214 # works around shells that cannot unset nonexistent variables. 215 BASH_ENV=/dev/null 216 ENV=/dev/null 217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 218 export CONFIG_SHELL 219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 220 fi 221 222 if test x$as_have_required = xno; then : 223 $as_echo "$0: This script requires a shell more modern than all" 224 $as_echo "$0: the shells that I found on your system." 225 if test x${ZSH_VERSION+set} = xset ; then 226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 227 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 110 228 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 230 $0: including any error possibly output before this 231 $0: message. Then install a modern shell, or manually run 232 $0: the script under such a shell if you do have one." 112 233 fi 113 done 114 115 # Required to use basename. 234 exit 1 235 fi 236 fi 237 fi 238 SHELL=${CONFIG_SHELL-/bin/sh} 239 export SHELL 240 # Unset more variables known to interfere with behavior of common tools. 241 CLICOLOR_FORCE= GREP_OPTIONS= 242 unset CLICOLOR_FORCE GREP_OPTIONS 243 244 ## --------------------- ## 245 ## M4sh Shell Functions. ## 246 ## --------------------- ## 247 # as_fn_unset VAR 248 # --------------- 249 # Portably unset VAR. 250 as_fn_unset () 251 { 252 { eval $1=; unset $1;} 253 } 254 as_unset=as_fn_unset 255 256 # as_fn_set_status STATUS 257 # ----------------------- 258 # Set $? to STATUS, without forking. 259 as_fn_set_status () 260 { 261 return $1 262 } # as_fn_set_status 263 264 # as_fn_exit STATUS 265 # ----------------- 266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 267 as_fn_exit () 268 { 269 set +e 270 as_fn_set_status $1 271 exit $1 272 } # as_fn_exit 273 274 # as_fn_mkdir_p 275 # ------------- 276 # Create "$as_dir" as a directory, including parents if necessary. 277 as_fn_mkdir_p () 278 { 279 280 case $as_dir in #( 281 -*) as_dir=./$as_dir;; 282 esac 283 test -d "$as_dir" || eval $as_mkdir_p || { 284 as_dirs= 285 while :; do 286 case $as_dir in #( 287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 288 *) as_qdir=$as_dir;; 289 esac 290 as_dirs="'$as_qdir' $as_dirs" 291 as_dir=`$as_dirname -- "$as_dir" || 292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 293 X"$as_dir" : 'X\(//\)[^/]' \| \ 294 X"$as_dir" : 'X\(//\)$' \| \ 295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 296 $as_echo X"$as_dir" | 297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 298 s//\1/ 299 q 300 } 301 /^X\(\/\/\)[^/].*/{ 302 s//\1/ 303 q 304 } 305 /^X\(\/\/\)$/{ 306 s//\1/ 307 q 308 } 309 /^X\(\/\).*/{ 310 s//\1/ 311 q 312 } 313 s/.*/./; q'` 314 test -d "$as_dir" && break 315 done 316 test -z "$as_dirs" || eval "mkdir $as_dirs" 317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 318 319 320 } # as_fn_mkdir_p 321 # as_fn_append VAR VALUE 322 # ---------------------- 323 # Append the text in VALUE to the end of the definition contained in VAR. Take 324 # advantage of any shell optimizations that allow amortized linear growth over 325 # repeated appends, instead of the typical quadratic growth present in naive 326 # implementations. 327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 328 eval 'as_fn_append () 329 { 330 eval $1+=\$2 331 }' 332 else 333 as_fn_append () 334 { 335 eval $1=\$$1\$2 336 } 337 fi # as_fn_append 338 339 # as_fn_arith ARG... 340 # ------------------ 341 # Perform arithmetic evaluation on the ARGs, and store the result in the 342 # global $as_val. Take advantage of shells that can avoid forks. The arguments 343 # must be portable across $(()) and expr. 344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 345 eval 'as_fn_arith () 346 { 347 as_val=$(( $* )) 348 }' 349 else 350 as_fn_arith () 351 { 352 as_val=`expr "$@" || test $? -eq 1` 353 } 354 fi # as_fn_arith 355 356 357 # as_fn_error ERROR [LINENO LOG_FD] 358 # --------------------------------- 359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 361 # script with status $?, using 1 if that was 0. 362 as_fn_error () 363 { 364 as_status=$?; test $as_status -eq 0 && as_status=1 365 if test "$3"; then 366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 368 fi 369 $as_echo "$as_me: error: $1" >&2 370 as_fn_exit $as_status 371 } # as_fn_error 372 116 373 if expr a : '\(a\)' >/dev/null 2>&1 && 117 374 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 127 384 fi 128 385 129 130 # Name of the executable. 386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 387 as_dirname=dirname 388 else 389 as_dirname=false 390 fi 391 131 392 as_me=`$as_basename -- "$0" || 132 393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 394 X"$0" : 'X\(//\)$' \| \ 134 395 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" |396 $as_echo X/"$0" | 136 397 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 398 s//\1/ … … 148 409 s/.*/./; q'` 149 410 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. :-) 411 # Avoid depending upon Character Ranges. 412 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 415 as_cr_digits='0123456789' 416 as_cr_alnum=$as_cr_Letters$as_cr_digits 417 418 419 as_lineno_1=$LINENO as_lineno_1a=$LINENO 420 as_lineno_2=$LINENO as_lineno_2a=$LINENO 421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 438 424 sed -n ' 439 425 p … … 452 438 ' >$as_me.lineno && 453 439 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; }; } 440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 456 441 457 442 # Don't try to exec as it changes $[0], causing all sort of problems … … 463 448 } 464 449 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 450 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 451 case `echo -n x` in #((((( 474 452 -n*) 475 case `echo 'x \c'` in453 case `echo 'xy\c'` in 476 454 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 455 xy) ECHO_C='\c';; 456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 457 ECHO_T=' ';; 478 458 esac;; 479 459 *) … … 481 461 esac 482 462 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 463 rm -f conf$$ conf$$.exe conf$$.file 491 464 if test -d conf$$.dir; then … … 493 466 else 494 467 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 || 468 mkdir conf$$.dir 2>/dev/null 469 fi 470 if (echo >conf$$.file) 2>/dev/null; then 471 if ln -s conf$$.file conf$$ 2>/dev/null; then 472 as_ln_s='ln -s' 473 # ... but there are two gotchas: 474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 476 # In both cases, we have to default to `cp -p'. 477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 478 as_ln_s='cp -p' 479 elif ln conf$$.file conf$$ 2>/dev/null; then 480 as_ln_s=ln 481 else 505 482 as_ln_s='cp -p' 506 elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 483 fi 508 484 else 509 485 as_ln_s='cp -p' … … 513 489 514 490 if mkdir -p . 2>/dev/null; then 515 as_mkdir_p= :491 as_mkdir_p='mkdir -p "$as_dir"' 516 492 else 517 493 test -d ./-p && rmdir ./-p … … 530 506 eval sh -c '\'' 531 507 if test -d "$1"; then 532 508 test -d "$1/."; 533 509 else 534 case $1 in 535 510 case $1 in #( 511 -*)set "./$1";; 536 512 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 538 514 ???[sx]*):;;*)false;;esac;fi 539 515 '\'' sh … … 547 523 # Sed expression to map a string onto a valid variable name. 548 524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 549 550 525 551 526 … … 568 543 MFLAGS= 569 544 MAKEFLAGS= 570 SHELL=${CONFIG_SHELL-/bin/sh}571 545 572 546 # Identity of this package. … … 576 550 PACKAGE_STRING='pjproject 1.x' 577 551 PACKAGE_BUGREPORT='' 552 PACKAGE_URL='' 578 553 579 554 # Factoring default headers for most tests. … … 613 588 #endif" 614 589 615 ac_subst_vars='SHELL 590 ac_subst_vars='LTLIBOBJS 591 LIBOBJS 592 ac_main_obj 593 ac_host 594 ac_linux_poll 595 ac_cross_compile 596 libcrypto_present 597 libssl_present 598 openssl_h_present 599 ac_no_ssl 600 ac_no_ilbc_codec 601 ac_no_speex_codec 602 ac_no_g7221_codec 603 ac_no_g722_codec 604 ac_no_gsm_codec 605 ac_no_l16_codec 606 ac_no_g711_codec 607 ac_no_speex_aec 608 ac_no_large_filter 609 ac_no_small_filter 610 ac_pa_use_oss 611 ac_pa_use_alsa 612 ac_pa_cflags 613 ac_external_pa 614 ac_pjmedia_snd 615 ac_external_gsm 616 ac_external_speex 617 ac_os_objs 618 EGREP 619 GREP 620 CPP 621 ac_build_mak_vars 622 ac_pjdir 623 ac_ct_CXX 624 CXXFLAGS 625 CXX 626 OBJEXT 627 EXEEXT 628 ac_ct_CC 629 CPPFLAGS 630 LDFLAGS 631 CFLAGS 632 CC 633 target_os 634 target_vendor 635 target_cpu 636 target 637 host_os 638 host_vendor 639 host_cpu 640 host 641 build_os 642 build_vendor 643 build_cpu 644 build 645 target_alias 646 host_alias 647 build_alias 648 LIBS 649 ECHO_T 650 ECHO_N 651 ECHO_C 652 DEFS 653 mandir 654 localedir 655 libdir 656 psdir 657 pdfdir 658 dvidir 659 htmldir 660 infodir 661 docdir 662 oldincludedir 663 includedir 664 localstatedir 665 sharedstatedir 666 sysconfdir 667 datadir 668 datarootdir 669 libexecdir 670 sbindir 671 bindir 672 program_transform_name 673 prefix 674 exec_prefix 675 PACKAGE_URL 676 PACKAGE_BUGREPORT 677 PACKAGE_STRING 678 PACKAGE_VERSION 679 PACKAGE_TARNAME 680 PACKAGE_NAME 616 681 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 ac_pjdir 675 ac_build_mak_vars 676 CPP 677 GREP 678 EGREP 679 ac_os_objs 680 ac_external_speex 681 ac_external_gsm 682 ac_pjmedia_snd 683 ac_external_pa 684 ac_pa_cflags 685 ac_pa_use_alsa 686 ac_pa_use_oss 687 ac_no_small_filter 688 ac_no_large_filter 689 ac_no_speex_aec 690 ac_no_g711_codec 691 ac_no_l16_codec 692 ac_no_gsm_codec 693 ac_no_g722_codec 694 ac_no_g7221_codec 695 ac_no_speex_codec 696 ac_no_ilbc_codec 697 ac_no_ssl 698 openssl_h_present 699 libssl_present 700 libcrypto_present 701 ac_cross_compile 702 ac_linux_poll 703 ac_host 704 ac_main_obj 705 LIBOBJS 706 LTLIBOBJS' 682 SHELL' 707 683 ac_subst_files='' 684 ac_user_opts=' 685 enable_option_checking 686 enable_floating_point 687 enable_epoll 688 with_external_speex 689 with_external_gsm 690 enable_sound 691 with_external_pa 692 enable_oss 693 enable_ext_sound 694 enable_small_filter 695 enable_large_filter 696 enable_speex_aec 697 enable_g711_codec 698 enable_l16_codec 699 enable_gsm_codec 700 enable_g722_codec 701 enable_g7221_codec 702 enable_speex_codec 703 enable_ilbc_codec 704 enable_libsamplerate 705 enable_ipp 706 with_ipp 707 with_ipp_samples 708 with_ipp_arch 709 enable_ssl 710 ' 708 711 ac_precious_vars='build_alias 709 712 host_alias … … 723 726 ac_init_help= 724 727 ac_init_version=false 728 ac_unrecognized_opts= 729 ac_unrecognized_sep= 725 730 # The variables have the same names as the options, with 726 731 # dashes changed to underlines. … … 821 826 822 827 -disable-* | --disable-*) 823 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`828 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 824 829 # Reject names that are not valid shell variable names. 825 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 826 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 827 { (exit 1); exit 1; }; } 828 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 829 eval enable_$ac_feature=no ;; 830 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 831 as_fn_error "invalid feature name: $ac_useropt" 832 ac_useropt_orig=$ac_useropt 833 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 834 case $ac_user_opts in 835 *" 836 "enable_$ac_useropt" 837 "*) ;; 838 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 839 ac_unrecognized_sep=', ';; 840 esac 841 eval enable_$ac_useropt=no ;; 830 842 831 843 -docdir | --docdir | --docdi | --doc | --do) … … 840 852 841 853 -enable-* | --enable-*) 842 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`854 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 843 855 # Reject names that are not valid shell variable names. 844 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 845 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 846 { (exit 1); exit 1; }; } 847 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 848 eval enable_$ac_feature=\$ac_optarg ;; 856 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 857 as_fn_error "invalid feature name: $ac_useropt" 858 ac_useropt_orig=$ac_useropt 859 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 860 case $ac_user_opts in 861 *" 862 "enable_$ac_useropt" 863 "*) ;; 864 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 865 ac_unrecognized_sep=', ';; 866 esac 867 eval enable_$ac_useropt=\$ac_optarg ;; 849 868 850 869 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1037 1056 1038 1057 -with-* | --with-*) 1039 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1058 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1040 1059 # Reject names that are not valid shell variable names. 1041 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1042 { echo "$as_me: error: invalid package name: $ac_package" >&2 1043 { (exit 1); exit 1; }; } 1044 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1045 eval with_$ac_package=\$ac_optarg ;; 1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1061 as_fn_error "invalid package name: $ac_useropt" 1062 ac_useropt_orig=$ac_useropt 1063 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1064 case $ac_user_opts in 1065 *" 1066 "with_$ac_useropt" 1067 "*) ;; 1068 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1069 ac_unrecognized_sep=', ';; 1070 esac 1071 eval with_$ac_useropt=\$ac_optarg ;; 1046 1072 1047 1073 -without-* | --without-*) 1048 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1074 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1049 1075 # Reject names that are not valid shell variable names. 1050 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1051 { echo "$as_me: error: invalid package name: $ac_package" >&2 1052 { (exit 1); exit 1; }; } 1053 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1054 eval with_$ac_package=no ;; 1076 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1077 as_fn_error "invalid package name: $ac_useropt" 1078 ac_useropt_orig=$ac_useropt 1079 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1080 case $ac_user_opts in 1081 *" 1082 "with_$ac_useropt" 1083 "*) ;; 1084 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1085 ac_unrecognized_sep=', ';; 1086 esac 1087 eval with_$ac_useropt=no ;; 1055 1088 1056 1089 --x) … … 1072 1105 x_libraries=$ac_optarg ;; 1073 1106 1074 -*) { echo "$as_me: error: unrecognized option: $ac_option 1075 Try \`$0 --help' for more information." >&2 1076 { (exit 1); exit 1; }; } 1107 -*) as_fn_error "unrecognized option: \`$ac_option' 1108 Try \`$0 --help' for more information." 1077 1109 ;; 1078 1110 … … 1080 1112 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1081 1113 # Reject names that are not valid shell variable names. 1082 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1083 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1084 { (exit 1); exit 1; }; } 1114 case $ac_envvar in #( 1115 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1116 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1117 esac 1085 1118 eval $ac_envvar=\$ac_optarg 1086 1119 export $ac_envvar ;; … … 1088 1121 *) 1089 1122 # FIXME: should be removed in autoconf 3.0. 1090 echo "$as_me: WARNING: you should use --build, --host, --target" >&21123 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1091 1124 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1092 echo "$as_me: WARNING: invalid host type: $ac_option" >&21125 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1093 1126 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1094 1127 ;; … … 1099 1132 if test -n "$ac_prev"; then 1100 1133 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1101 { echo "$as_me: error: missing argument to $ac_option" >&2 1102 { (exit 1); exit 1; }; } 1103 fi 1104 1105 # Be sure to have absolute directory names. 1134 as_fn_error "missing argument to $ac_option" 1135 fi 1136 1137 if test -n "$ac_unrecognized_opts"; then 1138 case $enable_option_checking in 1139 no) ;; 1140 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1141 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1142 esac 1143 fi 1144 1145 # Check all directory arguments for consistency. 1106 1146 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1107 1147 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1110 1150 do 1111 1151 eval ac_val=\$$ac_var 1152 # Remove trailing slashes. 1153 case $ac_val in 1154 */ ) 1155 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1156 eval $ac_var=\$ac_val;; 1157 esac 1158 # Be sure to have absolute directory names. 1112 1159 case $ac_val in 1113 1160 [\\/$]* | ?:[\\/]* ) continue;; 1114 1161 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1115 1162 esac 1116 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1117 { (exit 1); exit 1; }; } 1163 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1118 1164 done 1119 1165 … … 1129 1175 if test "x$build_alias" = x; then 1130 1176 cross_compiling=maybe 1131 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1177 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1132 1178 If a cross compiler is detected then cross compile mode will be used." >&2 1133 1179 elif test "x$build_alias" != "x$host_alias"; then … … 1145 1191 ac_ls_di=`ls -di .` && 1146 1192 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1147 { echo "$as_me: error: Working directory cannot be determined" >&2 1148 { (exit 1); exit 1; }; } 1193 as_fn_error "working directory cannot be determined" 1149 1194 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1150 { echo "$as_me: error: pwd does not report name of working directory" >&2 1151 { (exit 1); exit 1; }; } 1195 as_fn_error "pwd does not report name of working directory" 1152 1196 1153 1197 … … 1156 1200 ac_srcdir_defaulted=yes 1157 1201 # Try the directory containing this script, then the parent directory. 1158 ac_confdir=`$as_dirname -- "$ 0" ||1159 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1160 X"$ 0" : 'X\(//\)[^/]' \| \1161 X"$ 0" : 'X\(//\)$' \| \1162 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1163 echo X"$0" |1202 ac_confdir=`$as_dirname -- "$as_myself" || 1203 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1204 X"$as_myself" : 'X\(//\)[^/]' \| \ 1205 X"$as_myself" : 'X\(//\)$' \| \ 1206 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1207 $as_echo X"$as_myself" | 1164 1208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1165 1209 s//\1/ … … 1188 1232 if test ! -r "$srcdir/$ac_unique_file"; then 1189 1233 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1190 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1191 { (exit 1); exit 1; }; } 1234 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1192 1235 fi 1193 1236 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1194 1237 ac_abs_confdir=`( 1195 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1196 { (exit 1); exit 1; }; } 1238 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1197 1239 pwd)` 1198 1240 # When building in place, set srcdir=. … … 1242 1284 Installation directories: 1243 1285 --prefix=PREFIX install architecture-independent files in PREFIX 1244 1286 [$ac_default_prefix] 1245 1287 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1246 1288 [PREFIX] 1247 1289 1248 1290 By default, \`make install' will install all the files in … … 1254 1296 1255 1297 Fine tuning of the installation directories: 1256 --bindir=DIR user executables [EPREFIX/bin]1257 --sbindir=DIR system admin executables [EPREFIX/sbin]1258 --libexecdir=DIR program executables [EPREFIX/libexec]1259 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1260 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1261 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1262 --libdir=DIR object code libraries [EPREFIX/lib]1263 --includedir=DIR C header files [PREFIX/include]1264 --oldincludedir=DIR C header files for non-gcc [/usr/include]1265 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1266 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1267 --infodir=DIR info documentation [DATAROOTDIR/info]1268 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1269 --mandir=DIR man documentation [DATAROOTDIR/man]1270 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject]1271 --htmldir=DIR html documentation [DOCDIR]1272 --dvidir=DIR dvi documentation [DOCDIR]1273 --pdfdir=DIR pdf documentation [DOCDIR]1274 --psdir=DIR ps documentation [DOCDIR]1298 --bindir=DIR user executables [EPREFIX/bin] 1299 --sbindir=DIR system admin executables [EPREFIX/sbin] 1300 --libexecdir=DIR program executables [EPREFIX/libexec] 1301 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1302 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1303 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1304 --libdir=DIR object code libraries [EPREFIX/lib] 1305 --includedir=DIR C header files [PREFIX/include] 1306 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1307 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1308 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1309 --infodir=DIR info documentation [DATAROOTDIR/info] 1310 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1311 --mandir=DIR man documentation [DATAROOTDIR/man] 1312 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1313 --htmldir=DIR html documentation [DOCDIR] 1314 --dvidir=DIR dvi documentation [DOCDIR] 1315 --pdfdir=DIR pdf documentation [DOCDIR] 1316 --psdir=DIR ps documentation [DOCDIR] 1275 1317 _ACEOF 1276 1318 … … 1291 1333 1292 1334 Optional Features: 1335 --disable-option-checking ignore unrecognized --enable/--with options 1293 1336 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1294 1337 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1357 1400 it to find libraries and programs with nonstandard names/locations. 1358 1401 1402 Report bugs to the package provider. 1359 1403 _ACEOF 1360 1404 ac_status=$? … … 1364 1408 # If there are subdirs, report their specific --help. 1365 1409 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1366 test -d "$ac_dir" || continue 1410 test -d "$ac_dir" || 1411 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1412 continue 1367 1413 ac_builddir=. 1368 1414 … … 1370 1416 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1371 1417 *) 1372 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1418 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1373 1419 # A ".." for each directory in $ac_dir_suffix. 1374 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1420 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1375 1421 case $ac_top_builddir_sub in 1376 1422 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1408 1454 $SHELL "$ac_srcdir/configure" --help=recursive 1409 1455 else 1410 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21456 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1411 1457 fi || ac_status=$? 1412 1458 cd "$ac_pwd" || { ac_status=$?; break; } … … 1418 1464 cat <<\_ACEOF 1419 1465 pjproject configure 1.x 1420 generated by GNU Autoconf 2.61 1421 1422 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1423 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1466 generated by GNU Autoconf 2.64 1467 1468 Copyright (C) 2009 Free Software Foundation, Inc. 1424 1469 This configure script is free software; the Free Software Foundation 1425 1470 gives unlimited permission to copy, distribute and modify it. … … 1427 1472 exit 1428 1473 fi 1474 1475 ## ------------------------ ## 1476 ## Autoconf initialization. ## 1477 ## ------------------------ ## 1478 1479 # ac_fn_c_try_compile LINENO 1480 # -------------------------- 1481 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1482 ac_fn_c_try_compile () 1483 { 1484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1485 rm -f conftest.$ac_objext 1486 if { { ac_try="$ac_compile" 1487 case "(($ac_try" in 1488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1489 *) ac_try_echo=$ac_try;; 1490 esac 1491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1492 $as_echo "$ac_try_echo"; } >&5 1493 (eval "$ac_compile") 2>conftest.err 1494 ac_status=$? 1495 if test -s conftest.err; then 1496 grep -v '^ *+' conftest.err >conftest.er1 1497 cat conftest.er1 >&5 1498 mv -f conftest.er1 conftest.err 1499 fi 1500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1501 test $ac_status = 0; } && { 1502 test -z "$ac_c_werror_flag" || 1503 test ! -s conftest.err 1504 } && test -s conftest.$ac_objext; then : 1505 ac_retval=0 1506 else 1507 $as_echo "$as_me: failed program was:" >&5 1508 sed 's/^/| /' conftest.$ac_ext >&5 1509 1510 ac_retval=1 1511 fi 1512 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1513 return $ac_retval 1514 1515 } # ac_fn_c_try_compile 1516 1517 # ac_fn_cxx_try_compile LINENO 1518 # ---------------------------- 1519 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1520 ac_fn_cxx_try_compile () 1521 { 1522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1523 rm -f conftest.$ac_objext 1524 if { { ac_try="$ac_compile" 1525 case "(($ac_try" in 1526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1527 *) ac_try_echo=$ac_try;; 1528 esac 1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1530 $as_echo "$ac_try_echo"; } >&5 1531 (eval "$ac_compile") 2>conftest.err 1532 ac_status=$? 1533 if test -s conftest.err; then 1534 grep -v '^ *+' conftest.err >conftest.er1 1535 cat conftest.er1 >&5 1536 mv -f conftest.er1 conftest.err 1537 fi 1538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1539 test $ac_status = 0; } && { 1540 test -z "$ac_cxx_werror_flag" || 1541 test ! -s conftest.err 1542 } && test -s conftest.$ac_objext; then : 1543 ac_retval=0 1544 else 1545 $as_echo "$as_me: failed program was:" >&5 1546 sed 's/^/| /' conftest.$ac_ext >&5 1547 1548 ac_retval=1 1549 fi 1550 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1551 return $ac_retval 1552 1553 } # ac_fn_cxx_try_compile 1554 1555 # ac_fn_c_try_link LINENO 1556 # ----------------------- 1557 # Try to link conftest.$ac_ext, and return whether this succeeded. 1558 ac_fn_c_try_link () 1559 { 1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1561 rm -f conftest.$ac_objext conftest$ac_exeext 1562 if { { ac_try="$ac_link" 1563 case "(($ac_try" in 1564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1565 *) ac_try_echo=$ac_try;; 1566 esac 1567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1568 $as_echo "$ac_try_echo"; } >&5 1569 (eval "$ac_link") 2>conftest.err 1570 ac_status=$? 1571 if test -s conftest.err; then 1572 grep -v '^ *+' conftest.err >conftest.er1 1573 cat conftest.er1 >&5 1574 mv -f conftest.er1 conftest.err 1575 fi 1576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1577 test $ac_status = 0; } && { 1578 test -z "$ac_c_werror_flag" || 1579 test ! -s conftest.err 1580 } && test -s conftest$ac_exeext && { 1581 test "$cross_compiling" = yes || 1582 $as_test_x conftest$ac_exeext 1583 }; then : 1584 ac_retval=0 1585 else 1586 $as_echo "$as_me: failed program was:" >&5 1587 sed 's/^/| /' conftest.$ac_ext >&5 1588 1589 ac_retval=1 1590 fi 1591 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1592 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1593 # interfere with the next link command; also delete a directory that is 1594 # left behind by Apple's compiler. We do this before executing the actions. 1595 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1596 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1597 return $ac_retval 1598 1599 } # ac_fn_c_try_link 1600 1601 # ac_fn_c_try_run LINENO 1602 # ---------------------- 1603 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1604 # that executables *can* be run. 1605 ac_fn_c_try_run () 1606 { 1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1608 if { { ac_try="$ac_link" 1609 case "(($ac_try" in 1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1611 *) ac_try_echo=$ac_try;; 1612 esac 1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1614 $as_echo "$ac_try_echo"; } >&5 1615 (eval "$ac_link") 2>&5 1616 ac_status=$? 1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1618 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1619 { { case "(($ac_try" in 1620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1621 *) ac_try_echo=$ac_try;; 1622 esac 1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1624 $as_echo "$ac_try_echo"; } >&5 1625 (eval "$ac_try") 2>&5 1626 ac_status=$? 1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1628 test $ac_status = 0; }; }; then : 1629 ac_retval=0 1630 else 1631 $as_echo "$as_me: program exited with status $ac_status" >&5 1632 $as_echo "$as_me: failed program was:" >&5 1633 sed 's/^/| /' conftest.$ac_ext >&5 1634 1635 ac_retval=$ac_status 1636 fi 1637 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1638 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1639 return $ac_retval 1640 1641 } # ac_fn_c_try_run 1642 1643 # ac_fn_c_try_cpp LINENO 1644 # ---------------------- 1645 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1646 ac_fn_c_try_cpp () 1647 { 1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1649 if { { ac_try="$ac_cpp conftest.$ac_ext" 1650 case "(($ac_try" in 1651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1652 *) ac_try_echo=$ac_try;; 1653 esac 1654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1655 $as_echo "$ac_try_echo"; } >&5 1656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1657 ac_status=$? 1658 if test -s conftest.err; then 1659 grep -v '^ *+' conftest.err >conftest.er1 1660 cat conftest.er1 >&5 1661 mv -f conftest.er1 conftest.err 1662 fi 1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1664 test $ac_status = 0; } >/dev/null && { 1665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1666 test ! -s conftest.err 1667 }; then : 1668 ac_retval=0 1669 else 1670 $as_echo "$as_me: failed program was:" >&5 1671 sed 's/^/| /' conftest.$ac_ext >&5 1672 1673 ac_retval=1 1674 fi 1675 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1676 return $ac_retval 1677 1678 } # ac_fn_c_try_cpp 1679 1680 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1681 # ------------------------------------------------------- 1682 # Tests whether HEADER exists and can be compiled using the include files in 1683 # INCLUDES, setting the cache variable VAR accordingly. 1684 ac_fn_c_check_header_compile () 1685 { 1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1688 $as_echo_n "checking for $2... " >&6; } 1689 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1690 $as_echo_n "(cached) " >&6 1691 else 1692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1693 /* end confdefs.h. */ 1694 $4 1695 #include <$2> 1696 _ACEOF 1697 if ac_fn_c_try_compile "$LINENO"; then : 1698 eval "$3=yes" 1699 else 1700 eval "$3=no" 1701 fi 1702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1703 fi 1704 eval ac_res=\$$3 1705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1706 $as_echo "$ac_res" >&6; } 1707 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1708 1709 } # ac_fn_c_check_header_compile 1710 1711 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1712 # ------------------------------------------------------- 1713 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1714 # the include files in INCLUDES and setting the cache variable VAR 1715 # accordingly. 1716 ac_fn_c_check_header_mongrel () 1717 { 1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1719 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1721 $as_echo_n "checking for $2... " >&6; } 1722 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1723 $as_echo_n "(cached) " >&6 1724 fi 1725 eval ac_res=\$$3 1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1727 $as_echo "$ac_res" >&6; } 1728 else 1729 # Is the header compilable? 1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1731 $as_echo_n "checking $2 usability... " >&6; } 1732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1733 /* end confdefs.h. */ 1734 $4 1735 #include <$2> 1736 _ACEOF 1737 if ac_fn_c_try_compile "$LINENO"; then : 1738 ac_header_compiler=yes 1739 else 1740 ac_header_compiler=no 1741 fi 1742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1744 $as_echo "$ac_header_compiler" >&6; } 1745 1746 # Is the header present? 1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1748 $as_echo_n "checking $2 presence... " >&6; } 1749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1750 /* end confdefs.h. */ 1751 #include <$2> 1752 _ACEOF 1753 if ac_fn_c_try_cpp "$LINENO"; then : 1754 ac_header_preproc=yes 1755 else 1756 ac_header_preproc=no 1757 fi 1758 rm -f conftest.err conftest.$ac_ext 1759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1760 $as_echo "$ac_header_preproc" >&6; } 1761 1762 # So? What about this header? 1763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1764 yes:no: ) 1765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1766 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1768 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1769 ;; 1770 no:yes:* ) 1771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1772 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1774 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1776 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1778 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1780 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1781 ;; 1782 esac 1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1784 $as_echo_n "checking for $2... " >&6; } 1785 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1786 $as_echo_n "(cached) " >&6 1787 else 1788 eval "$3=\$ac_header_compiler" 1789 fi 1790 eval ac_res=\$$3 1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1792 $as_echo "$ac_res" >&6; } 1793 fi 1794 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1795 1796 } # ac_fn_c_check_header_mongrel 1429 1797 cat >config.log <<_ACEOF 1430 1798 This file contains any messages produced by compilers while … … 1432 1800 1433 1801 It was created by pjproject $as_me 1.x, which was 1434 generated by GNU Autoconf 2.6 1. Invocation command line was1802 generated by GNU Autoconf 2.64. Invocation command line was 1435 1803 1436 1804 $ $0 $@ … … 1468 1836 IFS=$as_save_IFS 1469 1837 test -z "$as_dir" && as_dir=. 1470 echo "PATH: $as_dir"1471 done1838 $as_echo "PATH: $as_dir" 1839 done 1472 1840 IFS=$as_save_IFS 1473 1841 … … 1503 1871 continue ;; 1504 1872 *\'*) 1505 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1873 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1506 1874 esac 1507 1875 case $ac_pass in 1508 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1876 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1509 1877 2) 1510 a c_configure_args1="$ac_configure_args1'$ac_arg'"1878 as_fn_append ac_configure_args1 " '$ac_arg'" 1511 1879 if test $ac_must_keep_next = true; then 1512 1880 ac_must_keep_next=false # Got value, back to normal. … … 1524 1892 esac 1525 1893 fi 1526 a c_configure_args="$ac_configure_args'$ac_arg'"1894 as_fn_append ac_configure_args " '$ac_arg'" 1527 1895 ;; 1528 1896 esac 1529 1897 done 1530 1898 done 1531 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1532 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}1899 { ac_configure_args0=; unset ac_configure_args0;} 1900 { ac_configure_args1=; unset ac_configure_args1;} 1533 1901 1534 1902 # When interrupted or exit'd, cleanup temporary files, and complete … … 1555 1923 *${as_nl}*) 1556 1924 case $ac_var in #( 1557 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51558 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;1925 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1926 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1559 1927 esac 1560 1928 case $ac_var in #( 1561 1929 _ | IFS | as_nl) ;; #( 1562 *) $as_unset $ac_var ;; 1930 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1931 *) { eval $ac_var=; unset $ac_var;} ;; 1563 1932 esac ;; 1564 1933 esac … … 1589 1958 eval ac_val=\$$ac_var 1590 1959 case $ac_val in 1591 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1960 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1592 1961 esac 1593 echo "$ac_var='\''$ac_val'\''"1962 $as_echo "$ac_var='\''$ac_val'\''" 1594 1963 done | sort 1595 1964 echo … … 1606 1975 eval ac_val=\$$ac_var 1607 1976 case $ac_val in 1608 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1977 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1609 1978 esac 1610 echo "$ac_var='\''$ac_val'\''"1979 $as_echo "$ac_var='\''$ac_val'\''" 1611 1980 done | sort 1612 1981 echo … … 1624 1993 fi 1625 1994 test "$ac_signal" != 0 && 1626 echo "$as_me: caught signal $ac_signal"1627 echo "$as_me: exit $exit_status"1995 $as_echo "$as_me: caught signal $ac_signal" 1996 $as_echo "$as_me: exit $exit_status" 1628 1997 } >&5 1629 1998 rm -f core *.core core.conftest.* && … … 1632 2001 ' 0 1633 2002 for ac_signal in 1 2 13 15; do 1634 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2003 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1635 2004 done 1636 2005 ac_signal=0 … … 1639 2008 rm -f -r conftest* confdefs.h 1640 2009 2010 $as_echo "/* confdefs.h */" > confdefs.h 2011 1641 2012 # Predefined preprocessor variables. 1642 2013 … … 1645 2016 _ACEOF 1646 2017 1647 1648 2018 cat >>confdefs.h <<_ACEOF 1649 2019 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1650 2020 _ACEOF 1651 2021 1652 1653 2022 cat >>confdefs.h <<_ACEOF 1654 2023 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1655 2024 _ACEOF 1656 2025 1657 1658 2026 cat >>confdefs.h <<_ACEOF 1659 2027 #define PACKAGE_STRING "$PACKAGE_STRING" 1660 2028 _ACEOF 1661 2029 1662 1663 2030 cat >>confdefs.h <<_ACEOF 1664 2031 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1665 2032 _ACEOF 1666 2033 2034 cat >>confdefs.h <<_ACEOF 2035 #define PACKAGE_URL "$PACKAGE_URL" 2036 _ACEOF 2037 1667 2038 1668 2039 # Let the site file select an alternate cache file if it wants to. 1669 # Prefer explicitly selected file to automatically selected ones. 2040 # Prefer an explicitly selected file to automatically selected ones. 2041 ac_site_file1=NONE 2042 ac_site_file2=NONE 1670 2043 if test -n "$CONFIG_SITE"; then 1671 set x "$CONFIG_SITE"2044 ac_site_file1=$CONFIG_SITE 1672 2045 elif test "x$prefix" != xNONE; then 1673 set x "$prefix/share/config.site" "$prefix/etc/config.site"1674 else1675 set x "$ac_default_prefix/share/config.site" \ 1676 "$ac_default_prefix/etc/config.site" 1677 fi 1678 shift 1679 for ac_site_file 2046 ac_site_file1=$prefix/share/config.site 2047 ac_site_file2=$prefix/etc/config.site 2048 else 2049 ac_site_file1=$ac_default_prefix/share/config.site 2050 ac_site_file2=$ac_default_prefix/etc/config.site 2051 fi 2052 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1680 2053 do 2054 test "x$ac_site_file" = xNONE && continue 1681 2055 if test -r "$ac_site_file"; then 1682 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&51683 echo "$as_me: loading site script $ac_site_file" >&6;}2056 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2057 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1684 2058 sed 's/^/| /' "$ac_site_file" >&5 1685 2059 . "$ac_site_file" … … 1691 2065 # files actually), so we avoid doing that. 1692 2066 if test -f "$cache_file"; then 1693 { echo "$as_me:$LINENO: loading cache $cache_file" >&51694 echo "$as_me: loading cache $cache_file" >&6;}2067 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2068 $as_echo "$as_me: loading cache $cache_file" >&6;} 1695 2069 case $cache_file in 1696 2070 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1699 2073 fi 1700 2074 else 1701 { echo "$as_me:$LINENO: creating cache $cache_file" >&51702 echo "$as_me: creating cache $cache_file" >&6;}2075 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2076 $as_echo "$as_me: creating cache $cache_file" >&6;} 1703 2077 >$cache_file 1704 2078 fi … … 1714 2088 case $ac_old_set,$ac_new_set in 1715 2089 set,) 1716 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51717 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2091 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1718 2092 ac_cache_corrupted=: ;; 1719 2093 ,set) 1720 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51721 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2094 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2095 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1722 2096 ac_cache_corrupted=: ;; 1723 2097 ,);; 1724 2098 *) 1725 2099 if test "x$ac_old_val" != "x$ac_new_val"; then 1726 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1727 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1728 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1729 echo "$as_me: former value: $ac_old_val" >&2;} 1730 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1731 echo "$as_me: current value: $ac_new_val" >&2;} 1732 ac_cache_corrupted=: 2100 # differences in whitespace do not lead to failure. 2101 ac_old_val_w=`echo x $ac_old_val` 2102 ac_new_val_w=`echo x $ac_new_val` 2103 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2105 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2106 ac_cache_corrupted=: 2107 else 2108 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2109 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2110 eval $ac_var=\$ac_old_val 2111 fi 2112 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2113 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2114 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2115 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1733 2116 fi;; 1734 2117 esac … … 1736 2119 if test "$ac_new_set" = set; then 1737 2120 case $ac_new_val in 1738 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2121 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1739 2122 *) ac_arg=$ac_var=$ac_new_val ;; 1740 2123 esac 1741 2124 case " $ac_configure_args " in 1742 2125 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1743 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2126 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1744 2127 esac 1745 2128 fi 1746 2129 done 1747 2130 if $ac_cache_corrupted; then 1748 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1749 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1750 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1751 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1752 { (exit 1); exit 1; }; } 1753 fi 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 2131 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2133 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2134 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2135 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2136 fi 2137 ## -------------------- ## 2138 ## Main body of script. ## 2139 ## -------------------- ## 1778 2140 1779 2141 ac_ext=c … … 1789 2151 ac_aux_dir= 1790 2152 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1791 if test -f "$ac_dir/install-sh"; then 1792 ac_aux_dir=$ac_dir 1793 ac_install_sh="$ac_aux_dir/install-sh -c" 1794 break 1795 elif test -f "$ac_dir/install.sh"; then 1796 ac_aux_dir=$ac_dir 1797 ac_install_sh="$ac_aux_dir/install.sh -c" 1798 break 1799 elif test -f "$ac_dir/shtool"; then 1800 ac_aux_dir=$ac_dir 1801 ac_install_sh="$ac_aux_dir/shtool install -c" 1802 break 1803 fi 2153 for ac_t in install-sh install.sh shtool; do 2154 if test -f "$ac_dir/$ac_t"; then 2155 ac_aux_dir=$ac_dir 2156 ac_install_sh="$ac_aux_dir/$ac_t -c" 2157 break 2 2158 fi 2159 done 1804 2160 done 1805 2161 if test -z "$ac_aux_dir"; then 1806 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1807 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1808 { (exit 1); exit 1; }; } 2162 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1809 2163 fi 1810 2164 … … 1820 2174 # Make sure we can run config.sub. 1821 2175 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1822 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1823 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1824 { (exit 1); exit 1; }; } 1825 1826 { echo "$as_me:$LINENO: checking build system type" >&5 1827 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1828 if test "${ac_cv_build+set}" = set; then 1829 echo $ECHO_N "(cached) $ECHO_C" >&6 2176 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2177 2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2179 $as_echo_n "checking build system type... " >&6; } 2180 if test "${ac_cv_build+set}" = set; then : 2181 $as_echo_n "(cached) " >&6 1830 2182 else 1831 2183 ac_build_alias=$build_alias … … 1833 2185 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1834 2186 test "x$ac_build_alias" = x && 1835 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1836 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1837 { (exit 1); exit 1; }; } 2187 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1838 2188 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1839 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1840 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1841 { (exit 1); exit 1; }; } 1842 1843 fi 1844 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1845 echo "${ECHO_T}$ac_cv_build" >&6; } 2189 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2190 2191 fi 2192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2193 $as_echo "$ac_cv_build" >&6; } 1846 2194 case $ac_cv_build in 1847 2195 *-*-*) ;; 1848 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1849 echo "$as_me: error: invalid value of canonical build" >&2;} 1850 { (exit 1); exit 1; }; };; 2196 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1851 2197 esac 1852 2198 build=$ac_cv_build … … 1864 2210 1865 2211 1866 { echo "$as_me:$LINENO: checking host system type" >&51867 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }1868 if test "${ac_cv_host+set}" = set; then 1869 echo $ECHO_N "(cached) $ECHO_C" >&62212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2213 $as_echo_n "checking host system type... " >&6; } 2214 if test "${ac_cv_host+set}" = set; then : 2215 $as_echo_n "(cached) " >&6 1870 2216 else 1871 2217 if test "x$host_alias" = x; then … … 1873 2219 else 1874 2220 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1875 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1876 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1877 { (exit 1); exit 1; }; } 1878 fi 1879 1880 fi 1881 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1882 echo "${ECHO_T}$ac_cv_host" >&6; } 2221 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2222 fi 2223 2224 fi 2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2226 $as_echo "$ac_cv_host" >&6; } 1883 2227 case $ac_cv_host in 1884 2228 *-*-*) ;; 1885 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1886 echo "$as_me: error: invalid value of canonical host" >&2;} 1887 { (exit 1); exit 1; }; };; 2229 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1888 2230 esac 1889 2231 host=$ac_cv_host … … 1901 2243 1902 2244 1903 { echo "$as_me:$LINENO: checking target system type" >&51904 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }1905 if test "${ac_cv_target+set}" = set; then 1906 echo $ECHO_N "(cached) $ECHO_C" >&62245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2246 $as_echo_n "checking target system type... " >&6; } 2247 if test "${ac_cv_target+set}" = set; then : 2248 $as_echo_n "(cached) " >&6 1907 2249 else 1908 2250 if test "x$target_alias" = x; then … … 1910 2252 else 1911 2253 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1912 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1913 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1914 { (exit 1); exit 1; }; } 1915 fi 1916 1917 fi 1918 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1919 echo "${ECHO_T}$ac_cv_target" >&6; } 2254 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2255 fi 2256 2257 fi 2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2259 $as_echo "$ac_cv_target" >&6; } 1920 2260 case $ac_cv_target in 1921 2261 *-*-*) ;; 1922 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1923 echo "$as_me: error: invalid value of canonical target" >&2;} 1924 { (exit 1); exit 1; }; };; 2262 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 1925 2263 esac 1926 2264 target=$ac_cv_target … … 1966 2304 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1967 2305 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1968 { echo "$as_me:$LINENO: checking for $ac_word" >&51969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1970 if test "${ac_cv_prog_CC+set}" = set; then 1971 echo $ECHO_N "(cached) $ECHO_C" >&62306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2307 $as_echo_n "checking for $ac_word... " >&6; } 2308 if test "${ac_cv_prog_CC+set}" = set; then : 2309 $as_echo_n "(cached) " >&6 1972 2310 else 1973 2311 if test -n "$CC"; then … … 1979 2317 IFS=$as_save_IFS 1980 2318 test -z "$as_dir" && as_dir=. 1981 for ac_exec_ext in '' $ac_executable_extensions; do2319 for ac_exec_ext in '' $ac_executable_extensions; do 1982 2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1983 2321 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1985 2323 break 2 1986 2324 fi 1987 2325 done 1988 done2326 done 1989 2327 IFS=$as_save_IFS 1990 2328 … … 1993 2331 CC=$ac_cv_prog_CC 1994 2332 if test -n "$CC"; then 1995 { echo "$as_me:$LINENO: result: $CC" >&51996 echo "${ECHO_T}$CC" >&6; }1997 else 1998 { echo "$as_me:$LINENO: result: no" >&51999 echo "${ECHO_T}no" >&6; }2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2334 $as_echo "$CC" >&6; } 2335 else 2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2337 $as_echo "no" >&6; } 2000 2338 fi 2001 2339 … … 2006 2344 # Extract the first word of "gcc", so it can be a program name with args. 2007 2345 set dummy gcc; ac_word=$2 2008 { echo "$as_me:$LINENO: checking for $ac_word" >&52009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2010 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2011 echo $ECHO_N "(cached) $ECHO_C" >&62346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2347 $as_echo_n "checking for $ac_word... " >&6; } 2348 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2349 $as_echo_n "(cached) " >&6 2012 2350 else 2013 2351 if test -n "$ac_ct_CC"; then … … 2019 2357 IFS=$as_save_IFS 2020 2358 test -z "$as_dir" && as_dir=. 2021 for ac_exec_ext in '' $ac_executable_extensions; do2359 for ac_exec_ext in '' $ac_executable_extensions; do 2022 2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2023 2361 ac_cv_prog_ac_ct_CC="gcc" 2024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2025 2363 break 2 2026 2364 fi 2027 2365 done 2028 done2366 done 2029 2367 IFS=$as_save_IFS 2030 2368 … … 2033 2371 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2034 2372 if test -n "$ac_ct_CC"; then 2035 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52036 echo "${ECHO_T}$ac_ct_CC" >&6; }2037 else 2038 { echo "$as_me:$LINENO: result: no" >&52039 echo "${ECHO_T}no" >&6; }2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2374 $as_echo "$ac_ct_CC" >&6; } 2375 else 2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2377 $as_echo "no" >&6; } 2040 2378 fi 2041 2379 … … 2045 2383 case $cross_compiling:$ac_tool_warned in 2046 2384 yes:) 2047 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2048 whose name does not start with the host triplet. If you think this 2049 configuration is useful to you, please write to autoconf@gnu.org." >&5 2050 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2051 whose name does not start with the host triplet. If you think this 2052 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2053 2387 ac_tool_warned=yes ;; 2054 2388 esac … … 2063 2397 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2064 2398 set dummy ${ac_tool_prefix}cc; ac_word=$2 2065 { echo "$as_me:$LINENO: checking for $ac_word" >&52066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2067 if test "${ac_cv_prog_CC+set}" = set; then 2068 echo $ECHO_N "(cached) $ECHO_C" >&62399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2400 $as_echo_n "checking for $ac_word... " >&6; } 2401 if test "${ac_cv_prog_CC+set}" = set; then : 2402 $as_echo_n "(cached) " >&6 2069 2403 else 2070 2404 if test -n "$CC"; then … … 2076 2410 IFS=$as_save_IFS 2077 2411 test -z "$as_dir" && as_dir=. 2078 for ac_exec_ext in '' $ac_executable_extensions; do2412 for ac_exec_ext in '' $ac_executable_extensions; do 2079 2413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2080 2414 ac_cv_prog_CC="${ac_tool_prefix}cc" 2081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2082 2416 break 2 2083 2417 fi 2084 2418 done 2085 done2419 done 2086 2420 IFS=$as_save_IFS 2087 2421 … … 2090 2424 CC=$ac_cv_prog_CC 2091 2425 if test -n "$CC"; then 2092 { echo "$as_me:$LINENO: result: $CC" >&52093 echo "${ECHO_T}$CC" >&6; }2094 else 2095 { echo "$as_me:$LINENO: result: no" >&52096 echo "${ECHO_T}no" >&6; }2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2427 $as_echo "$CC" >&6; } 2428 else 2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2430 $as_echo "no" >&6; } 2097 2431 fi 2098 2432 … … 2103 2437 # Extract the first word of "cc", so it can be a program name with args. 2104 2438 set dummy cc; ac_word=$2 2105 { echo "$as_me:$LINENO: checking for $ac_word" >&52106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2107 if test "${ac_cv_prog_CC+set}" = set; then 2108 echo $ECHO_N "(cached) $ECHO_C" >&62439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2440 $as_echo_n "checking for $ac_word... " >&6; } 2441 if test "${ac_cv_prog_CC+set}" = set; then : 2442 $as_echo_n "(cached) " >&6 2109 2443 else 2110 2444 if test -n "$CC"; then … … 2117 2451 IFS=$as_save_IFS 2118 2452 test -z "$as_dir" && as_dir=. 2119 for ac_exec_ext in '' $ac_executable_extensions; do2453 for ac_exec_ext in '' $ac_executable_extensions; do 2120 2454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2121 2455 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2124 2458 fi 2125 2459 ac_cv_prog_CC="cc" 2126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2127 2461 break 2 2128 2462 fi 2129 2463 done 2130 done2464 done 2131 2465 IFS=$as_save_IFS 2132 2466 … … 2147 2481 CC=$ac_cv_prog_CC 2148 2482 if test -n "$CC"; then 2149 { echo "$as_me:$LINENO: result: $CC" >&52150 echo "${ECHO_T}$CC" >&6; }2151 else 2152 { echo "$as_me:$LINENO: result: no" >&52153 echo "${ECHO_T}no" >&6; }2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2484 $as_echo "$CC" >&6; } 2485 else 2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2487 $as_echo "no" >&6; } 2154 2488 fi 2155 2489 … … 2162 2496 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2163 2497 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2164 { echo "$as_me:$LINENO: checking for $ac_word" >&52165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2166 if test "${ac_cv_prog_CC+set}" = set; then 2167 echo $ECHO_N "(cached) $ECHO_C" >&62498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2499 $as_echo_n "checking for $ac_word... " >&6; } 2500 if test "${ac_cv_prog_CC+set}" = set; then : 2501 $as_echo_n "(cached) " >&6 2168 2502 else 2169 2503 if test -n "$CC"; then … … 2175 2509 IFS=$as_save_IFS 2176 2510 test -z "$as_dir" && as_dir=. 2177 for ac_exec_ext in '' $ac_executable_extensions; do2511 for ac_exec_ext in '' $ac_executable_extensions; do 2178 2512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2179 2513 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2181 2515 break 2 2182 2516 fi 2183 2517 done 2184 done2518 done 2185 2519 IFS=$as_save_IFS 2186 2520 … … 2189 2523 CC=$ac_cv_prog_CC 2190 2524 if test -n "$CC"; then 2191 { echo "$as_me:$LINENO: result: $CC" >&52192 echo "${ECHO_T}$CC" >&6; }2193 else 2194 { echo "$as_me:$LINENO: result: no" >&52195 echo "${ECHO_T}no" >&6; }2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2526 $as_echo "$CC" >&6; } 2527 else 2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2529 $as_echo "no" >&6; } 2196 2530 fi 2197 2531 … … 2206 2540 # Extract the first word of "$ac_prog", so it can be a program name with args. 2207 2541 set dummy $ac_prog; ac_word=$2 2208 { echo "$as_me:$LINENO: checking for $ac_word" >&52209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2210 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2211 echo $ECHO_N "(cached) $ECHO_C" >&62542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2543 $as_echo_n "checking for $ac_word... " >&6; } 2544 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2545 $as_echo_n "(cached) " >&6 2212 2546 else 2213 2547 if test -n "$ac_ct_CC"; then … … 2219 2553 IFS=$as_save_IFS 2220 2554 test -z "$as_dir" && as_dir=. 2221 for ac_exec_ext in '' $ac_executable_extensions; do2555 for ac_exec_ext in '' $ac_executable_extensions; do 2222 2556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2223 2557 ac_cv_prog_ac_ct_CC="$ac_prog" 2224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2225 2559 break 2 2226 2560 fi 2227 2561 done 2228 done2562 done 2229 2563 IFS=$as_save_IFS 2230 2564 … … 2233 2567 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2234 2568 if test -n "$ac_ct_CC"; then 2235 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52236 echo "${ECHO_T}$ac_ct_CC" >&6; }2237 else 2238 { echo "$as_me:$LINENO: result: no" >&52239 echo "${ECHO_T}no" >&6; }2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2570 $as_echo "$ac_ct_CC" >&6; } 2571 else 2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2573 $as_echo "no" >&6; } 2240 2574 fi 2241 2575 … … 2249 2583 case $cross_compiling:$ac_tool_warned in 2250 2584 yes:) 2251 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2252 whose name does not start with the host triplet. If you think this 2253 configuration is useful to you, please write to autoconf@gnu.org." >&5 2254 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2255 whose name does not start with the host triplet. If you think this 2256 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2257 2587 ac_tool_warned=yes ;; 2258 2588 esac … … 2264 2594 2265 2595 2266 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2267 See \`config.log' for more details." >&5 2268 echo "$as_me: error: no acceptable C compiler found in \$PATH 2269 See \`config.log' for more details." >&2;} 2270 { (exit 1); exit 1; }; } 2596 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2598 as_fn_error "no acceptable C compiler found in \$PATH 2599 See \`config.log' for more details." "$LINENO" 5; } 2271 2600 2272 2601 # Provide some information about the compiler. 2273 echo "$as_me:$LINENO: checking for C compiler version" >&5 2274 ac_compiler=`set X $ac_compile; echo $2` 2275 { (ac_try="$ac_compiler --version >&5" 2602 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2603 set X $ac_compile 2604 ac_compiler=$2 2605 for ac_option in --version -v -V -qversion; do 2606 { { ac_try="$ac_compiler $ac_option >&5" 2276 2607 case "(($ac_try" in 2277 2608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2278 2609 *) ac_try_echo=$ac_try;; 2279 2610 esac 2280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2281 (eval "$ac_compiler --version >&5") 2>&5 2611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2612 $as_echo "$ac_try_echo"; } >&5 2613 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2282 2614 ac_status=$? 2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2284 (exit $ac_status); } 2285 { (ac_try="$ac_compiler -v >&5" 2615 if test -s conftest.err; then 2616 sed '10a\ 2617 ... rest of stderr output deleted ... 2618 10q' conftest.err >conftest.er1 2619 cat conftest.er1 >&5 2620 rm -f conftest.er1 conftest.err 2621 fi 2622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2623 test $ac_status = 0; } 2624 done 2625 2626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2627 /* end confdefs.h. */ 2628 #include <stdio.h> 2629 int 2630 main () 2631 { 2632 FILE *f = fopen ("conftest.out", "w"); 2633 return ferror (f) || fclose (f) != 0; 2634 2635 ; 2636 return 0; 2637 } 2638 _ACEOF 2639 ac_clean_files_save=$ac_clean_files 2640 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 2641 # Try to create an executable without -o first, disregard a.out. 2642 # It will help us diagnose broken compilers, and finding out an intuition 2643 # of exeext. 2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2645 $as_echo_n "checking for C compiler default output file name... " >&6; } 2646 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2647 2648 # The possible output files: 2649 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2650 2651 ac_rmfiles= 2652 for ac_file in $ac_files 2653 do 2654 case $ac_file in 2655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2656 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2657 esac 2658 done 2659 rm -f $ac_rmfiles 2660 2661 if { { ac_try="$ac_link_default" 2286 2662 case "(($ac_try" in 2287 2663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2288 2664 *) ac_try_echo=$ac_try;; 2289 2665 esac 2290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2291 (eval "$ac_compiler -v >&5") 2>&5 2292 ac_status=$? 2293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2294 (exit $ac_status); } 2295 { (ac_try="$ac_compiler -V >&5" 2296 case "(($ac_try" in 2297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2298 *) ac_try_echo=$ac_try;; 2299 esac 2300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2301 (eval "$ac_compiler -V >&5") 2>&5 2302 ac_status=$? 2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2304 (exit $ac_status); } 2305 2306 cat >conftest.$ac_ext <<_ACEOF 2307 /* confdefs.h. */ 2308 _ACEOF 2309 cat confdefs.h >>conftest.$ac_ext 2310 cat >>conftest.$ac_ext <<_ACEOF 2311 /* end confdefs.h. */ 2312 2313 int 2314 main () 2315 { 2316 2317 ; 2318 return 0; 2319 } 2320 _ACEOF 2321 ac_clean_files_save=$ac_clean_files 2322 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2323 # Try to create an executable without -o first, disregard a.out. 2324 # It will help us diagnose broken compilers, and finding out an intuition 2325 # of exeext. 2326 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2327 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2328 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2329 # 2330 # List of possible output files, starting from the most likely. 2331 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2332 # only as a last resort. b.out is created by i960 compilers. 2333 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2334 # 2335 # The IRIX 6 linker writes into existing files which may not be 2336 # executable, retaining their permissions. Remove them first so a 2337 # subsequent execution test works. 2338 ac_rmfiles= 2339 for ac_file in $ac_files 2340 do 2341 case $ac_file in 2342 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2343 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2344 esac 2345 done 2346 rm -f $ac_rmfiles 2347 2348 if { (ac_try="$ac_link_default" 2349 case "(($ac_try" in 2350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2351 *) ac_try_echo=$ac_try;; 2352 esac 2353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2667 $as_echo "$ac_try_echo"; } >&5 2354 2668 (eval "$ac_link_default") 2>&5 2355 2669 ac_status=$? 2356 echo "$as_me:$LINENO: \$? = $ac_status" >&52357 (exit $ac_status); }; then2670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2671 test $ac_status = 0; }; then : 2358 2672 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2359 2673 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2365 2679 test -f "$ac_file" || continue 2366 2680 case $ac_file in 2367 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )2681 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2368 2682 ;; 2369 2683 [ab].out ) … … 2372 2686 break;; 2373 2687 *.* ) 2374 2688 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2375 2689 then :; else 2376 2690 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2391 2705 ac_file='' 2392 2706 fi 2393 2394 { echo "$as_me:$LINENO: result: $ac_file" >&5 2395 echo "${ECHO_T}$ac_file" >&6; } 2396 if test -z "$ac_file"; then 2397 echo "$as_me: failed program was:" >&5 2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2708 $as_echo "$ac_file" >&6; } 2709 if test -z "$ac_file"; then : 2710 $as_echo "$as_me: failed program was:" >&5 2398 2711 sed 's/^/| /' conftest.$ac_ext >&5 2399 2712 2400 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2401 See \`config.log' for more details." >&5 2402 echo "$as_me: error: C compiler cannot create executables 2403 See \`config.log' for more details." >&2;} 2404 { (exit 77); exit 77; }; } 2405 fi 2406 2713 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2715 { as_fn_set_status 77 2716 as_fn_error "C compiler cannot create executables 2717 See \`config.log' for more details." "$LINENO" 5; }; } 2718 fi 2407 2719 ac_exeext=$ac_cv_exeext 2408 2720 2409 2721 # Check that the compiler produces executables we can run. If not, either 2410 2722 # the compiler is broken, or we cross compile. 2411 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2412 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2413 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2724 $as_echo_n "checking whether the C compiler works... " >&6; } 2414 2725 # If not cross compiling, check that we can run a simple program. 2415 2726 if test "$cross_compiling" != yes; then 2416 2727 if { ac_try='./$ac_file' 2417 { (case "(($ac_try" in2728 { { case "(($ac_try" in 2418 2729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2419 2730 *) ac_try_echo=$ac_try;; 2420 2731 esac 2421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2733 $as_echo "$ac_try_echo"; } >&5 2422 2734 (eval "$ac_try") 2>&5 2423 2735 ac_status=$? 2424 echo "$as_me:$LINENO: \$? = $ac_status" >&52425 (exit $ac_status); }; }; then2736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2737 test $ac_status = 0; }; }; then 2426 2738 cross_compiling=no 2427 2739 else … … 2429 2741 cross_compiling=yes 2430 2742 else 2431 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2745 as_fn_error "cannot run C compiled programs. 2432 2746 If you meant to cross compile, use \`--host'. 2433 See \`config.log' for more details." >&5 2434 echo "$as_me: error: cannot run C compiled programs. 2435 If you meant to cross compile, use \`--host'. 2436 See \`config.log' for more details." >&2;} 2437 { (exit 1); exit 1; }; } 2747 See \`config.log' for more details." "$LINENO" 5; } 2438 2748 fi 2439 2749 fi 2440 2750 fi 2441 { echo "$as_me:$LINENO: result: yes" >&52442 echo "${ECHO_T}yes" >&6; }2443 2444 rm -f a.out a.exe conftest$ac_cv_exeext b.out2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2752 $as_echo "yes" >&6; } 2753 2754 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out 2445 2755 ac_clean_files=$ac_clean_files_save 2446 2756 # Check that the compiler produces executables we can run. If not, either 2447 2757 # the compiler is broken, or we cross compile. 2448 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&52449 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }2450 { echo "$as_me:$LINENO: result: $cross_compiling" >&52451 echo "${ECHO_T}$cross_compiling" >&6; }2452 2453 { echo "$as_me:$LINENO: checking for suffix of executables" >&52454 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }2455 if { (ac_try="$ac_link"2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2759 $as_echo_n "checking whether we are cross compiling... " >&6; } 2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2761 $as_echo "$cross_compiling" >&6; } 2762 2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2764 $as_echo_n "checking for suffix of executables... " >&6; } 2765 if { { ac_try="$ac_link" 2456 2766 case "(($ac_try" in 2457 2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2458 2768 *) ac_try_echo=$ac_try;; 2459 2769 esac 2460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2771 $as_echo "$ac_try_echo"; } >&5 2461 2772 (eval "$ac_link") 2>&5 2462 2773 ac_status=$? 2463 echo "$as_me:$LINENO: \$? = $ac_status" >&52464 (exit $ac_status); }; then2774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2775 test $ac_status = 0; }; then : 2465 2776 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2466 2777 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2470 2781 test -f "$ac_file" || continue 2471 2782 case $ac_file in 2472 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;2783 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2473 2784 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2474 2785 break;; … … 2477 2788 done 2478 2789 else 2479 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2480 See \`config.log' for more details." >&5 2481 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2482 See \`config.log' for more details." >&2;} 2483 { (exit 1); exit 1; }; } 2484 fi 2485 2790 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2792 as_fn_error "cannot compute suffix of executables: cannot compile and link 2793 See \`config.log' for more details." "$LINENO" 5; } 2794 fi 2486 2795 rm -f conftest$ac_cv_exeext 2487 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52488 echo "${ECHO_T}$ac_cv_exeext" >&6; }2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2797 $as_echo "$ac_cv_exeext" >&6; } 2489 2798 2490 2799 rm -f conftest.$ac_ext 2491 2800 EXEEXT=$ac_cv_exeext 2492 2801 ac_exeext=$EXEEXT 2493 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2494 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2495 if test "${ac_cv_objext+set}" = set; then 2496 echo $ECHO_N "(cached) $ECHO_C" >&6 2497 else 2498 cat >conftest.$ac_ext <<_ACEOF 2499 /* confdefs.h. */ 2500 _ACEOF 2501 cat confdefs.h >>conftest.$ac_ext 2502 cat >>conftest.$ac_ext <<_ACEOF 2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2803 $as_echo_n "checking for suffix of object files... " >&6; } 2804 if test "${ac_cv_objext+set}" = set; then : 2805 $as_echo_n "(cached) " >&6 2806 else 2807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2503 2808 /* end confdefs.h. */ 2504 2809 … … 2512 2817 _ACEOF 2513 2818 rm -f conftest.o conftest.obj 2514 if { (ac_try="$ac_compile"2819 if { { ac_try="$ac_compile" 2515 2820 case "(($ac_try" in 2516 2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2517 2822 *) ac_try_echo=$ac_try;; 2518 2823 esac 2519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2825 $as_echo "$ac_try_echo"; } >&5 2520 2826 (eval "$ac_compile") 2>&5 2521 2827 ac_status=$? 2522 echo "$as_me:$LINENO: \$? = $ac_status" >&52523 (exit $ac_status); }; then2828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2829 test $ac_status = 0; }; then : 2524 2830 for ac_file in conftest.o conftest.obj conftest.*; do 2525 2831 test -f "$ac_file" || continue; 2526 2832 case $ac_file in 2527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;2833 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2528 2834 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2529 2835 break;; … … 2531 2837 done 2532 2838 else 2533 echo "$as_me: failed program was:" >&52839 $as_echo "$as_me: failed program was:" >&5 2534 2840 sed 's/^/| /' conftest.$ac_ext >&5 2535 2841 2536 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2537 See \`config.log' for more details." >&5 2538 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2539 See \`config.log' for more details." >&2;} 2540 { (exit 1); exit 1; }; } 2541 fi 2542 2842 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2844 as_fn_error "cannot compute suffix of object files: cannot compile 2845 See \`config.log' for more details." "$LINENO" 5; } 2846 fi 2543 2847 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2544 2848 fi 2545 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52546 echo "${ECHO_T}$ac_cv_objext" >&6; }2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2850 $as_echo "$ac_cv_objext" >&6; } 2547 2851 OBJEXT=$ac_cv_objext 2548 2852 ac_objext=$OBJEXT 2549 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2550 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2551 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2552 echo $ECHO_N "(cached) $ECHO_C" >&6 2553 else 2554 cat >conftest.$ac_ext <<_ACEOF 2555 /* confdefs.h. */ 2556 _ACEOF 2557 cat confdefs.h >>conftest.$ac_ext 2558 cat >>conftest.$ac_ext <<_ACEOF 2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2854 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2855 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2856 $as_echo_n "(cached) " >&6 2857 else 2858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2559 2859 /* end confdefs.h. */ 2560 2860 … … 2570 2870 } 2571 2871 _ACEOF 2572 rm -f conftest.$ac_objext 2573 if { (ac_try="$ac_compile" 2574 case "(($ac_try" in 2575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2576 *) ac_try_echo=$ac_try;; 2577 esac 2578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2579 (eval "$ac_compile") 2>conftest.er1 2580 ac_status=$? 2581 grep -v '^ *+' conftest.er1 >conftest.err 2582 rm -f conftest.er1 2583 cat conftest.err >&5 2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2585 (exit $ac_status); } && { 2586 test -z "$ac_c_werror_flag" || 2587 test ! -s conftest.err 2588 } && test -s conftest.$ac_objext; then 2872 if ac_fn_c_try_compile "$LINENO"; then : 2589 2873 ac_compiler_gnu=yes 2590 2874 else 2591 echo "$as_me: failed program was:" >&5 2592 sed 's/^/| /' conftest.$ac_ext >&5 2593 2594 ac_compiler_gnu=no 2595 fi 2596 2875 ac_compiler_gnu=no 2876 fi 2597 2877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2598 2878 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2599 2879 2600 2880 fi 2601 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2602 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2603 GCC=`test $ac_compiler_gnu = yes && echo yes` 2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2882 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2883 if test $ac_compiler_gnu = yes; then 2884 GCC=yes 2885 else 2886 GCC= 2887 fi 2604 2888 ac_test_CFLAGS=${CFLAGS+set} 2605 2889 ac_save_CFLAGS=$CFLAGS 2606 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52607 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2608 if test "${ac_cv_prog_cc_g+set}" = set; then 2609 echo $ECHO_N "(cached) $ECHO_C" >&62890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2891 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2892 if test "${ac_cv_prog_cc_g+set}" = set; then : 2893 $as_echo_n "(cached) " >&6 2610 2894 else 2611 2895 ac_save_c_werror_flag=$ac_c_werror_flag … … 2613 2897 ac_cv_prog_cc_g=no 2614 2898 CFLAGS="-g" 2615 cat >conftest.$ac_ext <<_ACEOF 2616 /* confdefs.h. */ 2617 _ACEOF 2618 cat confdefs.h >>conftest.$ac_ext 2619 cat >>conftest.$ac_ext <<_ACEOF 2899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2620 2900 /* end confdefs.h. */ 2621 2901 … … 2628 2908 } 2629 2909 _ACEOF 2630 rm -f conftest.$ac_objext 2631 if { (ac_try="$ac_compile" 2632 case "(($ac_try" in 2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2634 *) ac_try_echo=$ac_try;; 2635 esac 2636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2637 (eval "$ac_compile") 2>conftest.er1 2638 ac_status=$? 2639 grep -v '^ *+' conftest.er1 >conftest.err 2640 rm -f conftest.er1 2641 cat conftest.err >&5 2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2643 (exit $ac_status); } && { 2644 test -z "$ac_c_werror_flag" || 2645 test ! -s conftest.err 2646 } && test -s conftest.$ac_objext; then 2910 if ac_fn_c_try_compile "$LINENO"; then : 2647 2911 ac_cv_prog_cc_g=yes 2648 2912 else 2649 echo "$as_me: failed program was:" >&5 2650 sed 's/^/| /' conftest.$ac_ext >&5 2651 2652 CFLAGS="" 2653 cat >conftest.$ac_ext <<_ACEOF 2654 /* confdefs.h. */ 2655 _ACEOF 2656 cat confdefs.h >>conftest.$ac_ext 2657 cat >>conftest.$ac_ext <<_ACEOF 2913 CFLAGS="" 2914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2658 2915 /* end confdefs.h. */ 2659 2916 … … 2666 2923 } 2667 2924 _ACEOF 2668 rm -f conftest.$ac_objext 2669 if { (ac_try="$ac_compile" 2670 case "(($ac_try" in 2671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2672 *) ac_try_echo=$ac_try;; 2673 esac 2674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2675 (eval "$ac_compile") 2>conftest.er1 2676 ac_status=$? 2677 grep -v '^ *+' conftest.er1 >conftest.err 2678 rm -f conftest.er1 2679 cat conftest.err >&5 2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2681 (exit $ac_status); } && { 2682 test -z "$ac_c_werror_flag" || 2683 test ! -s conftest.err 2684 } && test -s conftest.$ac_objext; then 2685 : 2686 else 2687 echo "$as_me: failed program was:" >&5 2688 sed 's/^/| /' conftest.$ac_ext >&5 2689 2690 ac_c_werror_flag=$ac_save_c_werror_flag 2925 if ac_fn_c_try_compile "$LINENO"; then : 2926 2927 else 2928 ac_c_werror_flag=$ac_save_c_werror_flag 2691 2929 CFLAGS="-g" 2692 cat >conftest.$ac_ext <<_ACEOF 2693 /* confdefs.h. */ 2694 _ACEOF 2695 cat confdefs.h >>conftest.$ac_ext 2696 cat >>conftest.$ac_ext <<_ACEOF 2930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2697 2931 /* end confdefs.h. */ 2698 2932 … … 2705 2939 } 2706 2940 _ACEOF 2707 rm -f conftest.$ac_objext 2708 if { (ac_try="$ac_compile" 2709 case "(($ac_try" in 2710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2711 *) ac_try_echo=$ac_try;; 2712 esac 2713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2714 (eval "$ac_compile") 2>conftest.er1 2715 ac_status=$? 2716 grep -v '^ *+' conftest.er1 >conftest.err 2717 rm -f conftest.er1 2718 cat conftest.err >&5 2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2720 (exit $ac_status); } && { 2721 test -z "$ac_c_werror_flag" || 2722 test ! -s conftest.err 2723 } && test -s conftest.$ac_objext; then 2941 if ac_fn_c_try_compile "$LINENO"; then : 2724 2942 ac_cv_prog_cc_g=yes 2725 else 2726 echo "$as_me: failed program was:" >&5 2727 sed 's/^/| /' conftest.$ac_ext >&5 2728 2729 2730 fi 2731 2943 fi 2732 2944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2733 2945 fi 2734 2735 2946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2736 2947 fi 2737 2738 2948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2739 2949 ac_c_werror_flag=$ac_save_c_werror_flag 2740 2950 fi 2741 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52742 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2952 $as_echo "$ac_cv_prog_cc_g" >&6; } 2743 2953 if test "$ac_test_CFLAGS" = set; then 2744 2954 CFLAGS=$ac_save_CFLAGS … … 2756 2966 fi 2757 2967 fi 2758 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52759 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2760 if test "${ac_cv_prog_cc_c89+set}" = set; then 2761 echo $ECHO_N "(cached) $ECHO_C" >&62968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2969 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2970 if test "${ac_cv_prog_cc_c89+set}" = set; then : 2971 $as_echo_n "(cached) " >&6 2762 2972 else 2763 2973 ac_cv_prog_cc_c89=no 2764 2974 ac_save_CC=$CC 2765 cat >conftest.$ac_ext <<_ACEOF 2766 /* confdefs.h. */ 2767 _ACEOF 2768 cat confdefs.h >>conftest.$ac_ext 2769 cat >>conftest.$ac_ext <<_ACEOF 2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2770 2976 /* end confdefs.h. */ 2771 2977 #include <stdarg.h> … … 2824 3030 do 2825 3031 CC="$ac_save_CC $ac_arg" 2826 rm -f conftest.$ac_objext 2827 if { (ac_try="$ac_compile" 2828 case "(($ac_try" in 2829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2830 *) ac_try_echo=$ac_try;; 2831 esac 2832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2833 (eval "$ac_compile") 2>conftest.er1 2834 ac_status=$? 2835 grep -v '^ *+' conftest.er1 >conftest.err 2836 rm -f conftest.er1 2837 cat conftest.err >&5 2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2839 (exit $ac_status); } && { 2840 test -z "$ac_c_werror_flag" || 2841 test ! -s conftest.err 2842 } && test -s conftest.$ac_objext; then 3032 if ac_fn_c_try_compile "$LINENO"; then : 2843 3033 ac_cv_prog_cc_c89=$ac_arg 2844 else 2845 echo "$as_me: failed program was:" >&5 2846 sed 's/^/| /' conftest.$ac_ext >&5 2847 2848 2849 fi 2850 3034 fi 2851 3035 rm -f core conftest.err conftest.$ac_objext 2852 3036 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2859 3043 case "x$ac_cv_prog_cc_c89" in 2860 3044 x) 2861 { echo "$as_me:$LINENO: result: none needed" >&52862 echo "${ECHO_T}none needed" >&6; } ;;3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3046 $as_echo "none needed" >&6; } ;; 2863 3047 xno) 2864 { echo "$as_me:$LINENO: result: unsupported" >&52865 echo "${ECHO_T}unsupported" >&6; } ;;3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3049 $as_echo "unsupported" >&6; } ;; 2866 3050 *) 2867 3051 CC="$CC $ac_cv_prog_cc_c89" 2868 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52869 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3053 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2870 3054 esac 2871 3055 if test "x$ac_cv_prog_cc_c89" != xno; then : 3056 3057 fi 2872 3058 2873 3059 ac_ext=c … … 2891 3077 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2892 3078 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2893 { echo "$as_me:$LINENO: checking for $ac_word" >&52894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2895 if test "${ac_cv_prog_CXX+set}" = set; then 2896 echo $ECHO_N "(cached) $ECHO_C" >&63079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3080 $as_echo_n "checking for $ac_word... " >&6; } 3081 if test "${ac_cv_prog_CXX+set}" = set; then : 3082 $as_echo_n "(cached) " >&6 2897 3083 else 2898 3084 if test -n "$CXX"; then … … 2904 3090 IFS=$as_save_IFS 2905 3091 test -z "$as_dir" && as_dir=. 2906 for ac_exec_ext in '' $ac_executable_extensions; do3092 for ac_exec_ext in '' $ac_executable_extensions; do 2907 3093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2908 3094 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2910 3096 break 2 2911 3097 fi 2912 3098 done 2913 done3099 done 2914 3100 IFS=$as_save_IFS 2915 3101 … … 2918 3104 CXX=$ac_cv_prog_CXX 2919 3105 if test -n "$CXX"; then 2920 { echo "$as_me:$LINENO: result: $CXX" >&52921 echo "${ECHO_T}$CXX" >&6; }2922 else 2923 { echo "$as_me:$LINENO: result: no" >&52924 echo "${ECHO_T}no" >&6; }3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3107 $as_echo "$CXX" >&6; } 3108 else 3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3110 $as_echo "no" >&6; } 2925 3111 fi 2926 3112 … … 2935 3121 # Extract the first word of "$ac_prog", so it can be a program name with args. 2936 3122 set dummy $ac_prog; ac_word=$2 2937 { echo "$as_me:$LINENO: checking for $ac_word" >&52938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2939 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2940 echo $ECHO_N "(cached) $ECHO_C" >&63123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3124 $as_echo_n "checking for $ac_word... " >&6; } 3125 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3126 $as_echo_n "(cached) " >&6 2941 3127 else 2942 3128 if test -n "$ac_ct_CXX"; then … … 2948 3134 IFS=$as_save_IFS 2949 3135 test -z "$as_dir" && as_dir=. 2950 for ac_exec_ext in '' $ac_executable_extensions; do3136 for ac_exec_ext in '' $ac_executable_extensions; do 2951 3137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2952 3138 ac_cv_prog_ac_ct_CXX="$ac_prog" 2953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2954 3140 break 2 2955 3141 fi 2956 3142 done 2957 done3143 done 2958 3144 IFS=$as_save_IFS 2959 3145 … … 2962 3148 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2963 3149 if test -n "$ac_ct_CXX"; then 2964 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&52965 echo "${ECHO_T}$ac_ct_CXX" >&6; }2966 else 2967 { echo "$as_me:$LINENO: result: no" >&52968 echo "${ECHO_T}no" >&6; }3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3151 $as_echo "$ac_ct_CXX" >&6; } 3152 else 3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3154 $as_echo "no" >&6; } 2969 3155 fi 2970 3156 … … 2978 3164 case $cross_compiling:$ac_tool_warned in 2979 3165 yes:) 2980 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2981 whose name does not start with the host triplet. If you think this 2982 configuration is useful to you, please write to autoconf@gnu.org." >&5 2983 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2984 whose name does not start with the host triplet. If you think this 2985 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2986 3168 ac_tool_warned=yes ;; 2987 3169 esac … … 2993 3175 fi 2994 3176 # Provide some information about the compiler. 2995 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 2996 ac_compiler=`set X $ac_compile; echo $2` 2997 { (ac_try="$ac_compiler --version >&5" 3177 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3178 set X $ac_compile 3179 ac_compiler=$2 3180 for ac_option in --version -v -V -qversion; do 3181 { { ac_try="$ac_compiler $ac_option >&5" 2998 3182 case "(($ac_try" in 2999 3183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3000 3184 *) ac_try_echo=$ac_try;; 3001 3185 esac 3002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3003 (eval "$ac_compiler --version >&5") 2>&5 3186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3187 $as_echo "$ac_try_echo"; } >&5 3188 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3004 3189 ac_status=$? 3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3006 (exit $ac_status); } 3007 { (ac_try="$ac_compiler -v >&5" 3008 case "(($ac_try" in 3009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3010 *) ac_try_echo=$ac_try;; 3011 esac 3012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3013 (eval "$ac_compiler -v >&5") 2>&5 3014 ac_status=$? 3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3016 (exit $ac_status); } 3017 { (ac_try="$ac_compiler -V >&5" 3018 case "(($ac_try" in 3019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3020 *) ac_try_echo=$ac_try;; 3021 esac 3022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3023 (eval "$ac_compiler -V >&5") 2>&5 3024 ac_status=$? 3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3026 (exit $ac_status); } 3027 3028 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3029 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3030 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3031 echo $ECHO_N "(cached) $ECHO_C" >&6 3032 else 3033 cat >conftest.$ac_ext <<_ACEOF 3034 /* confdefs.h. */ 3035 _ACEOF 3036 cat confdefs.h >>conftest.$ac_ext 3037 cat >>conftest.$ac_ext <<_ACEOF 3190 if test -s conftest.err; then 3191 sed '10a\ 3192 ... rest of stderr output deleted ... 3193 10q' conftest.err >conftest.er1 3194 cat conftest.er1 >&5 3195 rm -f conftest.er1 conftest.err 3196 fi 3197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3198 test $ac_status = 0; } 3199 done 3200 3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3202 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3203 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3204 $as_echo_n "(cached) " >&6 3205 else 3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3038 3207 /* end confdefs.h. */ 3039 3208 … … 3049 3218 } 3050 3219 _ACEOF 3051 rm -f conftest.$ac_objext 3052 if { (ac_try="$ac_compile" 3053 case "(($ac_try" in 3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3055 *) ac_try_echo=$ac_try;; 3056 esac 3057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3058 (eval "$ac_compile") 2>conftest.er1 3059 ac_status=$? 3060 grep -v '^ *+' conftest.er1 >conftest.err 3061 rm -f conftest.er1 3062 cat conftest.err >&5 3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3064 (exit $ac_status); } && { 3065 test -z "$ac_cxx_werror_flag" || 3066 test ! -s conftest.err 3067 } && test -s conftest.$ac_objext; then 3220 if ac_fn_cxx_try_compile "$LINENO"; then : 3068 3221 ac_compiler_gnu=yes 3069 3222 else 3070 echo "$as_me: failed program was:" >&5 3071 sed 's/^/| /' conftest.$ac_ext >&5 3072 3073 ac_compiler_gnu=no 3074 fi 3075 3223 ac_compiler_gnu=no 3224 fi 3076 3225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3077 3226 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3078 3227 3079 3228 fi 3080 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3081 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3082 GXX=`test $ac_compiler_gnu = yes && echo yes` 3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3230 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3231 if test $ac_compiler_gnu = yes; then 3232 GXX=yes 3233 else 3234 GXX= 3235 fi 3083 3236 ac_test_CXXFLAGS=${CXXFLAGS+set} 3084 3237 ac_save_CXXFLAGS=$CXXFLAGS 3085 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53086 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3087 if test "${ac_cv_prog_cxx_g+set}" = set; then 3088 echo $ECHO_N "(cached) $ECHO_C" >&63238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3239 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3240 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3241 $as_echo_n "(cached) " >&6 3089 3242 else 3090 3243 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3092 3245 ac_cv_prog_cxx_g=no 3093 3246 CXXFLAGS="-g" 3094 cat >conftest.$ac_ext <<_ACEOF 3095 /* confdefs.h. */ 3096 _ACEOF 3097 cat confdefs.h >>conftest.$ac_ext 3098 cat >>conftest.$ac_ext <<_ACEOF 3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3099 3248 /* end confdefs.h. */ 3100 3249 … … 3107 3256 } 3108 3257 _ACEOF 3109 rm -f conftest.$ac_objext 3110 if { (ac_try="$ac_compile" 3111 case "(($ac_try" in 3112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3113 *) ac_try_echo=$ac_try;; 3114 esac 3115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3116 (eval "$ac_compile") 2>conftest.er1 3117 ac_status=$? 3118 grep -v '^ *+' conftest.er1 >conftest.err 3119 rm -f conftest.er1 3120 cat conftest.err >&5 3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3122 (exit $ac_status); } && { 3123 test -z "$ac_cxx_werror_flag" || 3124 test ! -s conftest.err 3125 } && test -s conftest.$ac_objext; then 3258 if ac_fn_cxx_try_compile "$LINENO"; then : 3126 3259 ac_cv_prog_cxx_g=yes 3127 3260 else 3128 echo "$as_me: failed program was:" >&5 3129 sed 's/^/| /' conftest.$ac_ext >&5 3130 3131 CXXFLAGS="" 3132 cat >conftest.$ac_ext <<_ACEOF 3133 /* confdefs.h. */ 3134 _ACEOF 3135 cat confdefs.h >>conftest.$ac_ext 3136 cat >>conftest.$ac_ext <<_ACEOF 3261 CXXFLAGS="" 3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3137 3263 /* end confdefs.h. */ 3138 3264 … … 3145 3271 } 3146 3272 _ACEOF 3147 rm -f conftest.$ac_objext 3148 if { (ac_try="$ac_compile" 3149 case "(($ac_try" in 3150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3151 *) ac_try_echo=$ac_try;; 3152 esac 3153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3154 (eval "$ac_compile") 2>conftest.er1 3155 ac_status=$? 3156 grep -v '^ *+' conftest.er1 >conftest.err 3157 rm -f conftest.er1 3158 cat conftest.err >&5 3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3160 (exit $ac_status); } && { 3161 test -z "$ac_cxx_werror_flag" || 3162 test ! -s conftest.err 3163 } && test -s conftest.$ac_objext; then 3164 : 3165 else 3166 echo "$as_me: failed program was:" >&5 3167 sed 's/^/| /' conftest.$ac_ext >&5 3168 3169 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3273 if ac_fn_cxx_try_compile "$LINENO"; then : 3274 3275 else 3276 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3170 3277 CXXFLAGS="-g" 3171 cat >conftest.$ac_ext <<_ACEOF 3172 /* confdefs.h. */ 3173 _ACEOF 3174 cat confdefs.h >>conftest.$ac_ext 3175 cat >>conftest.$ac_ext <<_ACEOF 3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3176 3279 /* end confdefs.h. */ 3177 3280 … … 3184 3287 } 3185 3288 _ACEOF 3186 rm -f conftest.$ac_objext 3187 if { (ac_try="$ac_compile" 3188 case "(($ac_try" in 3189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3190 *) ac_try_echo=$ac_try;; 3191 esac 3192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3193 (eval "$ac_compile") 2>conftest.er1 3194 ac_status=$? 3195 grep -v '^ *+' conftest.er1 >conftest.err 3196 rm -f conftest.er1 3197 cat conftest.err >&5 3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3199 (exit $ac_status); } && { 3200 test -z "$ac_cxx_werror_flag" || 3201 test ! -s conftest.err 3202 } && test -s conftest.$ac_objext; then 3289 if ac_fn_cxx_try_compile "$LINENO"; then : 3203 3290 ac_cv_prog_cxx_g=yes 3204 else 3205 echo "$as_me: failed program was:" >&5 3206 sed 's/^/| /' conftest.$ac_ext >&5 3207 3208 3209 fi 3210 3291 fi 3211 3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3212 3293 fi 3213 3214 3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3215 3295 fi 3216 3217 3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3218 3297 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3219 3298 fi 3220 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53221 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3300 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3222 3301 if test "$ac_test_CXXFLAGS" = set; then 3223 3302 CXXFLAGS=$ac_save_CXXFLAGS … … 3260 3339 3261 3340 3262 3263 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3264 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 3265 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 3266 echo $ECHO_N "(cached) $ECHO_C" >&6 3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3342 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3343 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 3344 $as_echo_n "(cached) " >&6 3267 3345 else 3268 3346 ac_check_lib_save_LIBS=$LIBS 3269 3347 LIBS="-lpthread $LIBS" 3270 cat >conftest.$ac_ext <<_ACEOF 3271 /* confdefs.h. */ 3272 _ACEOF 3273 cat confdefs.h >>conftest.$ac_ext 3274 cat >>conftest.$ac_ext <<_ACEOF 3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3275 3349 /* end confdefs.h. */ 3276 3350 … … 3290 3364 } 3291 3365 _ACEOF 3292 rm -f conftest.$ac_objext conftest$ac_exeext 3293 if { (ac_try="$ac_link" 3294 case "(($ac_try" in 3295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3296 *) ac_try_echo=$ac_try;; 3297 esac 3298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3299 (eval "$ac_link") 2>conftest.er1 3300 ac_status=$? 3301 grep -v '^ *+' conftest.er1 >conftest.err 3302 rm -f conftest.er1 3303 cat conftest.err >&5 3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3305 (exit $ac_status); } && { 3306 test -z "$ac_c_werror_flag" || 3307 test ! -s conftest.err 3308 } && test -s conftest$ac_exeext && 3309 $as_test_x conftest$ac_exeext; then 3366 if ac_fn_c_try_link "$LINENO"; then : 3310 3367 ac_cv_lib_pthread_pthread_create=yes 3311 3368 else 3312 echo "$as_me: failed program was:" >&5 3313 sed 's/^/| /' conftest.$ac_ext >&5 3314 3315 ac_cv_lib_pthread_pthread_create=no 3316 fi 3317 3318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3319 conftest$ac_exeext conftest.$ac_ext 3369 ac_cv_lib_pthread_pthread_create=no 3370 fi 3371 rm -f core conftest.err conftest.$ac_objext \ 3372 conftest$ac_exeext conftest.$ac_ext 3320 3373 LIBS=$ac_check_lib_save_LIBS 3321 3374 fi 3322 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&53323 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }3324 if test $ac_cv_lib_pthread_pthread_create = yes; then3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 3376 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 3377 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 3325 3378 cat >>confdefs.h <<_ACEOF 3326 3379 #define HAVE_LIBPTHREAD 1 … … 3331 3384 fi 3332 3385 3333 3334 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3335 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 3336 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 3337 echo $ECHO_N "(cached) $ECHO_C" >&6 3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 3387 $as_echo_n "checking for puts in -lwsock32... " >&6; } 3388 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 3389 $as_echo_n "(cached) " >&6 3338 3390 else 3339 3391 ac_check_lib_save_LIBS=$LIBS 3340 3392 LIBS="-lwsock32 $LIBS" 3341 cat >conftest.$ac_ext <<_ACEOF 3342 /* confdefs.h. */ 3343 _ACEOF 3344 cat confdefs.h >>conftest.$ac_ext 3345 cat >>conftest.$ac_ext <<_ACEOF 3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3346 3394 /* end confdefs.h. */ 3347 3395 … … 3361 3409 } 3362 3410 _ACEOF 3363 rm -f conftest.$ac_objext conftest$ac_exeext 3364 if { (ac_try="$ac_link" 3365 case "(($ac_try" in 3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3367 *) ac_try_echo=$ac_try;; 3368 esac 3369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3370 (eval "$ac_link") 2>conftest.er1 3371 ac_status=$? 3372 grep -v '^ *+' conftest.er1 >conftest.err 3373 rm -f conftest.er1 3374 cat conftest.err >&5 3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3376 (exit $ac_status); } && { 3377 test -z "$ac_c_werror_flag" || 3378 test ! -s conftest.err 3379 } && test -s conftest$ac_exeext && 3380 $as_test_x conftest$ac_exeext; then 3411 if ac_fn_c_try_link "$LINENO"; then : 3381 3412 ac_cv_lib_wsock32_puts=yes 3382 3413 else 3383 echo "$as_me: failed program was:" >&5 3384 sed 's/^/| /' conftest.$ac_ext >&5 3385 3386 ac_cv_lib_wsock32_puts=no 3387 fi 3388 3389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3390 conftest$ac_exeext conftest.$ac_ext 3414 ac_cv_lib_wsock32_puts=no 3415 fi 3416 rm -f core conftest.err conftest.$ac_objext \ 3417 conftest$ac_exeext conftest.$ac_ext 3391 3418 LIBS=$ac_check_lib_save_LIBS 3392 3419 fi 3393 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&53394 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; }3395 if test $ac_cv_lib_wsock32_puts = yes; then3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 3421 $as_echo "$ac_cv_lib_wsock32_puts" >&6; } 3422 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 3396 3423 cat >>confdefs.h <<_ACEOF 3397 3424 #define HAVE_LIBWSOCK32 1 … … 3402 3429 fi 3403 3430 3404 3405 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3406 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 3407 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 3408 echo $ECHO_N "(cached) $ECHO_C" >&6 3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 3432 $as_echo_n "checking for puts in -lws2_32... " >&6; } 3433 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 3434 $as_echo_n "(cached) " >&6 3409 3435 else 3410 3436 ac_check_lib_save_LIBS=$LIBS 3411 3437 LIBS="-lws2_32 $LIBS" 3412 cat >conftest.$ac_ext <<_ACEOF 3413 /* confdefs.h. */ 3414 _ACEOF 3415 cat confdefs.h >>conftest.$ac_ext 3416 cat >>conftest.$ac_ext <<_ACEOF 3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3417 3439 /* end confdefs.h. */ 3418 3440 … … 3432 3454 } 3433 3455 _ACEOF 3434 rm -f conftest.$ac_objext conftest$ac_exeext 3435 if { (ac_try="$ac_link" 3436 case "(($ac_try" in 3437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3438 *) ac_try_echo=$ac_try;; 3439 esac 3440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3441 (eval "$ac_link") 2>conftest.er1 3442 ac_status=$? 3443 grep -v '^ *+' conftest.er1 >conftest.err 3444 rm -f conftest.er1 3445 cat conftest.err >&5 3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3447 (exit $ac_status); } && { 3448 test -z "$ac_c_werror_flag" || 3449 test ! -s conftest.err 3450 } && test -s conftest$ac_exeext && 3451 $as_test_x conftest$ac_exeext; then 3456 if ac_fn_c_try_link "$LINENO"; then : 3452 3457 ac_cv_lib_ws2_32_puts=yes 3453 3458 else 3454 echo "$as_me: failed program was:" >&5 3455 sed 's/^/| /' conftest.$ac_ext >&5 3456 3457 ac_cv_lib_ws2_32_puts=no 3458 fi 3459 3460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3461 conftest$ac_exeext conftest.$ac_ext 3459 ac_cv_lib_ws2_32_puts=no 3460 fi 3461 rm -f core conftest.err conftest.$ac_objext \ 3462 conftest$ac_exeext conftest.$ac_ext 3462 3463 LIBS=$ac_check_lib_save_LIBS 3463 3464 fi 3464 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&53465 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; }3466 if test $ac_cv_lib_ws2_32_puts = yes; then3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 3466 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 3467 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 3467 3468 cat >>confdefs.h <<_ACEOF 3468 3469 #define HAVE_LIBWS2_32 1 … … 3473 3474 fi 3474 3475 3475 3476 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3477 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 3478 if test "${ac_cv_lib_ole32_puts+set}" = set; then 3479 echo $ECHO_N "(cached) $ECHO_C" >&6 3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 3477 $as_echo_n "checking for puts in -lole32... " >&6; } 3478 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 3479 $as_echo_n "(cached) " >&6 3480 3480 else 3481 3481 ac_check_lib_save_LIBS=$LIBS 3482 3482 LIBS="-lole32 $LIBS" 3483 cat >conftest.$ac_ext <<_ACEOF 3484 /* confdefs.h. */ 3485 _ACEOF 3486 cat confdefs.h >>conftest.$ac_ext 3487 cat >>conftest.$ac_ext <<_ACEOF 3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3488 3484 /* end confdefs.h. */ 3489 3485 … … 3503 3499 } 3504 3500 _ACEOF 3505 rm -f conftest.$ac_objext conftest$ac_exeext 3506 if { (ac_try="$ac_link" 3507 case "(($ac_try" in 3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3509 *) ac_try_echo=$ac_try;; 3510 esac 3511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3512 (eval "$ac_link") 2>conftest.er1 3513 ac_status=$? 3514 grep -v '^ *+' conftest.er1 >conftest.err 3515 rm -f conftest.er1 3516 cat conftest.err >&5 3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3518 (exit $ac_status); } && { 3519 test -z "$ac_c_werror_flag" || 3520 test ! -s conftest.err 3521 } && test -s conftest$ac_exeext && 3522 $as_test_x conftest$ac_exeext; then 3501 if ac_fn_c_try_link "$LINENO"; then : 3523 3502 ac_cv_lib_ole32_puts=yes 3524 3503 else 3525 echo "$as_me: failed program was:" >&5 3526 sed 's/^/| /' conftest.$ac_ext >&5 3527 3528 ac_cv_lib_ole32_puts=no 3529 fi 3530 3531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3532 conftest$ac_exeext conftest.$ac_ext 3504 ac_cv_lib_ole32_puts=no 3505 fi 3506 rm -f core conftest.err conftest.$ac_objext \ 3507 conftest$ac_exeext conftest.$ac_ext 3533 3508 LIBS=$ac_check_lib_save_LIBS 3534 3509 fi 3535 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&53536 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; }3537 if test $ac_cv_lib_ole32_puts = yes; then3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 3511 $as_echo "$ac_cv_lib_ole32_puts" >&6; } 3512 if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 3538 3513 cat >>confdefs.h <<_ACEOF 3539 3514 #define HAVE_LIBOLE32 1 … … 3544 3519 fi 3545 3520 3546 3547 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3548 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 3549 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3550 echo $ECHO_N "(cached) $ECHO_C" >&6 3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 3522 $as_echo_n "checking for puts in -lwinmm... " >&6; } 3523 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 3524 $as_echo_n "(cached) " >&6 3551 3525 else 3552 3526 ac_check_lib_save_LIBS=$LIBS 3553 3527 LIBS="-lwinmm $LIBS" 3554 cat >conftest.$ac_ext <<_ACEOF 3555 /* confdefs.h. */ 3556 _ACEOF 3557 cat confdefs.h >>conftest.$ac_ext 3558 cat >>conftest.$ac_ext <<_ACEOF 3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3559 3529 /* end confdefs.h. */ 3560 3530 … … 3574 3544 } 3575 3545 _ACEOF 3576 rm -f conftest.$ac_objext conftest$ac_exeext 3577 if { (ac_try="$ac_link" 3578 case "(($ac_try" in 3579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3580 *) ac_try_echo=$ac_try;; 3581 esac 3582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3583 (eval "$ac_link") 2>conftest.er1 3584 ac_status=$? 3585 grep -v '^ *+' conftest.er1 >conftest.err 3586 rm -f conftest.er1 3587 cat conftest.err >&5 3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3589 (exit $ac_status); } && { 3590 test -z "$ac_c_werror_flag" || 3591 test ! -s conftest.err 3592 } && test -s conftest$ac_exeext && 3593 $as_test_x conftest$ac_exeext; then 3546 if ac_fn_c_try_link "$LINENO"; then : 3594 3547 ac_cv_lib_winmm_puts=yes 3595 3548 else 3596 echo "$as_me: failed program was:" >&5 3597 sed 's/^/| /' conftest.$ac_ext >&5 3598 3599 ac_cv_lib_winmm_puts=no 3600 fi 3601 3602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3603 conftest$ac_exeext conftest.$ac_ext 3549 ac_cv_lib_winmm_puts=no 3550 fi 3551 rm -f core conftest.err conftest.$ac_objext \ 3552 conftest$ac_exeext conftest.$ac_ext 3604 3553 LIBS=$ac_check_lib_save_LIBS 3605 3554 fi 3606 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&53607 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; }3608 if test $ac_cv_lib_winmm_puts = yes; then3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 3556 $as_echo "$ac_cv_lib_winmm_puts" >&6; } 3557 if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 3609 3558 cat >>confdefs.h <<_ACEOF 3610 3559 #define HAVE_LIBWINMM 1 … … 3615 3564 fi 3616 3565 3617 3618 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3619 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 3620 if test "${ac_cv_lib_socket_puts+set}" = set; then 3621 echo $ECHO_N "(cached) $ECHO_C" >&6 3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 3567 $as_echo_n "checking for puts in -lsocket... " >&6; } 3568 if test "${ac_cv_lib_socket_puts+set}" = set; then : 3569 $as_echo_n "(cached) " >&6 3622 3570 else 3623 3571 ac_check_lib_save_LIBS=$LIBS 3624 3572 LIBS="-lsocket $LIBS" 3625 cat >conftest.$ac_ext <<_ACEOF 3626 /* confdefs.h. */ 3627 _ACEOF 3628 cat confdefs.h >>conftest.$ac_ext 3629 cat >>conftest.$ac_ext <<_ACEOF 3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3630 3574 /* end confdefs.h. */ 3631 3575 … … 3645 3589 } 3646 3590 _ACEOF 3647 rm -f conftest.$ac_objext conftest$ac_exeext 3648 if { (ac_try="$ac_link" 3649 case "(($ac_try" in 3650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3651 *) ac_try_echo=$ac_try;; 3652 esac 3653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3654 (eval "$ac_link") 2>conftest.er1 3655 ac_status=$? 3656 grep -v '^ *+' conftest.er1 >conftest.err 3657 rm -f conftest.er1 3658 cat conftest.err >&5 3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3660 (exit $ac_status); } && { 3661 test -z "$ac_c_werror_flag" || 3662 test ! -s conftest.err 3663 } && test -s conftest$ac_exeext && 3664 $as_test_x conftest$ac_exeext; then 3591 if ac_fn_c_try_link "$LINENO"; then : 3665 3592 ac_cv_lib_socket_puts=yes 3666 3593 else 3667 echo "$as_me: failed program was:" >&5 3668 sed 's/^/| /' conftest.$ac_ext >&5 3669 3670 ac_cv_lib_socket_puts=no 3671 fi 3672 3673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3674 conftest$ac_exeext conftest.$ac_ext 3594 ac_cv_lib_socket_puts=no 3595 fi 3596 rm -f core conftest.err conftest.$ac_objext \ 3597 conftest$ac_exeext conftest.$ac_ext 3675 3598 LIBS=$ac_check_lib_save_LIBS 3676 3599 fi 3677 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&53678 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; }3679 if test $ac_cv_lib_socket_puts = yes; then3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 3601 $as_echo "$ac_cv_lib_socket_puts" >&6; } 3602 if test "x$ac_cv_lib_socket_puts" = x""yes; then : 3680 3603 cat >>confdefs.h <<_ACEOF 3681 3604 #define HAVE_LIBSOCKET 1 … … 3686 3609 fi 3687 3610 3688 3689 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3690 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 3691 if test "${ac_cv_lib_rt_puts+set}" = set; then 3692 echo $ECHO_N "(cached) $ECHO_C" >&6 3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 3612 $as_echo_n "checking for puts in -lrt... " >&6; } 3613 if test "${ac_cv_lib_rt_puts+set}" = set; then : 3614 $as_echo_n "(cached) " >&6 3693 3615 else 3694 3616 ac_check_lib_save_LIBS=$LIBS 3695 3617 LIBS="-lrt $LIBS" 3696 cat >conftest.$ac_ext <<_ACEOF 3697 /* confdefs.h. */ 3698 _ACEOF 3699 cat confdefs.h >>conftest.$ac_ext 3700 cat >>conftest.$ac_ext <<_ACEOF 3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3701 3619 /* end confdefs.h. */ 3702 3620 … … 3716 3634 } 3717 3635 _ACEOF 3718 rm -f conftest.$ac_objext conftest$ac_exeext 3719 if { (ac_try="$ac_link" 3720 case "(($ac_try" in 3721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3722 *) ac_try_echo=$ac_try;; 3723 esac 3724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3725 (eval "$ac_link") 2>conftest.er1 3726 ac_status=$? 3727 grep -v '^ *+' conftest.er1 >conftest.err 3728 rm -f conftest.er1 3729 cat conftest.err >&5 3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3731 (exit $ac_status); } && { 3732 test -z "$ac_c_werror_flag" || 3733 test ! -s conftest.err 3734 } && test -s conftest$ac_exeext && 3735 $as_test_x conftest$ac_exeext; then 3636 if ac_fn_c_try_link "$LINENO"; then : 3736 3637 ac_cv_lib_rt_puts=yes 3737 3638 else 3738 echo "$as_me: failed program was:" >&5 3739 sed 's/^/| /' conftest.$ac_ext >&5 3740 3741 ac_cv_lib_rt_puts=no 3742 fi 3743 3744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3745 conftest$ac_exeext conftest.$ac_ext 3639 ac_cv_lib_rt_puts=no 3640 fi 3641 rm -f core conftest.err conftest.$ac_objext \ 3642 conftest$ac_exeext conftest.$ac_ext 3746 3643 LIBS=$ac_check_lib_save_LIBS 3747 3644 fi 3748 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&53749 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; }3750 if test $ac_cv_lib_rt_puts = yes; then3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 3646 $as_echo "$ac_cv_lib_rt_puts" >&6; } 3647 if test "x$ac_cv_lib_rt_puts" = x""yes; then : 3751 3648 cat >>confdefs.h <<_ACEOF 3752 3649 #define HAVE_LIBRT 1 … … 3757 3654 fi 3758 3655 3759 3760 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3761 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 3762 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3763 echo $ECHO_N "(cached) $ECHO_C" >&6 3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 3657 $as_echo_n "checking for puts in -lnsl... " >&6; } 3658 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 3659 $as_echo_n "(cached) " >&6 3764 3660 else 3765 3661 ac_check_lib_save_LIBS=$LIBS 3766 3662 LIBS="-lnsl $LIBS" 3767 cat >conftest.$ac_ext <<_ACEOF 3768 /* confdefs.h. */ 3769 _ACEOF 3770 cat confdefs.h >>conftest.$ac_ext 3771 cat >>conftest.$ac_ext <<_ACEOF 3663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3772 3664 /* end confdefs.h. */ 3773 3665 … … 3787 3679 } 3788 3680 _ACEOF 3789 rm -f conftest.$ac_objext conftest$ac_exeext 3790 if { (ac_try="$ac_link" 3791 case "(($ac_try" in 3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3793 *) ac_try_echo=$ac_try;; 3794 esac 3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3796 (eval "$ac_link") 2>conftest.er1 3797 ac_status=$? 3798 grep -v '^ *+' conftest.er1 >conftest.err 3799 rm -f conftest.er1 3800 cat conftest.err >&5 3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3802 (exit $ac_status); } && { 3803 test -z "$ac_c_werror_flag" || 3804 test ! -s conftest.err 3805 } && test -s conftest$ac_exeext && 3806 $as_test_x conftest$ac_exeext; then 3681 if ac_fn_c_try_link "$LINENO"; then : 3807 3682 ac_cv_lib_nsl_puts=yes 3808 3683 else 3809 echo "$as_me: failed program was:" >&5 3810 sed 's/^/| /' conftest.$ac_ext >&5 3811 3812 ac_cv_lib_nsl_puts=no 3813 fi 3814 3815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3816 conftest$ac_exeext conftest.$ac_ext 3684 ac_cv_lib_nsl_puts=no 3685 fi 3686 rm -f core conftest.err conftest.$ac_objext \ 3687 conftest$ac_exeext conftest.$ac_ext 3817 3688 LIBS=$ac_check_lib_save_LIBS 3818 3689 fi 3819 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&53820 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; }3821 if test $ac_cv_lib_nsl_puts = yes; then3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 3691 $as_echo "$ac_cv_lib_nsl_puts" >&6; } 3692 if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 3822 3693 cat >>confdefs.h <<_ACEOF 3823 3694 #define HAVE_LIBNSL 1 … … 3828 3699 fi 3829 3700 3830 3831 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3832 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3833 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3834 echo $ECHO_N "(cached) $ECHO_C" >&6 3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3702 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3703 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3704 $as_echo_n "(cached) " >&6 3835 3705 else 3836 3706 ac_check_lib_save_LIBS=$LIBS 3837 3707 LIBS="-luuid $LIBS" 3838 cat >conftest.$ac_ext <<_ACEOF 3839 /* confdefs.h. */ 3840 _ACEOF 3841 cat confdefs.h >>conftest.$ac_ext 3842 cat >>conftest.$ac_ext <<_ACEOF 3708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3843 3709 /* end confdefs.h. */ 3844 3710 … … 3858 3724 } 3859 3725 _ACEOF 3860 rm -f conftest.$ac_objext conftest$ac_exeext 3861 if { (ac_try="$ac_link" 3862 case "(($ac_try" in 3863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3864 *) ac_try_echo=$ac_try;; 3865 esac 3866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3867 (eval "$ac_link") 2>conftest.er1 3868 ac_status=$? 3869 grep -v '^ *+' conftest.er1 >conftest.err 3870 rm -f conftest.er1 3871 cat conftest.err >&5 3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3873 (exit $ac_status); } && { 3874 test -z "$ac_c_werror_flag" || 3875 test ! -s conftest.err 3876 } && test -s conftest$ac_exeext && 3877 $as_test_x conftest$ac_exeext; then 3726 if ac_fn_c_try_link "$LINENO"; then : 3878 3727 ac_cv_lib_uuid_uuid_generate=yes 3879 3728 else 3880 echo "$as_me: failed program was:" >&5 3881 sed 's/^/| /' conftest.$ac_ext >&5 3882 3883 ac_cv_lib_uuid_uuid_generate=no 3884 fi 3885 3886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3887 conftest$ac_exeext conftest.$ac_ext 3729 ac_cv_lib_uuid_uuid_generate=no 3730 fi 3731 rm -f core conftest.err conftest.$ac_objext \ 3732 conftest$ac_exeext conftest.$ac_ext 3888 3733 LIBS=$ac_check_lib_save_LIBS 3889 3734 fi 3890 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53891 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }3892 if test $ac_cv_lib_uuid_uuid_generate = yes; then3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3736 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3737 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 3893 3738 cat >>confdefs.h <<_ACEOF 3894 3739 #define HAVE_LIBUUID 1 … … 3899 3744 fi 3900 3745 3901 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53902 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; }3903 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3904 echo $ECHO_N "(cached) $ECHO_C" >&63746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3747 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3748 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3749 $as_echo_n "(cached) " >&6 3905 3750 else 3906 3751 ac_check_lib_save_LIBS=$LIBS 3907 3752 LIBS="-luuid $LIBS" 3908 cat >conftest.$ac_ext <<_ACEOF 3909 /* confdefs.h. */ 3910 _ACEOF 3911 cat confdefs.h >>conftest.$ac_ext 3912 cat >>conftest.$ac_ext <<_ACEOF 3753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3913 3754 /* end confdefs.h. */ 3914 3755 … … 3928 3769 } 3929 3770 _ACEOF 3930 rm -f conftest.$ac_objext conftest$ac_exeext 3931 if { (ac_try="$ac_link" 3932 case "(($ac_try" in 3933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3934 *) ac_try_echo=$ac_try;; 3935 esac 3936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3937 (eval "$ac_link") 2>conftest.er1 3938 ac_status=$? 3939 grep -v '^ *+' conftest.er1 >conftest.err 3940 rm -f conftest.er1 3941 cat conftest.err >&5 3942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3943 (exit $ac_status); } && { 3944 test -z "$ac_c_werror_flag" || 3945 test ! -s conftest.err 3946 } && test -s conftest$ac_exeext && 3947 $as_test_x conftest$ac_exeext; then 3771 if ac_fn_c_try_link "$LINENO"; then : 3948 3772 ac_cv_lib_uuid_uuid_generate=yes 3949 3773 else 3950 echo "$as_me: failed program was:" >&5 3951 sed 's/^/| /' conftest.$ac_ext >&5 3952 3953 ac_cv_lib_uuid_uuid_generate=no 3954 fi 3955 3956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3957 conftest$ac_exeext conftest.$ac_ext 3774 ac_cv_lib_uuid_uuid_generate=no 3775 fi 3776 rm -f core conftest.err conftest.$ac_objext \ 3777 conftest$ac_exeext conftest.$ac_ext 3958 3778 LIBS=$ac_check_lib_save_LIBS 3959 3779 fi 3960 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53961 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }3962 if test $ac_cv_lib_uuid_uuid_generate = yes; then3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3781 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3782 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 3963 3783 ac_has_uuid_lib=1 3964 3784 fi 3965 3785 3966 3786 3967 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&53968 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; }3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 3788 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 3969 3789 cat >>confdefs.h <<_ACEOF 3970 3790 #define PJ_M_NAME "$target_cpu" … … 3972 3792 3973 3793 3974 { echo "$as_me:$LINENO: checking memory alignment" >&53975 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; }3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 3795 $as_echo_n "checking memory alignment... " >&6; } 3976 3796 case $target in 3977 3797 ia64-* | x86_64-* ) 3978 cat >>confdefs.h <<\_ACEOF 3979 #define PJ_POOL_ALIGNMENT 8 3980 _ACEOF 3981 3982 { echo "$as_me:$LINENO: result: 8 bytes" >&5 3983 echo "${ECHO_T}8 bytes" >&6; } 3798 $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 3799 3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 3801 $as_echo "8 bytes" >&6; } 3984 3802 ;; 3985 3803 * ) 3986 cat >>confdefs.h <<\_ACEOF 3987 #define PJ_POOL_ALIGNMENT 4 3988 _ACEOF 3989 3990 { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 3991 echo "${ECHO_T}4 bytes (default)" >&6; } 3804 $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 3805 3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 3807 $as_echo "4 bytes (default)" >&6; } 3992 3808 ;; 3993 3809 esac … … 3999 3815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4000 3816 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4001 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&54002 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3818 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4003 3819 # On Suns, sometimes $CPP names a directory. 4004 3820 if test -n "$CPP" && test -d "$CPP"; then … … 4006 3822 fi 4007 3823 if test -z "$CPP"; then 4008 if test "${ac_cv_prog_CPP+set}" = set; then 4009 echo $ECHO_N "(cached) $ECHO_C" >&63824 if test "${ac_cv_prog_CPP+set}" = set; then : 3825 $as_echo_n "(cached) " >&6 4010 3826 else 4011 3827 # Double quotes because CPP needs to be expanded … … 4021 3837 # On the NeXT, cc -E runs the code through the compiler's parser, 4022 3838 # not just through cpp. "Syntax error" is here to catch this case. 4023 cat >conftest.$ac_ext <<_ACEOF 4024 /* confdefs.h. */ 4025 _ACEOF 4026 cat confdefs.h >>conftest.$ac_ext 4027 cat >>conftest.$ac_ext <<_ACEOF 3839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4028 3840 /* end confdefs.h. */ 4029 3841 #ifdef __STDC__ … … 4034 3846 Syntax error 4035 3847 _ACEOF 4036 if { (ac_try="$ac_cpp conftest.$ac_ext" 4037 case "(($ac_try" in 4038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4039 *) ac_try_echo=$ac_try;; 4040 esac 4041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4042 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4043 ac_status=$? 4044 grep -v '^ *+' conftest.er1 >conftest.err 4045 rm -f conftest.er1 4046 cat conftest.err >&5 4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4048 (exit $ac_status); } >/dev/null && { 4049 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4050 test ! -s conftest.err 4051 }; then 4052 : 4053 else 4054 echo "$as_me: failed program was:" >&5 4055 sed 's/^/| /' conftest.$ac_ext >&5 4056 3848 if ac_fn_c_try_cpp "$LINENO"; then : 3849 3850 else 4057 3851 # Broken: fails on valid input. 4058 3852 continue 4059 3853 fi 4060 4061 3854 rm -f conftest.err conftest.$ac_ext 4062 3855 4063 3856 # OK, works on sane cases. Now check whether nonexistent headers 4064 3857 # can be detected and how. 4065 cat >conftest.$ac_ext <<_ACEOF 4066 /* confdefs.h. */ 4067 _ACEOF 4068 cat confdefs.h >>conftest.$ac_ext 4069 cat >>conftest.$ac_ext <<_ACEOF 3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4070 3859 /* end confdefs.h. */ 4071 3860 #include <ac_nonexistent.h> 4072 3861 _ACEOF 4073 if { (ac_try="$ac_cpp conftest.$ac_ext" 4074 case "(($ac_try" in 4075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4076 *) ac_try_echo=$ac_try;; 4077 esac 4078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4079 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4080 ac_status=$? 4081 grep -v '^ *+' conftest.er1 >conftest.err 4082 rm -f conftest.er1 4083 cat conftest.err >&5 4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4085 (exit $ac_status); } >/dev/null && { 4086 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4087 test ! -s conftest.err 4088 }; then 3862 if ac_fn_c_try_cpp "$LINENO"; then : 4089 3863 # Broken: success on invalid input. 4090 3864 continue 4091 3865 else 4092 echo "$as_me: failed program was:" >&54093 sed 's/^/| /' conftest.$ac_ext >&54094 4095 3866 # Passes both tests. 4096 3867 ac_preproc_ok=: 4097 3868 break 4098 3869 fi 4099 4100 3870 rm -f conftest.err conftest.$ac_ext 4101 3871 … … 4103 3873 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4104 3874 rm -f conftest.err conftest.$ac_ext 4105 if $ac_preproc_ok; then 3875 if $ac_preproc_ok; then : 4106 3876 break 4107 3877 fi … … 4115 3885 ac_cv_prog_CPP=$CPP 4116 3886 fi 4117 { echo "$as_me:$LINENO: result: $CPP" >&54118 echo "${ECHO_T}$CPP" >&6; }3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3888 $as_echo "$CPP" >&6; } 4119 3889 ac_preproc_ok=false 4120 3890 for ac_c_preproc_warn_flag in '' yes … … 4126 3896 # On the NeXT, cc -E runs the code through the compiler's parser, 4127 3897 # not just through cpp. "Syntax error" is here to catch this case. 4128 cat >conftest.$ac_ext <<_ACEOF 4129 /* confdefs.h. */ 4130 _ACEOF 4131 cat confdefs.h >>conftest.$ac_ext 4132 cat >>conftest.$ac_ext <<_ACEOF 3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4133 3899 /* end confdefs.h. */ 4134 3900 #ifdef __STDC__ … … 4139 3905 Syntax error 4140 3906 _ACEOF 4141 if { (ac_try="$ac_cpp conftest.$ac_ext" 4142 case "(($ac_try" in 4143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4144 *) ac_try_echo=$ac_try;; 4145 esac 4146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4148 ac_status=$? 4149 grep -v '^ *+' conftest.er1 >conftest.err 4150 rm -f conftest.er1 4151 cat conftest.err >&5 4152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4153 (exit $ac_status); } >/dev/null && { 4154 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4155 test ! -s conftest.err 4156 }; then 4157 : 4158 else 4159 echo "$as_me: failed program was:" >&5 4160 sed 's/^/| /' conftest.$ac_ext >&5 4161 3907 if ac_fn_c_try_cpp "$LINENO"; then : 3908 3909 else 4162 3910 # Broken: fails on valid input. 4163 3911 continue 4164 3912 fi 4165 4166 3913 rm -f conftest.err conftest.$ac_ext 4167 3914 4168 3915 # OK, works on sane cases. Now check whether nonexistent headers 4169 3916 # can be detected and how. 4170 cat >conftest.$ac_ext <<_ACEOF 4171 /* confdefs.h. */ 4172 _ACEOF 4173 cat confdefs.h >>conftest.$ac_ext 4174 cat >>conftest.$ac_ext <<_ACEOF 3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4175 3918 /* end confdefs.h. */ 4176 3919 #include <ac_nonexistent.h> 4177 3920 _ACEOF 4178 if { (ac_try="$ac_cpp conftest.$ac_ext" 4179 case "(($ac_try" in 4180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4181 *) ac_try_echo=$ac_try;; 4182 esac 4183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4185 ac_status=$? 4186 grep -v '^ *+' conftest.er1 >conftest.err 4187 rm -f conftest.er1 4188 cat conftest.err >&5 4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4190 (exit $ac_status); } >/dev/null && { 4191 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4192 test ! -s conftest.err 4193 }; then 3921 if ac_fn_c_try_cpp "$LINENO"; then : 4194 3922 # Broken: success on invalid input. 4195 3923 continue 4196 3924 else 4197 echo "$as_me: failed program was:" >&54198 sed 's/^/| /' conftest.$ac_ext >&54199 4200 3925 # Passes both tests. 4201 3926 ac_preproc_ok=: 4202 3927 break 4203 3928 fi 4204 4205 3929 rm -f conftest.err conftest.$ac_ext 4206 3930 … … 4208 3932 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4209 3933 rm -f conftest.err conftest.$ac_ext 4210 if $ac_preproc_ok; then 4211 : 4212 else 4213 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4214 See \`config.log' for more details." >&5 4215 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4216 See \`config.log' for more details." >&2;} 4217 { (exit 1); exit 1; }; } 3934 if $ac_preproc_ok; then : 3935 3936 else 3937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3939 as_fn_error "C preprocessor \"$CPP\" fails sanity check 3940 See \`config.log' for more details." "$LINENO" 5; } 4218 3941 fi 4219 3942 … … 4225 3948 4226 3949 4227 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4228 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4229 if test "${ac_cv_path_GREP+set}" = set; then 4230 echo $ECHO_N "(cached) $ECHO_C" >&6 4231 else 4232 # Extract the first word of "grep ggrep" to use in msg output 4233 if test -z "$GREP"; then 4234 set dummy grep ggrep; ac_prog_name=$2 4235 if test "${ac_cv_path_GREP+set}" = set; then 4236 echo $ECHO_N "(cached) $ECHO_C" >&6 4237 else 3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3951 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3952 if test "${ac_cv_path_GREP+set}" = set; then : 3953 $as_echo_n "(cached) " >&6 3954 else 3955 if test -z "$GREP"; then 4238 3956 ac_path_GREP_found=false 4239 # Loop through the user's path and test for each of PROGNAME-LIST4240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR3957 # Loop through the user's path and test for each of PROGNAME-LIST 3958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4241 3959 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4242 3960 do 4243 3961 IFS=$as_save_IFS 4244 3962 test -z "$as_dir" && as_dir=. 4245 for ac_prog in grep ggrep; do4246 for ac_exec_ext in '' $ac_executable_extensions; do4247 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4248 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4249 3963 for ac_prog in grep ggrep; do 3964 for ac_exec_ext in '' $ac_executable_extensions; do 3965 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3966 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3967 # Check for GNU ac_path_GREP and select it if it is found. 4250 3968 # Check for GNU $ac_path_GREP 4251 3969 case `"$ac_path_GREP" --version 2>&1` in … … 4254 3972 *) 4255 3973 ac_count=0 4256 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"3974 $as_echo_n 0123456789 >"conftest.in" 4257 3975 while : 4258 3976 do … … 4260 3978 mv "conftest.tmp" "conftest.in" 4261 3979 cp "conftest.in" "conftest.nl" 4262 echo 'GREP' >> "conftest.nl"3980 $as_echo 'GREP' >> "conftest.nl" 4263 3981 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4264 3982 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4265 a c_count=`expr $ac_count + 1`3983 as_fn_arith $ac_count + 1 && ac_count=$as_val 4266 3984 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4267 3985 # Best one so far, save it but keep looking for a better one … … 4275 3993 esac 4276 3994 4277 4278 $ac_path_GREP_found && break 33995 $ac_path_GREP_found && break 3 3996 done 4279 3997 done 4280 done 4281 4282 done 3998 done 4283 3999 IFS=$as_save_IFS 4284 4285 4286 fi 4287 4288 GREP="$ac_cv_path_GREP" 4289 if test -z "$GREP"; then 4290 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4291 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4292 { (exit 1); exit 1; }; } 4293 fi 4294 4000 if test -z "$ac_cv_path_GREP"; then 4001 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4002 fi 4295 4003 else 4296 4004 ac_cv_path_GREP=$GREP 4297 4005 fi 4298 4006 4299 4300 fi 4301 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4302 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4007 fi 4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4009 $as_echo "$ac_cv_path_GREP" >&6; } 4303 4010 GREP="$ac_cv_path_GREP" 4304 4011 4305 4012 4306 { echo "$as_me:$LINENO: checking for egrep" >&54307 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4308 if test "${ac_cv_path_EGREP+set}" = set; then 4309 echo $ECHO_N "(cached) $ECHO_C" >&64013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4014 $as_echo_n "checking for egrep... " >&6; } 4015 if test "${ac_cv_path_EGREP+set}" = set; then : 4016 $as_echo_n "(cached) " >&6 4310 4017 else 4311 4018 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4312 4019 then ac_cv_path_EGREP="$GREP -E" 4313 4020 else 4314 # Extract the first word of "egrep" to use in msg output 4315 if test -z "$EGREP"; then 4316 set dummy egrep; ac_prog_name=$2 4317 if test "${ac_cv_path_EGREP+set}" = set; then 4318 echo $ECHO_N "(cached) $ECHO_C" >&6 4319 else 4021 if test -z "$EGREP"; then 4320 4022 ac_path_EGREP_found=false 4321 # Loop through the user's path and test for each of PROGNAME-LIST4322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4023 # Loop through the user's path and test for each of PROGNAME-LIST 4024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4323 4025 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4324 4026 do 4325 4027 IFS=$as_save_IFS 4326 4028 test -z "$as_dir" && as_dir=. 4327 for ac_prog in egrep; do4328 for ac_exec_ext in '' $ac_executable_extensions; do4329 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4330 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4331 4029 for ac_prog in egrep; do 4030 for ac_exec_ext in '' $ac_executable_extensions; do 4031 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4032 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4033 # Check for GNU ac_path_EGREP and select it if it is found. 4332 4034 # Check for GNU $ac_path_EGREP 4333 4035 case `"$ac_path_EGREP" --version 2>&1` in … … 4336 4038 *) 4337 4039 ac_count=0 4338 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4040 $as_echo_n 0123456789 >"conftest.in" 4339 4041 while : 4340 4042 do … … 4342 4044 mv "conftest.tmp" "conftest.in" 4343 4045 cp "conftest.in" "conftest.nl" 4344 echo 'EGREP' >> "conftest.nl"4046 $as_echo 'EGREP' >> "conftest.nl" 4345 4047 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4346 4048 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4347 a c_count=`expr $ac_count + 1`4049 as_fn_arith $ac_count + 1 && ac_count=$as_val 4348 4050 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4349 4051 # Best one so far, save it but keep looking for a better one … … 4357 4059 esac 4358 4060 4359 4360 $ac_path_EGREP_found && break 34061 $ac_path_EGREP_found && break 3 4062 done 4361 4063 done 4362 done 4363 4364 done 4064 done 4365 4065 IFS=$as_save_IFS 4366 4367 4368 fi 4369 4370 EGREP="$ac_cv_path_EGREP" 4371 if test -z "$EGREP"; then 4372 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4373 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4374 { (exit 1); exit 1; }; } 4375 fi 4376 4066 if test -z "$ac_cv_path_EGREP"; then 4067 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4068 fi 4377 4069 else 4378 4070 ac_cv_path_EGREP=$EGREP 4379 4071 fi 4380 4072 4381 4382 4073 fi 4383 4074 fi 4384 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54385 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4076 $as_echo "$ac_cv_path_EGREP" >&6; } 4386 4077 EGREP="$ac_cv_path_EGREP" 4387 4078 4388 4079 4389 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4390 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4391 if test "${ac_cv_header_stdc+set}" = set; then 4392 echo $ECHO_N "(cached) $ECHO_C" >&6 4393 else 4394 cat >conftest.$ac_ext <<_ACEOF 4395 /* confdefs.h. */ 4396 _ACEOF 4397 cat confdefs.h >>conftest.$ac_ext 4398 cat >>conftest.$ac_ext <<_ACEOF 4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4081 $as_echo_n "checking for ANSI C header files... " >&6; } 4082 if test "${ac_cv_header_stdc+set}" = set; then : 4083 $as_echo_n "(cached) " >&6 4084 else 4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4399 4086 /* end confdefs.h. */ 4400 4087 #include <stdlib.h> … … 4411 4098 } 4412 4099 _ACEOF 4413 rm -f conftest.$ac_objext 4414 if { (ac_try="$ac_compile" 4415 case "(($ac_try" in 4416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4417 *) ac_try_echo=$ac_try;; 4418 esac 4419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4420 (eval "$ac_compile") 2>conftest.er1 4421 ac_status=$? 4422 grep -v '^ *+' conftest.er1 >conftest.err 4423 rm -f conftest.er1 4424 cat conftest.err >&5 4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4426 (exit $ac_status); } && { 4427 test -z "$ac_c_werror_flag" || 4428 test ! -s conftest.err 4429 } && test -s conftest.$ac_objext; then 4100 if ac_fn_c_try_compile "$LINENO"; then : 4430 4101 ac_cv_header_stdc=yes 4431 4102 else 4432 echo "$as_me: failed program was:" >&5 4433 sed 's/^/| /' conftest.$ac_ext >&5 4434 4435 ac_cv_header_stdc=no 4436 fi 4437 4103 ac_cv_header_stdc=no 4104 fi 4438 4105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4439 4106 4440 4107 if test $ac_cv_header_stdc = yes; then 4441 4108 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4442 cat >conftest.$ac_ext <<_ACEOF 4443 /* confdefs.h. */ 4444 _ACEOF 4445 cat confdefs.h >>conftest.$ac_ext 4446 cat >>conftest.$ac_ext <<_ACEOF 4109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4447 4110 /* end confdefs.h. */ 4448 4111 #include <string.h> … … 4450 4113 _ACEOF 4451 4114 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4452 $EGREP "memchr" >/dev/null 2>&1; then 4453 : 4115 $EGREP "memchr" >/dev/null 2>&1; then : 4116 4454 4117 else 4455 4118 ac_cv_header_stdc=no … … 4461 4124 if test $ac_cv_header_stdc = yes; then 4462 4125 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4463 cat >conftest.$ac_ext <<_ACEOF 4464 /* confdefs.h. */ 4465 _ACEOF 4466 cat confdefs.h >>conftest.$ac_ext 4467 cat >>conftest.$ac_ext <<_ACEOF 4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4468 4127 /* end confdefs.h. */ 4469 4128 #include <stdlib.h> … … 4471 4130 _ACEOF 4472 4131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4473 $EGREP "free" >/dev/null 2>&1; then 4474 : 4132 $EGREP "free" >/dev/null 2>&1; then : 4133 4475 4134 else 4476 4135 ac_cv_header_stdc=no … … 4482 4141 if test $ac_cv_header_stdc = yes; then 4483 4142 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4484 if test "$cross_compiling" = yes; then 4143 if test "$cross_compiling" = yes; then : 4485 4144 : 4486 4145 else 4487 cat >conftest.$ac_ext <<_ACEOF 4488 /* confdefs.h. */ 4489 _ACEOF 4490 cat confdefs.h >>conftest.$ac_ext 4491 cat >>conftest.$ac_ext <<_ACEOF 4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4492 4147 /* end confdefs.h. */ 4493 4148 #include <ctype.h> … … 4516 4171 } 4517 4172 _ACEOF 4518 rm -f conftest$ac_exeext 4519 if { (ac_try="$ac_link" 4520 case "(($ac_try" in 4521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4522 *) ac_try_echo=$ac_try;; 4523 esac 4524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4525 (eval "$ac_link") 2>&5 4526 ac_status=$? 4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4528 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4529 { (case "(($ac_try" in 4530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4531 *) ac_try_echo=$ac_try;; 4532 esac 4533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4534 (eval "$ac_try") 2>&5 4535 ac_status=$? 4536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4537 (exit $ac_status); }; }; then 4538 : 4539 else 4540 echo "$as_me: program exited with status $ac_status" >&5 4541 echo "$as_me: failed program was:" >&5 4542 sed 's/^/| /' conftest.$ac_ext >&5 4543 4544 ( exit $ac_status ) 4545 ac_cv_header_stdc=no 4546 fi 4547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4548 fi 4549 4550 4551 fi 4552 fi 4553 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4554 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4173 if ac_fn_c_try_run "$LINENO"; then : 4174 4175 else 4176 ac_cv_header_stdc=no 4177 fi 4178 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4179 conftest.$ac_objext conftest.beam conftest.$ac_ext 4180 fi 4181 4182 fi 4183 fi 4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4185 $as_echo "$ac_cv_header_stdc" >&6; } 4555 4186 if test $ac_cv_header_stdc = yes; then 4556 4187 4557 cat >>confdefs.h <<\_ACEOF 4558 #define STDC_HEADERS 1 4559 _ACEOF 4188 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4560 4189 4561 4190 fi 4562 4191 4563 4192 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4193 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4574 4194 inttypes.h stdint.h unistd.h 4575 do 4576 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4577 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4579 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4580 echo $ECHO_N "(cached) $ECHO_C" >&6 4581 else 4582 cat >conftest.$ac_ext <<_ACEOF 4583 /* confdefs.h. */ 4584 _ACEOF 4585 cat confdefs.h >>conftest.$ac_ext 4586 cat >>conftest.$ac_ext <<_ACEOF 4195 do : 4196 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4197 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4198 " 4199 eval as_val=\$$as_ac_Header 4200 if test "x$as_val" = x""yes; then : 4201 cat >>confdefs.h <<_ACEOF 4202 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4203 _ACEOF 4204 4205 fi 4206 4207 done 4208 4209 4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4211 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4212 if test "${ac_cv_c_bigendian+set}" = set; then : 4213 $as_echo_n "(cached) " >&6 4214 else 4215 ac_cv_c_bigendian=unknown 4216 # See if we're dealing with a universal compiler. 4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4587 4218 /* end confdefs.h. */ 4588 $ac_includes_default 4589 4590 #include <$ac_header> 4591 _ACEOF 4592 rm -f conftest.$ac_objext 4593 if { (ac_try="$ac_compile" 4594 case "(($ac_try" in 4595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4596 *) ac_try_echo=$ac_try;; 4597 esac 4598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4599 (eval "$ac_compile") 2>conftest.er1 4600 ac_status=$? 4601 grep -v '^ *+' conftest.er1 >conftest.err 4602 rm -f conftest.er1 4603 cat conftest.err >&5 4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4605 (exit $ac_status); } && { 4606 test -z "$ac_c_werror_flag" || 4607 test ! -s conftest.err 4608 } && test -s conftest.$ac_objext; then 4609 eval "$as_ac_Header=yes" 4610 else 4611 echo "$as_me: failed program was:" >&5 4612 sed 's/^/| /' conftest.$ac_ext >&5 4613 4614 eval "$as_ac_Header=no" 4615 fi 4616 4219 #ifndef __APPLE_CC__ 4220 not a universal capable compiler 4221 #endif 4222 typedef int dummy; 4223 4224 _ACEOF 4225 if ac_fn_c_try_compile "$LINENO"; then : 4226 4227 # Check for potential -arch flags. It is not universal unless 4228 # there are at least two -arch flags with different values. 4229 ac_arch= 4230 ac_prev= 4231 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4232 if test -n "$ac_prev"; then 4233 case $ac_word in 4234 i?86 | x86_64 | ppc | ppc64) 4235 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4236 ac_arch=$ac_word 4237 else 4238 ac_cv_c_bigendian=universal 4239 break 4240 fi 4241 ;; 4242 esac 4243 ac_prev= 4244 elif test "x$ac_word" = "x-arch"; then 4245 ac_prev=arch 4246 fi 4247 done 4248 fi 4617 4249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4618 fi 4619 ac_res=`eval echo '${'$as_ac_Header'}'` 4620 { echo "$as_me:$LINENO: result: $ac_res" >&5 4621 echo "${ECHO_T}$ac_res" >&6; } 4622 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4623 cat >>confdefs.h <<_ACEOF 4624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4625 _ACEOF 4626 4627 fi 4628 4629 done 4630 4631 4632 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4633 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4634 if test "${ac_cv_c_bigendian+set}" = set; then 4635 echo $ECHO_N "(cached) $ECHO_C" >&6 4636 else 4637 # See if sys/param.h defines the BYTE_ORDER macro. 4638 cat >conftest.$ac_ext <<_ACEOF 4639 /* confdefs.h. */ 4640 _ACEOF 4641 cat confdefs.h >>conftest.$ac_ext 4642 cat >>conftest.$ac_ext <<_ACEOF 4250 if test $ac_cv_c_bigendian = unknown; then 4251 # See if sys/param.h defines the BYTE_ORDER macro. 4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4643 4253 /* end confdefs.h. */ 4644 4254 #include <sys/types.h> 4645 #include <sys/param.h>4255 #include <sys/param.h> 4646 4256 4647 4257 int 4648 4258 main () 4649 4259 { 4650 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4651 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4652 bogus endian macros 4653 #endif 4260 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4261 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4262 && LITTLE_ENDIAN) 4263 bogus endian macros 4264 #endif 4654 4265 4655 4266 ; … … 4657 4268 } 4658 4269 _ACEOF 4659 rm -f conftest.$ac_objext 4660 if { (ac_try="$ac_compile" 4661 case "(($ac_try" in 4662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4663 *) ac_try_echo=$ac_try;; 4664 esac 4665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4666 (eval "$ac_compile") 2>conftest.er1 4667 ac_status=$? 4668 grep -v '^ *+' conftest.er1 >conftest.err 4669 rm -f conftest.er1 4670 cat conftest.err >&5 4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4672 (exit $ac_status); } && { 4673 test -z "$ac_c_werror_flag" || 4674 test ! -s conftest.err 4675 } && test -s conftest.$ac_objext; then 4270 if ac_fn_c_try_compile "$LINENO"; then : 4676 4271 # It does; now see whether it defined to BIG_ENDIAN or not. 4677 cat >conftest.$ac_ext <<_ACEOF 4678 /* confdefs.h. */ 4679 _ACEOF 4680 cat confdefs.h >>conftest.$ac_ext 4681 cat >>conftest.$ac_ext <<_ACEOF 4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4682 4273 /* end confdefs.h. */ 4683 4274 #include <sys/types.h> 4684 #include <sys/param.h>4275 #include <sys/param.h> 4685 4276 4686 4277 int … … 4688 4279 { 4689 4280 #if BYTE_ORDER != BIG_ENDIAN 4690 not big endian4691 #endif4281 not big endian 4282 #endif 4692 4283 4693 4284 ; … … 4695 4286 } 4696 4287 _ACEOF 4697 rm -f conftest.$ac_objext 4698 if { (ac_try="$ac_compile" 4699 case "(($ac_try" in 4700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4701 *) ac_try_echo=$ac_try;; 4702 esac 4703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4704 (eval "$ac_compile") 2>conftest.er1 4705 ac_status=$? 4706 grep -v '^ *+' conftest.er1 >conftest.err 4707 rm -f conftest.er1 4708 cat conftest.err >&5 4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4710 (exit $ac_status); } && { 4711 test -z "$ac_c_werror_flag" || 4712 test ! -s conftest.err 4713 } && test -s conftest.$ac_objext; then 4288 if ac_fn_c_try_compile "$LINENO"; then : 4714 4289 ac_cv_c_bigendian=yes 4715 4290 else 4716 echo "$as_me: failed program was:" >&5 4717 sed 's/^/| /' conftest.$ac_ext >&5 4718 4719 ac_cv_c_bigendian=no 4720 fi 4721 4291 ac_cv_c_bigendian=no 4292 fi 4722 4293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4723 else 4724 echo "$as_me: failed program was:" >&5 4725 sed 's/^/| /' conftest.$ac_ext >&5 4726 4727 # It does not; compile a test program. 4728 if test "$cross_compiling" = yes; then 4729 # try to guess the endianness by grepping values into an object file 4730 ac_cv_c_bigendian=unknown 4731 cat >conftest.$ac_ext <<_ACEOF 4732 /* confdefs.h. */ 4733 _ACEOF 4734 cat confdefs.h >>conftest.$ac_ext 4735 cat >>conftest.$ac_ext <<_ACEOF 4294 fi 4295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4296 fi 4297 if test $ac_cv_c_bigendian = unknown; then 4298 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4736 4300 /* end confdefs.h. */ 4737 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4738 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4739 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 4740 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4741 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4742 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 4301 #include <limits.h> 4302 4743 4303 int 4744 4304 main () 4745 4305 { 4746 _ascii (); _ebcdic (); 4306 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4307 bogus endian macros 4308 #endif 4309 4747 4310 ; 4748 4311 return 0; 4749 4312 } 4750 4313 _ACEOF 4751 rm -f conftest.$ac_objext 4752 if { (ac_try="$ac_compile" 4753 case "(($ac_try" in 4754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4755 *) ac_try_echo=$ac_try;; 4756 esac 4757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4758 (eval "$ac_compile") 2>conftest.er1 4759 ac_status=$? 4760 grep -v '^ *+' conftest.er1 >conftest.err 4761 rm -f conftest.er1 4762 cat conftest.err >&5 4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4764 (exit $ac_status); } && {4765 test -z "$ac_c_werror_flag" || 4766 test ! -s conftest.err 4767 } && test -s conftest.$ac_objext; then 4768 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4314 if ac_fn_c_try_compile "$LINENO"; then : 4315 # It does; now see whether it defined to _BIG_ENDIAN or not. 4316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4317 /* end confdefs.h. */ 4318 #include <limits.h> 4319 4320 int 4321 main () 4322 { 4323 #ifndef _BIG_ENDIAN 4324 not big endian 4325 #endif 4326 4327 ; 4328 return 0; 4329 } 4330 _ACEOF 4331 if ac_fn_c_try_compile "$LINENO"; then : 4769 4332 ac_cv_c_bigendian=yes 4770 fi 4771 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4772 if test "$ac_cv_c_bigendian" = unknown; then 4773 ac_cv_c_bigendian=no 4774 else 4775 # finding both strings is unlikely to happen, but who knows? 4776 ac_cv_c_bigendian=unknown 4777 fi 4778 fi 4779 else 4780 echo "$as_me: failed program was:" >&5 4781 sed 's/^/| /' conftest.$ac_ext >&5 4782 4783 4784 fi 4785 4333 else 4334 ac_cv_c_bigendian=no 4335 fi 4786 4336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4787 else 4788 cat >conftest.$ac_ext <<_ACEOF 4789 /* confdefs.h. */ 4790 _ACEOF 4791 cat confdefs.h >>conftest.$ac_ext 4792 cat >>conftest.$ac_ext <<_ACEOF 4337 fi 4338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4339 fi 4340 if test $ac_cv_c_bigendian = unknown; then 4341 # Compile a test program. 4342 if test "$cross_compiling" = yes; then : 4343 # Try to guess by grepping values from an object file. 4344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4345 /* end confdefs.h. */ 4346 short int ascii_mm[] = 4347 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4348 short int ascii_ii[] = 4349 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4350 int use_ascii (int i) { 4351 return ascii_mm[i] + ascii_ii[i]; 4352 } 4353 short int ebcdic_ii[] = 4354 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4355 short int ebcdic_mm[] = 4356 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4357 int use_ebcdic (int i) { 4358 return ebcdic_mm[i] + ebcdic_ii[i]; 4359 } 4360 extern int foo; 4361 4362 int 4363 main () 4364 { 4365 return use_ascii (foo) == use_ebcdic (foo); 4366 ; 4367 return 0; 4368 } 4369 _ACEOF 4370 if ac_fn_c_try_compile "$LINENO"; then : 4371 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4372 ac_cv_c_bigendian=yes 4373 fi 4374 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4375 if test "$ac_cv_c_bigendian" = unknown; then 4376 ac_cv_c_bigendian=no 4377 else 4378 # finding both strings is unlikely to happen, but who knows? 4379 ac_cv_c_bigendian=unknown 4380 fi 4381 fi 4382 fi 4383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4384 else 4385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4793 4386 /* end confdefs.h. */ 4794 4387 $ac_includes_default … … 4797 4390 { 4798 4391 4799 /* Are we little or big endian? From Harbison&Steele. */4800 union4801 {4802 long int l;4803 char c[sizeof (long int)];4804 } u;4805 u.l = 1;4806 return u.c[sizeof (long int) - 1] == 1;4392 /* Are we little or big endian? From Harbison&Steele. */ 4393 union 4394 { 4395 long int l; 4396 char c[sizeof (long int)]; 4397 } u; 4398 u.l = 1; 4399 return u.c[sizeof (long int) - 1] == 1; 4807 4400 4808 4401 ; … … 4810 4403 } 4811 4404 _ACEOF 4812 rm -f conftest$ac_exeext 4813 if { (ac_try="$ac_link" 4814 case "(($ac_try" in 4815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4816 *) ac_try_echo=$ac_try;; 4817 esac 4818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4819 (eval "$ac_link") 2>&5 4820 ac_status=$? 4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4823 { (case "(($ac_try" in 4824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4825 *) ac_try_echo=$ac_try;; 4826 esac 4827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4828 (eval "$ac_try") 2>&5 4829 ac_status=$? 4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4831 (exit $ac_status); }; }; then 4405 if ac_fn_c_try_run "$LINENO"; then : 4832 4406 ac_cv_c_bigendian=no 4833 4407 else 4834 echo "$as_me: program exited with status $ac_status" >&5 4835 echo "$as_me: failed program was:" >&5 4836 sed 's/^/| /' conftest.$ac_ext >&5 4837 4838 ( exit $ac_status ) 4839 ac_cv_c_bigendian=yes 4840 fi 4841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4842 fi 4843 4844 4845 fi 4846 4847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4848 fi 4849 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4850 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4851 case $ac_cv_c_bigendian in 4852 yes) 4853 4854 cat >>confdefs.h <<\_ACEOF 4855 #define WORDS_BIGENDIAN 1 4856 _ACEOF 4857 ;; 4858 no) 4859 ;; 4860 *) 4861 { { echo "$as_me:$LINENO: error: unknown endianness 4862 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4863 echo "$as_me: error: unknown endianness 4864 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4865 { (exit 1); exit 1; }; } ;; 4866 esac 4408 ac_cv_c_bigendian=yes 4409 fi 4410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4411 conftest.$ac_objext conftest.beam conftest.$ac_ext 4412 fi 4413 4414 fi 4415 fi 4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4417 $as_echo "$ac_cv_c_bigendian" >&6; } 4418 case $ac_cv_c_bigendian in #( 4419 yes) 4420 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4421 ;; #( 4422 no) 4423 ;; #( 4424 universal) 4425 4426 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4427 4428 ;; #( 4429 *) 4430 as_fn_error "unknown endianness 4431 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4432 esac 4867 4433 4868 4434 4869 4435 case $target in 4870 4436 *mingw* | *cygw* | *win32* | *w32* ) 4871 cat >>confdefs.h <<\_ACEOF 4872 #define PJ_WIN32 1 4873 _ACEOF 4874 4875 cat >>confdefs.h <<\_ACEOF 4876 #define PJ_WIN32_WINNT 0x0400 4877 _ACEOF 4878 4879 cat >>confdefs.h <<\_ACEOF 4880 #define WIN32_LEAN_AND_MEAN 1 4881 _ACEOF 4437 $as_echo "#define PJ_WIN32 1" >>confdefs.h 4438 4439 $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 4440 4441 $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 4882 4442 4883 4443 ;; 4884 4444 *darwin*) 4885 cat >>confdefs.h <<\_ACEOF 4886 #define PJ_DARWINOS 1 4887 _ACEOF 4445 $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 4888 4446 4889 4447 ;; 4890 4448 *linux*) 4891 cat >>confdefs.h <<\_ACEOF 4892 #define PJ_LINUX 1 4893 _ACEOF 4449 $as_echo "#define PJ_LINUX 1" >>confdefs.h 4894 4450 4895 4451 ;; 4896 4452 *rtems*) 4897 cat >>confdefs.h <<\_ACEOF 4898 #define PJ_RTEMS 1 4899 _ACEOF 4453 $as_echo "#define PJ_RTEMS 1" >>confdefs.h 4900 4454 4901 4455 ;; 4902 4456 *sunos* | *solaris* ) 4903 cat >>confdefs.h <<\_ACEOF 4904 #define PJ_SUNOS 1 4905 _ACEOF 4457 $as_echo "#define PJ_SUNOS 1" >>confdefs.h 4906 4458 4907 4459 ;; … … 4914 4466 4915 4467 # Check whether --enable-floating-point was given. 4916 if test "${enable_floating_point+set}" = set; then 4468 if test "${enable_floating_point+set}" = set; then : 4917 4469 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 4918 cat >>confdefs.h <<\_ACEOF 4919 #define PJ_HAS_FLOATING_POINT 0 4920 _ACEOF 4921 4922 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 4923 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 4470 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 4471 4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 4473 $as_echo "Checking if floating point is disabled... yes" >&6; } 4924 4474 fi 4925 4475 else 4926 4476 4927 cat >>confdefs.h <<\_ACEOF 4928 #define PJ_HAS_FLOATING_POINT 1 4929 _ACEOF 4930 4931 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 4932 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 4933 4934 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 4935 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 4936 if test "${ac_cv_lib_m_fmod+set}" = set; then 4937 echo $ECHO_N "(cached) $ECHO_C" >&6 4477 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 4478 4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 4480 $as_echo "Checking if floating point is disabled... no" >&6; } 4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 4482 $as_echo_n "checking for fmod in -lm... " >&6; } 4483 if test "${ac_cv_lib_m_fmod+set}" = set; then : 4484 $as_echo_n "(cached) " >&6 4938 4485 else 4939 4486 ac_check_lib_save_LIBS=$LIBS 4940 4487 LIBS="-lm $LIBS" 4941 cat >conftest.$ac_ext <<_ACEOF 4942 /* confdefs.h. */ 4943 _ACEOF 4944 cat confdefs.h >>conftest.$ac_ext 4945 cat >>conftest.$ac_ext <<_ACEOF 4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4946 4489 /* end confdefs.h. */ 4947 4490 … … 4961 4504 } 4962 4505 _ACEOF 4963 rm -f conftest.$ac_objext conftest$ac_exeext 4964 if { (ac_try="$ac_link" 4965 case "(($ac_try" in 4966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4967 *) ac_try_echo=$ac_try;; 4968 esac 4969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4970 (eval "$ac_link") 2>conftest.er1 4971 ac_status=$? 4972 grep -v '^ *+' conftest.er1 >conftest.err 4973 rm -f conftest.er1 4974 cat conftest.err >&5 4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4976 (exit $ac_status); } && { 4977 test -z "$ac_c_werror_flag" || 4978 test ! -s conftest.err 4979 } && test -s conftest$ac_exeext && 4980 $as_test_x conftest$ac_exeext; then 4506 if ac_fn_c_try_link "$LINENO"; then : 4981 4507 ac_cv_lib_m_fmod=yes 4982 4508 else 4983 echo "$as_me: failed program was:" >&5 4984 sed 's/^/| /' conftest.$ac_ext >&5 4985 4986 ac_cv_lib_m_fmod=no 4987 fi 4988 4989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4990 conftest$ac_exeext conftest.$ac_ext 4509 ac_cv_lib_m_fmod=no 4510 fi 4511 rm -f core conftest.err conftest.$ac_objext \ 4512 conftest$ac_exeext conftest.$ac_ext 4991 4513 LIBS=$ac_check_lib_save_LIBS 4992 4514 fi 4993 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&54994 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; }4995 if test $ac_cv_lib_m_fmod = yes; then4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 4516 $as_echo "$ac_cv_lib_m_fmod" >&6; } 4517 if test "x$ac_cv_lib_m_fmod" = x""yes; then : 4996 4518 cat >>confdefs.h <<_ACEOF 4997 4519 #define HAVE_LIBM 1 … … 5007 4529 5008 4530 5009 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5010 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5011 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5012 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5013 echo $ECHO_N "(cached) $ECHO_C" >&6 5014 fi 5015 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5016 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5017 else 5018 # Is the header compilable? 5019 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 5020 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 5021 cat >conftest.$ac_ext <<_ACEOF 5022 /* confdefs.h. */ 5023 _ACEOF 5024 cat confdefs.h >>conftest.$ac_ext 5025 cat >>conftest.$ac_ext <<_ACEOF 5026 /* end confdefs.h. */ 5027 $ac_includes_default 5028 #include <arpa/inet.h> 5029 _ACEOF 5030 rm -f conftest.$ac_objext 5031 if { (ac_try="$ac_compile" 5032 case "(($ac_try" in 5033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5034 *) ac_try_echo=$ac_try;; 5035 esac 5036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5037 (eval "$ac_compile") 2>conftest.er1 5038 ac_status=$? 5039 grep -v '^ *+' conftest.er1 >conftest.err 5040 rm -f conftest.er1 5041 cat conftest.err >&5 5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5043 (exit $ac_status); } && { 5044 test -z "$ac_c_werror_flag" || 5045 test ! -s conftest.err 5046 } && test -s conftest.$ac_objext; then 5047 ac_header_compiler=yes 5048 else 5049 echo "$as_me: failed program was:" >&5 5050 sed 's/^/| /' conftest.$ac_ext >&5 5051 5052 ac_header_compiler=no 5053 fi 5054 5055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5056 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5057 echo "${ECHO_T}$ac_header_compiler" >&6; } 5058 5059 # Is the header present? 5060 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 5061 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 5062 cat >conftest.$ac_ext <<_ACEOF 5063 /* confdefs.h. */ 5064 _ACEOF 5065 cat confdefs.h >>conftest.$ac_ext 5066 cat >>conftest.$ac_ext <<_ACEOF 5067 /* end confdefs.h. */ 5068 #include <arpa/inet.h> 5069 _ACEOF 5070 if { (ac_try="$ac_cpp conftest.$ac_ext" 5071 case "(($ac_try" in 5072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5073 *) ac_try_echo=$ac_try;; 5074 esac 5075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5076 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5077 ac_status=$? 5078 grep -v '^ *+' conftest.er1 >conftest.err 5079 rm -f conftest.er1 5080 cat conftest.err >&5 5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5082 (exit $ac_status); } >/dev/null && { 5083 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5084 test ! -s conftest.err 5085 }; then 5086 ac_header_preproc=yes 5087 else 5088 echo "$as_me: failed program was:" >&5 5089 sed 's/^/| /' conftest.$ac_ext >&5 5090 5091 ac_header_preproc=no 5092 fi 5093 5094 rm -f conftest.err conftest.$ac_ext 5095 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5096 echo "${ECHO_T}$ac_header_preproc" >&6; } 5097 5098 # So? What about this header? 5099 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5100 yes:no: ) 5101 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 5102 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5103 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 5104 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 5105 ac_header_preproc=yes 5106 ;; 5107 no:yes:* ) 5108 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 5109 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 5110 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 5111 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 5112 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 5113 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 5114 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 5115 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 5116 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 5117 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 5118 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 5119 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 5120 5121 ;; 5122 esac 5123 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5124 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5125 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5126 echo $ECHO_N "(cached) $ECHO_C" >&6 5127 else 5128 ac_cv_header_arpa_inet_h=$ac_header_preproc 5129 fi 5130 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5131 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5132 5133 fi 5134 if test $ac_cv_header_arpa_inet_h = yes; then 5135 cat >>confdefs.h <<\_ACEOF 5136 #define PJ_HAS_ARPA_INET_H 1 5137 _ACEOF 5138 5139 fi 5140 5141 5142 if test "${ac_cv_header_assert_h+set}" = set; then 5143 { echo "$as_me:$LINENO: checking for assert.h" >&5 5144 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5145 if test "${ac_cv_header_assert_h+set}" = set; then 5146 echo $ECHO_N "(cached) $ECHO_C" >&6 5147 fi 5148 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5149 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5150 else 5151 # Is the header compilable? 5152 { echo "$as_me:$LINENO: checking assert.h usability" >&5 5153 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 5154 cat >conftest.$ac_ext <<_ACEOF 5155 /* confdefs.h. */ 5156 _ACEOF 5157 cat confdefs.h >>conftest.$ac_ext 5158 cat >>conftest.$ac_ext <<_ACEOF 5159 /* end confdefs.h. */ 5160 $ac_includes_default 5161 #include <assert.h> 5162 _ACEOF 5163 rm -f conftest.$ac_objext 5164 if { (ac_try="$ac_compile" 5165 case "(($ac_try" in 5166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5167 *) ac_try_echo=$ac_try;; 5168 esac 5169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5170 (eval "$ac_compile") 2>conftest.er1 5171 ac_status=$? 5172 grep -v '^ *+' conftest.er1 >conftest.err 5173 rm -f conftest.er1 5174 cat conftest.err >&5 5175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5176 (exit $ac_status); } && { 5177 test -z "$ac_c_werror_flag" || 5178 test ! -s conftest.err 5179 } && test -s conftest.$ac_objext; then 5180 ac_header_compiler=yes 5181 else 5182 echo "$as_me: failed program was:" >&5 5183 sed 's/^/| /' conftest.$ac_ext >&5 5184 5185 ac_header_compiler=no 5186 fi 5187 5188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5189 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5190 echo "${ECHO_T}$ac_header_compiler" >&6; } 5191 5192 # Is the header present? 5193 { echo "$as_me:$LINENO: checking assert.h presence" >&5 5194 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 5195 cat >conftest.$ac_ext <<_ACEOF 5196 /* confdefs.h. */ 5197 _ACEOF 5198 cat confdefs.h >>conftest.$ac_ext 5199 cat >>conftest.$ac_ext <<_ACEOF 5200 /* end confdefs.h. */ 5201 #include <assert.h> 5202 _ACEOF 5203 if { (ac_try="$ac_cpp conftest.$ac_ext" 5204 case "(($ac_try" in 5205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5206 *) ac_try_echo=$ac_try;; 5207 esac 5208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5209 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5210 ac_status=$? 5211 grep -v '^ *+' conftest.er1 >conftest.err 5212 rm -f conftest.er1 5213 cat conftest.err >&5 5214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5215 (exit $ac_status); } >/dev/null && { 5216 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5217 test ! -s conftest.err 5218 }; then 5219 ac_header_preproc=yes 5220 else 5221 echo "$as_me: failed program was:" >&5 5222 sed 's/^/| /' conftest.$ac_ext >&5 5223 5224 ac_header_preproc=no 5225 fi 5226 5227 rm -f conftest.err conftest.$ac_ext 5228 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5229 echo "${ECHO_T}$ac_header_preproc" >&6; } 5230 5231 # So? What about this header? 5232 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5233 yes:no: ) 5234 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 5235 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5236 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 5237 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 5238 ac_header_preproc=yes 5239 ;; 5240 no:yes:* ) 5241 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 5242 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 5243 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5 5244 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;} 5245 { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 5246 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 5247 { echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5 5248 echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;} 5249 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 5250 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 5251 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 5252 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 5253 5254 ;; 5255 esac 5256 { echo "$as_me:$LINENO: checking for assert.h" >&5 5257 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5258 if test "${ac_cv_header_assert_h+set}" = set; then 5259 echo $ECHO_N "(cached) $ECHO_C" >&6 5260 else 5261 ac_cv_header_assert_h=$ac_header_preproc 5262 fi 5263 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5264 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5265 5266 fi 5267 if test $ac_cv_header_assert_h = yes; then 5268 cat >>confdefs.h <<\_ACEOF 5269 #define PJ_HAS_ASSERT_H 1 5270 _ACEOF 5271 5272 fi 5273 5274 5275 if test "${ac_cv_header_ctype_h+set}" = set; then 5276 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5277 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5278 if test "${ac_cv_header_ctype_h+set}" = set; then 5279 echo $ECHO_N "(cached) $ECHO_C" >&6 5280 fi 5281 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5282 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5283 else 5284 # Is the header compilable? 5285 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 5286 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 5287 cat >conftest.$ac_ext <<_ACEOF 5288 /* confdefs.h. */ 5289 _ACEOF 5290 cat confdefs.h >>conftest.$ac_ext 5291 cat >>conftest.$ac_ext <<_ACEOF 5292 /* end confdefs.h. */ 5293 $ac_includes_default 5294 #include <ctype.h> 5295 _ACEOF 5296 rm -f conftest.$ac_objext 5297 if { (ac_try="$ac_compile" 5298 case "(($ac_try" in 5299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5300 *) ac_try_echo=$ac_try;; 5301 esac 5302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5303 (eval "$ac_compile") 2>conftest.er1 5304 ac_status=$? 5305 grep -v '^ *+' conftest.er1 >conftest.err 5306 rm -f conftest.er1 5307 cat conftest.err >&5 5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5309 (exit $ac_status); } && { 5310 test -z "$ac_c_werror_flag" || 5311 test ! -s conftest.err 5312 } && test -s conftest.$ac_objext; then 5313 ac_header_compiler=yes 5314 else 5315 echo "$as_me: failed program was:" >&5 5316 sed 's/^/| /' conftest.$ac_ext >&5 5317 5318 ac_header_compiler=no 5319 fi 5320 5321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5322 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5323 echo "${ECHO_T}$ac_header_compiler" >&6; } 5324 5325 # Is the header present? 5326 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 5327 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 5328 cat >conftest.$ac_ext <<_ACEOF 5329 /* confdefs.h. */ 5330 _ACEOF 5331 cat confdefs.h >>conftest.$ac_ext 5332 cat >>conftest.$ac_ext <<_ACEOF 5333 /* end confdefs.h. */ 5334 #include <ctype.h> 5335 _ACEOF 5336 if { (ac_try="$ac_cpp conftest.$ac_ext" 5337 case "(($ac_try" in 5338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5339 *) ac_try_echo=$ac_try;; 5340 esac 5341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5342 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5343 ac_status=$? 5344 grep -v '^ *+' conftest.er1 >conftest.err 5345 rm -f conftest.er1 5346 cat conftest.err >&5 5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5348 (exit $ac_status); } >/dev/null && { 5349 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5350 test ! -s conftest.err 5351 }; then 5352 ac_header_preproc=yes 5353 else 5354 echo "$as_me: failed program was:" >&5 5355 sed 's/^/| /' conftest.$ac_ext >&5 5356 5357 ac_header_preproc=no 5358 fi 5359 5360 rm -f conftest.err conftest.$ac_ext 5361 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5362 echo "${ECHO_T}$ac_header_preproc" >&6; } 5363 5364 # So? What about this header? 5365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5366 yes:no: ) 5367 { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 5368 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5369 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 5370 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 5371 ac_header_preproc=yes 5372 ;; 5373 no:yes:* ) 5374 { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 5375 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 5376 { echo "$as_me:$LINENO: WARNING: ctype.h: check for missing prerequisite headers?" >&5 5377 echo "$as_me: WARNING: ctype.h: check for missing prerequisite headers?" >&2;} 5378 { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 5379 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 5380 { echo "$as_me:$LINENO: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&5 5381 echo "$as_me: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&2;} 5382 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 5383 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 5384 { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 5385 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 5386 5387 ;; 5388 esac 5389 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5390 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5391 if test "${ac_cv_header_ctype_h+set}" = set; then 5392 echo $ECHO_N "(cached) $ECHO_C" >&6 5393 else 5394 ac_cv_header_ctype_h=$ac_header_preproc 5395 fi 5396 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5397 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5398 5399 fi 5400 if test $ac_cv_header_ctype_h = yes; then 5401 cat >>confdefs.h <<\_ACEOF 5402 #define PJ_HAS_CTYPE_H 1 5403 _ACEOF 4531 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 4532 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 4533 $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 4534 4535 fi 4536 4537 4538 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 4539 if test "x$ac_cv_header_assert_h" = x""yes; then : 4540 $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 4541 4542 fi 4543 4544 4545 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 4546 if test "x$ac_cv_header_ctype_h" = x""yes; then : 4547 $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 5404 4548 5405 4549 fi … … 5409 4553 case $target in 5410 4554 *mingw* | *cygw* | *win32* | *w32* ) 5411 cat >>confdefs.h <<\_ACEOF 5412 #define PJ_HAS_ERRNO_H 0 5413 _ACEOF 4555 $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 5414 4556 5415 4557 ;; 5416 4558 *) 5417 if test "${ac_cv_header_errno_h+set}" = set; then 5418 { echo "$as_me:$LINENO: checking for errno.h" >&5 5419 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 5420 if test "${ac_cv_header_errno_h+set}" = set; then 5421 echo $ECHO_N "(cached) $ECHO_C" >&6 5422 fi 5423 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5424 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 5425 else 5426 # Is the header compilable? 5427 { echo "$as_me:$LINENO: checking errno.h usability" >&5 5428 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 5429 cat >conftest.$ac_ext <<_ACEOF 5430 /* confdefs.h. */ 5431 _ACEOF 5432 cat confdefs.h >>conftest.$ac_ext 5433 cat >>conftest.$ac_ext <<_ACEOF 5434 /* end confdefs.h. */ 5435 $ac_includes_default 5436 #include <errno.h> 5437 _ACEOF 5438 rm -f conftest.$ac_objext 5439 if { (ac_try="$ac_compile" 5440 case "(($ac_try" in 5441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5442 *) ac_try_echo=$ac_try;; 5443 esac 5444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5445 (eval "$ac_compile") 2>conftest.er1 5446 ac_status=$? 5447 grep -v '^ *+' conftest.er1 >conftest.err 5448 rm -f conftest.er1 5449 cat conftest.err >&5 5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5451 (exit $ac_status); } && { 5452 test -z "$ac_c_werror_flag" || 5453 test ! -s conftest.err 5454 } && test -s conftest.$ac_objext; then 5455 ac_header_compiler=yes 5456 else 5457 echo "$as_me: failed program was:" >&5 5458 sed 's/^/| /' conftest.$ac_ext >&5 5459 5460 ac_header_compiler=no 5461 fi 5462 5463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5464 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5465 echo "${ECHO_T}$ac_header_compiler" >&6; } 5466 5467 # Is the header present? 5468 { echo "$as_me:$LINENO: checking errno.h presence" >&5 5469 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6; } 5470 cat >conftest.$ac_ext <<_ACEOF 5471 /* confdefs.h. */ 5472 _ACEOF 5473 cat confdefs.h >>conftest.$ac_ext 5474 cat >>conftest.$ac_ext <<_ACEOF 5475 /* end confdefs.h. */ 5476 #include <errno.h> 5477 _ACEOF 5478 if { (ac_try="$ac_cpp conftest.$ac_ext" 5479 case "(($ac_try" in 5480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5481 *) ac_try_echo=$ac_try;; 5482 esac 5483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5484 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5485 ac_status=$? 5486 grep -v '^ *+' conftest.er1 >conftest.err 5487 rm -f conftest.er1 5488 cat conftest.err >&5 5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5490 (exit $ac_status); } >/dev/null && { 5491 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5492 test ! -s conftest.err 5493 }; then 5494 ac_header_preproc=yes 5495 else 5496 echo "$as_me: failed program was:" >&5 5497 sed 's/^/| /' conftest.$ac_ext >&5 5498 5499 ac_header_preproc=no 5500 fi 5501 5502 rm -f conftest.err conftest.$ac_ext 5503 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5504 echo "${ECHO_T}$ac_header_preproc" >&6; } 5505 5506 # So? What about this header? 5507 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5508 yes:no: ) 5509 { echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 5510 echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5511 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 5512 echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 5513 ac_header_preproc=yes 5514 ;; 5515 no:yes:* ) 5516 { echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 5517 echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 5518 { echo "$as_me:$LINENO: WARNING: errno.h: check for missing prerequisite headers?" >&5 5519 echo "$as_me: WARNING: errno.h: check for missing prerequisite headers?" >&2;} 5520 { echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 5521 echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 5522 { echo "$as_me:$LINENO: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&5 5523 echo "$as_me: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&2;} 5524 { echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 5525 echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 5526 { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 5527 echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 5528 5529 ;; 5530 esac 5531 { echo "$as_me:$LINENO: checking for errno.h" >&5 5532 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 5533 if test "${ac_cv_header_errno_h+set}" = set; then 5534 echo $ECHO_N "(cached) $ECHO_C" >&6 5535 else 5536 ac_cv_header_errno_h=$ac_header_preproc 5537 fi 5538 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5539 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 5540 5541 fi 5542 if test $ac_cv_header_errno_h = yes; then 5543 cat >>confdefs.h <<\_ACEOF 5544 #define PJ_HAS_ERRNO_H 1 5545 _ACEOF 4559 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 4560 if test "x$ac_cv_header_errno_h" = x""yes; then : 4561 $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 5546 4562 5547 4563 fi … … 5551 4567 esac 5552 4568 5553 if test "${ac_cv_header_fcntl_h+set}" = set; then 5554 { echo "$as_me:$LINENO: checking for fcntl.h" >&5 5555 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6; } 5556 if test "${ac_cv_header_fcntl_h+set}" = set; then 5557 echo $ECHO_N "(cached) $ECHO_C" >&6 5558 fi 5559 { echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 5560 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6; } 5561 else 5562 # Is the header compilable? 5563 { echo "$as_me:$LINENO: checking fcntl.h usability" >&5 5564 echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6; } 5565 cat >conftest.$ac_ext <<_ACEOF 5566 /* confdefs.h. */ 5567 _ACEOF 5568 cat confdefs.h >>conftest.$ac_ext 5569 cat >>conftest.$ac_ext <<_ACEOF 5570 /* end confdefs.h. */ 5571 $ac_includes_default 5572 #include <fcntl.h> 5573 _ACEOF 5574 rm -f conftest.$ac_objext 5575 if { (ac_try="$ac_compile" 5576 case "(($ac_try" in 5577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5578 *) ac_try_echo=$ac_try;; 5579 esac 5580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5581 (eval "$ac_compile") 2>conftest.er1 5582 ac_status=$? 5583 grep -v '^ *+' conftest.er1 >conftest.err 5584 rm -f conftest.er1 5585 cat conftest.err >&5 5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5587 (exit $ac_status); } && { 5588 test -z "$ac_c_werror_flag" || 5589 test ! -s conftest.err 5590 } && test -s conftest.$ac_objext; then 5591 ac_header_compiler=yes 5592 else 5593 echo "$as_me: failed program was:" >&5 5594 sed 's/^/| /' conftest.$ac_ext >&5 5595 5596 ac_header_compiler=no 5597 fi 5598 5599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5600 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5601 echo "${ECHO_T}$ac_header_compiler" >&6; } 5602 5603 # Is the header present? 5604 { echo "$as_me:$LINENO: checking fcntl.h presence" >&5 5605 echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6; } 5606 cat >conftest.$ac_ext <<_ACEOF 5607 /* confdefs.h. */ 5608 _ACEOF 5609 cat confdefs.h >>conftest.$ac_ext 5610 cat >>conftest.$ac_ext <<_ACEOF 5611 /* end confdefs.h. */ 5612 #include <fcntl.h> 5613 _ACEOF 5614 if { (ac_try="$ac_cpp conftest.$ac_ext" 5615 case "(($ac_try" in 5616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5617 *) ac_try_echo=$ac_try;; 5618 esac 5619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5620 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5621 ac_status=$? 5622 grep -v '^ *+' conftest.er1 >conftest.err 5623 rm -f conftest.er1 5624 cat conftest.err >&5 5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5626 (exit $ac_status); } >/dev/null && { 5627 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5628 test ! -s conftest.err 5629 }; then 5630 ac_header_preproc=yes 5631 else 5632 echo "$as_me: failed program was:" >&5 5633 sed 's/^/| /' conftest.$ac_ext >&5