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