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