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