1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 199 if (eval "$as_required") 2>/dev/null; then : 200 as_have_required=yes 201else 202 as_have_required=no 203fi 204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 205 206else 207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 208as_found=false 209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 210do 211 IFS=$as_save_IFS 212 test -z "$as_dir" && as_dir=. 213 as_found=: 214 case $as_dir in #( 215 /*) 216 for as_base in sh bash ksh sh5; do 217 # Try only shells that exist, to save several forks. 218 as_shell=$as_dir/$as_base 219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 221 CONFIG_SHELL=$as_shell as_have_required=yes 222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 223 break 2 224fi 225fi 226 done;; 227 esac 228 as_found=false 229done 230$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 232 CONFIG_SHELL=$SHELL as_have_required=yes 233fi; } 234IFS=$as_save_IFS 235 236 237 if test "x$CONFIG_SHELL" != x; then : 238 export CONFIG_SHELL 239 # We cannot yet assume a decent shell, so we have to provide a 240# neutralization value for shells without unset; and this also 241# works around shells that cannot unset nonexistent variables. 242# Preserve -v and -x to the replacement shell. 243BASH_ENV=/dev/null 244ENV=/dev/null 245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 246case $- in # (((( 247 *v*x* | *x*v* ) as_opts=-vx ;; 248 *v* ) as_opts=-v ;; 249 *x* ) as_opts=-x ;; 250 * ) as_opts= ;; 251esac 252exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 253# Admittedly, this is quite paranoid, since all the known shells bail 254# out after a failed `exec'. 255$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 256exit 255 257fi 258 259 if test x$as_have_required = xno; then : 260 $as_echo "$0: This script requires a shell more modern than all" 261 $as_echo "$0: the shells that I found on your system." 262 if test x${ZSH_VERSION+set} = xset ; then 263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 264 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 265 else 266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 267$0: including any error possibly output before this 268$0: message. Then install a modern shell, or manually run 269$0: the script under such a shell if you do have one." 270 fi 271 exit 1 272fi 273fi 274fi 275SHELL=${CONFIG_SHELL-/bin/sh} 276export SHELL 277# Unset more variables known to interfere with behavior of common tools. 278CLICOLOR_FORCE= GREP_OPTIONS= 279unset CLICOLOR_FORCE GREP_OPTIONS 280 281## --------------------- ## 282## M4sh Shell Functions. ## 283## --------------------- ## 284# as_fn_unset VAR 285# --------------- 286# Portably unset VAR. 287as_fn_unset () 288{ 289 { eval $1=; unset $1;} 290} 291as_unset=as_fn_unset 292 293# as_fn_set_status STATUS 294# ----------------------- 295# Set $? to STATUS, without forking. 296as_fn_set_status () 297{ 298 return $1 299} # as_fn_set_status 300 301# as_fn_exit STATUS 302# ----------------- 303# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 304as_fn_exit () 305{ 306 set +e 307 as_fn_set_status $1 308 exit $1 309} # as_fn_exit 310 311# as_fn_mkdir_p 312# ------------- 313# Create "$as_dir" as a directory, including parents if necessary. 314as_fn_mkdir_p () 315{ 316 317 case $as_dir in #( 318 -*) as_dir=./$as_dir;; 319 esac 320 test -d "$as_dir" || eval $as_mkdir_p || { 321 as_dirs= 322 while :; do 323 case $as_dir in #( 324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 325 *) as_qdir=$as_dir;; 326 esac 327 as_dirs="'$as_qdir' $as_dirs" 328 as_dir=`$as_dirname -- "$as_dir" || 329$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 330 X"$as_dir" : 'X\(//\)[^/]' \| \ 331 X"$as_dir" : 'X\(//\)$' \| \ 332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 333$as_echo X"$as_dir" | 334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 335 s//\1/ 336 q 337 } 338 /^X\(\/\/\)[^/].*/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)$/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\).*/{ 347 s//\1/ 348 q 349 } 350 s/.*/./; q'` 351 test -d "$as_dir" && break 352 done 353 test -z "$as_dirs" || eval "mkdir $as_dirs" 354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 355 356 357} # as_fn_mkdir_p 358 359# as_fn_executable_p FILE 360# ----------------------- 361# Test if FILE is an executable regular file. 362as_fn_executable_p () 363{ 364 test -f "$1" && test -x "$1" 365} # as_fn_executable_p 366# as_fn_append VAR VALUE 367# ---------------------- 368# Append the text in VALUE to the end of the definition contained in VAR. Take 369# advantage of any shell optimizations that allow amortized linear growth over 370# repeated appends, instead of the typical quadratic growth present in naive 371# implementations. 372if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 373 eval 'as_fn_append () 374 { 375 eval $1+=\$2 376 }' 377else 378 as_fn_append () 379 { 380 eval $1=\$$1\$2 381 } 382fi # as_fn_append 383 384# as_fn_arith ARG... 385# ------------------ 386# Perform arithmetic evaluation on the ARGs, and store the result in the 387# global $as_val. Take advantage of shells that can avoid forks. The arguments 388# must be portable across $(()) and expr. 389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 390 eval 'as_fn_arith () 391 { 392 as_val=$(( $* )) 393 }' 394else 395 as_fn_arith () 396 { 397 as_val=`expr "$@" || test $? -eq 1` 398 } 399fi # as_fn_arith 400 401 402# as_fn_error STATUS ERROR [LINENO LOG_FD] 403# ---------------------------------------- 404# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 405# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 406# script with STATUS, using 1 if that was 0. 407as_fn_error () 408{ 409 as_status=$1; test $as_status -eq 0 && as_status=1 410 if test "$4"; then 411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 413 fi 414 $as_echo "$as_me: error: $2" >&2 415 as_fn_exit $as_status 416} # as_fn_error 417 418if expr a : '\(a\)' >/dev/null 2>&1 && 419 test "X`expr 00001 : '.*\(...\)'`" = X001; then 420 as_expr=expr 421else 422 as_expr=false 423fi 424 425if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 426 as_basename=basename 427else 428 as_basename=false 429fi 430 431if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 432 as_dirname=dirname 433else 434 as_dirname=false 435fi 436 437as_me=`$as_basename -- "$0" || 438$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 439 X"$0" : 'X\(//\)$' \| \ 440 X"$0" : 'X\(/\)' \| . 2>/dev/null || 441$as_echo X/"$0" | 442 sed '/^.*\/\([^/][^/]*\)\/*$/{ 443 s//\1/ 444 q 445 } 446 /^X\/\(\/\/\)$/{ 447 s//\1/ 448 q 449 } 450 /^X\/\(\/\).*/{ 451 s//\1/ 452 q 453 } 454 s/.*/./; q'` 455 456# Avoid depending upon Character Ranges. 457as_cr_letters='abcdefghijklmnopqrstuvwxyz' 458as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 459as_cr_Letters=$as_cr_letters$as_cr_LETTERS 460as_cr_digits='0123456789' 461as_cr_alnum=$as_cr_Letters$as_cr_digits 462 463 464 as_lineno_1=$LINENO as_lineno_1a=$LINENO 465 as_lineno_2=$LINENO as_lineno_2a=$LINENO 466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 469 sed -n ' 470 p 471 /[$]LINENO/= 472 ' <$as_myself | 473 sed ' 474 s/[$]LINENO.*/&-/ 475 t lineno 476 b 477 :lineno 478 N 479 :loop 480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 481 t loop 482 s/-\n.*// 483 ' >$as_me.lineno && 484 chmod +x "$as_me.lineno" || 485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 486 487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 488 # already done that, so ensure we don't try to do so again and fall 489 # in an infinite loop. This has already happened in practice. 490 _as_can_reexec=no; export _as_can_reexec 491 # Don't try to exec as it changes $[0], causing all sort of problems 492 # (the dirname of $[0] is not the place where we might find the 493 # original and so on. Autoconf is especially sensitive to this). 494 . "./$as_me.lineno" 495 # Exit status is that of the last command. 496 exit 497} 498 499ECHO_C= ECHO_N= ECHO_T= 500case `echo -n x` in #((((( 501-n*) 502 case `echo 'xy\c'` in 503 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 504 xy) ECHO_C='\c';; 505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 506 ECHO_T=' ';; 507 esac;; 508*) 509 ECHO_N='-n';; 510esac 511 512rm -f conf$$ conf$$.exe conf$$.file 513if test -d conf$$.dir; then 514 rm -f conf$$.dir/conf$$.file 515else 516 rm -f conf$$.dir 517 mkdir conf$$.dir 2>/dev/null 518fi 519if (echo >conf$$.file) 2>/dev/null; then 520 if ln -s conf$$.file conf$$ 2>/dev/null; then 521 as_ln_s='ln -s' 522 # ... but there are two gotchas: 523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 525 # In both cases, we have to default to `cp -pR'. 526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 527 as_ln_s='cp -pR' 528 elif ln conf$$.file conf$$ 2>/dev/null; then 529 as_ln_s=ln 530 else 531 as_ln_s='cp -pR' 532 fi 533else 534 as_ln_s='cp -pR' 535fi 536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 537rmdir conf$$.dir 2>/dev/null 538 539if mkdir -p . 2>/dev/null; then 540 as_mkdir_p='mkdir -p "$as_dir"' 541else 542 test -d ./-p && rmdir ./-p 543 as_mkdir_p=false 544fi 545 546as_test_x='test -x' 547as_executable_p=as_fn_executable_p 548 549# Sed expression to map a string onto a valid CPP name. 550as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 551 552# Sed expression to map a string onto a valid variable name. 553as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 554 555 556test -n "$DJDIR" || exec 7<&0 </dev/null 557exec 6>&1 558 559# Name of the host. 560# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 561# so uname gets run too. 562ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 563 564# 565# Initializations. 566# 567ac_default_prefix=/usr/local 568ac_clean_files= 569ac_config_libobj_dir=. 570LIBOBJS= 571cross_compiling=no 572subdirs= 573MFLAGS= 574MAKEFLAGS= 575 576# Identity of this package. 577PACKAGE_NAME= 578PACKAGE_TARNAME= 579PACKAGE_VERSION= 580PACKAGE_STRING= 581PACKAGE_BUGREPORT= 582PACKAGE_URL= 583 584ac_unique_file="vsn.mk" 585ac_subst_vars='LTLIBOBJS 586LIBOBJS 587PERL 588host_os 589host_vendor 590host_cpu 591host 592build_os 593build_vendor 594build_cpu 595build 596target_alias 597host_alias 598build_alias 599LIBS 600ECHO_T 601ECHO_N 602ECHO_C 603DEFS 604mandir 605localedir 606libdir 607psdir 608pdfdir 609dvidir 610htmldir 611infodir 612docdir 613oldincludedir 614includedir 615runstatedir 616localstatedir 617sharedstatedir 618sysconfdir 619datadir 620datarootdir 621libexecdir 622sbindir 623bindir 624program_transform_name 625prefix 626exec_prefix 627PACKAGE_URL 628PACKAGE_BUGREPORT 629PACKAGE_STRING 630PACKAGE_VERSION 631PACKAGE_TARNAME 632PACKAGE_NAME 633PATH_SEPARATOR 634SHELL' 635ac_subst_files='' 636ac_user_opts=' 637enable_option_checking 638' 639 ac_precious_vars='build_alias 640host_alias 641target_alias' 642 643 644# Initialize some variables set by options. 645ac_init_help= 646ac_init_version=false 647ac_unrecognized_opts= 648ac_unrecognized_sep= 649# The variables have the same names as the options, with 650# dashes changed to underlines. 651cache_file=/dev/null 652exec_prefix=NONE 653no_create= 654no_recursion= 655prefix=NONE 656program_prefix=NONE 657program_suffix=NONE 658program_transform_name=s,x,x, 659silent= 660site= 661srcdir= 662verbose= 663x_includes=NONE 664x_libraries=NONE 665 666# Installation directory options. 667# These are left unexpanded so users can "make install exec_prefix=/foo" 668# and all the variables that are supposed to be based on exec_prefix 669# by default will actually change. 670# Use braces instead of parens because sh, perl, etc. also accept them. 671# (The list follows the same order as the GNU Coding Standards.) 672bindir='${exec_prefix}/bin' 673sbindir='${exec_prefix}/sbin' 674libexecdir='${exec_prefix}/libexec' 675datarootdir='${prefix}/share' 676datadir='${datarootdir}' 677sysconfdir='${prefix}/etc' 678sharedstatedir='${prefix}/com' 679localstatedir='${prefix}/var' 680runstatedir='${localstatedir}/run' 681includedir='${prefix}/include' 682oldincludedir='/usr/include' 683docdir='${datarootdir}/doc/${PACKAGE}' 684infodir='${datarootdir}/info' 685htmldir='${docdir}' 686dvidir='${docdir}' 687pdfdir='${docdir}' 688psdir='${docdir}' 689libdir='${exec_prefix}/lib' 690localedir='${datarootdir}/locale' 691mandir='${datarootdir}/man' 692 693ac_prev= 694ac_dashdash= 695for ac_option 696do 697 # If the previous option needs an argument, assign it. 698 if test -n "$ac_prev"; then 699 eval $ac_prev=\$ac_option 700 ac_prev= 701 continue 702 fi 703 704 case $ac_option in 705 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 706 *=) ac_optarg= ;; 707 *) ac_optarg=yes ;; 708 esac 709 710 # Accept the important Cygnus configure options, so we can diagnose typos. 711 712 case $ac_dashdash$ac_option in 713 --) 714 ac_dashdash=yes ;; 715 716 -bindir | --bindir | --bindi | --bind | --bin | --bi) 717 ac_prev=bindir ;; 718 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 719 bindir=$ac_optarg ;; 720 721 -build | --build | --buil | --bui | --bu) 722 ac_prev=build_alias ;; 723 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 724 build_alias=$ac_optarg ;; 725 726 -cache-file | --cache-file | --cache-fil | --cache-fi \ 727 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 728 ac_prev=cache_file ;; 729 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 730 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 731 cache_file=$ac_optarg ;; 732 733 --config-cache | -C) 734 cache_file=config.cache ;; 735 736 -datadir | --datadir | --datadi | --datad) 737 ac_prev=datadir ;; 738 -datadir=* | --datadir=* | --datadi=* | --datad=*) 739 datadir=$ac_optarg ;; 740 741 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 742 | --dataroo | --dataro | --datar) 743 ac_prev=datarootdir ;; 744 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 745 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 746 datarootdir=$ac_optarg ;; 747 748 -disable-* | --disable-*) 749 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 750 # Reject names that are not valid shell variable names. 751 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 752 as_fn_error $? "invalid feature name: $ac_useropt" 753 ac_useropt_orig=$ac_useropt 754 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 755 case $ac_user_opts in 756 *" 757"enable_$ac_useropt" 758"*) ;; 759 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 760 ac_unrecognized_sep=', ';; 761 esac 762 eval enable_$ac_useropt=no ;; 763 764 -docdir | --docdir | --docdi | --doc | --do) 765 ac_prev=docdir ;; 766 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 767 docdir=$ac_optarg ;; 768 769 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 770 ac_prev=dvidir ;; 771 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 772 dvidir=$ac_optarg ;; 773 774 -enable-* | --enable-*) 775 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 776 # Reject names that are not valid shell variable names. 777 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 778 as_fn_error $? "invalid feature name: $ac_useropt" 779 ac_useropt_orig=$ac_useropt 780 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 781 case $ac_user_opts in 782 *" 783"enable_$ac_useropt" 784"*) ;; 785 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 786 ac_unrecognized_sep=', ';; 787 esac 788 eval enable_$ac_useropt=\$ac_optarg ;; 789 790 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 791 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 792 | --exec | --exe | --ex) 793 ac_prev=exec_prefix ;; 794 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 795 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 796 | --exec=* | --exe=* | --ex=*) 797 exec_prefix=$ac_optarg ;; 798 799 -gas | --gas | --ga | --g) 800 # Obsolete; use --with-gas. 801 with_gas=yes ;; 802 803 -help | --help | --hel | --he | -h) 804 ac_init_help=long ;; 805 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 806 ac_init_help=recursive ;; 807 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 808 ac_init_help=short ;; 809 810 -host | --host | --hos | --ho) 811 ac_prev=host_alias ;; 812 -host=* | --host=* | --hos=* | --ho=*) 813 host_alias=$ac_optarg ;; 814 815 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 816 ac_prev=htmldir ;; 817 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 818 | --ht=*) 819 htmldir=$ac_optarg ;; 820 821 -includedir | --includedir | --includedi | --included | --include \ 822 | --includ | --inclu | --incl | --inc) 823 ac_prev=includedir ;; 824 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 825 | --includ=* | --inclu=* | --incl=* | --inc=*) 826 includedir=$ac_optarg ;; 827 828 -infodir | --infodir | --infodi | --infod | --info | --inf) 829 ac_prev=infodir ;; 830 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 831 infodir=$ac_optarg ;; 832 833 -libdir | --libdir | --libdi | --libd) 834 ac_prev=libdir ;; 835 -libdir=* | --libdir=* | --libdi=* | --libd=*) 836 libdir=$ac_optarg ;; 837 838 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 839 | --libexe | --libex | --libe) 840 ac_prev=libexecdir ;; 841 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 842 | --libexe=* | --libex=* | --libe=*) 843 libexecdir=$ac_optarg ;; 844 845 -localedir | --localedir | --localedi | --localed | --locale) 846 ac_prev=localedir ;; 847 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 848 localedir=$ac_optarg ;; 849 850 -localstatedir | --localstatedir | --localstatedi | --localstated \ 851 | --localstate | --localstat | --localsta | --localst | --locals) 852 ac_prev=localstatedir ;; 853 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 854 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 855 localstatedir=$ac_optarg ;; 856 857 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 858 ac_prev=mandir ;; 859 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 860 mandir=$ac_optarg ;; 861 862 -nfp | --nfp | --nf) 863 # Obsolete; use --without-fp. 864 with_fp=no ;; 865 866 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 867 | --no-cr | --no-c | -n) 868 no_create=yes ;; 869 870 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 871 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 872 no_recursion=yes ;; 873 874 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 875 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 876 | --oldin | --oldi | --old | --ol | --o) 877 ac_prev=oldincludedir ;; 878 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 879 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 880 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 881 oldincludedir=$ac_optarg ;; 882 883 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 884 ac_prev=prefix ;; 885 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 886 prefix=$ac_optarg ;; 887 888 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 889 | --program-pre | --program-pr | --program-p) 890 ac_prev=program_prefix ;; 891 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 892 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 893 program_prefix=$ac_optarg ;; 894 895 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 896 | --program-suf | --program-su | --program-s) 897 ac_prev=program_suffix ;; 898 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 899 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 900 program_suffix=$ac_optarg ;; 901 902 -program-transform-name | --program-transform-name \ 903 | --program-transform-nam | --program-transform-na \ 904 | --program-transform-n | --program-transform- \ 905 | --program-transform | --program-transfor \ 906 | --program-transfo | --program-transf \ 907 | --program-trans | --program-tran \ 908 | --progr-tra | --program-tr | --program-t) 909 ac_prev=program_transform_name ;; 910 -program-transform-name=* | --program-transform-name=* \ 911 | --program-transform-nam=* | --program-transform-na=* \ 912 | --program-transform-n=* | --program-transform-=* \ 913 | --program-transform=* | --program-transfor=* \ 914 | --program-transfo=* | --program-transf=* \ 915 | --program-trans=* | --program-tran=* \ 916 | --progr-tra=* | --program-tr=* | --program-t=*) 917 program_transform_name=$ac_optarg ;; 918 919 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 920 ac_prev=pdfdir ;; 921 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 922 pdfdir=$ac_optarg ;; 923 924 -psdir | --psdir | --psdi | --psd | --ps) 925 ac_prev=psdir ;; 926 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 927 psdir=$ac_optarg ;; 928 929 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 930 | -silent | --silent | --silen | --sile | --sil) 931 silent=yes ;; 932 933 -runstatedir | --runstatedir | --runstatedi | --runstated \ 934 | --runstate | --runstat | --runsta | --runst | --runs \ 935 | --run | --ru | --r) 936 ac_prev=runstatedir ;; 937 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 938 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 939 | --run=* | --ru=* | --r=*) 940 runstatedir=$ac_optarg ;; 941 942 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 943 ac_prev=sbindir ;; 944 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 945 | --sbi=* | --sb=*) 946 sbindir=$ac_optarg ;; 947 948 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 949 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 950 | --sharedst | --shareds | --shared | --share | --shar \ 951 | --sha | --sh) 952 ac_prev=sharedstatedir ;; 953 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 954 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 955 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 956 | --sha=* | --sh=*) 957 sharedstatedir=$ac_optarg ;; 958 959 -site | --site | --sit) 960 ac_prev=site ;; 961 -site=* | --site=* | --sit=*) 962 site=$ac_optarg ;; 963 964 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 965 ac_prev=srcdir ;; 966 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 967 srcdir=$ac_optarg ;; 968 969 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 970 | --syscon | --sysco | --sysc | --sys | --sy) 971 ac_prev=sysconfdir ;; 972 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 973 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 974 sysconfdir=$ac_optarg ;; 975 976 -target | --target | --targe | --targ | --tar | --ta | --t) 977 ac_prev=target_alias ;; 978 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 979 target_alias=$ac_optarg ;; 980 981 -v | -verbose | --verbose | --verbos | --verbo | --verb) 982 verbose=yes ;; 983 984 -version | --version | --versio | --versi | --vers | -V) 985 ac_init_version=: ;; 986 987 -with-* | --with-*) 988 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 989 # Reject names that are not valid shell variable names. 990 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 991 as_fn_error $? "invalid package name: $ac_useropt" 992 ac_useropt_orig=$ac_useropt 993 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 994 case $ac_user_opts in 995 *" 996"with_$ac_useropt" 997"*) ;; 998 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 999 ac_unrecognized_sep=', ';; 1000 esac 1001 eval with_$ac_useropt=\$ac_optarg ;; 1002 1003 -without-* | --without-*) 1004 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1005 # Reject names that are not valid shell variable names. 1006 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1007 as_fn_error $? "invalid package name: $ac_useropt" 1008 ac_useropt_orig=$ac_useropt 1009 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1010 case $ac_user_opts in 1011 *" 1012"with_$ac_useropt" 1013"*) ;; 1014 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1015 ac_unrecognized_sep=', ';; 1016 esac 1017 eval with_$ac_useropt=no ;; 1018 1019 --x) 1020 # Obsolete; use --with-x. 1021 with_x=yes ;; 1022 1023 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1024 | --x-incl | --x-inc | --x-in | --x-i) 1025 ac_prev=x_includes ;; 1026 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1027 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1028 x_includes=$ac_optarg ;; 1029 1030 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1031 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1032 ac_prev=x_libraries ;; 1033 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1034 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1035 x_libraries=$ac_optarg ;; 1036 1037 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1038Try \`$0 --help' for more information" 1039 ;; 1040 1041 *=*) 1042 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1043 # Reject names that are not valid shell variable names. 1044 case $ac_envvar in #( 1045 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1046 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1047 esac 1048 eval $ac_envvar=\$ac_optarg 1049 export $ac_envvar ;; 1050 1051 *) 1052 # FIXME: should be removed in autoconf 3.0. 1053 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1054 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1055 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1056 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1057 ;; 1058 1059 esac 1060done 1061 1062if test -n "$ac_prev"; then 1063 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1064 as_fn_error $? "missing argument to $ac_option" 1065fi 1066 1067if test -n "$ac_unrecognized_opts"; then 1068 case $enable_option_checking in 1069 no) ;; 1070 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1071 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1072 esac 1073fi 1074 1075# Check all directory arguments for consistency. 1076for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1077 datadir sysconfdir sharedstatedir localstatedir includedir \ 1078 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1079 libdir localedir mandir runstatedir 1080do 1081 eval ac_val=\$$ac_var 1082 # Remove trailing slashes. 1083 case $ac_val in 1084 */ ) 1085 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1086 eval $ac_var=\$ac_val;; 1087 esac 1088 # Be sure to have absolute directory names. 1089 case $ac_val in 1090 [\\/$]* | ?:[\\/]* ) continue;; 1091 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1092 esac 1093 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1094done 1095 1096# There might be people who depend on the old broken behavior: `$host' 1097# used to hold the argument of --host etc. 1098# FIXME: To remove some day. 1099build=$build_alias 1100host=$host_alias 1101target=$target_alias 1102 1103# FIXME: To remove some day. 1104if test "x$host_alias" != x; then 1105 if test "x$build_alias" = x; then 1106 cross_compiling=maybe 1107 elif test "x$build_alias" != "x$host_alias"; then 1108 cross_compiling=yes 1109 fi 1110fi 1111 1112ac_tool_prefix= 1113test -n "$host_alias" && ac_tool_prefix=$host_alias- 1114 1115test "$silent" = yes && exec 6>/dev/null 1116 1117 1118ac_pwd=`pwd` && test -n "$ac_pwd" && 1119ac_ls_di=`ls -di .` && 1120ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1121 as_fn_error $? "working directory cannot be determined" 1122test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1123 as_fn_error $? "pwd does not report name of working directory" 1124 1125 1126# Find the source files, if location was not specified. 1127if test -z "$srcdir"; then 1128 ac_srcdir_defaulted=yes 1129 # Try the directory containing this script, then the parent directory. 1130 ac_confdir=`$as_dirname -- "$as_myself" || 1131$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1132 X"$as_myself" : 'X\(//\)[^/]' \| \ 1133 X"$as_myself" : 'X\(//\)$' \| \ 1134 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1135$as_echo X"$as_myself" | 1136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1137 s//\1/ 1138 q 1139 } 1140 /^X\(\/\/\)[^/].*/{ 1141 s//\1/ 1142 q 1143 } 1144 /^X\(\/\/\)$/{ 1145 s//\1/ 1146 q 1147 } 1148 /^X\(\/\).*/{ 1149 s//\1/ 1150 q 1151 } 1152 s/.*/./; q'` 1153 srcdir=$ac_confdir 1154 if test ! -r "$srcdir/$ac_unique_file"; then 1155 srcdir=.. 1156 fi 1157else 1158 ac_srcdir_defaulted=no 1159fi 1160if test ! -r "$srcdir/$ac_unique_file"; then 1161 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1162 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1163fi 1164ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1165ac_abs_confdir=`( 1166 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1167 pwd)` 1168# When building in place, set srcdir=. 1169if test "$ac_abs_confdir" = "$ac_pwd"; then 1170 srcdir=. 1171fi 1172# Remove unnecessary trailing slashes from srcdir. 1173# Double slashes in file names in object file debugging info 1174# mess up M-x gdb in Emacs. 1175case $srcdir in 1176*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1177esac 1178for ac_var in $ac_precious_vars; do 1179 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1180 eval ac_env_${ac_var}_value=\$${ac_var} 1181 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1182 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1183done 1184 1185# 1186# Report the --help message. 1187# 1188if test "$ac_init_help" = "long"; then 1189 # Omit some internal or obsolete options to make the list less imposing. 1190 # This message is too long to be a string in the A/UX 3.1 sh. 1191 cat <<_ACEOF 1192\`configure' configures this package to adapt to many kinds of systems. 1193 1194Usage: $0 [OPTION]... [VAR=VALUE]... 1195 1196To assign environment variables (e.g., CC, CFLAGS...), specify them as 1197VAR=VALUE. See below for descriptions of some of the useful variables. 1198 1199Defaults for the options are specified in brackets. 1200 1201Configuration: 1202 -h, --help display this help and exit 1203 --help=short display options specific to this package 1204 --help=recursive display the short help of all the included packages 1205 -V, --version display version information and exit 1206 -q, --quiet, --silent do not print \`checking ...' messages 1207 --cache-file=FILE cache test results in FILE [disabled] 1208 -C, --config-cache alias for \`--cache-file=config.cache' 1209 -n, --no-create do not create output files 1210 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1211 1212Installation directories: 1213 --prefix=PREFIX install architecture-independent files in PREFIX 1214 [$ac_default_prefix] 1215 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1216 [PREFIX] 1217 1218By default, \`make install' will install all the files in 1219\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1220an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1221for instance \`--prefix=\$HOME'. 1222 1223For better control, use the options below. 1224 1225Fine tuning of the installation directories: 1226 --bindir=DIR user executables [EPREFIX/bin] 1227 --sbindir=DIR system admin executables [EPREFIX/sbin] 1228 --libexecdir=DIR program executables [EPREFIX/libexec] 1229 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1230 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1231 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1232 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1233 --libdir=DIR object code libraries [EPREFIX/lib] 1234 --includedir=DIR C header files [PREFIX/include] 1235 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1236 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1237 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1238 --infodir=DIR info documentation [DATAROOTDIR/info] 1239 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1240 --mandir=DIR man documentation [DATAROOTDIR/man] 1241 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1242 --htmldir=DIR html documentation [DOCDIR] 1243 --dvidir=DIR dvi documentation [DOCDIR] 1244 --pdfdir=DIR pdf documentation [DOCDIR] 1245 --psdir=DIR ps documentation [DOCDIR] 1246_ACEOF 1247 1248 cat <<\_ACEOF 1249 1250System types: 1251 --build=BUILD configure for building on BUILD [guessed] 1252 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1253_ACEOF 1254fi 1255 1256if test -n "$ac_init_help"; then 1257 1258 cat <<\_ACEOF 1259 1260Report bugs to the package provider. 1261_ACEOF 1262ac_status=$? 1263fi 1264 1265if test "$ac_init_help" = "recursive"; then 1266 # If there are subdirs, report their specific --help. 1267 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1268 test -d "$ac_dir" || 1269 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1270 continue 1271 ac_builddir=. 1272 1273case "$ac_dir" in 1274.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1275*) 1276 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1277 # A ".." for each directory in $ac_dir_suffix. 1278 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1279 case $ac_top_builddir_sub in 1280 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1281 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1282 esac ;; 1283esac 1284ac_abs_top_builddir=$ac_pwd 1285ac_abs_builddir=$ac_pwd$ac_dir_suffix 1286# for backward compatibility: 1287ac_top_builddir=$ac_top_build_prefix 1288 1289case $srcdir in 1290 .) # We are building in place. 1291 ac_srcdir=. 1292 ac_top_srcdir=$ac_top_builddir_sub 1293 ac_abs_top_srcdir=$ac_pwd ;; 1294 [\\/]* | ?:[\\/]* ) # Absolute name. 1295 ac_srcdir=$srcdir$ac_dir_suffix; 1296 ac_top_srcdir=$srcdir 1297 ac_abs_top_srcdir=$srcdir ;; 1298 *) # Relative name. 1299 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1300 ac_top_srcdir=$ac_top_build_prefix$srcdir 1301 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1302esac 1303ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1304 1305 cd "$ac_dir" || { ac_status=$?; continue; } 1306 # Check for guested configure. 1307 if test -f "$ac_srcdir/configure.gnu"; then 1308 echo && 1309 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1310 elif test -f "$ac_srcdir/configure"; then 1311 echo && 1312 $SHELL "$ac_srcdir/configure" --help=recursive 1313 else 1314 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1315 fi || ac_status=$? 1316 cd "$ac_pwd" || { ac_status=$?; break; } 1317 done 1318fi 1319 1320test -n "$ac_init_help" && exit $ac_status 1321if $ac_init_version; then 1322 cat <<\_ACEOF 1323configure 1324generated by GNU Autoconf 2.69 1325 1326Copyright (C) 2012 Free Software Foundation, Inc. 1327This configure script is free software; the Free Software Foundation 1328gives unlimited permission to copy, distribute and modify it. 1329_ACEOF 1330 exit 1331fi 1332 1333## ------------------------ ## 1334## Autoconf initialization. ## 1335## ------------------------ ## 1336cat >config.log <<_ACEOF 1337This file contains any messages produced by compilers while 1338running configure, to aid debugging if configure makes a mistake. 1339 1340It was created by $as_me, which was 1341generated by GNU Autoconf 2.69. Invocation command line was 1342 1343 $ $0 $@ 1344 1345_ACEOF 1346exec 5>>config.log 1347{ 1348cat <<_ASUNAME 1349## --------- ## 1350## Platform. ## 1351## --------- ## 1352 1353hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1354uname -m = `(uname -m) 2>/dev/null || echo unknown` 1355uname -r = `(uname -r) 2>/dev/null || echo unknown` 1356uname -s = `(uname -s) 2>/dev/null || echo unknown` 1357uname -v = `(uname -v) 2>/dev/null || echo unknown` 1358 1359/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1360/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1361 1362/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1363/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1364/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1365/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1366/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1367/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1368/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1369 1370_ASUNAME 1371 1372as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1373for as_dir in $PATH 1374do 1375 IFS=$as_save_IFS 1376 test -z "$as_dir" && as_dir=. 1377 $as_echo "PATH: $as_dir" 1378 done 1379IFS=$as_save_IFS 1380 1381} >&5 1382 1383cat >&5 <<_ACEOF 1384 1385 1386## ----------- ## 1387## Core tests. ## 1388## ----------- ## 1389 1390_ACEOF 1391 1392 1393# Keep a trace of the command line. 1394# Strip out --no-create and --no-recursion so they do not pile up. 1395# Strip out --silent because we don't want to record it for future runs. 1396# Also quote any args containing shell meta-characters. 1397# Make two passes to allow for proper duplicate-argument suppression. 1398ac_configure_args= 1399ac_configure_args0= 1400ac_configure_args1= 1401ac_must_keep_next=false 1402for ac_pass in 1 2 1403do 1404 for ac_arg 1405 do 1406 case $ac_arg in 1407 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1408 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1409 | -silent | --silent | --silen | --sile | --sil) 1410 continue ;; 1411 *\'*) 1412 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1413 esac 1414 case $ac_pass in 1415 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1416 2) 1417 as_fn_append ac_configure_args1 " '$ac_arg'" 1418 if test $ac_must_keep_next = true; then 1419 ac_must_keep_next=false # Got value, back to normal. 1420 else 1421 case $ac_arg in 1422 *=* | --config-cache | -C | -disable-* | --disable-* \ 1423 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1424 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1425 | -with-* | --with-* | -without-* | --without-* | --x) 1426 case "$ac_configure_args0 " in 1427 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1428 esac 1429 ;; 1430 -* ) ac_must_keep_next=true ;; 1431 esac 1432 fi 1433 as_fn_append ac_configure_args " '$ac_arg'" 1434 ;; 1435 esac 1436 done 1437done 1438{ ac_configure_args0=; unset ac_configure_args0;} 1439{ ac_configure_args1=; unset ac_configure_args1;} 1440 1441# When interrupted or exit'd, cleanup temporary files, and complete 1442# config.log. We remove comments because anyway the quotes in there 1443# would cause problems or look ugly. 1444# WARNING: Use '\'' to represent an apostrophe within the trap. 1445# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1446trap 'exit_status=$? 1447 # Save into config.log some information that might help in debugging. 1448 { 1449 echo 1450 1451 $as_echo "## ---------------- ## 1452## Cache variables. ## 1453## ---------------- ##" 1454 echo 1455 # The following way of writing the cache mishandles newlines in values, 1456( 1457 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1458 eval ac_val=\$$ac_var 1459 case $ac_val in #( 1460 *${as_nl}*) 1461 case $ac_var in #( 1462 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1463$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1464 esac 1465 case $ac_var in #( 1466 _ | IFS | as_nl) ;; #( 1467 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1468 *) { eval $ac_var=; unset $ac_var;} ;; 1469 esac ;; 1470 esac 1471 done 1472 (set) 2>&1 | 1473 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1474 *${as_nl}ac_space=\ *) 1475 sed -n \ 1476 "s/'\''/'\''\\\\'\'''\''/g; 1477 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1478 ;; #( 1479 *) 1480 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1481 ;; 1482 esac | 1483 sort 1484) 1485 echo 1486 1487 $as_echo "## ----------------- ## 1488## Output variables. ## 1489## ----------------- ##" 1490 echo 1491 for ac_var in $ac_subst_vars 1492 do 1493 eval ac_val=\$$ac_var 1494 case $ac_val in 1495 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1496 esac 1497 $as_echo "$ac_var='\''$ac_val'\''" 1498 done | sort 1499 echo 1500 1501 if test -n "$ac_subst_files"; then 1502 $as_echo "## ------------------- ## 1503## File substitutions. ## 1504## ------------------- ##" 1505 echo 1506 for ac_var in $ac_subst_files 1507 do 1508 eval ac_val=\$$ac_var 1509 case $ac_val in 1510 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1511 esac 1512 $as_echo "$ac_var='\''$ac_val'\''" 1513 done | sort 1514 echo 1515 fi 1516 1517 if test -s confdefs.h; then 1518 $as_echo "## ----------- ## 1519## confdefs.h. ## 1520## ----------- ##" 1521 echo 1522 cat confdefs.h 1523 echo 1524 fi 1525 test "$ac_signal" != 0 && 1526 $as_echo "$as_me: caught signal $ac_signal" 1527 $as_echo "$as_me: exit $exit_status" 1528 } >&5 1529 rm -f core *.core core.conftest.* && 1530 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1531 exit $exit_status 1532' 0 1533for ac_signal in 1 2 13 15; do 1534 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1535done 1536ac_signal=0 1537 1538# confdefs.h avoids OS command line length limits that DEFS can exceed. 1539rm -f -r conftest* confdefs.h 1540 1541$as_echo "/* confdefs.h */" > confdefs.h 1542 1543# Predefined preprocessor variables. 1544 1545cat >>confdefs.h <<_ACEOF 1546#define PACKAGE_NAME "$PACKAGE_NAME" 1547_ACEOF 1548 1549cat >>confdefs.h <<_ACEOF 1550#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1551_ACEOF 1552 1553cat >>confdefs.h <<_ACEOF 1554#define PACKAGE_VERSION "$PACKAGE_VERSION" 1555_ACEOF 1556 1557cat >>confdefs.h <<_ACEOF 1558#define PACKAGE_STRING "$PACKAGE_STRING" 1559_ACEOF 1560 1561cat >>confdefs.h <<_ACEOF 1562#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1563_ACEOF 1564 1565cat >>confdefs.h <<_ACEOF 1566#define PACKAGE_URL "$PACKAGE_URL" 1567_ACEOF 1568 1569 1570# Let the site file select an alternate cache file if it wants to. 1571# Prefer an explicitly selected file to automatically selected ones. 1572ac_site_file1=NONE 1573ac_site_file2=NONE 1574if test -n "$CONFIG_SITE"; then 1575 # We do not want a PATH search for config.site. 1576 case $CONFIG_SITE in #(( 1577 -*) ac_site_file1=./$CONFIG_SITE;; 1578 */*) ac_site_file1=$CONFIG_SITE;; 1579 *) ac_site_file1=./$CONFIG_SITE;; 1580 esac 1581elif test "x$prefix" != xNONE; then 1582 ac_site_file1=$prefix/share/config.site 1583 ac_site_file2=$prefix/etc/config.site 1584else 1585 ac_site_file1=$ac_default_prefix/share/config.site 1586 ac_site_file2=$ac_default_prefix/etc/config.site 1587fi 1588for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1589do 1590 test "x$ac_site_file" = xNONE && continue 1591 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1592 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1593$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1594 sed 's/^/| /' "$ac_site_file" >&5 1595 . "$ac_site_file" \ 1596 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1597$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1598as_fn_error $? "failed to load site script $ac_site_file 1599See \`config.log' for more details" "$LINENO" 5; } 1600 fi 1601done 1602 1603 1604# Check that the precious variables saved in the cache have kept the same 1605# value. 1606ac_cache_corrupted=false 1607for ac_var in $ac_precious_vars; do 1608 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1609 eval ac_new_set=\$ac_env_${ac_var}_set 1610 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1611 eval ac_new_val=\$ac_env_${ac_var}_value 1612 case $ac_old_set,$ac_new_set in 1613 set,) 1614 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1615$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1616 ac_cache_corrupted=: ;; 1617 ,set) 1618 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1619$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1620 ac_cache_corrupted=: ;; 1621 ,);; 1622 *) 1623 if test "x$ac_old_val" != "x$ac_new_val"; then 1624 # differences in whitespace do not lead to failure. 1625 ac_old_val_w=`echo x $ac_old_val` 1626 ac_new_val_w=`echo x $ac_new_val` 1627 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1628 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1629$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1630 ac_cache_corrupted=: 1631 else 1632 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1633$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1634 eval $ac_var=\$ac_old_val 1635 fi 1636 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1637$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1638 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1639$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1640 fi;; 1641 esac 1642 # Pass precious variables to config.status. 1643 if test "$ac_new_set" = set; then 1644 case $ac_new_val in 1645 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1646 *) ac_arg=$ac_var=$ac_new_val ;; 1647 esac 1648 case " $ac_configure_args " in 1649 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1650 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1651 esac 1652 fi 1653done 1654if $ac_cache_corrupted; then 1655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1656$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1657 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1658$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1659 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1660fi 1661## -------------------- ## 1662## Main body of script. ## 1663## -------------------- ## 1664 1665ac_ext=c 1666ac_cpp='$CPP $CPPFLAGS' 1667ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1668ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1669ac_compiler_gnu=$ac_cv_c_compiler_gnu 1670 1671 1672 1673ac_aux_dir= 1674for ac_dir in ${ERL_TOP}/erts/autoconf; do 1675 if test -f "$ac_dir/install-sh"; then 1676 ac_aux_dir=$ac_dir 1677 ac_install_sh="$ac_aux_dir/install-sh -c" 1678 break 1679 elif test -f "$ac_dir/install.sh"; then 1680 ac_aux_dir=$ac_dir 1681 ac_install_sh="$ac_aux_dir/install.sh -c" 1682 break 1683 elif test -f "$ac_dir/shtool"; then 1684 ac_aux_dir=$ac_dir 1685 ac_install_sh="$ac_aux_dir/shtool install -c" 1686 break 1687 fi 1688done 1689if test -z "$ac_aux_dir"; then 1690 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ${ERL_TOP}/erts/autoconf" "$LINENO" 5 1691fi 1692 1693# These three variables are undocumented and unsupported, 1694# and are intended to be withdrawn in a future Autoconf release. 1695# They can cause serious problems if a builder's source tree is in a directory 1696# whose full name contains unusual characters. 1697ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1698ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1699ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1700 1701 1702 1703if test "X$host" != "Xfree_source" -a "X$host" != "Xwin32"; then 1704 # Make sure we can run config.sub. 1705$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1706 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 1707 1708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 1709$as_echo_n "checking build system type... " >&6; } 1710if ${ac_cv_build+:} false; then : 1711 $as_echo_n "(cached) " >&6 1712else 1713 ac_build_alias=$build_alias 1714test "x$ac_build_alias" = x && 1715 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1716test "x$ac_build_alias" = x && 1717 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 1718ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1719 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 1720 1721fi 1722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 1723$as_echo "$ac_cv_build" >&6; } 1724case $ac_cv_build in 1725*-*-*) ;; 1726*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 1727esac 1728build=$ac_cv_build 1729ac_save_IFS=$IFS; IFS='-' 1730set x $ac_cv_build 1731shift 1732build_cpu=$1 1733build_vendor=$2 1734shift; shift 1735# Remember, the first character of IFS is used to create $*, 1736# except with old shells: 1737build_os=$* 1738IFS=$ac_save_IFS 1739case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1740 1741 1742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 1743$as_echo_n "checking host system type... " >&6; } 1744if ${ac_cv_host+:} false; then : 1745 $as_echo_n "(cached) " >&6 1746else 1747 if test "x$host_alias" = x; then 1748 ac_cv_host=$ac_cv_build 1749else 1750 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1751 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 1752fi 1753 1754fi 1755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 1756$as_echo "$ac_cv_host" >&6; } 1757case $ac_cv_host in 1758*-*-*) ;; 1759*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 1760esac 1761host=$ac_cv_host 1762ac_save_IFS=$IFS; IFS='-' 1763set x $ac_cv_host 1764shift 1765host_cpu=$1 1766host_vendor=$2 1767shift; shift 1768# Remember, the first character of IFS is used to create $*, 1769# except with old shells: 1770host_os=$* 1771IFS=$ac_save_IFS 1772case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1773 1774 1775else 1776 host_os=win32 1777fi 1778 1779 1780 1781 1782# Extract the first word of "perl", so it can be a program name with args. 1783set dummy perl; ac_word=$2 1784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1785$as_echo_n "checking for $ac_word... " >&6; } 1786if ${ac_cv_prog_PERL+:} false; then : 1787 $as_echo_n "(cached) " >&6 1788else 1789 if test -n "$PERL"; then 1790 ac_cv_prog_PERL="$PERL" # Let the user override the test. 1791else 1792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1793for as_dir in $PATH 1794do 1795 IFS=$as_save_IFS 1796 test -z "$as_dir" && as_dir=. 1797 for ac_exec_ext in '' $ac_executable_extensions; do 1798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1799 ac_cv_prog_PERL="perl" 1800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1801 break 2 1802 fi 1803done 1804 done 1805IFS=$as_save_IFS 1806 1807 test -z "$ac_cv_prog_PERL" && ac_cv_prog_PERL="no_perl" 1808fi 1809fi 1810PERL=$ac_cv_prog_PERL 1811if test -n "$PERL"; then 1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 1813$as_echo "$PERL" >&6; } 1814else 1815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1816$as_echo "no" >&6; } 1817fi 1818 1819 1820if test "$PERL" = no_perl; then 1821 as_fn_error $? "Perl is required to generate v2 to v1 mib converter script" "$LINENO" 5 1822fi 1823 1824 1825ac_config_files="$ac_config_files mibs/Makefile:mibs/Makefile.in" 1826 1827 1828 1829test "x$prefix" = xNONE && prefix=$ac_default_prefix 1830# Let make expand exec_prefix. 1831test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 1832 1833# Transform confdefs.h into DEFS. 1834# Protect against shell expansion while executing Makefile rules. 1835# Protect against Makefile macro expansion. 1836# 1837# If the first sed substitution is executed (which looks for macros that 1838# take arguments), then branch to the quote section. Otherwise, 1839# look for a macro that doesn't take arguments. 1840ac_script=' 1841:mline 1842/\\$/{ 1843 N 1844 s,\\\n,, 1845 b mline 1846} 1847t clear 1848:clear 1849s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 1850t quote 1851s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 1852t quote 1853b any 1854:quote 1855s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 1856s/\[/\\&/g 1857s/\]/\\&/g 1858s/\$/$$/g 1859H 1860:any 1861${ 1862 g 1863 s/^\n// 1864 s/\n/ /g 1865 p 1866} 1867' 1868DEFS=`sed -n "$ac_script" confdefs.h` 1869 1870 1871ac_libobjs= 1872ac_ltlibobjs= 1873U= 1874for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 1875 # 1. Remove the extension, and $U if already installed. 1876 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 1877 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 1878 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 1879 # will be set to the directory where LIBOBJS objects are built. 1880 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 1881 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 1882done 1883LIBOBJS=$ac_libobjs 1884 1885LTLIBOBJS=$ac_ltlibobjs 1886 1887 1888 1889: "${CONFIG_STATUS=./config.status}" 1890ac_write_fail=0 1891ac_clean_files_save=$ac_clean_files 1892ac_clean_files="$ac_clean_files $CONFIG_STATUS" 1893{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 1894$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 1895as_write_fail=0 1896cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 1897#! $SHELL 1898# Generated by $as_me. 1899# Run this file to recreate the current configuration. 1900# Compiler output produced by configure, useful for debugging 1901# configure, is in config.log if it exists. 1902 1903debug=false 1904ac_cs_recheck=false 1905ac_cs_silent=false 1906 1907SHELL=\${CONFIG_SHELL-$SHELL} 1908export SHELL 1909_ASEOF 1910cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 1911## -------------------- ## 1912## M4sh Initialization. ## 1913## -------------------- ## 1914 1915# Be more Bourne compatible 1916DUALCASE=1; export DUALCASE # for MKS sh 1917if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 1918 emulate sh 1919 NULLCMD=: 1920 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 1921 # is contrary to our usage. Disable this feature. 1922 alias -g '${1+"$@"}'='"$@"' 1923 setopt NO_GLOB_SUBST 1924else 1925 case `(set -o) 2>/dev/null` in #( 1926 *posix*) : 1927 set -o posix ;; #( 1928 *) : 1929 ;; 1930esac 1931fi 1932 1933 1934as_nl=' 1935' 1936export as_nl 1937# Printing a long string crashes Solaris 7 /usr/bin/printf. 1938as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 1939as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 1940as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 1941# Prefer a ksh shell builtin over an external printf program on Solaris, 1942# but without wasting forks for bash or zsh. 1943if test -z "$BASH_VERSION$ZSH_VERSION" \ 1944 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 1945 as_echo='print -r --' 1946 as_echo_n='print -rn --' 1947elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 1948 as_echo='printf %s\n' 1949 as_echo_n='printf %s' 1950else 1951 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 1952 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 1953 as_echo_n='/usr/ucb/echo -n' 1954 else 1955 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 1956 as_echo_n_body='eval 1957 arg=$1; 1958 case $arg in #( 1959 *"$as_nl"*) 1960 expr "X$arg" : "X\\(.*\\)$as_nl"; 1961 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 1962 esac; 1963 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 1964 ' 1965 export as_echo_n_body 1966 as_echo_n='sh -c $as_echo_n_body as_echo' 1967 fi 1968 export as_echo_body 1969 as_echo='sh -c $as_echo_body as_echo' 1970fi 1971 1972# The user is always right. 1973if test "${PATH_SEPARATOR+set}" != set; then 1974 PATH_SEPARATOR=: 1975 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 1976 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 1977 PATH_SEPARATOR=';' 1978 } 1979fi 1980 1981 1982# IFS 1983# We need space, tab and new line, in precisely that order. Quoting is 1984# there to prevent editors from complaining about space-tab. 1985# (If _AS_PATH_WALK were called with IFS unset, it would disable word 1986# splitting by setting IFS to empty value.) 1987IFS=" "" $as_nl" 1988 1989# Find who we are. Look in the path if we contain no directory separator. 1990as_myself= 1991case $0 in #(( 1992 *[\\/]* ) as_myself=$0 ;; 1993 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1994for as_dir in $PATH 1995do 1996 IFS=$as_save_IFS 1997 test -z "$as_dir" && as_dir=. 1998 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1999 done 2000IFS=$as_save_IFS 2001 2002 ;; 2003esac 2004# We did not find ourselves, most probably we were run as `sh COMMAND' 2005# in which case we are not to be found in the path. 2006if test "x$as_myself" = x; then 2007 as_myself=$0 2008fi 2009if test ! -f "$as_myself"; then 2010 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 2011 exit 1 2012fi 2013 2014# Unset variables that we do not need and which cause bugs (e.g. in 2015# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 2016# suppresses any "Segmentation fault" message there. '((' could 2017# trigger a bug in pdksh 5.2.14. 2018for as_var in BASH_ENV ENV MAIL MAILPATH 2019do eval test x\${$as_var+set} = xset \ 2020 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 2021done 2022PS1='$ ' 2023PS2='> ' 2024PS4='+ ' 2025 2026# NLS nuisances. 2027LC_ALL=C 2028export LC_ALL 2029LANGUAGE=C 2030export LANGUAGE 2031 2032# CDPATH. 2033(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 2034 2035 2036# as_fn_error STATUS ERROR [LINENO LOG_FD] 2037# ---------------------------------------- 2038# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 2039# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 2040# script with STATUS, using 1 if that was 0. 2041as_fn_error () 2042{ 2043 as_status=$1; test $as_status -eq 0 && as_status=1 2044 if test "$4"; then 2045 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2046 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 2047 fi 2048 $as_echo "$as_me: error: $2" >&2 2049 as_fn_exit $as_status 2050} # as_fn_error 2051 2052 2053# as_fn_set_status STATUS 2054# ----------------------- 2055# Set $? to STATUS, without forking. 2056as_fn_set_status () 2057{ 2058 return $1 2059} # as_fn_set_status 2060 2061# as_fn_exit STATUS 2062# ----------------- 2063# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2064as_fn_exit () 2065{ 2066 set +e 2067 as_fn_set_status $1 2068 exit $1 2069} # as_fn_exit 2070 2071# as_fn_unset VAR 2072# --------------- 2073# Portably unset VAR. 2074as_fn_unset () 2075{ 2076 { eval $1=; unset $1;} 2077} 2078as_unset=as_fn_unset 2079# as_fn_append VAR VALUE 2080# ---------------------- 2081# Append the text in VALUE to the end of the definition contained in VAR. Take 2082# advantage of any shell optimizations that allow amortized linear growth over 2083# repeated appends, instead of the typical quadratic growth present in naive 2084# implementations. 2085if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 2086 eval 'as_fn_append () 2087 { 2088 eval $1+=\$2 2089 }' 2090else 2091 as_fn_append () 2092 { 2093 eval $1=\$$1\$2 2094 } 2095fi # as_fn_append 2096 2097# as_fn_arith ARG... 2098# ------------------ 2099# Perform arithmetic evaluation on the ARGs, and store the result in the 2100# global $as_val. Take advantage of shells that can avoid forks. The arguments 2101# must be portable across $(()) and expr. 2102if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 2103 eval 'as_fn_arith () 2104 { 2105 as_val=$(( $* )) 2106 }' 2107else 2108 as_fn_arith () 2109 { 2110 as_val=`expr "$@" || test $? -eq 1` 2111 } 2112fi # as_fn_arith 2113 2114 2115if expr a : '\(a\)' >/dev/null 2>&1 && 2116 test "X`expr 00001 : '.*\(...\)'`" = X001; then 2117 as_expr=expr 2118else 2119 as_expr=false 2120fi 2121 2122if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 2123 as_basename=basename 2124else 2125 as_basename=false 2126fi 2127 2128if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 2129 as_dirname=dirname 2130else 2131 as_dirname=false 2132fi 2133 2134as_me=`$as_basename -- "$0" || 2135$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 2136 X"$0" : 'X\(//\)$' \| \ 2137 X"$0" : 'X\(/\)' \| . 2>/dev/null || 2138$as_echo X/"$0" | 2139 sed '/^.*\/\([^/][^/]*\)\/*$/{ 2140 s//\1/ 2141 q 2142 } 2143 /^X\/\(\/\/\)$/{ 2144 s//\1/ 2145 q 2146 } 2147 /^X\/\(\/\).*/{ 2148 s//\1/ 2149 q 2150 } 2151 s/.*/./; q'` 2152 2153# Avoid depending upon Character Ranges. 2154as_cr_letters='abcdefghijklmnopqrstuvwxyz' 2155as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 2156as_cr_Letters=$as_cr_letters$as_cr_LETTERS 2157as_cr_digits='0123456789' 2158as_cr_alnum=$as_cr_Letters$as_cr_digits 2159 2160ECHO_C= ECHO_N= ECHO_T= 2161case `echo -n x` in #((((( 2162-n*) 2163 case `echo 'xy\c'` in 2164 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 2165 xy) ECHO_C='\c';; 2166 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 2167 ECHO_T=' ';; 2168 esac;; 2169*) 2170 ECHO_N='-n';; 2171esac 2172 2173rm -f conf$$ conf$$.exe conf$$.file 2174if test -d conf$$.dir; then 2175 rm -f conf$$.dir/conf$$.file 2176else 2177 rm -f conf$$.dir 2178 mkdir conf$$.dir 2>/dev/null 2179fi 2180if (echo >conf$$.file) 2>/dev/null; then 2181 if ln -s conf$$.file conf$$ 2>/dev/null; then 2182 as_ln_s='ln -s' 2183 # ... but there are two gotchas: 2184 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 2185 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 2186 # In both cases, we have to default to `cp -pR'. 2187 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 2188 as_ln_s='cp -pR' 2189 elif ln conf$$.file conf$$ 2>/dev/null; then 2190 as_ln_s=ln 2191 else 2192 as_ln_s='cp -pR' 2193 fi 2194else 2195 as_ln_s='cp -pR' 2196fi 2197rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 2198rmdir conf$$.dir 2>/dev/null 2199 2200 2201# as_fn_mkdir_p 2202# ------------- 2203# Create "$as_dir" as a directory, including parents if necessary. 2204as_fn_mkdir_p () 2205{ 2206 2207 case $as_dir in #( 2208 -*) as_dir=./$as_dir;; 2209 esac 2210 test -d "$as_dir" || eval $as_mkdir_p || { 2211 as_dirs= 2212 while :; do 2213 case $as_dir in #( 2214 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 2215 *) as_qdir=$as_dir;; 2216 esac 2217 as_dirs="'$as_qdir' $as_dirs" 2218 as_dir=`$as_dirname -- "$as_dir" || 2219$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2220 X"$as_dir" : 'X\(//\)[^/]' \| \ 2221 X"$as_dir" : 'X\(//\)$' \| \ 2222 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 2223$as_echo X"$as_dir" | 2224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 2225 s//\1/ 2226 q 2227 } 2228 /^X\(\/\/\)[^/].*/{ 2229 s//\1/ 2230 q 2231 } 2232 /^X\(\/\/\)$/{ 2233 s//\1/ 2234 q 2235 } 2236 /^X\(\/\).*/{ 2237 s//\1/ 2238 q 2239 } 2240 s/.*/./; q'` 2241 test -d "$as_dir" && break 2242 done 2243 test -z "$as_dirs" || eval "mkdir $as_dirs" 2244 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 2245 2246 2247} # as_fn_mkdir_p 2248if mkdir -p . 2>/dev/null; then 2249 as_mkdir_p='mkdir -p "$as_dir"' 2250else 2251 test -d ./-p && rmdir ./-p 2252 as_mkdir_p=false 2253fi 2254 2255 2256# as_fn_executable_p FILE 2257# ----------------------- 2258# Test if FILE is an executable regular file. 2259as_fn_executable_p () 2260{ 2261 test -f "$1" && test -x "$1" 2262} # as_fn_executable_p 2263as_test_x='test -x' 2264as_executable_p=as_fn_executable_p 2265 2266# Sed expression to map a string onto a valid CPP name. 2267as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 2268 2269# Sed expression to map a string onto a valid variable name. 2270as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 2271 2272 2273exec 6>&1 2274## ----------------------------------- ## 2275## Main body of $CONFIG_STATUS script. ## 2276## ----------------------------------- ## 2277_ASEOF 2278test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 2279 2280cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2281# Save the log message, to keep $0 and so on meaningful, and to 2282# report actual input values of CONFIG_FILES etc. instead of their 2283# values after options handling. 2284ac_log=" 2285This file was extended by $as_me, which was 2286generated by GNU Autoconf 2.69. Invocation command line was 2287 2288 CONFIG_FILES = $CONFIG_FILES 2289 CONFIG_HEADERS = $CONFIG_HEADERS 2290 CONFIG_LINKS = $CONFIG_LINKS 2291 CONFIG_COMMANDS = $CONFIG_COMMANDS 2292 $ $0 $@ 2293 2294on `(hostname || uname -n) 2>/dev/null | sed 1q` 2295" 2296 2297_ACEOF 2298 2299case $ac_config_files in *" 2300"*) set x $ac_config_files; shift; ac_config_files=$*;; 2301esac 2302 2303 2304 2305cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2306# Files that config.status was made for. 2307config_files="$ac_config_files" 2308 2309_ACEOF 2310 2311cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2312ac_cs_usage="\ 2313\`$as_me' instantiates files and other configuration actions 2314from templates according to the current configuration. Unless the files 2315and actions are specified as TAGs, all are instantiated by default. 2316 2317Usage: $0 [OPTION]... [TAG]... 2318 2319 -h, --help print this help, then exit 2320 -V, --version print version number and configuration settings, then exit 2321 --config print configuration, then exit 2322 -q, --quiet, --silent 2323 do not print progress messages 2324 -d, --debug don't remove temporary files 2325 --recheck update $as_me by reconfiguring in the same conditions 2326 --file=FILE[:TEMPLATE] 2327 instantiate the configuration file FILE 2328 2329Configuration files: 2330$config_files 2331 2332Report bugs to the package provider." 2333 2334_ACEOF 2335cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2336ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 2337ac_cs_version="\\ 2338config.status 2339configured by $0, generated by GNU Autoconf 2.69, 2340 with options \\"\$ac_cs_config\\" 2341 2342Copyright (C) 2012 Free Software Foundation, Inc. 2343This config.status script is free software; the Free Software Foundation 2344gives unlimited permission to copy, distribute and modify it." 2345 2346ac_pwd='$ac_pwd' 2347srcdir='$srcdir' 2348test -n "\$AWK" || AWK=awk 2349_ACEOF 2350 2351cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2352# The default lists apply if the user does not specify any file. 2353ac_need_defaults=: 2354while test $# != 0 2355do 2356 case $1 in 2357 --*=?*) 2358 ac_option=`expr "X$1" : 'X\([^=]*\)='` 2359 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 2360 ac_shift=: 2361 ;; 2362 --*=) 2363 ac_option=`expr "X$1" : 'X\([^=]*\)='` 2364 ac_optarg= 2365 ac_shift=: 2366 ;; 2367 *) 2368 ac_option=$1 2369 ac_optarg=$2 2370 ac_shift=shift 2371 ;; 2372 esac 2373 2374 case $ac_option in 2375 # Handling of the options. 2376 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2377 ac_cs_recheck=: ;; 2378 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 2379 $as_echo "$ac_cs_version"; exit ;; 2380 --config | --confi | --conf | --con | --co | --c ) 2381 $as_echo "$ac_cs_config"; exit ;; 2382 --debug | --debu | --deb | --de | --d | -d ) 2383 debug=: ;; 2384 --file | --fil | --fi | --f ) 2385 $ac_shift 2386 case $ac_optarg in 2387 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 2388 '') as_fn_error $? "missing file argument" ;; 2389 esac 2390 as_fn_append CONFIG_FILES " '$ac_optarg'" 2391 ac_need_defaults=false;; 2392 --he | --h | --help | --hel | -h ) 2393 $as_echo "$ac_cs_usage"; exit ;; 2394 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2395 | -silent | --silent | --silen | --sile | --sil | --si | --s) 2396 ac_cs_silent=: ;; 2397 2398 # This is an error. 2399 -*) as_fn_error $? "unrecognized option: \`$1' 2400Try \`$0 --help' for more information." ;; 2401 2402 *) as_fn_append ac_config_targets " $1" 2403 ac_need_defaults=false ;; 2404 2405 esac 2406 shift 2407done 2408 2409ac_configure_extra_args= 2410 2411if $ac_cs_silent; then 2412 exec 6>/dev/null 2413 ac_configure_extra_args="$ac_configure_extra_args --silent" 2414fi 2415 2416_ACEOF 2417cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2418if \$ac_cs_recheck; then 2419 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 2420 shift 2421 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 2422 CONFIG_SHELL='$SHELL' 2423 export CONFIG_SHELL 2424 exec "\$@" 2425fi 2426 2427_ACEOF 2428cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2429exec 5>>config.log 2430{ 2431 echo 2432 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 2433## Running $as_me. ## 2434_ASBOX 2435 $as_echo "$ac_log" 2436} >&5 2437 2438_ACEOF 2439cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2440_ACEOF 2441 2442cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2443 2444# Handling of arguments. 2445for ac_config_target in $ac_config_targets 2446do 2447 case $ac_config_target in 2448 "mibs/Makefile") CONFIG_FILES="$CONFIG_FILES mibs/Makefile:mibs/Makefile.in" ;; 2449 2450 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 2451 esac 2452done 2453 2454 2455# If the user did not use the arguments to specify the items to instantiate, 2456# then the envvar interface is used. Set only those that are not. 2457# We use the long form for the default assignment because of an extremely 2458# bizarre bug on SunOS 4.1.3. 2459if $ac_need_defaults; then 2460 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 2461fi 2462 2463# Have a temporary directory for convenience. Make it in the build tree 2464# simply because there is no reason against having it here, and in addition, 2465# creating and moving files from /tmp can sometimes cause problems. 2466# Hook for its removal unless debugging. 2467# Note that there is a small window in which the directory will not be cleaned: 2468# after its creation but before its name has been assigned to `$tmp'. 2469$debug || 2470{ 2471 tmp= ac_tmp= 2472 trap 'exit_status=$? 2473 : "${ac_tmp:=$tmp}" 2474 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 2475' 0 2476 trap 'as_fn_exit 1' 1 2 13 15 2477} 2478# Create a (secure) tmp directory for tmp files. 2479 2480{ 2481 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 2482 test -d "$tmp" 2483} || 2484{ 2485 tmp=./conf$$-$RANDOM 2486 (umask 077 && mkdir "$tmp") 2487} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 2488ac_tmp=$tmp 2489 2490# Set up the scripts for CONFIG_FILES section. 2491# No need to generate them if there are no CONFIG_FILES. 2492# This happens for instance with `./config.status config.h'. 2493if test -n "$CONFIG_FILES"; then 2494 2495 2496ac_cr=`echo X | tr X '\015'` 2497# On cygwin, bash can eat \r inside `` if the user requested igncr. 2498# But we know of no other shell where ac_cr would be empty at this 2499# point, so we can use a bashism as a fallback. 2500if test "x$ac_cr" = x; then 2501 eval ac_cr=\$\'\\r\' 2502fi 2503ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 2504if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 2505 ac_cs_awk_cr='\\r' 2506else 2507 ac_cs_awk_cr=$ac_cr 2508fi 2509 2510echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 2511_ACEOF 2512 2513 2514{ 2515 echo "cat >conf$$subs.awk <<_ACEOF" && 2516 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 2517 echo "_ACEOF" 2518} >conf$$subs.sh || 2519 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 2520ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 2521ac_delim='%!_!# ' 2522for ac_last_try in false false false false false :; do 2523 . ./conf$$subs.sh || 2524 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 2525 2526 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 2527 if test $ac_delim_n = $ac_delim_num; then 2528 break 2529 elif $ac_last_try; then 2530 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 2531 else 2532 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 2533 fi 2534done 2535rm -f conf$$subs.sh 2536 2537cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2538cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 2539_ACEOF 2540sed -n ' 2541h 2542s/^/S["/; s/!.*/"]=/ 2543p 2544g 2545s/^[^!]*!// 2546:repl 2547t repl 2548s/'"$ac_delim"'$// 2549t delim 2550:nl 2551h 2552s/\(.\{148\}\)..*/\1/ 2553t more1 2554s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 2555p 2556n 2557b repl 2558:more1 2559s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 2560p 2561g 2562s/.\{148\}// 2563t nl 2564:delim 2565h 2566s/\(.\{148\}\)..*/\1/ 2567t more2 2568s/["\\]/\\&/g; s/^/"/; s/$/"/ 2569p 2570b 2571:more2 2572s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 2573p 2574g 2575s/.\{148\}// 2576t delim 2577' <conf$$subs.awk | sed ' 2578/^[^""]/{ 2579 N 2580 s/\n// 2581} 2582' >>$CONFIG_STATUS || ac_write_fail=1 2583rm -f conf$$subs.awk 2584cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2585_ACAWK 2586cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 2587 for (key in S) S_is_set[key] = 1 2588 FS = "" 2589 2590} 2591{ 2592 line = $ 0 2593 nfields = split(line, field, "@") 2594 substed = 0 2595 len = length(field[1]) 2596 for (i = 2; i < nfields; i++) { 2597 key = field[i] 2598 keylen = length(key) 2599 if (S_is_set[key]) { 2600 value = S[key] 2601 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 2602 len += length(value) + length(field[++i]) 2603 substed = 1 2604 } else 2605 len += 1 + keylen 2606 } 2607 2608 print line 2609} 2610 2611_ACAWK 2612_ACEOF 2613cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2614if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 2615 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 2616else 2617 cat 2618fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 2619 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 2620_ACEOF 2621 2622# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 2623# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 2624# trailing colons and then remove the whole line if VPATH becomes empty 2625# (actually we leave an empty line to preserve line numbers). 2626if test "x$srcdir" = x.; then 2627 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 2628h 2629s/// 2630s/^/:/ 2631s/[ ]*$/:/ 2632s/:\$(srcdir):/:/g 2633s/:\${srcdir}:/:/g 2634s/:@srcdir@:/:/g 2635s/^:*// 2636s/:*$// 2637x 2638s/\(=[ ]*\).*/\1/ 2639G 2640s/\n// 2641s/^[^=]*=[ ]*$// 2642}' 2643fi 2644 2645cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2646fi # test -n "$CONFIG_FILES" 2647 2648 2649eval set X " :F $CONFIG_FILES " 2650shift 2651for ac_tag 2652do 2653 case $ac_tag in 2654 :[FHLC]) ac_mode=$ac_tag; continue;; 2655 esac 2656 case $ac_mode$ac_tag in 2657 :[FHL]*:*);; 2658 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 2659 :[FH]-) ac_tag=-:-;; 2660 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 2661 esac 2662 ac_save_IFS=$IFS 2663 IFS=: 2664 set x $ac_tag 2665 IFS=$ac_save_IFS 2666 shift 2667 ac_file=$1 2668 shift 2669 2670 case $ac_mode in 2671 :L) ac_source=$1;; 2672 :[FH]) 2673 ac_file_inputs= 2674 for ac_f 2675 do 2676 case $ac_f in 2677 -) ac_f="$ac_tmp/stdin";; 2678 *) # Look for the file first in the build tree, then in the source tree 2679 # (if the path is not absolute). The absolute path cannot be DOS-style, 2680 # because $ac_f cannot contain `:'. 2681 test -f "$ac_f" || 2682 case $ac_f in 2683 [\\/$]*) false;; 2684 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 2685 esac || 2686 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 2687 esac 2688 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 2689 as_fn_append ac_file_inputs " '$ac_f'" 2690 done 2691 2692 # Let's still pretend it is `configure' which instantiates (i.e., don't 2693 # use $as_me), people would be surprised to read: 2694 # /* config.h. Generated by config.status. */ 2695 configure_input='Generated from '` 2696 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 2697 `' by configure.' 2698 if test x"$ac_file" != x-; then 2699 configure_input="$ac_file. $configure_input" 2700 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 2701$as_echo "$as_me: creating $ac_file" >&6;} 2702 fi 2703 # Neutralize special characters interpreted by sed in replacement strings. 2704 case $configure_input in #( 2705 *\&* | *\|* | *\\* ) 2706 ac_sed_conf_input=`$as_echo "$configure_input" | 2707 sed 's/[\\\\&|]/\\\\&/g'`;; #( 2708 *) ac_sed_conf_input=$configure_input;; 2709 esac 2710 2711 case $ac_tag in 2712 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 2713 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 2714 esac 2715 ;; 2716 esac 2717 2718 ac_dir=`$as_dirname -- "$ac_file" || 2719$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2720 X"$ac_file" : 'X\(//\)[^/]' \| \ 2721 X"$ac_file" : 'X\(//\)$' \| \ 2722 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 2723$as_echo X"$ac_file" | 2724 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 2725 s//\1/ 2726 q 2727 } 2728 /^X\(\/\/\)[^/].*/{ 2729 s//\1/ 2730 q 2731 } 2732 /^X\(\/\/\)$/{ 2733 s//\1/ 2734 q 2735 } 2736 /^X\(\/\).*/{ 2737 s//\1/ 2738 q 2739 } 2740 s/.*/./; q'` 2741 as_dir="$ac_dir"; as_fn_mkdir_p 2742 ac_builddir=. 2743 2744case "$ac_dir" in 2745.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 2746*) 2747 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 2748 # A ".." for each directory in $ac_dir_suffix. 2749 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 2750 case $ac_top_builddir_sub in 2751 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 2752 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 2753 esac ;; 2754esac 2755ac_abs_top_builddir=$ac_pwd 2756ac_abs_builddir=$ac_pwd$ac_dir_suffix 2757# for backward compatibility: 2758ac_top_builddir=$ac_top_build_prefix 2759 2760case $srcdir in 2761 .) # We are building in place. 2762 ac_srcdir=. 2763 ac_top_srcdir=$ac_top_builddir_sub 2764 ac_abs_top_srcdir=$ac_pwd ;; 2765 [\\/]* | ?:[\\/]* ) # Absolute name. 2766 ac_srcdir=$srcdir$ac_dir_suffix; 2767 ac_top_srcdir=$srcdir 2768 ac_abs_top_srcdir=$srcdir ;; 2769 *) # Relative name. 2770 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 2771 ac_top_srcdir=$ac_top_build_prefix$srcdir 2772 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 2773esac 2774ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 2775 2776 2777 case $ac_mode in 2778 :F) 2779 # 2780 # CONFIG_FILE 2781 # 2782 2783_ACEOF 2784 2785cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2786# If the template does not know about datarootdir, expand it. 2787# FIXME: This hack should be removed a few years after 2.60. 2788ac_datarootdir_hack=; ac_datarootdir_seen= 2789ac_sed_dataroot=' 2790/datarootdir/ { 2791 p 2792 q 2793} 2794/@datadir@/p 2795/@docdir@/p 2796/@infodir@/p 2797/@localedir@/p 2798/@mandir@/p' 2799case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 2800*datarootdir*) ac_datarootdir_seen=yes;; 2801*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 2802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 2803$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 2804_ACEOF 2805cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2806 ac_datarootdir_hack=' 2807 s&@datadir@&$datadir&g 2808 s&@docdir@&$docdir&g 2809 s&@infodir@&$infodir&g 2810 s&@localedir@&$localedir&g 2811 s&@mandir@&$mandir&g 2812 s&\\\${datarootdir}&$datarootdir&g' ;; 2813esac 2814_ACEOF 2815 2816# Neutralize VPATH when `$srcdir' = `.'. 2817# Shell code in configure.ac might set extrasub. 2818# FIXME: do we really want to maintain this feature? 2819cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2820ac_sed_extra="$ac_vpsub 2821$extrasub 2822_ACEOF 2823cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2824:t 2825/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 2826s|@configure_input@|$ac_sed_conf_input|;t t 2827s&@top_builddir@&$ac_top_builddir_sub&;t t 2828s&@top_build_prefix@&$ac_top_build_prefix&;t t 2829s&@srcdir@&$ac_srcdir&;t t 2830s&@abs_srcdir@&$ac_abs_srcdir&;t t 2831s&@top_srcdir@&$ac_top_srcdir&;t t 2832s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 2833s&@builddir@&$ac_builddir&;t t 2834s&@abs_builddir@&$ac_abs_builddir&;t t 2835s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 2836$ac_datarootdir_hack 2837" 2838eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 2839 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 2840 2841test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 2842 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 2843 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 2844 "$ac_tmp/out"`; test -z "$ac_out"; } && 2845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 2846which seems to be undefined. Please make sure it is defined" >&5 2847$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 2848which seems to be undefined. Please make sure it is defined" >&2;} 2849 2850 rm -f "$ac_tmp/stdin" 2851 case $ac_file in 2852 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 2853 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 2854 esac \ 2855 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 2856 ;; 2857 2858 2859 2860 esac 2861 2862done # for ac_tag 2863 2864 2865as_fn_exit 0 2866_ACEOF 2867ac_clean_files=$ac_clean_files_save 2868 2869test $ac_write_fail = 0 || 2870 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 2871 2872 2873# configure is writing to config.log, and then calls config.status. 2874# config.status does its own redirection, appending to config.log. 2875# Unfortunately, on DOS this fails, as config.log is still kept open 2876# by configure, so config.status won't be able to write to it; its 2877# output is simply discarded. So we exec the FD to /dev/null, 2878# effectively closing config.log, so it can be properly (re)opened and 2879# appended to by config.status. When coming back to configure, we 2880# need to make the FD available again. 2881if test "$no_create" != yes; then 2882 ac_cs_success=: 2883 ac_config_status_args= 2884 test "$silent" = yes && 2885 ac_config_status_args="$ac_config_status_args --quiet" 2886 exec 5>/dev/null 2887 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 2888 exec 5>>config.log 2889 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 2890 # would make configure fail if this is the last instruction. 2891 $ac_cs_success || as_fn_exit 1 2892fi 2893if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 2894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 2895$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 2896fi 2897 2898 2899