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