1 #! /bin/sh 2 # From configure.ac Revision: 1.3 . 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated by GNU Autoconf 2.68 for libcap-ng 0.7. 5 # 6 # 7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 9 # Foundation, Inc. 10 # 11 # 12 # This configure script is free software; the Free Software Foundation 13 # gives unlimited permission to copy, distribute and modify it. 14 ## -------------------- ## 15 ## M4sh Initialization. ## 16 ## -------------------- ## 17 18 # Be more Bourne compatible 19 DUALCASE=1; export DUALCASE # for MKS sh 20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 21 emulate sh 22 NULLCMD=: 23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 24 # is contrary to our usage. Disable this feature. 25 alias -g '${1+"$@"}'='"$@"' 26 setopt NO_GLOB_SUBST 27 else 28 case `(set -o) 2>/dev/null` in #( 29 *posix*) : 30 set -o posix ;; #( 31 *) : 32 ;; 33 esac 34 fi 35 36 37 as_nl=' 38 ' 39 export as_nl 40 # Printing a long string crashes Solaris 7 /usr/bin/printf. 41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 44 # Prefer a ksh shell builtin over an external printf program on Solaris, 45 # but without wasting forks for bash or zsh. 46 if test -z "$BASH_VERSION$ZSH_VERSION" \ 47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='print -r --' 49 as_echo_n='print -rn --' 50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 51 as_echo='printf %s\n' 52 as_echo_n='printf %s' 53 else 54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 56 as_echo_n='/usr/ucb/echo -n' 57 else 58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 59 as_echo_n_body='eval 60 arg=$1; 61 case $arg in #( 62 *"$as_nl"*) 63 expr "X$arg" : "X\\(.*\\)$as_nl"; 64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 65 esac; 66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 67 ' 68 export as_echo_n_body 69 as_echo_n='sh -c $as_echo_n_body as_echo' 70 fi 71 export as_echo_body 72 as_echo='sh -c $as_echo_body as_echo' 73 fi 74 75 # The user is always right. 76 if test "${PATH_SEPARATOR+set}" != set; then 77 PATH_SEPARATOR=: 78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 80 PATH_SEPARATOR=';' 81 } 82 fi 83 84 85 # IFS 86 # We need space, tab and new line, in precisely that order. Quoting is 87 # there to prevent editors from complaining about space-tab. 88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 89 # splitting by setting IFS to empty value.) 90 IFS=" "" $as_nl" 91 92 # Find who we are. Look in the path if we contain no directory separator. 93 as_myself= 94 case $0 in #(( 95 *[\\/]* ) as_myself=$0 ;; 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97 for as_dir in $PATH 98 do 99 IFS=$as_save_IFS 100 test -z "$as_dir" && as_dir=. 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 103 IFS=$as_save_IFS 104 105 ;; 106 esac 107 # We did not find ourselves, most probably we were run as `sh COMMAND' 108 # in which case we are not to be found in the path. 109 if test "x$as_myself" = x; then 110 as_myself=$0 111 fi 112 if test ! -f "$as_myself"; then 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115 fi 116 117 # Unset variables that we do not need and which cause bugs (e.g. in 118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119 # suppresses any "Segmentation fault" message there. '((' could 120 # trigger a bug in pdksh 5.2.14. 121 for as_var in BASH_ENV ENV MAIL MAILPATH 122 do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 124 done 125 PS1='$ ' 126 PS2='> ' 127 PS4='+ ' 128 129 # NLS nuisances. 130 LC_ALL=C 131 export LC_ALL 132 LANGUAGE=C 133 export LANGUAGE 134 135 # CDPATH. 136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138 if test "x$CONFIG_SHELL" = x; then 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 140 emulate sh 141 NULLCMD=: 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 143 # is contrary to our usage. Disable this feature. 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' 145 setopt NO_GLOB_SUBST 146 else 147 case \`(set -o) 2>/dev/null\` in #( 148 *posix*) : 149 set -o posix ;; #( 150 *) : 151 ;; 152 esac 153 fi 154 " 155 as_required="as_fn_return () { (exit \$1); } 156 as_fn_success () { as_fn_return 0; } 157 as_fn_failure () { as_fn_return 1; } 158 as_fn_ret_success () { return 0; } 159 as_fn_ret_failure () { return 1; } 160 161 exitcode=0 162 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167 168 else 169 exitcode=1; echo positional parameters were not saved. 170 fi 171 test x\$exitcode = x0 || exit 1" 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176 177 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 178 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 181 PATH=/empty FPATH=/empty; export PATH FPATH 182 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 183 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 184 test \$(( 1 + 1 )) = 2 || exit 1" 185 if (eval "$as_required") 2>/dev/null; then : 186 as_have_required=yes 187 else 188 as_have_required=no 189 fi 190 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 191 192 else 193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 194 as_found=false 195 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 196 do 197 IFS=$as_save_IFS 198 test -z "$as_dir" && as_dir=. 199 as_found=: 200 case $as_dir in #( 201 /*) 202 for as_base in sh bash ksh sh5; do 203 # Try only shells that exist, to save several forks. 204 as_shell=$as_dir/$as_base 205 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 207 CONFIG_SHELL=$as_shell as_have_required=yes 208 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 209 break 2 210 fi 211 fi 212 done;; 213 esac 214 as_found=false 215 done 216 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 217 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 218 CONFIG_SHELL=$SHELL as_have_required=yes 219 fi; } 220 IFS=$as_save_IFS 221 222 223 if test "x$CONFIG_SHELL" != x; then : 224 # We cannot yet assume a decent shell, so we have to provide a 225 # neutralization value for shells without unset; and this also 226 # works around shells that cannot unset nonexistent variables. 227 # Preserve -v and -x to the replacement shell. 228 BASH_ENV=/dev/null 229 ENV=/dev/null 230 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 231 export CONFIG_SHELL 232 case $- in # (((( 233 *v*x* | *x*v* ) as_opts=-vx ;; 234 *v* ) as_opts=-v ;; 235 *x* ) as_opts=-x ;; 236 * ) as_opts= ;; 237 esac 238 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 239 fi 240 241 if test x$as_have_required = xno; then : 242 $as_echo "$0: This script requires a shell more modern than all" 243 $as_echo "$0: the shells that I found on your system." 244 if test x${ZSH_VERSION+set} = xset ; then 245 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 246 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 247 else 248 $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system, 249 $0: including any error possibly output before this 250 $0: message. Then install a modern shell, or manually run 251 $0: the script under such a shell if you do have one." 252 fi 253 exit 1 254 fi 255 fi 256 fi 257 SHELL=${CONFIG_SHELL-/bin/sh} 258 export SHELL 259 # Unset more variables known to interfere with behavior of common tools. 260 CLICOLOR_FORCE= GREP_OPTIONS= 261 unset CLICOLOR_FORCE GREP_OPTIONS 262 263 ## --------------------- ## 264 ## M4sh Shell Functions. ## 265 ## --------------------- ## 266 # as_fn_unset VAR 267 # --------------- 268 # Portably unset VAR. 269 as_fn_unset () 270 { 271 { eval $1=; unset $1;} 272 } 273 as_unset=as_fn_unset 274 275 # as_fn_set_status STATUS 276 # ----------------------- 277 # Set $? to STATUS, without forking. 278 as_fn_set_status () 279 { 280 return $1 281 } # as_fn_set_status 282 283 # as_fn_exit STATUS 284 # ----------------- 285 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 286 as_fn_exit () 287 { 288 set +e 289 as_fn_set_status $1 290 exit $1 291 } # as_fn_exit 292 293 # as_fn_mkdir_p 294 # ------------- 295 # Create "$as_dir" as a directory, including parents if necessary. 296 as_fn_mkdir_p () 297 { 298 299 case $as_dir in #( 300 -*) as_dir=./$as_dir;; 301 esac 302 test -d "$as_dir" || eval $as_mkdir_p || { 303 as_dirs= 304 while :; do 305 case $as_dir in #( 306 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 307 *) as_qdir=$as_dir;; 308 esac 309 as_dirs="'$as_qdir' $as_dirs" 310 as_dir=`$as_dirname -- "$as_dir" || 311 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 312 X"$as_dir" : 'X\(//\)[^/]' \| \ 313 X"$as_dir" : 'X\(//\)$' \| \ 314 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 315 $as_echo X"$as_dir" | 316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 317 s//\1/ 318 q 319 } 320 /^X\(\/\/\)[^/].*/{ 321 s//\1/ 322 q 323 } 324 /^X\(\/\/\)$/{ 325 s//\1/ 326 q 327 } 328 /^X\(\/\).*/{ 329 s//\1/ 330 q 331 } 332 s/.*/./; q'` 333 test -d "$as_dir" && break 334 done 335 test -z "$as_dirs" || eval "mkdir $as_dirs" 336 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 337 338 339 } # as_fn_mkdir_p 340 # as_fn_append VAR VALUE 341 # ---------------------- 342 # Append the text in VALUE to the end of the definition contained in VAR. Take 343 # advantage of any shell optimizations that allow amortized linear growth over 344 # repeated appends, instead of the typical quadratic growth present in naive 345 # implementations. 346 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 347 eval 'as_fn_append () 348 { 349 eval $1+=\$2 350 }' 351 else 352 as_fn_append () 353 { 354 eval $1=\$$1\$2 355 } 356 fi # as_fn_append 357 358 # as_fn_arith ARG... 359 # ------------------ 360 # Perform arithmetic evaluation on the ARGs, and store the result in the 361 # global $as_val. Take advantage of shells that can avoid forks. The arguments 362 # must be portable across $(()) and expr. 363 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 364 eval 'as_fn_arith () 365 { 366 as_val=$(( $* )) 367 }' 368 else 369 as_fn_arith () 370 { 371 as_val=`expr "$@" || test $? -eq 1` 372 } 373 fi # as_fn_arith 374 375 376 # as_fn_error STATUS ERROR [LINENO LOG_FD] 377 # ---------------------------------------- 378 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 379 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 380 # script with STATUS, using 1 if that was 0. 381 as_fn_error () 382 { 383 as_status=$1; test $as_status -eq 0 && as_status=1 384 if test "$4"; then 385 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 386 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 387 fi 388 $as_echo "$as_me: error: $2" >&2 389 as_fn_exit $as_status 390 } # as_fn_error 391 392 if expr a : '\(a\)' >/dev/null 2>&1 && 393 test "X`expr 00001 : '.*\(...\)'`" = X001; then 394 as_expr=expr 395 else 396 as_expr=false 397 fi 398 399 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 400 as_basename=basename 401 else 402 as_basename=false 403 fi 404 405 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 406 as_dirname=dirname 407 else 408 as_dirname=false 409 fi 410 411 as_me=`$as_basename -- "$0" || 412 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 413 X"$0" : 'X\(//\)$' \| \ 414 X"$0" : 'X\(/\)' \| . 2>/dev/null || 415 $as_echo X/"$0" | 416 sed '/^.*\/\([^/][^/]*\)\/*$/{ 417 s//\1/ 418 q 419 } 420 /^X\/\(\/\/\)$/{ 421 s//\1/ 422 q 423 } 424 /^X\/\(\/\).*/{ 425 s//\1/ 426 q 427 } 428 s/.*/./; q'` 429 430 # Avoid depending upon Character Ranges. 431 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 432 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 433 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 434 as_cr_digits='0123456789' 435 as_cr_alnum=$as_cr_Letters$as_cr_digits 436 437 438 as_lineno_1=$LINENO as_lineno_1a=$LINENO 439 as_lineno_2=$LINENO as_lineno_2a=$LINENO 440 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 441 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 442 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 443 sed -n ' 444 p 445 /[$]LINENO/= 446 ' <$as_myself | 447 sed ' 448 s/[$]LINENO.*/&-/ 449 t lineno 450 b 451 :lineno 452 N 453 :loop 454 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 455 t loop 456 s/-\n.*// 457 ' >$as_me.lineno && 458 chmod +x "$as_me.lineno" || 459 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 460 461 # Don't try to exec as it changes $[0], causing all sort of problems 462 # (the dirname of $[0] is not the place where we might find the 463 # original and so on. Autoconf is especially sensitive to this). 464 . "./$as_me.lineno" 465 # Exit status is that of the last command. 466 exit 467 } 468 469 ECHO_C= ECHO_N= ECHO_T= 470 case `echo -n x` in #((((( 471 -n*) 472 case `echo 'xy\c'` in 473 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 474 xy) ECHO_C='\c';; 475 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 476 ECHO_T=' ';; 477 esac;; 478 *) 479 ECHO_N='-n';; 480 esac 481 482 rm -f conf$$ conf$$.exe conf$$.file 483 if test -d conf$$.dir; then 484 rm -f conf$$.dir/conf$$.file 485 else 486 rm -f conf$$.dir 487 mkdir conf$$.dir 2>/dev/null 488 fi 489 if (echo >conf$$.file) 2>/dev/null; then 490 if ln -s conf$$.file conf$$ 2>/dev/null; then 491 as_ln_s='ln -s' 492 # ... but there are two gotchas: 493 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 494 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 495 # In both cases, we have to default to `cp -p'. 496 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 497 as_ln_s='cp -p' 498 elif ln conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s=ln 500 else 501 as_ln_s='cp -p' 502 fi 503 else 504 as_ln_s='cp -p' 505 fi 506 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 507 rmdir conf$$.dir 2>/dev/null 508 509 if mkdir -p . 2>/dev/null; then 510 as_mkdir_p='mkdir -p "$as_dir"' 511 else 512 test -d ./-p && rmdir ./-p 513 as_mkdir_p=false 514 fi 515 516 if test -x / >/dev/null 2>&1; then 517 as_test_x='test -x' 518 else 519 if ls -dL / >/dev/null 2>&1; then 520 as_ls_L_option=L 521 else 522 as_ls_L_option= 523 fi 524 as_test_x=' 525 eval sh -c '\'' 526 if test -d "$1"; then 527 test -d "$1/."; 528 else 529 case $1 in #( 530 -*)set "./$1";; 531 esac; 532 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 533 ???[sx]*):;;*)false;;esac;fi 534 '\'' sh 535 ' 536 fi 537 as_executable_p=$as_test_x 538 539 # Sed expression to map a string onto a valid CPP name. 540 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 541 542 # Sed expression to map a string onto a valid variable name. 543 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 544 545 SHELL=${CONFIG_SHELL-/bin/sh} 546 547 548 test -n "$DJDIR" || exec 7<&0 </dev/null 549 exec 6>&1 550 551 # Name of the host. 552 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 553 # so uname gets run too. 554 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 555 556 # 557 # Initializations. 558 # 559 ac_default_prefix=/usr/local 560 ac_clean_files= 561 ac_config_libobj_dir=. 562 LIBOBJS= 563 cross_compiling=no 564 subdirs= 565 MFLAGS= 566 MAKEFLAGS= 567 568 # Identity of this package. 569 PACKAGE_NAME='libcap-ng' 570 PACKAGE_TARNAME='libcap-ng' 571 PACKAGE_VERSION='0.7' 572 PACKAGE_STRING='libcap-ng 0.7' 573 PACKAGE_BUGREPORT='' 574 PACKAGE_URL='' 575 576 # Factoring default headers for most tests. 577 ac_includes_default="\ 578 #include <stdio.h> 579 #ifdef HAVE_SYS_TYPES_H 580 # include <sys/types.h> 581 #endif 582 #ifdef HAVE_SYS_STAT_H 583 # include <sys/stat.h> 584 #endif 585 #ifdef STDC_HEADERS 586 # include <stdlib.h> 587 # include <stddef.h> 588 #else 589 # ifdef HAVE_STDLIB_H 590 # include <stdlib.h> 591 # endif 592 #endif 593 #ifdef HAVE_STRING_H 594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 595 # include <memory.h> 596 # endif 597 # include <string.h> 598 #endif 599 #ifdef HAVE_STRINGS_H 600 # include <strings.h> 601 #endif 602 #ifdef HAVE_INTTYPES_H 603 # include <inttypes.h> 604 #endif 605 #ifdef HAVE_STDINT_H 606 # include <stdint.h> 607 #endif 608 #ifdef HAVE_UNISTD_H 609 # include <unistd.h> 610 #endif" 611 612 ac_subst_vars='am__EXEEXT_FALSE 613 am__EXEEXT_TRUE 614 LTLIBOBJS 615 LIBOBJS 616 HAVE_PYTHON_FALSE 617 HAVE_PYTHON_TRUE 618 pkgpyexecdir 619 pyexecdir 620 pkgpythondir 621 pythondir 622 PYTHON_PLATFORM 623 PYTHON_EXEC_PREFIX 624 PYTHON_PREFIX 625 PYTHON_VERSION 626 PYTHON 627 HAVE_SWIG_FALSE 628 HAVE_SWIG_TRUE 629 swig_found 630 DEBUG 631 DEBUG_FALSE 632 DEBUG_TRUE 633 LIBTOOL_DEPS 634 CPP 635 OTOOL64 636 OTOOL 637 LIPO 638 NMEDIT 639 DSYMUTIL 640 MANIFEST_TOOL 641 RANLIB 642 ac_ct_AR 643 AR 644 DLLTOOL 645 OBJDUMP 646 LN_S 647 NM 648 ac_ct_DUMPBIN 649 DUMPBIN 650 LD 651 FGREP 652 EGREP 653 GREP 654 SED 655 am__fastdepCC_FALSE 656 am__fastdepCC_TRUE 657 CCDEPMODE 658 am__nodep 659 AMDEPBACKSLASH 660 AMDEP_FALSE 661 AMDEP_TRUE 662 am__quote 663 am__include 664 DEPDIR 665 OBJEXT 666 EXEEXT 667 ac_ct_CC 668 CPPFLAGS 669 LDFLAGS 670 CFLAGS 671 CC 672 LIBTOOL 673 am__untar 674 am__tar 675 AMTAR 676 am__leading_dot 677 SET_MAKE 678 AWK 679 mkdir_p 680 MKDIR_P 681 INSTALL_STRIP_PROGRAM 682 STRIP 683 install_sh 684 MAKEINFO 685 AUTOHEADER 686 AUTOMAKE 687 AUTOCONF 688 ACLOCAL 689 VERSION 690 PACKAGE 691 CYGPATH_W 692 am__isrc 693 INSTALL_DATA 694 INSTALL_SCRIPT 695 INSTALL_PROGRAM 696 target_os 697 target_vendor 698 target_cpu 699 target 700 host_os 701 host_vendor 702 host_cpu 703 host 704 build_os 705 build_vendor 706 build_cpu 707 build 708 target_alias 709 host_alias 710 build_alias 711 LIBS 712 ECHO_T 713 ECHO_N 714 ECHO_C 715 DEFS 716 mandir 717 localedir 718 libdir 719 psdir 720 pdfdir 721 dvidir 722 htmldir 723 infodir 724 docdir 725 oldincludedir 726 includedir 727 localstatedir 728 sharedstatedir 729 sysconfdir 730 datadir 731 datarootdir 732 libexecdir 733 sbindir 734 bindir 735 program_transform_name 736 prefix 737 exec_prefix 738 PACKAGE_URL 739 PACKAGE_BUGREPORT 740 PACKAGE_STRING 741 PACKAGE_VERSION 742 PACKAGE_TARNAME 743 PACKAGE_NAME 744 PATH_SEPARATOR 745 SHELL' 746 ac_subst_files='' 747 ac_user_opts=' 748 enable_option_checking 749 enable_shared 750 enable_static 751 with_pic 752 enable_fast_install 753 enable_dependency_tracking 754 with_gnu_ld 755 with_sysroot 756 enable_libtool_lock 757 with_debug 758 with_warn 759 with_python 760 ' 761 ac_precious_vars='build_alias 762 host_alias 763 target_alias 764 CC 765 CFLAGS 766 LDFLAGS 767 LIBS 768 CPPFLAGS 769 CPP 770 PYTHON' 771 772 773 # Initialize some variables set by options. 774 ac_init_help= 775 ac_init_version=false 776 ac_unrecognized_opts= 777 ac_unrecognized_sep= 778 # The variables have the same names as the options, with 779 # dashes changed to underlines. 780 cache_file=/dev/null 781 exec_prefix=NONE 782 no_create= 783 no_recursion= 784 prefix=NONE 785 program_prefix=NONE 786 program_suffix=NONE 787 program_transform_name=s,x,x, 788 silent= 789 site= 790 srcdir= 791 verbose= 792 x_includes=NONE 793 x_libraries=NONE 794 795 # Installation directory options. 796 # These are left unexpanded so users can "make install exec_prefix=/foo" 797 # and all the variables that are supposed to be based on exec_prefix 798 # by default will actually change. 799 # Use braces instead of parens because sh, perl, etc. also accept them. 800 # (The list follows the same order as the GNU Coding Standards.) 801 bindir='${exec_prefix}/bin' 802 sbindir='${exec_prefix}/sbin' 803 libexecdir='${exec_prefix}/libexec' 804 datarootdir='${prefix}/share' 805 datadir='${datarootdir}' 806 sysconfdir='${prefix}/etc' 807 sharedstatedir='${prefix}/com' 808 localstatedir='${prefix}/var' 809 includedir='${prefix}/include' 810 oldincludedir='/usr/include' 811 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 812 infodir='${datarootdir}/info' 813 htmldir='${docdir}' 814 dvidir='${docdir}' 815 pdfdir='${docdir}' 816 psdir='${docdir}' 817 libdir='${exec_prefix}/lib' 818 localedir='${datarootdir}/locale' 819 mandir='${datarootdir}/man' 820 821 ac_prev= 822 ac_dashdash= 823 for ac_option 824 do 825 # If the previous option needs an argument, assign it. 826 if test -n "$ac_prev"; then 827 eval $ac_prev=\$ac_option 828 ac_prev= 829 continue 830 fi 831 832 case $ac_option in 833 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 834 *=) ac_optarg= ;; 835 *) ac_optarg=yes ;; 836 esac 837 838 # Accept the important Cygnus configure options, so we can diagnose typos. 839 840 case $ac_dashdash$ac_option in 841 --) 842 ac_dashdash=yes ;; 843 844 -bindir | --bindir | --bindi | --bind | --bin | --bi) 845 ac_prev=bindir ;; 846 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 847 bindir=$ac_optarg ;; 848 849 -build | --build | --buil | --bui | --bu) 850 ac_prev=build_alias ;; 851 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 852 build_alias=$ac_optarg ;; 853 854 -cache-file | --cache-file | --cache-fil | --cache-fi \ 855 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 856 ac_prev=cache_file ;; 857 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 858 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 859 cache_file=$ac_optarg ;; 860 861 --config-cache | -C) 862 cache_file=config.cache ;; 863 864 -datadir | --datadir | --datadi | --datad) 865 ac_prev=datadir ;; 866 -datadir=* | --datadir=* | --datadi=* | --datad=*) 867 datadir=$ac_optarg ;; 868 869 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 870 | --dataroo | --dataro | --datar) 871 ac_prev=datarootdir ;; 872 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 873 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 874 datarootdir=$ac_optarg ;; 875 876 -disable-* | --disable-*) 877 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 878 # Reject names that are not valid shell variable names. 879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 880 as_fn_error $? "invalid feature name: $ac_useropt" 881 ac_useropt_orig=$ac_useropt 882 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 883 case $ac_user_opts in 884 *" 885 "enable_$ac_useropt" 886 "*) ;; 887 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 888 ac_unrecognized_sep=', ';; 889 esac 890 eval enable_$ac_useropt=no ;; 891 892 -docdir | --docdir | --docdi | --doc | --do) 893 ac_prev=docdir ;; 894 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 895 docdir=$ac_optarg ;; 896 897 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 898 ac_prev=dvidir ;; 899 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 900 dvidir=$ac_optarg ;; 901 902 -enable-* | --enable-*) 903 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 904 # Reject names that are not valid shell variable names. 905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 906 as_fn_error $? "invalid feature name: $ac_useropt" 907 ac_useropt_orig=$ac_useropt 908 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 909 case $ac_user_opts in 910 *" 911 "enable_$ac_useropt" 912 "*) ;; 913 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 914 ac_unrecognized_sep=', ';; 915 esac 916 eval enable_$ac_useropt=\$ac_optarg ;; 917 918 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 919 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 920 | --exec | --exe | --ex) 921 ac_prev=exec_prefix ;; 922 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 923 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 924 | --exec=* | --exe=* | --ex=*) 925 exec_prefix=$ac_optarg ;; 926 927 -gas | --gas | --ga | --g) 928 # Obsolete; use --with-gas. 929 with_gas=yes ;; 930 931 -help | --help | --hel | --he | -h) 932 ac_init_help=long ;; 933 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 934 ac_init_help=recursive ;; 935 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 936 ac_init_help=short ;; 937 938 -host | --host | --hos | --ho) 939 ac_prev=host_alias ;; 940 -host=* | --host=* | --hos=* | --ho=*) 941 host_alias=$ac_optarg ;; 942 943 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 944 ac_prev=htmldir ;; 945 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 946 | --ht=*) 947 htmldir=$ac_optarg ;; 948 949 -includedir | --includedir | --includedi | --included | --include \ 950 | --includ | --inclu | --incl | --inc) 951 ac_prev=includedir ;; 952 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 953 | --includ=* | --inclu=* | --incl=* | --inc=*) 954 includedir=$ac_optarg ;; 955 956 -infodir | --infodir | --infodi | --infod | --info | --inf) 957 ac_prev=infodir ;; 958 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 959 infodir=$ac_optarg ;; 960 961 -libdir | --libdir | --libdi | --libd) 962 ac_prev=libdir ;; 963 -libdir=* | --libdir=* | --libdi=* | --libd=*) 964 libdir=$ac_optarg ;; 965 966 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 967 | --libexe | --libex | --libe) 968 ac_prev=libexecdir ;; 969 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 970 | --libexe=* | --libex=* | --libe=*) 971 libexecdir=$ac_optarg ;; 972 973 -localedir | --localedir | --localedi | --localed | --locale) 974 ac_prev=localedir ;; 975 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 976 localedir=$ac_optarg ;; 977 978 -localstatedir | --localstatedir | --localstatedi | --localstated \ 979 | --localstate | --localstat | --localsta | --localst | --locals) 980 ac_prev=localstatedir ;; 981 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 982 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 983 localstatedir=$ac_optarg ;; 984 985 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 986 ac_prev=mandir ;; 987 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 988 mandir=$ac_optarg ;; 989 990 -nfp | --nfp | --nf) 991 # Obsolete; use --without-fp. 992 with_fp=no ;; 993 994 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 995 | --no-cr | --no-c | -n) 996 no_create=yes ;; 997 998 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 999 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1000 no_recursion=yes ;; 1001 1002 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1003 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1004 | --oldin | --oldi | --old | --ol | --o) 1005 ac_prev=oldincludedir ;; 1006 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1007 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1008 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1009 oldincludedir=$ac_optarg ;; 1010 1011 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1012 ac_prev=prefix ;; 1013 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1014 prefix=$ac_optarg ;; 1015 1016 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1017 | --program-pre | --program-pr | --program-p) 1018 ac_prev=program_prefix ;; 1019 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1020 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1021 program_prefix=$ac_optarg ;; 1022 1023 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1024 | --program-suf | --program-su | --program-s) 1025 ac_prev=program_suffix ;; 1026 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1027 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1028 program_suffix=$ac_optarg ;; 1029 1030 -program-transform-name | --program-transform-name \ 1031 | --program-transform-nam | --program-transform-na \ 1032 | --program-transform-n | --program-transform- \ 1033 | --program-transform | --program-transfor \ 1034 | --program-transfo | --program-transf \ 1035 | --program-trans | --program-tran \ 1036 | --progr-tra | --program-tr | --program-t) 1037 ac_prev=program_transform_name ;; 1038 -program-transform-name=* | --program-transform-name=* \ 1039 | --program-transform-nam=* | --program-transform-na=* \ 1040 | --program-transform-n=* | --program-transform-=* \ 1041 | --program-transform=* | --program-transfor=* \ 1042 | --program-transfo=* | --program-transf=* \ 1043 | --program-trans=* | --program-tran=* \ 1044 | --progr-tra=* | --program-tr=* | --program-t=*) 1045 program_transform_name=$ac_optarg ;; 1046 1047 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1048 ac_prev=pdfdir ;; 1049 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1050 pdfdir=$ac_optarg ;; 1051 1052 -psdir | --psdir | --psdi | --psd | --ps) 1053 ac_prev=psdir ;; 1054 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1055 psdir=$ac_optarg ;; 1056 1057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1058 | -silent | --silent | --silen | --sile | --sil) 1059 silent=yes ;; 1060 1061 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1062 ac_prev=sbindir ;; 1063 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1064 | --sbi=* | --sb=*) 1065 sbindir=$ac_optarg ;; 1066 1067 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1068 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1069 | --sharedst | --shareds | --shared | --share | --shar \ 1070 | --sha | --sh) 1071 ac_prev=sharedstatedir ;; 1072 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1073 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1074 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1075 | --sha=* | --sh=*) 1076 sharedstatedir=$ac_optarg ;; 1077 1078 -site | --site | --sit) 1079 ac_prev=site ;; 1080 -site=* | --site=* | --sit=*) 1081 site=$ac_optarg ;; 1082 1083 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1084 ac_prev=srcdir ;; 1085 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1086 srcdir=$ac_optarg ;; 1087 1088 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1089 | --syscon | --sysco | --sysc | --sys | --sy) 1090 ac_prev=sysconfdir ;; 1091 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1092 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1093 sysconfdir=$ac_optarg ;; 1094 1095 -target | --target | --targe | --targ | --tar | --ta | --t) 1096 ac_prev=target_alias ;; 1097 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1098 target_alias=$ac_optarg ;; 1099 1100 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1101 verbose=yes ;; 1102 1103 -version | --version | --versio | --versi | --vers | -V) 1104 ac_init_version=: ;; 1105 1106 -with-* | --with-*) 1107 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1108 # Reject names that are not valid shell variable names. 1109 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1110 as_fn_error $? "invalid package name: $ac_useropt" 1111 ac_useropt_orig=$ac_useropt 1112 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1113 case $ac_user_opts in 1114 *" 1115 "with_$ac_useropt" 1116 "*) ;; 1117 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1118 ac_unrecognized_sep=', ';; 1119 esac 1120 eval with_$ac_useropt=\$ac_optarg ;; 1121 1122 -without-* | --without-*) 1123 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1124 # Reject names that are not valid shell variable names. 1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1126 as_fn_error $? "invalid package name: $ac_useropt" 1127 ac_useropt_orig=$ac_useropt 1128 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1129 case $ac_user_opts in 1130 *" 1131 "with_$ac_useropt" 1132 "*) ;; 1133 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1134 ac_unrecognized_sep=', ';; 1135 esac 1136 eval with_$ac_useropt=no ;; 1137 1138 --x) 1139 # Obsolete; use --with-x. 1140 with_x=yes ;; 1141 1142 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1143 | --x-incl | --x-inc | --x-in | --x-i) 1144 ac_prev=x_includes ;; 1145 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1146 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1147 x_includes=$ac_optarg ;; 1148 1149 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1150 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1151 ac_prev=x_libraries ;; 1152 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1153 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1154 x_libraries=$ac_optarg ;; 1155 1156 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1157 Try \`$0 --help' for more information" 1158 ;; 1159 1160 *=*) 1161 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1162 # Reject names that are not valid shell variable names. 1163 case $ac_envvar in #( 1164 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1165 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1166 esac 1167 eval $ac_envvar=\$ac_optarg 1168 export $ac_envvar ;; 1169 1170 *) 1171 # FIXME: should be removed in autoconf 3.0. 1172 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1173 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1174 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1175 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1176 ;; 1177 1178 esac 1179 done 1180 1181 if test -n "$ac_prev"; then 1182 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1183 as_fn_error $? "missing argument to $ac_option" 1184 fi 1185 1186 if test -n "$ac_unrecognized_opts"; then 1187 case $enable_option_checking in 1188 no) ;; 1189 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1190 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1191 esac 1192 fi 1193 1194 # Check all directory arguments for consistency. 1195 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1196 datadir sysconfdir sharedstatedir localstatedir includedir \ 1197 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1198 libdir localedir mandir 1199 do 1200 eval ac_val=\$$ac_var 1201 # Remove trailing slashes. 1202 case $ac_val in 1203 */ ) 1204 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1205 eval $ac_var=\$ac_val;; 1206 esac 1207 # Be sure to have absolute directory names. 1208 case $ac_val in 1209 [\\/$]* | ?:[\\/]* ) continue;; 1210 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1211 esac 1212 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1213 done 1214 1215 # There might be people who depend on the old broken behavior: `$host' 1216 # used to hold the argument of --host etc. 1217 # FIXME: To remove some day. 1218 build=$build_alias 1219 host=$host_alias 1220 target=$target_alias 1221 1222 # FIXME: To remove some day. 1223 if test "x$host_alias" != x; then 1224 if test "x$build_alias" = x; then 1225 cross_compiling=maybe 1226 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1227 If a cross compiler is detected then cross compile mode will be used" >&2 1228 elif test "x$build_alias" != "x$host_alias"; then 1229 cross_compiling=yes 1230 fi 1231 fi 1232 1233 ac_tool_prefix= 1234 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1235 1236 test "$silent" = yes && exec 6>/dev/null 1237 1238 1239 ac_pwd=`pwd` && test -n "$ac_pwd" && 1240 ac_ls_di=`ls -di .` && 1241 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1242 as_fn_error $? "working directory cannot be determined" 1243 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1244 as_fn_error $? "pwd does not report name of working directory" 1245 1246 1247 # Find the source files, if location was not specified. 1248 if test -z "$srcdir"; then 1249 ac_srcdir_defaulted=yes 1250 # Try the directory containing this script, then the parent directory. 1251 ac_confdir=`$as_dirname -- "$as_myself" || 1252 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1253 X"$as_myself" : 'X\(//\)[^/]' \| \ 1254 X"$as_myself" : 'X\(//\)$' \| \ 1255 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1256 $as_echo X"$as_myself" | 1257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1258 s//\1/ 1259 q 1260 } 1261 /^X\(\/\/\)[^/].*/{ 1262 s//\1/ 1263 q 1264 } 1265 /^X\(\/\/\)$/{ 1266 s//\1/ 1267 q 1268 } 1269 /^X\(\/\).*/{ 1270 s//\1/ 1271 q 1272 } 1273 s/.*/./; q'` 1274 srcdir=$ac_confdir 1275 if test ! -r "$srcdir/$ac_unique_file"; then 1276 srcdir=.. 1277 fi 1278 else 1279 ac_srcdir_defaulted=no 1280 fi 1281 if test ! -r "$srcdir/$ac_unique_file"; then 1282 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1283 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1284 fi 1285 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1286 ac_abs_confdir=`( 1287 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1288 pwd)` 1289 # When building in place, set srcdir=. 1290 if test "$ac_abs_confdir" = "$ac_pwd"; then 1291 srcdir=. 1292 fi 1293 # Remove unnecessary trailing slashes from srcdir. 1294 # Double slashes in file names in object file debugging info 1295 # mess up M-x gdb in Emacs. 1296 case $srcdir in 1297 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1298 esac 1299 for ac_var in $ac_precious_vars; do 1300 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1301 eval ac_env_${ac_var}_value=\$${ac_var} 1302 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1303 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1304 done 1305 1306 # 1307 # Report the --help message. 1308 # 1309 if test "$ac_init_help" = "long"; then 1310 # Omit some internal or obsolete options to make the list less imposing. 1311 # This message is too long to be a string in the A/UX 3.1 sh. 1312 cat <<_ACEOF 1313 \`configure' configures libcap-ng 0.7 to adapt to many kinds of systems. 1314 1315 Usage: $0 [OPTION]... [VAR=VALUE]... 1316 1317 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1318 VAR=VALUE. See below for descriptions of some of the useful variables. 1319 1320 Defaults for the options are specified in brackets. 1321 1322 Configuration: 1323 -h, --help display this help and exit 1324 --help=short display options specific to this package 1325 --help=recursive display the short help of all the included packages 1326 -V, --version display version information and exit 1327 -q, --quiet, --silent do not print \`checking ...' messages 1328 --cache-file=FILE cache test results in FILE [disabled] 1329 -C, --config-cache alias for \`--cache-file=config.cache' 1330 -n, --no-create do not create output files 1331 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1332 1333 Installation directories: 1334 --prefix=PREFIX install architecture-independent files in PREFIX 1335 [$ac_default_prefix] 1336 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1337 [PREFIX] 1338 1339 By default, \`make install' will install all the files in 1340 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1341 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1342 for instance \`--prefix=\$HOME'. 1343 1344 For better control, use the options below. 1345 1346 Fine tuning of the installation directories: 1347 --bindir=DIR user executables [EPREFIX/bin] 1348 --sbindir=DIR system admin executables [EPREFIX/sbin] 1349 --libexecdir=DIR program executables [EPREFIX/libexec] 1350 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1351 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1352 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1353 --libdir=DIR object code libraries [EPREFIX/lib] 1354 --includedir=DIR C header files [PREFIX/include] 1355 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1356 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1357 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1358 --infodir=DIR info documentation [DATAROOTDIR/info] 1359 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1360 --mandir=DIR man documentation [DATAROOTDIR/man] 1361 --docdir=DIR documentation root [DATAROOTDIR/doc/libcap-ng] 1362 --htmldir=DIR html documentation [DOCDIR] 1363 --dvidir=DIR dvi documentation [DOCDIR] 1364 --pdfdir=DIR pdf documentation [DOCDIR] 1365 --psdir=DIR ps documentation [DOCDIR] 1366 _ACEOF 1367 1368 cat <<\_ACEOF 1369 1370 Program names: 1371 --program-prefix=PREFIX prepend PREFIX to installed program names 1372 --program-suffix=SUFFIX append SUFFIX to installed program names 1373 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1374 1375 System types: 1376 --build=BUILD configure for building on BUILD [guessed] 1377 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1378 --target=TARGET configure for building compilers for TARGET [HOST] 1379 _ACEOF 1380 fi 1381 1382 if test -n "$ac_init_help"; then 1383 case $ac_init_help in 1384 short | recursive ) echo "Configuration of libcap-ng 0.7:";; 1385 esac 1386 cat <<\_ACEOF 1387 1388 Optional Features: 1389 --disable-option-checking ignore unrecognized --enable/--with options 1390 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1391 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1392 --enable-shared[=PKGS] build shared libraries [default=yes] 1393 --enable-static[=PKGS] build static libraries [default=yes] 1394 --enable-fast-install[=PKGS] 1395 optimize for fast installation [default=yes] 1396 --disable-dependency-tracking speeds up one-time build 1397 --enable-dependency-tracking do not reject slow dependency extractors 1398 --disable-libtool-lock avoid locking (might break parallel builds) 1399 1400 Optional Packages: 1401 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1402 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1403 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1404 both] 1405 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1406 --with-sysroot=DIR Search for dependent libraries within DIR 1407 (or the compiler's sysroot if not specified). 1408 --with-debug turn on debugging [default=no] 1409 --with-warn turn on warnings [default=yes] 1410 --with-python enable building python bindings 1411 1412 Some influential environment variables: 1413 CC C compiler command 1414 CFLAGS C compiler flags 1415 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1416 nonstandard directory <lib dir> 1417 LIBS libraries to pass to the linker, e.g. -l<library> 1418 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1419 you have headers in a nonstandard directory <include dir> 1420 CPP C preprocessor 1421 PYTHON the Python interpreter 1422 1423 Use these variables to override the choices made by `configure' or to help 1424 it to find libraries and programs with nonstandard names/locations. 1425 1426 Report bugs to the package provider. 1427 _ACEOF 1428 ac_status=$? 1429 fi 1430 1431 if test "$ac_init_help" = "recursive"; then 1432 # If there are subdirs, report their specific --help. 1433 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1434 test -d "$ac_dir" || 1435 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1436 continue 1437 ac_builddir=. 1438 1439 case "$ac_dir" in 1440 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1441 *) 1442 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1443 # A ".." for each directory in $ac_dir_suffix. 1444 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1445 case $ac_top_builddir_sub in 1446 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1447 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1448 esac ;; 1449 esac 1450 ac_abs_top_builddir=$ac_pwd 1451 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1452 # for backward compatibility: 1453 ac_top_builddir=$ac_top_build_prefix 1454 1455 case $srcdir in 1456 .) # We are building in place. 1457 ac_srcdir=. 1458 ac_top_srcdir=$ac_top_builddir_sub 1459 ac_abs_top_srcdir=$ac_pwd ;; 1460 [\\/]* | ?:[\\/]* ) # Absolute name. 1461 ac_srcdir=$srcdir$ac_dir_suffix; 1462 ac_top_srcdir=$srcdir 1463 ac_abs_top_srcdir=$srcdir ;; 1464 *) # Relative name. 1465 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1466 ac_top_srcdir=$ac_top_build_prefix$srcdir 1467 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1468 esac 1469 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1470 1471 cd "$ac_dir" || { ac_status=$?; continue; } 1472 # Check for guested configure. 1473 if test -f "$ac_srcdir/configure.gnu"; then 1474 echo && 1475 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1476 elif test -f "$ac_srcdir/configure"; then 1477 echo && 1478 $SHELL "$ac_srcdir/configure" --help=recursive 1479 else 1480 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1481 fi || ac_status=$? 1482 cd "$ac_pwd" || { ac_status=$?; break; } 1483 done 1484 fi 1485 1486 test -n "$ac_init_help" && exit $ac_status 1487 if $ac_init_version; then 1488 cat <<\_ACEOF 1489 libcap-ng configure 0.7 1490 generated by GNU Autoconf 2.68 1491 1492 Copyright (C) 2010 Free Software Foundation, Inc. 1493 This configure script is free software; the Free Software Foundation 1494 gives unlimited permission to copy, distribute and modify it. 1495 _ACEOF 1496 exit 1497 fi 1498 1499 ## ------------------------ ## 1500 ## Autoconf initialization. ## 1501 ## ------------------------ ## 1502 1503 # ac_fn_c_try_compile LINENO 1504 # -------------------------- 1505 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1506 ac_fn_c_try_compile () 1507 { 1508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1509 rm -f conftest.$ac_objext 1510 if { { ac_try="$ac_compile" 1511 case "(($ac_try" in 1512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1513 *) ac_try_echo=$ac_try;; 1514 esac 1515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1516 $as_echo "$ac_try_echo"; } >&5 1517 (eval "$ac_compile") 2>conftest.err 1518 ac_status=$? 1519 if test -s conftest.err; then 1520 grep -v '^ *+' conftest.err >conftest.er1 1521 cat conftest.er1 >&5 1522 mv -f conftest.er1 conftest.err 1523 fi 1524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1525 test $ac_status = 0; } && { 1526 test -z "$ac_c_werror_flag" || 1527 test ! -s conftest.err 1528 } && test -s conftest.$ac_objext; then : 1529 ac_retval=0 1530 else 1531 $as_echo "$as_me: failed program was:" >&5 1532 sed 's/^/| /' conftest.$ac_ext >&5 1533 1534 ac_retval=1 1535 fi 1536 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1537 as_fn_set_status $ac_retval 1538 1539 } # ac_fn_c_try_compile 1540 1541 # ac_fn_c_try_link LINENO 1542 # ----------------------- 1543 # Try to link conftest.$ac_ext, and return whether this succeeded. 1544 ac_fn_c_try_link () 1545 { 1546 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1547 rm -f conftest.$ac_objext conftest$ac_exeext 1548 if { { ac_try="$ac_link" 1549 case "(($ac_try" in 1550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1551 *) ac_try_echo=$ac_try;; 1552 esac 1553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1554 $as_echo "$ac_try_echo"; } >&5 1555 (eval "$ac_link") 2>conftest.err 1556 ac_status=$? 1557 if test -s conftest.err; then 1558 grep -v '^ *+' conftest.err >conftest.er1 1559 cat conftest.er1 >&5 1560 mv -f conftest.er1 conftest.err 1561 fi 1562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1563 test $ac_status = 0; } && { 1564 test -z "$ac_c_werror_flag" || 1565 test ! -s conftest.err 1566 } && test -s conftest$ac_exeext && { 1567 test "$cross_compiling" = yes || 1568 $as_test_x conftest$ac_exeext 1569 }; then : 1570 ac_retval=0 1571 else 1572 $as_echo "$as_me: failed program was:" >&5 1573 sed 's/^/| /' conftest.$ac_ext >&5 1574 1575 ac_retval=1 1576 fi 1577 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1578 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1579 # interfere with the next link command; also delete a directory that is 1580 # left behind by Apple's compiler. We do this before executing the actions. 1581 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1583 as_fn_set_status $ac_retval 1584 1585 } # ac_fn_c_try_link 1586 1587 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1588 # ------------------------------------------------------- 1589 # Tests whether HEADER exists and can be compiled using the include files in 1590 # INCLUDES, setting the cache variable VAR accordingly. 1591 ac_fn_c_check_header_compile () 1592 { 1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1595 $as_echo_n "checking for $2... " >&6; } 1596 if eval \${$3+:} false; then : 1597 $as_echo_n "(cached) " >&6 1598 else 1599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1600 /* end confdefs.h. */ 1601 $4 1602 #include <$2> 1603 _ACEOF 1604 if ac_fn_c_try_compile "$LINENO"; then : 1605 eval "$3=yes" 1606 else 1607 eval "$3=no" 1608 fi 1609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1610 fi 1611 eval ac_res=\$$3 1612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1613 $as_echo "$ac_res" >&6; } 1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1615 1616 } # ac_fn_c_check_header_compile 1617 1618 # ac_fn_c_try_cpp LINENO 1619 # ---------------------- 1620 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1621 ac_fn_c_try_cpp () 1622 { 1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1624 if { { ac_try="$ac_cpp conftest.$ac_ext" 1625 case "(($ac_try" in 1626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1627 *) ac_try_echo=$ac_try;; 1628 esac 1629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1630 $as_echo "$ac_try_echo"; } >&5 1631 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1632 ac_status=$? 1633 if test -s conftest.err; then 1634 grep -v '^ *+' conftest.err >conftest.er1 1635 cat conftest.er1 >&5 1636 mv -f conftest.er1 conftest.err 1637 fi 1638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1639 test $ac_status = 0; } > conftest.i && { 1640 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1641 test ! -s conftest.err 1642 }; then : 1643 ac_retval=0 1644 else 1645 $as_echo "$as_me: failed program was:" >&5 1646 sed 's/^/| /' conftest.$ac_ext >&5 1647 1648 ac_retval=1 1649 fi 1650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1651 as_fn_set_status $ac_retval 1652 1653 } # ac_fn_c_try_cpp 1654 1655 # ac_fn_c_try_run LINENO 1656 # ---------------------- 1657 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1658 # that executables *can* be run. 1659 ac_fn_c_try_run () 1660 { 1661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1662 if { { ac_try="$ac_link" 1663 case "(($ac_try" in 1664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1665 *) ac_try_echo=$ac_try;; 1666 esac 1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1668 $as_echo "$ac_try_echo"; } >&5 1669 (eval "$ac_link") 2>&5 1670 ac_status=$? 1671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1672 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1673 { { case "(($ac_try" in 1674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1675 *) ac_try_echo=$ac_try;; 1676 esac 1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1678 $as_echo "$ac_try_echo"; } >&5 1679 (eval "$ac_try") 2>&5 1680 ac_status=$? 1681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1682 test $ac_status = 0; }; }; then : 1683 ac_retval=0 1684 else 1685 $as_echo "$as_me: program exited with status $ac_status" >&5 1686 $as_echo "$as_me: failed program was:" >&5 1687 sed 's/^/| /' conftest.$ac_ext >&5 1688 1689 ac_retval=$ac_status 1690 fi 1691 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1693 as_fn_set_status $ac_retval 1694 1695 } # ac_fn_c_try_run 1696 1697 # ac_fn_c_check_func LINENO FUNC VAR 1698 # ---------------------------------- 1699 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1700 ac_fn_c_check_func () 1701 { 1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1704 $as_echo_n "checking for $2... " >&6; } 1705 if eval \${$3+:} false; then : 1706 $as_echo_n "(cached) " >&6 1707 else 1708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1709 /* end confdefs.h. */ 1710 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1711 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1712 #define $2 innocuous_$2 1713 1714 /* System header to define __stub macros and hopefully few prototypes, 1715 which can conflict with char $2 (); below. 1716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1717 <limits.h> exists even on freestanding compilers. */ 1718 1719 #ifdef __STDC__ 1720 # include <limits.h> 1721 #else 1722 # include <assert.h> 1723 #endif 1724 1725 #undef $2 1726 1727 /* Override any GCC internal prototype to avoid an error. 1728 Use char because int might match the return type of a GCC 1729 builtin and then its argument prototype would still apply. */ 1730 #ifdef __cplusplus 1731 extern "C" 1732 #endif 1733 char $2 (); 1734 /* The GNU C library defines this for functions which it implements 1735 to always fail with ENOSYS. Some functions are actually named 1736 something starting with __ and the normal name is an alias. */ 1737 #if defined __stub_$2 || defined __stub___$2 1738 choke me 1739 #endif 1740 1741 int 1742 main () 1743 { 1744 return $2 (); 1745 ; 1746 return 0; 1747 } 1748 _ACEOF 1749 if ac_fn_c_try_link "$LINENO"; then : 1750 eval "$3=yes" 1751 else 1752 eval "$3=no" 1753 fi 1754 rm -f core conftest.err conftest.$ac_objext \ 1755 conftest$ac_exeext conftest.$ac_ext 1756 fi 1757 eval ac_res=\$$3 1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1759 $as_echo "$ac_res" >&6; } 1760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1761 1762 } # ac_fn_c_check_func 1763 1764 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1765 # ------------------------------------------------------- 1766 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1767 # the include files in INCLUDES and setting the cache variable VAR 1768 # accordingly. 1769 ac_fn_c_check_header_mongrel () 1770 { 1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1772 if eval \${$3+:} false; then : 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1774 $as_echo_n "checking for $2... " >&6; } 1775 if eval \${$3+:} false; then : 1776 $as_echo_n "(cached) " >&6 1777 fi 1778 eval ac_res=\$$3 1779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1780 $as_echo "$ac_res" >&6; } 1781 else 1782 # Is the header compilable? 1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1784 $as_echo_n "checking $2 usability... " >&6; } 1785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1786 /* end confdefs.h. */ 1787 $4 1788 #include <$2> 1789 _ACEOF 1790 if ac_fn_c_try_compile "$LINENO"; then : 1791 ac_header_compiler=yes 1792 else 1793 ac_header_compiler=no 1794 fi 1795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1797 $as_echo "$ac_header_compiler" >&6; } 1798 1799 # Is the header present? 1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1801 $as_echo_n "checking $2 presence... " >&6; } 1802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1803 /* end confdefs.h. */ 1804 #include <$2> 1805 _ACEOF 1806 if ac_fn_c_try_cpp "$LINENO"; then : 1807 ac_header_preproc=yes 1808 else 1809 ac_header_preproc=no 1810 fi 1811 rm -f conftest.err conftest.i conftest.$ac_ext 1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1813 $as_echo "$ac_header_preproc" >&6; } 1814 1815 # So? What about this header? 1816 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1817 yes:no: ) 1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1819 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1821 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1822 ;; 1823 no:yes:* ) 1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1825 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1827 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1829 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1831 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1833 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1834 ;; 1835 esac 1836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1837 $as_echo_n "checking for $2... " >&6; } 1838 if eval \${$3+:} false; then : 1839 $as_echo_n "(cached) " >&6 1840 else 1841 eval "$3=\$ac_header_compiler" 1842 fi 1843 eval ac_res=\$$3 1844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1845 $as_echo "$ac_res" >&6; } 1846 fi 1847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1848 1849 } # ac_fn_c_check_header_mongrel 1850 cat >config.log <<_ACEOF 1851 This file contains any messages produced by compilers while 1852 running configure, to aid debugging if configure makes a mistake. 1853 1854 It was created by libcap-ng $as_me 0.7, which was 1855 generated by GNU Autoconf 2.68. Invocation command line was 1856 1857 $ $0 $@ 1858 1859 _ACEOF 1860 exec 5>>config.log 1861 { 1862 cat <<_ASUNAME 1863 ## --------- ## 1864 ## Platform. ## 1865 ## --------- ## 1866 1867 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1868 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1869 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1870 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1871 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1872 1873 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1874 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1875 1876 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1877 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1878 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1879 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1880 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1881 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1882 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1883 1884 _ASUNAME 1885 1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1887 for as_dir in $PATH 1888 do 1889 IFS=$as_save_IFS 1890 test -z "$as_dir" && as_dir=. 1891 $as_echo "PATH: $as_dir" 1892 done 1893 IFS=$as_save_IFS 1894 1895 } >&5 1896 1897 cat >&5 <<_ACEOF 1898 1899 1900 ## ----------- ## 1901 ## Core tests. ## 1902 ## ----------- ## 1903 1904 _ACEOF 1905 1906 1907 # Keep a trace of the command line. 1908 # Strip out --no-create and --no-recursion so they do not pile up. 1909 # Strip out --silent because we don't want to record it for future runs. 1910 # Also quote any args containing shell meta-characters. 1911 # Make two passes to allow for proper duplicate-argument suppression. 1912 ac_configure_args= 1913 ac_configure_args0= 1914 ac_configure_args1= 1915 ac_must_keep_next=false 1916 for ac_pass in 1 2 1917 do 1918 for ac_arg 1919 do 1920 case $ac_arg in 1921 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1922 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1923 | -silent | --silent | --silen | --sile | --sil) 1924 continue ;; 1925 *\'*) 1926 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1927 esac 1928 case $ac_pass in 1929 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1930 2) 1931 as_fn_append ac_configure_args1 " '$ac_arg'" 1932 if test $ac_must_keep_next = true; then 1933 ac_must_keep_next=false # Got value, back to normal. 1934 else 1935 case $ac_arg in 1936 *=* | --config-cache | -C | -disable-* | --disable-* \ 1937 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1938 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1939 | -with-* | --with-* | -without-* | --without-* | --x) 1940 case "$ac_configure_args0 " in 1941 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1942 esac 1943 ;; 1944 -* ) ac_must_keep_next=true ;; 1945 esac 1946 fi 1947 as_fn_append ac_configure_args " '$ac_arg'" 1948 ;; 1949 esac 1950 done 1951 done 1952 { ac_configure_args0=; unset ac_configure_args0;} 1953 { ac_configure_args1=; unset ac_configure_args1;} 1954 1955 # When interrupted or exit'd, cleanup temporary files, and complete 1956 # config.log. We remove comments because anyway the quotes in there 1957 # would cause problems or look ugly. 1958 # WARNING: Use '\'' to represent an apostrophe within the trap. 1959 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1960 trap 'exit_status=$? 1961 # Save into config.log some information that might help in debugging. 1962 { 1963 echo 1964 1965 $as_echo "## ---------------- ## 1966 ## Cache variables. ## 1967 ## ---------------- ##" 1968 echo 1969 # The following way of writing the cache mishandles newlines in values, 1970 ( 1971 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1972 eval ac_val=\$$ac_var 1973 case $ac_val in #( 1974 *${as_nl}*) 1975 case $ac_var in #( 1976 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1977 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1978 esac 1979 case $ac_var in #( 1980 _ | IFS | as_nl) ;; #( 1981 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1982 *) { eval $ac_var=; unset $ac_var;} ;; 1983 esac ;; 1984 esac 1985 done 1986 (set) 2>&1 | 1987 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1988 *${as_nl}ac_space=\ *) 1989 sed -n \ 1990 "s/'\''/'\''\\\\'\'''\''/g; 1991 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1992 ;; #( 1993 *) 1994 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1995 ;; 1996 esac | 1997 sort 1998 ) 1999 echo 2000 2001 $as_echo "## ----------------- ## 2002 ## Output variables. ## 2003 ## ----------------- ##" 2004 echo 2005 for ac_var in $ac_subst_vars 2006 do 2007 eval ac_val=\$$ac_var 2008 case $ac_val in 2009 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2010 esac 2011 $as_echo "$ac_var='\''$ac_val'\''" 2012 done | sort 2013 echo 2014 2015 if test -n "$ac_subst_files"; then 2016 $as_echo "## ------------------- ## 2017 ## File substitutions. ## 2018 ## ------------------- ##" 2019 echo 2020 for ac_var in $ac_subst_files 2021 do 2022 eval ac_val=\$$ac_var 2023 case $ac_val in 2024 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2025 esac 2026 $as_echo "$ac_var='\''$ac_val'\''" 2027 done | sort 2028 echo 2029 fi 2030 2031 if test -s confdefs.h; then 2032 $as_echo "## ----------- ## 2033 ## confdefs.h. ## 2034 ## ----------- ##" 2035 echo 2036 cat confdefs.h 2037 echo 2038 fi 2039 test "$ac_signal" != 0 && 2040 $as_echo "$as_me: caught signal $ac_signal" 2041 $as_echo "$as_me: exit $exit_status" 2042 } >&5 2043 rm -f core *.core core.conftest.* && 2044 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2045 exit $exit_status 2046 ' 0 2047 for ac_signal in 1 2 13 15; do 2048 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2049 done 2050 ac_signal=0 2051 2052 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2053 rm -f -r conftest* confdefs.h 2054 2055 $as_echo "/* confdefs.h */" > confdefs.h 2056 2057 # Predefined preprocessor variables. 2058 2059 cat >>confdefs.h <<_ACEOF 2060 #define PACKAGE_NAME "$PACKAGE_NAME" 2061 _ACEOF 2062 2063 cat >>confdefs.h <<_ACEOF 2064 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2065 _ACEOF 2066 2067 cat >>confdefs.h <<_ACEOF 2068 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2069 _ACEOF 2070 2071 cat >>confdefs.h <<_ACEOF 2072 #define PACKAGE_STRING "$PACKAGE_STRING" 2073 _ACEOF 2074 2075 cat >>confdefs.h <<_ACEOF 2076 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2077 _ACEOF 2078 2079 cat >>confdefs.h <<_ACEOF 2080 #define PACKAGE_URL "$PACKAGE_URL" 2081 _ACEOF 2082 2083 2084 # Let the site file select an alternate cache file if it wants to. 2085 # Prefer an explicitly selected file to automatically selected ones. 2086 ac_site_file1=NONE 2087 ac_site_file2=NONE 2088 if test -n "$CONFIG_SITE"; then 2089 # We do not want a PATH search for config.site. 2090 case $CONFIG_SITE in #(( 2091 -*) ac_site_file1=./$CONFIG_SITE;; 2092 */*) ac_site_file1=$CONFIG_SITE;; 2093 *) ac_site_file1=./$CONFIG_SITE;; 2094 esac 2095 elif test "x$prefix" != xNONE; then 2096 ac_site_file1=$prefix/share/config.site 2097 ac_site_file2=$prefix/etc/config.site 2098 else 2099 ac_site_file1=$ac_default_prefix/share/config.site 2100 ac_site_file2=$ac_default_prefix/etc/config.site 2101 fi 2102 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2103 do 2104 test "x$ac_site_file" = xNONE && continue 2105 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2106 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2107 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2108 sed 's/^/| /' "$ac_site_file" >&5 2109 . "$ac_site_file" \ 2110 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2112 as_fn_error $? "failed to load site script $ac_site_file 2113 See \`config.log' for more details" "$LINENO" 5; } 2114 fi 2115 done 2116 2117 if test -r "$cache_file"; then 2118 # Some versions of bash will fail to source /dev/null (special files 2119 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2120 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2121 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2122 $as_echo "$as_me: loading cache $cache_file" >&6;} 2123 case $cache_file in 2124 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2125 *) . "./$cache_file";; 2126 esac 2127 fi 2128 else 2129 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2130 $as_echo "$as_me: creating cache $cache_file" >&6;} 2131 >$cache_file 2132 fi 2133 2134 # Check that the precious variables saved in the cache have kept the same 2135 # value. 2136 ac_cache_corrupted=false 2137 for ac_var in $ac_precious_vars; do 2138 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2139 eval ac_new_set=\$ac_env_${ac_var}_set 2140 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2141 eval ac_new_val=\$ac_env_${ac_var}_value 2142 case $ac_old_set,$ac_new_set in 2143 set,) 2144 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2145 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2146 ac_cache_corrupted=: ;; 2147 ,set) 2148 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2149 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2150 ac_cache_corrupted=: ;; 2151 ,);; 2152 *) 2153 if test "x$ac_old_val" != "x$ac_new_val"; then 2154 # differences in whitespace do not lead to failure. 2155 ac_old_val_w=`echo x $ac_old_val` 2156 ac_new_val_w=`echo x $ac_new_val` 2157 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2158 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2159 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2160 ac_cache_corrupted=: 2161 else 2162 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2163 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2164 eval $ac_var=\$ac_old_val 2165 fi 2166 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2167 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2168 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2169 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2170 fi;; 2171 esac 2172 # Pass precious variables to config.status. 2173 if test "$ac_new_set" = set; then 2174 case $ac_new_val in 2175 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2176 *) ac_arg=$ac_var=$ac_new_val ;; 2177 esac 2178 case " $ac_configure_args " in 2179 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2180 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2181 esac 2182 fi 2183 done 2184 if $ac_cache_corrupted; then 2185 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2187 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2188 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2189 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2190 fi 2191 ## -------------------- ## 2192 ## Main body of script. ## 2193 ## -------------------- ## 2194 2195 ac_ext=c 2196 ac_cpp='$CPP $CPPFLAGS' 2197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2199 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2200 2201 2202 ac_config_headers="$ac_config_headers config.h" 2203 2204 2205 2206 echo Configuring libcap-ng $VERSION 2207 2208 ac_aux_dir= 2209 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2210 if test -f "$ac_dir/install-sh"; then 2211 ac_aux_dir=$ac_dir 2212 ac_install_sh="$ac_aux_dir/install-sh -c" 2213 break 2214 elif test -f "$ac_dir/install.sh"; then 2215 ac_aux_dir=$ac_dir 2216 ac_install_sh="$ac_aux_dir/install.sh -c" 2217 break 2218 elif test -f "$ac_dir/shtool"; then 2219 ac_aux_dir=$ac_dir 2220 ac_install_sh="$ac_aux_dir/shtool install -c" 2221 break 2222 fi 2223 done 2224 if test -z "$ac_aux_dir"; then 2225 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2226 fi 2227 2228 # These three variables are undocumented and unsupported, 2229 # and are intended to be withdrawn in a future Autoconf release. 2230 # They can cause serious problems if a builder's source tree is in a directory 2231 # whose full name contains unusual characters. 2232 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2233 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2234 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2235 2236 2237 # Make sure we can run config.sub. 2238 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2239 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2240 2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2242 $as_echo_n "checking build system type... " >&6; } 2243 if ${ac_cv_build+:} false; then : 2244 $as_echo_n "(cached) " >&6 2245 else 2246 ac_build_alias=$build_alias 2247 test "x$ac_build_alias" = x && 2248 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2249 test "x$ac_build_alias" = x && 2250 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2251 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2252 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2253 2254 fi 2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2256 $as_echo "$ac_cv_build" >&6; } 2257 case $ac_cv_build in 2258 *-*-*) ;; 2259 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2260 esac 2261 build=$ac_cv_build 2262 ac_save_IFS=$IFS; IFS='-' 2263 set x $ac_cv_build 2264 shift 2265 build_cpu=$1 2266 build_vendor=$2 2267 shift; shift 2268 # Remember, the first character of IFS is used to create $*, 2269 # except with old shells: 2270 build_os=$* 2271 IFS=$ac_save_IFS 2272 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2273 2274 2275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2276 $as_echo_n "checking host system type... " >&6; } 2277 if ${ac_cv_host+:} false; then : 2278 $as_echo_n "(cached) " >&6 2279 else 2280 if test "x$host_alias" = x; then 2281 ac_cv_host=$ac_cv_build 2282 else 2283 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2284 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2285 fi 2286 2287 fi 2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2289 $as_echo "$ac_cv_host" >&6; } 2290 case $ac_cv_host in 2291 *-*-*) ;; 2292 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2293 esac 2294 host=$ac_cv_host 2295 ac_save_IFS=$IFS; IFS='-' 2296 set x $ac_cv_host 2297 shift 2298 host_cpu=$1 2299 host_vendor=$2 2300 shift; shift 2301 # Remember, the first character of IFS is used to create $*, 2302 # except with old shells: 2303 host_os=$* 2304 IFS=$ac_save_IFS 2305 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2306 2307 2308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2309 $as_echo_n "checking target system type... " >&6; } 2310 if ${ac_cv_target+:} false; then : 2311 $as_echo_n "(cached) " >&6 2312 else 2313 if test "x$target_alias" = x; then 2314 ac_cv_target=$ac_cv_host 2315 else 2316 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2317 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2318 fi 2319 2320 fi 2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2322 $as_echo "$ac_cv_target" >&6; } 2323 case $ac_cv_target in 2324 *-*-*) ;; 2325 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2326 esac 2327 target=$ac_cv_target 2328 ac_save_IFS=$IFS; IFS='-' 2329 set x $ac_cv_target 2330 shift 2331 target_cpu=$1 2332 target_vendor=$2 2333 shift; shift 2334 # Remember, the first character of IFS is used to create $*, 2335 # except with old shells: 2336 target_os=$* 2337 IFS=$ac_save_IFS 2338 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2339 2340 2341 # The aliases save the names the user supplied, while $host etc. 2342 # will get canonicalized. 2343 test -n "$target_alias" && 2344 test "$program_prefix$program_suffix$program_transform_name" = \ 2345 NONENONEs,x,x, && 2346 program_prefix=${target_alias}- 2347 am__api_version='1.11' 2348 2349 # Find a good install program. We prefer a C program (faster), 2350 # so one script is as good as another. But avoid the broken or 2351 # incompatible versions: 2352 # SysV /etc/install, /usr/sbin/install 2353 # SunOS /usr/etc/install 2354 # IRIX /sbin/install 2355 # AIX /bin/install 2356 # AmigaOS /C/install, which installs bootblocks on floppy discs 2357 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2358 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2359 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2360 # OS/2's system install, which has a completely different semantic 2361 # ./install, which can be erroneously created by make from ./install.sh. 2362 # Reject install programs that cannot install multiple files. 2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2364 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2365 if test -z "$INSTALL"; then 2366 if ${ac_cv_path_install+:} false; then : 2367 $as_echo_n "(cached) " >&6 2368 else 2369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2370 for as_dir in $PATH 2371 do 2372 IFS=$as_save_IFS 2373 test -z "$as_dir" && as_dir=. 2374 # Account for people who put trailing slashes in PATH elements. 2375 case $as_dir/ in #(( 2376 ./ | .// | /[cC]/* | \ 2377 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2378 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2379 /usr/ucb/* ) ;; 2380 *) 2381 # OSF1 and SCO ODT 3.0 have their own names for install. 2382 # Don't use installbsd from OSF since it installs stuff as root 2383 # by default. 2384 for ac_prog in ginstall scoinst install; do 2385 for ac_exec_ext in '' $ac_executable_extensions; do 2386 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2387 if test $ac_prog = install && 2388 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2389 # AIX install. It has an incompatible calling convention. 2390 : 2391 elif test $ac_prog = install && 2392 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2393 # program-specific install script used by HP pwplus--don't use. 2394 : 2395 else 2396 rm -rf conftest.one conftest.two conftest.dir 2397 echo one > conftest.one 2398 echo two > conftest.two 2399 mkdir conftest.dir 2400 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2401 test -s conftest.one && test -s conftest.two && 2402 test -s conftest.dir/conftest.one && 2403 test -s conftest.dir/conftest.two 2404 then 2405 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2406 break 3 2407 fi 2408 fi 2409 fi 2410 done 2411 done 2412 ;; 2413 esac 2414 2415 done 2416 IFS=$as_save_IFS 2417 2418 rm -rf conftest.one conftest.two conftest.dir 2419 2420 fi 2421 if test "${ac_cv_path_install+set}" = set; then 2422 INSTALL=$ac_cv_path_install 2423 else 2424 # As a last resort, use the slow shell script. Don't cache a 2425 # value for INSTALL within a source directory, because that will 2426 # break other packages using the cache if that directory is 2427 # removed, or if the value is a relative name. 2428 INSTALL=$ac_install_sh 2429 fi 2430 fi 2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2432 $as_echo "$INSTALL" >&6; } 2433 2434 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2435 # It thinks the first close brace ends the variable substitution. 2436 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2437 2438 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2439 2440 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2441 2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2443 $as_echo_n "checking whether build environment is sane... " >&6; } 2444 # Just in case 2445 sleep 1 2446 echo timestamp > conftest.file 2447 # Reject unsafe characters in $srcdir or the absolute working directory 2448 # name. Accept space and tab only in the latter. 2449 am_lf=' 2450 ' 2451 case `pwd` in 2452 *[\\\"\#\$\&\'\`$am_lf]*) 2453 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2454 esac 2455 case $srcdir in 2456 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2457 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2458 esac 2459 2460 # Do `set' in a subshell so we don't clobber the current shell's 2461 # arguments. Must try -L first in case configure is actually a 2462 # symlink; some systems play weird games with the mod time of symlinks 2463 # (eg FreeBSD returns the mod time of the symlink's containing 2464 # directory). 2465 if ( 2466 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2467 if test "$*" = "X"; then 2468 # -L didn't work. 2469 set X `ls -t "$srcdir/configure" conftest.file` 2470 fi 2471 rm -f conftest.file 2472 if test "$*" != "X $srcdir/configure conftest.file" \ 2473 && test "$*" != "X conftest.file $srcdir/configure"; then 2474 2475 # If neither matched, then we have a broken ls. This can happen 2476 # if, for instance, CONFIG_SHELL is bash and it inherits a 2477 # broken ls alias from the environment. This has actually 2478 # happened. Such a system could not be considered "sane". 2479 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2480 alias in your environment" "$LINENO" 5 2481 fi 2482 2483 test "$2" = conftest.file 2484 ) 2485 then 2486 # Ok. 2487 : 2488 else 2489 as_fn_error $? "newly created file is older than distributed files! 2490 Check your system clock" "$LINENO" 5 2491 fi 2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2493 $as_echo "yes" >&6; } 2494 test "$program_prefix" != NONE && 2495 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2496 # Use a double $ so make ignores it. 2497 test "$program_suffix" != NONE && 2498 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2499 # Double any \ or $. 2500 # By default was `s,x,x', remove it if useless. 2501 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2502 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2503 2504 # expand $ac_aux_dir to an absolute path 2505 am_aux_dir=`cd $ac_aux_dir && pwd` 2506 2507 if test x"${MISSING+set}" != xset; then 2508 case $am_aux_dir in 2509 *\ * | *\ *) 2510 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2511 *) 2512 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2513 esac 2514 fi 2515 # Use eval to expand $SHELL 2516 if eval "$MISSING --run true"; then 2517 am_missing_run="$MISSING --run " 2518 else 2519 am_missing_run= 2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2521 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2522 fi 2523 2524 if test x"${install_sh}" != xset; then 2525 case $am_aux_dir in 2526 *\ * | *\ *) 2527 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2528 *) 2529 install_sh="\${SHELL} $am_aux_dir/install-sh" 2530 esac 2531 fi 2532 2533 # Installed binaries are usually stripped using `strip' when the user 2534 # run `make install-strip'. However `strip' might not be the right 2535 # tool to use in cross-compilation environments, therefore Automake 2536 # will honor the `STRIP' environment variable to overrule this program. 2537 if test "$cross_compiling" != no; then 2538 if test -n "$ac_tool_prefix"; then 2539 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2540 set dummy ${ac_tool_prefix}strip; ac_word=$2 2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2542 $as_echo_n "checking for $ac_word... " >&6; } 2543 if ${ac_cv_prog_STRIP+:} false; then : 2544 $as_echo_n "(cached) " >&6 2545 else 2546 if test -n "$STRIP"; then 2547 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2548 else 2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2550 for as_dir in $PATH 2551 do 2552 IFS=$as_save_IFS 2553 test -z "$as_dir" && as_dir=. 2554 for ac_exec_ext in '' $ac_executable_extensions; do 2555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2556 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2558 break 2 2559 fi 2560 done 2561 done 2562 IFS=$as_save_IFS 2563 2564 fi 2565 fi 2566 STRIP=$ac_cv_prog_STRIP 2567 if test -n "$STRIP"; then 2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2569 $as_echo "$STRIP" >&6; } 2570 else 2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2572 $as_echo "no" >&6; } 2573 fi 2574 2575 2576 fi 2577 if test -z "$ac_cv_prog_STRIP"; then 2578 ac_ct_STRIP=$STRIP 2579 # Extract the first word of "strip", so it can be a program name with args. 2580 set dummy strip; ac_word=$2 2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2582 $as_echo_n "checking for $ac_word... " >&6; } 2583 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2584 $as_echo_n "(cached) " >&6 2585 else 2586 if test -n "$ac_ct_STRIP"; then 2587 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2588 else 2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2590 for as_dir in $PATH 2591 do 2592 IFS=$as_save_IFS 2593 test -z "$as_dir" && as_dir=. 2594 for ac_exec_ext in '' $ac_executable_extensions; do 2595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2596 ac_cv_prog_ac_ct_STRIP="strip" 2597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2598 break 2 2599 fi 2600 done 2601 done 2602 IFS=$as_save_IFS 2603 2604 fi 2605 fi 2606 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2607 if test -n "$ac_ct_STRIP"; then 2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2609 $as_echo "$ac_ct_STRIP" >&6; } 2610 else 2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2612 $as_echo "no" >&6; } 2613 fi 2614 2615 if test "x$ac_ct_STRIP" = x; then 2616 STRIP=":" 2617 else 2618 case $cross_compiling:$ac_tool_warned in 2619 yes:) 2620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2622 ac_tool_warned=yes ;; 2623 esac 2624 STRIP=$ac_ct_STRIP 2625 fi 2626 else 2627 STRIP="$ac_cv_prog_STRIP" 2628 fi 2629 2630 fi 2631 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2632 2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2634 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2635 if test -z "$MKDIR_P"; then 2636 if ${ac_cv_path_mkdir+:} false; then : 2637 $as_echo_n "(cached) " >&6 2638 else 2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2640 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2641 do 2642 IFS=$as_save_IFS 2643 test -z "$as_dir" && as_dir=. 2644 for ac_prog in mkdir gmkdir; do 2645 for ac_exec_ext in '' $ac_executable_extensions; do 2646 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2647 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2648 'mkdir (GNU coreutils) '* | \ 2649 'mkdir (coreutils) '* | \ 2650 'mkdir (fileutils) '4.1*) 2651 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2652 break 3;; 2653 esac 2654 done 2655 done 2656 done 2657 IFS=$as_save_IFS 2658 2659 fi 2660 2661 test -d ./--version && rmdir ./--version 2662 if test "${ac_cv_path_mkdir+set}" = set; then 2663 MKDIR_P="$ac_cv_path_mkdir -p" 2664 else 2665 # As a last resort, use the slow shell script. Don't cache a 2666 # value for MKDIR_P within a source directory, because that will 2667 # break other packages using the cache if that directory is 2668 # removed, or if the value is a relative name. 2669 MKDIR_P="$ac_install_sh -d" 2670 fi 2671 fi 2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2673 $as_echo "$MKDIR_P" >&6; } 2674 2675 mkdir_p="$MKDIR_P" 2676 case $mkdir_p in 2677 [\\/$]* | ?:[\\/]*) ;; 2678 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2679 esac 2680 2681 for ac_prog in gawk mawk nawk awk 2682 do 2683 # Extract the first word of "$ac_prog", so it can be a program name with args. 2684 set dummy $ac_prog; ac_word=$2 2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2686 $as_echo_n "checking for $ac_word... " >&6; } 2687 if ${ac_cv_prog_AWK+:} false; then : 2688 $as_echo_n "(cached) " >&6 2689 else 2690 if test -n "$AWK"; then 2691 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2692 else 2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2694 for as_dir in $PATH 2695 do 2696 IFS=$as_save_IFS 2697 test -z "$as_dir" && as_dir=. 2698 for ac_exec_ext in '' $ac_executable_extensions; do 2699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2700 ac_cv_prog_AWK="$ac_prog" 2701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2702 break 2 2703 fi 2704 done 2705 done 2706 IFS=$as_save_IFS 2707 2708 fi 2709 fi 2710 AWK=$ac_cv_prog_AWK 2711 if test -n "$AWK"; then 2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2713 $as_echo "$AWK" >&6; } 2714 else 2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2716 $as_echo "no" >&6; } 2717 fi 2718 2719 2720 test -n "$AWK" && break 2721 done 2722 2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2724 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2725 set x ${MAKE-make} 2726 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2727 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2728 $as_echo_n "(cached) " >&6 2729 else 2730 cat >conftest.make <<\_ACEOF 2731 SHELL = /bin/sh 2732 all: 2733 @echo '@@@%%%=$(MAKE)=@@@%%%' 2734 _ACEOF 2735 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2736 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2737 *@@@%%%=?*=@@@%%%*) 2738 eval ac_cv_prog_make_${ac_make}_set=yes;; 2739 *) 2740 eval ac_cv_prog_make_${ac_make}_set=no;; 2741 esac 2742 rm -f conftest.make 2743 fi 2744 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2746 $as_echo "yes" >&6; } 2747 SET_MAKE= 2748 else 2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2750 $as_echo "no" >&6; } 2751 SET_MAKE="MAKE=${MAKE-make}" 2752 fi 2753 2754 rm -rf .tst 2>/dev/null 2755 mkdir .tst 2>/dev/null 2756 if test -d .tst; then 2757 am__leading_dot=. 2758 else 2759 am__leading_dot=_ 2760 fi 2761 rmdir .tst 2>/dev/null 2762 2763 if test "`cd $srcdir && pwd`" != "`pwd`"; then 2764 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2765 # is not polluted with repeated "-I." 2766 am__isrc=' -I$(srcdir)' 2767 # test to see if srcdir already configured 2768 if test -f $srcdir/config.status; then 2769 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2770 fi 2771 fi 2772 2773 # test whether we have cygpath 2774 if test -z "$CYGPATH_W"; then 2775 if (cygpath --version) >/dev/null 2>/dev/null; then 2776 CYGPATH_W='cygpath -w' 2777 else 2778 CYGPATH_W=echo 2779 fi 2780 fi 2781 2782 2783 # Define the identity of the package. 2784 PACKAGE='libcap-ng' 2785 VERSION='0.7' 2786 2787 2788 cat >>confdefs.h <<_ACEOF 2789 #define PACKAGE "$PACKAGE" 2790 _ACEOF 2791 2792 2793 cat >>confdefs.h <<_ACEOF 2794 #define VERSION "$VERSION" 2795 _ACEOF 2796 2797 # Some tools Automake needs. 2798 2799 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2800 2801 2802 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2803 2804 2805 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2806 2807 2808 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2809 2810 2811 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2812 2813 # We need awk for the "check" target. The system "awk" is bad on 2814 # some platforms. 2815 # Always define AMTAR for backward compatibility. Yes, it's still used 2816 # in the wild :-( We should find a proper way to deprecate it ... 2817 AMTAR='$${TAR-tar}' 2818 2819 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2820 2821 2822 2823 2824 2825 case `pwd` in 2826 *\ * | *\ *) 2827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 2828 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 2829 esac 2830 2831 2832 2833 macro_version='2.4.2' 2834 macro_revision='1.3337' 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 ltmain="$ac_aux_dir/ltmain.sh" 2849 2850 # Backslashify metacharacters that are still active within 2851 # double-quoted strings. 2852 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 2853 2854 # Same as above, but do not quote variable references. 2855 double_quote_subst='s/\(["`\\]\)/\\\1/g' 2856 2857 # Sed substitution to delay expansion of an escaped shell variable in a 2858 # double_quote_subst'ed string. 2859 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 2860 2861 # Sed substitution to delay expansion of an escaped single quote. 2862 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 2863 2864 # Sed substitution to avoid accidental globbing in evaled expressions 2865 no_glob_subst='s/\*/\\\*/g' 2866 2867 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 2868 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 2869 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 2870 2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 2872 $as_echo_n "checking how to print strings... " >&6; } 2873 # Test print first, because it will be a builtin if present. 2874 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 2875 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 2876 ECHO='print -r --' 2877 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 2878 ECHO='printf %s\n' 2879 else 2880 # Use this function as a fallback that always works. 2881 func_fallback_echo () 2882 { 2883 eval 'cat <<_LTECHO_EOF 2884 $1 2885 _LTECHO_EOF' 2886 } 2887 ECHO='func_fallback_echo' 2888 fi 2889 2890 # func_echo_all arg... 2891 # Invoke $ECHO with all args, space-separated. 2892 func_echo_all () 2893 { 2894 $ECHO "" 2895 } 2896 2897 case "$ECHO" in 2898 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 2899 $as_echo "printf" >&6; } ;; 2900 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 2901 $as_echo "print -r" >&6; } ;; 2902 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 2903 $as_echo "cat" >&6; } ;; 2904 esac 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 DEPDIR="${am__leading_dot}deps" 2920 2921 ac_config_commands="$ac_config_commands depfiles" 2922 2923 2924 am_make=${MAKE-make} 2925 cat > confinc << 'END' 2926 am__doit: 2927 @echo this is the am__doit target 2928 .PHONY: am__doit 2929 END 2930 # If we don't find an include directive, just comment out the code. 2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2932 $as_echo_n "checking for style of include used by $am_make... " >&6; } 2933 am__include="#" 2934 am__quote= 2935 _am_result=none 2936 # First try GNU make style include. 2937 echo "include confinc" > confmf 2938 # Ignore all kinds of additional output from `make'. 2939 case `$am_make -s -f confmf 2> /dev/null` in #( 2940 *the\ am__doit\ target*) 2941 am__include=include 2942 am__quote= 2943 _am_result=GNU 2944 ;; 2945 esac 2946 # Now try BSD make style include. 2947 if test "$am__include" = "#"; then 2948 echo '.include "confinc"' > confmf 2949 case `$am_make -s -f confmf 2> /dev/null` in #( 2950 *the\ am__doit\ target*) 2951 am__include=.include 2952 am__quote="\"" 2953 _am_result=BSD 2954 ;; 2955 esac 2956 fi 2957 2958 2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2960 $as_echo "$_am_result" >&6; } 2961 rm -f confinc confmf 2962 2963 # Check whether --enable-dependency-tracking was given. 2964 if test "${enable_dependency_tracking+set}" = set; then : 2965 enableval=$enable_dependency_tracking; 2966 fi 2967 2968 if test "x$enable_dependency_tracking" != xno; then 2969 am_depcomp="$ac_aux_dir/depcomp" 2970 AMDEPBACKSLASH='\' 2971 am__nodep='_no' 2972 fi 2973 if test "x$enable_dependency_tracking" != xno; then 2974 AMDEP_TRUE= 2975 AMDEP_FALSE='#' 2976 else 2977 AMDEP_TRUE='#' 2978 AMDEP_FALSE= 2979 fi 2980 2981 2982 ac_ext=c 2983 ac_cpp='$CPP $CPPFLAGS' 2984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2986 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2987 if test -n "$ac_tool_prefix"; then 2988 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2989 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2991 $as_echo_n "checking for $ac_word... " >&6; } 2992 if ${ac_cv_prog_CC+:} false; then : 2993 $as_echo_n "(cached) " >&6 2994 else 2995 if test -n "$CC"; then 2996 ac_cv_prog_CC="$CC" # Let the user override the test. 2997 else 2998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2999 for as_dir in $PATH 3000 do 3001 IFS=$as_save_IFS 3002 test -z "$as_dir" && as_dir=. 3003 for ac_exec_ext in '' $ac_executable_extensions; do 3004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3005 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3007 break 2 3008 fi 3009 done 3010 done 3011 IFS=$as_save_IFS 3012 3013 fi 3014 fi 3015 CC=$ac_cv_prog_CC 3016 if test -n "$CC"; then 3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3018 $as_echo "$CC" >&6; } 3019 else 3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3021 $as_echo "no" >&6; } 3022 fi 3023 3024 3025 fi 3026 if test -z "$ac_cv_prog_CC"; then 3027 ac_ct_CC=$CC 3028 # Extract the first word of "gcc", so it can be a program name with args. 3029 set dummy gcc; ac_word=$2 3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3031 $as_echo_n "checking for $ac_word... " >&6; } 3032 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3033 $as_echo_n "(cached) " >&6 3034 else 3035 if test -n "$ac_ct_CC"; then 3036 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3037 else 3038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3039 for as_dir in $PATH 3040 do 3041 IFS=$as_save_IFS 3042 test -z "$as_dir" && as_dir=. 3043 for ac_exec_ext in '' $ac_executable_extensions; do 3044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3045 ac_cv_prog_ac_ct_CC="gcc" 3046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3047 break 2 3048 fi 3049 done 3050 done 3051 IFS=$as_save_IFS 3052 3053 fi 3054 fi 3055 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3056 if test -n "$ac_ct_CC"; then 3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3058 $as_echo "$ac_ct_CC" >&6; } 3059 else 3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3061 $as_echo "no" >&6; } 3062 fi 3063 3064 if test "x$ac_ct_CC" = x; then 3065 CC="" 3066 else 3067 case $cross_compiling:$ac_tool_warned in 3068 yes:) 3069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3071 ac_tool_warned=yes ;; 3072 esac 3073 CC=$ac_ct_CC 3074 fi 3075 else 3076 CC="$ac_cv_prog_CC" 3077 fi 3078 3079 if test -z "$CC"; then 3080 if test -n "$ac_tool_prefix"; then 3081 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3082 set dummy ${ac_tool_prefix}cc; ac_word=$2 3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3084 $as_echo_n "checking for $ac_word... " >&6; } 3085 if ${ac_cv_prog_CC+:} false; then : 3086 $as_echo_n "(cached) " >&6 3087 else 3088 if test -n "$CC"; then 3089 ac_cv_prog_CC="$CC" # Let the user override the test. 3090 else 3091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3092 for as_dir in $PATH 3093 do 3094 IFS=$as_save_IFS 3095 test -z "$as_dir" && as_dir=. 3096 for ac_exec_ext in '' $ac_executable_extensions; do 3097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3098 ac_cv_prog_CC="${ac_tool_prefix}cc" 3099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3100 break 2 3101 fi 3102 done 3103 done 3104 IFS=$as_save_IFS 3105 3106 fi 3107 fi 3108 CC=$ac_cv_prog_CC 3109 if test -n "$CC"; then 3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3111 $as_echo "$CC" >&6; } 3112 else 3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3114 $as_echo "no" >&6; } 3115 fi 3116 3117 3118 fi 3119 fi 3120 if test -z "$CC"; then 3121 # Extract the first word of "cc", so it can be a program name with args. 3122 set dummy cc; ac_word=$2 3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3124 $as_echo_n "checking for $ac_word... " >&6; } 3125 if ${ac_cv_prog_CC+:} false; then : 3126 $as_echo_n "(cached) " >&6 3127 else 3128 if test -n "$CC"; then 3129 ac_cv_prog_CC="$CC" # Let the user override the test. 3130 else 3131 ac_prog_rejected=no 3132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3133 for as_dir in $PATH 3134 do 3135 IFS=$as_save_IFS 3136 test -z "$as_dir" && as_dir=. 3137 for ac_exec_ext in '' $ac_executable_extensions; do 3138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3139 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3140 ac_prog_rejected=yes 3141 continue 3142 fi 3143 ac_cv_prog_CC="cc" 3144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3145 break 2 3146 fi 3147 done 3148 done 3149 IFS=$as_save_IFS 3150 3151 if test $ac_prog_rejected = yes; then 3152 # We found a bogon in the path, so make sure we never use it. 3153 set dummy $ac_cv_prog_CC 3154 shift 3155 if test $# != 0; then 3156 # We chose a different compiler from the bogus one. 3157 # However, it has the same basename, so the bogon will be chosen 3158 # first if we set CC to just the basename; use the full file name. 3159 shift 3160 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3161 fi 3162 fi 3163 fi 3164 fi 3165 CC=$ac_cv_prog_CC 3166 if test -n "$CC"; then 3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3168 $as_echo "$CC" >&6; } 3169 else 3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3171 $as_echo "no" >&6; } 3172 fi 3173 3174 3175 fi 3176 if test -z "$CC"; then 3177 if test -n "$ac_tool_prefix"; then 3178 for ac_prog in cl.exe 3179 do 3180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3181 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3183 $as_echo_n "checking for $ac_word... " >&6; } 3184 if ${ac_cv_prog_CC+:} false; then : 3185 $as_echo_n "(cached) " >&6 3186 else 3187 if test -n "$CC"; then 3188 ac_cv_prog_CC="$CC" # Let the user override the test. 3189 else 3190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3191 for as_dir in $PATH 3192 do 3193 IFS=$as_save_IFS 3194 test -z "$as_dir" && as_dir=. 3195 for ac_exec_ext in '' $ac_executable_extensions; do 3196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3197 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3199 break 2 3200 fi 3201 done 3202 done 3203 IFS=$as_save_IFS 3204 3205 fi 3206 fi 3207 CC=$ac_cv_prog_CC 3208 if test -n "$CC"; then 3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3210 $as_echo "$CC" >&6; } 3211 else 3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3213 $as_echo "no" >&6; } 3214 fi 3215 3216 3217 test -n "$CC" && break 3218 done 3219 fi 3220 if test -z "$CC"; then 3221 ac_ct_CC=$CC 3222 for ac_prog in cl.exe 3223 do 3224 # Extract the first word of "$ac_prog", so it can be a program name with args. 3225 set dummy $ac_prog; ac_word=$2 3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3227 $as_echo_n "checking for $ac_word... " >&6; } 3228 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3229 $as_echo_n "(cached) " >&6 3230 else 3231 if test -n "$ac_ct_CC"; then 3232 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3233 else 3234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3235 for as_dir in $PATH 3236 do 3237 IFS=$as_save_IFS 3238 test -z "$as_dir" && as_dir=. 3239 for ac_exec_ext in '' $ac_executable_extensions; do 3240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3241 ac_cv_prog_ac_ct_CC="$ac_prog" 3242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3243 break 2 3244 fi 3245 done 3246 done 3247 IFS=$as_save_IFS 3248 3249 fi 3250 fi 3251 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3252 if test -n "$ac_ct_CC"; then 3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3254 $as_echo "$ac_ct_CC" >&6; } 3255 else 3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3257 $as_echo "no" >&6; } 3258 fi 3259 3260 3261 test -n "$ac_ct_CC" && break 3262 done 3263 3264 if test "x$ac_ct_CC" = x; then 3265 CC="" 3266 else 3267 case $cross_compiling:$ac_tool_warned in 3268 yes:) 3269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3271 ac_tool_warned=yes ;; 3272 esac 3273 CC=$ac_ct_CC 3274 fi 3275 fi 3276 3277 fi 3278 3279 3280 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3282 as_fn_error $? "no acceptable C compiler found in \$PATH 3283 See \`config.log' for more details" "$LINENO" 5; } 3284 3285 # Provide some information about the compiler. 3286 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3287 set X $ac_compile 3288 ac_compiler=$2 3289 for ac_option in --version -v -V -qversion; do 3290 { { ac_try="$ac_compiler $ac_option >&5" 3291 case "(($ac_try" in 3292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3293 *) ac_try_echo=$ac_try;; 3294 esac 3295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3296 $as_echo "$ac_try_echo"; } >&5 3297 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3298 ac_status=$? 3299 if test -s conftest.err; then 3300 sed '10a\ 3301 ... rest of stderr output deleted ... 3302 10q' conftest.err >conftest.er1 3303 cat conftest.er1 >&5 3304 fi 3305 rm -f conftest.er1 conftest.err 3306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3307 test $ac_status = 0; } 3308 done 3309 3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3311 /* end confdefs.h. */ 3312 3313 int 3314 main () 3315 { 3316 3317 ; 3318 return 0; 3319 } 3320 _ACEOF 3321 ac_clean_files_save=$ac_clean_files 3322 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3323 # Try to create an executable without -o first, disregard a.out. 3324 # It will help us diagnose broken compilers, and finding out an intuition 3325 # of exeext. 3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3327 $as_echo_n "checking whether the C compiler works... " >&6; } 3328 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3329 3330 # The possible output files: 3331 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3332 3333 ac_rmfiles= 3334 for ac_file in $ac_files 3335 do 3336 case $ac_file in 3337 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3338 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3339 esac 3340 done 3341 rm -f $ac_rmfiles 3342 3343 if { { ac_try="$ac_link_default" 3344 case "(($ac_try" in 3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3346 *) ac_try_echo=$ac_try;; 3347 esac 3348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3349 $as_echo "$ac_try_echo"; } >&5 3350 (eval "$ac_link_default") 2>&5 3351 ac_status=$? 3352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3353 test $ac_status = 0; }; then : 3354 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3355 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3356 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3357 # so that the user can short-circuit this test for compilers unknown to 3358 # Autoconf. 3359 for ac_file in $ac_files '' 3360 do 3361 test -f "$ac_file" || continue 3362 case $ac_file in 3363 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3364 ;; 3365 [ab].out ) 3366 # We found the default executable, but exeext='' is most 3367 # certainly right. 3368 break;; 3369 *.* ) 3370 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3371 then :; else 3372 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3373 fi 3374 # We set ac_cv_exeext here because the later test for it is not 3375 # safe: cross compilers may not add the suffix if given an `-o' 3376 # argument, so we may need to know it at that point already. 3377 # Even if this section looks crufty: it has the advantage of 3378 # actually working. 3379 break;; 3380 * ) 3381 break;; 3382 esac 3383 done 3384 test "$ac_cv_exeext" = no && ac_cv_exeext= 3385 3386 else 3387 ac_file='' 3388 fi 3389 if test -z "$ac_file"; then : 3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3391 $as_echo "no" >&6; } 3392 $as_echo "$as_me: failed program was:" >&5 3393 sed 's/^/| /' conftest.$ac_ext >&5 3394 3395 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3397 as_fn_error 77 "C compiler cannot create executables 3398 See \`config.log' for more details" "$LINENO" 5; } 3399 else 3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3401 $as_echo "yes" >&6; } 3402 fi 3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3404 $as_echo_n "checking for C compiler default output file name... " >&6; } 3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3406 $as_echo "$ac_file" >&6; } 3407 ac_exeext=$ac_cv_exeext 3408 3409 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3410 ac_clean_files=$ac_clean_files_save 3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3412 $as_echo_n "checking for suffix of executables... " >&6; } 3413 if { { ac_try="$ac_link" 3414 case "(($ac_try" in 3415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3416 *) ac_try_echo=$ac_try;; 3417 esac 3418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3419 $as_echo "$ac_try_echo"; } >&5 3420 (eval "$ac_link") 2>&5 3421 ac_status=$? 3422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3423 test $ac_status = 0; }; then : 3424 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3425 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3426 # work properly (i.e., refer to `conftest.exe'), while it won't with 3427 # `rm'. 3428 for ac_file in conftest.exe conftest conftest.*; do 3429 test -f "$ac_file" || continue 3430 case $ac_file in 3431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3432 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3433 break;; 3434 * ) break;; 3435 esac 3436 done 3437 else 3438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3440 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3441 See \`config.log' for more details" "$LINENO" 5; } 3442 fi 3443 rm -f conftest conftest$ac_cv_exeext 3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3445 $as_echo "$ac_cv_exeext" >&6; } 3446 3447 rm -f conftest.$ac_ext 3448 EXEEXT=$ac_cv_exeext 3449 ac_exeext=$EXEEXT 3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3451 /* end confdefs.h. */ 3452 #include <stdio.h> 3453 int 3454 main () 3455 { 3456 FILE *f = fopen ("conftest.out", "w"); 3457 return ferror (f) || fclose (f) != 0; 3458 3459 ; 3460 return 0; 3461 } 3462 _ACEOF 3463 ac_clean_files="$ac_clean_files conftest.out" 3464 # Check that the compiler produces executables we can run. If not, either 3465 # the compiler is broken, or we cross compile. 3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3467 $as_echo_n "checking whether we are cross compiling... " >&6; } 3468 if test "$cross_compiling" != yes; then 3469 { { ac_try="$ac_link" 3470 case "(($ac_try" in 3471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3472 *) ac_try_echo=$ac_try;; 3473 esac 3474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3475 $as_echo "$ac_try_echo"; } >&5 3476 (eval "$ac_link") 2>&5 3477 ac_status=$? 3478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3479 test $ac_status = 0; } 3480 if { ac_try='./conftest$ac_cv_exeext' 3481 { { case "(($ac_try" in 3482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3483 *) ac_try_echo=$ac_try;; 3484 esac 3485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3486 $as_echo "$ac_try_echo"; } >&5 3487 (eval "$ac_try") 2>&5 3488 ac_status=$? 3489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3490 test $ac_status = 0; }; }; then 3491 cross_compiling=no 3492 else 3493 if test "$cross_compiling" = maybe; then 3494 cross_compiling=yes 3495 else 3496 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3498 as_fn_error $? "cannot run C compiled programs. 3499 If you meant to cross compile, use \`--host'. 3500 See \`config.log' for more details" "$LINENO" 5; } 3501 fi 3502 fi 3503 fi 3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3505 $as_echo "$cross_compiling" >&6; } 3506 3507 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3508 ac_clean_files=$ac_clean_files_save 3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3510 $as_echo_n "checking for suffix of object files... " >&6; } 3511 if ${ac_cv_objext+:} false; then : 3512 $as_echo_n "(cached) " >&6 3513 else 3514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3515 /* end confdefs.h. */ 3516 3517 int 3518 main () 3519 { 3520 3521 ; 3522 return 0; 3523 } 3524 _ACEOF 3525 rm -f conftest.o conftest.obj 3526 if { { ac_try="$ac_compile" 3527 case "(($ac_try" in 3528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3529 *) ac_try_echo=$ac_try;; 3530 esac 3531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3532 $as_echo "$ac_try_echo"; } >&5 3533 (eval "$ac_compile") 2>&5 3534 ac_status=$? 3535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3536 test $ac_status = 0; }; then : 3537 for ac_file in conftest.o conftest.obj conftest.*; do 3538 test -f "$ac_file" || continue; 3539 case $ac_file in 3540 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3541 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3542 break;; 3543 esac 3544 done 3545 else 3546 $as_echo "$as_me: failed program was:" >&5 3547 sed 's/^/| /' conftest.$ac_ext >&5 3548 3549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3551 as_fn_error $? "cannot compute suffix of object files: cannot compile 3552 See \`config.log' for more details" "$LINENO" 5; } 3553 fi 3554 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3555 fi 3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3557 $as_echo "$ac_cv_objext" >&6; } 3558 OBJEXT=$ac_cv_objext 3559 ac_objext=$OBJEXT 3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3561 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3562 if ${ac_cv_c_compiler_gnu+:} false; then : 3563 $as_echo_n "(cached) " >&6 3564 else 3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3566 /* end confdefs.h. */ 3567 3568 int 3569 main () 3570 { 3571 #ifndef __GNUC__ 3572 choke me 3573 #endif 3574 3575 ; 3576 return 0; 3577 } 3578 _ACEOF 3579 if ac_fn_c_try_compile "$LINENO"; then : 3580 ac_compiler_gnu=yes 3581 else 3582 ac_compiler_gnu=no 3583 fi 3584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3585 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3586 3587 fi 3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3589 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3590 if test $ac_compiler_gnu = yes; then 3591 GCC=yes 3592 else 3593 GCC= 3594 fi 3595 ac_test_CFLAGS=${CFLAGS+set} 3596 ac_save_CFLAGS=$CFLAGS 3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3598 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3599 if ${ac_cv_prog_cc_g+:} false; then : 3600 $as_echo_n "(cached) " >&6 3601 else 3602 ac_save_c_werror_flag=$ac_c_werror_flag 3603 ac_c_werror_flag=yes 3604 ac_cv_prog_cc_g=no 3605 CFLAGS="-g" 3606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3607 /* end confdefs.h. */ 3608 3609 int 3610 main () 3611 { 3612 3613 ; 3614 return 0; 3615 } 3616 _ACEOF 3617 if ac_fn_c_try_compile "$LINENO"; then : 3618 ac_cv_prog_cc_g=yes 3619 else 3620 CFLAGS="" 3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3622 /* end confdefs.h. */ 3623 3624 int 3625 main () 3626 { 3627 3628 ; 3629 return 0; 3630 } 3631 _ACEOF 3632 if ac_fn_c_try_compile "$LINENO"; then : 3633 3634 else 3635 ac_c_werror_flag=$ac_save_c_werror_flag 3636 CFLAGS="-g" 3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3638 /* end confdefs.h. */ 3639 3640 int 3641 main () 3642 { 3643 3644 ; 3645 return 0; 3646 } 3647 _ACEOF 3648 if ac_fn_c_try_compile "$LINENO"; then : 3649 ac_cv_prog_cc_g=yes 3650 fi 3651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3652 fi 3653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3654 fi 3655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3656 ac_c_werror_flag=$ac_save_c_werror_flag 3657 fi 3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3659 $as_echo "$ac_cv_prog_cc_g" >&6; } 3660 if test "$ac_test_CFLAGS" = set; then 3661 CFLAGS=$ac_save_CFLAGS 3662 elif test $ac_cv_prog_cc_g = yes; then 3663 if test "$GCC" = yes; then 3664 CFLAGS="-g -O2" 3665 else 3666 CFLAGS="-g" 3667 fi 3668 else 3669 if test "$GCC" = yes; then 3670 CFLAGS="-O2" 3671 else 3672 CFLAGS= 3673 fi 3674 fi 3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3676 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3677 if ${ac_cv_prog_cc_c89+:} false; then : 3678 $as_echo_n "(cached) " >&6 3679 else 3680 ac_cv_prog_cc_c89=no 3681 ac_save_CC=$CC 3682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3683 /* end confdefs.h. */ 3684 #include <stdarg.h> 3685 #include <stdio.h> 3686 #include <sys/types.h> 3687 #include <sys/stat.h> 3688 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3689 struct buf { int x; }; 3690 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3691 static char *e (p, i) 3692 char **p; 3693 int i; 3694 { 3695 return p[i]; 3696 } 3697 static char *f (char * (*g) (char **, int), char **p, ...) 3698 { 3699 char *s; 3700 va_list v; 3701 va_start (v,p); 3702 s = g (p, va_arg (v,int)); 3703 va_end (v); 3704 return s; 3705 } 3706 3707 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3708 function prototypes and stuff, but not '\xHH' hex character constants. 3709 These don't provoke an error unfortunately, instead are silently treated 3710 as 'x'. The following induces an error, until -std is added to get 3711 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3712 array size at least. It's necessary to write '\x00'==0 to get something 3713 that's true only with -std. */ 3714 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3715 3716 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3717 inside strings and character constants. */ 3718 #define FOO(x) 'x' 3719 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3720 3721 int test (int i, double x); 3722 struct s1 {int (*f) (int a);}; 3723 struct s2 {int (*f) (double a);}; 3724 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3725 int argc; 3726 char **argv; 3727 int 3728 main () 3729 { 3730 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3731 ; 3732 return 0; 3733 } 3734 _ACEOF 3735 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3736 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3737 do 3738 CC="$ac_save_CC $ac_arg" 3739 if ac_fn_c_try_compile "$LINENO"; then : 3740 ac_cv_prog_cc_c89=$ac_arg 3741 fi 3742 rm -f core conftest.err conftest.$ac_objext 3743 test "x$ac_cv_prog_cc_c89" != "xno" && break 3744 done 3745 rm -f conftest.$ac_ext 3746 CC=$ac_save_CC 3747 3748 fi 3749 # AC_CACHE_VAL 3750 case "x$ac_cv_prog_cc_c89" in 3751 x) 3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3753 $as_echo "none needed" >&6; } ;; 3754 xno) 3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3756 $as_echo "unsupported" >&6; } ;; 3757 *) 3758 CC="$CC $ac_cv_prog_cc_c89" 3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3760 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3761 esac 3762 if test "x$ac_cv_prog_cc_c89" != xno; then : 3763 3764 fi 3765 3766 ac_ext=c