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