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