Changeset 3392
- Timestamp:
- Dec 10, 2010 11:04:30 AM (14 years ago)
- Location:
- pjproject/branches/projects/2.0-dev
- Files:
-
- 37 added
- 76 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/aconfigure
r3299 r3392 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_pa_use_oss 621 ac_pa_use_alsa 622 ac_pa_cflags 623 ac_external_pa 624 ac_pjmedia_snd 625 ac_external_gsm 626 ac_external_speex 627 ac_os_objs 628 EGREP 629 GREP 630 CPP 631 ac_build_mak_vars 632 ac_pjdir 633 CC_CFLAGS 634 CC_OPTIMIZE 635 CC_DEF 636 CC_INC 637 CC_OUT 638 LIBEXT2 639 LIBEXT 640 RANLIB 641 LDOUT 642 LD 643 AR 644 ac_ct_CXX 645 CXXFLAGS 646 CXX 647 OBJEXT 648 EXEEXT 649 ac_ct_CC 650 CPPFLAGS 651 LDFLAGS 652 CFLAGS 653 CC 654 target_os 655 target_vendor 656 target_cpu 657 target 658 host_os 659 host_vendor 660 host_cpu 661 host 662 build_os 663 build_vendor 664 build_cpu 665 build 666 target_alias 667 host_alias 668 build_alias 669 LIBS 670 ECHO_T 671 ECHO_N 672 ECHO_C 673 DEFS 674 mandir 675 localedir 676 libdir 677 psdir 678 pdfdir 679 dvidir 680 htmldir 681 infodir 682 docdir 683 oldincludedir 684 includedir 685 localstatedir 686 sharedstatedir 687 sysconfdir 688 datadir 689 datarootdir 690 libexecdir 691 sbindir 692 bindir 693 program_transform_name 694 prefix 695 exec_prefix 696 PACKAGE_URL 697 PACKAGE_BUGREPORT 698 PACKAGE_STRING 699 PACKAGE_VERSION 700 PACKAGE_TARNAME 701 PACKAGE_NAME 616 702 PATH_SEPARATOR 617 PACKAGE_NAME 618 PACKAGE_TARNAME 619 PACKAGE_VERSION 620 PACKAGE_STRING 621 PACKAGE_BUGREPORT 622 exec_prefix 623 prefix 624 program_transform_name 625 bindir 626 sbindir 627 libexecdir 628 datarootdir 629 datadir 630 sysconfdir 631 sharedstatedir 632 localstatedir 633 includedir 634 oldincludedir 635 docdir 636 infodir 637 htmldir 638 dvidir 639 pdfdir 640 psdir 641 libdir 642 localedir 643 mandir 644 DEFS 645 ECHO_C 646 ECHO_N 647 ECHO_T 648 LIBS 649 build_alias 650 host_alias 651 target_alias 652 build 653 build_cpu 654 build_vendor 655 build_os 656 host 657 host_cpu 658 host_vendor 659 host_os 660 target 661 target_cpu 662 target_vendor 663 target_os 664 CC 665 CFLAGS 666 LDFLAGS 667 CPPFLAGS 668 ac_ct_CC 669 EXEEXT 670 OBJEXT 671 CXX 672 CXXFLAGS 673 ac_ct_CXX 674 AR 675 LD 676 LDOUT 677 RANLIB 678 LIBEXT 679 LIBEXT2 680 CC_OUT 681 CC_INC 682 CC_DEF 683 CC_OPTIMIZE 684 CC_CFLAGS 685 ac_pjdir 686 ac_build_mak_vars 687 CPP 688 GREP 689 EGREP 690 ac_os_objs 691 ac_external_speex 692 ac_external_gsm 693 ac_pjmedia_snd 694 ac_external_pa 695 ac_pa_cflags 696 ac_pa_use_alsa 697 ac_pa_use_oss 698 ac_no_small_filter 699 ac_no_large_filter 700 ac_no_speex_aec 701 ac_no_g711_codec 702 ac_no_l16_codec 703 ac_no_gsm_codec 704 ac_no_g722_codec 705 ac_no_g7221_codec 706 ac_no_speex_codec 707 ac_no_ilbc_codec 708 ac_no_ssl 709 openssl_h_present 710 libssl_present 711 libcrypto_present 712 ac_cross_compile 713 ac_linux_poll 714 ac_host 715 ac_main_obj 716 LIBOBJS 717 LTLIBOBJS' 703 SHELL' 718 704 ac_subst_files='' 705 ac_user_opts=' 706 enable_option_checking 707 enable_floating_point 708 enable_epoll 709 with_external_speex 710 with_external_gsm 711 enable_sound 712 with_external_pa 713 enable_oss 714 enable_ext_sound 715 enable_small_filter 716 enable_large_filter 717 enable_speex_aec 718 enable_g711_codec 719 enable_l16_codec 720 enable_gsm_codec 721 enable_g722_codec 722 enable_g7221_codec 723 enable_speex_codec 724 enable_ilbc_codec 725 enable_libsamplerate 726 enable_sdl 727 enable_ffmpeg 728 enable_v4l2 729 enable_ipp 730 with_ipp 731 with_ipp_samples 732 with_ipp_arch 733 enable_ssl 734 ' 719 735 ac_precious_vars='build_alias 720 736 host_alias … … 734 750 ac_init_help= 735 751 ac_init_version=false 752 ac_unrecognized_opts= 753 ac_unrecognized_sep= 736 754 # The variables have the same names as the options, with 737 755 # dashes changed to underlines. … … 832 850 833 851 -disable-* | --disable-*) 834 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`852 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 835 853 # Reject names that are not valid shell variable names. 836 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 837 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 838 { (exit 1); exit 1; }; } 839 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 840 eval enable_$ac_feature=no ;; 854 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 855 as_fn_error "invalid feature name: $ac_useropt" 856 ac_useropt_orig=$ac_useropt 857 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 858 case $ac_user_opts in 859 *" 860 "enable_$ac_useropt" 861 "*) ;; 862 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 863 ac_unrecognized_sep=', ';; 864 esac 865 eval enable_$ac_useropt=no ;; 841 866 842 867 -docdir | --docdir | --docdi | --doc | --do) … … 851 876 852 877 -enable-* | --enable-*) 853 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`878 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 854 879 # Reject names that are not valid shell variable names. 855 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 856 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 857 { (exit 1); exit 1; }; } 858 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 859 eval enable_$ac_feature=\$ac_optarg ;; 880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 881 as_fn_error "invalid feature name: $ac_useropt" 882 ac_useropt_orig=$ac_useropt 883 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 884 case $ac_user_opts in 885 *" 886 "enable_$ac_useropt" 887 "*) ;; 888 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 889 ac_unrecognized_sep=', ';; 890 esac 891 eval enable_$ac_useropt=\$ac_optarg ;; 860 892 861 893 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1048 1080 1049 1081 -with-* | --with-*) 1050 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1082 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1051 1083 # Reject names that are not valid shell variable names. 1052 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1053 { echo "$as_me: error: invalid package name: $ac_package" >&2 1054 { (exit 1); exit 1; }; } 1055 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1056 eval with_$ac_package=\$ac_optarg ;; 1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1085 as_fn_error "invalid package name: $ac_useropt" 1086 ac_useropt_orig=$ac_useropt 1087 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1088 case $ac_user_opts in 1089 *" 1090 "with_$ac_useropt" 1091 "*) ;; 1092 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1093 ac_unrecognized_sep=', ';; 1094 esac 1095 eval with_$ac_useropt=\$ac_optarg ;; 1057 1096 1058 1097 -without-* | --without-*) 1059 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1098 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1060 1099 # Reject names that are not valid shell variable names. 1061 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1062 { echo "$as_me: error: invalid package name: $ac_package" >&2 1063 { (exit 1); exit 1; }; } 1064 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1065 eval with_$ac_package=no ;; 1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1101 as_fn_error "invalid package name: $ac_useropt" 1102 ac_useropt_orig=$ac_useropt 1103 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1104 case $ac_user_opts in 1105 *" 1106 "with_$ac_useropt" 1107 "*) ;; 1108 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1109 ac_unrecognized_sep=', ';; 1110 esac 1111 eval with_$ac_useropt=no ;; 1066 1112 1067 1113 --x) … … 1083 1129 x_libraries=$ac_optarg ;; 1084 1130 1085 -*) { echo "$as_me: error: unrecognized option: $ac_option 1086 Try \`$0 --help' for more information." >&2 1087 { (exit 1); exit 1; }; } 1131 -*) as_fn_error "unrecognized option: \`$ac_option' 1132 Try \`$0 --help' for more information." 1088 1133 ;; 1089 1134 … … 1091 1136 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1092 1137 # Reject names that are not valid shell variable names. 1093 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1094 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1095 { (exit 1); exit 1; }; } 1138 case $ac_envvar in #( 1139 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1140 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1141 esac 1096 1142 eval $ac_envvar=\$ac_optarg 1097 1143 export $ac_envvar ;; … … 1099 1145 *) 1100 1146 # FIXME: should be removed in autoconf 3.0. 1101 echo "$as_me: WARNING: you should use --build, --host, --target" >&21147 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1102 1148 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1103 echo "$as_me: WARNING: invalid host type: $ac_option" >&21149 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1104 1150 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1105 1151 ;; … … 1110 1156 if test -n "$ac_prev"; then 1111 1157 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1112 { echo "$as_me: error: missing argument to $ac_option" >&2 1113 { (exit 1); exit 1; }; } 1114 fi 1115 1116 # Be sure to have absolute directory names. 1158 as_fn_error "missing argument to $ac_option" 1159 fi 1160 1161 if test -n "$ac_unrecognized_opts"; then 1162 case $enable_option_checking in 1163 no) ;; 1164 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1165 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1166 esac 1167 fi 1168 1169 # Check all directory arguments for consistency. 1117 1170 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1118 1171 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1121 1174 do 1122 1175 eval ac_val=\$$ac_var 1176 # Remove trailing slashes. 1177 case $ac_val in 1178 */ ) 1179 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1180 eval $ac_var=\$ac_val;; 1181 esac 1182 # Be sure to have absolute directory names. 1123 1183 case $ac_val in 1124 1184 [\\/$]* | ?:[\\/]* ) continue;; 1125 1185 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1126 1186 esac 1127 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1128 { (exit 1); exit 1; }; } 1187 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1129 1188 done 1130 1189 … … 1140 1199 if test "x$build_alias" = x; then 1141 1200 cross_compiling=maybe 1142 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1201 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1143 1202 If a cross compiler is detected then cross compile mode will be used." >&2 1144 1203 elif test "x$build_alias" != "x$host_alias"; then … … 1156 1215 ac_ls_di=`ls -di .` && 1157 1216 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1158 { echo "$as_me: error: Working directory cannot be determined" >&2 1159 { (exit 1); exit 1; }; } 1217 as_fn_error "working directory cannot be determined" 1160 1218 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1161 { echo "$as_me: error: pwd does not report name of working directory" >&2 1162 { (exit 1); exit 1; }; } 1219 as_fn_error "pwd does not report name of working directory" 1163 1220 1164 1221 … … 1167 1224 ac_srcdir_defaulted=yes 1168 1225 # Try the directory containing this script, then the parent directory. 1169 ac_confdir=`$as_dirname -- "$ 0" ||1170 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1171 X"$ 0" : 'X\(//\)[^/]' \| \1172 X"$ 0" : 'X\(//\)$' \| \1173 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1174 echo X"$0" |1226 ac_confdir=`$as_dirname -- "$as_myself" || 1227 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1228 X"$as_myself" : 'X\(//\)[^/]' \| \ 1229 X"$as_myself" : 'X\(//\)$' \| \ 1230 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1231 $as_echo X"$as_myself" | 1175 1232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1176 1233 s//\1/ … … 1199 1256 if test ! -r "$srcdir/$ac_unique_file"; then 1200 1257 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1201 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1202 { (exit 1); exit 1; }; } 1258 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1203 1259 fi 1204 1260 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1205 1261 ac_abs_confdir=`( 1206 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1207 { (exit 1); exit 1; }; } 1262 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1208 1263 pwd)` 1209 1264 # When building in place, set srcdir=. … … 1253 1308 Installation directories: 1254 1309 --prefix=PREFIX install architecture-independent files in PREFIX 1255 1310 [$ac_default_prefix] 1256 1311 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1257 1312 [PREFIX] 1258 1313 1259 1314 By default, \`make install' will install all the files in … … 1265 1320 1266 1321 Fine tuning of the installation directories: 1267 --bindir=DIR user executables [EPREFIX/bin]1268 --sbindir=DIR system admin executables [EPREFIX/sbin]1269 --libexecdir=DIR program executables [EPREFIX/libexec]1270 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1271 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1272 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1273 --libdir=DIR object code libraries [EPREFIX/lib]1274 --includedir=DIR C header files [PREFIX/include]1275 --oldincludedir=DIR C header files for non-gcc [/usr/include]1276 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1277 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1278 --infodir=DIR info documentation [DATAROOTDIR/info]1279 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1280 --mandir=DIR man documentation [DATAROOTDIR/man]1281 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject]1282 --htmldir=DIR html documentation [DOCDIR]1283 --dvidir=DIR dvi documentation [DOCDIR]1284 --pdfdir=DIR pdf documentation [DOCDIR]1285 --psdir=DIR ps documentation [DOCDIR]1322 --bindir=DIR user executables [EPREFIX/bin] 1323 --sbindir=DIR system admin executables [EPREFIX/sbin] 1324 --libexecdir=DIR program executables [EPREFIX/libexec] 1325 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1326 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1327 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1328 --libdir=DIR object code libraries [EPREFIX/lib] 1329 --includedir=DIR C header files [PREFIX/include] 1330 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1331 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1332 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1333 --infodir=DIR info documentation [DATAROOTDIR/info] 1334 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1335 --mandir=DIR man documentation [DATAROOTDIR/man] 1336 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1337 --htmldir=DIR html documentation [DOCDIR] 1338 --dvidir=DIR dvi documentation [DOCDIR] 1339 --pdfdir=DIR pdf documentation [DOCDIR] 1340 --psdir=DIR ps documentation [DOCDIR] 1286 1341 _ACEOF 1287 1342 … … 1302 1357 1303 1358 Optional Features: 1359 --disable-option-checking ignore unrecognized --enable/--with options 1304 1360 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1305 1361 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1309 1365 --disable-sound Exclude sound (i.e. use null sound) 1310 1366 --disable-oss Disable OSS audio (default: not disabled) 1311 1312 1367 --enable-ext-sound PJMEDIA will not provide any sound device backend 1313 1368 --disable-small-filter Exclude small filter in resampling … … 1323 1378 --enable-libsamplerate Link with libsamplerate when available. Note that 1324 1379 PJMEDIA_RESAMPLE_IMP must also be configured 1380 --disable-sdl Disable SDL (default: not disabled) 1381 --disable-ffmpeg Disable ffmpeg (default: not disabled) 1382 --disable-v4l2 Disable Video4Linux2 (default: not disabled) 1325 1383 --enable-ipp Enable Intel IPP support. Specify the Intel IPP 1326 1384 package and samples location using IPPROOT and … … 1359 1417 nonstandard directory <lib dir> 1360 1418 LIBS libraries to pass to the linker, e.g. -l<library> 1361 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1419 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1362 1420 you have headers in a nonstandard directory <include dir> 1363 1421 CXX C++ compiler command … … 1368 1426 it to find libraries and programs with nonstandard names/locations. 1369 1427 1428 Report bugs to the package provider. 1370 1429 _ACEOF 1371 1430 ac_status=$? … … 1375 1434 # If there are subdirs, report their specific --help. 1376 1435 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1377 test -d "$ac_dir" || continue 1436 test -d "$ac_dir" || 1437 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1438 continue 1378 1439 ac_builddir=. 1379 1440 … … 1381 1442 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1382 1443 *) 1383 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1444 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1384 1445 # A ".." for each directory in $ac_dir_suffix. 1385 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1446 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1386 1447 case $ac_top_builddir_sub in 1387 1448 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1419 1480 $SHELL "$ac_srcdir/configure" --help=recursive 1420 1481 else 1421 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21482 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1422 1483 fi || ac_status=$? 1423 1484 cd "$ac_pwd" || { ac_status=$?; break; } … … 1429 1490 cat <<\_ACEOF 1430 1491 pjproject configure 1.x 1431 generated by GNU Autoconf 2.61 1432 1433 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1434 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1492 generated by GNU Autoconf 2.65 1493 1494 Copyright (C) 2009 Free Software Foundation, Inc. 1435 1495 This configure script is free software; the Free Software Foundation 1436 1496 gives unlimited permission to copy, distribute and modify it. … … 1438 1498 exit 1439 1499 fi 1500 1501 ## ------------------------ ## 1502 ## Autoconf initialization. ## 1503 ## ------------------------ ## 1504 1505 # ac_fn_c_try_compile LINENO 1506 # -------------------------- 1507 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1508 ac_fn_c_try_compile () 1509 { 1510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1511 rm -f conftest.$ac_objext 1512 if { { ac_try="$ac_compile" 1513 case "(($ac_try" in 1514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1515 *) ac_try_echo=$ac_try;; 1516 esac 1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1518 $as_echo "$ac_try_echo"; } >&5 1519 (eval "$ac_compile") 2>conftest.err 1520 ac_status=$? 1521 if test -s conftest.err; then 1522 grep -v '^ *+' conftest.err >conftest.er1 1523 cat conftest.er1 >&5 1524 mv -f conftest.er1 conftest.err 1525 fi 1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1527 test $ac_status = 0; } && { 1528 test -z "$ac_c_werror_flag" || 1529 test ! -s conftest.err 1530 } && test -s conftest.$ac_objext; then : 1531 ac_retval=0 1532 else 1533 $as_echo "$as_me: failed program was:" >&5 1534 sed 's/^/| /' conftest.$ac_ext >&5 1535 1536 ac_retval=1 1537 fi 1538 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1539 as_fn_set_status $ac_retval 1540 1541 } # ac_fn_c_try_compile 1542 1543 # ac_fn_cxx_try_compile LINENO 1544 # ---------------------------- 1545 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1546 ac_fn_cxx_try_compile () 1547 { 1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1549 rm -f conftest.$ac_objext 1550 if { { ac_try="$ac_compile" 1551 case "(($ac_try" in 1552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1553 *) ac_try_echo=$ac_try;; 1554 esac 1555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1556 $as_echo "$ac_try_echo"; } >&5 1557 (eval "$ac_compile") 2>conftest.err 1558 ac_status=$? 1559 if test -s conftest.err; then 1560 grep -v '^ *+' conftest.err >conftest.er1 1561 cat conftest.er1 >&5 1562 mv -f conftest.er1 conftest.err 1563 fi 1564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1565 test $ac_status = 0; } && { 1566 test -z "$ac_cxx_werror_flag" || 1567 test ! -s conftest.err 1568 } && test -s conftest.$ac_objext; then : 1569 ac_retval=0 1570 else 1571 $as_echo "$as_me: failed program was:" >&5 1572 sed 's/^/| /' conftest.$ac_ext >&5 1573 1574 ac_retval=1 1575 fi 1576 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1577 as_fn_set_status $ac_retval 1578 1579 } # ac_fn_cxx_try_compile 1580 1581 # ac_fn_c_try_link LINENO 1582 # ----------------------- 1583 # Try to link conftest.$ac_ext, and return whether this succeeded. 1584 ac_fn_c_try_link () 1585 { 1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1587 rm -f conftest.$ac_objext conftest$ac_exeext 1588 if { { ac_try="$ac_link" 1589 case "(($ac_try" in 1590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1591 *) ac_try_echo=$ac_try;; 1592 esac 1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1594 $as_echo "$ac_try_echo"; } >&5 1595 (eval "$ac_link") 2>conftest.err 1596 ac_status=$? 1597 if test -s conftest.err; then 1598 grep -v '^ *+' conftest.err >conftest.er1 1599 cat conftest.er1 >&5 1600 mv -f conftest.er1 conftest.err 1601 fi 1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1603 test $ac_status = 0; } && { 1604 test -z "$ac_c_werror_flag" || 1605 test ! -s conftest.err 1606 } && test -s conftest$ac_exeext && { 1607 test "$cross_compiling" = yes || 1608 $as_test_x conftest$ac_exeext 1609 }; then : 1610 ac_retval=0 1611 else 1612 $as_echo "$as_me: failed program was:" >&5 1613 sed 's/^/| /' conftest.$ac_ext >&5 1614 1615 ac_retval=1 1616 fi 1617 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1618 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1619 # interfere with the next link command; also delete a directory that is 1620 # left behind by Apple's compiler. We do this before executing the actions. 1621 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1622 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1623 as_fn_set_status $ac_retval 1624 1625 } # ac_fn_c_try_link 1626 1627 # ac_fn_c_try_run LINENO 1628 # ---------------------- 1629 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1630 # that executables *can* be run. 1631 ac_fn_c_try_run () 1632 { 1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1634 if { { ac_try="$ac_link" 1635 case "(($ac_try" in 1636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1637 *) ac_try_echo=$ac_try;; 1638 esac 1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1640 $as_echo "$ac_try_echo"; } >&5 1641 (eval "$ac_link") 2>&5 1642 ac_status=$? 1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1644 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1645 { { case "(($ac_try" in 1646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1647 *) ac_try_echo=$ac_try;; 1648 esac 1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1650 $as_echo "$ac_try_echo"; } >&5 1651 (eval "$ac_try") 2>&5 1652 ac_status=$? 1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1654 test $ac_status = 0; }; }; then : 1655 ac_retval=0 1656 else 1657 $as_echo "$as_me: program exited with status $ac_status" >&5 1658 $as_echo "$as_me: failed program was:" >&5 1659 sed 's/^/| /' conftest.$ac_ext >&5 1660 1661 ac_retval=$ac_status 1662 fi 1663 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1664 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1665 as_fn_set_status $ac_retval 1666 1667 } # ac_fn_c_try_run 1668 1669 # ac_fn_c_try_cpp LINENO 1670 # ---------------------- 1671 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1672 ac_fn_c_try_cpp () 1673 { 1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1675 if { { ac_try="$ac_cpp conftest.$ac_ext" 1676 case "(($ac_try" in 1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1678 *) ac_try_echo=$ac_try;; 1679 esac 1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1681 $as_echo "$ac_try_echo"; } >&5 1682 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1683 ac_status=$? 1684 if test -s conftest.err; then 1685 grep -v '^ *+' conftest.err >conftest.er1 1686 cat conftest.er1 >&5 1687 mv -f conftest.er1 conftest.err 1688 fi 1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1690 test $ac_status = 0; } >/dev/null && { 1691 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1692 test ! -s conftest.err 1693 }; then : 1694 ac_retval=0 1695 else 1696 $as_echo "$as_me: failed program was:" >&5 1697 sed 's/^/| /' conftest.$ac_ext >&5 1698 1699 ac_retval=1 1700 fi 1701 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1702 as_fn_set_status $ac_retval 1703 1704 } # ac_fn_c_try_cpp 1705 1706 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1707 # ------------------------------------------------------- 1708 # Tests whether HEADER exists and can be compiled using the include files in 1709 # INCLUDES, setting the cache variable VAR accordingly. 1710 ac_fn_c_check_header_compile () 1711 { 1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1714 $as_echo_n "checking for $2... " >&6; } 1715 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1716 $as_echo_n "(cached) " >&6 1717 else 1718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1719 /* end confdefs.h. */ 1720 $4 1721 #include <$2> 1722 _ACEOF 1723 if ac_fn_c_try_compile "$LINENO"; then : 1724 eval "$3=yes" 1725 else 1726 eval "$3=no" 1727 fi 1728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1729 fi 1730 eval ac_res=\$$3 1731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1732 $as_echo "$ac_res" >&6; } 1733 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1734 1735 } # ac_fn_c_check_header_compile 1736 1737 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1738 # ------------------------------------------------------- 1739 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1740 # the include files in INCLUDES and setting the cache variable VAR 1741 # accordingly. 1742 ac_fn_c_check_header_mongrel () 1743 { 1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1745 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1747 $as_echo_n "checking for $2... " >&6; } 1748 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1749 $as_echo_n "(cached) " >&6 1750 fi 1751 eval ac_res=\$$3 1752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1753 $as_echo "$ac_res" >&6; } 1754 else 1755 # Is the header compilable? 1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1757 $as_echo_n "checking $2 usability... " >&6; } 1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1759 /* end confdefs.h. */ 1760 $4 1761 #include <$2> 1762 _ACEOF 1763 if ac_fn_c_try_compile "$LINENO"; then : 1764 ac_header_compiler=yes 1765 else 1766 ac_header_compiler=no 1767 fi 1768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1770 $as_echo "$ac_header_compiler" >&6; } 1771 1772 # Is the header present? 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1774 $as_echo_n "checking $2 presence... " >&6; } 1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1776 /* end confdefs.h. */ 1777 #include <$2> 1778 _ACEOF 1779 if ac_fn_c_try_cpp "$LINENO"; then : 1780 ac_header_preproc=yes 1781 else 1782 ac_header_preproc=no 1783 fi 1784 rm -f conftest.err conftest.$ac_ext 1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1786 $as_echo "$ac_header_preproc" >&6; } 1787 1788 # So? What about this header? 1789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1790 yes:no: ) 1791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1792 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1794 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1795 ;; 1796 no:yes:* ) 1797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1798 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1800 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1802 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1804 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1806 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1807 ;; 1808 esac 1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1810 $as_echo_n "checking for $2... " >&6; } 1811 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1812 $as_echo_n "(cached) " >&6 1813 else 1814 eval "$3=\$ac_header_compiler" 1815 fi 1816 eval ac_res=\$$3 1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1818 $as_echo "$ac_res" >&6; } 1819 fi 1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1821 1822 } # ac_fn_c_check_header_mongrel 1823 1824 # ac_fn_c_check_func LINENO FUNC VAR 1825 # ---------------------------------- 1826 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1827 ac_fn_c_check_func () 1828 { 1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1831 $as_echo_n "checking for $2... " >&6; } 1832 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1833 $as_echo_n "(cached) " >&6 1834 else 1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1836 /* end confdefs.h. */ 1837 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1838 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1839 #define $2 innocuous_$2 1840 1841 /* System header to define __stub macros and hopefully few prototypes, 1842 which can conflict with char $2 (); below. 1843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1844 <limits.h> exists even on freestanding compilers. */ 1845 1846 #ifdef __STDC__ 1847 # include <limits.h> 1848 #else 1849 # include <assert.h> 1850 #endif 1851 1852 #undef $2 1853 1854 /* Override any GCC internal prototype to avoid an error. 1855 Use char because int might match the return type of a GCC 1856 builtin and then its argument prototype would still apply. */ 1857 #ifdef __cplusplus 1858 extern "C" 1859 #endif 1860 char $2 (); 1861 /* The GNU C library defines this for functions which it implements 1862 to always fail with ENOSYS. Some functions are actually named 1863 something starting with __ and the normal name is an alias. */ 1864 #if defined __stub_$2 || defined __stub___$2 1865 choke me 1866 #endif 1867 1868 int 1869 main () 1870 { 1871 return $2 (); 1872 ; 1873 return 0; 1874 } 1875 _ACEOF 1876 if ac_fn_c_try_link "$LINENO"; then : 1877 eval "$3=yes" 1878 else 1879 eval "$3=no" 1880 fi 1881 rm -f core conftest.err conftest.$ac_objext \ 1882 conftest$ac_exeext conftest.$ac_ext 1883 fi 1884 eval ac_res=\$$3 1885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1886 $as_echo "$ac_res" >&6; } 1887 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1888 1889 } # ac_fn_c_check_func 1440 1890 cat >config.log <<_ACEOF 1441 1891 This file contains any messages produced by compilers while … … 1443 1893 1444 1894 It was created by pjproject $as_me 1.x, which was 1445 generated by GNU Autoconf 2.6 1. Invocation command line was1895 generated by GNU Autoconf 2.65. Invocation command line was 1446 1896 1447 1897 $ $0 $@ … … 1479 1929 IFS=$as_save_IFS 1480 1930 test -z "$as_dir" && as_dir=. 1481 echo "PATH: $as_dir"1482 done1931 $as_echo "PATH: $as_dir" 1932 done 1483 1933 IFS=$as_save_IFS 1484 1934 … … 1514 1964 continue ;; 1515 1965 *\'*) 1516 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1966 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1517 1967 esac 1518 1968 case $ac_pass in 1519 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1969 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1520 1970 2) 1521 a c_configure_args1="$ac_configure_args1'$ac_arg'"1971 as_fn_append ac_configure_args1 " '$ac_arg'" 1522 1972 if test $ac_must_keep_next = true; then 1523 1973 ac_must_keep_next=false # Got value, back to normal. … … 1535 1985 esac 1536 1986 fi 1537 a c_configure_args="$ac_configure_args'$ac_arg'"1987 as_fn_append ac_configure_args " '$ac_arg'" 1538 1988 ;; 1539 1989 esac 1540 1990 done 1541 1991 done 1542 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1543 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}1992 { ac_configure_args0=; unset ac_configure_args0;} 1993 { ac_configure_args1=; unset ac_configure_args1;} 1544 1994 1545 1995 # When interrupted or exit'd, cleanup temporary files, and complete … … 1566 2016 *${as_nl}*) 1567 2017 case $ac_var in #( 1568 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51569 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2018 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2019 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1570 2020 esac 1571 2021 case $ac_var in #( 1572 2022 _ | IFS | as_nl) ;; #( 1573 *) $as_unset $ac_var ;; 2023 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2024 *) { eval $ac_var=; unset $ac_var;} ;; 1574 2025 esac ;; 1575 2026 esac … … 1600 2051 eval ac_val=\$$ac_var 1601 2052 case $ac_val in 1602 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2053 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1603 2054 esac 1604 echo "$ac_var='\''$ac_val'\''"2055 $as_echo "$ac_var='\''$ac_val'\''" 1605 2056 done | sort 1606 2057 echo … … 1617 2068 eval ac_val=\$$ac_var 1618 2069 case $ac_val in 1619 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2070 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1620 2071 esac 1621 echo "$ac_var='\''$ac_val'\''"2072 $as_echo "$ac_var='\''$ac_val'\''" 1622 2073 done | sort 1623 2074 echo … … 1635 2086 fi 1636 2087 test "$ac_signal" != 0 && 1637 echo "$as_me: caught signal $ac_signal"1638 echo "$as_me: exit $exit_status"2088 $as_echo "$as_me: caught signal $ac_signal" 2089 $as_echo "$as_me: exit $exit_status" 1639 2090 } >&5 1640 2091 rm -f core *.core core.conftest.* && … … 1643 2094 ' 0 1644 2095 for ac_signal in 1 2 13 15; do 1645 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2096 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1646 2097 done 1647 2098 ac_signal=0 … … 1650 2101 rm -f -r conftest* confdefs.h 1651 2102 2103 $as_echo "/* confdefs.h */" > confdefs.h 2104 1652 2105 # Predefined preprocessor variables. 1653 2106 … … 1656 2109 _ACEOF 1657 2110 1658 1659 2111 cat >>confdefs.h <<_ACEOF 1660 2112 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1661 2113 _ACEOF 1662 2114 1663 1664 2115 cat >>confdefs.h <<_ACEOF 1665 2116 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1666 2117 _ACEOF 1667 2118 1668 1669 2119 cat >>confdefs.h <<_ACEOF 1670 2120 #define PACKAGE_STRING "$PACKAGE_STRING" 1671 2121 _ACEOF 1672 2122 1673 1674 2123 cat >>confdefs.h <<_ACEOF 1675 2124 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1676 2125 _ACEOF 1677 2126 2127 cat >>confdefs.h <<_ACEOF 2128 #define PACKAGE_URL "$PACKAGE_URL" 2129 _ACEOF 2130 1678 2131 1679 2132 # Let the site file select an alternate cache file if it wants to. 1680 # Prefer explicitly selected file to automatically selected ones. 2133 # Prefer an explicitly selected file to automatically selected ones. 2134 ac_site_file1=NONE 2135 ac_site_file2=NONE 1681 2136 if test -n "$CONFIG_SITE"; then 1682 set x "$CONFIG_SITE"2137 ac_site_file1=$CONFIG_SITE 1683 2138 elif test "x$prefix" != xNONE; then 1684 set x "$prefix/share/config.site" "$prefix/etc/config.site"1685 else1686 set x "$ac_default_prefix/share/config.site" \ 1687 "$ac_default_prefix/etc/config.site" 1688 fi 1689 shift 1690 for ac_site_file 2139 ac_site_file1=$prefix/share/config.site 2140 ac_site_file2=$prefix/etc/config.site 2141 else 2142 ac_site_file1=$ac_default_prefix/share/config.site 2143 ac_site_file2=$ac_default_prefix/etc/config.site 2144 fi 2145 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1691 2146 do 1692 if test -r "$ac_site_file"; then 1693 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1694 echo "$as_me: loading site script $ac_site_file" >&6;} 2147 test "x$ac_site_file" = xNONE && continue 2148 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2149 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2150 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1695 2151 sed 's/^/| /' "$ac_site_file" >&5 1696 2152 . "$ac_site_file" … … 1699 2155 1700 2156 if test -r "$cache_file"; then 1701 # Some versions of bash will fail to source /dev/null (special 1702 # files actually), so we avoid doing that.1703 if test -f "$cache_file"; then1704 { echo "$as_me:$LINENO: loading cache $cache_file" >&51705 echo "$as_me: loading cache $cache_file" >&6;}2157 # Some versions of bash will fail to source /dev/null (special files 2158 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2159 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2160 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2161 $as_echo "$as_me: loading cache $cache_file" >&6;} 1706 2162 case $cache_file in 1707 2163 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1710 2166 fi 1711 2167 else 1712 { echo "$as_me:$LINENO: creating cache $cache_file" >&51713 echo "$as_me: creating cache $cache_file" >&6;}2168 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2169 $as_echo "$as_me: creating cache $cache_file" >&6;} 1714 2170 >$cache_file 1715 2171 fi … … 1725 2181 case $ac_old_set,$ac_new_set in 1726 2182 set,) 1727 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51728 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2183 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2184 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1729 2185 ac_cache_corrupted=: ;; 1730 2186 ,set) 1731 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51732 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2187 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2188 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1733 2189 ac_cache_corrupted=: ;; 1734 2190 ,);; 1735 2191 *) 1736 2192 if test "x$ac_old_val" != "x$ac_new_val"; then 1737 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1738 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1739 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1740 echo "$as_me: former value: $ac_old_val" >&2;} 1741 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1742 echo "$as_me: current value: $ac_new_val" >&2;} 1743 ac_cache_corrupted=: 2193 # differences in whitespace do not lead to failure. 2194 ac_old_val_w=`echo x $ac_old_val` 2195 ac_new_val_w=`echo x $ac_new_val` 2196 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2197 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2198 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2199 ac_cache_corrupted=: 2200 else 2201 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2202 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2203 eval $ac_var=\$ac_old_val 2204 fi 2205 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2206 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2207 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2208 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1744 2209 fi;; 1745 2210 esac … … 1747 2212 if test "$ac_new_set" = set; then 1748 2213 case $ac_new_val in 1749 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2214 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1750 2215 *) ac_arg=$ac_var=$ac_new_val ;; 1751 2216 esac 1752 2217 case " $ac_configure_args " in 1753 2218 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1754 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2219 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1755 2220 esac 1756 2221 fi 1757 2222 done 1758 2223 if $ac_cache_corrupted; then 1759 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1760 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1761 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1762 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1763 { (exit 1); exit 1; }; } 1764 fi 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 2224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2227 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2228 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2229 fi 2230 ## -------------------- ## 2231 ## Main body of script. ## 2232 ## -------------------- ## 1789 2233 1790 2234 ac_ext=c … … 1800 2244 ac_aux_dir= 1801 2245 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1802 if test -f "$ac_dir/install-sh"; then 1803 ac_aux_dir=$ac_dir 1804 ac_install_sh="$ac_aux_dir/install-sh -c" 1805 break 1806 elif test -f "$ac_dir/install.sh"; then 1807 ac_aux_dir=$ac_dir 1808 ac_install_sh="$ac_aux_dir/install.sh -c" 1809 break 1810 elif test -f "$ac_dir/shtool"; then 1811 ac_aux_dir=$ac_dir 1812 ac_install_sh="$ac_aux_dir/shtool install -c" 1813 break 1814 fi 2246 for ac_t in install-sh install.sh shtool; do 2247 if test -f "$ac_dir/$ac_t"; then 2248 ac_aux_dir=$ac_dir 2249 ac_install_sh="$ac_aux_dir/$ac_t -c" 2250 break 2 2251 fi 2252 done 1815 2253 done 1816 2254 if test -z "$ac_aux_dir"; then 1817 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1818 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1819 { (exit 1); exit 1; }; } 2255 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1820 2256 fi 1821 2257 … … 1831 2267 # Make sure we can run config.sub. 1832 2268 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1833 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1834 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1835 { (exit 1); exit 1; }; } 1836 1837 { echo "$as_me:$LINENO: checking build system type" >&5 1838 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1839 if test "${ac_cv_build+set}" = set; then 1840 echo $ECHO_N "(cached) $ECHO_C" >&6 2269 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2270 2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2272 $as_echo_n "checking build system type... " >&6; } 2273 if test "${ac_cv_build+set}" = set; then : 2274 $as_echo_n "(cached) " >&6 1841 2275 else 1842 2276 ac_build_alias=$build_alias … … 1844 2278 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1845 2279 test "x$ac_build_alias" = x && 1846 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1847 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1848 { (exit 1); exit 1; }; } 2280 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1849 2281 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1850 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1851 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1852 { (exit 1); exit 1; }; } 1853 1854 fi 1855 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1856 echo "${ECHO_T}$ac_cv_build" >&6; } 2282 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2283 2284 fi 2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2286 $as_echo "$ac_cv_build" >&6; } 1857 2287 case $ac_cv_build in 1858 2288 *-*-*) ;; 1859 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1860 echo "$as_me: error: invalid value of canonical build" >&2;} 1861 { (exit 1); exit 1; }; };; 2289 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1862 2290 esac 1863 2291 build=$ac_cv_build … … 1875 2303 1876 2304 1877 { echo "$as_me:$LINENO: checking host system type" >&51878 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }1879 if test "${ac_cv_host+set}" = set; then 1880 echo $ECHO_N "(cached) $ECHO_C" >&62305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2306 $as_echo_n "checking host system type... " >&6; } 2307 if test "${ac_cv_host+set}" = set; then : 2308 $as_echo_n "(cached) " >&6 1881 2309 else 1882 2310 if test "x$host_alias" = x; then … … 1884 2312 else 1885 2313 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1886 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1887 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1888 { (exit 1); exit 1; }; } 1889 fi 1890 1891 fi 1892 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1893 echo "${ECHO_T}$ac_cv_host" >&6; } 2314 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2315 fi 2316 2317 fi 2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2319 $as_echo "$ac_cv_host" >&6; } 1894 2320 case $ac_cv_host in 1895 2321 *-*-*) ;; 1896 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1897 echo "$as_me: error: invalid value of canonical host" >&2;} 1898 { (exit 1); exit 1; }; };; 2322 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1899 2323 esac 1900 2324 host=$ac_cv_host … … 1912 2336 1913 2337 1914 { echo "$as_me:$LINENO: checking target system type" >&51915 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }1916 if test "${ac_cv_target+set}" = set; then 1917 echo $ECHO_N "(cached) $ECHO_C" >&62338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2339 $as_echo_n "checking target system type... " >&6; } 2340 if test "${ac_cv_target+set}" = set; then : 2341 $as_echo_n "(cached) " >&6 1918 2342 else 1919 2343 if test "x$target_alias" = x; then … … 1921 2345 else 1922 2346 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1923 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1924 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1925 { (exit 1); exit 1; }; } 1926 fi 1927 1928 fi 1929 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1930 echo "${ECHO_T}$ac_cv_target" >&6; } 2347 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2348 fi 2349 2350 fi 2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2352 $as_echo "$ac_cv_target" >&6; } 1931 2353 case $ac_cv_target in 1932 2354 *-*-*) ;; 1933 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1934 echo "$as_me: error: invalid value of canonical target" >&2;} 1935 { (exit 1); exit 1; }; };; 2355 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 1936 2356 esac 1937 2357 target=$ac_cv_target … … 1977 2397 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1978 2398 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1979 { echo "$as_me:$LINENO: checking for $ac_word" >&51980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1981 if test "${ac_cv_prog_CC+set}" = set; then 1982 echo $ECHO_N "(cached) $ECHO_C" >&62399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2400 $as_echo_n "checking for $ac_word... " >&6; } 2401 if test "${ac_cv_prog_CC+set}" = set; then : 2402 $as_echo_n "(cached) " >&6 1983 2403 else 1984 2404 if test -n "$CC"; then … … 1990 2410 IFS=$as_save_IFS 1991 2411 test -z "$as_dir" && as_dir=. 1992 for ac_exec_ext in '' $ac_executable_extensions; do2412 for ac_exec_ext in '' $ac_executable_extensions; do 1993 2413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1994 2414 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1996 2416 break 2 1997 2417 fi 1998 2418 done 1999 done2419 done 2000 2420 IFS=$as_save_IFS 2001 2421 … … 2004 2424 CC=$ac_cv_prog_CC 2005 2425 if test -n "$CC"; then 2006 { echo "$as_me:$LINENO: result: $CC" >&52007 echo "${ECHO_T}$CC" >&6; }2008 else 2009 { echo "$as_me:$LINENO: result: no" >&52010 echo "${ECHO_T}no" >&6; }2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2427 $as_echo "$CC" >&6; } 2428 else 2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2430 $as_echo "no" >&6; } 2011 2431 fi 2012 2432 … … 2017 2437 # Extract the first word of "gcc", so it can be a program name with args. 2018 2438 set dummy gcc; ac_word=$2 2019 { echo "$as_me:$LINENO: checking for $ac_word" >&52020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2021 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2022 echo $ECHO_N "(cached) $ECHO_C" >&62439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2440 $as_echo_n "checking for $ac_word... " >&6; } 2441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2442 $as_echo_n "(cached) " >&6 2023 2443 else 2024 2444 if test -n "$ac_ct_CC"; then … … 2030 2450 IFS=$as_save_IFS 2031 2451 test -z "$as_dir" && as_dir=. 2032 for ac_exec_ext in '' $ac_executable_extensions; do2452 for ac_exec_ext in '' $ac_executable_extensions; do 2033 2453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2034 2454 ac_cv_prog_ac_ct_CC="gcc" 2035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2036 2456 break 2 2037 2457 fi 2038 2458 done 2039 done2459 done 2040 2460 IFS=$as_save_IFS 2041 2461 … … 2044 2464 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2045 2465 if test -n "$ac_ct_CC"; then 2046 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52047 echo "${ECHO_T}$ac_ct_CC" >&6; }2048 else 2049 { echo "$as_me:$LINENO: result: no" >&52050 echo "${ECHO_T}no" >&6; }2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2467 $as_echo "$ac_ct_CC" >&6; } 2468 else 2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2470 $as_echo "no" >&6; } 2051 2471 fi 2052 2472 … … 2056 2476 case $cross_compiling:$ac_tool_warned in 2057 2477 yes:) 2058 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2059 whose name does not start with the host triplet. If you think this 2060 configuration is useful to you, please write to autoconf@gnu.org." >&5 2061 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2062 whose name does not start with the host triplet. If you think this 2063 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2064 2480 ac_tool_warned=yes ;; 2065 2481 esac … … 2074 2490 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2075 2491 set dummy ${ac_tool_prefix}cc; ac_word=$2 2076 { echo "$as_me:$LINENO: checking for $ac_word" >&52077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2078 if test "${ac_cv_prog_CC+set}" = set; then 2079 echo $ECHO_N "(cached) $ECHO_C" >&62492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2493 $as_echo_n "checking for $ac_word... " >&6; } 2494 if test "${ac_cv_prog_CC+set}" = set; then : 2495 $as_echo_n "(cached) " >&6 2080 2496 else 2081 2497 if test -n "$CC"; then … … 2087 2503 IFS=$as_save_IFS 2088 2504 test -z "$as_dir" && as_dir=. 2089 for ac_exec_ext in '' $ac_executable_extensions; do2505 for ac_exec_ext in '' $ac_executable_extensions; do 2090 2506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2091 2507 ac_cv_prog_CC="${ac_tool_prefix}cc" 2092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2093 2509 break 2 2094 2510 fi 2095 2511 done 2096 done2512 done 2097 2513 IFS=$as_save_IFS 2098 2514 … … 2101 2517 CC=$ac_cv_prog_CC 2102 2518 if test -n "$CC"; then 2103 { echo "$as_me:$LINENO: result: $CC" >&52104 echo "${ECHO_T}$CC" >&6; }2105 else 2106 { echo "$as_me:$LINENO: result: no" >&52107 echo "${ECHO_T}no" >&6; }2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2520 $as_echo "$CC" >&6; } 2521 else 2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2523 $as_echo "no" >&6; } 2108 2524 fi 2109 2525 … … 2114 2530 # Extract the first word of "cc", so it can be a program name with args. 2115 2531 set dummy cc; ac_word=$2 2116 { echo "$as_me:$LINENO: checking for $ac_word" >&52117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2118 if test "${ac_cv_prog_CC+set}" = set; then 2119 echo $ECHO_N "(cached) $ECHO_C" >&62532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2533 $as_echo_n "checking for $ac_word... " >&6; } 2534 if test "${ac_cv_prog_CC+set}" = set; then : 2535 $as_echo_n "(cached) " >&6 2120 2536 else 2121 2537 if test -n "$CC"; then … … 2128 2544 IFS=$as_save_IFS 2129 2545 test -z "$as_dir" && as_dir=. 2130 for ac_exec_ext in '' $ac_executable_extensions; do2546 for ac_exec_ext in '' $ac_executable_extensions; do 2131 2547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2132 2548 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2135 2551 fi 2136 2552 ac_cv_prog_CC="cc" 2137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2138 2554 break 2 2139 2555 fi 2140 2556 done 2141 done2557 done 2142 2558 IFS=$as_save_IFS 2143 2559 … … 2158 2574 CC=$ac_cv_prog_CC 2159 2575 if test -n "$CC"; then 2160 { echo "$as_me:$LINENO: result: $CC" >&52161 echo "${ECHO_T}$CC" >&6; }2162 else 2163 { echo "$as_me:$LINENO: result: no" >&52164 echo "${ECHO_T}no" >&6; }2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2577 $as_echo "$CC" >&6; } 2578 else 2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2580 $as_echo "no" >&6; } 2165 2581 fi 2166 2582 … … 2173 2589 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2174 2590 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2175 { echo "$as_me:$LINENO: checking for $ac_word" >&52176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2177 if test "${ac_cv_prog_CC+set}" = set; then 2178 echo $ECHO_N "(cached) $ECHO_C" >&62591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2592 $as_echo_n "checking for $ac_word... " >&6; } 2593 if test "${ac_cv_prog_CC+set}" = set; then : 2594 $as_echo_n "(cached) " >&6 2179 2595 else 2180 2596 if test -n "$CC"; then … … 2186 2602 IFS=$as_save_IFS 2187 2603 test -z "$as_dir" && as_dir=. 2188 for ac_exec_ext in '' $ac_executable_extensions; do2604 for ac_exec_ext in '' $ac_executable_extensions; do 2189 2605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2190 2606 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2192 2608 break 2 2193 2609 fi 2194 2610 done 2195 done2611 done 2196 2612 IFS=$as_save_IFS 2197 2613 … … 2200 2616 CC=$ac_cv_prog_CC 2201 2617 if test -n "$CC"; then 2202 { echo "$as_me:$LINENO: result: $CC" >&52203 echo "${ECHO_T}$CC" >&6; }2204 else 2205 { echo "$as_me:$LINENO: result: no" >&52206 echo "${ECHO_T}no" >&6; }2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2619 $as_echo "$CC" >&6; } 2620 else 2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2622 $as_echo "no" >&6; } 2207 2623 fi 2208 2624 … … 2217 2633 # Extract the first word of "$ac_prog", so it can be a program name with args. 2218 2634 set dummy $ac_prog; ac_word=$2 2219 { echo "$as_me:$LINENO: checking for $ac_word" >&52220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2221 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2222 echo $ECHO_N "(cached) $ECHO_C" >&62635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2636 $as_echo_n "checking for $ac_word... " >&6; } 2637 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2638 $as_echo_n "(cached) " >&6 2223 2639 else 2224 2640 if test -n "$ac_ct_CC"; then … … 2230 2646 IFS=$as_save_IFS 2231 2647 test -z "$as_dir" && as_dir=. 2232 for ac_exec_ext in '' $ac_executable_extensions; do2648 for ac_exec_ext in '' $ac_executable_extensions; do 2233 2649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2234 2650 ac_cv_prog_ac_ct_CC="$ac_prog" 2235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2236 2652 break 2 2237 2653 fi 2238 2654 done 2239 done2655 done 2240 2656 IFS=$as_save_IFS 2241 2657 … … 2244 2660 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2245 2661 if test -n "$ac_ct_CC"; then 2246 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52247 echo "${ECHO_T}$ac_ct_CC" >&6; }2248 else 2249 { echo "$as_me:$LINENO: result: no" >&52250 echo "${ECHO_T}no" >&6; }2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2663 $as_echo "$ac_ct_CC" >&6; } 2664 else 2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2666 $as_echo "no" >&6; } 2251 2667 fi 2252 2668 … … 2260 2676 case $cross_compiling:$ac_tool_warned in 2261 2677 yes:) 2262 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2263 whose name does not start with the host triplet. If you think this 2264 configuration is useful to you, please write to autoconf@gnu.org." >&5 2265 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2266 whose name does not start with the host triplet. If you think this 2267 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2268 2680 ac_tool_warned=yes ;; 2269 2681 esac … … 2275 2687 2276 2688 2277 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2278 See \`config.log' for more details." >&5 2279 echo "$as_me: error: no acceptable C compiler found in \$PATH 2280 See \`config.log' for more details." >&2;} 2281 { (exit 1); exit 1; }; } 2689 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2691 as_fn_error "no acceptable C compiler found in \$PATH 2692 See \`config.log' for more details." "$LINENO" 5; } 2282 2693 2283 2694 # Provide some information about the compiler. 2284 echo "$as_me:$LINENO: checking for C compiler version" >&5 2285 ac_compiler=`set X $ac_compile; echo $2` 2286 { (ac_try="$ac_compiler --version >&5" 2695 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2696 set X $ac_compile 2697 ac_compiler=$2 2698 for ac_option in --version -v -V -qversion; do 2699 { { ac_try="$ac_compiler $ac_option >&5" 2287 2700 case "(($ac_try" in 2288 2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2289 2702 *) ac_try_echo=$ac_try;; 2290 2703 esac 2291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2292 (eval "$ac_compiler --version >&5") 2>&5 2704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2705 $as_echo "$ac_try_echo"; } >&5 2706 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2293 2707 ac_status=$? 2294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2295 (exit $ac_status); } 2296 { (ac_try="$ac_compiler -v >&5" 2708 if test -s conftest.err; then 2709 sed '10a\ 2710 ... rest of stderr output deleted ... 2711 10q' conftest.err >conftest.er1 2712 cat conftest.er1 >&5 2713 fi 2714 rm -f conftest.er1 conftest.err 2715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2716 test $ac_status = 0; } 2717 done 2718 2719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2720 /* end confdefs.h. */ 2721 2722 int 2723 main () 2724 { 2725 2726 ; 2727 return 0; 2728 } 2729 _ACEOF 2730 ac_clean_files_save=$ac_clean_files 2731 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2732 # Try to create an executable without -o first, disregard a.out. 2733 # It will help us diagnose broken compilers, and finding out an intuition 2734 # of exeext. 2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2736 $as_echo_n "checking whether the C compiler works... " >&6; } 2737 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2738 2739 # The possible output files: 2740 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2741 2742 ac_rmfiles= 2743 for ac_file in $ac_files 2744 do 2745 case $ac_file in 2746 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2747 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2748 esac 2749 done 2750 rm -f $ac_rmfiles 2751 2752 if { { ac_try="$ac_link_default" 2297 2753 case "(($ac_try" in 2298 2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2299 2755 *) ac_try_echo=$ac_try;; 2300 2756 esac 2301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2302 (eval "$ac_compiler -v >&5") 2>&5 2303 ac_status=$? 2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2305 (exit $ac_status); } 2306 { (ac_try="$ac_compiler -V >&5" 2307 case "(($ac_try" in 2308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2309 *) ac_try_echo=$ac_try;; 2310 esac 2311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2312 (eval "$ac_compiler -V >&5") 2>&5 2313 ac_status=$? 2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2315 (exit $ac_status); } 2316 2317 cat >conftest.$ac_ext <<_ACEOF 2318 /* confdefs.h. */ 2319 _ACEOF 2320 cat confdefs.h >>conftest.$ac_ext 2321 cat >>conftest.$ac_ext <<_ACEOF 2322 /* end confdefs.h. */ 2323 2324 int 2325 main () 2326 { 2327 2328 ; 2329 return 0; 2330 } 2331 _ACEOF 2332 ac_clean_files_save=$ac_clean_files 2333 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2334 # Try to create an executable without -o first, disregard a.out. 2335 # It will help us diagnose broken compilers, and finding out an intuition 2336 # of exeext. 2337 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2338 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2339 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2340 # 2341 # List of possible output files, starting from the most likely. 2342 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2343 # only as a last resort. b.out is created by i960 compilers. 2344 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2345 # 2346 # The IRIX 6 linker writes into existing files which may not be 2347 # executable, retaining their permissions. Remove them first so a 2348 # subsequent execution test works. 2349 ac_rmfiles= 2350 for ac_file in $ac_files 2351 do 2352 case $ac_file in 2353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2354 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2355 esac 2356 done 2357 rm -f $ac_rmfiles 2358 2359 if { (ac_try="$ac_link_default" 2360 case "(($ac_try" in 2361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2362 *) ac_try_echo=$ac_try;; 2363 esac 2364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2758 $as_echo "$ac_try_echo"; } >&5 2365 2759 (eval "$ac_link_default") 2>&5 2366 2760 ac_status=$? 2367 echo "$as_me:$LINENO: \$? = $ac_status" >&52368 (exit $ac_status); }; then2761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2762 test $ac_status = 0; }; then : 2369 2763 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2370 2764 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2376 2770 test -f "$ac_file" || continue 2377 2771 case $ac_file in 2378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )2772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2379 2773 ;; 2380 2774 [ab].out ) … … 2383 2777 break;; 2384 2778 *.* ) 2385 2779 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2386 2780 then :; else 2387 2781 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2402 2796 ac_file='' 2403 2797 fi 2404 2405 { echo "$as_me:$LINENO: result: $ac_file" >&5 2406 echo "${ECHO_T}$ac_file" >&6; } 2407 if test -z "$ac_file"; then 2408 echo "$as_me: failed program was:" >&5 2798 if test -z "$ac_file"; then : 2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2800 $as_echo "no" >&6; } 2801 $as_echo "$as_me: failed program was:" >&5 2409 2802 sed 's/^/| /' conftest.$ac_ext >&5 2410 2803 2411 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2412 See \`config.log' for more details." >&5 2413 echo "$as_me: error: C compiler cannot create executables 2414 See \`config.log' for more details." >&2;} 2415 { (exit 77); exit 77; }; } 2416 fi 2417 2804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2806 { as_fn_set_status 77 2807 as_fn_error "C compiler cannot create executables 2808 See \`config.log' for more details." "$LINENO" 5; }; } 2809 else 2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2811 $as_echo "yes" >&6; } 2812 fi 2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2814 $as_echo_n "checking for C compiler default output file name... " >&6; } 2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2816 $as_echo "$ac_file" >&6; } 2418 2817 ac_exeext=$ac_cv_exeext 2419 2818 2420 # Check that the compiler produces executables we can run. If not, either 2421 # the compiler is broken, or we cross compile. 2422 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2423 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2424 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2425 # If not cross compiling, check that we can run a simple program. 2426 if test "$cross_compiling" != yes; then 2427 if { ac_try='./$ac_file' 2428 { (case "(($ac_try" in 2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2430 *) ac_try_echo=$ac_try;; 2431 esac 2432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2433 (eval "$ac_try") 2>&5 2434 ac_status=$? 2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2436 (exit $ac_status); }; }; then 2437 cross_compiling=no 2438 else 2439 if test "$cross_compiling" = maybe; then 2440 cross_compiling=yes 2441 else 2442 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2443 If you meant to cross compile, use \`--host'. 2444 See \`config.log' for more details." >&5 2445 echo "$as_me: error: cannot run C compiled programs. 2446 If you meant to cross compile, use \`--host'. 2447 See \`config.log' for more details." >&2;} 2448 { (exit 1); exit 1; }; } 2449 fi 2450 fi 2451 fi 2452 { echo "$as_me:$LINENO: result: yes" >&5 2453 echo "${ECHO_T}yes" >&6; } 2454 2455 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2819 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2456 2820 ac_clean_files=$ac_clean_files_save 2457 # Check that the compiler produces executables we can run. If not, either 2458 # the compiler is broken, or we cross compile. 2459 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2460 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2461 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2462 echo "${ECHO_T}$cross_compiling" >&6; } 2463 2464 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2465 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2466 if { (ac_try="$ac_link" 2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2822 $as_echo_n "checking for suffix of executables... " >&6; } 2823 if { { ac_try="$ac_link" 2467 2824 case "(($ac_try" in 2468 2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2469 2826 *) ac_try_echo=$ac_try;; 2470 2827 esac 2471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2829 $as_echo "$ac_try_echo"; } >&5 2472 2830 (eval "$ac_link") 2>&5 2473 2831 ac_status=$? 2474 echo "$as_me:$LINENO: \$? = $ac_status" >&52475 (exit $ac_status); }; then2832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2833 test $ac_status = 0; }; then : 2476 2834 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2477 2835 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2481 2839 test -f "$ac_file" || continue 2482 2840 case $ac_file in 2483 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;2841 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2484 2842 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2485 2843 break;; … … 2488 2846 done 2489 2847 else 2490 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2491 See \`config.log' for more details." >&5 2492 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2493 See \`config.log' for more details." >&2;} 2494 { (exit 1); exit 1; }; } 2495 fi 2496 2497 rm -f conftest$ac_cv_exeext 2498 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2499 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2848 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2850 as_fn_error "cannot compute suffix of executables: cannot compile and link 2851 See \`config.log' for more details." "$LINENO" 5; } 2852 fi 2853 rm -f conftest conftest$ac_cv_exeext 2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2855 $as_echo "$ac_cv_exeext" >&6; } 2500 2856 2501 2857 rm -f conftest.$ac_ext 2502 2858 EXEEXT=$ac_cv_exeext 2503 2859 ac_exeext=$EXEEXT 2504 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2505 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2506 if test "${ac_cv_objext+set}" = set; then 2507 echo $ECHO_N "(cached) $ECHO_C" >&6 2508 else 2509 cat >conftest.$ac_ext <<_ACEOF 2510 /* confdefs.h. */ 2511 _ACEOF 2512 cat confdefs.h >>conftest.$ac_ext 2513 cat >>conftest.$ac_ext <<_ACEOF 2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2514 2861 /* end confdefs.h. */ 2515 2862 #include <stdio.h> 2516 2863 int 2517 2864 main () 2518 2865 { 2866 FILE *f = fopen ("conftest.out", "w"); 2867 return ferror (f) || fclose (f) != 0; 2519 2868 2520 2869 ; … … 2522 2871 } 2523 2872 _ACEOF 2524 rm -f conftest.o conftest.obj 2525 if { (ac_try="$ac_compile" 2873 ac_clean_files="$ac_clean_files conftest.out" 2874 # Check that the compiler produces executables we can run. If not, either 2875 # the compiler is broken, or we cross compile. 2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2877 $as_echo_n "checking whether we are cross compiling... " >&6; } 2878 if test "$cross_compiling" != yes; then 2879 { { ac_try="$ac_link" 2526 2880 case "(($ac_try" in 2527 2881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2528 2882 *) ac_try_echo=$ac_try;; 2529 2883 esac 2530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2885 $as_echo "$ac_try_echo"; } >&5 2886 (eval "$ac_link") 2>&5 2887 ac_status=$? 2888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2889 test $ac_status = 0; } 2890 if { ac_try='./conftest$ac_cv_exeext' 2891 { { case "(($ac_try" in 2892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2893 *) ac_try_echo=$ac_try;; 2894 esac 2895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2896 $as_echo "$ac_try_echo"; } >&5 2897 (eval "$ac_try") 2>&5 2898 ac_status=$? 2899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2900 test $ac_status = 0; }; }; then 2901 cross_compiling=no 2902 else 2903 if test "$cross_compiling" = maybe; then 2904 cross_compiling=yes 2905 else 2906 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2908 as_fn_error "cannot run C compiled programs. 2909 If you meant to cross compile, use \`--host'. 2910 See \`config.log' for more details." "$LINENO" 5; } 2911 fi 2912 fi 2913 fi 2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2915 $as_echo "$cross_compiling" >&6; } 2916 2917 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2918 ac_clean_files=$ac_clean_files_save 2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2920 $as_echo_n "checking for suffix of object files... " >&6; } 2921 if test "${ac_cv_objext+set}" = set; then : 2922 $as_echo_n "(cached) " >&6 2923 else 2924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2925 /* end confdefs.h. */ 2926 2927 int 2928 main () 2929 { 2930 2931 ; 2932 return 0; 2933 } 2934 _ACEOF 2935 rm -f conftest.o conftest.obj 2936 if { { ac_try="$ac_compile" 2937 case "(($ac_try" in 2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2939 *) ac_try_echo=$ac_try;; 2940 esac 2941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2942 $as_echo "$ac_try_echo"; } >&5 2531 2943 (eval "$ac_compile") 2>&5 2532 2944 ac_status=$? 2533 echo "$as_me:$LINENO: \$? = $ac_status" >&52534 (exit $ac_status); }; then2945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2946 test $ac_status = 0; }; then : 2535 2947 for ac_file in conftest.o conftest.obj conftest.*; do 2536 2948 test -f "$ac_file" || continue; 2537 2949 case $ac_file in 2538 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;2950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2539 2951 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2540 2952 break;; … … 2542 2954 done 2543 2955 else 2544 echo "$as_me: failed program was:" >&52956 $as_echo "$as_me: failed program was:" >&5 2545 2957 sed 's/^/| /' conftest.$ac_ext >&5 2546 2958 2547 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2548 See \`config.log' for more details." >&5 2549 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2550 See \`config.log' for more details." >&2;} 2551 { (exit 1); exit 1; }; } 2552 fi 2553 2959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2961 as_fn_error "cannot compute suffix of object files: cannot compile 2962 See \`config.log' for more details." "$LINENO" 5; } 2963 fi 2554 2964 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2555 2965 fi 2556 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52557 echo "${ECHO_T}$ac_cv_objext" >&6; }2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2967 $as_echo "$ac_cv_objext" >&6; } 2558 2968 OBJEXT=$ac_cv_objext 2559 2969 ac_objext=$OBJEXT 2560 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2561 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2562 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2563 echo $ECHO_N "(cached) $ECHO_C" >&6 2564 else 2565 cat >conftest.$ac_ext <<_ACEOF 2566 /* confdefs.h. */ 2567 _ACEOF 2568 cat confdefs.h >>conftest.$ac_ext 2569 cat >>conftest.$ac_ext <<_ACEOF 2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2971 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2972 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2973 $as_echo_n "(cached) " >&6 2974 else 2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2570 2976 /* end confdefs.h. */ 2571 2977 … … 2581 2987 } 2582 2988 _ACEOF 2583 rm -f conftest.$ac_objext 2584 if { (ac_try="$ac_compile" 2585 case "(($ac_try" in 2586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2587 *) ac_try_echo=$ac_try;; 2588 esac 2589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2590 (eval "$ac_compile") 2>conftest.er1 2591 ac_status=$? 2592 grep -v '^ *+' conftest.er1 >conftest.err 2593 rm -f conftest.er1 2594 cat conftest.err >&5 2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2596 (exit $ac_status); } && { 2597 test -z "$ac_c_werror_flag" || 2598 test ! -s conftest.err 2599 } && test -s conftest.$ac_objext; then 2989 if ac_fn_c_try_compile "$LINENO"; then : 2600 2990 ac_compiler_gnu=yes 2601 2991 else 2602 echo "$as_me: failed program was:" >&5 2603 sed 's/^/| /' conftest.$ac_ext >&5 2604 2605 ac_compiler_gnu=no 2606 fi 2607 2992 ac_compiler_gnu=no 2993 fi 2608 2994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2609 2995 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2610 2996 2611 2997 fi 2612 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2613 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2614 GCC=`test $ac_compiler_gnu = yes && echo yes` 2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2999 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3000 if test $ac_compiler_gnu = yes; then 3001 GCC=yes 3002 else 3003 GCC= 3004 fi 2615 3005 ac_test_CFLAGS=${CFLAGS+set} 2616 3006 ac_save_CFLAGS=$CFLAGS 2617 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52618 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2619 if test "${ac_cv_prog_cc_g+set}" = set; then 2620 echo $ECHO_N "(cached) $ECHO_C" >&63007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3008 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3009 if test "${ac_cv_prog_cc_g+set}" = set; then : 3010 $as_echo_n "(cached) " >&6 2621 3011 else 2622 3012 ac_save_c_werror_flag=$ac_c_werror_flag … … 2624 3014 ac_cv_prog_cc_g=no 2625 3015 CFLAGS="-g" 2626 cat >conftest.$ac_ext <<_ACEOF 2627 /* confdefs.h. */ 2628 _ACEOF 2629 cat confdefs.h >>conftest.$ac_ext 2630 cat >>conftest.$ac_ext <<_ACEOF 3016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2631 3017 /* end confdefs.h. */ 2632 3018 … … 2639 3025 } 2640 3026 _ACEOF 2641 rm -f conftest.$ac_objext 2642 if { (ac_try="$ac_compile" 2643 case "(($ac_try" in 2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2645 *) ac_try_echo=$ac_try;; 2646 esac 2647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2648 (eval "$ac_compile") 2>conftest.er1 2649 ac_status=$? 2650 grep -v '^ *+' conftest.er1 >conftest.err 2651 rm -f conftest.er1 2652 cat conftest.err >&5 2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2654 (exit $ac_status); } && { 2655 test -z "$ac_c_werror_flag" || 2656 test ! -s conftest.err 2657 } && test -s conftest.$ac_objext; then 3027 if ac_fn_c_try_compile "$LINENO"; then : 2658 3028 ac_cv_prog_cc_g=yes 2659 3029 else 2660 echo "$as_me: failed program was:" >&5 2661 sed 's/^/| /' conftest.$ac_ext >&5 2662 2663 CFLAGS="" 2664 cat >conftest.$ac_ext <<_ACEOF 2665 /* confdefs.h. */ 2666 _ACEOF 2667 cat confdefs.h >>conftest.$ac_ext 2668 cat >>conftest.$ac_ext <<_ACEOF 3030 CFLAGS="" 3031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2669 3032 /* end confdefs.h. */ 2670 3033 … … 2677 3040 } 2678 3041 _ACEOF 2679 rm -f conftest.$ac_objext 2680 if { (ac_try="$ac_compile" 2681 case "(($ac_try" in 2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2683 *) ac_try_echo=$ac_try;; 2684 esac 2685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2686 (eval "$ac_compile") 2>conftest.er1 2687 ac_status=$? 2688 grep -v '^ *+' conftest.er1 >conftest.err 2689 rm -f conftest.er1 2690 cat conftest.err >&5 2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2692 (exit $ac_status); } && { 2693 test -z "$ac_c_werror_flag" || 2694 test ! -s conftest.err 2695 } && test -s conftest.$ac_objext; then 2696 : 2697 else 2698 echo "$as_me: failed program was:" >&5 2699 sed 's/^/| /' conftest.$ac_ext >&5 2700 2701 ac_c_werror_flag=$ac_save_c_werror_flag 3042 if ac_fn_c_try_compile "$LINENO"; then : 3043 3044 else 3045 ac_c_werror_flag=$ac_save_c_werror_flag 2702 3046 CFLAGS="-g" 2703 cat >conftest.$ac_ext <<_ACEOF 2704 /* confdefs.h. */ 2705 _ACEOF 2706 cat confdefs.h >>conftest.$ac_ext 2707 cat >>conftest.$ac_ext <<_ACEOF 3047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2708 3048 /* end confdefs.h. */ 2709 3049 … … 2716 3056 } 2717 3057 _ACEOF 2718 rm -f conftest.$ac_objext 2719 if { (ac_try="$ac_compile" 2720 case "(($ac_try" in 2721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2722 *) ac_try_echo=$ac_try;; 2723 esac 2724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2725 (eval "$ac_compile") 2>conftest.er1 2726 ac_status=$? 2727 grep -v '^ *+' conftest.er1 >conftest.err 2728 rm -f conftest.er1 2729 cat conftest.err >&5 2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2731 (exit $ac_status); } && { 2732 test -z "$ac_c_werror_flag" || 2733 test ! -s conftest.err 2734 } && test -s conftest.$ac_objext; then 3058 if ac_fn_c_try_compile "$LINENO"; then : 2735 3059 ac_cv_prog_cc_g=yes 2736 else 2737 echo "$as_me: failed program was:" >&5 2738 sed 's/^/| /' conftest.$ac_ext >&5 2739 2740 2741 fi 2742 3060 fi 2743 3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2744 3062 fi 2745 2746 3063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2747 3064 fi 2748 2749 3065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2750 3066 ac_c_werror_flag=$ac_save_c_werror_flag 2751 3067 fi 2752 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52753 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3069 $as_echo "$ac_cv_prog_cc_g" >&6; } 2754 3070 if test "$ac_test_CFLAGS" = set; then 2755 3071 CFLAGS=$ac_save_CFLAGS … … 2767 3083 fi 2768 3084 fi 2769 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52770 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2771 if test "${ac_cv_prog_cc_c89+set}" = set; then 2772 echo $ECHO_N "(cached) $ECHO_C" >&63085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3086 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3087 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3088 $as_echo_n "(cached) " >&6 2773 3089 else 2774 3090 ac_cv_prog_cc_c89=no 2775 3091 ac_save_CC=$CC 2776 cat >conftest.$ac_ext <<_ACEOF 2777 /* confdefs.h. */ 2778 _ACEOF 2779 cat confdefs.h >>conftest.$ac_ext 2780 cat >>conftest.$ac_ext <<_ACEOF 3092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2781 3093 /* end confdefs.h. */ 2782 3094 #include <stdarg.h> … … 2835 3147 do 2836 3148 CC="$ac_save_CC $ac_arg" 2837 rm -f conftest.$ac_objext 2838 if { (ac_try="$ac_compile" 2839 case "(($ac_try" in 2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2841 *) ac_try_echo=$ac_try;; 2842 esac 2843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2844 (eval "$ac_compile") 2>conftest.er1 2845 ac_status=$? 2846 grep -v '^ *+' conftest.er1 >conftest.err 2847 rm -f conftest.er1 2848 cat conftest.err >&5 2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2850 (exit $ac_status); } && { 2851 test -z "$ac_c_werror_flag" || 2852 test ! -s conftest.err 2853 } && test -s conftest.$ac_objext; then 3149 if ac_fn_c_try_compile "$LINENO"; then : 2854 3150 ac_cv_prog_cc_c89=$ac_arg 2855 else 2856 echo "$as_me: failed program was:" >&5 2857 sed 's/^/| /' conftest.$ac_ext >&5 2858 2859 2860 fi 2861 3151 fi 2862 3152 rm -f core conftest.err conftest.$ac_objext 2863 3153 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2870 3160 case "x$ac_cv_prog_cc_c89" in 2871 3161 x) 2872 { echo "$as_me:$LINENO: result: none needed" >&52873 echo "${ECHO_T}none needed" >&6; } ;;3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3163 $as_echo "none needed" >&6; } ;; 2874 3164 xno) 2875 { echo "$as_me:$LINENO: result: unsupported" >&52876 echo "${ECHO_T}unsupported" >&6; } ;;3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3166 $as_echo "unsupported" >&6; } ;; 2877 3167 *) 2878 3168 CC="$CC $ac_cv_prog_cc_c89" 2879 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52880 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3170 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2881 3171 esac 2882 3172 if test "x$ac_cv_prog_cc_c89" != xno; then : 3173 3174 fi 2883 3175 2884 3176 ac_ext=c … … 2902 3194 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2903 3195 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2904 { echo "$as_me:$LINENO: checking for $ac_word" >&52905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2906 if test "${ac_cv_prog_CXX+set}" = set; then 2907 echo $ECHO_N "(cached) $ECHO_C" >&63196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3197 $as_echo_n "checking for $ac_word... " >&6; } 3198 if test "${ac_cv_prog_CXX+set}" = set; then : 3199 $as_echo_n "(cached) " >&6 2908 3200 else 2909 3201 if test -n "$CXX"; then … … 2915 3207 IFS=$as_save_IFS 2916 3208 test -z "$as_dir" && as_dir=. 2917 for ac_exec_ext in '' $ac_executable_extensions; do3209 for ac_exec_ext in '' $ac_executable_extensions; do 2918 3210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2919 3211 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2921 3213 break 2 2922 3214 fi 2923 3215 done 2924 done3216 done 2925 3217 IFS=$as_save_IFS 2926 3218 … … 2929 3221 CXX=$ac_cv_prog_CXX 2930 3222 if test -n "$CXX"; then 2931 { echo "$as_me:$LINENO: result: $CXX" >&52932 echo "${ECHO_T}$CXX" >&6; }2933 else 2934 { echo "$as_me:$LINENO: result: no" >&52935 echo "${ECHO_T}no" >&6; }3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3224 $as_echo "$CXX" >&6; } 3225 else 3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3227 $as_echo "no" >&6; } 2936 3228 fi 2937 3229 … … 2946 3238 # Extract the first word of "$ac_prog", so it can be a program name with args. 2947 3239 set dummy $ac_prog; ac_word=$2 2948 { echo "$as_me:$LINENO: checking for $ac_word" >&52949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2950 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2951 echo $ECHO_N "(cached) $ECHO_C" >&63240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3241 $as_echo_n "checking for $ac_word... " >&6; } 3242 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3243 $as_echo_n "(cached) " >&6 2952 3244 else 2953 3245 if test -n "$ac_ct_CXX"; then … … 2959 3251 IFS=$as_save_IFS 2960 3252 test -z "$as_dir" && as_dir=. 2961 for ac_exec_ext in '' $ac_executable_extensions; do3253 for ac_exec_ext in '' $ac_executable_extensions; do 2962 3254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2963 3255 ac_cv_prog_ac_ct_CXX="$ac_prog" 2964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2965 3257 break 2 2966 3258 fi 2967 3259 done 2968 done3260 done 2969 3261 IFS=$as_save_IFS 2970 3262 … … 2973 3265 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2974 3266 if test -n "$ac_ct_CXX"; then 2975 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&52976 echo "${ECHO_T}$ac_ct_CXX" >&6; }2977 else 2978 { echo "$as_me:$LINENO: result: no" >&52979 echo "${ECHO_T}no" >&6; }3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3268 $as_echo "$ac_ct_CXX" >&6; } 3269 else 3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3271 $as_echo "no" >&6; } 2980 3272 fi 2981 3273 … … 2989 3281 case $cross_compiling:$ac_tool_warned in 2990 3282 yes:) 2991 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2992 whose name does not start with the host triplet. If you think this 2993 configuration is useful to you, please write to autoconf@gnu.org." >&5 2994 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2995 whose name does not start with the host triplet. If you think this 2996 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2997 3285 ac_tool_warned=yes ;; 2998 3286 esac … … 3004 3292 fi 3005 3293 # Provide some information about the compiler. 3006 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3007 ac_compiler=`set X $ac_compile; echo $2` 3008 { (ac_try="$ac_compiler --version >&5" 3294 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3295 set X $ac_compile 3296 ac_compiler=$2 3297 for ac_option in --version -v -V -qversion; do 3298 { { ac_try="$ac_compiler $ac_option >&5" 3009 3299 case "(($ac_try" in 3010 3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3011 3301 *) ac_try_echo=$ac_try;; 3012 3302 esac 3013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3014 (eval "$ac_compiler --version >&5") 2>&5 3303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3304 $as_echo "$ac_try_echo"; } >&5 3305 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3015 3306 ac_status=$? 3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3017 (exit $ac_status); } 3018 { (ac_try="$ac_compiler -v >&5" 3019 case "(($ac_try" in 3020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3021 *) ac_try_echo=$ac_try;; 3022 esac 3023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3024 (eval "$ac_compiler -v >&5") 2>&5 3025 ac_status=$? 3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3027 (exit $ac_status); } 3028 { (ac_try="$ac_compiler -V >&5" 3029 case "(($ac_try" in 3030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3031 *) ac_try_echo=$ac_try;; 3032 esac 3033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3034 (eval "$ac_compiler -V >&5") 2>&5 3035 ac_status=$? 3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3037 (exit $ac_status); } 3038 3039 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3040 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3041 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3042 echo $ECHO_N "(cached) $ECHO_C" >&6 3043 else 3044 cat >conftest.$ac_ext <<_ACEOF 3045 /* confdefs.h. */ 3046 _ACEOF 3047 cat confdefs.h >>conftest.$ac_ext 3048 cat >>conftest.$ac_ext <<_ACEOF 3307 if test -s conftest.err; then 3308 sed '10a\ 3309 ... rest of stderr output deleted ... 3310 10q' conftest.err >conftest.er1 3311 cat conftest.er1 >&5 3312 fi 3313 rm -f conftest.er1 conftest.err 3314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3315 test $ac_status = 0; } 3316 done 3317 3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3319 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3320 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3321 $as_echo_n "(cached) " >&6 3322 else 3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3049 3324 /* end confdefs.h. */ 3050 3325 … … 3060 3335 } 3061 3336 _ACEOF 3062 rm -f conftest.$ac_objext 3063 if { (ac_try="$ac_compile" 3064 case "(($ac_try" in 3065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3066 *) ac_try_echo=$ac_try;; 3067 esac 3068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3069 (eval "$ac_compile") 2>conftest.er1 3070 ac_status=$? 3071 grep -v '^ *+' conftest.er1 >conftest.err 3072 rm -f conftest.er1 3073 cat conftest.err >&5 3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3075 (exit $ac_status); } && { 3076 test -z "$ac_cxx_werror_flag" || 3077 test ! -s conftest.err 3078 } && test -s conftest.$ac_objext; then 3337 if ac_fn_cxx_try_compile "$LINENO"; then : 3079 3338 ac_compiler_gnu=yes 3080 3339 else 3081 echo "$as_me: failed program was:" >&5 3082 sed 's/^/| /' conftest.$ac_ext >&5 3083 3084 ac_compiler_gnu=no 3085 fi 3086 3340 ac_compiler_gnu=no 3341 fi 3087 3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3088 3343 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3089 3344 3090 3345 fi 3091 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3092 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3093 GXX=`test $ac_compiler_gnu = yes && echo yes` 3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3347 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3348 if test $ac_compiler_gnu = yes; then 3349 GXX=yes 3350 else 3351 GXX= 3352 fi 3094 3353 ac_test_CXXFLAGS=${CXXFLAGS+set} 3095 3354 ac_save_CXXFLAGS=$CXXFLAGS 3096 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53097 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3098 if test "${ac_cv_prog_cxx_g+set}" = set; then 3099 echo $ECHO_N "(cached) $ECHO_C" >&63355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3356 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3357 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3358 $as_echo_n "(cached) " >&6 3100 3359 else 3101 3360 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3103 3362 ac_cv_prog_cxx_g=no 3104 3363 CXXFLAGS="-g" 3105 cat >conftest.$ac_ext <<_ACEOF 3106 /* confdefs.h. */ 3107 _ACEOF 3108 cat confdefs.h >>conftest.$ac_ext 3109 cat >>conftest.$ac_ext <<_ACEOF 3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3110 3365 /* end confdefs.h. */ 3111 3366 … … 3118 3373 } 3119 3374 _ACEOF 3120 rm -f conftest.$ac_objext 3121 if { (ac_try="$ac_compile" 3122 case "(($ac_try" in 3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3124 *) ac_try_echo=$ac_try;; 3125 esac 3126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3127 (eval "$ac_compile") 2>conftest.er1 3128 ac_status=$? 3129 grep -v '^ *+' conftest.er1 >conftest.err 3130 rm -f conftest.er1 3131 cat conftest.err >&5 3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3133 (exit $ac_status); } && { 3134 test -z "$ac_cxx_werror_flag" || 3135 test ! -s conftest.err 3136 } && test -s conftest.$ac_objext; then 3375 if ac_fn_cxx_try_compile "$LINENO"; then : 3137 3376 ac_cv_prog_cxx_g=yes 3138 3377 else 3139 echo "$as_me: failed program was:" >&5 3140 sed 's/^/| /' conftest.$ac_ext >&5 3141 3142 CXXFLAGS="" 3143 cat >conftest.$ac_ext <<_ACEOF 3144 /* confdefs.h. */ 3145 _ACEOF 3146 cat confdefs.h >>conftest.$ac_ext 3147 cat >>conftest.$ac_ext <<_ACEOF 3378 CXXFLAGS="" 3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3148 3380 /* end confdefs.h. */ 3149 3381 … … 3156 3388 } 3157 3389 _ACEOF 3158 rm -f conftest.$ac_objext 3159 if { (ac_try="$ac_compile" 3160 case "(($ac_try" in 3161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3162 *) ac_try_echo=$ac_try;; 3163 esac 3164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3165 (eval "$ac_compile") 2>conftest.er1 3166 ac_status=$? 3167 grep -v '^ *+' conftest.er1 >conftest.err 3168 rm -f conftest.er1 3169 cat conftest.err >&5 3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3171 (exit $ac_status); } && { 3172 test -z "$ac_cxx_werror_flag" || 3173 test ! -s conftest.err 3174 } && test -s conftest.$ac_objext; then 3175 : 3176 else 3177 echo "$as_me: failed program was:" >&5 3178 sed 's/^/| /' conftest.$ac_ext >&5 3179 3180 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3390 if ac_fn_cxx_try_compile "$LINENO"; then : 3391 3392 else 3393 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3181 3394 CXXFLAGS="-g" 3182 cat >conftest.$ac_ext <<_ACEOF 3183 /* confdefs.h. */ 3184 _ACEOF 3185 cat confdefs.h >>conftest.$ac_ext 3186 cat >>conftest.$ac_ext <<_ACEOF 3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3187 3396 /* end confdefs.h. */ 3188 3397 … … 3195 3404 } 3196 3405 _ACEOF 3197 rm -f conftest.$ac_objext 3198 if { (ac_try="$ac_compile" 3199 case "(($ac_try" in 3200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3201 *) ac_try_echo=$ac_try;; 3202 esac 3203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3204 (eval "$ac_compile") 2>conftest.er1 3205 ac_status=$? 3206 grep -v '^ *+' conftest.er1 >conftest.err 3207 rm -f conftest.er1 3208 cat conftest.err >&5 3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3210 (exit $ac_status); } && { 3211 test -z "$ac_cxx_werror_flag" || 3212 test ! -s conftest.err 3213 } && test -s conftest.$ac_objext; then 3406 if ac_fn_cxx_try_compile "$LINENO"; then : 3214 3407 ac_cv_prog_cxx_g=yes 3215 else 3216 echo "$as_me: failed program was:" >&5 3217 sed 's/^/| /' conftest.$ac_ext >&5 3218 3219 3220 fi 3221 3408 fi 3222 3409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3223 3410 fi 3224 3225 3411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3226 3412 fi 3227 3228 3413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3229 3414 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3230 3415 fi 3231 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53232 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3417 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3233 3418 if test "$ac_test_CXXFLAGS" = set; then 3234 3419 CXXFLAGS=$ac_save_CXXFLAGS … … 3308 3493 3309 3494 3310 3311 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3312 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 3313 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 3314 echo $ECHO_N "(cached) $ECHO_C" >&6 3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3496 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3497 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 3498 $as_echo_n "(cached) " >&6 3315 3499 else 3316 3500 ac_check_lib_save_LIBS=$LIBS 3317 3501 LIBS="-lpthread $LIBS" 3318 cat >conftest.$ac_ext <<_ACEOF 3319 /* confdefs.h. */ 3320 _ACEOF 3321 cat confdefs.h >>conftest.$ac_ext 3322 cat >>conftest.$ac_ext <<_ACEOF 3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3323 3503 /* end confdefs.h. */ 3324 3504 … … 3338 3518 } 3339 3519 _ACEOF 3340 rm -f conftest.$ac_objext conftest$ac_exeext 3341 if { (ac_try="$ac_link" 3342 case "(($ac_try" in 3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3344 *) ac_try_echo=$ac_try;; 3345 esac 3346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3347 (eval "$ac_link") 2>conftest.er1 3348 ac_status=$? 3349 grep -v '^ *+' conftest.er1 >conftest.err 3350 rm -f conftest.er1 3351 cat conftest.err >&5 3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3353 (exit $ac_status); } && { 3354 test -z "$ac_c_werror_flag" || 3355 test ! -s conftest.err 3356 } && test -s conftest$ac_exeext && 3357 $as_test_x conftest$ac_exeext; then 3520 if ac_fn_c_try_link "$LINENO"; then : 3358 3521 ac_cv_lib_pthread_pthread_create=yes 3359 3522 else 3360 echo "$as_me: failed program was:" >&5 3361 sed 's/^/| /' conftest.$ac_ext >&5 3362 3363 ac_cv_lib_pthread_pthread_create=no 3364 fi 3365 3366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3367 conftest$ac_exeext conftest.$ac_ext 3523 ac_cv_lib_pthread_pthread_create=no 3524 fi 3525 rm -f core conftest.err conftest.$ac_objext \ 3526 conftest$ac_exeext conftest.$ac_ext 3368 3527 LIBS=$ac_check_lib_save_LIBS 3369 3528 fi 3370 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&53371 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }3372 if test $ac_cv_lib_pthread_pthread_create = yes; then3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 3530 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 3531 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 3373 3532 cat >>confdefs.h <<_ACEOF 3374 3533 #define HAVE_LIBPTHREAD 1 … … 3379 3538 fi 3380 3539 3381 3382 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3383 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 3384 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 3385 echo $ECHO_N "(cached) $ECHO_C" >&6 3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 3541 $as_echo_n "checking for puts in -lwsock32... " >&6; } 3542 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 3543 $as_echo_n "(cached) " >&6 3386 3544 else 3387 3545 ac_check_lib_save_LIBS=$LIBS 3388 3546 LIBS="-lwsock32 $LIBS" 3389 cat >conftest.$ac_ext <<_ACEOF 3390 /* confdefs.h. */ 3391 _ACEOF 3392 cat confdefs.h >>conftest.$ac_ext 3393 cat >>conftest.$ac_ext <<_ACEOF 3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3394 3548 /* end confdefs.h. */ 3395 3549 … … 3409 3563 } 3410 3564 _ACEOF 3411 rm -f conftest.$ac_objext conftest$ac_exeext 3412 if { (ac_try="$ac_link" 3413 case "(($ac_try" in 3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3415 *) ac_try_echo=$ac_try;; 3416 esac 3417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3418 (eval "$ac_link") 2>conftest.er1 3419 ac_status=$? 3420 grep -v '^ *+' conftest.er1 >conftest.err 3421 rm -f conftest.er1 3422 cat conftest.err >&5 3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3424 (exit $ac_status); } && { 3425 test -z "$ac_c_werror_flag" || 3426 test ! -s conftest.err 3427 } && test -s conftest$ac_exeext && 3428 $as_test_x conftest$ac_exeext; then 3565 if ac_fn_c_try_link "$LINENO"; then : 3429 3566 ac_cv_lib_wsock32_puts=yes 3430 3567 else 3431 echo "$as_me: failed program was:" >&5 3432 sed 's/^/| /' conftest.$ac_ext >&5 3433 3434 ac_cv_lib_wsock32_puts=no 3435 fi 3436 3437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3438 conftest$ac_exeext conftest.$ac_ext 3568 ac_cv_lib_wsock32_puts=no 3569 fi 3570 rm -f core conftest.err conftest.$ac_objext \ 3571 conftest$ac_exeext conftest.$ac_ext 3439 3572 LIBS=$ac_check_lib_save_LIBS 3440 3573 fi 3441 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&53442 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; }3443 if test $ac_cv_lib_wsock32_puts = yes; then3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 3575 $as_echo "$ac_cv_lib_wsock32_puts" >&6; } 3576 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 3444 3577 cat >>confdefs.h <<_ACEOF 3445 3578 #define HAVE_LIBWSOCK32 1 … … 3450 3583 fi 3451 3584 3452 3453 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3454 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 3455 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 3456 echo $ECHO_N "(cached) $ECHO_C" >&6 3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 3586 $as_echo_n "checking for puts in -lws2_32... " >&6; } 3587 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 3588 $as_echo_n "(cached) " >&6 3457 3589 else 3458 3590 ac_check_lib_save_LIBS=$LIBS 3459 3591 LIBS="-lws2_32 $LIBS" 3460 cat >conftest.$ac_ext <<_ACEOF 3461 /* confdefs.h. */ 3462 _ACEOF 3463 cat confdefs.h >>conftest.$ac_ext 3464 cat >>conftest.$ac_ext <<_ACEOF 3592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3465 3593 /* end confdefs.h. */ 3466 3594 … … 3480 3608 } 3481 3609 _ACEOF 3482 rm -f conftest.$ac_objext conftest$ac_exeext 3483 if { (ac_try="$ac_link" 3484 case "(($ac_try" in 3485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3486 *) ac_try_echo=$ac_try;; 3487 esac 3488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3489 (eval "$ac_link") 2>conftest.er1 3490 ac_status=$? 3491 grep -v '^ *+' conftest.er1 >conftest.err 3492 rm -f conftest.er1 3493 cat conftest.err >&5 3494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3495 (exit $ac_status); } && { 3496 test -z "$ac_c_werror_flag" || 3497 test ! -s conftest.err 3498 } && test -s conftest$ac_exeext && 3499 $as_test_x conftest$ac_exeext; then 3610 if ac_fn_c_try_link "$LINENO"; then : 3500 3611 ac_cv_lib_ws2_32_puts=yes 3501 3612 else 3502 echo "$as_me: failed program was:" >&5 3503 sed 's/^/| /' conftest.$ac_ext >&5 3504 3505 ac_cv_lib_ws2_32_puts=no 3506 fi 3507 3508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3509 conftest$ac_exeext conftest.$ac_ext 3613 ac_cv_lib_ws2_32_puts=no 3614 fi 3615 rm -f core conftest.err conftest.$ac_objext \ 3616 conftest$ac_exeext conftest.$ac_ext 3510 3617 LIBS=$ac_check_lib_save_LIBS 3511 3618 fi 3512 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&53513 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; }3514 if test $ac_cv_lib_ws2_32_puts = yes; then3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 3620 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 3621 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 3515 3622 cat >>confdefs.h <<_ACEOF 3516 3623 #define HAVE_LIBWS2_32 1 … … 3521 3628 fi 3522 3629 3523 3524 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3525 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 3526 if test "${ac_cv_lib_ole32_puts+set}" = set; then 3527 echo $ECHO_N "(cached) $ECHO_C" >&6 3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 3631 $as_echo_n "checking for puts in -lole32... " >&6; } 3632 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 3633 $as_echo_n "(cached) " >&6 3528 3634 else 3529 3635 ac_check_lib_save_LIBS=$LIBS 3530 3636 LIBS="-lole32 $LIBS" 3531 cat >conftest.$ac_ext <<_ACEOF 3532 /* confdefs.h. */ 3533 _ACEOF 3534 cat confdefs.h >>conftest.$ac_ext 3535 cat >>conftest.$ac_ext <<_ACEOF 3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3536 3638 /* end confdefs.h. */ 3537 3639 … … 3551 3653 } 3552 3654 _ACEOF 3553 rm -f conftest.$ac_objext conftest$ac_exeext 3554 if { (ac_try="$ac_link" 3555 case "(($ac_try" in 3556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3557 *) ac_try_echo=$ac_try;; 3558 esac 3559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3560 (eval "$ac_link") 2>conftest.er1 3561 ac_status=$? 3562 grep -v '^ *+' conftest.er1 >conftest.err 3563 rm -f conftest.er1 3564 cat conftest.err >&5 3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3566 (exit $ac_status); } && { 3567 test -z "$ac_c_werror_flag" || 3568 test ! -s conftest.err 3569 } && test -s conftest$ac_exeext && 3570 $as_test_x conftest$ac_exeext; then 3655 if ac_fn_c_try_link "$LINENO"; then : 3571 3656 ac_cv_lib_ole32_puts=yes 3572 3657 else 3573 echo "$as_me: failed program was:" >&5 3574 sed 's/^/| /' conftest.$ac_ext >&5 3575 3576 ac_cv_lib_ole32_puts=no 3577 fi 3578 3579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3580 conftest$ac_exeext conftest.$ac_ext 3658 ac_cv_lib_ole32_puts=no 3659 fi 3660 rm -f core conftest.err conftest.$ac_objext \ 3661 conftest$ac_exeext conftest.$ac_ext 3581 3662 LIBS=$ac_check_lib_save_LIBS 3582 3663 fi 3583 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&53584 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; }3585 if test $ac_cv_lib_ole32_puts = yes; then3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 3665 $as_echo "$ac_cv_lib_ole32_puts" >&6; } 3666 if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 3586 3667 cat >>confdefs.h <<_ACEOF 3587 3668 #define HAVE_LIBOLE32 1 … … 3592 3673 fi 3593 3674 3594 3595 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3596 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 3597 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3598 echo $ECHO_N "(cached) $ECHO_C" >&6 3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 3676 $as_echo_n "checking for puts in -lwinmm... " >&6; } 3677 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 3678 $as_echo_n "(cached) " >&6 3599 3679 else 3600 3680 ac_check_lib_save_LIBS=$LIBS 3601 3681 LIBS="-lwinmm $LIBS" 3602 cat >conftest.$ac_ext <<_ACEOF 3603 /* confdefs.h. */ 3604 _ACEOF 3605 cat confdefs.h >>conftest.$ac_ext 3606 cat >>conftest.$ac_ext <<_ACEOF 3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3607 3683 /* end confdefs.h. */ 3608 3684 … … 3622 3698 } 3623 3699 _ACEOF 3624 rm -f conftest.$ac_objext conftest$ac_exeext 3625 if { (ac_try="$ac_link" 3626 case "(($ac_try" in 3627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3628 *) ac_try_echo=$ac_try;; 3629 esac 3630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3631 (eval "$ac_link") 2>conftest.er1 3632 ac_status=$? 3633 grep -v '^ *+' conftest.er1 >conftest.err 3634 rm -f conftest.er1 3635 cat conftest.err >&5 3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3637 (exit $ac_status); } && { 3638 test -z "$ac_c_werror_flag" || 3639 test ! -s conftest.err 3640 } && test -s conftest$ac_exeext && 3641 $as_test_x conftest$ac_exeext; then 3700 if ac_fn_c_try_link "$LINENO"; then : 3642 3701 ac_cv_lib_winmm_puts=yes 3643 3702 else 3644 echo "$as_me: failed program was:" >&5 3645 sed 's/^/| /' conftest.$ac_ext >&5 3646 3647 ac_cv_lib_winmm_puts=no 3648 fi 3649 3650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3651 conftest$ac_exeext conftest.$ac_ext 3703 ac_cv_lib_winmm_puts=no 3704 fi 3705 rm -f core conftest.err conftest.$ac_objext \ 3706 conftest$ac_exeext conftest.$ac_ext 3652 3707 LIBS=$ac_check_lib_save_LIBS 3653 3708 fi 3654 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&53655 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; }3656 if test $ac_cv_lib_winmm_puts = yes; then3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 3710 $as_echo "$ac_cv_lib_winmm_puts" >&6; } 3711 if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 3657 3712 cat >>confdefs.h <<_ACEOF 3658 3713 #define HAVE_LIBWINMM 1 … … 3663 3718 fi 3664 3719 3665 3666 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3667 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 3668 if test "${ac_cv_lib_socket_puts+set}" = set; then 3669 echo $ECHO_N "(cached) $ECHO_C" >&6 3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 3721 $as_echo_n "checking for puts in -lsocket... " >&6; } 3722 if test "${ac_cv_lib_socket_puts+set}" = set; then : 3723 $as_echo_n "(cached) " >&6 3670 3724 else 3671 3725 ac_check_lib_save_LIBS=$LIBS 3672 3726 LIBS="-lsocket $LIBS" 3673 cat >conftest.$ac_ext <<_ACEOF 3674 /* confdefs.h. */ 3675 _ACEOF 3676 cat confdefs.h >>conftest.$ac_ext 3677 cat >>conftest.$ac_ext <<_ACEOF 3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3678 3728 /* end confdefs.h. */ 3679 3729 … … 3693 3743 } 3694 3744 _ACEOF 3695 rm -f conftest.$ac_objext conftest$ac_exeext 3696 if { (ac_try="$ac_link" 3697 case "(($ac_try" in 3698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3699 *) ac_try_echo=$ac_try;; 3700 esac 3701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3702 (eval "$ac_link") 2>conftest.er1 3703 ac_status=$? 3704 grep -v '^ *+' conftest.er1 >conftest.err 3705 rm -f conftest.er1 3706 cat conftest.err >&5 3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3708 (exit $ac_status); } && { 3709 test -z "$ac_c_werror_flag" || 3710 test ! -s conftest.err 3711 } && test -s conftest$ac_exeext && 3712 $as_test_x conftest$ac_exeext; then 3745 if ac_fn_c_try_link "$LINENO"; then : 3713 3746 ac_cv_lib_socket_puts=yes 3714 3747 else 3715 echo "$as_me: failed program was:" >&5 3716 sed 's/^/| /' conftest.$ac_ext >&5 3717 3718 ac_cv_lib_socket_puts=no 3719 fi 3720 3721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3722 conftest$ac_exeext conftest.$ac_ext 3748 ac_cv_lib_socket_puts=no 3749 fi 3750 rm -f core conftest.err conftest.$ac_objext \ 3751 conftest$ac_exeext conftest.$ac_ext 3723 3752 LIBS=$ac_check_lib_save_LIBS 3724 3753 fi 3725 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&53726 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; }3727 if test $ac_cv_lib_socket_puts = yes; then3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 3755 $as_echo "$ac_cv_lib_socket_puts" >&6; } 3756 if test "x$ac_cv_lib_socket_puts" = x""yes; then : 3728 3757 cat >>confdefs.h <<_ACEOF 3729 3758 #define HAVE_LIBSOCKET 1 … … 3734 3763 fi 3735 3764 3736 3737 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3738 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 3739 if test "${ac_cv_lib_rt_puts+set}" = set; then 3740 echo $ECHO_N "(cached) $ECHO_C" >&6 3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 3766 $as_echo_n "checking for puts in -lrt... " >&6; } 3767 if test "${ac_cv_lib_rt_puts+set}" = set; then : 3768 $as_echo_n "(cached) " >&6 3741 3769 else 3742 3770 ac_check_lib_save_LIBS=$LIBS 3743 3771 LIBS="-lrt $LIBS" 3744 cat >conftest.$ac_ext <<_ACEOF 3745 /* confdefs.h. */ 3746 _ACEOF 3747 cat confdefs.h >>conftest.$ac_ext 3748 cat >>conftest.$ac_ext <<_ACEOF 3772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3749 3773 /* end confdefs.h. */ 3750 3774 … … 3764 3788 } 3765 3789 _ACEOF 3766 rm -f conftest.$ac_objext conftest$ac_exeext 3767 if { (ac_try="$ac_link" 3768 case "(($ac_try" in 3769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3770 *) ac_try_echo=$ac_try;; 3771 esac 3772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3773 (eval "$ac_link") 2>conftest.er1 3774 ac_status=$? 3775 grep -v '^ *+' conftest.er1 >conftest.err 3776 rm -f conftest.er1 3777 cat conftest.err >&5 3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3779 (exit $ac_status); } && { 3780 test -z "$ac_c_werror_flag" || 3781 test ! -s conftest.err 3782 } && test -s conftest$ac_exeext && 3783 $as_test_x conftest$ac_exeext; then 3790 if ac_fn_c_try_link "$LINENO"; then : 3784 3791 ac_cv_lib_rt_puts=yes 3785 3792 else 3786 echo "$as_me: failed program was:" >&5 3787 sed 's/^/| /' conftest.$ac_ext >&5 3788 3789 ac_cv_lib_rt_puts=no 3790 fi 3791 3792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3793 conftest$ac_exeext conftest.$ac_ext 3793 ac_cv_lib_rt_puts=no 3794 fi 3795 rm -f core conftest.err conftest.$ac_objext \ 3796 conftest$ac_exeext conftest.$ac_ext 3794 3797 LIBS=$ac_check_lib_save_LIBS 3795 3798 fi 3796 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&53797 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; }3798 if test $ac_cv_lib_rt_puts = yes; then3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 3800 $as_echo "$ac_cv_lib_rt_puts" >&6; } 3801 if test "x$ac_cv_lib_rt_puts" = x""yes; then : 3799 3802 cat >>confdefs.h <<_ACEOF 3800 3803 #define HAVE_LIBRT 1 … … 3805 3808 fi 3806 3809 3807 3808 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3809 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 3810 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3811 echo $ECHO_N "(cached) $ECHO_C" >&6 3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 3811 $as_echo_n "checking for puts in -lnsl... " >&6; } 3812 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 3813 $as_echo_n "(cached) " >&6 3812 3814 else 3813 3815 ac_check_lib_save_LIBS=$LIBS 3814 3816 LIBS="-lnsl $LIBS" 3815 cat >conftest.$ac_ext <<_ACEOF 3816 /* confdefs.h. */ 3817 _ACEOF 3818 cat confdefs.h >>conftest.$ac_ext 3819 cat >>conftest.$ac_ext <<_ACEOF 3817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3820 3818 /* end confdefs.h. */ 3821 3819 … … 3835 3833 } 3836 3834 _ACEOF 3837 rm -f conftest.$ac_objext conftest$ac_exeext 3838 if { (ac_try="$ac_link" 3839 case "(($ac_try" in 3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3841 *) ac_try_echo=$ac_try;; 3842 esac 3843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3844 (eval "$ac_link") 2>conftest.er1 3845 ac_status=$? 3846 grep -v '^ *+' conftest.er1 >conftest.err 3847 rm -f conftest.er1 3848 cat conftest.err >&5 3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3850 (exit $ac_status); } && { 3851 test -z "$ac_c_werror_flag" || 3852 test ! -s conftest.err 3853 } && test -s conftest$ac_exeext && 3854 $as_test_x conftest$ac_exeext; then 3835 if ac_fn_c_try_link "$LINENO"; then : 3855 3836 ac_cv_lib_nsl_puts=yes 3856 3837 else 3857 echo "$as_me: failed program was:" >&5 3858 sed 's/^/| /' conftest.$ac_ext >&5 3859 3860 ac_cv_lib_nsl_puts=no 3861 fi 3862 3863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3864 conftest$ac_exeext conftest.$ac_ext 3838 ac_cv_lib_nsl_puts=no 3839 fi 3840 rm -f core conftest.err conftest.$ac_objext \ 3841 conftest$ac_exeext conftest.$ac_ext 3865 3842 LIBS=$ac_check_lib_save_LIBS 3866 3843 fi 3867 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&53868 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; }3869 if test $ac_cv_lib_nsl_puts = yes; then3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 3845 $as_echo "$ac_cv_lib_nsl_puts" >&6; } 3846 if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 3870 3847 cat >>confdefs.h <<_ACEOF 3871 3848 #define HAVE_LIBNSL 1 … … 3876 3853 fi 3877 3854 3878 3879 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3880 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3881 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3882 echo $ECHO_N "(cached) $ECHO_C" >&6 3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3856 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3857 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3858 $as_echo_n "(cached) " >&6 3883 3859 else 3884 3860 ac_check_lib_save_LIBS=$LIBS 3885 3861 LIBS="-luuid $LIBS" 3886 cat >conftest.$ac_ext <<_ACEOF 3887 /* confdefs.h. */ 3888 _ACEOF 3889 cat confdefs.h >>conftest.$ac_ext 3890 cat >>conftest.$ac_ext <<_ACEOF 3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3891 3863 /* end confdefs.h. */ 3892 3864 … … 3906 3878 } 3907 3879 _ACEOF 3908 rm -f conftest.$ac_objext conftest$ac_exeext 3909 if { (ac_try="$ac_link" 3910 case "(($ac_try" in 3911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3912 *) ac_try_echo=$ac_try;; 3913 esac 3914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3915 (eval "$ac_link") 2>conftest.er1 3916 ac_status=$? 3917 grep -v '^ *+' conftest.er1 >conftest.err 3918 rm -f conftest.er1 3919 cat conftest.err >&5 3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3921 (exit $ac_status); } && { 3922 test -z "$ac_c_werror_flag" || 3923 test ! -s conftest.err 3924 } && test -s conftest$ac_exeext && 3925 $as_test_x conftest$ac_exeext; then 3880 if ac_fn_c_try_link "$LINENO"; then : 3926 3881 ac_cv_lib_uuid_uuid_generate=yes 3927 3882 else 3928 echo "$as_me: failed program was:" >&5 3929 sed 's/^/| /' conftest.$ac_ext >&5 3930 3931 ac_cv_lib_uuid_uuid_generate=no 3932 fi 3933 3934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3935 conftest$ac_exeext conftest.$ac_ext 3883 ac_cv_lib_uuid_uuid_generate=no 3884 fi 3885 rm -f core conftest.err conftest.$ac_objext \ 3886 conftest$ac_exeext conftest.$ac_ext 3936 3887 LIBS=$ac_check_lib_save_LIBS 3937 3888 fi 3938 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53939 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }3940 if test $ac_cv_lib_uuid_uuid_generate = yes; then3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3890 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3891 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 3941 3892 cat >>confdefs.h <<_ACEOF 3942 3893 #define HAVE_LIBUUID 1 … … 3947 3898 fi 3948 3899 3949 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53950 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; }3951 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3952 echo $ECHO_N "(cached) $ECHO_C" >&63900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3901 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3902 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3903 $as_echo_n "(cached) " >&6 3953 3904 else 3954 3905 ac_check_lib_save_LIBS=$LIBS 3955 3906 LIBS="-luuid $LIBS" 3956 cat >conftest.$ac_ext <<_ACEOF 3957 /* confdefs.h. */ 3958 _ACEOF 3959 cat confdefs.h >>conftest.$ac_ext 3960 cat >>conftest.$ac_ext <<_ACEOF 3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3961 3908 /* end confdefs.h. */ 3962 3909 … … 3976 3923 } 3977 3924 _ACEOF 3978 rm -f conftest.$ac_objext conftest$ac_exeext 3979 if { (ac_try="$ac_link" 3980 case "(($ac_try" in 3981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3982 *) ac_try_echo=$ac_try;; 3983 esac 3984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3985 (eval "$ac_link") 2>conftest.er1 3986 ac_status=$? 3987 grep -v '^ *+' conftest.er1 >conftest.err 3988 rm -f conftest.er1 3989 cat conftest.err >&5 3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3991 (exit $ac_status); } && { 3992 test -z "$ac_c_werror_flag" || 3993 test ! -s conftest.err 3994 } && test -s conftest$ac_exeext && 3995 $as_test_x conftest$ac_exeext; then 3925 if ac_fn_c_try_link "$LINENO"; then : 3996 3926 ac_cv_lib_uuid_uuid_generate=yes 3997 3927 else 3998 echo "$as_me: failed program was:" >&5 3999 sed 's/^/| /' conftest.$ac_ext >&5 4000 4001 ac_cv_lib_uuid_uuid_generate=no 4002 fi 4003 4004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4005 conftest$ac_exeext conftest.$ac_ext 3928 ac_cv_lib_uuid_uuid_generate=no 3929 fi 3930 rm -f core conftest.err conftest.$ac_objext \ 3931 conftest$ac_exeext conftest.$ac_ext 4006 3932 LIBS=$ac_check_lib_save_LIBS 4007 3933 fi 4008 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&54009 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }4010 if test $ac_cv_lib_uuid_uuid_generate = yes; then3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3935 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3936 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 4011 3937 ac_has_uuid_lib=1 4012 3938 fi 4013 3939 4014 3940 4015 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&54016 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; }3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 3942 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 4017 3943 cat >>confdefs.h <<_ACEOF 4018 3944 #define PJ_M_NAME "$target_cpu" … … 4020 3946 4021 3947 4022 { echo "$as_me:$LINENO: checking memory alignment" >&54023 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; }3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 3949 $as_echo_n "checking memory alignment... " >&6; } 4024 3950 case $target in 4025 3951 sparc64-* | ia64-* | x86_64-* ) 4026 cat >>confdefs.h <<\_ACEOF 4027 #define PJ_POOL_ALIGNMENT 8 4028 _ACEOF 4029 4030 { echo "$as_me:$LINENO: result: 8 bytes" >&5 4031 echo "${ECHO_T}8 bytes" >&6; } 3952 $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 3953 3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 3955 $as_echo "8 bytes" >&6; } 4032 3956 ;; 4033 3957 * ) 4034 cat >>confdefs.h <<\_ACEOF 4035 #define PJ_POOL_ALIGNMENT 4 4036 _ACEOF 4037 4038 { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 4039 echo "${ECHO_T}4 bytes (default)" >&6; } 3958 $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 3959 3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 3961 $as_echo "4 bytes (default)" >&6; } 4040 3962 ;; 4041 3963 esac … … 4047 3969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4048 3970 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4049 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&54050 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3972 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4051 3973 # On Suns, sometimes $CPP names a directory. 4052 3974 if test -n "$CPP" && test -d "$CPP"; then … … 4054 3976 fi 4055 3977 if test -z "$CPP"; then 4056 if test "${ac_cv_prog_CPP+set}" = set; then 4057 echo $ECHO_N "(cached) $ECHO_C" >&63978 if test "${ac_cv_prog_CPP+set}" = set; then : 3979 $as_echo_n "(cached) " >&6 4058 3980 else 4059 3981 # Double quotes because CPP needs to be expanded … … 4069 3991 # On the NeXT, cc -E runs the code through the compiler's parser, 4070 3992 # not just through cpp. "Syntax error" is here to catch this case. 4071 cat >conftest.$ac_ext <<_ACEOF 4072 /* confdefs.h. */ 4073 _ACEOF 4074 cat confdefs.h >>conftest.$ac_ext 4075 cat >>conftest.$ac_ext <<_ACEOF 3993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4076 3994 /* end confdefs.h. */ 4077 3995 #ifdef __STDC__ … … 4082 4000 Syntax error 4083 4001 _ACEOF 4084 if { (ac_try="$ac_cpp conftest.$ac_ext" 4085 case "(($ac_try" in 4086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4087 *) ac_try_echo=$ac_try;; 4088 esac 4089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4090 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4091 ac_status=$? 4092 grep -v '^ *+' conftest.er1 >conftest.err 4093 rm -f conftest.er1 4094 cat conftest.err >&5 4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4096 (exit $ac_status); } >/dev/null && { 4097 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4098 test ! -s conftest.err 4099 }; then 4100 : 4101 else 4102 echo "$as_me: failed program was:" >&5 4103 sed 's/^/| /' conftest.$ac_ext >&5 4104 4002 if ac_fn_c_try_cpp "$LINENO"; then : 4003 4004 else 4105 4005 # Broken: fails on valid input. 4106 4006 continue 4107 4007 fi 4108 4109 4008 rm -f conftest.err conftest.$ac_ext 4110 4009 4111 4010 # OK, works on sane cases. Now check whether nonexistent headers 4112 4011 # can be detected and how. 4113 cat >conftest.$ac_ext <<_ACEOF 4114 /* confdefs.h. */ 4115 _ACEOF 4116 cat confdefs.h >>conftest.$ac_ext 4117 cat >>conftest.$ac_ext <<_ACEOF 4012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4118 4013 /* end confdefs.h. */ 4119 4014 #include <ac_nonexistent.h> 4120 4015 _ACEOF 4121 if { (ac_try="$ac_cpp conftest.$ac_ext" 4122 case "(($ac_try" in 4123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4124 *) ac_try_echo=$ac_try;; 4125 esac 4126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4127 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4128 ac_status=$? 4129 grep -v '^ *+' conftest.er1 >conftest.err 4130 rm -f conftest.er1 4131 cat conftest.err >&5 4132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4133 (exit $ac_status); } >/dev/null && { 4134 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4135 test ! -s conftest.err 4136 }; then 4016 if ac_fn_c_try_cpp "$LINENO"; then : 4137 4017 # Broken: success on invalid input. 4138 4018 continue 4139 4019 else 4140 echo "$as_me: failed program was:" >&54141 sed 's/^/| /' conftest.$ac_ext >&54142 4143 4020 # Passes both tests. 4144 4021 ac_preproc_ok=: 4145 4022 break 4146 4023 fi 4147 4148 4024 rm -f conftest.err conftest.$ac_ext 4149 4025 … … 4151 4027 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4152 4028 rm -f conftest.err conftest.$ac_ext 4153 if $ac_preproc_ok; then 4029 if $ac_preproc_ok; then : 4154 4030 break 4155 4031 fi … … 4163 4039 ac_cv_prog_CPP=$CPP 4164 4040 fi 4165 { echo "$as_me:$LINENO: result: $CPP" >&54166 echo "${ECHO_T}$CPP" >&6; }4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4042 $as_echo "$CPP" >&6; } 4167 4043 ac_preproc_ok=false 4168 4044 for ac_c_preproc_warn_flag in '' yes … … 4174 4050 # On the NeXT, cc -E runs the code through the compiler's parser, 4175 4051 # not just through cpp. "Syntax error" is here to catch this case. 4176 cat >conftest.$ac_ext <<_ACEOF 4177 /* confdefs.h. */ 4178 _ACEOF 4179 cat confdefs.h >>conftest.$ac_ext 4180 cat >>conftest.$ac_ext <<_ACEOF 4052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4181 4053 /* end confdefs.h. */ 4182 4054 #ifdef __STDC__ … … 4187 4059 Syntax error 4188 4060 _ACEOF 4189 if { (ac_try="$ac_cpp conftest.$ac_ext" 4190 case "(($ac_try" in 4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4192 *) ac_try_echo=$ac_try;; 4193 esac 4194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4195 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4196 ac_status=$? 4197 grep -v '^ *+' conftest.er1 >conftest.err 4198 rm -f conftest.er1 4199 cat conftest.err >&5 4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4201 (exit $ac_status); } >/dev/null && { 4202 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4203 test ! -s conftest.err 4204 }; then 4205 : 4206 else 4207 echo "$as_me: failed program was:" >&5 4208 sed 's/^/| /' conftest.$ac_ext >&5 4209 4061 if ac_fn_c_try_cpp "$LINENO"; then : 4062 4063 else 4210 4064 # Broken: fails on valid input. 4211 4065 continue 4212 4066 fi 4213 4214 4067 rm -f conftest.err conftest.$ac_ext 4215 4068 4216 4069 # OK, works on sane cases. Now check whether nonexistent headers 4217 4070 # can be detected and how. 4218 cat >conftest.$ac_ext <<_ACEOF 4219 /* confdefs.h. */ 4220 _ACEOF 4221 cat confdefs.h >>conftest.$ac_ext 4222 cat >>conftest.$ac_ext <<_ACEOF 4071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4223 4072 /* end confdefs.h. */ 4224 4073 #include <ac_nonexistent.h> 4225 4074 _ACEOF 4226 if { (ac_try="$ac_cpp conftest.$ac_ext" 4227 case "(($ac_try" in 4228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4229 *) ac_try_echo=$ac_try;; 4230 esac 4231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4233 ac_status=$? 4234 grep -v '^ *+' conftest.er1 >conftest.err 4235 rm -f conftest.er1 4236 cat conftest.err >&5 4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4238 (exit $ac_status); } >/dev/null && { 4239 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4240 test ! -s conftest.err 4241 }; then 4075 if ac_fn_c_try_cpp "$LINENO"; then : 4242 4076 # Broken: success on invalid input. 4243 4077 continue 4244 4078 else 4245 echo "$as_me: failed program was:" >&54246 sed 's/^/| /' conftest.$ac_ext >&54247 4248 4079 # Passes both tests. 4249 4080 ac_preproc_ok=: 4250 4081 break 4251 4082 fi 4252 4253 4083 rm -f conftest.err conftest.$ac_ext 4254 4084 … … 4256 4086 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4257 4087 rm -f conftest.err conftest.$ac_ext 4258 if $ac_preproc_ok; then 4259 : 4260 else 4261 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4262 See \`config.log' for more details." >&5 4263 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4264 See \`config.log' for more details." >&2;} 4265 { (exit 1); exit 1; }; } 4088 if $ac_preproc_ok; then : 4089 4090 else 4091 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4093 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4094 See \`config.log' for more details." "$LINENO" 5; } 4266 4095 fi 4267 4096 … … 4273 4102 4274 4103 4275 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4276 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4277 if test "${ac_cv_path_GREP+set}" = set; then 4278 echo $ECHO_N "(cached) $ECHO_C" >&6 4279 else 4280 # Extract the first word of "grep ggrep" to use in msg output 4281 if test -z "$GREP"; then 4282 set dummy grep ggrep; ac_prog_name=$2 4283 if test "${ac_cv_path_GREP+set}" = set; then 4284 echo $ECHO_N "(cached) $ECHO_C" >&6 4285 else 4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4105 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4106 if test "${ac_cv_path_GREP+set}" = set; then : 4107 $as_echo_n "(cached) " >&6 4108 else 4109 if test -z "$GREP"; then 4286 4110 ac_path_GREP_found=false 4287 # Loop through the user's path and test for each of PROGNAME-LIST4288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4111 # Loop through the user's path and test for each of PROGNAME-LIST 4112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4289 4113 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4290 4114 do 4291 4115 IFS=$as_save_IFS 4292 4116 test -z "$as_dir" && as_dir=. 4293 for ac_prog in grep ggrep; do4294 for ac_exec_ext in '' $ac_executable_extensions; do4295 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4296 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4297 4117 for ac_prog in grep ggrep; do 4118 for ac_exec_ext in '' $ac_executable_extensions; do 4119 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4120 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4121 # Check for GNU ac_path_GREP and select it if it is found. 4298 4122 # Check for GNU $ac_path_GREP 4299 4123 case `"$ac_path_GREP" --version 2>&1` in … … 4302 4126 *) 4303 4127 ac_count=0 4304 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4128 $as_echo_n 0123456789 >"conftest.in" 4305 4129 while : 4306 4130 do … … 4308 4132 mv "conftest.tmp" "conftest.in" 4309 4133 cp "conftest.in" "conftest.nl" 4310 echo 'GREP' >> "conftest.nl"4134 $as_echo 'GREP' >> "conftest.nl" 4311 4135 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4312 4136 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4313 a c_count=`expr $ac_count + 1`4137 as_fn_arith $ac_count + 1 && ac_count=$as_val 4314 4138 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4315 4139 # Best one so far, save it but keep looking for a better one … … 4323 4147 esac 4324 4148 4325 4326 $ac_path_GREP_found && break 34149 $ac_path_GREP_found && break 3 4150 done 4327 4151 done 4328 done 4329 4330 done 4152 done 4331 4153 IFS=$as_save_IFS 4332 4333 4334 fi 4335 4336 GREP="$ac_cv_path_GREP" 4337 if test -z "$GREP"; then 4338 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4339 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4340 { (exit 1); exit 1; }; } 4341 fi 4342 4154 if test -z "$ac_cv_path_GREP"; then 4155 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4156 fi 4343 4157 else 4344 4158 ac_cv_path_GREP=$GREP 4345 4159 fi 4346 4160 4347 4348 fi 4349 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4350 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4161 fi 4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4163 $as_echo "$ac_cv_path_GREP" >&6; } 4351 4164 GREP="$ac_cv_path_GREP" 4352 4165 4353 4166 4354 { echo "$as_me:$LINENO: checking for egrep" >&54355 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4356 if test "${ac_cv_path_EGREP+set}" = set; then 4357 echo $ECHO_N "(cached) $ECHO_C" >&64167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4168 $as_echo_n "checking for egrep... " >&6; } 4169 if test "${ac_cv_path_EGREP+set}" = set; then : 4170 $as_echo_n "(cached) " >&6 4358 4171 else 4359 4172 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4360 4173 then ac_cv_path_EGREP="$GREP -E" 4361 4174 else 4362 # Extract the first word of "egrep" to use in msg output 4363 if test -z "$EGREP"; then 4364 set dummy egrep; ac_prog_name=$2 4365 if test "${ac_cv_path_EGREP+set}" = set; then 4366 echo $ECHO_N "(cached) $ECHO_C" >&6 4367 else 4175 if test -z "$EGREP"; then 4368 4176 ac_path_EGREP_found=false 4369 # Loop through the user's path and test for each of PROGNAME-LIST4370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4177 # Loop through the user's path and test for each of PROGNAME-LIST 4178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4371 4179 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4372 4180 do 4373 4181 IFS=$as_save_IFS 4374 4182 test -z "$as_dir" && as_dir=. 4375 for ac_prog in egrep; do4376 for ac_exec_ext in '' $ac_executable_extensions; do4377 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4378 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4379 4183 for ac_prog in egrep; do 4184 for ac_exec_ext in '' $ac_executable_extensions; do 4185 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4186 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4187 # Check for GNU ac_path_EGREP and select it if it is found. 4380 4188 # Check for GNU $ac_path_EGREP 4381 4189 case `"$ac_path_EGREP" --version 2>&1` in … … 4384 4192 *) 4385 4193 ac_count=0 4386 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4194 $as_echo_n 0123456789 >"conftest.in" 4387 4195 while : 4388 4196 do … … 4390 4198 mv "conftest.tmp" "conftest.in" 4391 4199 cp "conftest.in" "conftest.nl" 4392 echo 'EGREP' >> "conftest.nl"4200 $as_echo 'EGREP' >> "conftest.nl" 4393 4201 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4394 4202 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4395 a c_count=`expr $ac_count + 1`4203 as_fn_arith $ac_count + 1 && ac_count=$as_val 4396 4204 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4397 4205 # Best one so far, save it but keep looking for a better one … … 4405 4213 esac 4406 4214 4407 4408 $ac_path_EGREP_found && break 34215 $ac_path_EGREP_found && break 3 4216 done 4409 4217 done 4410 done 4411 4412 done 4218 done 4413 4219 IFS=$as_save_IFS 4414 4415 4416 fi 4417 4418 EGREP="$ac_cv_path_EGREP" 4419 if test -z "$EGREP"; then 4420 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4421 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4422 { (exit 1); exit 1; }; } 4423 fi 4424 4220 if test -z "$ac_cv_path_EGREP"; then 4221 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4222 fi 4425 4223 else 4426 4224 ac_cv_path_EGREP=$EGREP 4427 4225 fi 4428 4226 4429 4430 4227 fi 4431 4228 fi 4432 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54433 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4230 $as_echo "$ac_cv_path_EGREP" >&6; } 4434 4231 EGREP="$ac_cv_path_EGREP" 4435 4232 4436 4233 4437 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4438 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4439 if test "${ac_cv_header_stdc+set}" = set; then 4440 echo $ECHO_N "(cached) $ECHO_C" >&6 4441 else 4442 cat >conftest.$ac_ext <<_ACEOF 4443 /* confdefs.h. */ 4444 _ACEOF 4445 cat confdefs.h >>conftest.$ac_ext 4446 cat >>conftest.$ac_ext <<_ACEOF 4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4235 $as_echo_n "checking for ANSI C header files... " >&6; } 4236 if test "${ac_cv_header_stdc+set}" = set; then : 4237 $as_echo_n "(cached) " >&6 4238 else 4239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4447 4240 /* end confdefs.h. */ 4448 4241 #include <stdlib.h> … … 4459 4252 } 4460 4253 _ACEOF 4461 rm -f conftest.$ac_objext 4462 if { (ac_try="$ac_compile" 4463 case "(($ac_try" in 4464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4465 *) ac_try_echo=$ac_try;; 4466 esac 4467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4468 (eval "$ac_compile") 2>conftest.er1 4469 ac_status=$? 4470 grep -v '^ *+' conftest.er1 >conftest.err 4471 rm -f conftest.er1 4472 cat conftest.err >&5 4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4474 (exit $ac_status); } && { 4475 test -z "$ac_c_werror_flag" || 4476 test ! -s conftest.err 4477 } && test -s conftest.$ac_objext; then 4254 if ac_fn_c_try_compile "$LINENO"; then : 4478 4255 ac_cv_header_stdc=yes 4479 4256 else 4480 echo "$as_me: failed program was:" >&5 4481 sed 's/^/| /' conftest.$ac_ext >&5 4482 4483 ac_cv_header_stdc=no 4484 fi 4485 4257 ac_cv_header_stdc=no 4258 fi 4486 4259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4487 4260 4488 4261 if test $ac_cv_header_stdc = yes; then 4489 4262 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4490 cat >conftest.$ac_ext <<_ACEOF 4491 /* confdefs.h. */ 4492 _ACEOF 4493 cat confdefs.h >>conftest.$ac_ext 4494 cat >>conftest.$ac_ext <<_ACEOF 4263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4495 4264 /* end confdefs.h. */ 4496 4265 #include <string.h> … … 4498 4267 _ACEOF 4499 4268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4500 $EGREP "memchr" >/dev/null 2>&1; then 4501 : 4269 $EGREP "memchr" >/dev/null 2>&1; then : 4270 4502 4271 else 4503 4272 ac_cv_header_stdc=no 4504 4273 fi 4505 rm -f -rconftest*4274 rm -f conftest* 4506 4275 4507 4276 fi … … 4509 4278 if test $ac_cv_header_stdc = yes; then 4510 4279 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4511 cat >conftest.$ac_ext <<_ACEOF 4512 /* confdefs.h. */ 4513 _ACEOF 4514 cat confdefs.h >>conftest.$ac_ext 4515 cat >>conftest.$ac_ext <<_ACEOF 4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4516 4281 /* end confdefs.h. */ 4517 4282 #include <stdlib.h> … … 4519 4284 _ACEOF 4520 4285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4521 $EGREP "free" >/dev/null 2>&1; then 4522 : 4286 $EGREP "free" >/dev/null 2>&1; then : 4287 4523 4288 else 4524 4289 ac_cv_header_stdc=no 4525 4290 fi 4526 rm -f -rconftest*4291 rm -f conftest* 4527 4292 4528 4293 fi … … 4530 4295 if test $ac_cv_header_stdc = yes; then 4531 4296 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4532 if test "$cross_compiling" = yes; then 4297 if test "$cross_compiling" = yes; then : 4533 4298 : 4534 4299 else 4535 cat >conftest.$ac_ext <<_ACEOF 4536 /* confdefs.h. */ 4537 _ACEOF 4538 cat confdefs.h >>conftest.$ac_ext 4539 cat >>conftest.$ac_ext <<_ACEOF 4300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4540 4301 /* end confdefs.h. */ 4541 4302 #include <ctype.h> … … 4564 4325 } 4565 4326 _ACEOF 4566 rm -f conftest$ac_exeext 4567 if { (ac_try="$ac_link" 4568 case "(($ac_try" in 4569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4570 *) ac_try_echo=$ac_try;; 4571 esac 4572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4573 (eval "$ac_link") 2>&5 4574 ac_status=$? 4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4576 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4577 { (case "(($ac_try" in 4578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4579 *) ac_try_echo=$ac_try;; 4580 esac 4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4582 (eval "$ac_try") 2>&5 4583 ac_status=$? 4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4585 (exit $ac_status); }; }; then 4586 : 4587 else 4588 echo "$as_me: program exited with status $ac_status" >&5 4589 echo "$as_me: failed program was:" >&5 4590 sed 's/^/| /' conftest.$ac_ext >&5 4591 4592 ( exit $ac_status ) 4593 ac_cv_header_stdc=no 4594 fi 4595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4596 fi 4597 4598 4599 fi 4600 fi 4601 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4602 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4327 if ac_fn_c_try_run "$LINENO"; then : 4328 4329 else 4330 ac_cv_header_stdc=no 4331 fi 4332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4333 conftest.$ac_objext conftest.beam conftest.$ac_ext 4334 fi 4335 4336 fi 4337 fi 4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4339 $as_echo "$ac_cv_header_stdc" >&6; } 4603 4340 if test $ac_cv_header_stdc = yes; then 4604 4341 4605 cat >>confdefs.h <<\_ACEOF 4606 #define STDC_HEADERS 1 4607 _ACEOF 4342 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4608 4343 4609 4344 fi 4610 4345 4611 4346 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4347 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4622 4348 inttypes.h stdint.h unistd.h 4623 do 4624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4625 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4628 echo $ECHO_N "(cached) $ECHO_C" >&6 4629 else 4630 cat >conftest.$ac_ext <<_ACEOF 4631 /* confdefs.h. */ 4632 _ACEOF 4633 cat confdefs.h >>conftest.$ac_ext 4634 cat >>conftest.$ac_ext <<_ACEOF 4349 do : 4350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4351 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4352 " 4353 eval as_val=\$$as_ac_Header 4354 if test "x$as_val" = x""yes; then : 4355 cat >>confdefs.h <<_ACEOF 4356 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4357 _ACEOF 4358 4359 fi 4360 4361 done 4362 4363 4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4365 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4366 if test "${ac_cv_c_bigendian+set}" = set; then : 4367 $as_echo_n "(cached) " >&6 4368 else 4369 ac_cv_c_bigendian=unknown 4370 # See if we're dealing with a universal compiler. 4371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4635 4372 /* end confdefs.h. */ 4636 $ac_includes_default 4637 4638 #include <$ac_header> 4639 _ACEOF 4640 rm -f conftest.$ac_objext 4641 if { (ac_try="$ac_compile" 4642 case "(($ac_try" in 4643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4644 *) ac_try_echo=$ac_try;; 4645 esac 4646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4647 (eval "$ac_compile") 2>conftest.er1 4648 ac_status=$? 4649 grep -v '^ *+' conftest.er1 >conftest.err 4650 rm -f conftest.er1 4651 cat conftest.err >&5 4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4653 (exit $ac_status); } && { 4654 test -z "$ac_c_werror_flag" || 4655 test ! -s conftest.err 4656 } && test -s conftest.$ac_objext; then 4657 eval "$as_ac_Header=yes" 4658 else 4659 echo "$as_me: failed program was:" >&5 4660 sed 's/^/| /' conftest.$ac_ext >&5 4661 4662 eval "$as_ac_Header=no" 4663 fi 4664 4373 #ifndef __APPLE_CC__ 4374 not a universal capable compiler 4375 #endif 4376 typedef int dummy; 4377 4378 _ACEOF 4379 if ac_fn_c_try_compile "$LINENO"; then : 4380 4381 # Check for potential -arch flags. It is not universal unless 4382 # there are at least two -arch flags with different values. 4383 ac_arch= 4384 ac_prev= 4385 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4386 if test -n "$ac_prev"; then 4387 case $ac_word in 4388 i?86 | x86_64 | ppc | ppc64) 4389 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4390 ac_arch=$ac_word 4391 else 4392 ac_cv_c_bigendian=universal 4393 break 4394 fi 4395 ;; 4396 esac 4397 ac_prev= 4398 elif test "x$ac_word" = "x-arch"; then 4399 ac_prev=arch 4400 fi 4401 done 4402 fi 4665 4403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4666 fi 4667 ac_res=`eval echo '${'$as_ac_Header'}'` 4668 { echo "$as_me:$LINENO: result: $ac_res" >&5 4669 echo "${ECHO_T}$ac_res" >&6; } 4670 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4671 cat >>confdefs.h <<_ACEOF 4672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4673 _ACEOF 4674 4675 fi 4676 4677 done 4678 4679 4680 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4681 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4682 if test "${ac_cv_c_bigendian+set}" = set; then 4683 echo $ECHO_N "(cached) $ECHO_C" >&6 4684 else 4685 # See if sys/param.h defines the BYTE_ORDER macro. 4686 cat >conftest.$ac_ext <<_ACEOF 4687 /* confdefs.h. */ 4688 _ACEOF 4689 cat confdefs.h >>conftest.$ac_ext 4690 cat >>conftest.$ac_ext <<_ACEOF 4404 if test $ac_cv_c_bigendian = unknown; then 4405 # See if sys/param.h defines the BYTE_ORDER macro. 4406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4691 4407 /* end confdefs.h. */ 4692 4408 #include <sys/types.h> 4693 #include <sys/param.h>4409 #include <sys/param.h> 4694 4410 4695 4411 int 4696 4412 main () 4697 4413 { 4698 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4699 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4700 bogus endian macros 4701 #endif 4414 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4415 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4416 && LITTLE_ENDIAN) 4417 bogus endian macros 4418 #endif 4702 4419 4703 4420 ; … … 4705 4422 } 4706 4423 _ACEOF 4707 rm -f conftest.$ac_objext 4708 if { (ac_try="$ac_compile" 4709 case "(($ac_try" in 4710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4711 *) ac_try_echo=$ac_try;; 4712 esac 4713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4714 (eval "$ac_compile") 2>conftest.er1 4715 ac_status=$? 4716 grep -v '^ *+' conftest.er1 >conftest.err 4717 rm -f conftest.er1 4718 cat conftest.err >&5 4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4720 (exit $ac_status); } && { 4721 test -z "$ac_c_werror_flag" || 4722 test ! -s conftest.err 4723 } && test -s conftest.$ac_objext; then 4424 if ac_fn_c_try_compile "$LINENO"; then : 4724 4425 # It does; now see whether it defined to BIG_ENDIAN or not. 4725 cat >conftest.$ac_ext <<_ACEOF 4726 /* confdefs.h. */ 4727 _ACEOF 4728 cat confdefs.h >>conftest.$ac_ext 4729 cat >>conftest.$ac_ext <<_ACEOF 4426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4730 4427 /* end confdefs.h. */ 4731 4428 #include <sys/types.h> 4732 #include <sys/param.h>4429 #include <sys/param.h> 4733 4430 4734 4431 int … … 4736 4433 { 4737 4434 #if BYTE_ORDER != BIG_ENDIAN 4738 not big endian4739 #endif4435 not big endian 4436 #endif 4740 4437 4741 4438 ; … … 4743 4440 } 4744 4441 _ACEOF 4745 rm -f conftest.$ac_objext 4746 if { (ac_try="$ac_compile" 4747 case "(($ac_try" in 4748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4749 *) ac_try_echo=$ac_try;; 4750 esac 4751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4752 (eval "$ac_compile") 2>conftest.er1 4753 ac_status=$? 4754 grep -v '^ *+' conftest.er1 >conftest.err 4755 rm -f conftest.er1 4756 cat conftest.err >&5 4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4758 (exit $ac_status); } && { 4759 test -z "$ac_c_werror_flag" || 4760 test ! -s conftest.err 4761 } && test -s conftest.$ac_objext; then 4442 if ac_fn_c_try_compile "$LINENO"; then : 4762 4443 ac_cv_c_bigendian=yes 4763 4444 else 4764 echo "$as_me: failed program was:" >&5 4765 sed 's/^/| /' conftest.$ac_ext >&5 4766 4767 ac_cv_c_bigendian=no 4768 fi 4769 4445 ac_cv_c_bigendian=no 4446 fi 4770 4447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4771 else 4772 echo "$as_me: failed program was:" >&5 4773 sed 's/^/| /' conftest.$ac_ext >&5 4774 4775 # It does not; compile a test program. 4776 if test "$cross_compiling" = yes; then 4777 # try to guess the endianness by grepping values into an object file 4778 ac_cv_c_bigendian=unknown 4779 cat >conftest.$ac_ext <<_ACEOF 4780 /* confdefs.h. */ 4781 _ACEOF 4782 cat confdefs.h >>conftest.$ac_ext 4783 cat >>conftest.$ac_ext <<_ACEOF 4448 fi 4449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4450 fi 4451 if test $ac_cv_c_bigendian = unknown; then 4452 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4784 4454 /* end confdefs.h. */ 4785 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4786 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4787 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 4788 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4789 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4790 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 4455 #include <limits.h> 4456 4791 4457 int 4792 4458 main () 4793 4459 { 4794 _ascii (); _ebcdic (); 4460 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4461 bogus endian macros 4462 #endif 4463 4795 4464 ; 4796 4465 return 0; 4797 4466 } 4798 4467 _ACEOF 4799 rm -f conftest.$ac_objext 4800 if { (ac_try="$ac_compile" 4801 case "(($ac_try" in 4802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4803 *) ac_try_echo=$ac_try;; 4804 esac 4805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4806 (eval "$ac_compile") 2>conftest.er1 4807 ac_status=$? 4808 grep -v '^ *+' conftest.er1 >conftest.err 4809 rm -f conftest.er1 4810 cat conftest.err >&5 4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4812 (exit $ac_status); } && {4813 test -z "$ac_c_werror_flag" || 4814 test ! -s conftest.err 4815 } && test -s conftest.$ac_objext; then 4816 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4468 if ac_fn_c_try_compile "$LINENO"; then : 4469 # It does; now see whether it defined to _BIG_ENDIAN or not. 4470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4471 /* end confdefs.h. */ 4472 #include <limits.h> 4473 4474 int 4475 main () 4476 { 4477 #ifndef _BIG_ENDIAN 4478 not big endian 4479 #endif 4480 4481 ; 4482 return 0; 4483 } 4484 _ACEOF 4485 if ac_fn_c_try_compile "$LINENO"; then : 4817 4486 ac_cv_c_bigendian=yes 4818 fi 4819 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4820 if test "$ac_cv_c_bigendian" = unknown; then 4821 ac_cv_c_bigendian=no 4822 else 4823 # finding both strings is unlikely to happen, but who knows? 4824 ac_cv_c_bigendian=unknown 4825 fi 4826 fi 4827 else 4828 echo "$as_me: failed program was:" >&5 4829 sed 's/^/| /' conftest.$ac_ext >&5 4830 4831 4832 fi 4833 4487 else 4488 ac_cv_c_bigendian=no 4489 fi 4834 4490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4835 else 4836 cat >conftest.$ac_ext <<_ACEOF 4837 /* confdefs.h. */ 4838 _ACEOF 4839 cat confdefs.h >>conftest.$ac_ext 4840 cat >>conftest.$ac_ext <<_ACEOF 4491 fi 4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4493 fi 4494 if test $ac_cv_c_bigendian = unknown; then 4495 # Compile a test program. 4496 if test "$cross_compiling" = yes; then : 4497 # Try to guess by grepping values from an object file. 4498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4499 /* end confdefs.h. */ 4500 short int ascii_mm[] = 4501 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4502 short int ascii_ii[] = 4503 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4504 int use_ascii (int i) { 4505 return ascii_mm[i] + ascii_ii[i]; 4506 } 4507 short int ebcdic_ii[] = 4508 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4509 short int ebcdic_mm[] = 4510 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4511 int use_ebcdic (int i) { 4512 return ebcdic_mm[i] + ebcdic_ii[i]; 4513 } 4514 extern int foo; 4515 4516 int 4517 main () 4518 { 4519 return use_ascii (foo) == use_ebcdic (foo); 4520 ; 4521 return 0; 4522 } 4523 _ACEOF 4524 if ac_fn_c_try_compile "$LINENO"; then : 4525 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4526 ac_cv_c_bigendian=yes 4527 fi 4528 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4529 if test "$ac_cv_c_bigendian" = unknown; then 4530 ac_cv_c_bigendian=no 4531 else 4532 # finding both strings is unlikely to happen, but who knows? 4533 ac_cv_c_bigendian=unknown 4534 fi 4535 fi 4536 fi 4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4538 else 4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4841 4540 /* end confdefs.h. */ 4842 4541 $ac_includes_default … … 4845 4544 { 4846 4545 4847 /* Are we little or big endian? From Harbison&Steele. */4848 union4849 {4850 long int l;4851 char c[sizeof (long int)];4852 } u;4853 u.l = 1;4854 return u.c[sizeof (long int) - 1] == 1;4546 /* Are we little or big endian? From Harbison&Steele. */ 4547 union 4548 { 4549 long int l; 4550 char c[sizeof (long int)]; 4551 } u; 4552 u.l = 1; 4553 return u.c[sizeof (long int) - 1] == 1; 4855 4554 4856 4555 ; … … 4858 4557 } 4859 4558 _ACEOF 4860 rm -f conftest$ac_exeext 4861 if { (ac_try="$ac_link" 4862 case "(($ac_try" in 4863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4864 *) ac_try_echo=$ac_try;; 4865 esac 4866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4867 (eval "$ac_link") 2>&5 4868 ac_status=$? 4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4870 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4871 { (case "(($ac_try" in 4872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4873 *) ac_try_echo=$ac_try;; 4874 esac 4875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4876 (eval "$ac_try") 2>&5 4877 ac_status=$? 4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4879 (exit $ac_status); }; }; then 4559 if ac_fn_c_try_run "$LINENO"; then : 4880 4560 ac_cv_c_bigendian=no 4881 4561 else 4882 echo "$as_me: program exited with status $ac_status" >&5 4883 echo "$as_me: failed program was:" >&5 4884 sed 's/^/| /' conftest.$ac_ext >&5 4885 4886 ( exit $ac_status ) 4887 ac_cv_c_bigendian=yes 4888 fi 4889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4890 fi 4891 4892 4893 fi 4894 4895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4896 fi 4897 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4898 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4899 case $ac_cv_c_bigendian in 4900 yes) 4901 4902 cat >>confdefs.h <<\_ACEOF 4903 #define WORDS_BIGENDIAN 1 4904 _ACEOF 4905 ;; 4906 no) 4907 ;; 4908 *) 4909 { { echo "$as_me:$LINENO: error: unknown endianness 4910 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4911 echo "$as_me: error: unknown endianness 4912 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4913 { (exit 1); exit 1; }; } ;; 4914 esac 4562 ac_cv_c_bigendian=yes 4563 fi 4564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4565 conftest.$ac_objext conftest.beam conftest.$ac_ext 4566 fi 4567 4568 fi 4569 fi 4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4571 $as_echo "$ac_cv_c_bigendian" >&6; } 4572 case $ac_cv_c_bigendian in #( 4573 yes) 4574 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4575 ;; #( 4576 no) 4577 ;; #( 4578 universal) 4579 4580 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4581 4582 ;; #( 4583 *) 4584 as_fn_error "unknown endianness 4585 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4586 esac 4915 4587 4916 4588 4917 4589 case $target in 4918 4590 *mingw* | *cygw* | *win32* | *w32* ) 4919 cat >>confdefs.h <<\_ACEOF 4920 #define PJ_WIN32 1 4921 _ACEOF 4922 4923 cat >>confdefs.h <<\_ACEOF 4924 #define PJ_WIN32_WINNT 0x0400 4925 _ACEOF 4926 4927 cat >>confdefs.h <<\_ACEOF 4928 #define WIN32_LEAN_AND_MEAN 1 4929 _ACEOF 4591 $as_echo "#define PJ_WIN32 1" >>confdefs.h 4592 4593 $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 4594 4595 $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 4930 4596 4931 4597 ;; 4932 4598 *darwin*) 4933 cat >>confdefs.h <<\_ACEOF 4934 #define PJ_DARWINOS 1 4935 _ACEOF 4599 $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 4936 4600 4937 4601 ;; 4938 4602 *linux*) 4939 cat >>confdefs.h <<\_ACEOF 4940 #define PJ_LINUX 1 4941 _ACEOF 4603 $as_echo "#define PJ_LINUX 1" >>confdefs.h 4942 4604 4943 4605 ;; 4944 4606 *rtems*) 4945 cat >>confdefs.h <<\_ACEOF 4946 #define PJ_RTEMS 1 4947 _ACEOF 4607 $as_echo "#define PJ_RTEMS 1" >>confdefs.h 4948 4608 4949 4609 ;; 4950 4610 *sunos* | *solaris* ) 4951 cat >>confdefs.h <<\_ACEOF 4952 #define PJ_SUNOS 1 4953 _ACEOF 4611 $as_echo "#define PJ_SUNOS 1" >>confdefs.h 4954 4612 4955 4613 ;; … … 4962 4620 4963 4621 # Check whether --enable-floating-point was given. 4964 if test "${enable_floating_point+set}" = set; then 4622 if test "${enable_floating_point+set}" = set; then : 4965 4623 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 4966 cat >>confdefs.h <<\_ACEOF 4967 #define PJ_HAS_FLOATING_POINT 0 4968 _ACEOF 4969 4970 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 4971 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 4624 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 4625 4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 4627 $as_echo "Checking if floating point is disabled... yes" >&6; } 4972 4628 fi 4973 4629 else 4974 4630 4975 cat >>confdefs.h <<\_ACEOF 4976 #define PJ_HAS_FLOATING_POINT 1 4977 _ACEOF 4978 4979 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 4980 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 4981 4982 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 4983 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 4984 if test "${ac_cv_lib_m_fmod+set}" = set; then 4985 echo $ECHO_N "(cached) $ECHO_C" >&6 4631 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 4632 4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 4634 $as_echo "Checking if floating point is disabled... no" >&6; } 4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 4636 $as_echo_n "checking for fmod in -lm... " >&6; } 4637 if test "${ac_cv_lib_m_fmod+set}" = set; then : 4638 $as_echo_n "(cached) " >&6 4986 4639 else 4987 4640 ac_check_lib_save_LIBS=$LIBS 4988 4641 LIBS="-lm $LIBS" 4989 cat >conftest.$ac_ext <<_ACEOF 4990 /* confdefs.h. */ 4991 _ACEOF 4992 cat confdefs.h >>conftest.$ac_ext 4993 cat >>conftest.$ac_ext <<_ACEOF 4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4994 4643 /* end confdefs.h. */ 4995 4644 … … 5009 4658 } 5010 4659 _ACEOF 5011 rm -f conftest.$ac_objext conftest$ac_exeext 5012 if { (ac_try="$ac_link" 5013 case "(($ac_try" in 5014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5015 *) ac_try_echo=$ac_try;; 5016 esac 5017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5018 (eval "$ac_link") 2>conftest.er1 5019 ac_status=$? 5020 grep -v '^ *+' conftest.er1 >conftest.err 5021 rm -f conftest.er1 5022 cat conftest.err >&5 5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5024 (exit $ac_status); } && { 5025 test -z "$ac_c_werror_flag" || 5026 test ! -s conftest.err 5027 } && test -s conftest$ac_exeext && 5028 $as_test_x conftest$ac_exeext; then 4660 if ac_fn_c_try_link "$LINENO"; then : 5029 4661 ac_cv_lib_m_fmod=yes 5030 4662 else 5031 echo "$as_me: failed program was:" >&5 5032 sed 's/^/| /' conftest.$ac_ext >&5 5033 5034 ac_cv_lib_m_fmod=no 5035 fi 5036 5037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5038 conftest$ac_exeext conftest.$ac_ext 4663 ac_cv_lib_m_fmod=no 4664 fi 4665 rm -f core conftest.err conftest.$ac_objext \ 4666 conftest$ac_exeext conftest.$ac_ext 5039 4667 LIBS=$ac_check_lib_save_LIBS 5040 4668 fi 5041 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&55042 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; }5043 if test $ac_cv_lib_m_fmod = yes; then4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 4670 $as_echo "$ac_cv_lib_m_fmod" >&6; } 4671 if test "x$ac_cv_lib_m_fmod" = x""yes; then : 5044 4672 cat >>confdefs.h <<_ACEOF 5045 4673 #define HAVE_LIBM 1 … … 5055 4683 5056 4684 5057 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5058 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5059 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5060 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5061 echo $ECHO_N "(cached) $ECHO_C" >&6 5062 fi 5063 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5064 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5065 else 5066 # Is the header compilable? 5067 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 5068 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 5069 cat >conftest.$ac_ext <<_ACEOF 5070 /* confdefs.h. */ 5071 _ACEOF 5072 cat confdefs.h >>conftest.$ac_ext 5073 cat >>conftest.$ac_ext <<_ACEOF 5074 /* end confdefs.h. */ 5075 $ac_includes_default 5076 #include <arpa/inet.h> 5077 _ACEOF 5078 rm -f conftest.$ac_objext 5079 if { (ac_try="$ac_compile" 5080 case "(($ac_try" in 5081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5082 *) ac_try_echo=$ac_try;; 5083 esac 5084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5085 (eval "$ac_compile") 2>conftest.er1 5086 ac_status=$? 5087 grep -v '^ *+' conftest.er1 >conftest.err 5088 rm -f conftest.er1 5089 cat conftest.err >&5 5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5091 (exit $ac_status); } && { 5092 test -z "$ac_c_werror_flag" || 5093 test ! -s conftest.err 5094 } && test -s conftest.$ac_objext; then 5095 ac_header_compiler=yes 5096 else 5097 echo "$as_me: failed program was:" >&5 5098 sed 's/^/| /' conftest.$ac_ext >&5 5099 5100 ac_header_compiler=no 5101 fi 5102 5103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5104 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5105 echo "${ECHO_T}$ac_header_compiler" >&6; } 5106 5107 # Is the header present? 5108 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 5109 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 5110 cat >conftest.$ac_ext <<_ACEOF 5111 /* confdefs.h. */ 5112 _ACEOF 5113 cat confdefs.h >>conftest.$ac_ext 5114 cat >>conftest.$ac_ext <<_ACEOF 5115 /* end confdefs.h. */ 5116 #include <arpa/inet.h> 5117 _ACEOF 5118 if { (ac_try="$ac_cpp conftest.$ac_ext" 5119 case "(($ac_try" in 5120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5121 *) ac_try_echo=$ac_try;; 5122 esac 5123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5124 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5125 ac_status=$? 5126 grep -v '^ *+' conftest.er1 >conftest.err 5127 rm -f conftest.er1 5128 cat conftest.err >&5 5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5130 (exit $ac_status); } >/dev/null && { 5131 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5132 test ! -s conftest.err 5133 }; then 5134 ac_header_preproc=yes 5135 else 5136 echo "$as_me: failed program was:" >&5 5137 sed 's/^/| /' conftest.$ac_ext >&5 5138 5139 ac_header_preproc=no 5140 fi 5141 5142 rm -f conftest.err conftest.$ac_ext 5143 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5144 echo "${ECHO_T}$ac_header_preproc" >&6; } 5145 5146 # So? What about this header? 5147 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5148 yes:no: ) 5149 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 5150 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5151 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 5152 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 5153 ac_header_preproc=yes 5154 ;; 5155 no:yes:* ) 5156 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 5157 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 5158 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 5159 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 5160 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 5161 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 5162 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 5163 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 5164 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 5165 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 5166 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 5167 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 5168 5169 ;; 5170 esac 5171 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5172 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5173 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5174 echo $ECHO_N "(cached) $ECHO_C" >&6 5175 else 5176 ac_cv_header_arpa_inet_h=$ac_header_preproc 5177 fi 5178 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5179 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5180 5181 fi 5182 if test $ac_cv_header_arpa_inet_h = yes; then 5183 cat >>confdefs.h <<\_ACEOF 5184 #define PJ_HAS_ARPA_INET_H 1 5185 _ACEOF 5186 5187 fi 5188 5189 5190 if test "${ac_cv_header_assert_h+set}" = set; then 5191 { echo "$as_me:$LINENO: checking for assert.h" >&5 5192 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5193 if test "${ac_cv_header_assert_h+set}" = set; then 5194 echo $ECHO_N "(cached) $ECHO_C" >&6 5195 fi 5196 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5197 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5198 else 5199 # Is the header compilable? 5200 { echo "$as_me:$LINENO: checking assert.h usability" >&5 5201 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 5202 cat >conftest.$ac_ext <<_ACEOF 5203 /* confdefs.h. */ 5204 _ACEOF 5205 cat confdefs.h >>conftest.$ac_ext 5206 cat >>conftest.$ac_ext <<_ACEOF 5207 /* end confdefs.h. */ 5208 $ac_includes_default 5209 #include <assert.h> 5210 _ACEOF 5211 rm -f conftest.$ac_objext 5212 if { (ac_try="$ac_compile" 5213 case "(($ac_try" in 5214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5215 *) ac_try_echo=$ac_try;; 5216 esac 5217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5218 (eval "$ac_compile") 2>conftest.er1 5219 ac_status=$? 5220 grep -v '^ *+' conftest.er1 >conftest.err 5221 rm -f conftest.er1 5222 cat conftest.err >&5 5223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5224 (exit $ac_status); } && { 5225 test -z "$ac_c_werror_flag" || 5226 test ! -s conftest.err 5227 } && test -s conftest.$ac_objext; then 5228 ac_header_compiler=yes 5229 else 5230 echo "$as_me: failed program was:" >&5 5231 sed 's/^/| /' conftest.$ac_ext >&5 5232 5233 ac_header_compiler=no 5234 fi 5235 5236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5237 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5238 echo "${ECHO_T}$ac_header_compiler" >&6; }