1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for cfengine-masterfiles 3.17.0. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 199 if (eval "$as_required") 2>/dev/null; then : 200 as_have_required=yes 201else 202 as_have_required=no 203fi 204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 205 206else 207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 208as_found=false 209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 210do 211 IFS=$as_save_IFS 212 test -z "$as_dir" && as_dir=. 213 as_found=: 214 case $as_dir in #( 215 /*) 216 for as_base in sh bash ksh sh5; do 217 # Try only shells that exist, to save several forks. 218 as_shell=$as_dir/$as_base 219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 221 CONFIG_SHELL=$as_shell as_have_required=yes 222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 223 break 2 224fi 225fi 226 done;; 227 esac 228 as_found=false 229done 230$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 232 CONFIG_SHELL=$SHELL as_have_required=yes 233fi; } 234IFS=$as_save_IFS 235 236 237 if test "x$CONFIG_SHELL" != x; then : 238 export CONFIG_SHELL 239 # We cannot yet assume a decent shell, so we have to provide a 240# neutralization value for shells without unset; and this also 241# works around shells that cannot unset nonexistent variables. 242# Preserve -v and -x to the replacement shell. 243BASH_ENV=/dev/null 244ENV=/dev/null 245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 246case $- in # (((( 247 *v*x* | *x*v* ) as_opts=-vx ;; 248 *v* ) as_opts=-v ;; 249 *x* ) as_opts=-x ;; 250 * ) as_opts= ;; 251esac 252exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 253# Admittedly, this is quite paranoid, since all the known shells bail 254# out after a failed `exec'. 255$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 256exit 255 257fi 258 259 if test x$as_have_required = xno; then : 260 $as_echo "$0: This script requires a shell more modern than all" 261 $as_echo "$0: the shells that I found on your system." 262 if test x${ZSH_VERSION+set} = xset ; then 263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 264 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 265 else 266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 267$0: including any error possibly output before this 268$0: message. Then install a modern shell, or manually run 269$0: the script under such a shell if you do have one." 270 fi 271 exit 1 272fi 273fi 274fi 275SHELL=${CONFIG_SHELL-/bin/sh} 276export SHELL 277# Unset more variables known to interfere with behavior of common tools. 278CLICOLOR_FORCE= GREP_OPTIONS= 279unset CLICOLOR_FORCE GREP_OPTIONS 280 281## --------------------- ## 282## M4sh Shell Functions. ## 283## --------------------- ## 284# as_fn_unset VAR 285# --------------- 286# Portably unset VAR. 287as_fn_unset () 288{ 289 { eval $1=; unset $1;} 290} 291as_unset=as_fn_unset 292 293# as_fn_set_status STATUS 294# ----------------------- 295# Set $? to STATUS, without forking. 296as_fn_set_status () 297{ 298 return $1 299} # as_fn_set_status 300 301# as_fn_exit STATUS 302# ----------------- 303# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 304as_fn_exit () 305{ 306 set +e 307 as_fn_set_status $1 308 exit $1 309} # as_fn_exit 310 311# as_fn_mkdir_p 312# ------------- 313# Create "$as_dir" as a directory, including parents if necessary. 314as_fn_mkdir_p () 315{ 316 317 case $as_dir in #( 318 -*) as_dir=./$as_dir;; 319 esac 320 test -d "$as_dir" || eval $as_mkdir_p || { 321 as_dirs= 322 while :; do 323 case $as_dir in #( 324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 325 *) as_qdir=$as_dir;; 326 esac 327 as_dirs="'$as_qdir' $as_dirs" 328 as_dir=`$as_dirname -- "$as_dir" || 329$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 330 X"$as_dir" : 'X\(//\)[^/]' \| \ 331 X"$as_dir" : 'X\(//\)$' \| \ 332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 333$as_echo X"$as_dir" | 334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 335 s//\1/ 336 q 337 } 338 /^X\(\/\/\)[^/].*/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)$/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\).*/{ 347 s//\1/ 348 q 349 } 350 s/.*/./; q'` 351 test -d "$as_dir" && break 352 done 353 test -z "$as_dirs" || eval "mkdir $as_dirs" 354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 355 356 357} # as_fn_mkdir_p 358 359# as_fn_executable_p FILE 360# ----------------------- 361# Test if FILE is an executable regular file. 362as_fn_executable_p () 363{ 364 test -f "$1" && test -x "$1" 365} # as_fn_executable_p 366# as_fn_append VAR VALUE 367# ---------------------- 368# Append the text in VALUE to the end of the definition contained in VAR. Take 369# advantage of any shell optimizations that allow amortized linear growth over 370# repeated appends, instead of the typical quadratic growth present in naive 371# implementations. 372if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 373 eval 'as_fn_append () 374 { 375 eval $1+=\$2 376 }' 377else 378 as_fn_append () 379 { 380 eval $1=\$$1\$2 381 } 382fi # as_fn_append 383 384# as_fn_arith ARG... 385# ------------------ 386# Perform arithmetic evaluation on the ARGs, and store the result in the 387# global $as_val. Take advantage of shells that can avoid forks. The arguments 388# must be portable across $(()) and expr. 389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 390 eval 'as_fn_arith () 391 { 392 as_val=$(( $* )) 393 }' 394else 395 as_fn_arith () 396 { 397 as_val=`expr "$@" || test $? -eq 1` 398 } 399fi # as_fn_arith 400 401 402# as_fn_error STATUS ERROR [LINENO LOG_FD] 403# ---------------------------------------- 404# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 405# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 406# script with STATUS, using 1 if that was 0. 407as_fn_error () 408{ 409 as_status=$1; test $as_status -eq 0 && as_status=1 410 if test "$4"; then 411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 413 fi 414 $as_echo "$as_me: error: $2" >&2 415 as_fn_exit $as_status 416} # as_fn_error 417 418if expr a : '\(a\)' >/dev/null 2>&1 && 419 test "X`expr 00001 : '.*\(...\)'`" = X001; then 420 as_expr=expr 421else 422 as_expr=false 423fi 424 425if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 426 as_basename=basename 427else 428 as_basename=false 429fi 430 431if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 432 as_dirname=dirname 433else 434 as_dirname=false 435fi 436 437as_me=`$as_basename -- "$0" || 438$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 439 X"$0" : 'X\(//\)$' \| \ 440 X"$0" : 'X\(/\)' \| . 2>/dev/null || 441$as_echo X/"$0" | 442 sed '/^.*\/\([^/][^/]*\)\/*$/{ 443 s//\1/ 444 q 445 } 446 /^X\/\(\/\/\)$/{ 447 s//\1/ 448 q 449 } 450 /^X\/\(\/\).*/{ 451 s//\1/ 452 q 453 } 454 s/.*/./; q'` 455 456# Avoid depending upon Character Ranges. 457as_cr_letters='abcdefghijklmnopqrstuvwxyz' 458as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 459as_cr_Letters=$as_cr_letters$as_cr_LETTERS 460as_cr_digits='0123456789' 461as_cr_alnum=$as_cr_Letters$as_cr_digits 462 463 464 as_lineno_1=$LINENO as_lineno_1a=$LINENO 465 as_lineno_2=$LINENO as_lineno_2a=$LINENO 466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 469 sed -n ' 470 p 471 /[$]LINENO/= 472 ' <$as_myself | 473 sed ' 474 s/[$]LINENO.*/&-/ 475 t lineno 476 b 477 :lineno 478 N 479 :loop 480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 481 t loop 482 s/-\n.*// 483 ' >$as_me.lineno && 484 chmod +x "$as_me.lineno" || 485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 486 487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 488 # already done that, so ensure we don't try to do so again and fall 489 # in an infinite loop. This has already happened in practice. 490 _as_can_reexec=no; export _as_can_reexec 491 # Don't try to exec as it changes $[0], causing all sort of problems 492 # (the dirname of $[0] is not the place where we might find the 493 # original and so on. Autoconf is especially sensitive to this). 494 . "./$as_me.lineno" 495 # Exit status is that of the last command. 496 exit 497} 498 499ECHO_C= ECHO_N= ECHO_T= 500case `echo -n x` in #((((( 501-n*) 502 case `echo 'xy\c'` in 503 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 504 xy) ECHO_C='\c';; 505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 506 ECHO_T=' ';; 507 esac;; 508*) 509 ECHO_N='-n';; 510esac 511 512rm -f conf$$ conf$$.exe conf$$.file 513if test -d conf$$.dir; then 514 rm -f conf$$.dir/conf$$.file 515else 516 rm -f conf$$.dir 517 mkdir conf$$.dir 2>/dev/null 518fi 519if (echo >conf$$.file) 2>/dev/null; then 520 if ln -s conf$$.file conf$$ 2>/dev/null; then 521 as_ln_s='ln -s' 522 # ... but there are two gotchas: 523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 525 # In both cases, we have to default to `cp -pR'. 526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 527 as_ln_s='cp -pR' 528 elif ln conf$$.file conf$$ 2>/dev/null; then 529 as_ln_s=ln 530 else 531 as_ln_s='cp -pR' 532 fi 533else 534 as_ln_s='cp -pR' 535fi 536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 537rmdir conf$$.dir 2>/dev/null 538 539if mkdir -p . 2>/dev/null; then 540 as_mkdir_p='mkdir -p "$as_dir"' 541else 542 test -d ./-p && rmdir ./-p 543 as_mkdir_p=false 544fi 545 546as_test_x='test -x' 547as_executable_p=as_fn_executable_p 548 549# Sed expression to map a string onto a valid CPP name. 550as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 551 552# Sed expression to map a string onto a valid variable name. 553as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 554 555 556test -n "$DJDIR" || exec 7<&0 </dev/null 557exec 6>&1 558 559# Name of the host. 560# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 561# so uname gets run too. 562ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 563 564# 565# Initializations. 566# 567ac_default_prefix=/usr/local 568ac_clean_files= 569ac_config_libobj_dir=. 570LIBOBJS= 571cross_compiling=no 572subdirs= 573MFLAGS= 574MAKEFLAGS= 575 576# Identity of this package. 577PACKAGE_NAME='cfengine-masterfiles' 578PACKAGE_TARNAME='cfengine-masterfiles' 579PACKAGE_VERSION='3.17.0' 580PACKAGE_STRING='cfengine-masterfiles 3.17.0' 581PACKAGE_BUGREPORT='' 582PACKAGE_URL='' 583 584ac_subst_vars='LTLIBOBJS 585LIBOBJS 586MASTERFILES_INSTALL_TARGETS 587MASTERFILES_TESTS 588HAVE_SHUNIT2_FALSE 589HAVE_SHUNIT2_TRUE 590HAVE_PKG_INSTALL_FALSE 591HAVE_PKG_INSTALL_TRUE 592ac_cv_shunit2 593ac_cv_pkg_install 594XNU_FALSE 595XNU_TRUE 596NETBSD_FALSE 597NETBSD_TRUE 598FREEBSD_FALSE 599FREEBSD_TRUE 600HPUX_FALSE 601HPUX_TRUE 602AIX_FALSE 603AIX_TRUE 604CYGWIN_FALSE 605CYGWIN_TRUE 606NT_FALSE 607NT_TRUE 608SOLARIS_FALSE 609SOLARIS_TRUE 610MACOSX_FALSE 611MACOSX_TRUE 612LINUX_FALSE 613LINUX_TRUE 614enterprise_dir 615HAVE_ENTERPRISE_FALSE 616HAVE_ENTERPRISE_TRUE 617core_dir 618HAVE_CORE_FALSE 619HAVE_CORE_TRUE 620MAINT 621MAINTAINER_MODE_FALSE 622MAINTAINER_MODE_TRUE 623AM_BACKSLASH 624AM_DEFAULT_VERBOSITY 625AM_DEFAULT_V 626AM_V 627am__untar 628am__tar 629AMTAR 630am__leading_dot 631SET_MAKE 632AWK 633mkdir_p 634MKDIR_P 635INSTALL_STRIP_PROGRAM 636STRIP 637install_sh 638MAKEINFO 639AUTOHEADER 640AUTOMAKE 641AUTOCONF 642ACLOCAL 643VERSION 644PACKAGE 645CYGPATH_W 646am__isrc 647INSTALL_DATA 648INSTALL_SCRIPT 649INSTALL_PROGRAM 650target_os 651target_vendor 652target_cpu 653target 654host_os 655host_vendor 656host_cpu 657host 658build_os 659build_vendor 660build_cpu 661build 662RELEASE 663target_alias 664host_alias 665build_alias 666LIBS 667ECHO_T 668ECHO_N 669ECHO_C 670DEFS 671mandir 672localedir 673libdir 674psdir 675pdfdir 676dvidir 677htmldir 678infodir 679docdir 680oldincludedir 681includedir 682runstatedir 683localstatedir 684sharedstatedir 685sysconfdir 686datadir 687datarootdir 688libexecdir 689sbindir 690bindir 691program_transform_name 692prefix 693exec_prefix 694PACKAGE_URL 695PACKAGE_BUGREPORT 696PACKAGE_STRING 697PACKAGE_VERSION 698PACKAGE_TARNAME 699PACKAGE_NAME 700PATH_SEPARATOR 701SHELL' 702ac_subst_files='' 703ac_user_opts=' 704enable_option_checking 705enable_silent_rules 706enable_maintainer_mode 707with_core 708with_enterprise 709' 710 ac_precious_vars='build_alias 711host_alias 712target_alias' 713 714 715# Initialize some variables set by options. 716ac_init_help= 717ac_init_version=false 718ac_unrecognized_opts= 719ac_unrecognized_sep= 720# The variables have the same names as the options, with 721# dashes changed to underlines. 722cache_file=/dev/null 723exec_prefix=NONE 724no_create= 725no_recursion= 726prefix=NONE 727program_prefix=NONE 728program_suffix=NONE 729program_transform_name=s,x,x, 730silent= 731site= 732srcdir= 733verbose= 734x_includes=NONE 735x_libraries=NONE 736 737# Installation directory options. 738# These are left unexpanded so users can "make install exec_prefix=/foo" 739# and all the variables that are supposed to be based on exec_prefix 740# by default will actually change. 741# Use braces instead of parens because sh, perl, etc. also accept them. 742# (The list follows the same order as the GNU Coding Standards.) 743bindir='${exec_prefix}/bin' 744sbindir='${exec_prefix}/sbin' 745libexecdir='${exec_prefix}/libexec' 746datarootdir='${prefix}/share' 747datadir='${datarootdir}' 748sysconfdir='${prefix}/etc' 749sharedstatedir='${prefix}/com' 750localstatedir='${prefix}/var' 751runstatedir='${localstatedir}/run' 752includedir='${prefix}/include' 753oldincludedir='/usr/include' 754docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 755infodir='${datarootdir}/info' 756htmldir='${docdir}' 757dvidir='${docdir}' 758pdfdir='${docdir}' 759psdir='${docdir}' 760libdir='${exec_prefix}/lib' 761localedir='${datarootdir}/locale' 762mandir='${datarootdir}/man' 763 764ac_prev= 765ac_dashdash= 766for ac_option 767do 768 # If the previous option needs an argument, assign it. 769 if test -n "$ac_prev"; then 770 eval $ac_prev=\$ac_option 771 ac_prev= 772 continue 773 fi 774 775 case $ac_option in 776 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 777 *=) ac_optarg= ;; 778 *) ac_optarg=yes ;; 779 esac 780 781 # Accept the important Cygnus configure options, so we can diagnose typos. 782 783 case $ac_dashdash$ac_option in 784 --) 785 ac_dashdash=yes ;; 786 787 -bindir | --bindir | --bindi | --bind | --bin | --bi) 788 ac_prev=bindir ;; 789 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 790 bindir=$ac_optarg ;; 791 792 -build | --build | --buil | --bui | --bu) 793 ac_prev=build_alias ;; 794 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 795 build_alias=$ac_optarg ;; 796 797 -cache-file | --cache-file | --cache-fil | --cache-fi \ 798 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 799 ac_prev=cache_file ;; 800 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 801 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 802 cache_file=$ac_optarg ;; 803 804 --config-cache | -C) 805 cache_file=config.cache ;; 806 807 -datadir | --datadir | --datadi | --datad) 808 ac_prev=datadir ;; 809 -datadir=* | --datadir=* | --datadi=* | --datad=*) 810 datadir=$ac_optarg ;; 811 812 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 813 | --dataroo | --dataro | --datar) 814 ac_prev=datarootdir ;; 815 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 816 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 817 datarootdir=$ac_optarg ;; 818 819 -disable-* | --disable-*) 820 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 821 # Reject names that are not valid shell variable names. 822 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 823 as_fn_error $? "invalid feature name: $ac_useropt" 824 ac_useropt_orig=$ac_useropt 825 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 826 case $ac_user_opts in 827 *" 828"enable_$ac_useropt" 829"*) ;; 830 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 831 ac_unrecognized_sep=', ';; 832 esac 833 eval enable_$ac_useropt=no ;; 834 835 -docdir | --docdir | --docdi | --doc | --do) 836 ac_prev=docdir ;; 837 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 838 docdir=$ac_optarg ;; 839 840 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 841 ac_prev=dvidir ;; 842 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 843 dvidir=$ac_optarg ;; 844 845 -enable-* | --enable-*) 846 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 847 # Reject names that are not valid shell variable names. 848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 849 as_fn_error $? "invalid feature name: $ac_useropt" 850 ac_useropt_orig=$ac_useropt 851 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 852 case $ac_user_opts in 853 *" 854"enable_$ac_useropt" 855"*) ;; 856 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 857 ac_unrecognized_sep=', ';; 858 esac 859 eval enable_$ac_useropt=\$ac_optarg ;; 860 861 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 862 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 863 | --exec | --exe | --ex) 864 ac_prev=exec_prefix ;; 865 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 866 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 867 | --exec=* | --exe=* | --ex=*) 868 exec_prefix=$ac_optarg ;; 869 870 -gas | --gas | --ga | --g) 871 # Obsolete; use --with-gas. 872 with_gas=yes ;; 873 874 -help | --help | --hel | --he | -h) 875 ac_init_help=long ;; 876 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 877 ac_init_help=recursive ;; 878 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 879 ac_init_help=short ;; 880 881 -host | --host | --hos | --ho) 882 ac_prev=host_alias ;; 883 -host=* | --host=* | --hos=* | --ho=*) 884 host_alias=$ac_optarg ;; 885 886 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 887 ac_prev=htmldir ;; 888 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 889 | --ht=*) 890 htmldir=$ac_optarg ;; 891 892 -includedir | --includedir | --includedi | --included | --include \ 893 | --includ | --inclu | --incl | --inc) 894 ac_prev=includedir ;; 895 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 896 | --includ=* | --inclu=* | --incl=* | --inc=*) 897 includedir=$ac_optarg ;; 898 899 -infodir | --infodir | --infodi | --infod | --info | --inf) 900 ac_prev=infodir ;; 901 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 902 infodir=$ac_optarg ;; 903 904 -libdir | --libdir | --libdi | --libd) 905 ac_prev=libdir ;; 906 -libdir=* | --libdir=* | --libdi=* | --libd=*) 907 libdir=$ac_optarg ;; 908 909 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 910 | --libexe | --libex | --libe) 911 ac_prev=libexecdir ;; 912 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 913 | --libexe=* | --libex=* | --libe=*) 914 libexecdir=$ac_optarg ;; 915 916 -localedir | --localedir | --localedi | --localed | --locale) 917 ac_prev=localedir ;; 918 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 919 localedir=$ac_optarg ;; 920 921 -localstatedir | --localstatedir | --localstatedi | --localstated \ 922 | --localstate | --localstat | --localsta | --localst | --locals) 923 ac_prev=localstatedir ;; 924 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 925 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 926 localstatedir=$ac_optarg ;; 927 928 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 929 ac_prev=mandir ;; 930 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 931 mandir=$ac_optarg ;; 932 933 -nfp | --nfp | --nf) 934 # Obsolete; use --without-fp. 935 with_fp=no ;; 936 937 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 938 | --no-cr | --no-c | -n) 939 no_create=yes ;; 940 941 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 942 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 943 no_recursion=yes ;; 944 945 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 946 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 947 | --oldin | --oldi | --old | --ol | --o) 948 ac_prev=oldincludedir ;; 949 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 950 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 951 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 952 oldincludedir=$ac_optarg ;; 953 954 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 955 ac_prev=prefix ;; 956 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 957 prefix=$ac_optarg ;; 958 959 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 960 | --program-pre | --program-pr | --program-p) 961 ac_prev=program_prefix ;; 962 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 963 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 964 program_prefix=$ac_optarg ;; 965 966 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 967 | --program-suf | --program-su | --program-s) 968 ac_prev=program_suffix ;; 969 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 970 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 971 program_suffix=$ac_optarg ;; 972 973 -program-transform-name | --program-transform-name \ 974 | --program-transform-nam | --program-transform-na \ 975 | --program-transform-n | --program-transform- \ 976 | --program-transform | --program-transfor \ 977 | --program-transfo | --program-transf \ 978 | --program-trans | --program-tran \ 979 | --progr-tra | --program-tr | --program-t) 980 ac_prev=program_transform_name ;; 981 -program-transform-name=* | --program-transform-name=* \ 982 | --program-transform-nam=* | --program-transform-na=* \ 983 | --program-transform-n=* | --program-transform-=* \ 984 | --program-transform=* | --program-transfor=* \ 985 | --program-transfo=* | --program-transf=* \ 986 | --program-trans=* | --program-tran=* \ 987 | --progr-tra=* | --program-tr=* | --program-t=*) 988 program_transform_name=$ac_optarg ;; 989 990 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 991 ac_prev=pdfdir ;; 992 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 993 pdfdir=$ac_optarg ;; 994 995 -psdir | --psdir | --psdi | --psd | --ps) 996 ac_prev=psdir ;; 997 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 998 psdir=$ac_optarg ;; 999 1000 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1001 | -silent | --silent | --silen | --sile | --sil) 1002 silent=yes ;; 1003 1004 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1005 | --runstate | --runstat | --runsta | --runst | --runs \ 1006 | --run | --ru | --r) 1007 ac_prev=runstatedir ;; 1008 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1009 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1010 | --run=* | --ru=* | --r=*) 1011 runstatedir=$ac_optarg ;; 1012 1013 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1014 ac_prev=sbindir ;; 1015 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1016 | --sbi=* | --sb=*) 1017 sbindir=$ac_optarg ;; 1018 1019 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1020 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1021 | --sharedst | --shareds | --shared | --share | --shar \ 1022 | --sha | --sh) 1023 ac_prev=sharedstatedir ;; 1024 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1025 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1026 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1027 | --sha=* | --sh=*) 1028 sharedstatedir=$ac_optarg ;; 1029 1030 -site | --site | --sit) 1031 ac_prev=site ;; 1032 -site=* | --site=* | --sit=*) 1033 site=$ac_optarg ;; 1034 1035 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1036 ac_prev=srcdir ;; 1037 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1038 srcdir=$ac_optarg ;; 1039 1040 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1041 | --syscon | --sysco | --sysc | --sys | --sy) 1042 ac_prev=sysconfdir ;; 1043 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1044 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1045 sysconfdir=$ac_optarg ;; 1046 1047 -target | --target | --targe | --targ | --tar | --ta | --t) 1048 ac_prev=target_alias ;; 1049 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1050 target_alias=$ac_optarg ;; 1051 1052 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1053 verbose=yes ;; 1054 1055 -version | --version | --versio | --versi | --vers | -V) 1056 ac_init_version=: ;; 1057 1058 -with-* | --with-*) 1059 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1060 # Reject names that are not valid shell variable names. 1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1062 as_fn_error $? "invalid package name: $ac_useropt" 1063 ac_useropt_orig=$ac_useropt 1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1065 case $ac_user_opts in 1066 *" 1067"with_$ac_useropt" 1068"*) ;; 1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1070 ac_unrecognized_sep=', ';; 1071 esac 1072 eval with_$ac_useropt=\$ac_optarg ;; 1073 1074 -without-* | --without-*) 1075 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1076 # Reject names that are not valid shell variable names. 1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1078 as_fn_error $? "invalid package name: $ac_useropt" 1079 ac_useropt_orig=$ac_useropt 1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1081 case $ac_user_opts in 1082 *" 1083"with_$ac_useropt" 1084"*) ;; 1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1086 ac_unrecognized_sep=', ';; 1087 esac 1088 eval with_$ac_useropt=no ;; 1089 1090 --x) 1091 # Obsolete; use --with-x. 1092 with_x=yes ;; 1093 1094 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1095 | --x-incl | --x-inc | --x-in | --x-i) 1096 ac_prev=x_includes ;; 1097 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1098 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1099 x_includes=$ac_optarg ;; 1100 1101 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1102 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1103 ac_prev=x_libraries ;; 1104 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1105 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1106 x_libraries=$ac_optarg ;; 1107 1108 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1109Try \`$0 --help' for more information" 1110 ;; 1111 1112 *=*) 1113 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1114 # Reject names that are not valid shell variable names. 1115 case $ac_envvar in #( 1116 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1117 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1118 esac 1119 eval $ac_envvar=\$ac_optarg 1120 export $ac_envvar ;; 1121 1122 *) 1123 # FIXME: should be removed in autoconf 3.0. 1124 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1125 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1126 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1127 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1128 ;; 1129 1130 esac 1131done 1132 1133if test -n "$ac_prev"; then 1134 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1135 as_fn_error $? "missing argument to $ac_option" 1136fi 1137 1138if test -n "$ac_unrecognized_opts"; then 1139 case $enable_option_checking in 1140 no) ;; 1141 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1142 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1143 esac 1144fi 1145 1146# Check all directory arguments for consistency. 1147for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1148 datadir sysconfdir sharedstatedir localstatedir includedir \ 1149 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1150 libdir localedir mandir runstatedir 1151do 1152 eval ac_val=\$$ac_var 1153 # Remove trailing slashes. 1154 case $ac_val in 1155 */ ) 1156 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1157 eval $ac_var=\$ac_val;; 1158 esac 1159 # Be sure to have absolute directory names. 1160 case $ac_val in 1161 [\\/$]* | ?:[\\/]* ) continue;; 1162 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1163 esac 1164 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1165done 1166 1167# There might be people who depend on the old broken behavior: `$host' 1168# used to hold the argument of --host etc. 1169# FIXME: To remove some day. 1170build=$build_alias 1171host=$host_alias 1172target=$target_alias 1173 1174# FIXME: To remove some day. 1175if test "x$host_alias" != x; then 1176 if test "x$build_alias" = x; then 1177 cross_compiling=maybe 1178 elif test "x$build_alias" != "x$host_alias"; then 1179 cross_compiling=yes 1180 fi 1181fi 1182 1183ac_tool_prefix= 1184test -n "$host_alias" && ac_tool_prefix=$host_alias- 1185 1186test "$silent" = yes && exec 6>/dev/null 1187 1188 1189ac_pwd=`pwd` && test -n "$ac_pwd" && 1190ac_ls_di=`ls -di .` && 1191ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1192 as_fn_error $? "working directory cannot be determined" 1193test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1194 as_fn_error $? "pwd does not report name of working directory" 1195 1196 1197# Find the source files, if location was not specified. 1198if test -z "$srcdir"; then 1199 ac_srcdir_defaulted=yes 1200 # Try the directory containing this script, then the parent directory. 1201 ac_confdir=`$as_dirname -- "$as_myself" || 1202$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1203 X"$as_myself" : 'X\(//\)[^/]' \| \ 1204 X"$as_myself" : 'X\(//\)$' \| \ 1205 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1206$as_echo X"$as_myself" | 1207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1208 s//\1/ 1209 q 1210 } 1211 /^X\(\/\/\)[^/].*/{ 1212 s//\1/ 1213 q 1214 } 1215 /^X\(\/\/\)$/{ 1216 s//\1/ 1217 q 1218 } 1219 /^X\(\/\).*/{ 1220 s//\1/ 1221 q 1222 } 1223 s/.*/./; q'` 1224 srcdir=$ac_confdir 1225 if test ! -r "$srcdir/$ac_unique_file"; then 1226 srcdir=.. 1227 fi 1228else 1229 ac_srcdir_defaulted=no 1230fi 1231if test ! -r "$srcdir/$ac_unique_file"; then 1232 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1233 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1234fi 1235ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1236ac_abs_confdir=`( 1237 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1238 pwd)` 1239# When building in place, set srcdir=. 1240if test "$ac_abs_confdir" = "$ac_pwd"; then 1241 srcdir=. 1242fi 1243# Remove unnecessary trailing slashes from srcdir. 1244# Double slashes in file names in object file debugging info 1245# mess up M-x gdb in Emacs. 1246case $srcdir in 1247*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1248esac 1249for ac_var in $ac_precious_vars; do 1250 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1251 eval ac_env_${ac_var}_value=\$${ac_var} 1252 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1253 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1254done 1255 1256# 1257# Report the --help message. 1258# 1259if test "$ac_init_help" = "long"; then 1260 # Omit some internal or obsolete options to make the list less imposing. 1261 # This message is too long to be a string in the A/UX 3.1 sh. 1262 cat <<_ACEOF 1263\`configure' configures cfengine-masterfiles 3.17.0 to adapt to many kinds of systems. 1264 1265Usage: $0 [OPTION]... [VAR=VALUE]... 1266 1267To assign environment variables (e.g., CC, CFLAGS...), specify them as 1268VAR=VALUE. See below for descriptions of some of the useful variables. 1269 1270Defaults for the options are specified in brackets. 1271 1272Configuration: 1273 -h, --help display this help and exit 1274 --help=short display options specific to this package 1275 --help=recursive display the short help of all the included packages 1276 -V, --version display version information and exit 1277 -q, --quiet, --silent do not print \`checking ...' messages 1278 --cache-file=FILE cache test results in FILE [disabled] 1279 -C, --config-cache alias for \`--cache-file=config.cache' 1280 -n, --no-create do not create output files 1281 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1282 1283Installation directories: 1284 --prefix=PREFIX install architecture-independent files in PREFIX 1285 [$ac_default_prefix] 1286 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1287 [PREFIX] 1288 1289By default, \`make install' will install all the files in 1290\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1291an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1292for instance \`--prefix=\$HOME'. 1293 1294For better control, use the options below. 1295 1296Fine tuning of the installation directories: 1297 --bindir=DIR user executables [EPREFIX/bin] 1298 --sbindir=DIR system admin executables [EPREFIX/sbin] 1299 --libexecdir=DIR program executables [EPREFIX/libexec] 1300 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1301 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1302 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1303 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1304 --libdir=DIR object code libraries [EPREFIX/lib] 1305 --includedir=DIR C header files [PREFIX/include] 1306 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1307 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1308 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1309 --infodir=DIR info documentation [DATAROOTDIR/info] 1310 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1311 --mandir=DIR man documentation [DATAROOTDIR/man] 1312 --docdir=DIR documentation root 1313 [DATAROOTDIR/doc/cfengine-masterfiles] 1314 --htmldir=DIR html documentation [DOCDIR] 1315 --dvidir=DIR dvi documentation [DOCDIR] 1316 --pdfdir=DIR pdf documentation [DOCDIR] 1317 --psdir=DIR ps documentation [DOCDIR] 1318_ACEOF 1319 1320 cat <<\_ACEOF 1321 1322Program names: 1323 --program-prefix=PREFIX prepend PREFIX to installed program names 1324 --program-suffix=SUFFIX append SUFFIX to installed program names 1325 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1326 1327System types: 1328 --build=BUILD configure for building on BUILD [guessed] 1329 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1330 --target=TARGET configure for building compilers for TARGET [HOST] 1331_ACEOF 1332fi 1333 1334if test -n "$ac_init_help"; then 1335 case $ac_init_help in 1336 short | recursive ) echo "Configuration of cfengine-masterfiles 3.17.0:";; 1337 esac 1338 cat <<\_ACEOF 1339 1340Optional Features: 1341 --disable-option-checking ignore unrecognized --enable/--with options 1342 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1343 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1344 --enable-silent-rules less verbose build output (undo: "make V=1") 1345 --disable-silent-rules verbose build output (undo: "make V=0") 1346 --disable-maintainer-mode 1347 disable make rules and dependencies not useful (and 1348 sometimes confusing) to the casual installer 1349 1350Optional Packages: 1351 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1352 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1353 --with-core=<core> Build against core in directory <core>. Defaults to 1354 "../core". If not found there or if --with-core=no 1355 then tests are disabled 1356 --with-enterprise=<enterprise> 1357 Build against enterprise in directory <enterprise>. 1358 Defaults to "../enterprise" 1359 1360Report bugs to the package provider. 1361_ACEOF 1362ac_status=$? 1363fi 1364 1365if test "$ac_init_help" = "recursive"; then 1366 # If there are subdirs, report their specific --help. 1367 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1368 test -d "$ac_dir" || 1369 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1370 continue 1371 ac_builddir=. 1372 1373case "$ac_dir" in 1374.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1375*) 1376 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1377 # A ".." for each directory in $ac_dir_suffix. 1378 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1379 case $ac_top_builddir_sub in 1380 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1381 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1382 esac ;; 1383esac 1384ac_abs_top_builddir=$ac_pwd 1385ac_abs_builddir=$ac_pwd$ac_dir_suffix 1386# for backward compatibility: 1387ac_top_builddir=$ac_top_build_prefix 1388 1389case $srcdir in 1390 .) # We are building in place. 1391 ac_srcdir=. 1392 ac_top_srcdir=$ac_top_builddir_sub 1393 ac_abs_top_srcdir=$ac_pwd ;; 1394 [\\/]* | ?:[\\/]* ) # Absolute name. 1395 ac_srcdir=$srcdir$ac_dir_suffix; 1396 ac_top_srcdir=$srcdir 1397 ac_abs_top_srcdir=$srcdir ;; 1398 *) # Relative name. 1399 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1400 ac_top_srcdir=$ac_top_build_prefix$srcdir 1401 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1402esac 1403ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1404 1405 cd "$ac_dir" || { ac_status=$?; continue; } 1406 # Check for guested configure. 1407 if test -f "$ac_srcdir/configure.gnu"; then 1408 echo && 1409 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1410 elif test -f "$ac_srcdir/configure"; then 1411 echo && 1412 $SHELL "$ac_srcdir/configure" --help=recursive 1413 else 1414 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1415 fi || ac_status=$? 1416 cd "$ac_pwd" || { ac_status=$?; break; } 1417 done 1418fi 1419 1420test -n "$ac_init_help" && exit $ac_status 1421if $ac_init_version; then 1422 cat <<\_ACEOF 1423cfengine-masterfiles configure 3.17.0 1424generated by GNU Autoconf 2.69 1425 1426Copyright (C) 2012 Free Software Foundation, Inc. 1427This configure script is free software; the Free Software Foundation 1428gives unlimited permission to copy, distribute and modify it. 1429_ACEOF 1430 exit 1431fi 1432 1433## ------------------------ ## 1434## Autoconf initialization. ## 1435## ------------------------ ## 1436cat >config.log <<_ACEOF 1437This file contains any messages produced by compilers while 1438running configure, to aid debugging if configure makes a mistake. 1439 1440It was created by cfengine-masterfiles $as_me 3.17.0, which was 1441generated by GNU Autoconf 2.69. Invocation command line was 1442 1443 $ $0 $@ 1444 1445_ACEOF 1446exec 5>>config.log 1447{ 1448cat <<_ASUNAME 1449## --------- ## 1450## Platform. ## 1451## --------- ## 1452 1453hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1454uname -m = `(uname -m) 2>/dev/null || echo unknown` 1455uname -r = `(uname -r) 2>/dev/null || echo unknown` 1456uname -s = `(uname -s) 2>/dev/null || echo unknown` 1457uname -v = `(uname -v) 2>/dev/null || echo unknown` 1458 1459/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1460/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1461 1462/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1463/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1464/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1465/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1466/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1467/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1468/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1469 1470_ASUNAME 1471 1472as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1473for as_dir in $PATH 1474do 1475 IFS=$as_save_IFS 1476 test -z "$as_dir" && as_dir=. 1477 $as_echo "PATH: $as_dir" 1478 done 1479IFS=$as_save_IFS 1480 1481} >&5 1482 1483cat >&5 <<_ACEOF 1484 1485 1486## ----------- ## 1487## Core tests. ## 1488## ----------- ## 1489 1490_ACEOF 1491 1492 1493# Keep a trace of the command line. 1494# Strip out --no-create and --no-recursion so they do not pile up. 1495# Strip out --silent because we don't want to record it for future runs. 1496# Also quote any args containing shell meta-characters. 1497# Make two passes to allow for proper duplicate-argument suppression. 1498ac_configure_args= 1499ac_configure_args0= 1500ac_configure_args1= 1501ac_must_keep_next=false 1502for ac_pass in 1 2 1503do 1504 for ac_arg 1505 do 1506 case $ac_arg in 1507 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1508 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1509 | -silent | --silent | --silen | --sile | --sil) 1510 continue ;; 1511 *\'*) 1512 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1513 esac 1514 case $ac_pass in 1515 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1516 2) 1517 as_fn_append ac_configure_args1 " '$ac_arg'" 1518 if test $ac_must_keep_next = true; then 1519 ac_must_keep_next=false # Got value, back to normal. 1520 else 1521 case $ac_arg in 1522 *=* | --config-cache | -C | -disable-* | --disable-* \ 1523 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1524 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1525 | -with-* | --with-* | -without-* | --without-* | --x) 1526 case "$ac_configure_args0 " in 1527 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1528 esac 1529 ;; 1530 -* ) ac_must_keep_next=true ;; 1531 esac 1532 fi 1533 as_fn_append ac_configure_args " '$ac_arg'" 1534 ;; 1535 esac 1536 done 1537done 1538{ ac_configure_args0=; unset ac_configure_args0;} 1539{ ac_configure_args1=; unset ac_configure_args1;} 1540 1541# When interrupted or exit'd, cleanup temporary files, and complete 1542# config.log. We remove comments because anyway the quotes in there 1543# would cause problems or look ugly. 1544# WARNING: Use '\'' to represent an apostrophe within the trap. 1545# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1546trap 'exit_status=$? 1547 # Save into config.log some information that might help in debugging. 1548 { 1549 echo 1550 1551 $as_echo "## ---------------- ## 1552## Cache variables. ## 1553## ---------------- ##" 1554 echo 1555 # The following way of writing the cache mishandles newlines in values, 1556( 1557 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1558 eval ac_val=\$$ac_var 1559 case $ac_val in #( 1560 *${as_nl}*) 1561 case $ac_var in #( 1562 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1563$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1564 esac 1565 case $ac_var in #( 1566 _ | IFS | as_nl) ;; #( 1567 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1568 *) { eval $ac_var=; unset $ac_var;} ;; 1569 esac ;; 1570 esac 1571 done 1572 (set) 2>&1 | 1573 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1574 *${as_nl}ac_space=\ *) 1575 sed -n \ 1576 "s/'\''/'\''\\\\'\'''\''/g; 1577 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1578 ;; #( 1579 *) 1580 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1581 ;; 1582 esac | 1583 sort 1584) 1585 echo 1586 1587 $as_echo "## ----------------- ## 1588## Output variables. ## 1589## ----------------- ##" 1590 echo 1591 for ac_var in $ac_subst_vars 1592 do 1593 eval ac_val=\$$ac_var 1594 case $ac_val in 1595 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1596 esac 1597 $as_echo "$ac_var='\''$ac_val'\''" 1598 done | sort 1599 echo 1600 1601 if test -n "$ac_subst_files"; then 1602 $as_echo "## ------------------- ## 1603## File substitutions. ## 1604## ------------------- ##" 1605 echo 1606 for ac_var in $ac_subst_files 1607 do 1608 eval ac_val=\$$ac_var 1609 case $ac_val in 1610 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1611 esac 1612 $as_echo "$ac_var='\''$ac_val'\''" 1613 done | sort 1614 echo 1615 fi 1616 1617 if test -s confdefs.h; then 1618 $as_echo "## ----------- ## 1619## confdefs.h. ## 1620## ----------- ##" 1621 echo 1622 cat confdefs.h 1623 echo 1624 fi 1625 test "$ac_signal" != 0 && 1626 $as_echo "$as_me: caught signal $ac_signal" 1627 $as_echo "$as_me: exit $exit_status" 1628 } >&5 1629 rm -f core *.core core.conftest.* && 1630 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1631 exit $exit_status 1632' 0 1633for ac_signal in 1 2 13 15; do 1634 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1635done 1636ac_signal=0 1637 1638# confdefs.h avoids OS command line length limits that DEFS can exceed. 1639rm -f -r conftest* confdefs.h 1640 1641$as_echo "/* confdefs.h */" > confdefs.h 1642 1643# Predefined preprocessor variables. 1644 1645cat >>confdefs.h <<_ACEOF 1646#define PACKAGE_NAME "$PACKAGE_NAME" 1647_ACEOF 1648 1649cat >>confdefs.h <<_ACEOF 1650#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1651_ACEOF 1652 1653cat >>confdefs.h <<_ACEOF 1654#define PACKAGE_VERSION "$PACKAGE_VERSION" 1655_ACEOF 1656 1657cat >>confdefs.h <<_ACEOF 1658#define PACKAGE_STRING "$PACKAGE_STRING" 1659_ACEOF 1660 1661cat >>confdefs.h <<_ACEOF 1662#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1663_ACEOF 1664 1665cat >>confdefs.h <<_ACEOF 1666#define PACKAGE_URL "$PACKAGE_URL" 1667_ACEOF 1668 1669 1670# Let the site file select an alternate cache file if it wants to. 1671# Prefer an explicitly selected file to automatically selected ones. 1672ac_site_file1=NONE 1673ac_site_file2=NONE 1674if test -n "$CONFIG_SITE"; then 1675 # We do not want a PATH search for config.site. 1676 case $CONFIG_SITE in #(( 1677 -*) ac_site_file1=./$CONFIG_SITE;; 1678 */*) ac_site_file1=$CONFIG_SITE;; 1679 *) ac_site_file1=./$CONFIG_SITE;; 1680 esac 1681elif test "x$prefix" != xNONE; then 1682 ac_site_file1=$prefix/share/config.site 1683 ac_site_file2=$prefix/etc/config.site 1684else 1685 ac_site_file1=$ac_default_prefix/share/config.site 1686 ac_site_file2=$ac_default_prefix/etc/config.site 1687fi 1688for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1689do 1690 test "x$ac_site_file" = xNONE && continue 1691 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1692 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1693$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1694 sed 's/^/| /' "$ac_site_file" >&5 1695 . "$ac_site_file" \ 1696 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1697$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1698as_fn_error $? "failed to load site script $ac_site_file 1699See \`config.log' for more details" "$LINENO" 5; } 1700 fi 1701done 1702 1703if test -r "$cache_file"; then 1704 # Some versions of bash will fail to source /dev/null (special files 1705 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1706 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1707 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1708$as_echo "$as_me: loading cache $cache_file" >&6;} 1709 case $cache_file in 1710 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1711 *) . "./$cache_file";; 1712 esac 1713 fi 1714else 1715 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1716$as_echo "$as_me: creating cache $cache_file" >&6;} 1717 >$cache_file 1718fi 1719 1720# Check that the precious variables saved in the cache have kept the same 1721# value. 1722ac_cache_corrupted=false 1723for ac_var in $ac_precious_vars; do 1724 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1725 eval ac_new_set=\$ac_env_${ac_var}_set 1726 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1727 eval ac_new_val=\$ac_env_${ac_var}_value 1728 case $ac_old_set,$ac_new_set in 1729 set,) 1730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1731$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1732 ac_cache_corrupted=: ;; 1733 ,set) 1734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1735$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1736 ac_cache_corrupted=: ;; 1737 ,);; 1738 *) 1739 if test "x$ac_old_val" != "x$ac_new_val"; then 1740 # differences in whitespace do not lead to failure. 1741 ac_old_val_w=`echo x $ac_old_val` 1742 ac_new_val_w=`echo x $ac_new_val` 1743 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1744 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1745$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1746 ac_cache_corrupted=: 1747 else 1748 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1749$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1750 eval $ac_var=\$ac_old_val 1751 fi 1752 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1753$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1754 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1755$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1756 fi;; 1757 esac 1758 # Pass precious variables to config.status. 1759 if test "$ac_new_set" = set; then 1760 case $ac_new_val in 1761 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1762 *) ac_arg=$ac_var=$ac_new_val ;; 1763 esac 1764 case " $ac_configure_args " in 1765 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1766 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1767 esac 1768 fi 1769done 1770if $ac_cache_corrupted; then 1771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1772$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1774$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1775 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1776fi 1777## -------------------- ## 1778## Main body of script. ## 1779## -------------------- ## 1780 1781ac_ext=c 1782ac_cpp='$CPP $CPPFLAGS' 1783ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1784ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1785ac_compiler_gnu=$ac_cv_c_compiler_gnu 1786 1787 1788 1789cfengine_version=3.17.0 1790 1791 1792 1793 1794 1795if test -n "$RELEASE"; then : 1796 RELEASE="$RELEASE" 1797 1798else 1799 RELEASE=1 1800 1801fi 1802 1803ac_aux_dir= 1804for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1805 if test -f "$ac_dir/install-sh"; then 1806 ac_aux_dir=$ac_dir 1807 ac_install_sh="$ac_aux_dir/install-sh -c" 1808 break 1809 elif test -f "$ac_dir/install.sh"; then 1810 ac_aux_dir=$ac_dir 1811 ac_install_sh="$ac_aux_dir/install.sh -c" 1812 break 1813 elif test -f "$ac_dir/shtool"; then 1814 ac_aux_dir=$ac_dir 1815 ac_install_sh="$ac_aux_dir/shtool install -c" 1816 break 1817 fi 1818done 1819if test -z "$ac_aux_dir"; then 1820 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1821fi 1822 1823# These three variables are undocumented and unsupported, 1824# and are intended to be withdrawn in a future Autoconf release. 1825# They can cause serious problems if a builder's source tree is in a directory 1826# whose full name contains unusual characters. 1827ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1828ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1829ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1830 1831 1832# Make sure we can run config.sub. 1833$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1834 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 1835 1836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 1837$as_echo_n "checking build system type... " >&6; } 1838if ${ac_cv_build+:} false; then : 1839 $as_echo_n "(cached) " >&6 1840else 1841 ac_build_alias=$build_alias 1842test "x$ac_build_alias" = x && 1843 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1844test "x$ac_build_alias" = x && 1845 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 1846ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1847 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 1848 1849fi 1850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 1851$as_echo "$ac_cv_build" >&6; } 1852case $ac_cv_build in 1853*-*-*) ;; 1854*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 1855esac 1856build=$ac_cv_build 1857ac_save_IFS=$IFS; IFS='-' 1858set x $ac_cv_build 1859shift 1860build_cpu=$1 1861build_vendor=$2 1862shift; shift 1863# Remember, the first character of IFS is used to create $*, 1864# except with old shells: 1865build_os=$* 1866IFS=$ac_save_IFS 1867case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1868 1869 1870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 1871$as_echo_n "checking host system type... " >&6; } 1872if ${ac_cv_host+:} false; then : 1873 $as_echo_n "(cached) " >&6 1874else 1875 if test "x$host_alias" = x; then 1876 ac_cv_host=$ac_cv_build 1877else 1878 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1879 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 1880fi 1881 1882fi 1883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 1884$as_echo "$ac_cv_host" >&6; } 1885case $ac_cv_host in 1886*-*-*) ;; 1887*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 1888esac 1889host=$ac_cv_host 1890ac_save_IFS=$IFS; IFS='-' 1891set x $ac_cv_host 1892shift 1893host_cpu=$1 1894host_vendor=$2 1895shift; shift 1896# Remember, the first character of IFS is used to create $*, 1897# except with old shells: 1898host_os=$* 1899IFS=$ac_save_IFS 1900case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1901 1902 1903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 1904$as_echo_n "checking target system type... " >&6; } 1905if ${ac_cv_target+:} false; then : 1906 $as_echo_n "(cached) " >&6 1907else 1908 if test "x$target_alias" = x; then 1909 ac_cv_target=$ac_cv_host 1910else 1911 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1912 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 1913fi 1914 1915fi 1916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 1917$as_echo "$ac_cv_target" >&6; } 1918case $ac_cv_target in 1919*-*-*) ;; 1920*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 1921esac 1922target=$ac_cv_target 1923ac_save_IFS=$IFS; IFS='-' 1924set x $ac_cv_target 1925shift 1926target_cpu=$1 1927target_vendor=$2 1928shift; shift 1929# Remember, the first character of IFS is used to create $*, 1930# except with old shells: 1931target_os=$* 1932IFS=$ac_save_IFS 1933case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1934 1935 1936# The aliases save the names the user supplied, while $host etc. 1937# will get canonicalized. 1938test -n "$target_alias" && 1939 test "$program_prefix$program_suffix$program_transform_name" = \ 1940 NONENONEs,x,x, && 1941 program_prefix=${target_alias}- 1942 1943 1944am__api_version='1.15' 1945 1946# Find a good install program. We prefer a C program (faster), 1947# so one script is as good as another. But avoid the broken or 1948# incompatible versions: 1949# SysV /etc/install, /usr/sbin/install 1950# SunOS /usr/etc/install 1951# IRIX /sbin/install 1952# AIX /bin/install 1953# AmigaOS /C/install, which installs bootblocks on floppy discs 1954# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1955# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1956# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1957# OS/2's system install, which has a completely different semantic 1958# ./install, which can be erroneously created by make from ./install.sh. 1959# Reject install programs that cannot install multiple files. 1960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 1961$as_echo_n "checking for a BSD-compatible install... " >&6; } 1962if test -z "$INSTALL"; then 1963if ${ac_cv_path_install+:} false; then : 1964 $as_echo_n "(cached) " >&6 1965else 1966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1967for as_dir in $PATH 1968do 1969 IFS=$as_save_IFS 1970 test -z "$as_dir" && as_dir=. 1971 # Account for people who put trailing slashes in PATH elements. 1972case $as_dir/ in #(( 1973 ./ | .// | /[cC]/* | \ 1974 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1975 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1976 /usr/ucb/* ) ;; 1977 *) 1978 # OSF1 and SCO ODT 3.0 have their own names for install. 1979 # Don't use installbsd from OSF since it installs stuff as root 1980 # by default. 1981 for ac_prog in ginstall scoinst install; do 1982 for ac_exec_ext in '' $ac_executable_extensions; do 1983 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1984 if test $ac_prog = install && 1985 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1986 # AIX install. It has an incompatible calling convention. 1987 : 1988 elif test $ac_prog = install && 1989 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1990 # program-specific install script used by HP pwplus--don't use. 1991 : 1992 else 1993 rm -rf conftest.one conftest.two conftest.dir 1994 echo one > conftest.one 1995 echo two > conftest.two 1996 mkdir conftest.dir 1997 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 1998 test -s conftest.one && test -s conftest.two && 1999 test -s conftest.dir/conftest.one && 2000 test -s conftest.dir/conftest.two 2001 then 2002 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2003 break 3 2004 fi 2005 fi 2006 fi 2007 done 2008 done 2009 ;; 2010esac 2011 2012 done 2013IFS=$as_save_IFS 2014 2015rm -rf conftest.one conftest.two conftest.dir 2016 2017fi 2018 if test "${ac_cv_path_install+set}" = set; then 2019 INSTALL=$ac_cv_path_install 2020 else 2021 # As a last resort, use the slow shell script. Don't cache a 2022 # value for INSTALL within a source directory, because that will 2023 # break other packages using the cache if that directory is 2024 # removed, or if the value is a relative name. 2025 INSTALL=$ac_install_sh 2026 fi 2027fi 2028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2029$as_echo "$INSTALL" >&6; } 2030 2031# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2032# It thinks the first close brace ends the variable substitution. 2033test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2034 2035test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2036 2037test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2038 2039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2040$as_echo_n "checking whether build environment is sane... " >&6; } 2041# Reject unsafe characters in $srcdir or the absolute working directory 2042# name. Accept space and tab only in the latter. 2043am_lf=' 2044' 2045case `pwd` in 2046 *[\\\"\#\$\&\'\`$am_lf]*) 2047 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2048esac 2049case $srcdir in 2050 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2051 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2052esac 2053 2054# Do 'set' in a subshell so we don't clobber the current shell's 2055# arguments. Must try -L first in case configure is actually a 2056# symlink; some systems play weird games with the mod time of symlinks 2057# (eg FreeBSD returns the mod time of the symlink's containing 2058# directory). 2059if ( 2060 am_has_slept=no 2061 for am_try in 1 2; do 2062 echo "timestamp, slept: $am_has_slept" > conftest.file 2063 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2064 if test "$*" = "X"; then 2065 # -L didn't work. 2066 set X `ls -t "$srcdir/configure" conftest.file` 2067 fi 2068 if test "$*" != "X $srcdir/configure conftest.file" \ 2069 && test "$*" != "X conftest.file $srcdir/configure"; then 2070 2071 # If neither matched, then we have a broken ls. This can happen 2072 # if, for instance, CONFIG_SHELL is bash and it inherits a 2073 # broken ls alias from the environment. This has actually 2074 # happened. Such a system could not be considered "sane". 2075 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2076 alias in your environment" "$LINENO" 5 2077 fi 2078 if test "$2" = conftest.file || test $am_try -eq 2; then 2079 break 2080 fi 2081 # Just in case. 2082 sleep 1 2083 am_has_slept=yes 2084 done 2085 test "$2" = conftest.file 2086 ) 2087then 2088 # Ok. 2089 : 2090else 2091 as_fn_error $? "newly created file is older than distributed files! 2092Check your system clock" "$LINENO" 5 2093fi 2094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2095$as_echo "yes" >&6; } 2096# If we didn't sleep, we still need to ensure time stamps of config.status and 2097# generated files are strictly newer. 2098am_sleep_pid= 2099if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2100 ( sleep 1 ) & 2101 am_sleep_pid=$! 2102fi 2103 2104rm -f conftest.file 2105 2106test "$program_prefix" != NONE && 2107 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2108# Use a double $ so make ignores it. 2109test "$program_suffix" != NONE && 2110 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2111# Double any \ or $. 2112# By default was `s,x,x', remove it if useless. 2113ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2114program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2115 2116# Expand $ac_aux_dir to an absolute path. 2117am_aux_dir=`cd "$ac_aux_dir" && pwd` 2118 2119if test x"${MISSING+set}" != xset; then 2120 case $am_aux_dir in 2121 *\ * | *\ *) 2122 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2123 *) 2124 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2125 esac 2126fi 2127# Use eval to expand $SHELL 2128if eval "$MISSING --is-lightweight"; then 2129 am_missing_run="$MISSING " 2130else 2131 am_missing_run= 2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2133$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2134fi 2135 2136if test x"${install_sh+set}" != xset; then 2137 case $am_aux_dir in 2138 *\ * | *\ *) 2139 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2140 *) 2141 install_sh="\${SHELL} $am_aux_dir/install-sh" 2142 esac 2143fi 2144 2145# Installed binaries are usually stripped using 'strip' when the user 2146# run "make install-strip". However 'strip' might not be the right 2147# tool to use in cross-compilation environments, therefore Automake 2148# will honor the 'STRIP' environment variable to overrule this program. 2149if test "$cross_compiling" != no; then 2150 if test -n "$ac_tool_prefix"; then 2151 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2152set dummy ${ac_tool_prefix}strip; ac_word=$2 2153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2154$as_echo_n "checking for $ac_word... " >&6; } 2155if ${ac_cv_prog_STRIP+:} false; then : 2156 $as_echo_n "(cached) " >&6 2157else 2158 if test -n "$STRIP"; then 2159 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2160else 2161as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2162for as_dir in $PATH 2163do 2164 IFS=$as_save_IFS 2165 test -z "$as_dir" && as_dir=. 2166 for ac_exec_ext in '' $ac_executable_extensions; do 2167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2168 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2170 break 2 2171 fi 2172done 2173 done 2174IFS=$as_save_IFS 2175 2176fi 2177fi 2178STRIP=$ac_cv_prog_STRIP 2179if test -n "$STRIP"; then 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2181$as_echo "$STRIP" >&6; } 2182else 2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2184$as_echo "no" >&6; } 2185fi 2186 2187 2188fi 2189if test -z "$ac_cv_prog_STRIP"; then 2190 ac_ct_STRIP=$STRIP 2191 # Extract the first word of "strip", so it can be a program name with args. 2192set dummy strip; ac_word=$2 2193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2194$as_echo_n "checking for $ac_word... " >&6; } 2195if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2196 $as_echo_n "(cached) " >&6 2197else 2198 if test -n "$ac_ct_STRIP"; then 2199 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2200else 2201as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2202for as_dir in $PATH 2203do 2204 IFS=$as_save_IFS 2205 test -z "$as_dir" && as_dir=. 2206 for ac_exec_ext in '' $ac_executable_extensions; do 2207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2208 ac_cv_prog_ac_ct_STRIP="strip" 2209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2210 break 2 2211 fi 2212done 2213 done 2214IFS=$as_save_IFS 2215 2216fi 2217fi 2218ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2219if test -n "$ac_ct_STRIP"; then 2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2221$as_echo "$ac_ct_STRIP" >&6; } 2222else 2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2224$as_echo "no" >&6; } 2225fi 2226 2227 if test "x$ac_ct_STRIP" = x; then 2228 STRIP=":" 2229 else 2230 case $cross_compiling:$ac_tool_warned in 2231yes:) 2232{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2233$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2234ac_tool_warned=yes ;; 2235esac 2236 STRIP=$ac_ct_STRIP 2237 fi 2238else 2239 STRIP="$ac_cv_prog_STRIP" 2240fi 2241 2242fi 2243INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2244 2245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2246$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2247if test -z "$MKDIR_P"; then 2248 if ${ac_cv_path_mkdir+:} false; then : 2249 $as_echo_n "(cached) " >&6 2250else 2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2252for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2253do 2254 IFS=$as_save_IFS 2255 test -z "$as_dir" && as_dir=. 2256 for ac_prog in mkdir gmkdir; do 2257 for ac_exec_ext in '' $ac_executable_extensions; do 2258 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2259 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2260 'mkdir (GNU coreutils) '* | \ 2261 'mkdir (coreutils) '* | \ 2262 'mkdir (fileutils) '4.1*) 2263 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2264 break 3;; 2265 esac 2266 done 2267 done 2268 done 2269IFS=$as_save_IFS 2270 2271fi 2272 2273 test -d ./--version && rmdir ./--version 2274 if test "${ac_cv_path_mkdir+set}" = set; then 2275 MKDIR_P="$ac_cv_path_mkdir -p" 2276 else 2277 # As a last resort, use the slow shell script. Don't cache a 2278 # value for MKDIR_P within a source directory, because that will 2279 # break other packages using the cache if that directory is 2280 # removed, or if the value is a relative name. 2281 MKDIR_P="$ac_install_sh -d" 2282 fi 2283fi 2284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2285$as_echo "$MKDIR_P" >&6; } 2286 2287for ac_prog in gawk mawk nawk awk 2288do 2289 # Extract the first word of "$ac_prog", so it can be a program name with args. 2290set dummy $ac_prog; ac_word=$2 2291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2292$as_echo_n "checking for $ac_word... " >&6; } 2293if ${ac_cv_prog_AWK+:} false; then : 2294 $as_echo_n "(cached) " >&6 2295else 2296 if test -n "$AWK"; then 2297 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2298else 2299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2300for as_dir in $PATH 2301do 2302 IFS=$as_save_IFS 2303 test -z "$as_dir" && as_dir=. 2304 for ac_exec_ext in '' $ac_executable_extensions; do 2305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2306 ac_cv_prog_AWK="$ac_prog" 2307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2308 break 2 2309 fi 2310done 2311 done 2312IFS=$as_save_IFS 2313 2314fi 2315fi 2316AWK=$ac_cv_prog_AWK 2317if test -n "$AWK"; then 2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2319$as_echo "$AWK" >&6; } 2320else 2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2322$as_echo "no" >&6; } 2323fi 2324 2325 2326 test -n "$AWK" && break 2327done 2328 2329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2330$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2331set x ${MAKE-make} 2332ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2333if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2334 $as_echo_n "(cached) " >&6 2335else 2336 cat >conftest.make <<\_ACEOF 2337SHELL = /bin/sh 2338all: 2339 @echo '@@@%%%=$(MAKE)=@@@%%%' 2340_ACEOF 2341# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2342case `${MAKE-make} -f conftest.make 2>/dev/null` in 2343 *@@@%%%=?*=@@@%%%*) 2344 eval ac_cv_prog_make_${ac_make}_set=yes;; 2345 *) 2346 eval ac_cv_prog_make_${ac_make}_set=no;; 2347esac 2348rm -f conftest.make 2349fi 2350if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2352$as_echo "yes" >&6; } 2353 SET_MAKE= 2354else 2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2356$as_echo "no" >&6; } 2357 SET_MAKE="MAKE=${MAKE-make}" 2358fi 2359 2360rm -rf .tst 2>/dev/null 2361mkdir .tst 2>/dev/null 2362if test -d .tst; then 2363 am__leading_dot=. 2364else 2365 am__leading_dot=_ 2366fi 2367rmdir .tst 2>/dev/null 2368 2369# Check whether --enable-silent-rules was given. 2370if test "${enable_silent_rules+set}" = set; then : 2371 enableval=$enable_silent_rules; 2372fi 2373 2374case $enable_silent_rules in # ((( 2375 yes) AM_DEFAULT_VERBOSITY=0;; 2376 no) AM_DEFAULT_VERBOSITY=1;; 2377 *) AM_DEFAULT_VERBOSITY=1;; 2378esac 2379am_make=${MAKE-make} 2380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2381$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2382if ${am_cv_make_support_nested_variables+:} false; then : 2383 $as_echo_n "(cached) " >&6 2384else 2385 if $as_echo 'TRUE=$(BAR$(V)) 2386BAR0=false 2387BAR1=true 2388V=1 2389am__doit: 2390 @$(TRUE) 2391.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2392 am_cv_make_support_nested_variables=yes 2393else 2394 am_cv_make_support_nested_variables=no 2395fi 2396fi 2397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2398$as_echo "$am_cv_make_support_nested_variables" >&6; } 2399if test $am_cv_make_support_nested_variables = yes; then 2400 AM_V='$(V)' 2401 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2402else 2403 AM_V=$AM_DEFAULT_VERBOSITY 2404 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2405fi 2406AM_BACKSLASH='\' 2407 2408if test "`cd $srcdir && pwd`" != "`pwd`"; then 2409 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2410 # is not polluted with repeated "-I." 2411 am__isrc=' -I$(srcdir)' 2412 # test to see if srcdir already configured 2413 if test -f $srcdir/config.status; then 2414 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2415 fi 2416fi 2417 2418# test whether we have cygpath 2419if test -z "$CYGPATH_W"; then 2420 if (cygpath --version) >/dev/null 2>/dev/null; then 2421 CYGPATH_W='cygpath -w' 2422 else 2423 CYGPATH_W=echo 2424 fi 2425fi 2426 2427 2428# Define the identity of the package. 2429 PACKAGE='cfengine-masterfiles' 2430 VERSION='3.17.0' 2431 2432 2433cat >>confdefs.h <<_ACEOF 2434#define PACKAGE "$PACKAGE" 2435_ACEOF 2436 2437 2438cat >>confdefs.h <<_ACEOF 2439#define VERSION "$VERSION" 2440_ACEOF 2441 2442# Some tools Automake needs. 2443 2444ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2445 2446 2447AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2448 2449 2450AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2451 2452 2453AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2454 2455 2456MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2457 2458# For better backward compatibility. To be removed once Automake 1.9.x 2459# dies out for good. For more background, see: 2460# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2461# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2462mkdir_p='$(MKDIR_P)' 2463 2464# We need awk for the "check" target (and possibly the TAP driver). The 2465# system "awk" is bad on some platforms. 2466# Always define AMTAR for backward compatibility. Yes, it's still used 2467# in the wild :-( We should find a proper way to deprecate it ... 2468AMTAR='$${TAR-tar}' 2469 2470 2471# We'll loop over all known methods to create a tar archive until one works. 2472_am_tools='gnutar plaintar pax cpio none' 2473 2474# The POSIX 1988 'ustar' format is defined with fixed-size fields. 2475 # There is notably a 21 bits limit for the UID and the GID. In fact, 2476 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 2477 # and bug#13588). 2478 am_max_uid=2097151 # 2^21 - 1 2479 am_max_gid=$am_max_uid 2480 # The $UID and $GID variables are not portable, so we need to resort 2481 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 2482 # below are definitely unexpected, so allow the users to see them 2483 # (that is, avoid stderr redirection). 2484 am_uid=`id -u || echo unknown` 2485 am_gid=`id -g || echo unknown` 2486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 2487$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 2488 if test $am_uid -le $am_max_uid; then 2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2490$as_echo "yes" >&6; } 2491 else 2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2493$as_echo "no" >&6; } 2494 _am_tools=none 2495 fi 2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 2497$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 2498 if test $am_gid -le $am_max_gid; then 2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2500$as_echo "yes" >&6; } 2501 else 2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2503$as_echo "no" >&6; } 2504 _am_tools=none 2505 fi 2506 2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 2508$as_echo_n "checking how to create a ustar tar archive... " >&6; } 2509 2510 # Go ahead even if we have the value already cached. We do so because we 2511 # need to set the values for the 'am__tar' and 'am__untar' variables. 2512 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 2513 2514 for _am_tool in $_am_tools; do 2515 case $_am_tool in 2516 gnutar) 2517 for _am_tar in tar gnutar gtar; do 2518 { echo "$as_me:$LINENO: $_am_tar --version" >&5 2519 ($_am_tar --version) >&5 2>&5 2520 ac_status=$? 2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2522 (exit $ac_status); } && break 2523 done 2524 2525 # Work around CFEngine redmine #6925 by using --hard-dereference. 2526 { echo "$as_me:$LINENO: $_am_tar --hard-dereference 2>&1 | grep 'unrecognized option'" >&5 2527 ($_am_tar --hard-dereference 2>&1 | grep 'unrecognized option') >&5 2>&5 2528 ac_status=$? 2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2530 (exit $ac_status); } 2531 # Check if --hard-dereference is supported by this version of GNU Tar 2532 if test "$ac_status" -eq 0; then 2533 _am_gnutar_hard_dereference=false 2534 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 2535 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 2536 else 2537 _am_gnutar_hard_dereference=true 2538 am__tar="$_am_tar --format=ustar --hard-dereference -chf - "'"$$tardir"' 2539 am__tar_="$_am_tar --format=ustar --hard-dereference -chf - "'"$tardir"' 2540 fi 2541 2542 am__untar="$_am_tar -xf -" 2543 ;; 2544 plaintar) 2545 # Must skip GNU tar: if it does not support --format= it doesn't create 2546 # ustar tarball either. 2547 (tar --version) >/dev/null 2>&1 && continue 2548 am__tar='tar chf - "$$tardir"' 2549 am__tar_='tar chf - "$tardir"' 2550 am__untar='tar xf -' 2551 ;; 2552 pax) 2553 am__tar='pax -L -x ustar -w "$$tardir"' 2554 am__tar_='pax -L -x ustar -w "$tardir"' 2555 am__untar='pax -r' 2556 ;; 2557 cpio) 2558 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 2559 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 2560 am__untar='cpio -i -H ustar -d' 2561 ;; 2562 none) 2563 am__tar=false 2564 am__tar_=false 2565 am__untar=false 2566 ;; 2567 esac 2568 2569 # If the value was cached, stop now. We just wanted to have am__tar 2570 # and am__untar set. 2571 test -n "${am_cv_prog_tar_ustar}" && break 2572 2573 # tar/untar a dummy directory, and stop if the command works. 2574 rm -rf conftest.dir 2575 mkdir conftest.dir 2576 echo GrepMe > conftest.dir/file 2577 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 2578 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 2579 ac_status=$? 2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2581 (exit $ac_status); } 2582 rm -rf conftest.dir 2583 if test -s conftest.tar; then 2584 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 2585 ($am__untar <conftest.tar) >&5 2>&5 2586 ac_status=$? 2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2588 (exit $ac_status); } 2589 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 2590 (cat conftest.dir/file) >&5 2>&5 2591 ac_status=$? 2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2593 (exit $ac_status); } 2594 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 2595 fi 2596 done 2597 rm -rf conftest.dir 2598 2599 if ${am_cv_prog_tar_ustar+:} false; then : 2600 $as_echo_n "(cached) " >&6 2601else 2602 am_cv_prog_tar_ustar=$_am_tool 2603fi 2604 2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 2606$as_echo "$am_cv_prog_tar_ustar" >&6; } 2607 2608 if test $_am_tool = gnutar; then 2609 # We've checked already, so we're just printing here 2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GNU tar supports --hard-dereference" >&5 2611$as_echo_n "checking if GNU tar supports --hard-dereference... " >&6; } 2612 if test x$_am_gnutar_hard_dereference = xtrue; then 2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2614$as_echo "yes" >&6; } 2615 else 2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2617$as_echo "no" >&6; } 2618 fi 2619 fi 2620 2621 2622 2623 2624 2625 2626# POSIX will say in a future version that running "rm -f" with no argument 2627# is OK; and we want to be able to make that assumption in our Makefile 2628# recipes. So use an aggressive probe to check that the usage we want is 2629# actually supported "in the wild" to an acceptable degree. 2630# See automake bug#10828. 2631# To make any issue more visible, cause the running configure to be aborted 2632# by default if the 'rm' program in use doesn't match our expectations; the 2633# user can still override this though. 2634if rm -f && rm -fr && rm -rf; then : OK; else 2635 cat >&2 <<'END' 2636Oops! 2637 2638Your 'rm' program seems unable to run without file operands specified 2639on the command line, even when the '-f' option is present. This is contrary 2640to the behaviour of most rm programs out there, and not conforming with 2641the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2642 2643Please tell bug-automake@gnu.org about your system, including the value 2644of your $PATH and any error possibly output before this message. This 2645can help us improve future automake versions. 2646 2647END 2648 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2649 echo 'Configuration will proceed anyway, since you have set the' >&2 2650 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2651 echo >&2 2652 else 2653 cat >&2 <<'END' 2654Aborting the configuration process, to ensure you take notice of the issue. 2655 2656You can download and install GNU coreutils to get an 'rm' implementation 2657that behaves properly: <http://www.gnu.org/software/coreutils/>. 2658 2659If you want to complete the configuration process using your problematic 2660'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2661to "yes", and re-run configure. 2662 2663END 2664 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2665 fi 2666fi 2667 2668 2669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2670$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2671 # Check whether --enable-maintainer-mode was given. 2672if test "${enable_maintainer_mode+set}" = set; then : 2673 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2674else 2675 USE_MAINTAINER_MODE=yes 2676fi 2677 2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2679$as_echo "$USE_MAINTAINER_MODE" >&6; } 2680 if test $USE_MAINTAINER_MODE = yes; then 2681 MAINTAINER_MODE_TRUE= 2682 MAINTAINER_MODE_FALSE='#' 2683else 2684 MAINTAINER_MODE_TRUE='#' 2685 MAINTAINER_MODE_FALSE= 2686fi 2687 2688 MAINT=$MAINTAINER_MODE_TRUE 2689 2690 2691 2692 2693cat >>confdefs.h <<_ACEOF 2694#define ABS_TOP_SRCDIR "`cd -- "$srcdir"; pwd`" 2695_ACEOF 2696 2697 2698# Check whether --enable-silent-rules was given. 2699if test "${enable_silent_rules+set}" = set; then : 2700 enableval=$enable_silent_rules; 2701fi 2702 2703case $enable_silent_rules in # ((( 2704 yes) AM_DEFAULT_VERBOSITY=0;; 2705 no) AM_DEFAULT_VERBOSITY=1;; 2706 *) AM_DEFAULT_VERBOSITY=0;; 2707esac 2708am_make=${MAKE-make} 2709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2710$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2711if ${am_cv_make_support_nested_variables+:} false; then : 2712 $as_echo_n "(cached) " >&6 2713else 2714 if $as_echo 'TRUE=$(BAR$(V)) 2715BAR0=false 2716BAR1=true 2717V=1 2718am__doit: 2719 @$(TRUE) 2720.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2721 am_cv_make_support_nested_variables=yes 2722else 2723 am_cv_make_support_nested_variables=no 2724fi 2725fi 2726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2727$as_echo "$am_cv_make_support_nested_variables" >&6; } 2728if test $am_cv_make_support_nested_variables = yes; then 2729 AM_V='$(V)' 2730 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2731else 2732 AM_V=$AM_DEFAULT_VERBOSITY 2733 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2734fi 2735AM_BACKSLASH='\' 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750# Check whether --with-core was given. 2751if test "${with_core+set}" = set; then : 2752 withval=$with_core; if test "x$with_core" == "xno"; then : 2753 2754 core_dir= 2755 2756else 2757 2758 if test -d "$with_core/libpromises"; then : 2759 2760 core_dir="$with_core" 2761 2762else 2763 2764 as_fn_error $? "$with_core is not a valid core directory (--with-core=$with_core)" "$LINENO" 5 2765 2766fi 2767 2768fi 2769else 2770 if test -d `pwd`/../core/libpromises 2771 then 2772 core_dir="`pwd`/../core" 2773 else 2774 core_dir= 2775 fi 2776 2777fi 2778 2779 2780 if test "x$core_dir" != x; then 2781 HAVE_CORE_TRUE= 2782 HAVE_CORE_FALSE='#' 2783else 2784 HAVE_CORE_TRUE='#' 2785 HAVE_CORE_FALSE= 2786fi 2787 2788if test "x$core_dir" != x; then : 2789 2790 case $core_dir in #( 2791 /*) : 2792 ;; #( 2793 *) : 2794 core_dir=`pwd`/$core_dir ;; 2795esac 2796 2797 2798fi 2799 2800 2801 2802 2803# Check whether --with-enterprise was given. 2804if test "${with_enterprise+set}" = set; then : 2805 withval=$with_enterprise; if test "x$with_enterprise" == "xno"; then : 2806 2807 enterprise_dir= 2808 2809else 2810 2811 enterprise_dir=$with_enterprise 2812 2813fi 2814else 2815 enterprise_dir=`pwd`/../enterprise 2816 2817fi 2818 2819case $enterprise_dir in #( 2820 /*) : 2821 ;; #( 2822 *) : 2823 enterprise_dir=`pwd`/$enterprise_dir ;; 2824esac 2825 if test -d "$enterprise_dir/libcfenterprise"; then 2826 HAVE_ENTERPRISE_TRUE= 2827 HAVE_ENTERPRISE_FALSE='#' 2828else 2829 HAVE_ENTERPRISE_TRUE='#' 2830 HAVE_ENTERPRISE_FALSE= 2831fi 2832 2833 2834 2835 2836if test x"$prefix" = xNONE; then : 2837 prefix=/var/cfengine 2838 2839fi 2840 2841bindir="${bindir:-${exec_prefix}/bin}" 2842_lcl_receval=""${bindir}"" 2843bindir=`(test "x$prefix" = xNONE && prefix="$ac_default_prefix" 2844 test "x$exec_prefix" = xNONE && exec_prefix="${prefix}" 2845 _lcl_receval_old='' 2846 while test "$_lcl_receval_old" != "$_lcl_receval"; do 2847 _lcl_receval_old="$_lcl_receval" 2848 eval _lcl_receval="\"$_lcl_receval\"" 2849 done 2850 echo "$_lcl_receval")` 2851bindir="${bindir}" 2852 2853 2854 2855# 2856# Copyright 2017 Northern.tech AS 2857# 2858# This file is part of CFEngine 3 - written and maintained by Northern.tech AS. 2859# 2860# This program is free software; you can redistribute it and/or modify it 2861# under the terms of the GNU General Public License as published by the 2862# Free Software Foundation; version 3. 2863# 2864# This program is distributed in the hope that it will be useful, 2865# but WITHOUT ANY WARRANTY; without even the implied warranty of 2866# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2867# GNU General Public License for more details. 2868# 2869# You should have received a copy of the GNU General Public License 2870# along with this program; if not, write to the Free Software 2871# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA 2872# 2873# To the extent this program is licensed as part of the Enterprise 2874# versions of CFEngine, the applicable Commercial Open Source License 2875# (COSL) may apply to this file if you as a licensee so wish it. See 2876# included file COSL.txt. 2877# 2878# 2879# OS kernels conditionals. Don't use those unless it is really needed (if code 2880# depends on the *kernel* feature, and even then -- some kernel features are 2881# shared by different kernels). 2882# 2883# Good example: use LINUX to select code which uses inotify and netlink sockets. 2884# Bad example: use LINUX to select code which parses output of coreutils' ps(1). 2885# 2886 if test -n "`echo ${target_os} | grep linux`"; then 2887 LINUX_TRUE= 2888 LINUX_FALSE='#' 2889else 2890 LINUX_TRUE='#' 2891 LINUX_FALSE= 2892fi 2893 2894 if test -n "`echo ${target_os} | grep darwin`"; then 2895 MACOSX_TRUE= 2896 MACOSX_FALSE='#' 2897else 2898 MACOSX_TRUE='#' 2899 MACOSX_FALSE= 2900fi 2901 2902 if test -n "`(echo ${target_os} | egrep 'solaris|sunos')`"; then 2903 SOLARIS_TRUE= 2904 SOLARIS_FALSE='#' 2905else 2906 SOLARIS_TRUE='#' 2907 SOLARIS_FALSE= 2908fi 2909 2910 if test -n "`(echo ${target_os} | egrep 'mingw|cygwin')`"; then 2911 NT_TRUE= 2912 NT_FALSE='#' 2913else 2914 NT_TRUE='#' 2915 NT_FALSE= 2916fi 2917 2918 if test -n "`(echo ${target_os} | egrep 'cygwin')`"; then 2919 CYGWIN_TRUE= 2920 CYGWIN_FALSE='#' 2921else 2922 CYGWIN_TRUE='#' 2923 CYGWIN_FALSE= 2924fi 2925 2926 if test -n "`(echo ${target_os} | grep aix)`"; then 2927 AIX_TRUE= 2928 AIX_FALSE='#' 2929else 2930 AIX_TRUE='#' 2931 AIX_FALSE= 2932fi 2933 2934 if test -n "`(echo ${target_os} | egrep 'hpux|hp-ux')`"; then 2935 HPUX_TRUE= 2936 HPUX_FALSE='#' 2937else 2938 HPUX_TRUE='#' 2939 HPUX_FALSE= 2940fi 2941 2942 if test -n "`(echo ${target_os} | grep freebsd)`"; then 2943 FREEBSD_TRUE= 2944 FREEBSD_FALSE='#' 2945else 2946 FREEBSD_TRUE='#' 2947 FREEBSD_FALSE= 2948fi 2949 2950 if test -n "`(echo ${target_os} | grep netbsd)`"; then 2951 NETBSD_TRUE= 2952 NETBSD_FALSE='#' 2953else 2954 NETBSD_TRUE='#' 2955 NETBSD_FALSE= 2956fi 2957 2958 if test -n "`(echo ${target_os} | grep darwin)`"; then 2959 XNU_TRUE= 2960 XNU_FALSE='#' 2961else 2962 XNU_TRUE='#' 2963 XNU_FALSE= 2964fi 2965 2966 2967 2968# Extract the first word of "pkg_install", so it can be a program name with args. 2969set dummy pkg_install; ac_word=$2 2970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2971$as_echo_n "checking for $ac_word... " >&6; } 2972if ${ac_cv_prog_ac_cv_pkg_install+:} false; then : 2973 $as_echo_n "(cached) " >&6 2974else 2975 if test -n "$ac_cv_pkg_install"; then 2976 ac_cv_prog_ac_cv_pkg_install="$ac_cv_pkg_install" # Let the user override the test. 2977else 2978as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2979for as_dir in $PATH 2980do 2981 IFS=$as_save_IFS 2982 test -z "$as_dir" && as_dir=. 2983 for ac_exec_ext in '' $ac_executable_extensions; do 2984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2985 ac_cv_prog_ac_cv_pkg_install="yes" 2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2987 break 2 2988 fi 2989done 2990 done 2991IFS=$as_save_IFS 2992 2993 test -z "$ac_cv_prog_ac_cv_pkg_install" && ac_cv_prog_ac_cv_pkg_install="no" 2994fi 2995fi 2996ac_cv_pkg_install=$ac_cv_prog_ac_cv_pkg_install 2997if test -n "$ac_cv_pkg_install"; then 2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pkg_install" >&5 2999$as_echo "$ac_cv_pkg_install" >&6; } 3000else 3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3002$as_echo "no" >&6; } 3003fi 3004 3005 3006# Extract the first word of "shunit2", so it can be a program name with args. 3007set dummy shunit2; ac_word=$2 3008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3009$as_echo_n "checking for $ac_word... " >&6; } 3010if ${ac_cv_prog_ac_cv_shunit2+:} false; then : 3011 $as_echo_n "(cached) " >&6 3012else 3013 if test -n "$ac_cv_shunit2"; then 3014 ac_cv_prog_ac_cv_shunit2="$ac_cv_shunit2" # Let the user override the test. 3015else 3016as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3017for as_dir in $PATH 3018do 3019 IFS=$as_save_IFS 3020 test -z "$as_dir" && as_dir=. 3021 for ac_exec_ext in '' $ac_executable_extensions; do 3022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3023 ac_cv_prog_ac_cv_shunit2="yes" 3024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3025 break 2 3026 fi 3027done 3028 done 3029IFS=$as_save_IFS 3030 3031 test -z "$ac_cv_prog_ac_cv_shunit2" && ac_cv_prog_ac_cv_shunit2="no" 3032fi 3033fi 3034ac_cv_shunit2=$ac_cv_prog_ac_cv_shunit2 3035if test -n "$ac_cv_shunit2"; then 3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_shunit2" >&5 3037$as_echo "$ac_cv_shunit2" >&6; } 3038else 3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3040$as_echo "no" >&6; } 3041fi 3042 3043 3044 3045 if test "$ac_cv_pkg_install" = "yes"; then 3046 HAVE_PKG_INSTALL_TRUE= 3047 HAVE_PKG_INSTALL_FALSE='#' 3048else 3049 HAVE_PKG_INSTALL_TRUE='#' 3050 HAVE_PKG_INSTALL_FALSE= 3051fi 3052 3053 if test "$ac_cv_shunit2" = "yes"; then 3054 HAVE_SHUNIT2_TRUE= 3055 HAVE_SHUNIT2_FALSE='#' 3056else 3057 HAVE_SHUNIT2_TRUE='#' 3058 HAVE_SHUNIT2_FALSE= 3059fi 3060 3061 3062 3063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 3064$as_echo "" >&6; } 3065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Summary:" >&5 3066$as_echo "Summary:" >&6; } 3067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Version -> $cfengine_version" >&5 3068$as_echo "Version -> $cfengine_version" >&6; } 3069if test -z "$HAVE_CORE_TRUE"; then : 3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Core directory -> $core_dir" >&5 3071$as_echo "Core directory -> $core_dir" >&6; } 3072else 3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Core directory -> not set - tests are disabled" >&5 3074$as_echo "Core directory -> not set - tests are disabled" >&6; } 3075 3076fi 3077if test -z "$HAVE_ENTERPRISE_TRUE"; then : 3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enterprise directory -> $enterprise_dir" >&5 3079$as_echo "Enterprise directory -> $enterprise_dir" >&6; } 3080else 3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Enterprise directory -> not set - some tests are disabled" >&5 3082$as_echo "Enterprise directory -> not set - some tests are disabled" >&6; } 3083 3084fi 3085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Install prefix -> $prefix" >&5 3086$as_echo "Install prefix -> $prefix" >&6; } 3087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: bindir -> $bindir" >&5 3088$as_echo "bindir -> $bindir" >&6; } 3089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 3090$as_echo "" >&6; } 3091 3092 3093 3094{ $as_echo "$as_me:${as_lineno-$LINENO}: generating makefile targets" >&5 3095$as_echo "$as_me: generating makefile targets" >&6;} 3096 3097# Do not try to unroll these for loops by putting the find commands directly in 3098# the assignments, it will overflow on the Solaris and HP-UX shells. 3099MASTERFILES_TESTS='' 3100for i in `cd "$srcdir/tests/acceptance/" && find . -name '*.cf*'` 3101do 3102 MASTERFILES_TESTS="$MASTERFILES_TESTS $i" 3103done 3104 3105 3106MASTERFILES_INSTALL_TARGETS= 3107for j in `echo $srcdir/*.cf` 3108do 3109 # Only add those that don't have a corresponding .in file. 3110 # They will be added later. 3111 if ! test -f "$j.in" 3112 then 3113 MASTERFILES_INSTALL_TARGETS="$MASTERFILES_INSTALL_TARGETS $j" 3114 fi 3115done 3116for j in `echo $srcdir/*.cf.in` 3117do 3118 # Add .in files, but without the .in suffix. 3119 MASTERFILES_INSTALL_TARGETS="$MASTERFILES_INSTALL_TARGETS `echo $j | sed -e 's/\.in$//'`" 3120done 3121 3122for i in cfe_internal controls inventory lib services 3123do 3124 for j in `find "$srcdir/$i" -name '*.cf'` 3125 do 3126 # Only add those that don't have a corresponding .in file. 3127 # They will be added later. 3128 if ! test -f "$j.in" 3129 then 3130 MASTERFILES_INSTALL_TARGETS="$MASTERFILES_INSTALL_TARGETS $j" 3131 fi 3132 done 3133 for j in `find "$srcdir/$i" -name '*.cf.in'` 3134 do 3135 # Add .in files, but without the .in suffix. 3136 MASTERFILES_INSTALL_TARGETS="$MASTERFILES_INSTALL_TARGETS `echo $j | sed -e 's/\.in$//'`" 3137 done 3138done 3139for i in templates cfe_internal 3140do 3141 for j in `find "$srcdir/$i" -name '*.mustache' -o -name '*.sh' -o -name '*.awk' -o -name '*.sed'` 3142 do 3143 MASTERFILES_INSTALL_TARGETS="$MASTERFILES_INSTALL_TARGETS $j" 3144 done 3145done 3146 3147 3148 3149 3150ac_config_files="$ac_config_files Makefile controls/update_def.cf modules/packages/Makefile modules/packages/apt_get modules/packages/yum modules/packages/zypper promises.cf standalone_self_upgrade.cf tests/Makefile tests/acceptance/Makefile tests/unit/Makefile" 3151 3152 3153cat >confcache <<\_ACEOF 3154# This file is a shell script that caches the results of configure 3155# tests run on this system so they can be shared between configure 3156# scripts and configure runs, see configure's option --config-cache. 3157# It is not useful on other systems. If it contains results you don't 3158# want to keep, you may remove or edit it. 3159# 3160# config.status only pays attention to the cache file if you give it 3161# the --recheck option to rerun configure. 3162# 3163# `ac_cv_env_foo' variables (set or unset) will be overridden when 3164# loading this file, other *unset* `ac_cv_foo' will be assigned the 3165# following values. 3166 3167_ACEOF 3168 3169# The following way of writing the cache mishandles newlines in values, 3170# but we know of no workaround that is simple, portable, and efficient. 3171# So, we kill variables containing newlines. 3172# Ultrix sh set writes to stderr and can't be redirected directly, 3173# and sets the high bit in the cache file unless we assign to the vars. 3174( 3175 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3176 eval ac_val=\$$ac_var 3177 case $ac_val in #( 3178 *${as_nl}*) 3179 case $ac_var in #( 3180 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3181$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3182 esac 3183 case $ac_var in #( 3184 _ | IFS | as_nl) ;; #( 3185 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3186 *) { eval $ac_var=; unset $ac_var;} ;; 3187 esac ;; 3188 esac 3189 done 3190 3191 (set) 2>&1 | 3192 case $as_nl`(ac_space=' '; set) 2>&1` in #( 3193 *${as_nl}ac_space=\ *) 3194 # `set' does not quote correctly, so add quotes: double-quote 3195 # substitution turns \\\\ into \\, and sed turns \\ into \. 3196 sed -n \ 3197 "s/'/'\\\\''/g; 3198 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3199 ;; #( 3200 *) 3201 # `set' quotes correctly as required by POSIX, so do not add quotes. 3202 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3203 ;; 3204 esac | 3205 sort 3206) | 3207 sed ' 3208 /^ac_cv_env_/b end 3209 t clear 3210 :clear 3211 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3212 t end 3213 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3214 :end' >>confcache 3215if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3216 if test -w "$cache_file"; then 3217 if test "x$cache_file" != "x/dev/null"; then 3218 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3219$as_echo "$as_me: updating cache $cache_file" >&6;} 3220 if test ! -f "$cache_file" || test -h "$cache_file"; then 3221 cat confcache >"$cache_file" 3222 else 3223 case $cache_file in #( 3224 */* | ?:*) 3225 mv -f confcache "$cache_file"$$ && 3226 mv -f "$cache_file"$$ "$cache_file" ;; #( 3227 *) 3228 mv -f confcache "$cache_file" ;; 3229 esac 3230 fi 3231 fi 3232 else 3233 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 3234$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3235 fi 3236fi 3237rm -f confcache 3238 3239test "x$prefix" = xNONE && prefix=$ac_default_prefix 3240# Let make expand exec_prefix. 3241test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3242 3243# Transform confdefs.h into DEFS. 3244# Protect against shell expansion while executing Makefile rules. 3245# Protect against Makefile macro expansion. 3246# 3247# If the first sed substitution is executed (which looks for macros that 3248# take arguments), then branch to the quote section. Otherwise, 3249# look for a macro that doesn't take arguments. 3250ac_script=' 3251:mline 3252/\\$/{ 3253 N 3254 s,\\\n,, 3255 b mline 3256} 3257t clear 3258:clear 3259s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 3260t quote 3261s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 3262t quote 3263b any 3264:quote 3265s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 3266s/\[/\\&/g 3267s/\]/\\&/g 3268s/\$/$$/g 3269H 3270:any 3271${ 3272 g 3273 s/^\n// 3274 s/\n/ /g 3275 p 3276} 3277' 3278DEFS=`sed -n "$ac_script" confdefs.h` 3279 3280 3281ac_libobjs= 3282ac_ltlibobjs= 3283U= 3284for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3285 # 1. Remove the extension, and $U if already installed. 3286 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3287 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 3288 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3289 # will be set to the directory where LIBOBJS objects are built. 3290 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3291 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 3292done 3293LIBOBJS=$ac_libobjs 3294 3295LTLIBOBJS=$ac_ltlibobjs 3296 3297 3298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 3299$as_echo_n "checking that generated files are newer than configure... " >&6; } 3300 if test -n "$am_sleep_pid"; then 3301 # Hide warnings about reused PIDs. 3302 wait $am_sleep_pid 2>/dev/null 3303 fi 3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 3305$as_echo "done" >&6; } 3306 3307if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 3308 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 3309Usually this means the macro was only invoked conditionally." "$LINENO" 5 3310fi 3311if test -z "${HAVE_CORE_TRUE}" && test -z "${HAVE_CORE_FALSE}"; then 3312 as_fn_error $? "conditional \"HAVE_CORE\" was never defined. 3313Usually this means the macro was only invoked conditionally." "$LINENO" 5 3314fi 3315if test -z "${HAVE_ENTERPRISE_TRUE}" && test -z "${HAVE_ENTERPRISE_FALSE}"; then 3316 as_fn_error $? "conditional \"HAVE_ENTERPRISE\" was never defined. 3317Usually this means the macro was only invoked conditionally." "$LINENO" 5 3318fi 3319if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then 3320 as_fn_error $? "conditional \"LINUX\" was never defined. 3321Usually this means the macro was only invoked conditionally." "$LINENO" 5 3322fi 3323if test -z "${MACOSX_TRUE}" && test -z "${MACOSX_FALSE}"; then 3324 as_fn_error $? "conditional \"MACOSX\" was never defined. 3325Usually this means the macro was only invoked conditionally." "$LINENO" 5 3326fi 3327if test -z "${SOLARIS_TRUE}" && test -z "${SOLARIS_FALSE}"; then 3328 as_fn_error $? "conditional \"SOLARIS\" was never defined. 3329Usually this means the macro was only invoked conditionally." "$LINENO" 5 3330fi 3331if test -z "${NT_TRUE}" && test -z "${NT_FALSE}"; then 3332 as_fn_error $? "conditional \"NT\" was never defined. 3333Usually this means the macro was only invoked conditionally." "$LINENO" 5 3334fi 3335if test -z "${CYGWIN_TRUE}" && test -z "${CYGWIN_FALSE}"; then 3336 as_fn_error $? "conditional \"CYGWIN\" was never defined. 3337Usually this means the macro was only invoked conditionally." "$LINENO" 5 3338fi 3339if test -z "${AIX_TRUE}" && test -z "${AIX_FALSE}"; then 3340 as_fn_error $? "conditional \"AIX\" was never defined. 3341Usually this means the macro was only invoked conditionally." "$LINENO" 5 3342fi 3343if test -z "${HPUX_TRUE}" && test -z "${HPUX_FALSE}"; then 3344 as_fn_error $? "conditional \"HPUX\" was never defined. 3345Usually this means the macro was only invoked conditionally." "$LINENO" 5 3346fi 3347if test -z "${FREEBSD_TRUE}" && test -z "${FREEBSD_FALSE}"; then 3348 as_fn_error $? "conditional \"FREEBSD\" was never defined. 3349Usually this means the macro was only invoked conditionally." "$LINENO" 5 3350fi 3351if test -z "${NETBSD_TRUE}" && test -z "${NETBSD_FALSE}"; then 3352 as_fn_error $? "conditional \"NETBSD\" was never defined. 3353Usually this means the macro was only invoked conditionally." "$LINENO" 5 3354fi 3355if test -z "${XNU_TRUE}" && test -z "${XNU_FALSE}"; then 3356 as_fn_error $? "conditional \"XNU\" was never defined. 3357Usually this means the macro was only invoked conditionally." "$LINENO" 5 3358fi 3359if test -z "${HAVE_PKG_INSTALL_TRUE}" && test -z "${HAVE_PKG_INSTALL_FALSE}"; then 3360 as_fn_error $? "conditional \"HAVE_PKG_INSTALL\" was never defined. 3361Usually this means the macro was only invoked conditionally." "$LINENO" 5 3362fi 3363if test -z "${HAVE_SHUNIT2_TRUE}" && test -z "${HAVE_SHUNIT2_FALSE}"; then 3364 as_fn_error $? "conditional \"HAVE_SHUNIT2\" was never defined. 3365Usually this means the macro was only invoked conditionally." "$LINENO" 5 3366fi 3367 3368: "${CONFIG_STATUS=./config.status}" 3369ac_write_fail=0 3370ac_clean_files_save=$ac_clean_files 3371ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3372{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3373$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 3374as_write_fail=0 3375cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 3376#! $SHELL 3377# Generated by $as_me. 3378# Run this file to recreate the current configuration. 3379# Compiler output produced by configure, useful for debugging 3380# configure, is in config.log if it exists. 3381 3382debug=false 3383ac_cs_recheck=false 3384ac_cs_silent=false 3385 3386SHELL=\${CONFIG_SHELL-$SHELL} 3387export SHELL 3388_ASEOF 3389cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 3390## -------------------- ## 3391## M4sh Initialization. ## 3392## -------------------- ## 3393 3394# Be more Bourne compatible 3395DUALCASE=1; export DUALCASE # for MKS sh 3396if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 3397 emulate sh 3398 NULLCMD=: 3399 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 3400 # is contrary to our usage. Disable this feature. 3401 alias -g '${1+"$@"}'='"$@"' 3402 setopt NO_GLOB_SUBST 3403else 3404 case `(set -o) 2>/dev/null` in #( 3405 *posix*) : 3406 set -o posix ;; #( 3407 *) : 3408 ;; 3409esac 3410fi 3411 3412 3413as_nl=' 3414' 3415export as_nl 3416# Printing a long string crashes Solaris 7 /usr/bin/printf. 3417as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3418as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 3419as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 3420# Prefer a ksh shell builtin over an external printf program on Solaris, 3421# but without wasting forks for bash or zsh. 3422if test -z "$BASH_VERSION$ZSH_VERSION" \ 3423 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 3424 as_echo='print -r --' 3425 as_echo_n='print -rn --' 3426elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 3427 as_echo='printf %s\n' 3428 as_echo_n='printf %s' 3429else 3430 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 3431 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 3432 as_echo_n='/usr/ucb/echo -n' 3433 else 3434 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 3435 as_echo_n_body='eval 3436 arg=$1; 3437 case $arg in #( 3438 *"$as_nl"*) 3439 expr "X$arg" : "X\\(.*\\)$as_nl"; 3440 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 3441 esac; 3442 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 3443 ' 3444 export as_echo_n_body 3445 as_echo_n='sh -c $as_echo_n_body as_echo' 3446 fi 3447 export as_echo_body 3448 as_echo='sh -c $as_echo_body as_echo' 3449fi 3450 3451# The user is always right. 3452if test "${PATH_SEPARATOR+set}" != set; then 3453 PATH_SEPARATOR=: 3454 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 3455 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 3456 PATH_SEPARATOR=';' 3457 } 3458fi 3459 3460 3461# IFS 3462# We need space, tab and new line, in precisely that order. Quoting is 3463# there to prevent editors from complaining about space-tab. 3464# (If _AS_PATH_WALK were called with IFS unset, it would disable word 3465# splitting by setting IFS to empty value.) 3466IFS=" "" $as_nl" 3467 3468# Find who we are. Look in the path if we contain no directory separator. 3469as_myself= 3470case $0 in #(( 3471 *[\\/]* ) as_myself=$0 ;; 3472 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3473for as_dir in $PATH 3474do 3475 IFS=$as_save_IFS 3476 test -z "$as_dir" && as_dir=. 3477 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3478 done 3479IFS=$as_save_IFS 3480 3481 ;; 3482esac 3483# We did not find ourselves, most probably we were run as `sh COMMAND' 3484# in which case we are not to be found in the path. 3485if test "x$as_myself" = x; then 3486 as_myself=$0 3487fi 3488if test ! -f "$as_myself"; then 3489 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3490 exit 1 3491fi 3492 3493# Unset variables that we do not need and which cause bugs (e.g. in 3494# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 3495# suppresses any "Segmentation fault" message there. '((' could 3496# trigger a bug in pdksh 5.2.14. 3497for as_var in BASH_ENV ENV MAIL MAILPATH 3498do eval test x\${$as_var+set} = xset \ 3499 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 3500done 3501PS1='$ ' 3502PS2='> ' 3503PS4='+ ' 3504 3505# NLS nuisances. 3506LC_ALL=C 3507export LC_ALL 3508LANGUAGE=C 3509export LANGUAGE 3510 3511# CDPATH. 3512(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 3513 3514 3515# as_fn_error STATUS ERROR [LINENO LOG_FD] 3516# ---------------------------------------- 3517# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3518# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3519# script with STATUS, using 1 if that was 0. 3520as_fn_error () 3521{ 3522 as_status=$1; test $as_status -eq 0 && as_status=1 3523 if test "$4"; then 3524 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3525 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3526 fi 3527 $as_echo "$as_me: error: $2" >&2 3528 as_fn_exit $as_status 3529} # as_fn_error 3530 3531 3532# as_fn_set_status STATUS 3533# ----------------------- 3534# Set $? to STATUS, without forking. 3535as_fn_set_status () 3536{ 3537 return $1 3538} # as_fn_set_status 3539 3540# as_fn_exit STATUS 3541# ----------------- 3542# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3543as_fn_exit () 3544{ 3545 set +e 3546 as_fn_set_status $1 3547 exit $1 3548} # as_fn_exit 3549 3550# as_fn_unset VAR 3551# --------------- 3552# Portably unset VAR. 3553as_fn_unset () 3554{ 3555 { eval $1=; unset $1;} 3556} 3557as_unset=as_fn_unset 3558# as_fn_append VAR VALUE 3559# ---------------------- 3560# Append the text in VALUE to the end of the definition contained in VAR. Take 3561# advantage of any shell optimizations that allow amortized linear growth over 3562# repeated appends, instead of the typical quadratic growth present in naive 3563# implementations. 3564if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3565 eval 'as_fn_append () 3566 { 3567 eval $1+=\$2 3568 }' 3569else 3570 as_fn_append () 3571 { 3572 eval $1=\$$1\$2 3573 } 3574fi # as_fn_append 3575 3576# as_fn_arith ARG... 3577# ------------------ 3578# Perform arithmetic evaluation on the ARGs, and store the result in the 3579# global $as_val. Take advantage of shells that can avoid forks. The arguments 3580# must be portable across $(()) and expr. 3581if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3582 eval 'as_fn_arith () 3583 { 3584 as_val=$(( $* )) 3585 }' 3586else 3587 as_fn_arith () 3588 { 3589 as_val=`expr "$@" || test $? -eq 1` 3590 } 3591fi # as_fn_arith 3592 3593 3594if expr a : '\(a\)' >/dev/null 2>&1 && 3595 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3596 as_expr=expr 3597else 3598 as_expr=false 3599fi 3600 3601if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3602 as_basename=basename 3603else 3604 as_basename=false 3605fi 3606 3607if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3608 as_dirname=dirname 3609else 3610 as_dirname=false 3611fi 3612 3613as_me=`$as_basename -- "$0" || 3614$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3615 X"$0" : 'X\(//\)$' \| \ 3616 X"$0" : 'X\(/\)' \| . 2>/dev/null || 3617$as_echo X/"$0" | 3618 sed '/^.*\/\([^/][^/]*\)\/*$/{ 3619 s//\1/ 3620 q 3621 } 3622 /^X\/\(\/\/\)$/{ 3623 s//\1/ 3624 q 3625 } 3626 /^X\/\(\/\).*/{ 3627 s//\1/ 3628 q 3629 } 3630 s/.*/./; q'` 3631 3632# Avoid depending upon Character Ranges. 3633as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3634as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3635as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3636as_cr_digits='0123456789' 3637as_cr_alnum=$as_cr_Letters$as_cr_digits 3638 3639ECHO_C= ECHO_N= ECHO_T= 3640case `echo -n x` in #((((( 3641-n*) 3642 case `echo 'xy\c'` in 3643 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3644 xy) ECHO_C='\c';; 3645 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 3646 ECHO_T=' ';; 3647 esac;; 3648*) 3649 ECHO_N='-n';; 3650esac 3651 3652rm -f conf$$ conf$$.exe conf$$.file 3653if test -d conf$$.dir; then 3654 rm -f conf$$.dir/conf$$.file 3655else 3656 rm -f conf$$.dir 3657 mkdir conf$$.dir 2>/dev/null 3658fi 3659if (echo >conf$$.file) 2>/dev/null; then 3660 if ln -s conf$$.file conf$$ 2>/dev/null; then 3661 as_ln_s='ln -s' 3662 # ... but there are two gotchas: 3663 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3664 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3665 # In both cases, we have to default to `cp -pR'. 3666 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3667 as_ln_s='cp -pR' 3668 elif ln conf$$.file conf$$ 2>/dev/null; then 3669 as_ln_s=ln 3670 else 3671 as_ln_s='cp -pR' 3672 fi 3673else 3674 as_ln_s='cp -pR' 3675fi 3676rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3677rmdir conf$$.dir 2>/dev/null 3678 3679 3680# as_fn_mkdir_p 3681# ------------- 3682# Create "$as_dir" as a directory, including parents if necessary. 3683as_fn_mkdir_p () 3684{ 3685 3686 case $as_dir in #( 3687 -*) as_dir=./$as_dir;; 3688 esac 3689 test -d "$as_dir" || eval $as_mkdir_p || { 3690 as_dirs= 3691 while :; do 3692 case $as_dir in #( 3693 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3694 *) as_qdir=$as_dir;; 3695 esac 3696 as_dirs="'$as_qdir' $as_dirs" 3697 as_dir=`$as_dirname -- "$as_dir" || 3698$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3699 X"$as_dir" : 'X\(//\)[^/]' \| \ 3700 X"$as_dir" : 'X\(//\)$' \| \ 3701 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3702$as_echo X"$as_dir" | 3703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3704 s//\1/ 3705 q 3706 } 3707 /^X\(\/\/\)[^/].*/{ 3708 s//\1/ 3709 q 3710 } 3711 /^X\(\/\/\)$/{ 3712 s//\1/ 3713 q 3714 } 3715 /^X\(\/\).*/{ 3716 s//\1/ 3717 q 3718 } 3719 s/.*/./; q'` 3720 test -d "$as_dir" && break 3721 done 3722 test -z "$as_dirs" || eval "mkdir $as_dirs" 3723 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3724 3725 3726} # as_fn_mkdir_p 3727if mkdir -p . 2>/dev/null; then 3728 as_mkdir_p='mkdir -p "$as_dir"' 3729else 3730 test -d ./-p && rmdir ./-p 3731 as_mkdir_p=false 3732fi 3733 3734 3735# as_fn_executable_p FILE 3736# ----------------------- 3737# Test if FILE is an executable regular file. 3738as_fn_executable_p () 3739{ 3740 test -f "$1" && test -x "$1" 3741} # as_fn_executable_p 3742as_test_x='test -x' 3743as_executable_p=as_fn_executable_p 3744 3745# Sed expression to map a string onto a valid CPP name. 3746as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3747 3748# Sed expression to map a string onto a valid variable name. 3749as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3750 3751 3752exec 6>&1 3753## ----------------------------------- ## 3754## Main body of $CONFIG_STATUS script. ## 3755## ----------------------------------- ## 3756_ASEOF 3757test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 3758 3759cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3760# Save the log message, to keep $0 and so on meaningful, and to 3761# report actual input values of CONFIG_FILES etc. instead of their 3762# values after options handling. 3763ac_log=" 3764This file was extended by cfengine-masterfiles $as_me 3.17.0, which was 3765generated by GNU Autoconf 2.69. Invocation command line was 3766 3767 CONFIG_FILES = $CONFIG_FILES 3768 CONFIG_HEADERS = $CONFIG_HEADERS 3769 CONFIG_LINKS = $CONFIG_LINKS 3770 CONFIG_COMMANDS = $CONFIG_COMMANDS 3771 $ $0 $@ 3772 3773on `(hostname || uname -n) 2>/dev/null | sed 1q` 3774" 3775 3776_ACEOF 3777 3778case $ac_config_files in *" 3779"*) set x $ac_config_files; shift; ac_config_files=$*;; 3780esac 3781 3782 3783 3784cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3785# Files that config.status was made for. 3786config_files="$ac_config_files" 3787 3788_ACEOF 3789 3790cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3791ac_cs_usage="\ 3792\`$as_me' instantiates files and other configuration actions 3793from templates according to the current configuration. Unless the files 3794and actions are specified as TAGs, all are instantiated by default. 3795 3796Usage: $0 [OPTION]... [TAG]... 3797 3798 -h, --help print this help, then exit 3799 -V, --version print version number and configuration settings, then exit 3800 --config print configuration, then exit 3801 -q, --quiet, --silent 3802 do not print progress messages 3803 -d, --debug don't remove temporary files 3804 --recheck update $as_me by reconfiguring in the same conditions 3805 --file=FILE[:TEMPLATE] 3806 instantiate the configuration file FILE 3807 3808Configuration files: 3809$config_files 3810 3811Report bugs to the package provider." 3812 3813_ACEOF 3814cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3815ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 3816ac_cs_version="\\ 3817cfengine-masterfiles config.status 3.17.0 3818configured by $0, generated by GNU Autoconf 2.69, 3819 with options \\"\$ac_cs_config\\" 3820 3821Copyright (C) 2012 Free Software Foundation, Inc. 3822This config.status script is free software; the Free Software Foundation 3823gives unlimited permission to copy, distribute and modify it." 3824 3825ac_pwd='$ac_pwd' 3826srcdir='$srcdir' 3827INSTALL='$INSTALL' 3828MKDIR_P='$MKDIR_P' 3829AWK='$AWK' 3830test -n "\$AWK" || AWK=awk 3831_ACEOF 3832 3833cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3834# The default lists apply if the user does not specify any file. 3835ac_need_defaults=: 3836while test $# != 0 3837do 3838 case $1 in 3839 --*=?*) 3840 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3841 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3842 ac_shift=: 3843 ;; 3844 --*=) 3845 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3846 ac_optarg= 3847 ac_shift=: 3848 ;; 3849 *) 3850 ac_option=$1 3851 ac_optarg=$2 3852 ac_shift=shift 3853 ;; 3854 esac 3855 3856 case $ac_option in 3857 # Handling of the options. 3858 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3859 ac_cs_recheck=: ;; 3860 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3861 $as_echo "$ac_cs_version"; exit ;; 3862 --config | --confi | --conf | --con | --co | --c ) 3863 $as_echo "$ac_cs_config"; exit ;; 3864 --debug | --debu | --deb | --de | --d | -d ) 3865 debug=: ;; 3866 --file | --fil | --fi | --f ) 3867 $ac_shift 3868 case $ac_optarg in 3869 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3870 '') as_fn_error $? "missing file argument" ;; 3871 esac 3872 as_fn_append CONFIG_FILES " '$ac_optarg'" 3873 ac_need_defaults=false;; 3874 --he | --h | --help | --hel | -h ) 3875 $as_echo "$ac_cs_usage"; exit ;; 3876 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3877 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3878 ac_cs_silent=: ;; 3879 3880 # This is an error. 3881 -*) as_fn_error $? "unrecognized option: \`$1' 3882Try \`$0 --help' for more information." ;; 3883 3884 *) as_fn_append ac_config_targets " $1" 3885 ac_need_defaults=false ;; 3886 3887 esac 3888 shift 3889done 3890 3891ac_configure_extra_args= 3892 3893if $ac_cs_silent; then 3894 exec 6>/dev/null 3895 ac_configure_extra_args="$ac_configure_extra_args --silent" 3896fi 3897 3898_ACEOF 3899cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3900if \$ac_cs_recheck; then 3901 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3902 shift 3903 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 3904 CONFIG_SHELL='$SHELL' 3905 export CONFIG_SHELL 3906 exec "\$@" 3907fi 3908 3909_ACEOF 3910cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3911exec 5>>config.log 3912{ 3913 echo 3914 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3915## Running $as_me. ## 3916_ASBOX 3917 $as_echo "$ac_log" 3918} >&5 3919 3920_ACEOF 3921cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3922_ACEOF 3923 3924cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3925 3926# Handling of arguments. 3927for ac_config_target in $ac_config_targets 3928do 3929 case $ac_config_target in 3930 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3931 "controls/update_def.cf") CONFIG_FILES="$CONFIG_FILES controls/update_def.cf" ;; 3932 "modules/packages/Makefile") CONFIG_FILES="$CONFIG_FILES modules/packages/Makefile" ;; 3933 "modules/packages/apt_get") CONFIG_FILES="$CONFIG_FILES modules/packages/apt_get" ;; 3934 "modules/packages/yum") CONFIG_FILES="$CONFIG_FILES modules/packages/yum" ;; 3935 "modules/packages/zypper") CONFIG_FILES="$CONFIG_FILES modules/packages/zypper" ;; 3936 "promises.cf") CONFIG_FILES="$CONFIG_FILES promises.cf" ;; 3937 "standalone_self_upgrade.cf") CONFIG_FILES="$CONFIG_FILES standalone_self_upgrade.cf" ;; 3938 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 3939 "tests/acceptance/Makefile") CONFIG_FILES="$CONFIG_FILES tests/acceptance/Makefile" ;; 3940 "tests/unit/Makefile") CONFIG_FILES="$CONFIG_FILES tests/unit/Makefile" ;; 3941 3942 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 3943 esac 3944done 3945 3946 3947# If the user did not use the arguments to specify the items to instantiate, 3948# then the envvar interface is used. Set only those that are not. 3949# We use the long form for the default assignment because of an extremely 3950# bizarre bug on SunOS 4.1.3. 3951if $ac_need_defaults; then 3952 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3953fi 3954 3955# Have a temporary directory for convenience. Make it in the build tree 3956# simply because there is no reason against having it here, and in addition, 3957# creating and moving files from /tmp can sometimes cause problems. 3958# Hook for its removal unless debugging. 3959# Note that there is a small window in which the directory will not be cleaned: 3960# after its creation but before its name has been assigned to `$tmp'. 3961$debug || 3962{ 3963 tmp= ac_tmp= 3964 trap 'exit_status=$? 3965 : "${ac_tmp:=$tmp}" 3966 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 3967' 0 3968 trap 'as_fn_exit 1' 1 2 13 15 3969} 3970# Create a (secure) tmp directory for tmp files. 3971 3972{ 3973 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3974 test -d "$tmp" 3975} || 3976{ 3977 tmp=./conf$$-$RANDOM 3978 (umask 077 && mkdir "$tmp") 3979} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 3980ac_tmp=$tmp 3981 3982# Set up the scripts for CONFIG_FILES section. 3983# No need to generate them if there are no CONFIG_FILES. 3984# This happens for instance with `./config.status config.h'. 3985if test -n "$CONFIG_FILES"; then 3986 3987 3988ac_cr=`echo X | tr X '\015'` 3989# On cygwin, bash can eat \r inside `` if the user requested igncr. 3990# But we know of no other shell where ac_cr would be empty at this 3991# point, so we can use a bashism as a fallback. 3992if test "x$ac_cr" = x; then 3993 eval ac_cr=\$\'\\r\' 3994fi 3995ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 3996if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 3997 ac_cs_awk_cr='\\r' 3998else 3999 ac_cs_awk_cr=$ac_cr 4000fi 4001 4002echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 4003_ACEOF 4004 4005 4006{ 4007 echo "cat >conf$$subs.awk <<_ACEOF" && 4008 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4009 echo "_ACEOF" 4010} >conf$$subs.sh || 4011 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4012ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 4013ac_delim='%!_!# ' 4014for ac_last_try in false false false false false :; do 4015 . ./conf$$subs.sh || 4016 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4017 4018 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 4019 if test $ac_delim_n = $ac_delim_num; then 4020 break 4021 elif $ac_last_try; then 4022 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4023 else 4024 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4025 fi 4026done 4027rm -f conf$$subs.sh 4028 4029cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4030cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 4031_ACEOF 4032sed -n ' 4033h 4034s/^/S["/; s/!.*/"]=/ 4035p 4036g 4037s/^[^!]*!// 4038:repl 4039t repl 4040s/'"$ac_delim"'$// 4041t delim 4042:nl 4043h 4044s/\(.\{148\}\)..*/\1/ 4045t more1 4046s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4047p 4048n 4049b repl 4050:more1 4051s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4052p 4053g 4054s/.\{148\}// 4055t nl 4056:delim 4057h 4058s/\(.\{148\}\)..*/\1/ 4059t more2 4060s/["\\]/\\&/g; s/^/"/; s/$/"/ 4061p 4062b 4063:more2 4064s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4065p 4066g 4067s/.\{148\}// 4068t delim 4069' <conf$$subs.awk | sed ' 4070/^[^""]/{ 4071 N 4072 s/\n// 4073} 4074' >>$CONFIG_STATUS || ac_write_fail=1 4075rm -f conf$$subs.awk 4076cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4077_ACAWK 4078cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 4079 for (key in S) S_is_set[key] = 1 4080 FS = "" 4081 4082} 4083{ 4084 line = $ 0 4085 nfields = split(line, field, "@") 4086 substed = 0 4087 len = length(field[1]) 4088 for (i = 2; i < nfields; i++) { 4089 key = field[i] 4090 keylen = length(key) 4091 if (S_is_set[key]) { 4092 value = S[key] 4093 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4094 len += length(value) + length(field[++i]) 4095 substed = 1 4096 } else 4097 len += 1 + keylen 4098 } 4099 4100 print line 4101} 4102 4103_ACAWK 4104_ACEOF 4105cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4106if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4107 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4108else 4109 cat 4110fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 4111 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 4112_ACEOF 4113 4114# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 4115# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 4116# trailing colons and then remove the whole line if VPATH becomes empty 4117# (actually we leave an empty line to preserve line numbers). 4118if test "x$srcdir" = x.; then 4119 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 4120h 4121s/// 4122s/^/:/ 4123s/[ ]*$/:/ 4124s/:\$(srcdir):/:/g 4125s/:\${srcdir}:/:/g 4126s/:@srcdir@:/:/g 4127s/^:*// 4128s/:*$// 4129x 4130s/\(=[ ]*\).*/\1/ 4131G 4132s/\n// 4133s/^[^=]*=[ ]*$// 4134}' 4135fi 4136 4137cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4138fi # test -n "$CONFIG_FILES" 4139 4140 4141eval set X " :F $CONFIG_FILES " 4142shift 4143for ac_tag 4144do 4145 case $ac_tag in 4146 :[FHLC]) ac_mode=$ac_tag; continue;; 4147 esac 4148 case $ac_mode$ac_tag in 4149 :[FHL]*:*);; 4150 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 4151 :[FH]-) ac_tag=-:-;; 4152 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4153 esac 4154 ac_save_IFS=$IFS 4155 IFS=: 4156 set x $ac_tag 4157 IFS=$ac_save_IFS 4158 shift 4159 ac_file=$1 4160 shift 4161 4162 case $ac_mode in 4163 :L) ac_source=$1;; 4164 :[FH]) 4165 ac_file_inputs= 4166 for ac_f 4167 do 4168 case $ac_f in 4169 -) ac_f="$ac_tmp/stdin";; 4170 *) # Look for the file first in the build tree, then in the source tree 4171 # (if the path is not absolute). The absolute path cannot be DOS-style, 4172 # because $ac_f cannot contain `:'. 4173 test -f "$ac_f" || 4174 case $ac_f in 4175 [\\/$]*) false;; 4176 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4177 esac || 4178 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4179 esac 4180 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4181 as_fn_append ac_file_inputs " '$ac_f'" 4182 done 4183 4184 # Let's still pretend it is `configure' which instantiates (i.e., don't 4185 # use $as_me), people would be surprised to read: 4186 # /* config.h. Generated by config.status. */ 4187 configure_input='Generated from '` 4188 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4189 `' by configure.' 4190 if test x"$ac_file" != x-; then 4191 configure_input="$ac_file. $configure_input" 4192 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4193$as_echo "$as_me: creating $ac_file" >&6;} 4194 fi 4195 # Neutralize special characters interpreted by sed in replacement strings. 4196 case $configure_input in #( 4197 *\&* | *\|* | *\\* ) 4198 ac_sed_conf_input=`$as_echo "$configure_input" | 4199 sed 's/[\\\\&|]/\\\\&/g'`;; #( 4200 *) ac_sed_conf_input=$configure_input;; 4201 esac 4202 4203 case $ac_tag in 4204 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 4205 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4206 esac 4207 ;; 4208 esac 4209 4210 ac_dir=`$as_dirname -- "$ac_file" || 4211$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4212 X"$ac_file" : 'X\(//\)[^/]' \| \ 4213 X"$ac_file" : 'X\(//\)$' \| \ 4214 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4215$as_echo X"$ac_file" | 4216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4217 s//\1/ 4218 q 4219 } 4220 /^X\(\/\/\)[^/].*/{ 4221 s//\1/ 4222 q 4223 } 4224 /^X\(\/\/\)$/{ 4225 s//\1/ 4226 q 4227 } 4228 /^X\(\/\).*/{ 4229 s//\1/ 4230 q 4231 } 4232 s/.*/./; q'` 4233 as_dir="$ac_dir"; as_fn_mkdir_p 4234 ac_builddir=. 4235 4236case "$ac_dir" in 4237.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4238*) 4239 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 4240 # A ".." for each directory in $ac_dir_suffix. 4241 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4242 case $ac_top_builddir_sub in 4243 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4244 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4245 esac ;; 4246esac 4247ac_abs_top_builddir=$ac_pwd 4248ac_abs_builddir=$ac_pwd$ac_dir_suffix 4249# for backward compatibility: 4250ac_top_builddir=$ac_top_build_prefix 4251 4252case $srcdir in 4253 .) # We are building in place. 4254 ac_srcdir=. 4255 ac_top_srcdir=$ac_top_builddir_sub 4256 ac_abs_top_srcdir=$ac_pwd ;; 4257 [\\/]* | ?:[\\/]* ) # Absolute name. 4258 ac_srcdir=$srcdir$ac_dir_suffix; 4259 ac_top_srcdir=$srcdir 4260 ac_abs_top_srcdir=$srcdir ;; 4261 *) # Relative name. 4262 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4263 ac_top_srcdir=$ac_top_build_prefix$srcdir 4264 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4265esac 4266ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4267 4268 4269 case $ac_mode in 4270 :F) 4271 # 4272 # CONFIG_FILE 4273 # 4274 4275 case $INSTALL in 4276 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4277 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4278 esac 4279 ac_MKDIR_P=$MKDIR_P 4280 case $MKDIR_P in 4281 [\\/$]* | ?:[\\/]* ) ;; 4282 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 4283 esac 4284_ACEOF 4285 4286cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4287# If the template does not know about datarootdir, expand it. 4288# FIXME: This hack should be removed a few years after 2.60. 4289ac_datarootdir_hack=; ac_datarootdir_seen= 4290ac_sed_dataroot=' 4291/datarootdir/ { 4292 p 4293 q 4294} 4295/@datadir@/p 4296/@docdir@/p 4297/@infodir@/p 4298/@localedir@/p 4299/@mandir@/p' 4300case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 4301*datarootdir*) ac_datarootdir_seen=yes;; 4302*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4304$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4305_ACEOF 4306cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4307 ac_datarootdir_hack=' 4308 s&@datadir@&$datadir&g 4309 s&@docdir@&$docdir&g 4310 s&@infodir@&$infodir&g 4311 s&@localedir@&$localedir&g 4312 s&@mandir@&$mandir&g 4313 s&\\\${datarootdir}&$datarootdir&g' ;; 4314esac 4315_ACEOF 4316 4317# Neutralize VPATH when `$srcdir' = `.'. 4318# Shell code in configure.ac might set extrasub. 4319# FIXME: do we really want to maintain this feature? 4320cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4321ac_sed_extra="$ac_vpsub 4322$extrasub 4323_ACEOF 4324cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4325:t 4326/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4327s|@configure_input@|$ac_sed_conf_input|;t t 4328s&@top_builddir@&$ac_top_builddir_sub&;t t 4329s&@top_build_prefix@&$ac_top_build_prefix&;t t 4330s&@srcdir@&$ac_srcdir&;t t 4331s&@abs_srcdir@&$ac_abs_srcdir&;t t 4332s&@top_srcdir@&$ac_top_srcdir&;t t 4333s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4334s&@builddir@&$ac_builddir&;t t 4335s&@abs_builddir@&$ac_abs_builddir&;t t 4336s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4337s&@INSTALL@&$ac_INSTALL&;t t 4338s&@MKDIR_P@&$ac_MKDIR_P&;t t 4339$ac_datarootdir_hack 4340" 4341eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 4342 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4343 4344test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4345 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 4346 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 4347 "$ac_tmp/out"`; test -z "$ac_out"; } && 4348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4349which seems to be undefined. Please make sure it is defined" >&5 4350$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4351which seems to be undefined. Please make sure it is defined" >&2;} 4352 4353 rm -f "$ac_tmp/stdin" 4354 case $ac_file in 4355 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 4356 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 4357 esac \ 4358 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4359 ;; 4360 4361 4362 4363 esac 4364 4365done # for ac_tag 4366 4367 4368as_fn_exit 0 4369_ACEOF 4370ac_clean_files=$ac_clean_files_save 4371 4372test $ac_write_fail = 0 || 4373 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 4374 4375 4376# configure is writing to config.log, and then calls config.status. 4377# config.status does its own redirection, appending to config.log. 4378# Unfortunately, on DOS this fails, as config.log is still kept open 4379# by configure, so config.status won't be able to write to it; its 4380# output is simply discarded. So we exec the FD to /dev/null, 4381# effectively closing config.log, so it can be properly (re)opened and 4382# appended to by config.status. When coming back to configure, we 4383# need to make the FD available again. 4384if test "$no_create" != yes; then 4385 ac_cs_success=: 4386 ac_config_status_args= 4387 test "$silent" = yes && 4388 ac_config_status_args="$ac_config_status_args --quiet" 4389 exec 5>/dev/null 4390 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4391 exec 5>>config.log 4392 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4393 # would make configure fail if this is the last instruction. 4394 $ac_cs_success || as_fn_exit 1 4395fi 4396if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4398$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4399fi 4400 4401 4402for pkg_module in modules/packages/apt_get modules/packages/yum modules/packages/zypper; do 4403 chmod a+x $pkg_module 4404done 4405 4406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 4407$as_echo "" >&6; } 4408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: DONE: Configuration done. Run \"make install\" to install CFEngine Masterfiles." >&5 4409$as_echo "DONE: Configuration done. Run \"make install\" to install CFEngine Masterfiles." >&6; } 4410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 4411$as_echo "" >&6; } 4412