A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.
1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.69 for gtkdatabox 1.0.0. 4 # 5 # 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7 # 8 # 9 # This configure script is free software; the Free Software Foundation 10 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- ## 12 ## M4sh Initialization. ## 13 ## -------------------- ## 14 15 # Be more Bourne compatible 16 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24 else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30 esac 31 fi 32 33 34 as_nl=' 35 ' 36 export as_nl 37 # Printing a long string crashes Solaris 7 /usr/bin/printf. 38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41 # Prefer a ksh shell builtin over an external printf program on Solaris, 42 # but without wasting forks for bash or zsh. 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 72 # The user is always right. 73 if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 80 81 82 # IFS 83 # We need space, tab and new line, in precisely that order. Quoting is 84 # there to prevent editors from complaining about space-tab. 85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 86 # splitting by setting IFS to empty value.) 87 IFS=" "" $as_nl" 88 89 # Find who we are. Look in the path if we contain no directory separator. 90 as_myself= 91 case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94 for as_dir in $PATH 95 do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100 IFS=$as_save_IFS 101 102 ;; 103 esac 104 # We did not find ourselves, most probably we were run as `sh COMMAND' 105 # in which case we are not to be found in the path. 106 if test "x$as_myself" = x; then 107 as_myself=$0 108 fi 109 if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112 fi 113 114 # Unset variables that we do not need and which cause bugs (e.g. in 115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116 # suppresses any "Segmentation fault" message there. '((' could 117 # trigger a bug in pdksh 5.2.14. 118 for as_var in BASH_ENV ENV MAIL MAILPATH 119 do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121 done 122 PS1='$ ' 123 PS2='> ' 124 PS4='+ ' 125 126 # NLS nuisances. 127 LC_ALL=C 128 export LC_ALL 129 LANGUAGE=C 130 export LANGUAGE 131 132 # CDPATH. 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135 # Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140 # neutralization value for shells without unset; and this also 141 # works around shells that cannot unset nonexistent variables. 142 # Preserve -v and -x to the replacement shell. 143 BASH_ENV=/dev/null 144 ENV=/dev/null 145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146 case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151 esac 152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153 # Admittedly, this is quite paranoid, since all the known shells bail 154 # out after a failed `exec'. 155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156 as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160 if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168 else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174 esac 175 fi 176 " 177 as_required="as_fn_return () { (exit \$1); } 178 as_fn_success () { as_fn_return 0; } 179 as_fn_failure () { as_fn_return 1; } 180 as_fn_ret_success () { return 0; } 181 as_fn_ret_failure () { return 1; } 182 183 exitcode=0 184 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190 else 191 exitcode=1; echo positional parameters were not saved. 192 fi 193 test x\$exitcode = x0 || exit 1 194 test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199 200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 PATH=/empty FPATH=/empty; export PATH FPATH 205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 207 test \$(( 1 + 1 )) = 2 || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210 else 211 as_have_required=no 212 fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215 else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217 as_found=false 218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219 do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233 fi 234 fi 235 done;; 236 esac 237 as_found=false 238 done 239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242 fi; } 243 IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249 # neutralization value for shells without unset; and this also 250 # works around shells that cannot unset nonexistent variables. 251 # Preserve -v and -x to the replacement shell. 252 BASH_ENV=/dev/null 253 ENV=/dev/null 254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255 case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260 esac 261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262 # Admittedly, this is quite paranoid, since all the known shells bail 263 # out after a failed `exec'. 264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265 exit 255 266 fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276 $0: including any error possibly output before this 277 $0: message. Then install a modern shell, or manually run 278 $0: the script under such a shell if you do have one." 279 fi 280 exit 1 281 fi 282 fi 283 fi 284 SHELL=${CONFIG_SHELL-/bin/sh} 285 export SHELL 286 # Unset more variables known to interfere with behavior of common tools. 287 CLICOLOR_FORCE= GREP_OPTIONS= 288 unset CLICOLOR_FORCE GREP_OPTIONS 289 290 ## --------------------- ## 291 ## M4sh Shell Functions. ## 292 ## --------------------- ## 293 # as_fn_unset VAR 294 # --------------- 295 # Portably unset VAR. 296 as_fn_unset () 297 { 298 { eval $1=; unset $1;} 299 } 300 as_unset=as_fn_unset 301 302 # as_fn_set_status STATUS 303 # ----------------------- 304 # Set $? to STATUS, without forking. 305 as_fn_set_status () 306 { 307 return $1 308 } # as_fn_set_status 309 310 # as_fn_exit STATUS 311 # ----------------- 312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313 as_fn_exit () 314 { 315 set +e 316 as_fn_set_status $1 317 exit $1 318 } # as_fn_exit 319 320 # as_fn_mkdir_p 321 # ------------- 322 # Create "$as_dir" as a directory, including parents if necessary. 323 as_fn_mkdir_p () 324 { 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342 $as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366 } # as_fn_mkdir_p 367 368 # as_fn_executable_p FILE 369 # ----------------------- 370 # Test if FILE is an executable regular file. 371 as_fn_executable_p () 372 { 373 test -f "$1" && test -x "$1" 374 } # as_fn_executable_p 375 # as_fn_append VAR VALUE 376 # ---------------------- 377 # Append the text in VALUE to the end of the definition contained in VAR. Take 378 # advantage of any shell optimizations that allow amortized linear growth over 379 # repeated appends, instead of the typical quadratic growth present in naive 380 # implementations. 381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386 else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391 fi # as_fn_append 392 393 # as_fn_arith ARG... 394 # ------------------ 395 # Perform arithmetic evaluation on the ARGs, and store the result in the 396 # global $as_val. Take advantage of shells that can avoid forks. The arguments 397 # must be portable across $(()) and expr. 398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403 else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408 fi # as_fn_arith 409 410 411 # as_fn_error STATUS ERROR [LINENO LOG_FD] 412 # ---------------------------------------- 413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415 # script with STATUS, using 1 if that was 0. 416 as_fn_error () 417 { 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425 } # as_fn_error 426 427 if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430 else 431 as_expr=false 432 fi 433 434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436 else 437 as_basename=false 438 fi 439 440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442 else 443 as_dirname=false 444 fi 445 446 as_me=`$as_basename -- "$0" || 447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450 $as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465 # Avoid depending upon Character Ranges. 466 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469 as_cr_digits='0123456789' 470 as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506 } 507 508 ECHO_C= ECHO_N= ECHO_T= 509 case `echo -n x` in #((((( 510 -n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517 *) 518 ECHO_N='-n';; 519 esac 520 521 rm -f conf$$ conf$$.exe conf$$.file 522 if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524 else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527 fi 528 if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542 else 543 as_ln_s='cp -pR' 544 fi 545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546 rmdir conf$$.dir 2>/dev/null 547 548 if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550 else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553 fi 554 555 as_test_x='test -x' 556 as_executable_p=as_fn_executable_p 557 558 # Sed expression to map a string onto a valid CPP name. 559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561 # Sed expression to map a string onto a valid variable name. 562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564 SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567 test -n "$DJDIR" || exec 7<&0 </dev/null 568 exec 6>&1 569 570 # Name of the host. 571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572 # so uname gets run too. 573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575 # 576 # Initializations. 577 # 578 ac_default_prefix=/usr/local 579 ac_clean_files= 580 ac_config_libobj_dir=. 581 LIBOBJS= 582 cross_compiling=no 583 subdirs= 584 MFLAGS= 585 MAKEFLAGS= 586 587 # Identity of this package. 588 PACKAGE_NAME='gtkdatabox' 589 PACKAGE_TARNAME='gtkdatabox' 590 PACKAGE_VERSION='1.0.0' 591 PACKAGE_STRING='gtkdatabox 1.0.0' 592 PACKAGE_BUGREPORT='' 593 PACKAGE_URL='' 594 595 # Factoring default headers for most tests. 596 ac_includes_default="\ 597 #include <stdio.h> 598 #ifdef HAVE_SYS_TYPES_H 599 # include <sys/types.h> 600 #endif 601 #ifdef HAVE_SYS_STAT_H 602 # include <sys/stat.h> 603 #endif 604 #ifdef STDC_HEADERS 605 # include <stdlib.h> 606 # include <stddef.h> 607 #else 608 # ifdef HAVE_STDLIB_H 609 # include <stdlib.h> 610 # endif 611 #endif 612 #ifdef HAVE_STRING_H 613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 614 # include <memory.h> 615 # endif 616 # include <string.h> 617 #endif 618 #ifdef HAVE_STRINGS_H 619 # include <strings.h> 620 #endif 621 #ifdef HAVE_INTTYPES_H 622 # include <inttypes.h> 623 #endif 624 #ifdef HAVE_STDINT_H 625 # include <stdint.h> 626 #endif 627 #ifdef HAVE_UNISTD_H 628 # include <unistd.h> 629 #endif" 630 631 ac_subst_vars='am__EXEEXT_FALSE 632 am__EXEEXT_TRUE 633 LTLIBOBJS 634 LIBOBJS 635 GTK_DOC_USE_REBASE_FALSE 636 GTK_DOC_USE_REBASE_TRUE 637 GTK_DOC_USE_LIBTOOL_FALSE 638 GTK_DOC_USE_LIBTOOL_TRUE 639 GTK_DOC_BUILD_PDF_FALSE 640 GTK_DOC_BUILD_PDF_TRUE 641 GTK_DOC_BUILD_HTML_FALSE 642 GTK_DOC_BUILD_HTML_TRUE 643 ENABLE_GTK_DOC_FALSE 644 ENABLE_GTK_DOC_TRUE 645 HAVE_GTK_DOC_FALSE 646 HAVE_GTK_DOC_TRUE 647 GTKDOC_DEPS_LIBS 648 GTKDOC_DEPS_CFLAGS 649 HTML_DIR 650 GTKDOC_MKPDF 651 GTKDOC_REBASE 652 GTKDOC_CHECK_PATH 653 GTKDOC_CHECK 654 BUILD_GLADE_FALSE 655 BUILD_GLADE_TRUE 656 glade_catalogdir 657 glade_moduledir 658 GLADE3_LIBS 659 GLADE3_CFLAGS 660 CAIRO_REQUIRED 661 PANGO_REQUIRED 662 GTK_REQUIRED 663 CAIRO_LIBS 664 CAIRO_CFLAGS 665 PANGO_LIBS 666 PANGO_CFLAGS 667 GTK_LIBS 668 GTK_CFLAGS 669 PKG_CONFIG_LIBDIR 670 PKG_CONFIG_PATH 671 PKG_CONFIG 672 CPP 673 LT_SYS_LIBRARY_PATH 674 OTOOL64 675 OTOOL 676 LIPO 677 NMEDIT 678 DSYMUTIL 679 MANIFEST_TOOL 680 RANLIB 681 ac_ct_AR 682 AR 683 LN_S 684 NM 685 ac_ct_DUMPBIN 686 DUMPBIN 687 LD 688 FGREP 689 EGREP 690 GREP 691 SED 692 am__fastdepCC_FALSE 693 am__fastdepCC_TRUE 694 CCDEPMODE 695 am__nodep 696 AMDEPBACKSLASH 697 AMDEP_FALSE 698 AMDEP_TRUE 699 am__include 700 DEPDIR 701 OBJEXT 702 EXEEXT 703 ac_ct_CC 704 CPPFLAGS 705 LDFLAGS 706 CFLAGS 707 CC 708 LIBTOOL 709 OBJDUMP 710 DLLTOOL 711 AS 712 host_os 713 host_vendor 714 host_cpu 715 host 716 build_os 717 build_vendor 718 build_cpu 719 build 720 AM_BACKSLASH 721 AM_DEFAULT_VERBOSITY 722 AM_DEFAULT_V 723 AM_V 724 am__untar 725 am__tar 726 AMTAR 727 am__leading_dot 728 SET_MAKE 729 AWK 730 mkdir_p 731 MKDIR_P 732 INSTALL_STRIP_PROGRAM 733 STRIP 734 install_sh 735 MAKEINFO 736 AUTOHEADER 737 AUTOMAKE 738 AUTOCONF 739 ACLOCAL 740 VERSION 741 PACKAGE 742 CYGPATH_W 743 am__isrc 744 INSTALL_DATA 745 INSTALL_SCRIPT 746 INSTALL_PROGRAM 747 DATABOX_VERSION 748 DATABOX_LT_VERSION 749 target_alias 750 host_alias 751 build_alias 752 LIBS 753 ECHO_T 754 ECHO_N 755 ECHO_C 756 DEFS 757 mandir 758 localedir 759 libdir 760 psdir 761 pdfdir 762 dvidir 763 htmldir 764 infodir 765 docdir 766 oldincludedir 767 includedir 768 runstatedir 769 localstatedir 770 sharedstatedir 771 sysconfdir 772 datadir 773 datarootdir 774 libexecdir 775 sbindir 776 bindir 777 program_transform_name 778 prefix 779 exec_prefix 780 PACKAGE_URL 781 PACKAGE_BUGREPORT 782 PACKAGE_STRING 783 PACKAGE_VERSION 784 PACKAGE_TARNAME 785 PACKAGE_NAME 786 PATH_SEPARATOR 787 SHELL 788 am__quote' 789 ac_subst_files='' 790 ac_user_opts=' 791 enable_option_checking 792 enable_silent_rules 793 enable_shared 794 enable_static 795 with_pic 796 enable_fast_install 797 with_aix_soname 798 enable_dependency_tracking 799 with_gnu_ld 800 with_sysroot 801 enable_libtool_lock 802 enable_glade 803 with_html_dir 804 enable_gtk_doc 805 enable_gtk_doc_html 806 enable_gtk_doc_pdf 807 ' 808 ac_precious_vars='build_alias 809 host_alias 810 target_alias 811 CC 812 CFLAGS 813 LDFLAGS 814 LIBS 815 CPPFLAGS 816 LT_SYS_LIBRARY_PATH 817 CPP 818 PKG_CONFIG 819 PKG_CONFIG_PATH 820 PKG_CONFIG_LIBDIR 821 GTK_CFLAGS 822 GTK_LIBS 823 PANGO_CFLAGS 824 PANGO_LIBS 825 CAIRO_CFLAGS 826 CAIRO_LIBS 827 GLADE3_CFLAGS 828 GLADE3_LIBS 829 GTKDOC_DEPS_CFLAGS 830 GTKDOC_DEPS_LIBS' 831 832 833 # Initialize some variables set by options. 834 ac_init_help= 835 ac_init_version=false 836 ac_unrecognized_opts= 837 ac_unrecognized_sep= 838 # The variables have the same names as the options, with 839 # dashes changed to underlines. 840 cache_file=/dev/null 841 exec_prefix=NONE 842 no_create= 843 no_recursion= 844 prefix=NONE 845 program_prefix=NONE 846 program_suffix=NONE 847 program_transform_name=s,x,x, 848 silent= 849 site= 850 srcdir= 851 verbose= 852 x_includes=NONE 853 x_libraries=NONE 854 855 # Installation directory options. 856 # These are left unexpanded so users can "make install exec_prefix=/foo" 857 # and all the variables that are supposed to be based on exec_prefix 858 # by default will actually change. 859 # Use braces instead of parens because sh, perl, etc. also accept them. 860 # (The list follows the same order as the GNU Coding Standards.) 861 bindir='${exec_prefix}/bin' 862 sbindir='${exec_prefix}/sbin' 863 libexecdir='${exec_prefix}/libexec' 864 datarootdir='${prefix}/share' 865 datadir='${datarootdir}' 866 sysconfdir='${prefix}/etc' 867 sharedstatedir='${prefix}/com' 868 localstatedir='${prefix}/var' 869 runstatedir='${localstatedir}/run' 870 includedir='${prefix}/include' 871 oldincludedir='/usr/include' 872 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 873 infodir='${datarootdir}/info' 874 htmldir='${docdir}' 875 dvidir='${docdir}' 876 pdfdir='${docdir}' 877 psdir='${docdir}' 878 libdir='${exec_prefix}/lib' 879 localedir='${datarootdir}/locale' 880 mandir='${datarootdir}/man' 881 882 ac_prev= 883 ac_dashdash= 884 for ac_option 885 do 886 # If the previous option needs an argument, assign it. 887 if test -n "$ac_prev"; then 888 eval $ac_prev=\$ac_option 889 ac_prev= 890 continue 891 fi 892 893 case $ac_option in 894 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 895 *=) ac_optarg= ;; 896 *) ac_optarg=yes ;; 897 esac 898 899 # Accept the important Cygnus configure options, so we can diagnose typos. 900 901 case $ac_dashdash$ac_option in 902 --) 903 ac_dashdash=yes ;; 904 905 -bindir | --bindir | --bindi | --bind | --bin | --bi) 906 ac_prev=bindir ;; 907 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 908 bindir=$ac_optarg ;; 909 910 -build | --build | --buil | --bui | --bu) 911 ac_prev=build_alias ;; 912 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 913 build_alias=$ac_optarg ;; 914 915 -cache-file | --cache-file | --cache-fil | --cache-fi \ 916 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 917 ac_prev=cache_file ;; 918 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 919 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 920 cache_file=$ac_optarg ;; 921 922 --config-cache | -C) 923 cache_file=config.cache ;; 924 925 -datadir | --datadir | --datadi | --datad) 926 ac_prev=datadir ;; 927 -datadir=* | --datadir=* | --datadi=* | --datad=*) 928 datadir=$ac_optarg ;; 929 930 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 931 | --dataroo | --dataro | --datar) 932 ac_prev=datarootdir ;; 933 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 934 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 935 datarootdir=$ac_optarg ;; 936 937 -disable-* | --disable-*) 938 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 939 # Reject names that are not valid shell variable names. 940 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 941 as_fn_error $? "invalid feature name: $ac_useropt" 942 ac_useropt_orig=$ac_useropt 943 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 944 case $ac_user_opts in 945 *" 946 "enable_$ac_useropt" 947 "*) ;; 948 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 949 ac_unrecognized_sep=', ';; 950 esac 951 eval enable_$ac_useropt=no ;; 952 953 -docdir | --docdir | --docdi | --doc | --do) 954 ac_prev=docdir ;; 955 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 956 docdir=$ac_optarg ;; 957 958 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 959 ac_prev=dvidir ;; 960 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 961 dvidir=$ac_optarg ;; 962 963 -enable-* | --enable-*) 964 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 965 # Reject names that are not valid shell variable names. 966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 967 as_fn_error $? "invalid feature name: $ac_useropt" 968 ac_useropt_orig=$ac_useropt 969 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 970 case $ac_user_opts in 971 *" 972 "enable_$ac_useropt" 973 "*) ;; 974 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 975 ac_unrecognized_sep=', ';; 976 esac 977 eval enable_$ac_useropt=\$ac_optarg ;; 978 979 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 980 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 981 | --exec | --exe | --ex) 982 ac_prev=exec_prefix ;; 983 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 984 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 985 | --exec=* | --exe=* | --ex=*) 986 exec_prefix=$ac_optarg ;; 987 988 -gas | --gas | --ga | --g) 989 # Obsolete; use --with-gas. 990 with_gas=yes ;; 991 992 -help | --help | --hel | --he | -h) 993 ac_init_help=long ;; 994 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 995 ac_init_help=recursive ;; 996 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 997 ac_init_help=short ;; 998 999 -host | --host | --hos | --ho) 1000 ac_prev=host_alias ;; 1001 -host=* | --host=* | --hos=* | --ho=*) 1002 host_alias=$ac_optarg ;; 1003 1004 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1005 ac_prev=htmldir ;; 1006 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1007 | --ht=*) 1008 htmldir=$ac_optarg ;; 1009 1010 -includedir | --includedir | --includedi | --included | --include \ 1011 | --includ | --inclu | --incl | --inc) 1012 ac_prev=includedir ;; 1013 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1014 | --includ=* | --inclu=* | --incl=* | --inc=*) 1015 includedir=$ac_optarg ;; 1016 1017 -infodir | --infodir | --infodi | --infod | --info | --inf) 1018 ac_prev=infodir ;; 1019 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1020 infodir=$ac_optarg ;; 1021 1022 -libdir | --libdir | --libdi | --libd) 1023 ac_prev=libdir ;; 1024 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1025 libdir=$ac_optarg ;; 1026 1027 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1028 | --libexe | --libex | --libe) 1029 ac_prev=libexecdir ;; 1030 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1031 | --libexe=* | --libex=* | --libe=*) 1032 libexecdir=$ac_optarg ;; 1033 1034 -localedir | --localedir | --localedi | --localed | --locale) 1035 ac_prev=localedir ;; 1036 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1037 localedir=$ac_optarg ;; 1038 1039 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1040 | --localstate | --localstat | --localsta | --localst | --locals) 1041 ac_prev=localstatedir ;; 1042 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1043 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1044 localstatedir=$ac_optarg ;; 1045 1046 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1047 ac_prev=mandir ;; 1048 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1049 mandir=$ac_optarg ;; 1050 1051 -nfp | --nfp | --nf) 1052 # Obsolete; use --without-fp. 1053 with_fp=no ;; 1054 1055 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1056 | --no-cr | --no-c | -n) 1057 no_create=yes ;; 1058 1059 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1060 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1061 no_recursion=yes ;; 1062 1063 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1064 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1065 | --oldin | --oldi | --old | --ol | --o) 1066 ac_prev=oldincludedir ;; 1067 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1068 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1069 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1070 oldincludedir=$ac_optarg ;; 1071 1072 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1073 ac_prev=prefix ;; 1074 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1075 prefix=$ac_optarg ;; 1076 1077 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1078 | --program-pre | --program-pr | --program-p) 1079 ac_prev=program_prefix ;; 1080 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1081 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1082 program_prefix=$ac_optarg ;; 1083 1084 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1085 | --program-suf | --program-su | --program-s) 1086 ac_prev=program_suffix ;; 1087 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1088 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1089 program_suffix=$ac_optarg ;; 1090 1091 -program-transform-name | --program-transform-name \ 1092 | --program-transform-nam | --program-transform-na \ 1093 | --program-transform-n | --program-transform- \ 1094 | --program-transform | --program-transfor \ 1095 | --program-transfo | --program-transf \ 1096 | --program-trans | --program-tran \ 1097 | --progr-tra | --program-tr | --program-t) 1098 ac_prev=program_transform_name ;; 1099 -program-transform-name=* | --program-transform-name=* \ 1100 | --program-transform-nam=* | --program-transform-na=* \ 1101 | --program-transform-n=* | --program-transform-=* \ 1102 | --program-transform=* | --program-transfor=* \ 1103 | --program-transfo=* | --program-transf=* \ 1104 | --program-trans=* | --program-tran=* \ 1105 | --progr-tra=* | --program-tr=* | --program-t=*) 1106 program_transform_name=$ac_optarg ;; 1107 1108 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1109 ac_prev=pdfdir ;; 1110 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1111 pdfdir=$ac_optarg ;; 1112 1113 -psdir | --psdir | --psdi | --psd | --ps) 1114 ac_prev=psdir ;; 1115 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1116 psdir=$ac_optarg ;; 1117 1118 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1119 | -silent | --silent | --silen | --sile | --sil) 1120 silent=yes ;; 1121 1122 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1123 | --runstate | --runstat | --runsta | --runst | --runs \ 1124 | --run | --ru | --r) 1125 ac_prev=runstatedir ;; 1126 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1127 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1128 | --run=* | --ru=* | --r=*) 1129 runstatedir=$ac_optarg ;; 1130 1131 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1132 ac_prev=sbindir ;; 1133 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1134 | --sbi=* | --sb=*) 1135 sbindir=$ac_optarg ;; 1136 1137 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1138 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1139 | --sharedst | --shareds | --shared | --share | --shar \ 1140 | --sha | --sh) 1141 ac_prev=sharedstatedir ;; 1142 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1143 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1144 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1145 | --sha=* | --sh=*) 1146 sharedstatedir=$ac_optarg ;; 1147 1148 -site | --site | --sit) 1149 ac_prev=site ;; 1150 -site=* | --site=* | --sit=*) 1151 site=$ac_optarg ;; 1152 1153 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1154 ac_prev=srcdir ;; 1155 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1156 srcdir=$ac_optarg ;; 1157 1158 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1159 | --syscon | --sysco | --sysc | --sys | --sy) 1160 ac_prev=sysconfdir ;; 1161 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1162 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1163 sysconfdir=$ac_optarg ;; 1164 1165 -target | --target | --targe | --targ | --tar | --ta | --t) 1166 ac_prev=target_alias ;; 1167 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1168 target_alias=$ac_optarg ;; 1169 1170 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1171 verbose=yes ;; 1172 1173 -version | --version | --versio | --versi | --vers | -V) 1174 ac_init_version=: ;; 1175 1176 -with-* | --with-*) 1177 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1178 # Reject names that are not valid shell variable names. 1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1180 as_fn_error $? "invalid package name: $ac_useropt" 1181 ac_useropt_orig=$ac_useropt 1182 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1183 case $ac_user_opts in 1184 *" 1185 "with_$ac_useropt" 1186 "*) ;; 1187 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1188 ac_unrecognized_sep=', ';; 1189 esac 1190 eval with_$ac_useropt=\$ac_optarg ;; 1191 1192 -without-* | --without-*) 1193 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1194 # Reject names that are not valid shell variable names. 1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1196 as_fn_error $? "invalid package name: $ac_useropt" 1197 ac_useropt_orig=$ac_useropt 1198 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1199 case $ac_user_opts in 1200 *" 1201 "with_$ac_useropt" 1202 "*) ;; 1203 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1204 ac_unrecognized_sep=', ';; 1205 esac 1206 eval with_$ac_useropt=no ;; 1207 1208 --x) 1209 # Obsolete; use --with-x. 1210 with_x=yes ;; 1211 1212 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1213 | --x-incl | --x-inc | --x-in | --x-i) 1214 ac_prev=x_includes ;; 1215 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1216 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1217 x_includes=$ac_optarg ;; 1218 1219 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1220 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1221 ac_prev=x_libraries ;; 1222 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1223 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1224 x_libraries=$ac_optarg ;; 1225 1226 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1227 Try \`$0 --help' for more information" 1228 ;; 1229 1230 *=*) 1231 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1232 # Reject names that are not valid shell variable names. 1233 case $ac_envvar in #( 1234 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1235 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1236 esac 1237 eval $ac_envvar=\$ac_optarg 1238 export $ac_envvar ;; 1239 1240 *) 1241 # FIXME: should be removed in autoconf 3.0. 1242 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1244 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1245 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1246 ;; 1247 1248 esac 1249 done 1250 1251 if test -n "$ac_prev"; then 1252 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1253 as_fn_error $? "missing argument to $ac_option" 1254 fi 1255 1256 if test -n "$ac_unrecognized_opts"; then 1257 case $enable_option_checking in 1258 no) ;; 1259 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1260 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1261 esac 1262 fi 1263 1264 # Check all directory arguments for consistency. 1265 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1266 datadir sysconfdir sharedstatedir localstatedir includedir \ 1267 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1268 libdir localedir mandir runstatedir 1269 do 1270 eval ac_val=\$$ac_var 1271 # Remove trailing slashes. 1272 case $ac_val in 1273 */ ) 1274 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1275 eval $ac_var=\$ac_val;; 1276 esac 1277 # Be sure to have absolute directory names. 1278 case $ac_val in 1279 [\\/$]* | ?:[\\/]* ) continue;; 1280 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1281 esac 1282 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1283 done 1284 1285 # There might be people who depend on the old broken behavior: `$host' 1286 # used to hold the argument of --host etc. 1287 # FIXME: To remove some day. 1288 build=$build_alias 1289 host=$host_alias 1290 target=$target_alias 1291 1292 # FIXME: To remove some day. 1293 if test "x$host_alias" != x; then 1294 if test "x$build_alias" = x; then 1295 cross_compiling=maybe 1296 elif test "x$build_alias" != "x$host_alias"; then 1297 cross_compiling=yes 1298 fi 1299 fi 1300 1301 ac_tool_prefix= 1302 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1303 1304 test "$silent" = yes && exec 6>/dev/null 1305 1306 1307 ac_pwd=`pwd` && test -n "$ac_pwd" && 1308 ac_ls_di=`ls -di .` && 1309 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1310 as_fn_error $? "working directory cannot be determined" 1311 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1312 as_fn_error $? "pwd does not report name of working directory" 1313 1314 1315 # Find the source files, if location was not specified. 1316 if test -z "$srcdir"; then 1317 ac_srcdir_defaulted=yes 1318 # Try the directory containing this script, then the parent directory. 1319 ac_confdir=`$as_dirname -- "$as_myself" || 1320 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1321 X"$as_myself" : 'X\(//\)[^/]' \| \ 1322 X"$as_myself" : 'X\(//\)$' \| \ 1323 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1324 $as_echo X"$as_myself" | 1325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1326 s//\1/ 1327 q 1328 } 1329 /^X\(\/\/\)[^/].*/{ 1330 s//\1/ 1331 q 1332 } 1333 /^X\(\/\/\)$/{ 1334 s//\1/ 1335 q 1336 } 1337 /^X\(\/\).*/{ 1338 s//\1/ 1339 q 1340 } 1341 s/.*/./; q'` 1342 srcdir=$ac_confdir 1343 if test ! -r "$srcdir/$ac_unique_file"; then 1344 srcdir=.. 1345 fi 1346 else 1347 ac_srcdir_defaulted=no 1348 fi 1349 if test ! -r "$srcdir/$ac_unique_file"; then 1350 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1351 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1352 fi 1353 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1354 ac_abs_confdir=`( 1355 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1356 pwd)` 1357 # When building in place, set srcdir=. 1358 if test "$ac_abs_confdir" = "$ac_pwd"; then 1359 srcdir=. 1360 fi 1361 # Remove unnecessary trailing slashes from srcdir. 1362 # Double slashes in file names in object file debugging info 1363 # mess up M-x gdb in Emacs. 1364 case $srcdir in 1365 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1366 esac 1367 for ac_var in $ac_precious_vars; do 1368 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1369 eval ac_env_${ac_var}_value=\$${ac_var} 1370 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1371 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1372 done 1373 1374 # 1375 # Report the --help message. 1376 # 1377 if test "$ac_init_help" = "long"; then 1378 # Omit some internal or obsolete options to make the list less imposing. 1379 # This message is too long to be a string in the A/UX 3.1 sh. 1380 cat <<_ACEOF 1381 \`configure' configures gtkdatabox 1.0.0 to adapt to many kinds of systems. 1382 1383 Usage: $0 [OPTION]... [VAR=VALUE]... 1384 1385 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1386 VAR=VALUE. See below for descriptions of some of the useful variables. 1387 1388 Defaults for the options are specified in brackets. 1389 1390 Configuration: 1391 -h, --help display this help and exit 1392 --help=short display options specific to this package 1393 --help=recursive display the short help of all the included packages 1394 -V, --version display version information and exit 1395 -q, --quiet, --silent do not print \`checking ...' messages 1396 --cache-file=FILE cache test results in FILE [disabled] 1397 -C, --config-cache alias for \`--cache-file=config.cache' 1398 -n, --no-create do not create output files 1399 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1400 1401 Installation directories: 1402 --prefix=PREFIX install architecture-independent files in PREFIX 1403 [$ac_default_prefix] 1404 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1405 [PREFIX] 1406 1407 By default, \`make install' will install all the files in 1408 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1409 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1410 for instance \`--prefix=\$HOME'. 1411 1412 For better control, use the options below. 1413 1414 Fine tuning of the installation directories: 1415 --bindir=DIR user executables [EPREFIX/bin] 1416 --sbindir=DIR system admin executables [EPREFIX/sbin] 1417 --libexecdir=DIR program executables [EPREFIX/libexec] 1418 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1419 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1420 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1421 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1422 --libdir=DIR object code libraries [EPREFIX/lib] 1423 --includedir=DIR C header files [PREFIX/include] 1424 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1425 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1426 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1427 --infodir=DIR info documentation [DATAROOTDIR/info] 1428 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1429 --mandir=DIR man documentation [DATAROOTDIR/man] 1430 --docdir=DIR documentation root [DATAROOTDIR/doc/gtkdatabox] 1431 --htmldir=DIR html documentation [DOCDIR] 1432 --dvidir=DIR dvi documentation [DOCDIR] 1433 --pdfdir=DIR pdf documentation [DOCDIR] 1434 --psdir=DIR ps documentation [DOCDIR] 1435 _ACEOF 1436 1437 cat <<\_ACEOF 1438 1439 Program names: 1440 --program-prefix=PREFIX prepend PREFIX to installed program names 1441 --program-suffix=SUFFIX append SUFFIX to installed program names 1442 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1443 1444 System types: 1445 --build=BUILD configure for building on BUILD [guessed] 1446 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1447 _ACEOF 1448 fi 1449 1450 if test -n "$ac_init_help"; then 1451 case $ac_init_help in 1452 short | recursive ) echo "Configuration of gtkdatabox 1.0.0:";; 1453 esac 1454 cat <<\_ACEOF 1455 1456 Optional Features: 1457 --disable-option-checking ignore unrecognized --enable/--with options 1458 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1459 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1460 --enable-silent-rules less verbose build output (undo: "make V=1") 1461 --disable-silent-rules verbose build output (undo: "make V=0") 1462 --enable-shared[=PKGS] build shared libraries [default=yes] 1463 --enable-static[=PKGS] build static libraries [default=yes] 1464 --enable-fast-install[=PKGS] 1465 optimize for fast installation [default=yes] 1466 --enable-dependency-tracking 1467 do not reject slow dependency extractors 1468 --disable-dependency-tracking 1469 speeds up one-time build 1470 --disable-libtool-lock avoid locking (might break parallel builds) 1471 --enable-glade enable glade-3 support 1472 --enable-gtk-doc use gtk-doc to build documentation [[default=no]] 1473 --enable-gtk-doc-html build documentation in html format [[default=yes]] 1474 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]] 1475 1476 Optional Packages: 1477 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1478 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1479 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1480 both] 1481 --with-aix-soname=aix|svr4|both 1482 shared library versioning (aka "SONAME") variant to 1483 provide on AIX, [default=aix]. 1484 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1485 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1486 compiler's sysroot if not specified). 1487 --with-html-dir=PATH path to installed docs 1488 1489 Some influential environment variables: 1490 CC C compiler command 1491 CFLAGS C compiler flags 1492 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1493 nonstandard directory <lib dir> 1494 LIBS libraries to pass to the linker, e.g. -l<library> 1495 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1496 you have headers in a nonstandard directory <include dir> 1497 LT_SYS_LIBRARY_PATH 1498 User-defined run-time library search path. 1499 CPP C preprocessor 1500 PKG_CONFIG path to pkg-config utility 1501 PKG_CONFIG_PATH 1502 directories to add to pkg-config's search path 1503 PKG_CONFIG_LIBDIR 1504 path overriding pkg-config's built-in search path 1505 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config 1506 GTK_LIBS linker flags for GTK, overriding pkg-config 1507 PANGO_CFLAGS 1508 C compiler flags for PANGO, overriding pkg-config 1509 PANGO_LIBS linker flags for PANGO, overriding pkg-config 1510 CAIRO_CFLAGS 1511 C compiler flags for CAIRO, overriding pkg-config 1512 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config 1513 GLADE3_CFLAGS 1514 C compiler flags for GLADE3, overriding pkg-config 1515 GLADE3_LIBS linker flags for GLADE3, overriding pkg-config 1516 GTKDOC_DEPS_CFLAGS 1517 C compiler flags for GTKDOC_DEPS, overriding pkg-config 1518 GTKDOC_DEPS_LIBS 1519 linker flags for GTKDOC_DEPS, overriding pkg-config 1520 1521 Use these variables to override the choices made by `configure' or to help 1522 it to find libraries and programs with nonstandard names/locations. 1523 1524 Report bugs to the package provider. 1525 _ACEOF 1526 ac_status=$? 1527 fi 1528 1529 if test "$ac_init_help" = "recursive"; then 1530 # If there are subdirs, report their specific --help. 1531 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1532 test -d "$ac_dir" || 1533 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1534 continue 1535 ac_builddir=. 1536 1537 case "$ac_dir" in 1538 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1539 *) 1540 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1541 # A ".." for each directory in $ac_dir_suffix. 1542 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1543 case $ac_top_builddir_sub in 1544 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1545 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1546 esac ;; 1547 esac 1548 ac_abs_top_builddir=$ac_pwd 1549 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1550 # for backward compatibility: 1551 ac_top_builddir=$ac_top_build_prefix 1552 1553 case $srcdir in 1554 .) # We are building in place. 1555 ac_srcdir=. 1556 ac_top_srcdir=$ac_top_builddir_sub 1557 ac_abs_top_srcdir=$ac_pwd ;; 1558 [\\/]* | ?:[\\/]* ) # Absolute name. 1559 ac_srcdir=$srcdir$ac_dir_suffix; 1560 ac_top_srcdir=$srcdir 1561 ac_abs_top_srcdir=$srcdir ;; 1562 *) # Relative name. 1563 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1564 ac_top_srcdir=$ac_top_build_prefix$srcdir 1565 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1566 esac 1567 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1568 1569 cd "$ac_dir" || { ac_status=$?; continue; } 1570 # Check for guested configure. 1571 if test -f "$ac_srcdir/configure.gnu"; then 1572 echo && 1573 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1574 elif test -f "$ac_srcdir/configure"; then 1575 echo && 1576 $SHELL "$ac_srcdir/configure" --help=recursive 1577 else 1578 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1579 fi || ac_status=$? 1580 cd "$ac_pwd" || { ac_status=$?; break; } 1581 done 1582 fi 1583 1584 test -n "$ac_init_help" && exit $ac_status 1585 if $ac_init_version; then 1586 cat <<\_ACEOF 1587 gtkdatabox configure 1.0.0 1588 generated by GNU Autoconf 2.69 1589 1590 Copyright (C) 2012 Free Software Foundation, Inc. 1591 This configure script is free software; the Free Software Foundation 1592 gives unlimited permission to copy, distribute and modify it. 1593 _ACEOF 1594 exit 1595 fi 1596 1597 ## ------------------------ ## 1598 ## Autoconf initialization. ## 1599 ## ------------------------ ## 1600 1601 # ac_fn_c_try_compile LINENO 1602 # -------------------------- 1603 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1604 ac_fn_c_try_compile () 1605 { 1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1607 rm -f conftest.$ac_objext 1608 if { { ac_try="$ac_compile" 1609 case "(($ac_try" in 1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1611 *) ac_try_echo=$ac_try;; 1612 esac 1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1614 $as_echo "$ac_try_echo"; } >&5 1615 (eval "$ac_compile") 2>conftest.err 1616 ac_status=$? 1617 if test -s conftest.err; then 1618 grep -v '^ *+' conftest.err >conftest.er1 1619 cat conftest.er1 >&5 1620 mv -f conftest.er1 conftest.err 1621 fi 1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1623 test $ac_status = 0; } && { 1624 test -z "$ac_c_werror_flag" || 1625 test ! -s conftest.err 1626 } && test -s conftest.$ac_objext; then : 1627 ac_retval=0 1628 else 1629 $as_echo "$as_me: failed program was:" >&5 1630 sed 's/^/| /' conftest.$ac_ext >&5 1631 1632 ac_retval=1 1633 fi 1634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1635 as_fn_set_status $ac_retval 1636 1637 } # ac_fn_c_try_compile 1638 1639 # ac_fn_c_try_link LINENO 1640 # ----------------------- 1641 # Try to link conftest.$ac_ext, and return whether this succeeded. 1642 ac_fn_c_try_link () 1643 { 1644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1645 rm -f conftest.$ac_objext conftest$ac_exeext 1646 if { { ac_try="$ac_link" 1647 case "(($ac_try" in 1648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1649 *) ac_try_echo=$ac_try;; 1650 esac 1651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1652 $as_echo "$ac_try_echo"; } >&5 1653 (eval "$ac_link") 2>conftest.err 1654 ac_status=$? 1655 if test -s conftest.err; then 1656 grep -v '^ *+' conftest.err >conftest.er1 1657 cat conftest.er1 >&5 1658 mv -f conftest.er1 conftest.err 1659 fi 1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1661 test $ac_status = 0; } && { 1662 test -z "$ac_c_werror_flag" || 1663 test ! -s conftest.err 1664 } && test -s conftest$ac_exeext && { 1665 test "$cross_compiling" = yes || 1666 test -x conftest$ac_exeext 1667 }; then : 1668 ac_retval=0 1669 else 1670 $as_echo "$as_me: failed program was:" >&5 1671 sed 's/^/| /' conftest.$ac_ext >&5 1672 1673 ac_retval=1 1674 fi 1675 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1676 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1677 # interfere with the next link command; also delete a directory that is 1678 # left behind by Apple's compiler. We do this before executing the actions. 1679 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1681 as_fn_set_status $ac_retval 1682 1683 } # ac_fn_c_try_link 1684 1685 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1686 # ------------------------------------------------------- 1687 # Tests whether HEADER exists and can be compiled using the include files in 1688 # INCLUDES, setting the cache variable VAR accordingly. 1689 ac_fn_c_check_header_compile () 1690 { 1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1693 $as_echo_n "checking for $2... " >&6; } 1694 if eval \${$3+:} false; then : 1695 $as_echo_n "(cached) " >&6 1696 else 1697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1698 /* end confdefs.h. */ 1699 $4 1700 #include <$2> 1701 _ACEOF 1702 if ac_fn_c_try_compile "$LINENO"; then : 1703 eval "$3=yes" 1704 else 1705 eval "$3=no" 1706 fi 1707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1708 fi 1709 eval ac_res=\$$3 1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1711 $as_echo "$ac_res" >&6; } 1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1713 1714 } # ac_fn_c_check_header_compile 1715 1716 # ac_fn_c_try_cpp LINENO 1717 # ---------------------- 1718 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1719 ac_fn_c_try_cpp () 1720 { 1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1722 if { { ac_try="$ac_cpp conftest.$ac_ext" 1723 case "(($ac_try" in 1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1725 *) ac_try_echo=$ac_try;; 1726 esac 1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1728 $as_echo "$ac_try_echo"; } >&5 1729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1730 ac_status=$? 1731 if test -s conftest.err; then 1732 grep -v '^ *+' conftest.err >conftest.er1 1733 cat conftest.er1 >&5 1734 mv -f conftest.er1 conftest.err 1735 fi 1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1737 test $ac_status = 0; } > conftest.i && { 1738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1739 test ! -s conftest.err 1740 }; then : 1741 ac_retval=0 1742 else 1743 $as_echo "$as_me: failed program was:" >&5 1744 sed 's/^/| /' conftest.$ac_ext >&5 1745 1746 ac_retval=1 1747 fi 1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1749 as_fn_set_status $ac_retval 1750 1751 } # ac_fn_c_try_cpp 1752 1753 # ac_fn_c_try_run LINENO 1754 # ---------------------- 1755 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1756 # that executables *can* be run. 1757 ac_fn_c_try_run () 1758 { 1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1760 if { { ac_try="$ac_link" 1761 case "(($ac_try" in 1762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1763 *) ac_try_echo=$ac_try;; 1764 esac 1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1766 $as_echo "$ac_try_echo"; } >&5 1767 (eval "$ac_link") 2>&5 1768 ac_status=$? 1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1770 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1771 { { case "(($ac_try" in 1772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1773 *) ac_try_echo=$ac_try;; 1774 esac 1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1776 $as_echo "$ac_try_echo"; } >&5 1777 (eval "$ac_try") 2>&5 1778 ac_status=$? 1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1780 test $ac_status = 0; }; }; then : 1781 ac_retval=0 1782 else 1783 $as_echo "$as_me: program exited with status $ac_status" >&5 1784 $as_echo "$as_me: failed program was:" >&5 1785 sed 's/^/| /' conftest.$ac_ext >&5 1786 1787 ac_retval=$ac_status 1788 fi 1789 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1791 as_fn_set_status $ac_retval 1792 1793 } # ac_fn_c_try_run 1794 1795 # ac_fn_c_check_func LINENO FUNC VAR 1796 # ---------------------------------- 1797 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1798 ac_fn_c_check_func () 1799 { 1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1802 $as_echo_n "checking for $2... " >&6; } 1803 if eval \${$3+:} false; then : 1804 $as_echo_n "(cached) " >&6 1805 else 1806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1807 /* end confdefs.h. */ 1808 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1809 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1810 #define $2 innocuous_$2 1811 1812 /* System header to define __stub macros and hopefully few prototypes, 1813 which can conflict with char $2 (); below. 1814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1815 <limits.h> exists even on freestanding compilers. */ 1816 1817 #ifdef __STDC__ 1818 # include <limits.h> 1819 #else 1820 # include <assert.h> 1821 #endif 1822 1823 #undef $2 1824 1825 /* Override any GCC internal prototype to avoid an error. 1826 Use char because int might match the return type of a GCC 1827 builtin and then its argument prototype would still apply. */ 1828 #ifdef __cplusplus 1829 extern "C" 1830 #endif 1831 char $2 (); 1832 /* The GNU C library defines this for functions which it implements 1833 to always fail with ENOSYS. Some functions are actually named 1834 something starting with __ and the normal name is an alias. */ 1835 #if defined __stub_$2 || defined __stub___$2 1836 choke me 1837 #endif 1838 1839 int 1840 main () 1841 { 1842 return $2 (); 1843 ; 1844 return 0; 1845 } 1846 _ACEOF 1847 if ac_fn_c_try_link "$LINENO"; then : 1848 eval "$3=yes" 1849 else 1850 eval "$3=no" 1851 fi 1852 rm -f core conftest.err conftest.$ac_objext \ 1853 conftest$ac_exeext conftest.$ac_ext 1854 fi 1855 eval ac_res=\$$3 1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1857 $as_echo "$ac_res" >&6; } 1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1859 1860 } # ac_fn_c_check_func 1861 cat >config.log <<_ACEOF 1862 This file contains any messages produced by compilers while 1863 running configure, to aid debugging if configure makes a mistake. 1864 1865 It was created by gtkdatabox $as_me 1.0.0, which was 1866 generated by GNU Autoconf 2.69. Invocation command line was 1867 1868 $ $0 $@ 1869 1870 _ACEOF 1871 exec 5>>config.log 1872 { 1873 cat <<_ASUNAME 1874 ## --------- ## 1875 ## Platform. ## 1876 ## --------- ## 1877 1878 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1879 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1880 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1881 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1882 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1883 1884 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1885 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1886 1887 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1888 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1889 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1890 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1891 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1892 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1893 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1894 1895 _ASUNAME 1896 1897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1898 for as_dir in $PATH 1899 do 1900 IFS=$as_save_IFS 1901 test -z "$as_dir" && as_dir=. 1902 $as_echo "PATH: $as_dir" 1903 done 1904 IFS=$as_save_IFS 1905 1906 } >&5 1907 1908 cat >&5 <<_ACEOF 1909 1910 1911 ## ----------- ## 1912 ## Core tests. ## 1913 ## ----------- ## 1914 1915 _ACEOF 1916 1917 1918 # Keep a trace of the command line. 1919 # Strip out --no-create and --no-recursion so they do not pile up. 1920 # Strip out --silent because we don't want to record it for future runs. 1921 # Also quote any args containing shell meta-characters. 1922 # Make two passes to allow for proper duplicate-argument suppression. 1923 ac_configure_args= 1924 ac_configure_args0= 1925 ac_configure_args1= 1926 ac_must_keep_next=false 1927 for ac_pass in 1 2 1928 do 1929 for ac_arg 1930 do 1931 case $ac_arg in 1932 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1933 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1934 | -silent | --silent | --silen | --sile | --sil) 1935 continue ;; 1936 *\'*) 1937 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1938 esac 1939 case $ac_pass in 1940 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1941 2) 1942 as_fn_append ac_configure_args1 " '$ac_arg'" 1943 if test $ac_must_keep_next = true; then 1944 ac_must_keep_next=false # Got value, back to normal. 1945 else 1946 case $ac_arg in 1947 *=* | --config-cache | -C | -disable-* | --disable-* \ 1948 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1949 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1950 | -with-* | --with-* | -without-* | --without-* | --x) 1951 case "$ac_configure_args0 " in 1952 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1953 esac 1954 ;; 1955 -* ) ac_must_keep_next=true ;; 1956 esac 1957 fi 1958 as_fn_append ac_configure_args " '$ac_arg'" 1959 ;; 1960 esac 1961 done 1962 done 1963 { ac_configure_args0=; unset ac_configure_args0;} 1964 { ac_configure_args1=; unset ac_configure_args1;} 1965 1966 # When interrupted or exit'd, cleanup temporary files, and complete 1967 # config.log. We remove comments because anyway the quotes in there 1968 # would cause problems or look ugly. 1969 # WARNING: Use '\'' to represent an apostrophe within the trap. 1970 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1971 trap 'exit_status=$? 1972 # Save into config.log some information that might help in debugging. 1973 { 1974 echo 1975 1976 $as_echo "## ---------------- ## 1977 ## Cache variables. ## 1978 ## ---------------- ##" 1979 echo 1980 # The following way of writing the cache mishandles newlines in values, 1981 ( 1982 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1983 eval ac_val=\$$ac_var 1984 case $ac_val in #( 1985 *${as_nl}*) 1986 case $ac_var in #( 1987 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1988 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1989 esac 1990 case $ac_var in #( 1991 _ | IFS | as_nl) ;; #( 1992 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1993 *) { eval $ac_var=; unset $ac_var;} ;; 1994 esac ;; 1995 esac 1996 done 1997 (set) 2>&1 | 1998 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1999 *${as_nl}ac_space=\ *) 2000 sed -n \ 2001 "s/'\''/'\''\\\\'\'''\''/g; 2002 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2003 ;; #( 2004 *) 2005 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2006 ;; 2007 esac | 2008 sort 2009 ) 2010 echo 2011 2012 $as_echo "## ----------------- ## 2013 ## Output variables. ## 2014 ## ----------------- ##" 2015 echo 2016 for ac_var in $ac_subst_vars 2017 do 2018 eval ac_val=\$$ac_var 2019 case $ac_val in 2020 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2021 esac 2022 $as_echo "$ac_var='\''$ac_val'\''" 2023 done | sort 2024 echo 2025 2026 if test -n "$ac_subst_files"; then 2027 $as_echo "## ------------------- ## 2028 ## File substitutions. ## 2029 ## ------------------- ##" 2030 echo 2031 for ac_var in $ac_subst_files 2032 do 2033 eval ac_val=\$$ac_var 2034 case $ac_val in 2035 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2036 esac 2037 $as_echo "$ac_var='\''$ac_val'\''" 2038 done | sort 2039 echo 2040 fi 2041 2042 if test -s confdefs.h; then 2043 $as_echo "## ----------- ## 2044 ## confdefs.h. ## 2045 ## ----------- ##" 2046 echo 2047 cat confdefs.h 2048 echo 2049 fi 2050 test "$ac_signal" != 0 && 2051 $as_echo "$as_me: caught signal $ac_signal" 2052 $as_echo "$as_me: exit $exit_status" 2053 } >&5 2054 rm -f core *.core core.conftest.* && 2055 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2056 exit $exit_status 2057 ' 0 2058 for ac_signal in 1 2 13 15; do 2059 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2060 done 2061 ac_signal=0 2062 2063 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2064 rm -f -r conftest* confdefs.h 2065 2066 $as_echo "/* confdefs.h */" > confdefs.h 2067 2068 # Predefined preprocessor variables. 2069 2070 cat >>confdefs.h <<_ACEOF 2071 #define PACKAGE_NAME "$PACKAGE_NAME" 2072 _ACEOF 2073 2074 cat >>confdefs.h <<_ACEOF 2075 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2076 _ACEOF 2077 2078 cat >>confdefs.h <<_ACEOF 2079 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2080 _ACEOF 2081 2082 cat >>confdefs.h <<_ACEOF 2083 #define PACKAGE_STRING "$PACKAGE_STRING" 2084 _ACEOF 2085 2086 cat >>confdefs.h <<_ACEOF 2087 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2088 _ACEOF 2089 2090 cat >>confdefs.h <<_ACEOF 2091 #define PACKAGE_URL "$PACKAGE_URL" 2092 _ACEOF 2093 2094 2095 # Let the site file select an alternate cache file if it wants to. 2096 # Prefer an explicitly selected file to automatically selected ones. 2097 ac_site_file1=NONE 2098 ac_site_file2=NONE 2099 if test -n "$CONFIG_SITE"; then 2100 # We do not want a PATH search for config.site. 2101 case $CONFIG_SITE in #(( 2102 -*) ac_site_file1=./$CONFIG_SITE;; 2103 */*) ac_site_file1=$CONFIG_SITE;; 2104 *) ac_site_file1=./$CONFIG_SITE;; 2105 esac 2106 elif test "x$prefix" != xNONE; then 2107 ac_site_file1=$prefix/share/config.site 2108 ac_site_file2=$prefix/etc/config.site 2109 else 2110 ac_site_file1=$ac_default_prefix/share/config.site 2111 ac_site_file2=$ac_default_prefix/etc/config.site 2112 fi 2113 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2114 do 2115 test "x$ac_site_file" = xNONE && continue 2116 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2117 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2118 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2119 sed 's/^/| /' "$ac_site_file" >&5 2120 . "$ac_site_file" \ 2121 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2123 as_fn_error $? "failed to load site script $ac_site_file 2124 See \`config.log' for more details" "$LINENO" 5; } 2125 fi 2126 done 2127 2128 if test -r "$cache_file"; then 2129 # Some versions of bash will fail to source /dev/null (special files 2130 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2131 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2132 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2133 $as_echo "$as_me: loading cache $cache_file" >&6;} 2134 case $cache_file in 2135 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2136 *) . "./$cache_file";; 2137 esac 2138 fi 2139 else 2140 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2141 $as_echo "$as_me: creating cache $cache_file" >&6;} 2142 >$cache_file 2143 fi 2144 2145 # Check that the precious variables saved in the cache have kept the same 2146 # value. 2147 ac_cache_corrupted=false 2148 for ac_var in $ac_precious_vars; do 2149 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2150 eval ac_new_set=\$ac_env_${ac_var}_set 2151 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2152 eval ac_new_val=\$ac_env_${ac_var}_value 2153 case $ac_old_set,$ac_new_set in 2154 set,) 2155 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2156 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2157 ac_cache_corrupted=: ;; 2158 ,set) 2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2160 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2161 ac_cache_corrupted=: ;; 2162 ,);; 2163 *) 2164 if test "x$ac_old_val" != "x$ac_new_val"; then 2165 # differences in whitespace do not lead to failure. 2166 ac_old_val_w=`echo x $ac_old_val` 2167 ac_new_val_w=`echo x $ac_new_val` 2168 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2169 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2170 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2171 ac_cache_corrupted=: 2172 else 2173 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2174 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2175 eval $ac_var=\$ac_old_val 2176 fi 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2178 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2179 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2180 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2181 fi;; 2182 esac 2183 # Pass precious variables to config.status. 2184 if test "$ac_new_set" = set; then 2185 case $ac_new_val in 2186 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2187 *) ac_arg=$ac_var=$ac_new_val ;; 2188 esac 2189 case " $ac_configure_args " in 2190 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2191 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2192 esac 2193 fi 2194 done 2195 if $ac_cache_corrupted; then 2196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2198 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2199 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2200 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2201 fi 2202 ## -------------------- ## 2203 ## Main body of script. ## 2204 ## -------------------- ## 2205 2206 ac_ext=c 2207 ac_cpp='$CPP $CPPFLAGS' 2208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2210 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2211 2212 2213 2214 # This configures autoheader to generate a config.h file 2215 # 2216 ac_config_headers="$ac_config_headers config.h" 2217 2218 2219 DATABOX_LT_VERSION=1:0:0 2220 2221 DATABOX_VERSION=1.0.0 2222 2223 2224 #AM_INIT_AUTOMAKE(gtkdatabox, databox_version) 2225 am__api_version='1.16' 2226 2227 ac_aux_dir= 2228 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2229 if test -f "$ac_dir/install-sh"; then 2230 ac_aux_dir=$ac_dir 2231 ac_install_sh="$ac_aux_dir/install-sh -c" 2232 break 2233 elif test -f "$ac_dir/install.sh"; then 2234 ac_aux_dir=$ac_dir 2235 ac_install_sh="$ac_aux_dir/install.sh -c" 2236 break 2237 elif test -f "$ac_dir/shtool"; then 2238 ac_aux_dir=$ac_dir 2239 ac_install_sh="$ac_aux_dir/shtool install -c" 2240 break 2241 fi 2242 done 2243 if test -z "$ac_aux_dir"; then 2244 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2245 fi 2246 2247 # These three variables are undocumented and unsupported, 2248 # and are intended to be withdrawn in a future Autoconf release. 2249 # They can cause serious problems if a builder's source tree is in a directory 2250 # whose full name contains unusual characters. 2251 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2252 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2253 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2254 2255 2256 # Find a good install program. We prefer a C program (faster), 2257 # so one script is as good as another. But avoid the broken or 2258 # incompatible versions: 2259 # SysV /etc/install, /usr/sbin/install 2260 # SunOS /usr/etc/install 2261 # IRIX /sbin/install 2262 # AIX /bin/install 2263 # AmigaOS /C/install, which installs bootblocks on floppy discs 2264 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2265 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2266 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2267 # OS/2's system install, which has a completely different semantic 2268 # ./install, which can be erroneously created by make from ./install.sh. 2269 # Reject install programs that cannot install multiple files. 2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2271 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2272 if test -z "$INSTALL"; then 2273 if ${ac_cv_path_install+:} false; then : 2274 $as_echo_n "(cached) " >&6 2275 else 2276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2277 for as_dir in $PATH 2278 do 2279 IFS=$as_save_IFS 2280 test -z "$as_dir" && as_dir=. 2281 # Account for people who put trailing slashes in PATH elements. 2282 case $as_dir/ in #(( 2283 ./ | .// | /[cC]/* | \ 2284 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2285 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2286 /usr/ucb/* ) ;; 2287 *) 2288 # OSF1 and SCO ODT 3.0 have their own names for install. 2289 # Don't use installbsd from OSF since it installs stuff as root 2290 # by default. 2291 for ac_prog in ginstall scoinst install; do 2292 for ac_exec_ext in '' $ac_executable_extensions; do 2293 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2294 if test $ac_prog = install && 2295 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2296 # AIX install. It has an incompatible calling convention. 2297 : 2298 elif test $ac_prog = install && 2299 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2300 # program-specific install script used by HP pwplus--don't use. 2301 : 2302 else 2303 rm -rf conftest.one conftest.two conftest.dir 2304 echo one > conftest.one 2305 echo two > conftest.two 2306 mkdir conftest.dir 2307 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2308 test -s conftest.one && test -s conftest.two && 2309 test -s conftest.dir/conftest.one && 2310 test -s conftest.dir/conftest.two 2311 then 2312 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2313 break 3 2314 fi 2315 fi 2316 fi 2317 done 2318 done 2319 ;; 2320 esac 2321 2322 done 2323 IFS=$as_save_IFS 2324 2325 rm -rf conftest.one conftest.two conftest.dir 2326 2327 fi 2328 if test "${ac_cv_path_install+set}" = set; then 2329 INSTALL=$ac_cv_path_install 2330 else 2331 # As a last resort, use the slow shell script. Don't cache a 2332 # value for INSTALL within a source directory, because that will 2333 # break other packages using the cache if that directory is 2334 # removed, or if the value is a relative name. 2335 INSTALL=$ac_install_sh 2336 fi 2337 fi 2338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2339 $as_echo "$INSTALL" >&6; } 2340 2341 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2342 # It thinks the first close brace ends the variable substitution. 2343 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2344 2345 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2346 2347 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2348 2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2350 $as_echo_n "checking whether build environment is sane... " >&6; } 2351 # Reject unsafe characters in $srcdir or the absolute working directory 2352 # name. Accept space and tab only in the latter. 2353 am_lf=' 2354 ' 2355 case `pwd` in 2356 *[\\\"\#\$\&\'\`$am_lf]*) 2357 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2358 esac 2359 case $srcdir in 2360 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2361 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2362 esac 2363 2364 # Do 'set' in a subshell so we don't clobber the current shell's 2365 # arguments. Must try -L first in case configure is actually a 2366 # symlink; some systems play weird games with the mod time of symlinks 2367 # (eg FreeBSD returns the mod time of the symlink's containing 2368 # directory). 2369 if ( 2370 am_has_slept=no 2371 for am_try in 1 2; do 2372 echo "timestamp, slept: $am_has_slept" > conftest.file 2373 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2374 if test "$*" = "X"; then 2375 # -L didn't work. 2376 set X `ls -t "$srcdir/configure" conftest.file` 2377 fi 2378 if test "$*" != "X $srcdir/configure conftest.file" \ 2379 && test "$*" != "X conftest.file $srcdir/configure"; then 2380 2381 # If neither matched, then we have a broken ls. This can happen 2382 # if, for instance, CONFIG_SHELL is bash and it inherits a 2383 # broken ls alias from the environment. This has actually 2384 # happened. Such a system could not be considered "sane". 2385 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2386 alias in your environment" "$LINENO" 5 2387 fi 2388 if test "$2" = conftest.file || test $am_try -eq 2; then 2389 break 2390 fi 2391 # Just in case. 2392 sleep 1 2393 am_has_slept=yes 2394 done 2395 test "$2" = conftest.file 2396 ) 2397 then 2398 # Ok. 2399 : 2400 else 2401 as_fn_error $? "newly created file is older than distributed files! 2402 Check your system clock" "$LINENO" 5 2403 fi 2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2405 $as_echo "yes" >&6; } 2406 # If we didn't sleep, we still need to ensure time stamps of config.status and 2407 # generated files are strictly newer. 2408 am_sleep_pid= 2409 if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2410 ( sleep 1 ) & 2411 am_sleep_pid=$! 2412 fi 2413 2414 rm -f conftest.file 2415 2416 test "$program_prefix" != NONE && 2417 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2418 # Use a double $ so make ignores it. 2419 test "$program_suffix" != NONE && 2420 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2421 # Double any \ or $. 2422 # By default was `s,x,x', remove it if useless. 2423 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2424 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2425 2426 # Expand $ac_aux_dir to an absolute path. 2427 am_aux_dir=`cd "$ac_aux_dir" && pwd` 2428 2429 if test x"${MISSING+set}" != xset; then 2430 case $am_aux_dir in 2431 *\ * | *\ *) 2432 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2433 *) 2434 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2435 esac 2436 fi 2437 # Use eval to expand $SHELL 2438 if eval "$MISSING --is-lightweight"; then 2439 am_missing_run="$MISSING " 2440 else 2441 am_missing_run= 2442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2443 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2444 fi 2445 2446 if test x"${install_sh+set}" != xset; then 2447 case $am_aux_dir in 2448 *\ * | *\ *) 2449 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2450 *) 2451 install_sh="\${SHELL} $am_aux_dir/install-sh" 2452 esac 2453 fi 2454 2455 # Installed binaries are usually stripped using 'strip' when the user 2456 # run "make install-strip". However 'strip' might not be the right 2457 # tool to use in cross-compilation environments, therefore Automake 2458 # will honor the 'STRIP' environment variable to overrule this program. 2459 if test "$cross_compiling" != no; then 2460 if test -n "$ac_tool_prefix"; then 2461 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2462 set dummy ${ac_tool_prefix}strip; ac_word=$2 2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2464 $as_echo_n "checking for $ac_word... " >&6; } 2465 if ${ac_cv_prog_STRIP+:} false; then : 2466 $as_echo_n "(cached) " >&6 2467 else 2468 if test -n "$STRIP"; then 2469 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2470 else 2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2472 for as_dir in $PATH 2473 do 2474 IFS=$as_save_IFS 2475 test -z "$as_dir" && as_dir=. 2476 for ac_exec_ext in '' $ac_executable_extensions; do 2477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2478 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2480 break 2 2481 fi 2482 done 2483 done 2484 IFS=$as_save_IFS 2485 2486 fi 2487 fi 2488 STRIP=$ac_cv_prog_STRIP 2489 if test -n "$STRIP"; then 2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2491 $as_echo "$STRIP" >&6; } 2492 else 2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2494 $as_echo "no" >&6; } 2495 fi 2496 2497 2498 fi 2499 if test -z "$ac_cv_prog_STRIP"; then 2500 ac_ct_STRIP=$STRIP 2501 # Extract the first word of "strip", so it can be a program name with args. 2502 set dummy strip; ac_word=$2 2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2504 $as_echo_n "checking for $ac_word... " >&6; } 2505 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2506 $as_echo_n "(cached) " >&6 2507 else 2508 if test -n "$ac_ct_STRIP"; then 2509 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2510 else 2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2512 for as_dir in $PATH 2513 do 2514 IFS=$as_save_IFS 2515 test -z "$as_dir" && as_dir=. 2516 for ac_exec_ext in '' $ac_executable_extensions; do 2517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2518 ac_cv_prog_ac_ct_STRIP="strip" 2519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2520 break 2 2521 fi 2522 done 2523 done 2524 IFS=$as_save_IFS 2525 2526 fi 2527 fi 2528 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2529 if test -n "$ac_ct_STRIP"; then 2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2531 $as_echo "$ac_ct_STRIP" >&6; } 2532 else 2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2534 $as_echo "no" >&6; } 2535 fi 2536 2537 if test "x$ac_ct_STRIP" = x; then 2538 STRIP=":" 2539 else 2540 case $cross_compiling:$ac_tool_warned in 2541 yes:) 2542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2544 ac_tool_warned=yes ;; 2545 esac 2546 STRIP=$ac_ct_STRIP 2547 fi 2548 else 2549 STRIP="$ac_cv_prog_STRIP" 2550 fi 2551 2552 fi 2553 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2554 2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2556 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2557 if test -z "$MKDIR_P"; then 2558 if ${ac_cv_path_mkdir+:} false; then : 2559 $as_echo_n "(cached) " >&6 2560 else 2561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2562 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2563 do 2564 IFS=$as_save_IFS 2565 test -z "$as_dir" && as_dir=. 2566 for ac_prog in mkdir gmkdir; do 2567 for ac_exec_ext in '' $ac_executable_extensions; do 2568 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2569 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2570 'mkdir (GNU coreutils) '* | \ 2571 'mkdir (coreutils) '* | \ 2572 'mkdir (fileutils) '4.1*) 2573 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2574 break 3;; 2575 esac 2576 done 2577 done 2578 done 2579 IFS=$as_save_IFS 2580 2581 fi 2582 2583 test -d ./--version && rmdir ./--version 2584 if test "${ac_cv_path_mkdir+set}" = set; then 2585 MKDIR_P="$ac_cv_path_mkdir -p" 2586 else 2587 # As a last resort, use the slow shell script. Don't cache a 2588 # value for MKDIR_P within a source directory, because that will 2589 # break other packages using the cache if that directory is 2590 # removed, or if the value is a relative name. 2591 MKDIR_P="$ac_install_sh -d" 2592 fi 2593 fi 2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2595 $as_echo "$MKDIR_P" >&6; } 2596 2597 for ac_prog in gawk mawk nawk awk 2598 do 2599 # Extract the first word of "$ac_prog", so it can be a program name with args. 2600 set dummy $ac_prog; ac_word=$2 2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2602 $as_echo_n "checking for $ac_word... " >&6; } 2603 if ${ac_cv_prog_AWK+:} false; then : 2604 $as_echo_n "(cached) " >&6 2605 else 2606 if test -n "$AWK"; then 2607 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2608 else 2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2610 for as_dir in $PATH 2611 do 2612 IFS=$as_save_IFS 2613 test -z "$as_dir" && as_dir=. 2614 for ac_exec_ext in '' $ac_executable_extensions; do 2615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2616 ac_cv_prog_AWK="$ac_prog" 2617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2618 break 2 2619 fi 2620 done 2621 done 2622 IFS=$as_save_IFS 2623 2624 fi 2625 fi 2626 AWK=$ac_cv_prog_AWK 2627 if test -n "$AWK"; then 2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2629 $as_echo "$AWK" >&6; } 2630 else 2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2632 $as_echo "no" >&6; } 2633 fi 2634 2635 2636 test -n "$AWK" && break 2637 done 2638 2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2640 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2641 set x ${MAKE-make} 2642 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2643 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2644 $as_echo_n "(cached) " >&6 2645 else 2646 cat >conftest.make <<\_ACEOF 2647 SHELL = /bin/sh 2648 all: 2649 @echo '@@@%%%=$(MAKE)=@@@%%%' 2650 _ACEOF 2651 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2652 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2653 *@@@%%%=?*=@@@%%%*) 2654 eval ac_cv_prog_make_${ac_make}_set=yes;; 2655 *) 2656 eval ac_cv_prog_make_${ac_make}_set=no;; 2657 esac 2658 rm -f conftest.make 2659 fi 2660 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2662 $as_echo "yes" >&6; } 2663 SET_MAKE= 2664 else 2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2666 $as_echo "no" >&6; } 2667 SET_MAKE="MAKE=${MAKE-make}" 2668 fi 2669 2670 rm -rf .tst 2>/dev/null 2671 mkdir .tst 2>/dev/null 2672 if test -d .tst; then 2673 am__leading_dot=. 2674 else 2675 am__leading_dot=_ 2676 fi 2677 rmdir .tst 2>/dev/null 2678 2679 # Check whether --enable-silent-rules was given. 2680 if test "${enable_silent_rules+set}" = set; then : 2681 enableval=$enable_silent_rules; 2682 fi 2683 2684 case $enable_silent_rules in # ((( 2685 yes) AM_DEFAULT_VERBOSITY=0;; 2686 no) AM_DEFAULT_VERBOSITY=1;; 2687 *) AM_DEFAULT_VERBOSITY=1;; 2688 esac 2689 am_make=${MAKE-make} 2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2691 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2692 if ${am_cv_make_support_nested_variables+:} false; then : 2693 $as_echo_n "(cached) " >&6 2694 else 2695 if $as_echo 'TRUE=$(BAR$(V)) 2696 BAR0=false 2697 BAR1=true 2698 V=1 2699 am__doit: 2700 @$(TRUE) 2701 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2702 am_cv_make_support_nested_variables=yes 2703 else 2704 am_cv_make_support_nested_variables=no 2705 fi 2706 fi 2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2708 $as_echo "$am_cv_make_support_nested_variables" >&6; } 2709 if test $am_cv_make_support_nested_variables = yes; then 2710 AM_V='$(V)' 2711 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2712 else 2713 AM_V=$AM_DEFAULT_VERBOSITY 2714 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2715 fi 2716 AM_BACKSLASH='\' 2717 2718 if test "`cd $srcdir && pwd`" != "`pwd`"; then 2719 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2720 # is not polluted with repeated "-I." 2721 am__isrc=' -I$(srcdir)' 2722 # test to see if srcdir already configured 2723 if test -f $srcdir/config.status; then 2724 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2725 fi 2726 fi 2727 2728 # test whether we have cygpath 2729 if test -z "$CYGPATH_W"; then 2730 if (cygpath --version) >/dev/null 2>/dev/null; then 2731 CYGPATH_W='cygpath -w' 2732 else 2733 CYGPATH_W=echo 2734 fi 2735 fi 2736 2737 2738 # Define the identity of the package. 2739 PACKAGE='gtkdatabox' 2740 VERSION='1.0.0' 2741 2742 2743 cat >>confdefs.h <<_ACEOF 2744 #define PACKAGE "$PACKAGE" 2745 _ACEOF 2746 2747 2748 cat >>confdefs.h <<_ACEOF 2749 #define VERSION "$VERSION" 2750 _ACEOF 2751 2752 # Some tools Automake needs. 2753 2754 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2755 2756 2757 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2758 2759 2760 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2761 2762 2763 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2764 2765 2766 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2767 2768 # For better backward compatibility. To be removed once Automake 1.9.x 2769 # dies out for good. For more background, see: 2770 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2771 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2772 mkdir_p='$(MKDIR_P)' 2773 2774 # We need awk for the "check" target (and possibly the TAP driver). The 2775 # system "awk" is bad on some platforms. 2776 # Always define AMTAR for backward compatibility. Yes, it's still used 2777 # in the wild :-( We should find a proper way to deprecate it ... 2778 AMTAR='$${TAR-tar}' 2779 2780 2781 # We'll loop over all known methods to create a tar archive until one works. 2782 _am_tools='gnutar plaintar pax cpio none' 2783 2784 # The POSIX 1988 'ustar' format is defined with fixed-size fields. 2785 # There is notably a 21 bits limit for the UID and the GID. In fact, 2786 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 2787 # and bug#13588). 2788 am_max_uid=2097151 # 2^21 - 1 2789 am_max_gid=$am_max_uid 2790 # The $UID and $GID variables are not portable, so we need to resort 2791 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 2792 # below are definitely unexpected, so allow the users to see them 2793 # (that is, avoid stderr redirection). 2794 am_uid=`id -u || echo unknown` 2795 am_gid=`id -g || echo unknown` 2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 2797 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 2798 if test $am_uid -le $am_max_uid; then 2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2800 $as_echo "yes" >&6; } 2801 else 2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2803 $as_echo "no" >&6; } 2804 _am_tools=none 2805 fi 2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 2807 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 2808 if test $am_gid -le $am_max_gid; then 2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2810 $as_echo "yes" >&6; } 2811 else 2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2813 $as_echo "no" >&6; } 2814 _am_tools=none 2815 fi 2816 2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 2818 $as_echo_n "checking how to create a ustar tar archive... " >&6; } 2819 2820 # Go ahead even if we have the value already cached. We do so because we 2821 # need to set the values for the 'am__tar' and 'am__untar' variables. 2822 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 2823 2824 for _am_tool in $_am_tools; do 2825 case $_am_tool in 2826 gnutar) 2827 for _am_tar in tar gnutar gtar; do 2828 { echo "$as_me:$LINENO: $_am_tar --version" >&5 2829 ($_am_tar --version) >&5 2>&5 2830 ac_status=$? 2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2832 (exit $ac_status); } && break 2833 done 2834 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 2835 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 2836 am__untar="$_am_tar -xf -" 2837 ;; 2838 plaintar) 2839 # Must skip GNU tar: if it does not support --format= it doesn't create 2840 # ustar tarball either. 2841 (tar --version) >/dev/null 2>&1 && continue 2842 am__tar='tar chf - "$$tardir"' 2843 am__tar_='tar chf - "$tardir"' 2844 am__untar='tar xf -' 2845 ;; 2846 pax) 2847 am__tar='pax -L -x ustar -w "$$tardir"' 2848 am__tar_='pax -L -x ustar -w "$tardir"' 2849 am__untar='pax -r' 2850 ;; 2851 cpio) 2852 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 2853 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 2854 am__untar='cpio -i -H ustar -d' 2855 ;; 2856 none) 2857 am__tar=false 2858 am__tar_=false 2859 am__untar=false 2860 ;; 2861 esac 2862 2863 # If the value was cached, stop now. We just wanted to have am__tar 2864 # and am__untar set. 2865 test -n "${am_cv_prog_tar_ustar}" && break 2866 2867 # tar/untar a dummy directory, and stop if the command works. 2868 rm -rf conftest.dir 2869 mkdir conftest.dir 2870 echo GrepMe > conftest.dir/file 2871 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 2872 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 2873 ac_status=$? 2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2875 (exit $ac_status); } 2876 rm -rf conftest.dir 2877 if test -s conftest.tar; then 2878 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 2879 ($am__untar <conftest.tar) >&5 2>&5 2880 ac_status=$? 2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2882 (exit $ac_status); } 2883 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 2884 (cat conftest.dir/file) >&5 2>&5 2885 ac_status=$? 2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2887 (exit $ac_status); } 2888 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 2889 fi 2890 done 2891 rm -rf conftest.dir 2892 2893 if ${am_cv_prog_tar_ustar+:} false; then : 2894 $as_echo_n "(cached) " >&6 2895 else 2896 am_cv_prog_tar_ustar=$_am_tool 2897 fi 2898 2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 2900 $as_echo "$am_cv_prog_tar_ustar" >&6; } 2901 2902 2903 2904 2905 2906 2907 # POSIX will say in a future version that running "rm -f" with no argument 2908 # is OK; and we want to be able to make that assumption in our Makefile 2909 # recipes. So use an aggressive probe to check that the usage we want is 2910 # actually supported "in the wild" to an acceptable degree. 2911 # See automake bug#10828. 2912 # To make any issue more visible, cause the running configure to be aborted 2913 # by default if the 'rm' program in use doesn't match our expectations; the 2914 # user can still override this though. 2915 if rm -f && rm -fr && rm -rf; then : OK; else 2916 cat >&2 <<'END' 2917 Oops! 2918 2919 Your 'rm' program seems unable to run without file operands specified 2920 on the command line, even when the '-f' option is present. This is contrary 2921 to the behaviour of most rm programs out there, and not conforming with 2922 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2923 2924 Please tell bug-automake@gnu.org about your system, including the value 2925 of your $PATH and any error possibly output before this message. This 2926 can help us improve future automake versions. 2927 2928 END 2929 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2930 echo 'Configuration will proceed anyway, since you have set the' >&2 2931 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2932 echo >&2 2933 else 2934 cat >&2 <<'END' 2935 Aborting the configuration process, to ensure you take notice of the issue. 2936 2937 You can download and install GNU coreutils to get an 'rm' implementation 2938 that behaves properly: <https://www.gnu.org/software/coreutils/>. 2939 2940 If you want to complete the configuration process using your problematic 2941 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2942 to "yes", and re-run configure. 2943 2944 END 2945 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2946 fi 2947 fi 2948 2949 2950 # Make sure we can run config.sub. 2951 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2952 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2953 2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2955 $as_echo_n "checking build system type... " >&6; } 2956 if ${ac_cv_build+:} false; then : 2957 $as_echo_n "(cached) " >&6 2958 else 2959 ac_build_alias=$build_alias 2960 test "x$ac_build_alias" = x && 2961 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2962 test "x$ac_build_alias" = x && 2963 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2964 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2965 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2966 2967 fi 2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2969 $as_echo "$ac_cv_build" >&6; } 2970 case $ac_cv_build in 2971 *-*-*) ;; 2972 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2973 esac 2974 build=$ac_cv_build 2975 ac_save_IFS=$IFS; IFS='-' 2976 set x $ac_cv_build 2977 shift 2978 build_cpu=$1 2979 build_vendor=$2 2980 shift; shift 2981 # Remember, the first character of IFS is used to create $*, 2982 # except with old shells: 2983 build_os=$* 2984 IFS=$ac_save_IFS 2985 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2986 2987 2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2989 $as_echo_n "checking host system type... " >&6; } 2990 if ${ac_cv_host+:} false; then : 2991 $as_echo_n "(cached) " >&6 2992 else 2993 if test "x$host_alias" = x; then 2994 ac_cv_host=$ac_cv_build 2995 else 2996 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2997 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2998 fi 2999 3000 fi 3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3002 $as_echo "$ac_cv_host" >&6; } 3003 case $ac_cv_host in 3004 *-*-*) ;; 3005 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3006 esac 3007 host=$ac_cv_host 3008 ac_save_IFS=$IFS; IFS='-' 3009 set x $ac_cv_host 3010 shift 3011 host_cpu=$1 3012 host_vendor=$2 3013 shift; shift 3014 # Remember, the first character of IFS is used to create $*, 3015 # except with old shells: 3016 host_os=$* 3017 IFS=$ac_save_IFS 3018 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3019 3020 3021 enable_win32_dll=yes 3022 3023 case $host in 3024 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 3025 if test -n "$ac_tool_prefix"; then 3026 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 3027 set dummy ${ac_tool_prefix}as; ac_word=$2 3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3029 $as_echo_n "checking for $ac_word... " >&6; } 3030 if ${ac_cv_prog_AS+:} false; then : 3031 $as_echo_n "(cached) " >&6 3032 else 3033 if test -n "$AS"; then 3034 ac_cv_prog_AS="$AS" # Let the user override the test. 3035 else 3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3037 for as_dir in $PATH 3038 do 3039 IFS=$as_save_IFS 3040 test -z "$as_dir" && as_dir=. 3041 for ac_exec_ext in '' $ac_executable_extensions; do 3042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3043 ac_cv_prog_AS="${ac_tool_prefix}as" 3044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3045 break 2 3046 fi 3047 done 3048 done 3049 IFS=$as_save_IFS 3050 3051 fi 3052 fi 3053 AS=$ac_cv_prog_AS 3054 if test -n "$AS"; then 3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 3056 $as_echo "$AS" >&6; } 3057 else 3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3059 $as_echo "no" >&6; } 3060 fi 3061 3062 3063 fi 3064 if test -z "$ac_cv_prog_AS"; then 3065 ac_ct_AS=$AS 3066 # Extract the first word of "as", so it can be a program name with args. 3067 set dummy as; ac_word=$2 3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3069 $as_echo_n "checking for $ac_word... " >&6; } 3070 if ${ac_cv_prog_ac_ct_AS+:} false; then : 3071 $as_echo_n "(cached) " >&6 3072 else 3073 if test -n "$ac_ct_AS"; then 3074 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 3075 else 3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3077 for as_dir in $PATH 3078 do 3079 IFS=$as_save_IFS 3080 test -z "$as_dir" && as_dir=. 3081 for ac_exec_ext in '' $ac_executable_extensions; do 3082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3083 ac_cv_prog_ac_ct_AS="as" 3084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3085 break 2 3086 fi 3087 done 3088 done 3089 IFS=$as_save_IFS 3090 3091 fi 3092 fi 3093 ac_ct_AS=$ac_cv_prog_ac_ct_AS 3094 if test -n "$ac_ct_AS"; then 3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 3096 $as_echo "$ac_ct_AS" >&6; } 3097 else 3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3099 $as_echo "no" >&6; } 3100 fi 3101 3102 if test "x$ac_ct_AS" = x; then 3103 AS="false" 3104 else 3105 case $cross_compiling:$ac_tool_warned in 3106 yes:) 3107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3109 ac_tool_warned=yes ;; 3110 esac 3111 AS=$ac_ct_AS 3112 fi 3113 else 3114 AS="$ac_cv_prog_AS" 3115 fi 3116 3117 if test -n "$ac_tool_prefix"; then 3118 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 3119 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3121 $as_echo_n "checking for $ac_word... " >&6; } 3122 if ${ac_cv_prog_DLLTOOL+:} false; then : 3123 $as_echo_n "(cached) " >&6 3124 else 3125 if test -n "$DLLTOOL"; then 3126 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 3127 else 3128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3129 for as_dir in $PATH 3130 do 3131 IFS=$as_save_IFS 3132 test -z "$as_dir" && as_dir=. 3133 for ac_exec_ext in '' $ac_executable_extensions; do 3134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3135 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 3136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3137 break 2 3138 fi 3139 done 3140 done 3141 IFS=$as_save_IFS 3142 3143 fi 3144 fi 3145 DLLTOOL=$ac_cv_prog_DLLTOOL 3146 if test -n "$DLLTOOL"; then 3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 3148 $as_echo "$DLLTOOL" >&6; } 3149 else 3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3151 $as_echo "no" >&6; } 3152 fi 3153 3154 3155 fi 3156 if test -z "$ac_cv_prog_DLLTOOL"; then 3157 ac_ct_DLLTOOL=$DLLTOOL 3158 # Extract the first word of "dlltool", so it can be a program name with args. 3159 set dummy dlltool; ac_word=$2 3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3161 $as_echo_n "checking for $ac_word... " >&6; } 3162 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 3163 $as_echo_n "(cached) " >&6 3164 else 3165 if test -n "$ac_ct_DLLTOOL"; then 3166 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 3167 else 3168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3169 for as_dir in $PATH 3170 do 3171 IFS=$as_save_IFS 3172 test -z "$as_dir" && as_dir=. 3173 for ac_exec_ext in '' $ac_executable_extensions; do 3174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3175 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 3176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3177 break 2 3178 fi 3179 done 3180 done 3181 IFS=$as_save_IFS 3182 3183 fi 3184 fi 3185 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 3186 if test -n "$ac_ct_DLLTOOL"; then 3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 3188 $as_echo "$ac_ct_DLLTOOL" >&6; } 3189 else 3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3191 $as_echo "no" >&6; } 3192 fi 3193 3194 if test "x$ac_ct_DLLTOOL" = x; then 3195 DLLTOOL="false" 3196 else 3197 case $cross_compiling:$ac_tool_warned in 3198 yes:) 3199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3201 ac_tool_warned=yes ;; 3202 esac 3203 DLLTOOL=$ac_ct_DLLTOOL 3204 fi 3205 else 3206 DLLTOOL="$ac_cv_prog_DLLTOOL" 3207 fi 3208 3209 if test -n "$ac_tool_prefix"; then 3210 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 3211 set dummy ${ac_tool_prefix}objdump; ac_word=$2 3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3213 $as_echo_n "checking for $ac_word... " >&6; } 3214 if ${ac_cv_prog_OBJDUMP+:} false; then : 3215 $as_echo_n "(cached) " >&6 3216 else 3217 if test -n "$OBJDUMP"; then 3218 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 3219 else 3220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3221 for as_dir in $PATH 3222 do 3223 IFS=$as_save_IFS 3224 test -z "$as_dir" && as_dir=. 3225 for ac_exec_ext in '' $ac_executable_extensions; do 3226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3227 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 3228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3229 break 2 3230 fi 3231 done 3232 done 3233 IFS=$as_save_IFS 3234 3235 fi 3236 fi 3237 OBJDUMP=$ac_cv_prog_OBJDUMP 3238 if test -n "$OBJDUMP"; then 3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 3240 $as_echo "$OBJDUMP" >&6; } 3241 else 3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3243 $as_echo "no" >&6; } 3244 fi 3245 3246 3247 fi 3248 if test -z "$ac_cv_prog_OBJDUMP"; then 3249 ac_ct_OBJDUMP=$OBJDUMP 3250 # Extract the first word of "objdump", so it can be a program name with args. 3251 set dummy objdump; ac_word=$2 3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3253 $as_echo_n "checking for $ac_word... " >&6; } 3254 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 3255 $as_echo_n "(cached) " >&6 3256 else 3257 if test -n "$ac_ct_OBJDUMP"; then 3258 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 3259 else 3260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3261 for as_dir in $PATH 3262 do 3263 IFS=$as_save_IFS 3264 test -z "$as_dir" && as_dir=. 3265 for ac_exec_ext in '' $ac_executable_extensions; do 3266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3267 ac_cv_prog_ac_ct_OBJDUMP="objdump" 3268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3269 break 2 3270 fi 3271 done 3272 done 3273 IFS=$as_save_IFS 3274 3275 fi 3276 fi 3277 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 3278 if test -n "$ac_ct_OBJDUMP"; then 3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 3280 $as_echo "$ac_ct_OBJDUMP" >&6; } 3281 else 3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3283 $as_echo "no" >&6; } 3284 fi 3285 3286 if test "x$ac_ct_OBJDUMP" = x; then 3287 OBJDUMP="false" 3288 else 3289 case $cross_compiling:$ac_tool_warned in 3290 yes:) 3291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3293 ac_tool_warned=yes ;; 3294 esac 3295 OBJDUMP=$ac_ct_OBJDUMP 3296 fi 3297 else 3298 OBJDUMP="$ac_cv_prog_OBJDUMP" 3299 fi 3300 3301 ;; 3302 esac 3303 3304 test -z "$AS" && AS=as 3305 3306 3307 3308 3309 3310 test -z "$DLLTOOL" && DLLTOOL=dlltool 3311 3312 3313 3314 3315 3316 test -z "$OBJDUMP" && OBJDUMP=objdump 3317 3318 3319 3320 3321 3322 3323 3324 case `pwd` in 3325 *\ * | *\ *) 3326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3327 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3328 esac 3329 3330 3331 3332 macro_version='2.4.6' 3333 macro_revision='2.4.6' 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 ltmain=$ac_aux_dir/ltmain.sh 3348 3349 # Backslashify metacharacters that are still active within 3350 # double-quoted strings. 3351 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3352 3353 # Same as above, but do not quote variable references. 3354 double_quote_subst='s/\(["`\\]\)/\\\1/g' 3355 3356 # Sed substitution to delay expansion of an escaped shell variable in a 3357 # double_quote_subst'ed string. 3358 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 3359 3360 # Sed substitution to delay expansion of an escaped single quote. 3361 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 3362 3363 # Sed substitution to avoid accidental globbing in evaled expressions 3364 no_glob_subst='s/\*/\\\*/g' 3365 3366 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3367 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 3368 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 3369 3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3371 $as_echo_n "checking how to print strings... " >&6; } 3372 # Test print first, because it will be a builtin if present. 3373 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 3374 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 3375 ECHO='print -r --' 3376 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 3377 ECHO='printf %s\n' 3378 else 3379 # Use this function as a fallback that always works. 3380 func_fallback_echo () 3381 { 3382 eval 'cat <<_LTECHO_EOF 3383 $1 3384 _LTECHO_EOF' 3385 } 3386 ECHO='func_fallback_echo' 3387 fi 3388 3389 # func_echo_all arg... 3390 # Invoke $ECHO with all args, space-separated. 3391 func_echo_all () 3392 { 3393 $ECHO "" 3394 } 3395 3396 case $ECHO in 3397 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3398 $as_echo "printf" >&6; } ;; 3399 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3400 $as_echo "print -r" >&6; } ;; 3401 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3402 $as_echo "cat" >&6; } ;; 3403 esac 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 DEPDIR="${am__leading_dot}deps" 3419 3420 ac_config_commands="$ac_config_commands depfiles" 3421 3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3423 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3424 cat > confinc.mk << 'END' 3425 am__doit: 3426 @echo this is the am__doit target >confinc.out 3427 .PHONY: am__doit 3428 END 3429 am__include="#" 3430 am__quote= 3431 # BSD make does it like this. 3432 echo '.include "confinc.mk" # ignored' > confmf.BSD 3433 # Other make implementations (GNU, Solaris 10, AIX) do it like this. 3434 echo 'include confinc.mk # ignored' > confmf.GNU 3435 _am_result=no 3436 for s in GNU BSD; do 3437 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3438 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3439 ac_status=$? 3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3441 (exit $ac_status); } 3442 case $?:`cat confinc.out 2>/dev/null` in #( 3443 '0:this is the am__doit target') : 3444 case $s in #( 3445 BSD) : 3446 am__include='.include' am__quote='"' ;; #( 3447 *) : 3448 am__include='include' am__quote='' ;; 3449 esac ;; #( 3450 *) : 3451 ;; 3452 esac 3453 if test "$am__include" != "#"; then 3454 _am_result="yes ($s style)" 3455 break 3456 fi 3457 done 3458 rm -f confinc.* confmf.* 3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3460 $as_echo "${_am_result}" >&6; } 3461 3462 # Check whether --enable-dependency-tracking was given. 3463 if test "${enable_dependency_tracking+set}" = set; then : 3464 enableval=$enable_dependency_tracking; 3465 fi 3466 3467 if test "x$enable_dependency_tracking" != xno; then 3468 am_depcomp="$ac_aux_dir/depcomp" 3469 AMDEPBACKSLASH='\' 3470 am__nodep='_no' 3471 fi 3472 if test "x$enable_dependency_tracking" != xno; then 3473 AMDEP_TRUE= 3474 AMDEP_FALSE='#' 3475 else 3476 AMDEP_TRUE='#' 3477 AMDEP_FALSE= 3478 fi 3479 3480 3481 ac_ext=c 3482 ac_cpp='$CPP $CPPFLAGS' 3483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3485 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3486 if test -n "$ac_tool_prefix"; then 3487 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3488 set dummy ${ac_tool_prefix}gcc; ac_word=$2 3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3490 $as_echo_n "checking for $ac_word... " >&6; } 3491 if ${ac_cv_prog_CC+:} false; then : 3492 $as_echo_n "(cached) " >&6 3493 else 3494 if test -n "$CC"; then 3495 ac_cv_prog_CC="$CC" # Let the user override the test. 3496 else 3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3498 for as_dir in $PATH 3499 do 3500 IFS=$as_save_IFS 3501 test -z "$as_dir" && as_dir=. 3502 for ac_exec_ext in '' $ac_executable_extensions; do 3503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3504 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3506 break 2 3507 fi 3508 done 3509 done 3510 IFS=$as_save_IFS 3511 3512 fi 3513 fi 3514 CC=$ac_cv_prog_CC 3515 if test -n "$CC"; then 3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3517 $as_echo "$CC" >&6; } 3518 else 3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3520 $as_echo "no" >&6; } 3521 fi 3522 3523 3524 fi 3525 if test -z "$ac_cv_prog_CC"; then 3526 ac_ct_CC=$CC 3527 # Extract the first word of "gcc", so it can be a program name with args. 3528 set dummy gcc; ac_word=$2 3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3530 $as_echo_n "checking for $ac_word... " >&6; } 3531 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3532 $as_echo_n "(cached) " >&6 3533 else 3534 if test -n "$ac_ct_CC"; then 3535 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3536 else 3537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3538 for as_dir in $PATH 3539 do 3540 IFS=$as_save_IFS 3541 test -z "$as_dir" && as_dir=. 3542 for ac_exec_ext in '' $ac_executable_extensions; do 3543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3544 ac_cv_prog_ac_ct_CC="gcc" 3545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3546 break 2 3547 fi 3548 done 3549 done 3550 IFS=$as_save_IFS 3551 3552 fi 3553 fi 3554 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3555 if test -n "$ac_ct_CC"; then 3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3557 $as_echo "$ac_ct_CC" >&6; } 3558 else 3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3560 $as_echo "no" >&6; } 3561 fi 3562 3563 if test "x$ac_ct_CC" = x; then 3564 CC="" 3565 else 3566 case $cross_compiling:$ac_tool_warned in 3567 yes:) 3568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3570 ac_tool_warned=yes ;; 3571 esac 3572 CC=$ac_ct_CC 3573 fi 3574 else 3575 CC="$ac_cv_prog_CC" 3576 fi 3577 3578 if test -z "$CC"; then 3579 if test -n "$ac_tool_prefix"; then 3580 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3581 set dummy ${ac_tool_prefix}cc; ac_word=$2 3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3583 $as_echo_n "checking for $ac_word... " >&6; } 3584 if ${ac_cv_prog_CC+:} false; then : 3585 $as_echo_n "(cached) " >&6 3586 else 3587 if test -n "$CC"; then 3588 ac_cv_prog_CC="$CC" # Let the user override the test. 3589 else 3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3591 for as_dir in $PATH 3592 do 3593 IFS=$as_save_IFS 3594 test -z "$as_dir" && as_dir=. 3595 for ac_exec_ext in '' $ac_executable_extensions; do 3596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3597 ac_cv_prog_CC="${ac_tool_prefix}cc" 3598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3599 break 2 3600 fi 3601 done 3602 done 3603 IFS=$as_save_IFS 3604 3605 fi 3606 fi 3607 CC=$ac_cv_prog_CC 3608 if test -n "$CC"; then 3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3610 $as_echo "$CC" >&6; } 3611 else 3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3613 $as_echo "no" >&6; } 3614 fi 3615 3616 3617 fi 3618 fi 3619 if test -z "$CC"; then 3620 # Extract the first word of "cc", so it can be a program name with args. 3621 set dummy cc; ac_word=$2 3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3623 $as_echo_n "checking for $ac_word... " >&6; } 3624 if ${ac_cv_prog_CC+:} false; then : 3625 $as_echo_n "(cached) " >&6 3626 else 3627 if test -n "$CC"; then 3628 ac_cv_prog_CC="$CC" # Let the user override the test. 3629 else 3630 ac_prog_rejected=no 3631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3632 for as_dir in $PATH 3633 do 3634 IFS=$as_save_IFS 3635 test -z "$as_dir" && as_dir=. 3636 for ac_exec_ext in '' $ac_executable_extensions; do 3637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3638 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3639 ac_prog_rejected=yes 3640 continue 3641 fi 3642 ac_cv_prog_CC="cc" 3643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3644 break 2 3645 fi 3646 done 3647 done 3648 IFS=$as_save_IFS 3649 3650 if test $ac_prog_rejected = yes; then 3651 # We found a bogon in the path, so make sure we never use it. 3652 set dummy $ac_cv_prog_CC 3653 shift 3654 if test $# != 0; then 3655 # We chose a different compiler from the bogus one. 3656 # However, it has the same basename, so the bogon will be chosen 3657 # first if we set CC to just the basename; use the full file name. 3658 shift 3659 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3660 fi 3661 fi 3662 fi 3663 fi 3664 CC=$ac_cv_prog_CC 3665 if test -n "$CC"; then 3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3667 $as_echo "$CC" >&6; } 3668 else 3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3670 $as_echo "no" >&6; } 3671 fi 3672 3673 3674 fi 3675 if test -z "$CC"; then 3676 if test -n "$ac_tool_prefix"; then 3677 for ac_prog in cl.exe 3678 do 3679 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3680 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3682 $as_echo_n "checking for $ac_word... " >&6; } 3683 if ${ac_cv_prog_CC+:} false; then : 3684 $as_echo_n "(cached) " >&6 3685 else 3686 if test -n "$CC"; then 3687 ac_cv_prog_CC="$CC" # Let the user override the test. 3688 else 3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3690 for as_dir in $PATH 3691 do 3692 IFS=$as_save_IFS 3693 test -z "$as_dir" && as_dir=. 3694 for ac_exec_ext in '' $ac_executable_extensions; do 3695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3696 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3698 break 2 3699 fi 3700 done 3701 done 3702 IFS=$as_save_IFS 3703 3704 fi 3705 fi 3706 CC=$ac_cv_prog_CC 3707 if test -n "$CC"; then 3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3709 $as_echo "$CC" >&6; } 3710 else 3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3712 $as_echo "no" >&6; } 3713 fi 3714 3715 3716 test -n "$CC" && break 3717 done 3718 fi 3719 if test -z "$CC"; then 3720 ac_ct_CC=$CC 3721 for ac_prog in cl.exe 3722 do 3723 # Extract the first word of "$ac_prog", so it can be a program name with args. 3724 set dummy $ac_prog; ac_word=$2 3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3726 $as_echo_n "checking for $ac_word... " >&6; } 3727 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3728 $as_echo_n "(cached) " >&6 3729 else 3730 if test -n "$ac_ct_CC"; then 3731 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3732 else 3733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3734 for as_dir in $PATH 3735 do 3736 IFS=$as_save_IFS 3737 test -z "$as_dir" && as_dir=. 3738 for ac_exec_ext in '' $ac_executable_extensions; do 3739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3740 ac_cv_prog_ac_ct_CC="$ac_prog" 3741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3742 break 2 3743 fi 3744 done 3745 done 3746 IFS=$as_save_IFS 3747 3748 fi 3749 fi 3750 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3751 if test -n "$ac_ct_CC"; then 3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3753 $as_echo "$ac_ct_CC" >&6; } 3754 else 3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3756 $as_echo "no" >&6; } 3757 fi 3758 3759 3760 test -n "$ac_ct_CC" && break 3761 done 3762 3763 if test "x$ac_ct_CC" = x; then 3764 CC="" 3765 else 3766 case $cross_compiling:$ac_tool_warned in 3767 yes:) 3768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3770 ac_tool_warned=yes ;; 3771 esac 3772 CC=$ac_ct_CC 3773 fi 3774 fi 3775 3776 fi 3777 3778 3779 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3781 as_fn_error $? "no acceptable C compiler found in \$PATH 3782 See \`config.log' for more details" "$LINENO" 5; } 3783 3784 # Provide some information about the compiler. 3785 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3786 set X $ac_compile 3787 ac_compiler=$2 3788 for ac_option in --version -v -V -qversion; do 3789 { { ac_try="$ac_compiler $ac_option >&5" 3790 case "(($ac_try" in 3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3792 *) ac_try_echo=$ac_try;; 3793 esac 3794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3795 $as_echo "$ac_try_echo"; } >&5 3796 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3797 ac_status=$? 3798 if test -s conftest.err; then 3799 sed '10a\ 3800 ... rest of stderr output deleted ... 3801 10q' conftest.err >conftest.er1 3802 cat conftest.er1 >&5 3803 fi 3804 rm -f conftest.er1 conftest.err 3805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3806 test $ac_status = 0; } 3807 done 3808 3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3810 /* end confdefs.h. */ 3811 3812 int 3813 main () 3814 { 3815 3816 ; 3817 return 0; 3818 } 3819 _ACEOF 3820 ac_clean_files_save=$ac_clean_files 3821 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3822 # Try to create an executable without -o first, disregard a.out. 3823 # It will help us diagnose broken compilers, and finding out an intuition 3824 # of exeext. 3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3826 $as_echo_n "checking whether the C compiler works... " >&6; } 3827 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3828 3829 # The possible output files: 3830 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3831 3832 ac_rmfiles= 3833 for ac_file in $ac_files 3834 do 3835 case $ac_file in 3836 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3837 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3838 esac 3839 done 3840 rm -f $ac_rmfiles 3841 3842 if { { ac_try="$ac_link_default" 3843 case "(($ac_try" in 3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3845 *) ac_try_echo=$ac_try;; 3846 esac 3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3848 $as_echo "$ac_try_echo"; } >&5 3849 (eval "$ac_link_default") 2>&5 3850 ac_status=$? 3851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3852 test $ac_status = 0; }; then : 3853 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3854 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3855 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3856 # so that the user can short-circuit this test for compilers unknown to 3857 # Autoconf. 3858 for ac_file in $ac_files '' 3859 do 3860 test -f "$ac_file" || continue 3861 case $ac_file in 3862 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3863 ;; 3864 [ab].out ) 3865 # We found the default executable, but exeext='' is most 3866 # certainly right. 3867 break;; 3868 *.* ) 3869 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3870 then :; else 3871 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3872 fi 3873 # We set ac_cv_exeext here because the later test for it is not 3874 # safe: cross compilers may not add the suffix if given an `-o' 3875 # argument, so we may need to know it at that point already. 3876 # Even if this section looks crufty: it has the advantage of 3877 # actually working. 3878 break;; 3879 * ) 3880 break;; 3881 esac 3882 done 3883 test "$ac_cv_exeext" = no && ac_cv_exeext= 3884 3885 else 3886 ac_file='' 3887 fi 3888 if test -z "$ac_file"; then : 3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3890 $as_echo "no" >&6; } 3891 $as_echo "$as_me: failed program was:" >&5 3892 sed 's/^/| /' conftest.$ac_ext >&5 3893 3894 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3896 as_fn_error 77 "C compiler cannot create executables 3897 See \`config.log' for more details" "$LINENO" 5; } 3898 else 3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3900 $as_echo "yes" >&6; } 3901 fi 3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3903 $as_echo_n "checking for C compiler default output file name... " >&6; } 3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3905 $as_echo "$ac_file" >&6; } 3906 ac_exeext=$ac_cv_exeext 3907 3908 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3909 ac_clean_files=$ac_clean_files_save 3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3911 $as_echo_n "checking for suffix of executables... " >&6; } 3912 if { { ac_try="$ac_link" 3913 case "(($ac_try" in 3914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3915 *) ac_try_echo=$ac_try;; 3916 esac 3917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3918 $as_echo "$ac_try_echo"; } >&5 3919 (eval "$ac_link") 2>&5 3920 ac_status=$? 3921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3922 test $ac_status = 0; }; then : 3923 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3924 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3925 # work properly (i.e., refer to `conftest.exe'), while it won't with 3926 # `rm'. 3927 for ac_file in conftest.exe conftest conftest.*; do 3928 test -f "$ac_file" || continue 3929 case $ac_file in 3930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3931 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3932 break;; 3933 * ) break;; 3934 esac 3935 done 3936 else 3937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3939 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3940 See \`config.log' for more details" "$LINENO" 5; } 3941 fi 3942 rm -f conftest conftest$ac_cv_exeext 3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3944 $as_echo "$ac_cv_exeext" >&6; } 3945 3946 rm -f conftest.$ac_ext 3947 EXEEXT=$ac_cv_exeext 3948 ac_exeext=$EXEEXT 3949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3950 /* end confdefs.h. */ 3951 #include <stdio.h> 3952 int 3953 main () 3954 { 3955 FILE *f = fopen ("conftest.out", "w"); 3956 return ferror (f) || fclose (f) != 0; 3957 3958 ; 3959 return 0; 3960 } 3961 _ACEOF 3962 ac_clean_files="$ac_clean_files conftest.out" 3963 # Check that the compiler produces executables we can run. If not, either 3964 # the compiler is broken, or we cross compile. 3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3966 $as_echo_n "checking whether we are cross compiling... " >&6; } 3967 if test "$cross_compiling" != yes; then 3968 { { ac_try="$ac_link" 3969 case "(($ac_try" in 3970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3971 *) ac_try_echo=$ac_try;; 3972 esac 3973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3974 $as_echo "$ac_try_echo"; } >&5 3975 (eval "$ac_link") 2>&5 3976 ac_status=$? 3977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3978 test $ac_status = 0; } 3979 if { ac_try='./conftest$ac_cv_exeext' 3980 { { case "(($ac_try" in 3981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3982 *) ac_try_echo=$ac_try;; 3983 esac 3984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3985 $as_echo "$ac_try_echo"; } >&5 3986 (eval "$ac_try") 2>&5 3987 ac_status=$? 3988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3989 test $ac_status = 0; }; }; then 3990 cross_compiling=no 3991 else 3992 if test "$cross_compiling" = maybe; then 3993 cross_compiling=yes 3994 else 3995 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3996 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3997 as_fn_error $? "cannot run C compiled programs. 3998 If you meant to cross compile, use \`--host'. 3999 See \`config.log' for more details" "$LINENO" 5; } 4000 fi 4001 fi 4002 fi 4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4004 $as_echo "$cross_compiling" >&6; } 4005 4006 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4007 ac_clean_files=$ac_clean_files_save 4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4009 $as_echo_n "checking for suffix of object files... " >&6; } 4010 if ${ac_cv_objext+:} false; then : 4011 $as_echo_n "(cached) " >&6 4012 else 4013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4014 /* end confdefs.h. */ 4015 4016 int 4017 main () 4018 { 4019 4020 ; 4021 return 0; 4022 } 4023 _ACEOF 4024 rm -f conftest.o conftest.obj 4025 if { { ac_try="$ac_compile" 4026 case "(($ac_try" in 4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4028 *) ac_try_echo=$ac_try;; 4029 esac 4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4031 $as_echo "$ac_try_echo"; } >&5 4032 (eval "$ac_compile") 2>&5 4033 ac_status=$? 4034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4035 test $ac_status = 0; }; then : 4036 for ac_file in conftest.o conftest.obj conftest.*; do 4037 test -f "$ac_file" || continue; 4038 case $ac_file in 4039 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4040 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4041 break;; 4042 esac 4043 done 4044 else 4045 $as_echo "$as_me: failed program was:" >&5 4046 sed 's/^/| /' conftest.$ac_ext >&5 4047 4048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4050 as_fn_error $? "cannot compute suffix of object files: cannot compile 4051 See \`config.log' for more details" "$LINENO" 5; } 4052 fi 4053 rm -f conftest.$ac_cv_objext conftest.$ac_ext 4054 fi 4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4056 $as_echo "$ac_cv_objext" >&6; } 4057 OBJEXT=$ac_cv_objext 4058 ac_objext=$OBJEXT 4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4060 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4061 if ${ac_cv_c_compiler_gnu+:} false; then : 4062 $as_echo_n "(cached) " >&6 4063 else 4064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4065 /* end confdefs.h. */ 4066 4067 int 4068 main () 4069 { 4070 #ifndef __GNUC__ 4071 choke me 4072 #endif 4073 4074 ; 4075 return 0; 4076 } 4077 _ACEOF 4078 if ac_fn_c_try_compile "$LINENO"; then : 4079 ac_compiler_gnu=yes 4080 else 4081 ac_compiler_gnu=no 4082 fi 4083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4084 ac_cv_c_compiler_gnu=$ac_compiler_gnu 4085 4086 fi 4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4088 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 4089 if test $ac_compiler_gnu = yes; then 4090 GCC=yes 4091 else 4092 GCC= 4093 fi 4094 ac_test_CFLAGS=${CFLAGS+set} 4095 ac_save_CFLAGS=$CFLAGS 4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4097 $as_echo_n "checking whether $CC accepts -g... " >&6; } 4098 if ${ac_cv_prog_cc_g+:} false; then : 4099 $as_echo_n "(cached) " >&6 4100 else 4101 ac_save_c_werror_flag=$ac_c_werror_flag 4102 ac_c_werror_flag=yes 4103 ac_cv_prog_cc_g=no 4104 CFLAGS="-g" 4105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4106 /* end confdefs.h. */ 4107 4108 int 4109 main () 4110 { 4111 4112 ; 4113 return 0; 4114 } 4115 _ACEOF 4116 if ac_fn_c_try_compile "$LINENO"; then : 4117 ac_cv_prog_cc_g=yes 4118 else 4119 CFLAGS="" 4120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4121 /* end confdefs.h. */ 4122 4123 int 4124 main () 4125 { 4126 4127 ; 4128 return 0; 4129 } 4130 _ACEOF 4131 if ac_fn_c_try_compile "$LINENO"; then : 4132 4133 else 4134 ac_c_werror_flag=$ac_save_c_werror_flag 4135 CFLAGS="-g" 4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4137 /* end confdefs.h. */ 4138 4139 int 4140 main () 4141 { 4142 4143 ; 4144 return 0; 4145 } 4146 _ACEOF 4147 if ac_fn_c_try_compile "$LINENO"; then : 4148 ac_cv_prog_cc_g=yes 4149 fi 4150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4151 fi 4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4153 fi 4154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4155 ac_c_werror_flag=$ac_save_c_werror_flag 4156 fi 4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4158 $as_echo "$ac_cv_prog_cc_g" >&6; } 4159 if test "$ac_test_CFLAGS" = set; then 4160 CFLAGS=$ac_save_CFLAGS 4161 elif test $ac_cv_prog_cc_g = yes; then 4162 if test "$GCC" = yes; then 4163 CFLAGS="-g -O2" 4164 else 4165 CFLAGS="-g" 4166 fi 4167 else 4168 if test "$GCC" = yes; then 4169 CFLAGS="-O2" 4170 else 4171 CFLAGS= 4172 fi 4173 fi 4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4175 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4176 if ${ac_cv_prog_cc_c89+:} false; then : 4177 $as_echo_n "(cached) " >&6 4178 else 4179 ac_cv_prog_cc_c89=no 4180 ac_save_CC=$CC 4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4182 /* end confdefs.h. */ 4183 #include <stdarg.h> 4184 #include <stdio.h> 4185 struct stat; 4186 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4187 struct buf { int x; }; 4188 FILE * (*rcsopen) (struct buf *, struct stat *, int); 4189 static char *e (p, i) 4190 char **p; 4191 int i; 4192 { 4193 return p[i]; 4194 } 4195 static char *f (char * (*g) (char **, int), char **p, ...) 4196 { 4197 char *s; 4198 va_list v; 4199 va_start (v,p); 4200 s = g (p, va_arg (v,int)); 4201 va_end (v); 4202 return s; 4203 } 4204 4205 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4206 function prototypes and stuff, but not '\xHH' hex character constants. 4207 These don't provoke an error unfortunately, instead are silently treated 4208 as 'x'. The following induces an error, until -std is added to get 4209 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4210 array size at least. It's necessary to write '\x00'==0 to get something 4211 that's true only with -std. */ 4212 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4213 4214 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4215 inside strings and character constants. */ 4216 #define FOO(x) 'x' 4217 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4218 4219 int test (int i, double x); 4220 struct s1 {int (*f) (int a);}; 4221 struct s2 {int (*f) (double a);}; 4222 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4223 int argc; 4224 char **argv; 4225 int 4226 main () 4227 { 4228 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4229 ; 4230 return 0; 4231 } 4232 _ACEOF 4233 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4234 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4235 do 4236 CC="$ac_save_CC $ac_arg" 4237 if ac_fn_c_try_compile "$LINENO"; then : 4238 ac_cv_prog_cc_c89=$ac_arg 4239 fi 4240 rm -f core conftest.err conftest.$ac_objext 4241 test "x$ac_cv_prog_cc_c89" != "xno" && break 4242 done 4243 rm -f conftest.$ac_ext 4244 CC=$ac_save_CC 4245 4246 fi 4247 # AC_CACHE_VAL 4248 case "x$ac_cv_prog_cc_c89" in 4249 x) 4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4251 $as_echo "none needed" >&6; } ;; 4252 xno) 4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4254 $as_echo "unsupported" >&6; } ;; 4255 *) 4256 CC="$CC $ac_cv_prog_cc_c89" 4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4258 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4259 esac 4260 if test "x$ac_cv_prog_cc_c89" != xno; then : 4261 4262 fi 4263 4264 ac_ext=c 4265 ac_cpp='$CPP $CPPFLAGS' 4266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4268 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4269 4270 ac_ext=c 4271 ac_cpp='$CPP $CPPFLAGS' 4272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4274 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4276 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4277 if ${am_cv_prog_cc_c_o+:} false; then : 4278 $as_echo_n "(cached) " >&6 4279 else 4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4281 /* end confdefs.h. */ 4282 4283 int 4284 main () 4285 { 4286 4287 ; 4288 return 0; 4289 } 4290 _ACEOF 4291 # Make sure it works both with $CC and with simple cc. 4292 # Following AC_PROG_CC_C_O, we do the test twice because some 4293 # compilers refuse to overwrite an existing .o file with -o, 4294 # though they will create one. 4295 am_cv_prog_cc_c_o=yes 4296 for am_i in 1 2; do 4297 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4298 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4299 ac_status=$? 4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4301 (exit $ac_status); } \ 4302 && test -f conftest2.$ac_objext; then 4303 : OK 4304 else 4305 am_cv_prog_cc_c_o=no 4306 break 4307 fi 4308 done 4309 rm -f core conftest* 4310 unset am_i 4311 fi 4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4313 $as_echo "$am_cv_prog_cc_c_o" >&6; } 4314 if test "$am_cv_prog_cc_c_o" != yes; then 4315 # Losing compiler, so override with the script. 4316 # FIXME: It is wrong to rewrite CC. 4317 # But if we don't then we get into trouble of one sort or another. 4318 # A longer-term fix would be to have automake use am__CC in this case, 4319 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4320 CC="$am_aux_dir/compile $CC" 4321 fi 4322 ac_ext=c 4323 ac_cpp='$CPP $CPPFLAGS' 4324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4326 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4327 4328 4329 depcc="$CC" am_compiler_list= 4330 4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4332 $as_echo_n "checking dependency style of $depcc... " >&6; } 4333 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4334 $as_echo_n "(cached) " >&6 4335 else 4336 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4337 # We make a subdir and do the tests there. Otherwise we can end up 4338 # making bogus files that we don't know about and never remove. For 4339 # instance it was reported that on HP-UX the gcc test will end up 4340 # making a dummy file named 'D' -- because '-MD' means "put the output 4341 # in D". 4342 rm -rf conftest.dir 4343 mkdir conftest.dir 4344 # Copy depcomp to subdir because otherwise we won't find it if we're 4345 # using a relative directory. 4346 cp "$am_depcomp" conftest.dir 4347 cd conftest.dir 4348 # We will build objects and dependencies in a subdirectory because 4349 # it helps to detect inapplicable dependency modes. For instance 4350 # both Tru64's cc and ICC support -MD to output dependencies as a 4351 # side effect of compilation, but ICC will put the dependencies in 4352 # the current directory while Tru64 will put them in the object 4353 # directory. 4354 mkdir sub 4355 4356 am_cv_CC_dependencies_compiler_type=none 4357 if test "$am_compiler_list" = ""; then 4358 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4359 fi 4360 am__universal=false 4361 case " $depcc " in #( 4362 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4363 esac 4364 4365 for depmode in $am_compiler_list; do 4366 # Setup a source with many dependencies, because some compilers 4367 # like to wrap large dependency lists on column 80 (with \), and 4368 # we should not choose a depcomp mode which is confused by this. 4369 # 4370 # We need to recreate these files for each test, as the compiler may 4371 # overwrite some of them when testing with obscure command lines. 4372 # This happens at least with the AIX C compiler. 4373 : > sub/conftest.c 4374 for i in 1 2 3 4 5 6; do 4375 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4376 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4377 # Solaris 10 /bin/sh. 4378 echo '/* dummy */' > sub/conftst$i.h 4379 done 4380 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4381 4382 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4383 # mode. It turns out that the SunPro C++ compiler does not properly 4384 # handle '-M -o', and we need to detect this. Also, some Intel 4385 # versions had trouble with output in subdirs. 4386 am__obj=sub/conftest.${OBJEXT-o} 4387 am__minus_obj="-o $am__obj" 4388 case $depmode in 4389 gcc) 4390 # This depmode causes a compiler race in universal mode. 4391 test "$am__universal" = false || continue 4392 ;; 4393 nosideeffect) 4394 # After this tag, mechanisms are not by side-effect, so they'll 4395 # only be used when explicitly requested. 4396 if test "x$enable_dependency_tracking" = xyes; then 4397 continue 4398 else 4399 break 4400 fi 4401 ;; 4402 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4403 # This compiler won't grok '-c -o', but also, the minuso test has 4404 # not run yet. These depmodes are late enough in the game, and 4405 # so weak that their functioning should not be impacted. 4406 am__obj=conftest.${OBJEXT-o} 4407 am__minus_obj= 4408 ;; 4409 none) break ;; 4410 esac 4411 if depmode=$depmode \ 4412 source=sub/conftest.c object=$am__obj \ 4413 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4414 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4415 >/dev/null 2>conftest.err && 4416 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4417 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4418 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4419 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4420 # icc doesn't choke on unknown options, it will just issue warnings 4421 # or remarks (even with -Werror). So we grep stderr for any message 4422 # that says an option was ignored or not supported. 4423 # When given -MP, icc 7.0 and 7.1 complain thusly: 4424 # icc: Command line warning: ignoring option '-M'; no argument required 4425 # The diagnosis changed in icc 8.0: 4426 # icc: Command line remark: option '-MP' not supported 4427 if (grep 'ignoring option' conftest.err || 4428 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4429 am_cv_CC_dependencies_compiler_type=$depmode 4430 break 4431 fi 4432 fi 4433 done 4434 4435 cd .. 4436 rm -rf conftest.dir 4437 else 4438 am_cv_CC_dependencies_compiler_type=none 4439 fi 4440 4441 fi 4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4443 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4444 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4445 4446 if 4447 test "x$enable_dependency_tracking" != xno \ 4448 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4449 am__fastdepCC_TRUE= 4450 am__fastdepCC_FALSE='#' 4451 else 4452 am__fastdepCC_TRUE='#' 4453 am__fastdepCC_FALSE= 4454 fi 4455 4456 4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4458 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 4459 if ${ac_cv_path_SED+:} false; then : 4460 $as_echo_n "(cached) " >&6 4461 else 4462 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4463 for ac_i in 1 2 3 4 5 6 7; do 4464 ac_script="$ac_script$as_nl$ac_script" 4465 done 4466 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4467 { ac_script=; unset ac_script;} 4468 if test -z "$SED"; then 4469 ac_path_SED_found=false 4470 # Loop through the user's path and test for each of PROGNAME-LIST 4471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4472 for as_dir in $PATH 4473 do 4474 IFS=$as_save_IFS 4475 test -z "$as_dir" && as_dir=. 4476 for ac_prog in sed gsed; do 4477 for ac_exec_ext in '' $ac_executable_extensions; do 4478 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4479 as_fn_executable_p "$ac_path_SED" || continue 4480 # Check for GNU ac_path_SED and select it if it is found. 4481 # Check for GNU $ac_path_SED 4482 case `"$ac_path_SED" --version 2>&1` in 4483 *GNU*) 4484 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4485 *) 4486 ac_count=0 4487 $as_echo_n 0123456789 >"conftest.in" 4488 while : 4489 do 4490 cat "conftest.in" "conftest.in" >"conftest.tmp" 4491 mv "conftest.tmp" "conftest.in" 4492 cp "conftest.in" "conftest.nl" 4493 $as_echo '' >> "conftest.nl" 4494 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4495 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4496 as_fn_arith $ac_count + 1 && ac_count=$as_val 4497 if test $ac_count -gt ${ac_path_SED_max-0}; then 4498 # Best one so far, save it but keep looking for a better one 4499 ac_cv_path_SED="$ac_path_SED" 4500 ac_path_SED_max=$ac_count 4501 fi 4502 # 10*(2^10) chars as input seems more than enough 4503 test $ac_count -gt 10 && break 4504 done 4505 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4506 esac 4507 4508 $ac_path_SED_found && break 3 4509 done 4510 done 4511 done 4512 IFS=$as_save_IFS 4513 if test -z "$ac_cv_path_SED"; then 4514 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4515 fi 4516 else 4517 ac_cv_path_SED=$SED 4518 fi 4519 4520 fi 4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4522 $as_echo "$ac_cv_path_SED" >&6; } 4523 SED="$ac_cv_path_SED" 4524 rm -f conftest.sed 4525 4526 test -z "$SED" && SED=sed 4527 Xsed="$SED -e 1s/^X//" 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4540 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4541 if ${ac_cv_path_GREP+:} false; then : 4542 $as_echo_n "(cached) " >&6 4543 else 4544 if test -z "$GREP"; then 4545 ac_path_GREP_found=false 4546 # Loop through the user's path and test for each of PROGNAME-LIST 4547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4548 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4549 do 4550 IFS=$as_save_IFS 4551 test -z "$as_dir" && as_dir=. 4552 for ac_prog in grep ggrep; do 4553 for ac_exec_ext in '' $ac_executable_extensions; do 4554 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4555 as_fn_executable_p "$ac_path_GREP" || continue 4556 # Check for GNU ac_path_GREP and select it if it is found. 4557 # Check for GNU $ac_path_GREP 4558 case `"$ac_path_GREP" --version 2>&1` in 4559 *GNU*) 4560 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4561 *) 4562 ac_count=0 4563 $as_echo_n 0123456789 >"conftest.in" 4564 while : 4565 do 4566 cat "conftest.in" "conftest.in" >"conftest.tmp" 4567 mv "conftest.tmp" "conftest.in" 4568 cp "conftest.in" "conftest.nl" 4569 $as_echo 'GREP' >> "conftest.nl" 4570 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4571 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4572 as_fn_arith $ac_count + 1 && ac_count=$as_val 4573 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4574 # Best one so far, save it but keep looking for a better one 4575 ac_cv_path_GREP="$ac_path_GREP" 4576 ac_path_GREP_max=$ac_count 4577 fi 4578 # 10*(2^10) chars as input seems more than enough 4579 test $ac_count -gt 10 && break 4580 done 4581 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4582 esac 4583 4584 $ac_path_GREP_found && break 3 4585 done 4586 done 4587 done 4588 IFS=$as_save_IFS 4589 if test -z "$ac_cv_path_GREP"; then 4590 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4591 fi 4592 else 4593 ac_cv_path_GREP=$GREP 4594 fi 4595 4596 fi 4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4598 $as_echo "$ac_cv_path_GREP" >&6; } 4599 GREP="$ac_cv_path_GREP" 4600 4601 4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4603 $as_echo_n "checking for egrep... " >&6; } 4604 if ${ac_cv_path_EGREP+:} false; then : 4605 $as_echo_n "(cached) " >&6 4606 else 4607 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4608 then ac_cv_path_EGREP="$GREP -E" 4609 else 4610 if test -z "$EGREP"; then 4611 ac_path_EGREP_found=false 4612 # Loop through the user's path and test for each of PROGNAME-LIST 4613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4614 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4615 do 4616 IFS=$as_save_IFS 4617 test -z "$as_dir" && as_dir=. 4618 for ac_prog in egrep; do 4619 for ac_exec_ext in '' $ac_executable_extensions; do 4620 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4621 as_fn_executable_p "$ac_path_EGREP" || continue 4622 # Check for GNU ac_path_EGREP and select it if it is found. 4623 # Check for GNU $ac_path_EGREP 4624 case `"$ac_path_EGREP" --version 2>&1` in 4625 *GNU*) 4626 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4627 *) 4628 ac_count=0 4629 $as_echo_n 0123456789 >"conftest.in" 4630 while : 4631 do 4632 cat "conftest.in" "conftest.in" >"conftest.tmp" 4633 mv "conftest.tmp" "conftest.in" 4634 cp "conftest.in" "conftest.nl" 4635 $as_echo 'EGREP' >> "conftest.nl" 4636 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4637 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4638 as_fn_arith $ac_count + 1 && ac_count=$as_val 4639 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4640 # Best one so far, save it but keep looking for a better one 4641 ac_cv_path_EGREP="$ac_path_EGREP" 4642 ac_path_EGREP_max=$ac_count 4643 fi 4644 # 10*(2^10) chars as input seems more than enough 4645 test $ac_count -gt 10 && break 4646 done 4647 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4648 esac 4649 4650 $ac_path_EGREP_found && break 3 4651 done 4652 done 4653 done 4654 IFS=$as_save_IFS 4655 if test -z "$ac_cv_path_EGREP"; then 4656 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4657 fi 4658 else 4659 ac_cv_path_EGREP=$EGREP 4660 fi 4661 4662 fi 4663 fi 4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4665 $as_echo "$ac_cv_path_EGREP" >&6; } 4666 EGREP="$ac_cv_path_EGREP" 4667 4668 4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4670 $as_echo_n "checking for fgrep... " >&6; } 4671 if ${ac_cv_path_FGREP+:} false; then : 4672 $as_echo_n "(cached) " >&6 4673 else 4674 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4675 then ac_cv_path_FGREP="$GREP -F" 4676 else 4677 if test -z "$FGREP"; then 4678 ac_path_FGREP_found=false 4679 # Loop through the user's path and test for each of PROGNAME-LIST 4680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4681 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4682 do 4683 IFS=$as_save_IFS 4684 test -z "$as_dir" && as_dir=. 4685 for ac_prog in fgrep; do 4686 for ac_exec_ext in '' $ac_executable_extensions; do 4687 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4688 as_fn_executable_p "$ac_path_FGREP" || continue 4689 # Check for GNU ac_path_FGREP and select it if it is found. 4690 # Check for GNU $ac_path_FGREP 4691 case `"$ac_path_FGREP" --version 2>&1` in 4692 *GNU*) 4693 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4694 *) 4695 ac_count=0 4696 $as_echo_n 0123456789 >"conftest.in" 4697 while : 4698 do 4699 cat "conftest.in" "conftest.in" >"conftest.tmp" 4700 mv "conftest.tmp" "conftest.in" 4701 cp "conftest.in" "conftest.nl" 4702 $as_echo 'FGREP' >> "conftest.nl" 4703 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4704 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4705 as_fn_arith $ac_count + 1 && ac_count=$as_val 4706 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4707 # Best one so far, save it but keep looking for a better one 4708 ac_cv_path_FGREP="$ac_path_FGREP" 4709 ac_path_FGREP_max=$ac_count 4710 fi 4711 # 10*(2^10) chars as input seems more than enough 4712 test $ac_count -gt 10 && break 4713 done 4714 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4715 esac 4716 4717 $ac_path_FGREP_found && break 3 4718 done 4719 done 4720 done 4721 IFS=$as_save_IFS 4722 if test -z "$ac_cv_path_FGREP"; then 4723 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4724 fi 4725 else 4726 ac_cv_path_FGREP=$FGREP 4727 fi 4728 4729 fi 4730 fi 4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4732 $as_echo "$ac_cv_path_FGREP" >&6; } 4733 FGREP="$ac_cv_path_FGREP" 4734 4735 4736 test -z "$GREP" && GREP=grep 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 # Check whether --with-gnu-ld was given. 4757 if test "${with_gnu_ld+set}" = set; then : 4758 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 4759 else 4760 with_gnu_ld=no 4761 fi 4762 4763 ac_prog=ld 4764 if test yes = "$GCC"; then 4765 # Check if gcc -print-prog-name=ld gives a path. 4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4767 $as_echo_n "checking for ld used by $CC... " >&6; } 4768 case $host in 4769 *-*-mingw*) 4770 # gcc leaves a trailing carriage return, which upsets mingw 4771 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4772 *) 4773 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4774 esac 4775 case $ac_prog in 4776 # Accept absolute paths. 4777 [\\/]* | ?:[\\/]*) 4778 re_direlt='/[^/][^/]*/\.\./' 4779 # Canonicalize the pathname of ld 4780 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4781 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4782 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4783 done 4784 test -z "$LD" && LD=$ac_prog 4785 ;; 4786 "") 4787 # If it fails, then pretend we aren't using GCC. 4788 ac_prog=ld 4789 ;; 4790 *) 4791 # If it is relative, then search for the first ld in PATH. 4792 with_gnu_ld=unknown 4793 ;; 4794 esac 4795 elif test yes = "$with_gnu_ld"; then 4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4797 $as_echo_n "checking for GNU ld... " >&6; } 4798 else 4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4800 $as_echo_n "checking for non-GNU ld... " >&6; } 4801 fi 4802 if ${lt_cv_path_LD+:} false; then : 4803 $as_echo_n "(cached) " >&6 4804 else 4805 if test -z "$LD"; then 4806 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4807 for ac_dir in $PATH; do 4808 IFS=$lt_save_ifs 4809 test -z "$ac_dir" && ac_dir=. 4810 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4811 lt_cv_path_LD=$ac_dir/$ac_prog 4812 # Check to see if the program is GNU ld. I'd rather use --version, 4813 # but apparently some variants of GNU ld only accept -v. 4814 # Break only if it was the GNU/non-GNU ld that we prefer. 4815 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4816 *GNU* | *'with BFD'*) 4817 test no != "$with_gnu_ld" && break 4818 ;; 4819 *) 4820 test yes != "$with_gnu_ld" && break 4821 ;; 4822 esac 4823 fi 4824 done 4825 IFS=$lt_save_ifs 4826 else 4827 lt_cv_path_LD=$LD # Let the user override the test with a path. 4828 fi 4829 fi 4830 4831 LD=$lt_cv_path_LD 4832 if test -n "$LD"; then 4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4834 $as_echo "$LD" >&6; } 4835 else 4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4837 $as_echo "no" >&6; } 4838 fi 4839 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4841 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4842 if ${lt_cv_prog_gnu_ld+:} false; then : 4843 $as_echo_n "(cached) " >&6 4844 else 4845 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4846 case `$LD -v 2>&1 </dev/null` in 4847 *GNU* | *'with BFD'*) 4848 lt_cv_prog_gnu_ld=yes 4849 ;; 4850 *) 4851 lt_cv_prog_gnu_ld=no 4852 ;; 4853 esac 4854 fi 4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4856 $as_echo "$lt_cv_prog_gnu_ld" >&6; } 4857 with_gnu_ld=$lt_cv_prog_gnu_ld 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4868 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4869 if ${lt_cv_path_NM+:} false; then : 4870 $as_echo_n "(cached) " >&6 4871 else 4872 if test -n "$NM"; then 4873 # Let the user override the test. 4874 lt_cv_path_NM=$NM 4875 else 4876 lt_nm_to_check=${ac_tool_prefix}nm 4877 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4878 lt_nm_to_check="$lt_nm_to_check nm" 4879 fi 4880 for lt_tmp_nm in $lt_nm_to_check; do 4881 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 4882 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4883 IFS=$lt_save_ifs 4884 test -z "$ac_dir" && ac_dir=. 4885 tmp_nm=$ac_dir/$lt_tmp_nm 4886 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 4887 # Check to see if the nm accepts a BSD-compat flag. 4888 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 4889 # nm: unknown option "B" ignored 4890 # Tru64's nm complains that /dev/null is an invalid object file 4891 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 4892 case $build_os in 4893 mingw*) lt_bad_file=conftest.nm/nofile ;; 4894 *) lt_bad_file=/dev/null ;; 4895 esac 4896 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 4897 *$lt_bad_file* | *'Invalid file or object type'*) 4898 lt_cv_path_NM="$tmp_nm -B" 4899 break 2 4900 ;; 4901 *) 4902 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4903 */dev/null*) 4904 lt_cv_path_NM="$tmp_nm -p" 4905 break 2 4906 ;; 4907 *) 4908 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4909 continue # so that we can try to find one that supports BSD flags 4910 ;; 4911 esac 4912 ;; 4913 esac 4914 fi 4915 done 4916 IFS=$lt_save_ifs 4917 done 4918 : ${lt_cv_path_NM=no} 4919 fi 4920 fi 4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4922 $as_echo "$lt_cv_path_NM" >&6; } 4923 if test no != "$lt_cv_path_NM"; then 4924 NM=$lt_cv_path_NM 4925 else 4926 # Didn't find any BSD compatible name lister, look for dumpbin. 4927 if test -n "$DUMPBIN"; then : 4928 # Let the user override the test. 4929 else 4930 if test -n "$ac_tool_prefix"; then 4931 for ac_prog in dumpbin "link -dump" 4932 do 4933 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4934 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4936 $as_echo_n "checking for $ac_word... " >&6; } 4937 if ${ac_cv_prog_DUMPBIN+:} false; then : 4938 $as_echo_n "(cached) " >&6 4939 else 4940 if test -n "$DUMPBIN"; then 4941 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4942 else 4943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4944 for as_dir in $PATH 4945 do 4946 IFS=$as_save_IFS 4947 test -z "$as_dir" && as_dir=. 4948 for ac_exec_ext in '' $ac_executable_extensions; do 4949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4950 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4952 break 2 4953 fi 4954 done 4955 done 4956 IFS=$as_save_IFS 4957 4958 fi 4959 fi 4960 DUMPBIN=$ac_cv_prog_DUMPBIN 4961 if test -n "$DUMPBIN"; then 4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4963 $as_echo "$DUMPBIN" >&6; } 4964 else 4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4966 $as_echo "no" >&6; } 4967 fi 4968 4969 4970 test -n "$DUMPBIN" && break 4971 done 4972 fi 4973 if test -z "$DUMPBIN"; then 4974 ac_ct_DUMPBIN=$DUMPBIN 4975 for ac_prog in dumpbin "link -dump" 4976 do 4977 # Extract the first word of "$ac_prog", so it can be a program name with args. 4978 set dummy $ac_prog; ac_word=$2 4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4980 $as_echo_n "checking for $ac_word... " >&6; } 4981 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4982 $as_echo_n "(cached) " >&6 4983 else 4984 if test -n "$ac_ct_DUMPBIN"; then 4985 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4986 else 4987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4988 for as_dir in $PATH 4989 do 4990 IFS=$as_save_IFS 4991 test -z "$as_dir" && as_dir=. 4992 for ac_exec_ext in '' $ac_executable_extensions; do 4993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4994 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4996 break 2 4997 fi 4998 done 4999 done 5000 IFS=$as_save_IFS 5001 5002 fi 5003 fi 5004 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5005 if test -n "$ac_ct_DUMPBIN"; then 5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5007 $as_echo "$ac_ct_DUMPBIN" >&6; } 5008 else 5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5010 $as_echo "no" >&6; } 5011 fi 5012 5013 5014 test -n "$ac_ct_DUMPBIN" && break 5015 done 5016 5017 if test "x$ac_ct_DUMPBIN" = x; then 5018 DUMPBIN=":" 5019 else 5020 case $cross_compiling:$ac_tool_warned in 5021 yes:) 5022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5024 ac_tool_warned=yes ;; 5025 esac 5026 DUMPBIN=$ac_ct_DUMPBIN 5027 fi 5028 fi 5029 5030 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 5031 *COFF*) 5032 DUMPBIN="$DUMPBIN -symbols -headers" 5033 ;; 5034 *) 5035 DUMPBIN=: 5036 ;; 5037 esac 5038 fi 5039 5040 if test : != "$DUMPBIN"; then 5041 NM=$DUMPBIN 5042 fi 5043 fi 5044 test -z "$NM" && NM=nm 5045 5046 5047 5048 5049 5050 5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5052 $as_echo_n "checking the name lister ($NM) interface... " >&6; } 5053 if ${lt_cv_nm_interface+:} false; then : 5054 $as_echo_n "(cached) " >&6 5055 else 5056 lt_cv_nm_interface="BSD nm" 5057 echo "int some_variable = 0;" > conftest.$ac_ext 5058 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5059 (eval "$ac_compile" 2>conftest.err) 5060 cat conftest.err >&5 5061 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5062 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5063 cat conftest.err >&5 5064 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5065 cat conftest.out >&5 5066 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5067 lt_cv_nm_interface="MS dumpbin" 5068 fi 5069 rm -f conftest* 5070 fi 5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5072 $as_echo "$lt_cv_nm_interface" >&6; } 5073 5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5075 $as_echo_n "checking whether ln -s works... " >&6; } 5076 LN_S=$as_ln_s 5077 if test "$LN_S" = "ln -s"; then 5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5079 $as_echo "yes" >&6; } 5080 else 5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5082 $as_echo "no, using $LN_S" >&6; } 5083 fi 5084 5085 # find the maximum length of command line arguments 5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5087 $as_echo_n "checking the maximum length of command line arguments... " >&6; } 5088 if ${lt_cv_sys_max_cmd_len+:} false; then : 5089 $as_echo_n "(cached) " >&6 5090 else 5091 i=0 5092 teststring=ABCD 5093 5094 case $build_os in 5095 msdosdjgpp*) 5096 # On DJGPP, this test can blow up pretty badly due to problems in libc 5097 # (any single argument exceeding 2000 bytes causes a buffer overrun 5098 # during glob expansion). Even if it were fixed, the result of this 5099 # check would be larger than it should be. 5100 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5101 ;; 5102 5103 gnu*) 5104 # Under GNU Hurd, this test is not required because there is 5105 # no limit to the length of command line arguments. 5106 # Libtool will interpret -1 as no limit whatsoever 5107 lt_cv_sys_max_cmd_len=-1; 5108 ;; 5109 5110 cygwin* | mingw* | cegcc*) 5111 # On Win9x/ME, this test blows up -- it succeeds, but takes 5112 # about 5 minutes as the teststring grows exponentially. 5113 # Worse, since 9x/ME are not pre-emptively multitasking, 5114 # you end up with a "frozen" computer, even though with patience 5115 # the test eventually succeeds (with a max line length of 256k). 5116 # Instead, let's just punt: use the minimum linelength reported by 5117 # all of the supported platforms: 8192 (on NT/2K/XP). 5118 lt_cv_sys_max_cmd_len=8192; 5119 ;; 5120 5121 mint*) 5122 # On MiNT this can take a long time and run out of memory. 5123 lt_cv_sys_max_cmd_len=8192; 5124 ;; 5125 5126 amigaos*) 5127 # On AmigaOS with pdksh, this test takes hours, literally. 5128 # So we just punt and use a minimum line length of 8192. 5129 lt_cv_sys_max_cmd_len=8192; 5130 ;; 5131 5132 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 5133 # This has been around since 386BSD, at least. Likely further. 5134 if test -x /sbin/sysctl; then 5135 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5136 elif test -x /usr/sbin/sysctl; then 5137 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5138 else 5139 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5140 fi 5141 # And add a safety zone 5142 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5143 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5144 ;; 5145 5146 interix*) 5147 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5148 lt_cv_sys_max_cmd_len=196608 5149 ;; 5150 5151 os2*) 5152 # The test takes a long time on OS/2. 5153 lt_cv_sys_max_cmd_len=8192 5154 ;; 5155 5156 osf*) 5157 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5158 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5159 # nice to cause kernel panics so lets avoid the loop below. 5160 # First set a reasonable default. 5161 lt_cv_sys_max_cmd_len=16384 5162 # 5163 if test -x /sbin/sysconfig; then 5164 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5165 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5166 esac 5167 fi 5168 ;; 5169 sco3.2v5*) 5170 lt_cv_sys_max_cmd_len=102400 5171 ;; 5172 sysv5* | sco5v6* | sysv4.2uw2*) 5173 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5174 if test -n "$kargmax"; then 5175 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5176 else 5177 lt_cv_sys_max_cmd_len=32768 5178 fi 5179 ;; 5180 *) 5181 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5182 if test -n "$lt_cv_sys_max_cmd_len" && \ 5183 test undefined != "$lt_cv_sys_max_cmd_len"; then 5184 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5185 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5186 else 5187 # Make teststring a little bigger before we do anything with it. 5188 # a 1K string should be a reasonable start. 5189 for i in 1 2 3 4 5 6 7 8; do 5190 teststring=$teststring$teststring 5191 done 5192 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5193 # If test is not a shell built-in, we'll probably end up computing a 5194 # maximum length that is only half of the actual maximum length, but 5195 # we can't tell. 5196 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 5197 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5198 test 17 != "$i" # 1/2 MB should be enough 5199 do 5200 i=`expr $i + 1` 5201 teststring=$teststring$teststring 5202 done 5203 # Only check the string length outside the loop. 5204 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5205 teststring= 5206 # Add a significant safety factor because C++ compilers can tack on 5207 # massive amounts of additional arguments before passing them to the 5208 # linker. It appears as though 1/2 is a usable value. 5209 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5210 fi 5211 ;; 5212 esac 5213 5214 fi 5215 5216 if test -n "$lt_cv_sys_max_cmd_len"; then 5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5218 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5219 else 5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5221 $as_echo "none" >&6; } 5222 fi 5223 max_cmd_len=$lt_cv_sys_max_cmd_len 5224 5225 5226 5227 5228 5229 5230 : ${CP="cp -f"} 5231 : ${MV="mv -f"} 5232 : ${RM="rm -f"} 5233 5234 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5235 lt_unset=unset 5236 else 5237 lt_unset=false 5238 fi 5239 5240 5241 5242 5243 5244 # test EBCDIC or ASCII 5245 case `echo X|tr X '\101'` in 5246 A) # ASCII based system 5247 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5248 lt_SP2NL='tr \040 \012' 5249 lt_NL2SP='tr \015\012 \040\040' 5250 ;; 5251 *) # EBCDIC based system 5252 lt_SP2NL='tr \100 \n' 5253 lt_NL2SP='tr \r\n \100\100' 5254 ;; 5255 esac 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5266 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5267 if ${lt_cv_to_host_file_cmd+:} false; then : 5268 $as_echo_n "(cached) " >&6 5269 else 5270 case $host in 5271 *-*-mingw* ) 5272 case $build in 5273 *-*-mingw* ) # actually msys 5274 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5275 ;; 5276 *-*-cygwin* ) 5277 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5278 ;; 5279 * ) # otherwise, assume *nix 5280 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5281 ;; 5282 esac 5283 ;; 5284 *-*-cygwin* ) 5285 case $build in 5286 *-*-mingw* ) # actually msys 5287 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5288 ;; 5289 *-*-cygwin* ) 5290 lt_cv_to_host_file_cmd=func_convert_file_noop 5291 ;; 5292 * ) # otherwise, assume *nix 5293 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5294 ;; 5295 esac 5296 ;; 5297 * ) # unhandled hosts (and "normal" native builds) 5298 lt_cv_to_host_file_cmd=func_convert_file_noop 5299 ;; 5300 esac 5301 5302 fi 5303 5304 to_host_file_cmd=$lt_cv_to_host_file_cmd 5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5306 $as_echo "$lt_cv_to_host_file_cmd" >&6; } 5307 5308 5309 5310 5311 5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5313 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5314 if ${lt_cv_to_tool_file_cmd+:} false; then : 5315 $as_echo_n "(cached) " >&6 5316 else 5317 #assume ordinary cross tools, or native build. 5318 lt_cv_to_tool_file_cmd=func_convert_file_noop 5319 case $host in 5320 *-*-mingw* ) 5321 case $build in 5322 *-*-mingw* ) # actually msys 5323 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5324 ;; 5325 esac 5326 ;; 5327 esac 5328 5329 fi 5330 5331 to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5333 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5334 5335 5336 5337 5338 5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5340 $as_echo_n "checking for $LD option to reload object files... " >&6; } 5341 if ${lt_cv_ld_reload_flag+:} false; then : 5342 $as_echo_n "(cached) " >&6 5343 else 5344 lt_cv_ld_reload_flag='-r' 5345 fi 5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5347 $as_echo "$lt_cv_ld_reload_flag" >&6; } 5348 reload_flag=$lt_cv_ld_reload_flag 5349 case $reload_flag in 5350 "" | " "*) ;; 5351 *) reload_flag=" $reload_flag" ;; 5352 esac 5353 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5354 case $host_os in 5355 cygwin* | mingw* | pw32* | cegcc*) 5356 if test yes != "$GCC"; then 5357 reload_cmds=false 5358 fi 5359 ;; 5360 darwin*) 5361 if test yes = "$GCC"; then 5362 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 5363 else 5364 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5365 fi 5366 ;; 5367 esac 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 if test -n "$ac_tool_prefix"; then 5378 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5379 set dummy ${ac_tool_prefix}objdump; ac_word=$2 5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5381 $as_echo_n "checking for $ac_word... " >&6; } 5382 if ${ac_cv_prog_OBJDUMP+:} false; then : 5383 $as_echo_n "(cached) " >&6 5384 else 5385 if test -n "$OBJDUMP"; then 5386 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5387 else 5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5389 for as_dir in $PATH 5390 do 5391 IFS=$as_save_IFS 5392 test -z "$as_dir" && as_dir=. 5393 for ac_exec_ext in '' $ac_executable_extensions; do 5394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5395 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5397 break 2 5398 fi 5399 done 5400 done 5401 IFS=$as_save_IFS 5402 5403 fi 5404 fi 5405 OBJDUMP=$ac_cv_prog_OBJDUMP 5406 if test -n "$OBJDUMP"; then 5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5408 $as_echo "$OBJDUMP" >&6; } 5409 else 5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5411 $as_echo "no" >&6; } 5412 fi 5413 5414 5415 fi 5416 if test -z "$ac_cv_prog_OBJDUMP"; then 5417 ac_ct_OBJDUMP=$OBJDUMP 5418 # Extract the first word of "objdump", so it can be a program name with args. 5419 set dummy objdump; ac_word=$2 5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5421 $as_echo_n "checking for $ac_word... " >&6; } 5422 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5423 $as_echo_n "(cached) " >&6 5424 else 5425 if test -n "$ac_ct_OBJDUMP"; then 5426 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5427 else 5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5429 for as_dir in $PATH 5430 do 5431 IFS=$as_save_IFS 5432 test -z "$as_dir" && as_dir=. 5433 for ac_exec_ext in '' $ac_executable_extensions; do 5434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5435 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5437 break 2 5438 fi 5439 done 5440 done 5441 IFS=$as_save_IFS 5442 5443 fi 5444 fi 5445 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5446 if test -n "$ac_ct_OBJDUMP"; then 5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5448 $as_echo "$ac_ct_OBJDUMP" >&6; } 5449 else 5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5451 $as_echo "no" >&6; } 5452 fi 5453 5454 if test "x$ac_ct_OBJDUMP" = x; then 5455 OBJDUMP="false" 5456 else 5457 case $cross_compiling:$ac_tool_warned in 5458 yes:) 5459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5461 ac_tool_warned=yes ;; 5462 esac 5463 OBJDUMP=$ac_ct_OBJDUMP 5464 fi 5465 else 5466 OBJDUMP="$ac_cv_prog_OBJDUMP" 5467 fi 5468 5469 test -z "$OBJDUMP" && OBJDUMP=objdump 5470 5471 5472 5473 5474 5475 5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5477 $as_echo_n "checking how to recognize dependent libraries... " >&6; } 5478 if ${lt_cv_deplibs_check_method+:} false; then : 5479 $as_echo_n "(cached) " >&6 5480 else 5481 lt_cv_file_magic_cmd='$MAGIC_CMD' 5482 lt_cv_file_magic_test_file= 5483 lt_cv_deplibs_check_method='unknown' 5484 # Need to set the preceding variable on all platforms that support 5485 # interlibrary dependencies. 5486 # 'none' -- dependencies not supported. 5487 # 'unknown' -- same as none, but documents that we really don't know. 5488 # 'pass_all' -- all dependencies passed with no checks. 5489 # 'test_compile' -- check by making test program. 5490 # 'file_magic [[regex]]' -- check by looking for files in library path 5491 # that responds to the $file_magic_cmd with a given extended regex.